nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #40538 from obsidiansystems/linux-pam-cross

pam: Remove crossAttrs

authored by

John Ericson and committed by
GitHub
f952058d 7a8f0b3b

-15
-15
pkgs/os-specific/linux/pam/default.nix
··· 33 33 34 34 enableParallelBuilding = true; 35 35 36 - crossAttrs = { 37 - propagatedBuildInputs = [ flex.crossDrv cracklib.crossDrv ]; 38 - preConfigure = preConfigure + '' 39 - $crossConfig-ar x ${flex.crossDrv}/lib/libfl.a 40 - mv libyywrap.o libyywrap-target.o 41 - ar x ${flex}/lib/libfl.a 42 - mv libyywrap.o libyywrap-host.o 43 - export LDFLAGS="$LDFLAGS $PWD/libyywrap-target.o" 44 - sed -e 's/@CC@/gcc/' -i doc/specs/Makefile.in 45 - ''; 46 - postConfigure = '' 47 - sed -e "s@ $PWD/libyywrap-target.o@ $PWD/libyywrap-host.o@" -i doc/specs/Makefile 48 - ''; 49 - }; 50 - 51 36 postInstall = '' 52 37 mv -v $out/sbin/unix_chkpwd{,.orig} 53 38 ln -sv /run/wrappers/bin/unix_chkpwd $out/sbin/unix_chkpwd