Merge pull request #307252 from NickCao/genromfs
genromfs: fix cross compilation
This commit is contained in:
@@ -9,17 +9,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0q6rpq7cmclmb4ayfyknvzbqysxs4fy8aiahlax1sb2p6k3pzwrh";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "prefix = /usr" "prefix = $out" \
|
||||
--replace "gcc" "cc"
|
||||
'';
|
||||
makeFlags = [
|
||||
"prefix:=$(out)"
|
||||
"CC:=$(CC)"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://romfs.sourceforge.net/";
|
||||
description = "Tool for creating romfs file system images";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "genromfs";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user