diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-25 19:26:14 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-05-25 19:26:14 +0200 |
commit | 02dbd63bdfc544f2521f8bdf746819ebcc7d1ab8 (patch) | |
tree | 56524cfb9bba1fb9529eddae4f7ecf4b038adc26 /modules/system/services/nix/default.nix | |
parent | chore(version): v1.38.2 (diff) | |
download | nixos-config-02dbd63bdfc544f2521f8bdf746819ebcc7d1ab8.tar.gz nixos-config-02dbd63bdfc544f2521f8bdf746819ebcc7d1ab8.zip |
fix(services/nix): Override both `legacyPackages` attrs when adding the flake
Diffstat (limited to '')
-rw-r--r-- | modules/system/services/nix/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/system/services/nix/default.nix b/modules/system/services/nix/default.nix index e4fe11d1..980bbd39 100644 --- a/modules/system/services/nix/default.nix +++ b/modules/system/services/nix/default.nix @@ -19,7 +19,10 @@ nixpkgs_as_input // { # Otherwise nixpkgs's config and overlays are not available: + + # Both attrs exists, so we just override both and hope outputs.legacyPackages."${system}" = pkgs; + legacyPackages."${system}" = pkgs; }; t.flake = templates; |