1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

sops-install-secrets: don't trigger a rebuild when flake.lock changes

When you have a follow in your flake inputs, sops-install-secrets is
rebuild everytime the flake.lock changes despite that being a noop. When
filtering src this can be avoided.
This commit is contained in:
Sandro Jäckel 2023-11-13 21:46:25 +01:00 committed by mergify[bot]
parent 074ff78f8d
commit 0e3a94167d

View file

@ -3,7 +3,7 @@ buildGoModule {
pname = "sops-install-secrets";
version = "0.0.1";
src = ../..;
src = lib.sourceByRegex ../.. [ "go\.(mod|sum)" "pkgs" "pkgs/sops-install-secrets.*" ];
subPackages = [ "pkgs/sops-install-secrets" ];