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] 49c9b71e4c
This commit is contained in:
Maximilian Bosch 2019-11-14 23:13:37 +01:00
parent 8d2eb1ff56
commit b8bddb63e6
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

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