Loading pkgs/development/tools/misc/cvise/default.nix +9 −4 Original line number Diff line number Diff line { lib , buildPythonApplication , fetchFromGitHub , fetchpatch , bash , cmake , colordiff Loading Loading @@ -29,6 +30,14 @@ buildPythonApplication rec { patches = [ # Refer to unifdef by absolute path. ./unifdef.patch # Refer to shell via /usr/bin/env: # https://github.com/marxin/cvise/pull/121 (fetchpatch { name = "env-shell.patch"; url = "https://github.com/marxin/cvise/commit/6a416eb590be978a2ad25c610974fdde84e88651.patch"; hash = "sha256-Kn6+TXP+wJpMs6jrgsa9OwjXf6vmIgGzny8jg3dfKWA="; }) ]; postPatch = '' Loading @@ -37,10 +46,6 @@ buildPythonApplication rec { substituteInPlace CMakeLists.txt \ --replace " -Werror " " " # 'cvise --command=...' generates a script with hardcoded shebang. substituteInPlace cvise.py \ --replace "#!/bin/bash" "#!${bash}/bin/bash" substituteInPlace cvise/utils/testing.py \ --replace "'colordiff --version'" "'${colordiff}/bin/colordiff --version'" \ --replace "'colordiff'" "'${colordiff}/bin/colordiff'" Loading Loading
pkgs/development/tools/misc/cvise/default.nix +9 −4 Original line number Diff line number Diff line { lib , buildPythonApplication , fetchFromGitHub , fetchpatch , bash , cmake , colordiff Loading Loading @@ -29,6 +30,14 @@ buildPythonApplication rec { patches = [ # Refer to unifdef by absolute path. ./unifdef.patch # Refer to shell via /usr/bin/env: # https://github.com/marxin/cvise/pull/121 (fetchpatch { name = "env-shell.patch"; url = "https://github.com/marxin/cvise/commit/6a416eb590be978a2ad25c610974fdde84e88651.patch"; hash = "sha256-Kn6+TXP+wJpMs6jrgsa9OwjXf6vmIgGzny8jg3dfKWA="; }) ]; postPatch = '' Loading @@ -37,10 +46,6 @@ buildPythonApplication rec { substituteInPlace CMakeLists.txt \ --replace " -Werror " " " # 'cvise --command=...' generates a script with hardcoded shebang. substituteInPlace cvise.py \ --replace "#!/bin/bash" "#!${bash}/bin/bash" substituteInPlace cvise/utils/testing.py \ --replace "'colordiff --version'" "'${colordiff}/bin/colordiff --version'" \ --replace "'colordiff'" "'${colordiff}/bin/colordiff'" Loading