mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
mtdutils: replace hardcoded /bin/mount in mount.ubifs
This commit is contained in:
parent
e459735ee0
commit
ca00987003
@ -8,6 +8,7 @@
|
||||
acl,
|
||||
libuuid,
|
||||
lzo,
|
||||
util-linux,
|
||||
zlib,
|
||||
zstd,
|
||||
}:
|
||||
@ -30,10 +31,16 @@ stdenv.mkDerivation rec {
|
||||
acl
|
||||
libuuid
|
||||
lzo
|
||||
util-linux
|
||||
zlib
|
||||
zstd
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ubifs-utils/mount.ubifs \
|
||||
--replace-fail "/bin/mount" "${util-linux}/bin/mount"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user