aboutsummaryrefslogtreecommitdiff
path: root/pkgs/default.nix
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-05-29 18:17:05 +0200
committerKarel Kočí <cynerd@email.cz>2022-06-11 10:35:49 +0200
commitff51c8717be66826843d6304708fc1f0ff7cd48c (patch)
tree781fdb5074be435077fb13de9f75b1ae374da55f /pkgs/default.nix
parente4045513a155b564926f4bb40e508bfcac9679ec (diff)
downloadnixturris-ff51c8717be66826843d6304708fc1f0ff7cd48c.tar.gz
nixturris-ff51c8717be66826843d6304708fc1f0ff7cd48c.tar.bz2
nixturris-ff51c8717be66826843d6304708fc1f0ff7cd48c.zip
Fix cross compilation of Omnia
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r--pkgs/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index ea4112a..849edff 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -38,6 +38,15 @@ let
jemalloc = armv7lDisableCheck nixpkgs.jemalloc;
openssh = armv7lDisableCheck nixpkgs.openssh;
nlohmann_json = armv7lDisableCheck nixpkgs.nlohmann_json;
+ # Crosscompilation worarounds
+ btrfs-progs = nixpkgs.btrfs-progs.overrideAttrs (oldAttrs: {
+ configureFlags = ["--disable-python"];
+ installFlags = [];
+ });
+ pixz = nixpkgs.pixz.overrideAttrs (oldAttrs: {
+ configureFlags = ["--without-manpage"];
+ patches = [ ./0001-configure.ac-replace-AC_CHECK_FILE.patch ];
+ });
};