Unverified Commit db9208ab authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #254017 from cyber-murmel/klipper-cross

parents 547f990f a4f6862f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -38,6 +38,10 @@ stdenv.mkDerivation rec {
      substituteInPlace $file \
        --replace '/usr/bin/env python2' '/usr/bin/env python'
    done

    # needed for cross compilation
    substituteInPlace ./chelper/__init__.py \
      --replace 'GCC_CMD = "gcc"' 'GCC_CMD = "${stdenv.cc.targetPrefix}cc"'
  '';

  # NB: We don't move the main entry point into `/bin`, or even symlink it,