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:
let
pkgs = import nixpkgs { inherit system; };
pkgs = nixpkgs.legacyPackages.${system};
docs = import ./docs {
inherit pkgs;
nmdSrc = nmd;