craftos-pc: reduce runtime dependencies
patchelf is only used in the installPhase and is not used in the program itself, so we move it to nativeBuildInputs to reduce the closure size.
This commit is contained in:
parent
efd518852d
commit
6b006fc4de
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-ozebHgUgwdqYtWAyL+EdwpjEvZC+PkWcLYCPWz2FjSw=";
|
||||
};
|
||||
|
||||
buildInputs = [ patchelf poco openssl SDL2 SDL2_mixer ncurses libpng pngpp libwebp ];
|
||||
nativeBuildInputs = [ patchelf ];
|
||||
buildInputs = [ poco openssl SDL2 SDL2_mixer ncurses libpng pngpp libwebp ];
|
||||
|
||||
preBuild = ''
|
||||
cp -R ${craftos2-lua}/* ./craftos2-lua/
|
||||
|
|
Loading…
Reference in a new issue