1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2025-04-09 02:14:08 +00:00
302: drop deprcated overlay/devShell output r=Mic92 a=Mic92



Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
bors[bot] 2023-03-18 15:03:53 +00:00 committed by GitHub
commit 9b21a1691d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 11 deletions

View file

@ -13,14 +13,14 @@ status = [
"check pruning-22_11 [x86_64-linux]",
"check restart-and-reload [x86_64-linux]",
"check restart-and-reload-22_11 [x86_64-linux]",
"check sops-import-keys-hook-22_11 [x86_64-linux]",
"check sops-init-gpg-key-22_11 [x86_64-linux]",
"check sops-install-secrets-22_11 [x86_64-linux]",
"check sops-pgp-hook-test-22_11 [x86_64-linux]",
"check ssh-keys-22_11 [x86_64-linux]",
"check ssh-keys [x86_64-linux]",
"check ssh-to-pgp-22_11 [x86_64-linux]",
"check unit-tests-22_11 [x86_64-linux]",
"default devShell [x86_64-linux]",
"default package [x86_64-linux]",
"check user-passwords [x86_64-linux]",
"check user-passwords-22_11 [x86_64-linux]",
"package cross-build [x86_64-linux]",
"package lint [x86_64-linux]",
"package sops-import-keys-hook [x86_64-linux]",

View file

@ -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 {};
});
};
}