Fix attr path to nixpkgs flake in flake template

This doesn't work anymore since `packages` was removed from the
`nixpkgs`-fork with flake support[1], now it's only possible to refer to
pkgs via `legacyPackages`.

[1] https://github.com/edolstra/nixpkgs/commit/49c9b71e4ca98722cecd64ce8d53c1a4b9c46b64
This commit is contained in:
Maximilian Bosch
2019-11-14 23:13:37 +01:00
parent 8d2eb1ff56
commit b8bddb63e6
+1 -1
View File
@@ -5,7 +5,7 @@
outputs = { self, nixpkgs }: {
packages.x86_64-linux.hello = nixpkgs.packages.x86_64-linux.hello;
packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello;
};
}