harec: expose qbe through passthru
harec and hare should always have the same qbe package. By exposing the latter under harec's passthru attribute and using it as hare's qbe, we assure that they will always hare the same qbe package even if there's a need for a local overlay.
This commit is contained in:
parent
e6c228544d
commit
3297bf3ba6
@ -3,7 +3,6 @@
|
||||
stdenv,
|
||||
fetchFromSourcehut,
|
||||
harec,
|
||||
qbe,
|
||||
gitUpdater,
|
||||
scdoc,
|
||||
tzdata,
|
||||
@ -33,6 +32,7 @@ assert
|
||||
'';
|
||||
|
||||
let
|
||||
inherit (harec) qbe;
|
||||
buildArch = stdenv.buildPlatform.uname.processor;
|
||||
arch = stdenv.hostPlatform.uname.processor;
|
||||
platform = lib.toLower stdenv.hostPlatform.uname.system;
|
||||
|
@ -53,6 +53,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater { };
|
||||
# To be kept in sync with the hare package.
|
||||
inherit qbe;
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user