diff options
author | stuebinm | 2025-08-27 20:01:10 +0200 |
---|---|---|
committer | stuebinm | 2025-08-27 22:51:08 +0200 |
commit | 4ea1b5abba366b0f54439026cfc8a4ca949bfc29 (patch) | |
tree | 1f41461c2ba9ac066825eddbc3d7d873c54dc38a /npins/default.nix | |
parent | 2359b3e7c5b463d6784754be5e1890504edf39a7 (diff) |
bahnhof.name: deploy rnv test
Diffstat (limited to 'npins/default.nix')
-rw-r--r-- | npins/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/npins/default.nix b/npins/default.nix index 6592476..8955703 100644 --- a/npins/default.nix +++ b/npins/default.nix @@ -107,12 +107,14 @@ let "${if matched == null then "source" else builtins.head matched}${appendShort}"; name = urlToName url revision; in - builtins.fetchGit { + builtins.fetchGit ({ rev = revision; inherit name; # hash = hash; inherit url submodules; - }; + } // (if branch != null then { + ref = "refs/heads/${branch}"; + } else {})); mkPyPiSource = { url, hash, ... }: |