diff options
| author | Mel <einebeere@gmail.com> | 2024-10-22 23:17:33 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-10-22 23:40:59 +0200 |
| commit | bb0e4c7b5bbec7b8d8e3433a87683e9bb5ec307a (patch) | |
| tree | 87e0cf82dc573f9000dfb998326e504fa2e2a0d6 /flake.nix | |
| parent | 42d23c55e924b5100d5c357458f20de640db2400 (diff) | |
| download | minerals-bb0e4c7b5bbec7b8d8e3433a87683e9bb5ec307a.tar.zst minerals-bb0e4c7b5bbec7b8d8e3433a87683e9bb5ec307a.zip | |
Add compatibility scripts for nixos-option and other legacy nix tools
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 7075583..25e94d1 100644 --- a/flake.nix +++ b/flake.nix @@ -8,9 +8,11 @@ url = "github:nix-community/home-manager/release-24.05"; inputs.nixpkgs.follows = "nixpkgs"; }; + + flake-compat.url = "github:edolstra/flake-compat"; }; - outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, home-manager }: + outputs = inputs @ { self, nixpkgs, nixpkgs-unstable, home-manager, ... }: let system = "x86_64-linux"; @@ -47,5 +49,8 @@ ]; } ); + + # compatibility wrapper for nixos-option + legacyPackages.${system} = with packageSets; pkgs.recurseIntoAttrs pkgs; }; } |
