mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-12-26 14:14:58 +08:00
move lint and cross-build to flake.nix
This commit is contained in:
parent
563411a342
commit
915b7c3c0e
2 changed files with 8 additions and 9 deletions
|
|
@ -17,12 +17,3 @@ rec {
|
|||
# backwards compatibility
|
||||
inherit (pkgs) ssh-to-pgp;
|
||||
}
|
||||
// (pkgs.lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
lint = pkgs.callPackage ./pkgs/lint.nix {
|
||||
inherit sops-install-secrets;
|
||||
};
|
||||
|
||||
cross-build = pkgs.callPackage ./pkgs/cross-build.nix {
|
||||
inherit sops-install-secrets;
|
||||
};
|
||||
})
|
||||
|
|
|
|||
|
|
@ -99,6 +99,14 @@
|
|||
(pkgs.callPackage ./formatter.nix {
|
||||
inputs = privateInputs;
|
||||
}).config.build.check;
|
||||
|
||||
cross-build = pkgs.callPackage ./pkgs/cross-build.nix {
|
||||
sops-install-secrets = self.packages.${system}.sops-install-secrets;
|
||||
};
|
||||
|
||||
lint = pkgs.callPackage ./pkgs/lint.nix {
|
||||
sops-install-secrets = self.packages.${system}.sops-install-secrets;
|
||||
};
|
||||
}
|
||||
// (suffix-stable packages-stable)
|
||||
// nixpkgs.lib.optionalAttrs pkgs.stdenv.isLinux tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue