diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-11-14 23:13:37 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-11-14 23:13:37 +0100 |
commit | b8bddb63e68c727b9e5e06fab605a6c233acfcd9 (patch) | |
tree | a6a2176d6a1dfff8c8bec5dbdb3cd7231ed5732a /src/nix | |
parent | 8d2eb1ff56ad17fe20e7f42a2e4b9b790640e806 (diff) |
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
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/flake-template.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/flake-template.nix b/src/nix/flake-template.nix index eb8eb14fc..321961013 100644 --- a/src/nix/flake-template.nix +++ b/src/nix/flake-template.nix @@ -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; }; } |