mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-30 17:10:18 +02:00
lvm2: don't embed ./configure line in lvm2 binary
This commit is contained in:
parent
198d1e6f5c
commit
df67459b89
|
@ -49,6 +49,11 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace libdm/make.tmpl.in --replace "@systemdsystemunitdir@" "$out/lib/systemd/system"
|
substituteInPlace libdm/make.tmpl.in --replace "@systemdsystemunitdir@" "$out/lib/systemd/system"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postConfigure = ''
|
||||||
|
sed -i 's|^#define LVM_CONFIGURE_LINE.*$|#define LVM_CONFIGURE_LINE "<removed>"|g' ./include/configure.h
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
|
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "fix-stdio-usage.patch";
|
name = "fix-stdio-usage.patch";
|
||||||
|
|
Loading…
Reference in a new issue