Skip to content

Commit

Permalink
xfsprogs: disable install parallelism
Browse files Browse the repository at this point in the history
Without the change install phase fails as:

    Installing libxfs-install
    ../../install-sh -o nixbld -g nixbld -m 644 ioctl_xfs_ag_geometry.2 /nix/store/chymzkiiv6c2rgl2gqrn4bqv5azhx9vf-xfsprogs-6.1.1-bin/share/man/man2/ioctl_xfs_ag_geometry.2
    make[1]: *** No rule to make target '\', needed by 'kmem.lo'.  Stop.
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:148: libxfs-install] Error 2
    make: *** Waiting for unfinished jobs....
  • Loading branch information
trofi committed Feb 26, 2023
1 parent 8a99bba commit 0026b4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tools/filesystems/xfsprogs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ libuuid ]; # Dev headers include <uuid/uuid.h>

enableParallelBuilding = true;
# Install fails as:
# make[1]: *** No rule to make target '\', needed by 'kmem.lo'. Stop.
enableParallelInstalling = false;

# @sbindir@ is replaced with /run/current-system/sw/bin to fix dependency cycles
preConfigure = ''
Expand Down

0 comments on commit 0026b4a

Please sign in to comment.