From 91cdc91738cbe7df4e283d31cf0fff74a31cdd1d Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 6 Oct 2023 14:52:12 +0200 Subject: [PATCH] Fetch sonar tag from refs/tags --- pkgs/sonar/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/sonar/default.nix b/pkgs/sonar/default.nix index b362976..69b0ddc 100644 --- a/pkgs/sonar/default.nix +++ b/pkgs/sonar/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { version = "0.1.0"; src = builtins.fetchGit { url = "ssh://git@bscpm03.bsc.es/ovni/sonar"; - ref = version; + ref = "refs/tags/${version}"; rev = "1299731b56addc18f530f7327f62267624c4363a"; }; hardeningDisable = [ "all" ];