flake: don't reinstantiate nixpkgs
See https://zimbatm.com/notes/1000-instances-of-nixpkgs for motivation.
This commit is contained in:
parent
2ff38c646f
commit
69e804839e
|
@ -45,7 +45,7 @@
|
||||||
};
|
};
|
||||||
} // utils.lib.eachDefaultSystem (system:
|
} // utils.lib.eachDefaultSystem (system:
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
docs = import ./docs {
|
docs = import ./docs {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
nmdSrc = nmd;
|
nmdSrc = nmd;
|
||||||
|
|
Loading…
Reference in a new issue