flake: don't reinstantiate nixpkgs

See https://zimbatm.com/notes/1000-instances-of-nixpkgs for
motivation.
This commit is contained in:
Naïm Favier 2022-06-16 12:25:39 +02:00 committed by Robert Helgesson
parent 2ff38c646f
commit 69e804839e
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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;