mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
drop deprecated overlay/devShell output
This commit is contained in:
parent
f5256e2081
commit
fc6bd2bdfe
1 changed files with 6 additions and 7 deletions
13
flake.nix
13
flake.nix
|
@ -19,7 +19,7 @@
|
|||
suffix-version = version: attrs: nixpkgs.lib.mapAttrs' (name: value: nixpkgs.lib.nameValuePair (name + version) value) attrs;
|
||||
suffix-stable = suffix-version "-22_11";
|
||||
in {
|
||||
overlay = final: prev: let
|
||||
overlays.default = final: prev: let
|
||||
localPkgs = import ./default.nix {pkgs = final;};
|
||||
in {
|
||||
inherit (localPkgs) sops-install-secrets sops-init-gpg-key sops-pgp-hook sops-import-keys-hook sops-ssh-to-age;
|
||||
|
@ -46,12 +46,11 @@
|
|||
(suffix-stable packages-stable));
|
||||
|
||||
defaultPackage = forAllSystems (system: self.packages.${system}.sops-init-gpg-key);
|
||||
devShell = forAllSystems (
|
||||
system:
|
||||
nixpkgs.legacyPackages.${system}.callPackage ./shell.nix {}
|
||||
);
|
||||
devShells = forAllSystems (system: {
|
||||
unit-tests = nixpkgs.legacyPackages.${system}.callPackage ./pkgs/unit-tests.nix {};
|
||||
devShells = forAllSystems (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
unit-tests = pkgs.callPackage ./pkgs/unit-tests.nix {};
|
||||
default = pkgs.callPackage ./shell.nix {};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue