treewide: Remove continuation escape at end of commands
To avoid confusion and spurious newlines in the output. Found by searching for a backslash followed by a newline, some indentation, and then the end of multi-line string marker, using the following extended regex: ```regex \\\n +''; ```
This commit is contained in:
@@ -94,7 +94,7 @@ in
|
|||||||
${lib.optionalString cfg.appendOnly "--append-only"} \
|
${lib.optionalString cfg.appendOnly "--append-only"} \
|
||||||
${lib.optionalString cfg.privateRepos "--private-repos"} \
|
${lib.optionalString cfg.privateRepos "--private-repos"} \
|
||||||
${lib.optionalString cfg.prometheus "--prometheus"} \
|
${lib.optionalString cfg.prometheus "--prometheus"} \
|
||||||
${lib.escapeShellArgs cfg.extraFlags} \
|
${lib.escapeShellArgs cfg.extraFlags}
|
||||||
'';
|
'';
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
User = "restic";
|
User = "restic";
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ let
|
|||||||
''
|
''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
makeWrapper ${cfg.package}/bin/dgraph $out/bin/dgraph \
|
makeWrapper ${cfg.package}/bin/dgraph $out/bin/dgraph \
|
||||||
--prefix PATH : "${lib.makeBinPath [ pkgs.nodejs ]}" \
|
--prefix PATH : "${lib.makeBinPath [ pkgs.nodejs ]}"
|
||||||
'';
|
'';
|
||||||
securityOptions = {
|
securityOptions = {
|
||||||
NoNewPrivileges = true;
|
NoNewPrivileges = true;
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ in
|
|||||||
let
|
let
|
||||||
collectSettingsArgs = optionalString (cfg.collectdBinary.enable) ''
|
collectSettingsArgs = optionalString (cfg.collectdBinary.enable) ''
|
||||||
--collectd.listen-address ${cfg.collectdBinary.listenAddress}:${toString cfg.collectdBinary.port} \
|
--collectd.listen-address ${cfg.collectdBinary.listenAddress}:${toString cfg.collectdBinary.port} \
|
||||||
--collectd.security-level ${cfg.collectdBinary.securityLevel} \
|
--collectd.security-level ${cfg.collectdBinary.securityLevel}
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ in
|
|||||||
${optionalString (cfg.fileTransferIP != null) "filetransfer_ip=${cfg.fileTransferIP}"} \
|
${optionalString (cfg.fileTransferIP != null) "filetransfer_ip=${cfg.fileTransferIP}"} \
|
||||||
${optionalString (cfg.queryIP != null) "query_ip=${cfg.queryIP}"} \
|
${optionalString (cfg.queryIP != null) "query_ip=${cfg.queryIP}"} \
|
||||||
${optionalString (cfg.queryIP != null) "query_ssh_ip=${cfg.queryIP}"} \
|
${optionalString (cfg.queryIP != null) "query_ssh_ip=${cfg.queryIP}"} \
|
||||||
${optionalString (cfg.queryIP != null) "query_http_ip=${cfg.queryIP}"} \
|
${optionalString (cfg.queryIP != null) "query_http_ip=${cfg.queryIP}"}
|
||||||
'';
|
'';
|
||||||
WorkingDirectory = cfg.dataDir;
|
WorkingDirectory = cfg.dataDir;
|
||||||
User = user;
|
User = user;
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ in
|
|||||||
${cfg.package}/bin/unclutter \
|
${cfg.package}/bin/unclutter \
|
||||||
--timeout ${toString cfg.timeout} \
|
--timeout ${toString cfg.timeout} \
|
||||||
--jitter ${toString (cfg.threshold - 1)} \
|
--jitter ${toString (cfg.threshold - 1)} \
|
||||||
${concatMapStrings (x: " --" + x) cfg.extraOptions} \
|
${concatMapStrings (x: " --" + x) cfg.extraOptions}
|
||||||
'';
|
'';
|
||||||
serviceConfig.RestartSec = 3;
|
serviceConfig.RestartSec = 3;
|
||||||
serviceConfig.Restart = "always";
|
serviceConfig.Restart = "always";
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ in
|
|||||||
-jitter ${toString (cfg.threshold - 1)} \
|
-jitter ${toString (cfg.threshold - 1)} \
|
||||||
${optionalString cfg.keystroke "-keystroke"} \
|
${optionalString cfg.keystroke "-keystroke"} \
|
||||||
${concatMapStrings (x: " -" + x) cfg.extraOptions} \
|
${concatMapStrings (x: " -" + x) cfg.extraOptions} \
|
||||||
-not ${concatStringsSep " " cfg.excluded} \
|
-not ${concatStringsSep " " cfg.excluded}
|
||||||
'';
|
'';
|
||||||
serviceConfig.PassEnvironment = "DISPLAY";
|
serviceConfig.PassEnvironment = "DISPLAY";
|
||||||
serviceConfig.RestartSec = 3;
|
serviceConfig.RestartSec = 3;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ let
|
|||||||
csr = runWithOpenSSL "matrix.csr" ''
|
csr = runWithOpenSSL "matrix.csr" ''
|
||||||
openssl req \
|
openssl req \
|
||||||
-new -key ${key} \
|
-new -key ${key} \
|
||||||
-out $out -subj "/CN=localhost" \
|
-out $out -subj "/CN=localhost"
|
||||||
'';
|
'';
|
||||||
cert = runWithOpenSSL "matrix_cert.pem" ''
|
cert = runWithOpenSSL "matrix_cert.pem" ''
|
||||||
openssl x509 \
|
openssl x509 \
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ let
|
|||||||
csr = runWithOpenSSL "matrix.csr" ''
|
csr = runWithOpenSSL "matrix.csr" ''
|
||||||
openssl req \
|
openssl req \
|
||||||
-new -key ${key} \
|
-new -key ${key} \
|
||||||
-out $out -subj "/CN=localhost" \
|
-out $out -subj "/CN=localhost"
|
||||||
'';
|
'';
|
||||||
cert = runWithOpenSSL "matrix_cert.pem" ''
|
cert = runWithOpenSSL "matrix_cert.pem" ''
|
||||||
openssl x509 \
|
openssl x509 \
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ let
|
|||||||
lib.optionalString (num != null) ''
|
lib.optionalString (num != null) ''
|
||||||
-I ${num}/lib/ocaml/${ocaml.version}/site-lib/num \
|
-I ${num}/lib/ocaml/${ocaml.version}/site-lib/num \
|
||||||
-I ${num}/lib/ocaml/${ocaml.version}/site-lib/top-num \
|
-I ${num}/lib/ocaml/${ocaml.version}/site-lib/top-num \
|
||||||
-I ${num}/lib/ocaml/${ocaml.version}/site-lib/stublibs \
|
-I ${num}/lib/ocaml/${ocaml.version}/site-lib/stublibs
|
||||||
'';
|
'';
|
||||||
|
|
||||||
start_script = ''
|
start_script = ''
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/krunvm \
|
wrapProgram $out/bin/krunvm \
|
||||||
--prefix PATH : ${lib.makeBinPath [ buildah ]} \
|
--prefix PATH : ${lib.makeBinPath [ buildah ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
+ lib.optionalString (rustTargetPlatform != rustHostPlatform) ''
|
+ lib.optionalString (rustTargetPlatform != rustHostPlatform) ''
|
||||||
"CC_${stdenv.targetPlatform.rust.cargoEnvVarTarget}=${ccForTarget}" \
|
"CC_${stdenv.targetPlatform.rust.cargoEnvVarTarget}=${ccForTarget}" \
|
||||||
"CXX_${stdenv.targetPlatform.rust.cargoEnvVarTarget}=${cxxForTarget}" \
|
"CXX_${stdenv.targetPlatform.rust.cargoEnvVarTarget}=${cxxForTarget}" \
|
||||||
"CARGO_TARGET_${stdenv.targetPlatform.rust.cargoEnvVarTarget}_LINKER=${ccForTarget}" \
|
"CARGO_TARGET_${stdenv.targetPlatform.rust.cargoEnvVarTarget}_LINKER=${ccForTarget}"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "boto3>=1.34.75" "boto3>=1.34.58" \
|
--replace "boto3>=1.34.75" "boto3>=1.34.58"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeCheckInputs = with python3.pkgs; [
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
tests/volume-control-test.cc \
|
tests/volume-control-test.cc \
|
||||||
--replace-quiet 'loop(50)' 'loop(500)' \
|
--replace-quiet 'loop(50)' 'loop(500)' \
|
||||||
--replace-quiet 'loop(100)' 'loop(1000)' \
|
--replace-quiet 'loop(100)' 'loop(1000)' \
|
||||||
--replace-quiet 'loop(500)' 'loop(5000)' \
|
--replace-quiet 'loop(500)' 'loop(5000)'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
|||||||
export PATH=$PATH:$out/bin
|
export PATH=$PATH:$out/bin
|
||||||
installShellCompletion --cmd bleep \
|
installShellCompletion --cmd bleep \
|
||||||
--bash <(bleep install-tab-completions-bash --stdout) \
|
--bash <(bleep install-tab-completions-bash --stdout) \
|
||||||
--zsh <(bleep install-tab-completions-zsh --stdout) \
|
--zsh <(bleep install-tab-completions-zsh --stdout)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
gnugrep
|
gnugrep
|
||||||
busybox
|
busybox
|
||||||
]
|
]
|
||||||
} \
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
mv $out/bin/ls_parse.py $out/share/cbmc/ls_parse.py
|
mv $out/bin/ls_parse.py $out/share/cbmc/ls_parse.py
|
||||||
chmod +x $out/share/cbmc/ls_parse.py
|
chmod +x $out/share/cbmc/ls_parse.py
|
||||||
wrapProgram $out/bin/goto-cc \
|
wrapProgram $out/bin/goto-cc \
|
||||||
--prefix PATH : "$out/share/cbmc" \
|
--prefix PATH : "$out/share/cbmc"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = toString (
|
env.NIX_CFLAGS_COMPILE = toString (
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace cmake/coost.pc.in \
|
substituteInPlace cmake/coost.pc.in \
|
||||||
--replace-fail '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
--replace-fail '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
|
||||||
--replace-fail '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@ \
|
--replace-fail '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ appimageTools.wrapType2 rec {
|
|||||||
install -Dm444 ${contents}/cubelify-overlay.desktop -t $out/share/applications/
|
install -Dm444 ${contents}/cubelify-overlay.desktop -t $out/share/applications/
|
||||||
install -Dm444 ${contents}/cubelify-overlay.png -t $out/share/pixmaps/
|
install -Dm444 ${contents}/cubelify-overlay.png -t $out/share/pixmaps/
|
||||||
substituteInPlace $out/share/applications/cubelify-overlay.desktop \
|
substituteInPlace $out/share/applications/cubelify-overlay.desktop \
|
||||||
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=cubelify' \
|
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=cubelify'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = ./update.sh;
|
passthru.updateScript = ./update.sh;
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ buildGoModule (finalAttrs: {
|
|||||||
# Let the app find Roboto-*.ttf files (hard-coded file names).
|
# Let the app find Roboto-*.ttf files (hard-coded file names).
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/deckmaster \
|
wrapProgram $out/bin/deckmaster \
|
||||||
--prefix XDG_DATA_DIRS : "${roboto.out}/share/" \
|
--prefix XDG_DATA_DIRS : "${roboto.out}/share/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
makeWrapper "${jre_headless}/bin/java" $out/bin/flyway \
|
makeWrapper "${jre_headless}/bin/java" $out/bin/flyway \
|
||||||
--add-flags "-Djava.security.egd=file:/dev/../dev/urandom" \
|
--add-flags "-Djava.security.egd=file:/dev/../dev/urandom" \
|
||||||
--add-flags "-classpath '$out/share/flyway/lib/*:$out/share/flyway/lib/flyway/*:$out/share/flyway/lib/aad/*:$out/share/flyway/lib/netty/*:$out/share/flyway/drivers/*'" \
|
--add-flags "-classpath '$out/share/flyway/lib/*:$out/share/flyway/lib/flyway/*:$out/share/flyway/lib/aad/*:$out/share/flyway/lib/netty/*:$out/share/flyway/drivers/*'" \
|
||||||
--add-flags "org.flywaydb.commandline.Main" \
|
--add-flags "org.flywaydb.commandline.Main"
|
||||||
'';
|
'';
|
||||||
passthru.tests = {
|
passthru.tests = {
|
||||||
version = testers.testVersion { package = finalAttrs.finalPackage; };
|
version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ buildDotnetModule (finalAttrs: {
|
|||||||
rm global.json
|
rm global.json
|
||||||
|
|
||||||
substituteInPlace src/FsAutoComplete/FsAutoComplete.fsproj \
|
substituteInPlace src/FsAutoComplete/FsAutoComplete.fsproj \
|
||||||
--replace-fail TargetFrameworks TargetFramework \
|
--replace-fail TargetFrameworks TargetFramework
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
||||||
|
|||||||
@@ -310,7 +310,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
addToSearchPath XDG_DATA_DIRS "${shared-mime-info}/share"
|
addToSearchPath XDG_DATA_DIRS "${shared-mime-info}/share"
|
||||||
|
|
||||||
echo "12345678901234567890123456789012" > machine-id
|
echo "12345678901234567890123456789012" > machine-id
|
||||||
export NIX_REDIRECTS=/etc/machine-id=$(realpath machine-id) \
|
export NIX_REDIRECTS=/etc/machine-id=$(realpath machine-id)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram "$out/bin/typefortune" \
|
wrapProgram "$out/bin/typefortune" \
|
||||||
--prefix PATH : "${fortune}/bin" \
|
--prefix PATH : "${fortune}/bin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# libdf is an alternative name for libhdf (hdf4)
|
# libdf is an alternative name for libhdf (hdf4)
|
||||||
preConfigure = lib.optionalString (hdf4 != null) ''
|
preConfigure = lib.optionalString (hdf4 != null) ''
|
||||||
substituteInPlace configure \
|
substituteInPlace configure \
|
||||||
--replace "-ldf" "-lhdf" \
|
--replace "-ldf" "-lhdf"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = lib.optionalString hdf5.mpiSupport "export CC=${lib.getBin hdf5.mpi}/mpicc";
|
preBuild = lib.optionalString hdf5.mpiSupport "export CC=${lib.getBin hdf5.mpi}/mpicc";
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ let
|
|||||||
--replace /dev/stderr stderr.log
|
--replace /dev/stderr stderr.log
|
||||||
|
|
||||||
substituteInPlace ortograf/herramientas/remover_comentarios.sh \
|
substituteInPlace ortograf/herramientas/remover_comentarios.sh \
|
||||||
--replace /bin/bash ${bash}/bin/bash \
|
--replace /bin/bash ${bash}/bin/bash
|
||||||
'';
|
'';
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd ortograf/herramientas
|
cd ortograf/herramientas
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||||||
installShellCompletion --cmd hwatch \
|
installShellCompletion --cmd hwatch \
|
||||||
--bash $src/completion/bash/hwatch-completion.bash \
|
--bash $src/completion/bash/hwatch-completion.bash \
|
||||||
--fish $src/completion/fish/hwatch.fish \
|
--fish $src/completion/fish/hwatch.fish \
|
||||||
--zsh $src/completion/zsh/_hwatch \
|
--zsh $src/completion/zsh/_hwatch
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace-fail \
|
--replace-fail \
|
||||||
"cmake_minimum_required (VERSION 2.8.11)" \
|
"cmake_minimum_required (VERSION 2.8.11)" \
|
||||||
"cmake_minimum_required (VERSION 3.10)" \
|
"cmake_minimum_required (VERSION 3.10)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ boost ];
|
buildInputs = [ boost ];
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ buildNpmPackage (finalAttrs: {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace webpack.common.js \
|
substituteInPlace webpack.common.js \
|
||||||
--replace-fail "git describe --always --dirty" "echo ${finalAttrs.src.rev}" \
|
--replace-fail "git describe --always --dirty" "echo ${finalAttrs.src.rev}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
npmDepsHash = "sha256-bXZn2FOWeIN8VTNLbKe7jM7yDtE2QRmyoWNZXgE5W4Q=";
|
npmDepsHash = "sha256-bXZn2FOWeIN8VTNLbKe7jM7yDtE2QRmyoWNZXgE5W4Q=";
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
--replace-fail '$(shell uname -s)' '${uppercaseFirst stdenv.hostPlatform.parsed.kernel.name}' \
|
--replace-fail '$(shell uname -s)' '${uppercaseFirst stdenv.hostPlatform.parsed.kernel.name}' \
|
||||||
--replace-fail '$(shell uname -m)' '${stdenv.hostPlatform.parsed.cpu.name}' \
|
--replace-fail '$(shell uname -m)' '${stdenv.hostPlatform.parsed.cpu.name}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
openssh
|
openssh
|
||||||
procps
|
procps
|
||||||
]
|
]
|
||||||
}" \
|
}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
''
|
''
|
||||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
substituteInPlace src/CMakeLists.txt \
|
substituteInPlace src/CMakeLists.txt \
|
||||||
--replace-warn "-lrt" "" \
|
--replace-warn "-lrt" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
separateDebugInfo = true;
|
separateDebugInfo = true;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ libfprint.overrideAttrs (
|
|||||||
patchShebangs \
|
patchShebangs \
|
||||||
./libfprint/tod/tests/*.sh \
|
./libfprint/tod/tests/*.sh \
|
||||||
./tests/*.py \
|
./tests/*.py \
|
||||||
./tests/*.sh \
|
./tests/*.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/meson.build --replace-fail \
|
substituteInPlace src/meson.build --replace-fail \
|
||||||
"'src' / rust_target / meson.project_name()," \
|
"'src' / rust_target / meson.project_name()," \
|
||||||
"'src' / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / meson.project_name()," \
|
"'src' / '${stdenv.hostPlatform.rust.cargoShortTarget}' / rust_target / meson.project_name(),"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ appimageTools.wrapType2 rec {
|
|||||||
install -Dm444 ${contents}/lunarclient.desktop -t $out/share/applications/
|
install -Dm444 ${contents}/lunarclient.desktop -t $out/share/applications/
|
||||||
install -Dm444 ${contents}/lunarclient.png -t $out/share/pixmaps/
|
install -Dm444 ${contents}/lunarclient.png -t $out/share/pixmaps/
|
||||||
substituteInPlace $out/share/applications/lunarclient.desktop \
|
substituteInPlace $out/share/applications/lunarclient.desktop \
|
||||||
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=lunarclient' \
|
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=lunarclient'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = ./update.sh;
|
passthru.updateScript = ./update.sh;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/mackup/utils.py \
|
substituteInPlace src/mackup/utils.py \
|
||||||
--replace-fail '"/usr/bin/pgrep"' '"${lib.getExe' procps "pgrep"}"' \
|
--replace-fail '"/usr/bin/pgrep"' '"${lib.getExe' procps "pgrep"}"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = with python3Packages; [ hatchling ];
|
build-system = with python3Packages; [ hatchling ];
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ buildLua {
|
|||||||
--replace-fail 'yad_exe = "yad"' \
|
--replace-fail 'yad_exe = "yad"' \
|
||||||
'yad_exe = "${lib.getExe yad}"' \
|
'yad_exe = "${lib.getExe yad}"' \
|
||||||
--replace-fail 'notify_send_exe = "notify-send"' \
|
--replace-fail 'notify_send_exe = "notify-send"' \
|
||||||
'notify_send_exe = "${lib.getExe libnotify}"' \
|
'notify_send_exe = "${lib.getExe libnotify}"'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
scriptPath = "convert_script.lua";
|
scriptPath = "convert_script.lua";
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
xmessage
|
xmessage
|
||||||
xterm
|
xterm
|
||||||
]
|
]
|
||||||
}" \
|
}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# The location of /var/lib is not made configurable in the meson.build file
|
# The location of /var/lib is not made configurable in the meson.build file
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace meson.build \
|
substituteInPlace meson.build \
|
||||||
--replace-fail "/var/lib" "$out/var/lib" \
|
--replace-fail "/var/lib" "$out/var/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ buildPythonPackage rec {
|
|||||||
installShellCompletion --cmd poetry \
|
installShellCompletion --cmd poetry \
|
||||||
--bash <($out/bin/poetry completions bash) \
|
--bash <($out/bin/poetry completions bash) \
|
||||||
--fish <($out/bin/poetry completions fish) \
|
--fish <($out/bin/poetry completions fish) \
|
||||||
--zsh <($out/bin/poetry completions zsh) \
|
--zsh <($out/bin/poetry completions zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
substituteInPlace 3rdpatry/http-client-lite/CMakeLists.txt --replace-fail \
|
substituteInPlace 3rdpatry/http-client-lite/CMakeLists.txt --replace-fail \
|
||||||
'cmake_minimum_required(VERSION 3.3 FATAL_ERROR)' \
|
'cmake_minimum_required(VERSION 3.3 FATAL_ERROR)' \
|
||||||
'cmake_minimum_required(VERSION 3.10)' \
|
'cmake_minimum_required(VERSION 3.10)'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
makeWrapper ${jdk}/bin/java $out/bin/rascal \
|
makeWrapper ${jdk}/bin/java $out/bin/rascal \
|
||||||
--add-flags "-jar ${finalAttrs.src}" \
|
--add-flags "-jar ${finalAttrs.src}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -171,7 +171,7 @@ buildDotnetModule rec {
|
|||||||
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \
|
--prefix GIO_EXTRA_MODULES : "${lib.getLib dconf}/lib/gio/modules" \
|
||||||
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk3-x11 ]}" \
|
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk3-x11 ]}" \
|
||||||
--prefix PYTHONPATH : "${pythonLibs}" \
|
--prefix PYTHONPATH : "${pythonLibs}" \
|
||||||
--set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" \
|
--set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ buildNpmPackage (finalAttrs: {
|
|||||||
--add-flags $out/lib/node_modules/sharedown/app.js \
|
--add-flags $out/lib/node_modules/sharedown/app.js \
|
||||||
--set PUPPETEER_EXECUTABLE_PATH ${chromium}/bin/chromium \
|
--set PUPPETEER_EXECUTABLE_PATH ${chromium}/bin/chromium \
|
||||||
--prefix PATH : ${lib.makeBinPath finalAttrs.finalPackage.passthru.wrapperPaths} \
|
--prefix PATH : ${lib.makeBinPath finalAttrs.finalPackage.passthru.wrapperPaths} \
|
||||||
--add-flags "--no-sandbox" \
|
--add-flags "--no-sandbox"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
desktopItems = [
|
desktopItems = [
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||||||
lib64/snowflake/snowsql/snowsql
|
lib64/snowflake/snowsql/snowsql
|
||||||
|
|
||||||
makeWrapper $out/lib64/snowflake/snowsql/snowsql $out/bin/snowsql \
|
makeWrapper $out/lib64/snowflake/snowsql/snowsql $out/bin/snowsql \
|
||||||
--set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/lib64/snowflake/snowsql \
|
--set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/lib64/snowflake/snowsql
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ buildGoModule (finalAttrs: {
|
|||||||
installShellCompletion --cmd spacectl \
|
installShellCompletion --cmd spacectl \
|
||||||
--bash <(${emulator} $out/bin/spacectl completion bash) \
|
--bash <(${emulator} $out/bin/spacectl completion bash) \
|
||||||
--fish <(${emulator} $out/bin/spacectl completion fish) \
|
--fish <(${emulator} $out/bin/spacectl completion fish) \
|
||||||
--zsh <(${emulator} $out/bin/spacectl completion zsh) \
|
--zsh <(${emulator} $out/bin/spacectl completion zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||||||
|
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
--replace-fail "target/release" \
|
--replace-fail "target/release" \
|
||||||
"target/${stdenv.hostPlatform.rust.cargoShortTarget}/$cargoBuildType" \
|
"target/${stdenv.hostPlatform.rust.cargoShortTarget}/$cargoBuildType"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
mv -v *.ppd ppd/
|
mv -v *.ppd ppd/
|
||||||
substituteInPlace src/pstoqpdl.cpp \
|
substituteInPlace src/pstoqpdl.cpp \
|
||||||
--replace "RASTERDIR \"/\" RASTERTOQPDL" "\"$out/lib/cups/filter/rastertoqpdl\"" \
|
--replace "RASTERDIR \"/\" RASTERTOQPDL" "\"$out/lib/cups/filter/rastertoqpdl\"" \
|
||||||
--replace "RASTERDIR" "\"${cups-filters}/lib/cups/filter\"" \
|
--replace "RASTERDIR" "\"${cups-filters}/lib/cups/filter\""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
|||||||
net-tools
|
net-tools
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
}" \
|
}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
|||||||
installShellCompletion --cmd steamguard \
|
installShellCompletion --cmd steamguard \
|
||||||
--bash <($out/bin/steamguard completion --shell bash) \
|
--bash <($out/bin/steamguard completion --shell bash) \
|
||||||
--fish <($out/bin/steamguard completion --shell fish) \
|
--fish <($out/bin/steamguard completion --shell fish) \
|
||||||
--zsh <($out/bin/steamguard completion --shell zsh) \
|
--zsh <($out/bin/steamguard completion --shell zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapProgram $out/bin/supertuxkart \
|
wrapProgram $out/bin/supertuxkart \
|
||||||
--set-default SUPERTUXKART_ASSETS_DIR "${assets}" \
|
--set-default SUPERTUXKART_ASSETS_DIR "${assets}" \
|
||||||
--set-default SUPERTUXKART_DATADIR "$out/share/supertuxkart" \
|
--set-default SUPERTUXKART_DATADIR "$out/share/supertuxkart"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
|||||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||||
installShellCompletion --cmd tldr \
|
installShellCompletion --cmd tldr \
|
||||||
--bash <($out/bin/tldr --print-completion bash | sed -E "s#\"/nix/store/[^\"]+/bin/python[^\"]*\" -m tldr#\"$out/bin/tldr\"#g") \
|
--bash <($out/bin/tldr --print-completion bash | sed -E "s#\"/nix/store/[^\"]+/bin/python[^\"]*\" -m tldr#\"$out/bin/tldr\"#g") \
|
||||||
--zsh <($out/bin/tldr --print-completion zsh | sed -E "s#\"/nix/store/[^\"]+/bin/python[^\"]*\" -m tldr#\"$out/bin/tldr\"#g") \
|
--zsh <($out/bin/tldr --print-completion zsh | sed -E "s#\"/nix/store/[^\"]+/bin/python[^\"]*\" -m tldr#\"$out/bin/tldr\"#g")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ buildGo126Module (finalAttrs: {
|
|||||||
substituteInPlace lib/storage/storage_test.go \
|
substituteInPlace lib/storage/storage_test.go \
|
||||||
--replace-fail "time.After(10 " "time.After(120 " \
|
--replace-fail "time.After(10 " "time.After(120 " \
|
||||||
--replace-fail "time.NewTimer(30 " "time.NewTimer(120 " \
|
--replace-fail "time.NewTimer(30 " "time.NewTimer(120 " \
|
||||||
--replace-fail "time.NewTimer(time.Second * 10)" "time.NewTimer(time.Second * 120)" \
|
--replace-fail "time.NewTimer(time.Second * 10)" "time.NewTimer(time.Second * 120)"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/applications
|
mkdir -p $out/share/applications
|
||||||
substitute ../.application/zps.desktop $out/share/applications/zps.desktop \
|
substitute ../.application/zps.desktop $out/share/applications/zps.desktop \
|
||||||
--replace Exec=zps Exec=$out/zps \
|
--replace Exec=zps Exec=$out/zps
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Queries QMake for QML install location, returns QtBase build path
|
# Queries QMake for QML install location, returns QtBase build path
|
||||||
substituteInPlace src/*/PushNotifications/CMakeLists.txt \
|
substituteInPlace src/*/PushNotifications/CMakeLists.txt \
|
||||||
--replace-fail 'qmake -query QT_INSTALL_QML' 'echo ''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}' \
|
--replace-fail 'qmake -query QT_INSTALL_QML' 'echo ''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace autostart/CMakeLists.txt \
|
substituteInPlace autostart/CMakeLists.txt \
|
||||||
--replace-fail "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
|
--replace-fail "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ let
|
|||||||
--replace "/bin/rm" "rm"
|
--replace "/bin/rm" "rm"
|
||||||
substituteInPlace ./platforms/unix/config/configure \
|
substituteInPlace ./platforms/unix/config/configure \
|
||||||
--replace "/usr/bin/file" "file" \
|
--replace "/usr/bin/file" "file" \
|
||||||
--replace "/usr/bin/pkg-config" "pkg-config" \
|
--replace "/usr/bin/pkg-config" "pkg-config"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
|||||||
jq
|
jq
|
||||||
nurl
|
nurl
|
||||||
]
|
]
|
||||||
} \
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
|
|||||||
@@ -98,8 +98,8 @@ let
|
|||||||
-toolprefix ${tools}/bin/ \
|
-toolprefix ${tools}/bin/ \
|
||||||
-use-external-Flocq \
|
-use-external-Flocq \
|
||||||
-use-external-MenhirLib \
|
-use-external-MenhirLib \
|
||||||
${target} \
|
${target}
|
||||||
''; # don't remove the \ above, the command gets appended in override below
|
'';
|
||||||
|
|
||||||
installTargets = "documentation install";
|
installTargets = "documentation install";
|
||||||
installFlags = [ ]; # trust ./configure
|
installFlags = [ ]; # trust ./configure
|
||||||
@@ -342,6 +342,10 @@ in
|
|||||||
patched_compcert.overrideAttrs (
|
patched_compcert.overrideAttrs (
|
||||||
o:
|
o:
|
||||||
lib.optionalAttrs (coq.version != null && coq.version == "dev") {
|
lib.optionalAttrs (coq.version != null && coq.version == "dev") {
|
||||||
configurePhase = "${o.configurePhase} -ignore-ocaml-version -ignore-coq-version";
|
configurePhase = ''
|
||||||
|
${o.configurePhase} \
|
||||||
|
-ignore-ocaml-version \
|
||||||
|
-ignore-coq-version
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# Fix QML install path
|
# Fix QML install path
|
||||||
substituteInPlace CMakeLists.txt \
|
substituteInPlace CMakeLists.txt \
|
||||||
--replace-fail 'QT_IMPORTS_DIR "/lib/''${ARCH_TRIPLET}"' 'QT_IMPORTS_DIR "''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"' \
|
--replace-fail 'QT_IMPORTS_DIR "/lib/''${ARCH_TRIPLET}"' 'QT_IMPORTS_DIR "''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"' \
|
||||||
--replace-fail "\''${QT_IMPORTS_DIR}/\''${PLUGIN}" "\''${QT_IMPORTS_DIR}" \
|
--replace-fail "\''${QT_IMPORTS_DIR}/\''${PLUGIN}" "\''${QT_IMPORTS_DIR}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
substituteInPlace \
|
substituteInPlace \
|
||||||
$dev/share/cmake/Caffe2/Caffe2Targets-release.cmake \
|
$dev/share/cmake/Caffe2/Caffe2Targets-release.cmake \
|
||||||
--replace \''${_IMPORT_PREFIX}/lib "$out/lib" \
|
--replace \''${_IMPORT_PREFIX}/lib "$out/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup =
|
postFixup =
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail 'asttokens>=2.0.0,<3.0.0' 'asttokens>=2.0.0' \
|
--replace-fail 'asttokens>=2.0.0,<3.0.0' 'asttokens>=2.0.0'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ hatchling ];
|
build-system = [ hatchling ];
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace 'poetry.masonry.api' 'poetry.core.masonry.api' \
|
--replace 'poetry.masonry.api' 'poetry.core.masonry.api' \
|
||||||
--replace 'poetry>=1.1.13' 'poetry-core>=1.0.0' \
|
--replace 'poetry>=1.1.13' 'poetry-core>=1.0.0'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Upstream doesn't set a version for the pyproject.toml
|
# Upstream doesn't set a version for the pyproject.toml
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "0.0.0" "${version}" \
|
--replace "0.0.0" "${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ buildPythonPackage rec {
|
|||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace-fail "'assertpy'," "" \
|
--replace-fail "'assertpy'," "" \
|
||||||
--replace-fail "'fastargs'," "" \
|
--replace-fail "'fastargs'," "" \
|
||||||
--replace-fail "'psutil'," "" \
|
--replace-fail "'psutil'," ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ setuptools ];
|
build-system = [ setuptools ];
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ buildPythonPackage rec {
|
|||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
$out/bin/green -tvvv \
|
$out/bin/green -tvvv \
|
||||||
green.test.test_version \
|
green.test.test_version \
|
||||||
green.test.test_cmdline \
|
green.test.test_cmdline
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "green" ];
|
pythonImportsCheck = [ "green" ];
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
|||||||
#
|
#
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail '"jupyterlab>=3,<5",' "" \
|
--replace-fail '"jupyterlab>=3,<5",' ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ buildPythonPackage rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Upstream doesn't set a version for the pyproject.toml
|
# Upstream doesn't set a version for the pyproject.toml
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail "0.0.0" "${version}" \
|
--replace-fail "0.0.0" "${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ buildPythonPackage rec {
|
|||||||
--replace-fail '_port = get_free_port()' ""
|
--replace-fail '_port = get_free_port()' ""
|
||||||
|
|
||||||
substituteInPlace tests/utils/server.py \
|
substituteInPlace tests/utils/server.py \
|
||||||
--replace-fail '_Middleware' '_Middlewares' \
|
--replace-fail '_Middleware' '_Middlewares'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ buildPythonPackage rec {
|
|||||||
--replace 'libvips.so.42' '${lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}' \
|
--replace 'libvips.so.42' '${lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}' \
|
||||||
--replace 'libvips.42.dylib' '${lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}' \
|
--replace 'libvips.42.dylib' '${lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}' \
|
||||||
--replace 'libgobject-2.0.so.0' '${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}' \
|
--replace 'libgobject-2.0.so.0' '${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}' \
|
||||||
--replace 'libgobject-2.0.dylib' '${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}' \
|
--replace 'libgobject-2.0.dylib' '${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ buildPythonPackage rec {
|
|||||||
External/pubchem_shape/Wrap/CMakeLists.txt \
|
External/pubchem_shape/Wrap/CMakeLists.txt \
|
||||||
--replace-fail \
|
--replace-fail \
|
||||||
"find_package(Python3 COMPONENTS Interpreter Development.Module NumPy" \
|
"find_package(Python3 COMPONENTS Interpreter Development.Module NumPy" \
|
||||||
"find_package(Python3 COMPONENTS Interpreter Development NumPy" \
|
"find_package(Python3 COMPONENTS Interpreter Development NumPy"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||||||
# pythonRelaxDeps seems not taking effect for the build-system dependencies
|
# pythonRelaxDeps seems not taking effect for the build-system dependencies
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail 'hatchling==1.26.3' 'hatchling' \
|
--replace-fail 'hatchling==1.26.3' 'hatchling'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ buildPythonPackage (finalAttrs: {
|
|||||||
substituteInPlace src/sphinx_last_updated_by_git.py \
|
substituteInPlace src/sphinx_last_updated_by_git.py \
|
||||||
--replace-fail "'git', 'ls-tree'" " '${lib.getExe gitMinimal}', 'ls-tree'" \
|
--replace-fail "'git', 'ls-tree'" " '${lib.getExe gitMinimal}', 'ls-tree'" \
|
||||||
--replace-fail "'git', 'log'" "'${lib.getExe gitMinimal}', 'log'" \
|
--replace-fail "'git', 'log'" "'${lib.getExe gitMinimal}', 'log'" \
|
||||||
--replace-fail "'git', 'rev-parse'" "'${lib.getExe gitMinimal}', 'rev-parse'" \
|
--replace-fail "'git', 'rev-parse'" "'${lib.getExe gitMinimal}', 'rev-parse'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ gitMinimal ];
|
propagatedBuildInputs = [ gitMinimal ];
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail "--emoji" "" \
|
--replace-fail "--emoji" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|||||||
@@ -626,7 +626,7 @@ buildPythonPackage {
|
|||||||
-e "s/'gast[^']*',/'gast',/" \
|
-e "s/'gast[^']*',/'gast',/" \
|
||||||
-e "/'libclang[^']*',/d" \
|
-e "/'libclang[^']*',/d" \
|
||||||
-e "/'keras[^']*')\?,/d" \
|
-e "/'keras[^']*')\?,/d" \
|
||||||
-e "s/'protobuf[^']*',/'protobuf',/" \
|
-e "s/'protobuf[^']*',/'protobuf',/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Upstream has a pip hack that results in bin/tensorboard being in both tensorflow
|
# Upstream has a pip hack that results in bin/tensorboard being in both tensorflow
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Upstream doesn't set a version for the pyproject.toml
|
# Upstream doesn't set a version for the pyproject.toml
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace "0.0.0" "${version}" \
|
--replace "0.0.0" "${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ buildPythonPackage rec {
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Upstream doesn't set a version for the pyproject.toml
|
# Upstream doesn't set a version for the pyproject.toml
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail "0.0.0" "${version}" \
|
--replace-fail "0.0.0" "${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [ poetry-core ];
|
build-system = [ poetry-core ];
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
--replace-fail "cffi~=" "cffi>=" \
|
--replace-fail "cffi~=" "cffi>="
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
|||||||
@@ -2970,7 +2970,7 @@ let
|
|||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/Makefile --replace-fail \
|
substituteInPlace src/Makefile --replace-fail \
|
||||||
"all:\$(PROG) ../inst/bwa clean" \
|
"all:\$(PROG) ../inst/bwa clean" \
|
||||||
"all:\$(PROG) ../inst/bwa" \
|
"all:\$(PROG) ../inst/bwa"
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
patchelf $out/bin/${pname} \
|
patchelf $out/bin/${pname} \
|
||||||
--add-needed ${gnutls}/lib/libgnutls.so \
|
--add-needed ${gnutls}/lib/libgnutls.so
|
||||||
'';
|
'';
|
||||||
|
|
||||||
description = "Dedicated server for FTEQW";
|
description = "Dedicated server for FTEQW";
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ buildHomeAssistantComponent rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace custom_components/systemair/manifest.json \
|
substituteInPlace custom_components/systemair/manifest.json \
|
||||||
--replace-fail "pymodbus==" "pymodbus>=" \
|
--replace-fail "pymodbus==" "pymodbus>="
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
Reference in New Issue
Block a user