From 4ea1b5abba366b0f54439026cfc8a4ca949bfc29 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Wed, 27 Aug 2025 20:01:10 +0200 Subject: bahnhof.name: deploy rnv test --- npins/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'npins/default.nix') 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, ... }: -- cgit v1.2.3