Merge pull request #40295 from obsidiansystems/fewer-crossAttrs
gnused: Remove crossAttrs
This commit is contained in:
commit
4ed70389d0
@ -14,13 +14,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
preConfigure = "patchShebangs ./build-aux/help2man";
|
preConfigure = "patchShebangs ./build-aux/help2man";
|
||||||
|
|
||||||
crossAttrs = {
|
# Prevents attempts of running 'help2man' on cross-built binaries.
|
||||||
# The tarball ships with a fine prebuilt manpage, but the make rules try to rebuild it,
|
PERL = if stdenv.hostPlatform == stdenv.buildPlatform then null else "missing";
|
||||||
# which won't work when cross compiling as help2man needs to execute the binaries.
|
|
||||||
postConfigure = ''
|
|
||||||
sed -i Makefile -e 's|doc/sed\.1:|dummy:|'
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.gnu.org/software/sed/;
|
homepage = http://www.gnu.org/software/sed/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user