Skip to content

Commit 68d2b31

Browse files
committed
pkgs: replace prePatch with postPatch
1 parent 2b3b206 commit 68d2b31

25 files changed

Lines changed: 25 additions & 25 deletions

pkgs/curl/curl.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515

1616
buildInputs = [ gnumake mbedtls ca-bundle ];
1717

18-
prePatch = ''
18+
postPatch = ''
1919
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' \
2020
configure install-sh
2121
'';

pkgs/gnumake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
1313

1414
buildInputs = [ gnumake ];
1515

16-
prePatch = ''
16+
postPatch = ''
1717
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' \
1818
configure src/job.c build-aux/install-sh po/Makefile.in.in
1919
'';

pkgs/linux/flex.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515

1616
buildInputs = [ gnumake gnum4 ];
1717

18-
prePatch = ''
18+
postPatch = ''
1919
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' configure build-aux/install-sh
2020
'';
2121
extraConfigureFlags = [ "--disable-bootstrap" "--disable-libfl" ];

pkgs/linux/gnubison.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616

1717
buildInputs = [ gnumake gnum4 ];
1818

19-
prePatch = ''
19+
postPatch = ''
2020
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' \
2121
configure build-aux/install-sh build-aux/move-if-change
2222
'';

pkgs/linux/gnum4.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ stdenv.mkDerivation {
1616

1717
buildInputs = [ gnumake ];
1818

19-
prePatch = ''
19+
postPatch = ''
2020
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' configure build-aux/install-sh
2121
'';
2222
extraConfigureFlags = [

pkgs/linux/linux.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414

1515
buildInputs = [ gnumake flex gnubison zstd ];
1616

17-
prePatch = ''
17+
postPatch = ''
1818
sed -i 's|#!/usr/bin/awk|#!${stdenv.busybox}/bin/awk|' \
1919
scripts/*.sh scripts/*/*.sh
2020
sed -i 's|#!/bin/sh|#!${stdenv.busybox}/bin/ash|' \

pkgs/live-cd/gnubinutils.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515

1616
buildInputs = [ gnumake ];
1717

18-
prePatch = ''
18+
postPatch = ''
1919
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' \
2020
configure missing install-sh mkinstalldirs
2121
# see libtool's 74c8993c178a1386ea5e2363a01d919738402f30

pkgs/live-cd/gnumtools.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515

1616
buildInputs = [ gnumake ];
1717

18-
prePatch = ''
18+
postPatch = ''
1919
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' configure mkinstalldirs
2020
'';
2121

pkgs/live-cd/gnuxorriso.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515

1616
buildInputs = [ gnumake ];
1717

18-
prePatch = ''
18+
postPatch = ''
1919
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' configure install-sh
2020
'';
2121

pkgs/live-cd/nasm.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
1515

1616
buildInputs = [ gnumake ];
1717

18-
prePatch = ''
18+
postPatch = ''
1919
sed -i 's|/bin/sh|${stdenv.busybox}/bin/ash|' \
2020
configure autoconf/helpers/install-sh
2121
'';

0 commit comments

Comments
 (0)