pbzx: fix cross compilation

launchpad/nixpkgs/master
Andrew Childs 4 years ago
parent 9ad03b1ed9
commit 2931a2e1d5
  1. 2
      pkgs/tools/compression/pbzx/default.nix

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [ xz xar ];
buildPhase = ''
cc pbzx.c -llzma -lxar -o pbzx
${stdenv.cc.targetPrefix}cc pbzx.c -llzma -lxar -o pbzx
'';
installPhase = ''
mkdir -p $out/bin

Loading…
Cancel
Save