secrets: use fetchurl derivation
This moves fetching from eval time to build time, which is a better fit for fetching build time resources.
This commit is contained in:
parent
1713e016a0
commit
030be842c8
@ -73,7 +73,7 @@ let
|
||||
generateSecretsScript = mkOption {
|
||||
internal = true;
|
||||
default = let
|
||||
rpcauthSrc = builtins.fetchurl {
|
||||
rpcauthSrc = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/bitcoin/bitcoin/d6cde007db9d3e6ee93bd98a9bbfdce9bfa9b15b/share/rpcauth/rpcauth.py";
|
||||
sha256 = "189mpplam6yzizssrgiyv70c9899ggh8cac76j4n7v0xqzfip07n";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user