mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #281254 from NickCao/mingetty-cross
mingetty: fix cross compilation
This commit is contained in:
commit
b1d33fb030
@ -9,9 +9,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g";
|
||||
};
|
||||
|
||||
makeFlags = [
|
||||
"CC:=$(CC)"
|
||||
"SBINDIR=${placeholder "out"}/sbin"
|
||||
"MANDIR=${placeholder "out"}/share/man/man8"
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/sbin $out/share/man/man8
|
||||
makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user