Loading pkgs/by-name/vl/vlang/package.nix +11 −5 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ }: let version = "0.4.11"; version = "0.5"; ptraceSubstitution = '' #include <sys/types.h> #include <sys/ptrace.h> Loading @@ -25,12 +25,12 @@ let # So we fix its rev to correspond to the V version. vc = stdenv.mkDerivation { pname = "v.c"; version = "0.4.11"; version = "0.5"; src = fetchFromGitHub { owner = "vlang"; repo = "vc"; rev = "a17f1105aa18b604ed8dac8fa5ca9424362c6e15"; hash = "sha256-DAsVr1wtRfGbKO74Vfq7ejci+zQabSWeir8njbHYV3o="; rev = "294bff4ef87427743d0b35c0f7eb1b34a6dd061b"; hash = "sha256-NZR9Sxa9+iI0hGjB7Hwxl24K0Ra6ZJiUTk9yHp1J7kw="; }; # patch the ptrace reference for darwin Loading Loading @@ -63,7 +63,7 @@ stdenv.mkDerivation { owner = "vlang"; repo = "v"; rev = version; hash = "sha256-K5B/fjdCYLE14LPg3ccS+sGC8CS7jZiuuxYkHvljGFA="; hash = "sha256-iS9tXeEsEjxEpgJNjz/08MQfZkSfFZWHy0CMurITr+E="; }; propagatedBuildInputs = [ Loading Loading @@ -107,6 +107,11 @@ stdenv.mkDerivation { ln -s $out/lib/v $out/bin/v wrapProgram $out/bin/v --prefix PATH : ${lib.makeBinPath [ stdenv.cc ]} # gen_vc is a V-maintainer tool for pushing bootstrap C files to the vc # repo; it requires network/SSH access and a v.mod root that doesn't exist # in the installed layout, so it cannot be built in the Nix sandbox. rm $out/lib/cmd/tools/gen_vc.v mkdir -p $HOME/.vmodules; ln -sf ${markdown} $HOME/.vmodules/markdown $out/lib/v -v build-tools Loading @@ -120,6 +125,7 @@ stdenv.mkDerivation { meta = { homepage = "https://vlang.io/"; changelog = "https://github.com/vlang/v/releases/tag/${version}"; description = "Simple, fast, safe, compiled language for developing maintainable software"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ Loading Loading
pkgs/by-name/vl/vlang/package.nix +11 −5 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ }: let version = "0.4.11"; version = "0.5"; ptraceSubstitution = '' #include <sys/types.h> #include <sys/ptrace.h> Loading @@ -25,12 +25,12 @@ let # So we fix its rev to correspond to the V version. vc = stdenv.mkDerivation { pname = "v.c"; version = "0.4.11"; version = "0.5"; src = fetchFromGitHub { owner = "vlang"; repo = "vc"; rev = "a17f1105aa18b604ed8dac8fa5ca9424362c6e15"; hash = "sha256-DAsVr1wtRfGbKO74Vfq7ejci+zQabSWeir8njbHYV3o="; rev = "294bff4ef87427743d0b35c0f7eb1b34a6dd061b"; hash = "sha256-NZR9Sxa9+iI0hGjB7Hwxl24K0Ra6ZJiUTk9yHp1J7kw="; }; # patch the ptrace reference for darwin Loading Loading @@ -63,7 +63,7 @@ stdenv.mkDerivation { owner = "vlang"; repo = "v"; rev = version; hash = "sha256-K5B/fjdCYLE14LPg3ccS+sGC8CS7jZiuuxYkHvljGFA="; hash = "sha256-iS9tXeEsEjxEpgJNjz/08MQfZkSfFZWHy0CMurITr+E="; }; propagatedBuildInputs = [ Loading Loading @@ -107,6 +107,11 @@ stdenv.mkDerivation { ln -s $out/lib/v $out/bin/v wrapProgram $out/bin/v --prefix PATH : ${lib.makeBinPath [ stdenv.cc ]} # gen_vc is a V-maintainer tool for pushing bootstrap C files to the vc # repo; it requires network/SSH access and a v.mod root that doesn't exist # in the installed layout, so it cannot be built in the Nix sandbox. rm $out/lib/cmd/tools/gen_vc.v mkdir -p $HOME/.vmodules; ln -sf ${markdown} $HOME/.vmodules/markdown $out/lib/v -v build-tools Loading @@ -120,6 +125,7 @@ stdenv.mkDerivation { meta = { homepage = "https://vlang.io/"; changelog = "https://github.com/vlang/v/releases/tag/${version}"; description = "Simple, fast, safe, compiled language for developing maintainable software"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ Loading