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:
parent
074ff78f8d
commit
0e3a94167d
1 changed files with 1 additions and 1 deletions
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue