forked from lix-project/nixos-module
Show revision of n-e-j better
This commit is contained in:
parent
18fa4a89e2
commit
12b457c433
11
overlay.nix
11
overlay.nix
|
@ -72,14 +72,19 @@ override_2_18 //
|
|||
nix-eval-jobs = (prev.nix-eval-jobs.override {
|
||||
# lix
|
||||
nix = final.nixVersions.nix_2_18;
|
||||
}).overrideAttrs (old: {
|
||||
}).overrideAttrs (old:
|
||||
let src = final.lix-sources.nix-eval-jobs;
|
||||
in {
|
||||
version = "2.90.0-lix-${builtins.substring 0 7 src.rev}";
|
||||
|
||||
# FIXME: should this be patches instead?
|
||||
src = final.lix-sources.nix-eval-jobs;
|
||||
inherit src;
|
||||
|
||||
mesonBuildType = "debugoptimized";
|
||||
|
||||
ninjaFlags = old.ninjaFlags or [ ] ++ [ "-v" ];
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
# support both having and missing https://github.com/NixOS/nixpkgs/pull/304913
|
||||
prefetch-npm-deps =
|
||||
|
|
8
pins.nix
8
pins.nix
|
@ -14,11 +14,13 @@ let
|
|||
narHash = args.nar_hash;
|
||||
}
|
||||
else if kind == "tarball" then
|
||||
builtins.fetchTarball
|
||||
{
|
||||
args // {
|
||||
outPath = builtins.fetchTarball {
|
||||
name = "source";
|
||||
url = args.locked_url;
|
||||
sha256 = args.nar_hash;
|
||||
} else builtins.throw "unsupported input type ${kind}";
|
||||
};
|
||||
}
|
||||
else builtins.throw "unsupported input type ${kind}";
|
||||
in
|
||||
builtins.mapAttrs (_: fetchPin) pins
|
||||
|
|
Loading…
Reference in a new issue