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 ++++-- npins/sources.json | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'npins') 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, ... }: diff --git a/npins/sources.json b/npins/sources.json index 1d191da..9c40b6f 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -31,11 +31,11 @@ "type": "Git", "url": "https://stuebinm.eu/git/bahnhof.name" }, - "branch": "main", + "branch": "rnv", "submodules": false, - "revision": "2dd565d546ef7cba05846e90d79ae4a15a193f41", + "revision": "38ea5267c448f7c3d228477479a2dd66e57d4688", "url": null, - "hash": "137wq0hj9j4wikq401mz577a7r5cmfzfxyf4wv1ncxy450l4lrsh" + "hash": "0bl87zbh4jpw25h7bk6mkh0789ppbpa13zqxlm59r4wfp1nz8yii" }, "blog": { "type": "Git", -- cgit v1.2.3