mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
klipper: fixup build on i686
This commit is contained in:
parent
5022178623
commit
2b933b6f2d
@ -12,9 +12,15 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "KevinOConnor";
|
owner = "KevinOConnor";
|
||||||
repo = "klipper";
|
repo = "klipper";
|
||||||
rev = "ef4d9c3abd30ae8a485020fd9ff2fb4529a143b3";
|
rev = "ef4d9c3abd30ae8a485020fd9ff2fb4529a143b3";
|
||||||
sha256 = "puAkSGL0DD0JUWejPdzr7zKIW2UP2soBBtgm2msUKzA=";
|
sha256 = "sha256-puAkSGL0DD0JUWejPdzr7zKIW2UP2soBBtgm2msUKzA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# We have no LTO on i686 since commit 22284b0
|
||||||
|
postPatch = lib.optional stdenv.isi686 ''
|
||||||
|
substituteInPlace chelper/__init__.py \
|
||||||
|
--replace "-flto -fwhole-program " ""
|
||||||
|
'';
|
||||||
|
|
||||||
sourceRoot = "source/klippy";
|
sourceRoot = "source/klippy";
|
||||||
|
|
||||||
# there is currently an attempt at moving it to Python 3, but it will remain
|
# there is currently an attempt at moving it to Python 3, but it will remain
|
||||||
|
Loading…
Reference in New Issue
Block a user