diff options
author | éclairevoyant <848000+eclairevoyant@users.noreply.github.com> | 2024-05-09 10:03:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 10:03:46 +0000 |
commit | 9f038dd68294c89922832b7e1bc0355a3e2b8e92 (patch) | |
tree | 04ce872999e724553c97d3713c6781153162b872 /pkgs/development/interpreters | |
parent | 7ed6b76fa036548b59621af20df5bc46b9b430e8 (diff) | |
parent | 693b337466340eace2090621aea3a3a651d16475 (diff) |
Merge pull request #309375 from OPNA2608/fix/stableVersion/pkgs-stuff
treewide: Fix some unstableGitUpdater users
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/femtolisp/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/interpreters/nelua/default.nix | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/femtolisp/default.nix b/pkgs/development/interpreters/femtolisp/default.nix index ecd3bc1f8fd72..34efdc91ac6dc 100644 --- a/pkgs/development/interpreters/femtolisp/default.nix +++ b/pkgs/development/interpreters/femtolisp/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation { pname = "femtolisp"; - version = "unstable-2023-07-12"; + version = "0-unstable-2023-07-12"; src = fetchFromSourcehut { owner = "~ft"; diff --git a/pkgs/development/interpreters/nelua/default.nix b/pkgs/development/interpreters/nelua/default.nix index fd57cc4b46eec..07494f121b029 100644 --- a/pkgs/development/interpreters/nelua/default.nix +++ b/pkgs/development/interpreters/nelua/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "nelua"; - version = "unstable-2024-04-20"; + version = "0-unstable-2024-04-20"; src = fetchFromGitHub { owner = "edubart"; @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace lualib/nelua/version.lua \ --replace "NELUA_GIT_HASH = nil" "NELUA_GIT_HASH = '${src.rev}'" \ - --replace "NELUA_GIT_DATE = nil" "NELUA_GIT_DATE = '${lib.removePrefix "unstable-" version}'" + --replace "NELUA_GIT_DATE = nil" "NELUA_GIT_DATE = '${lib.removePrefix "0-unstable-" version}'" ''; makeFlags = [ "PREFIX=$(out)" ]; @@ -23,7 +23,10 @@ stdenv.mkDerivation rec { doCheck = true; - passthru.updateScript = unstableGitUpdater { }; + passthru.updateScript = unstableGitUpdater { + # no releases, only stale "latest" tag + hardcodeZeroVersion = true; + }; meta = with lib; { description = "Minimal, efficient, statically-typed and meta-programmable systems programming language heavily inspired by Lua, which compiles to C and native code"; |