mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
knot-resolver: cross-compilation fix
This commit is contained in:
parent
5ddfa4183a
commit
98385ff540
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ unwrapped = stdenv.mkDerivation rec {
|
||||||
sha256 = "d1396888ec3a63f19dccdf2b7dbcb0d16a5d8642766824b47f4c21be90ce362b";
|
sha256 = "d1396888ec3a63f19dccdf2b7dbcb0d16a5d8642766824b47f4c21be90ce362b";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Short-lived cross fix, as upstream is migrating to meson anyway.
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace platform.mk --replace "objdump" "$OBJDUMP"
|
||||||
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
configurePhase = "patchShebangs scripts/";
|
configurePhase = "patchShebangs scripts/";
|
||||||
|
|
Loading…
Reference in a new issue