ps3netsrv: fix build on darwin
This commit is contained in:
parent
6e824a29ab
commit
70a2dc87f6
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchzip, mbedtls, meson, ninja, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchzip, mbedtls, meson, ninja }:
|
||||
let
|
||||
webManModVersion = "1.47.42";
|
||||
in
|
||||
|
@ -19,6 +19,8 @@ stdenv.mkDerivation rec {
|
|||
mbedtls
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Doff64_t=off_t";
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 ../LICENSE.TXT $out/usr/share/licenses/${pname}/LICENSE.TXT
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue