nix: fix overlay
This commit is contained in:
parent
2a760a8e32
commit
9499acedab
@ -26,9 +26,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
overlay = import ./packages/nix/overlay.nix {
|
overlay = (final: prev: rec {
|
||||||
inherit self quazip libnbtplusplus;
|
polymc = packages.polymc;
|
||||||
};
|
});
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
polymc = flake-utils.lib.mkApp {
|
polymc = flake-utils.lib.mkApp {
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
{ self, quazip, libnbtplusplus }:
|
|
||||||
|
|
||||||
final: prev: rec {
|
|
||||||
polymc = prev.libsForQt5.callPackage ./polymc {
|
|
||||||
inherit self;
|
|
||||||
submoduleQuazip = quazip;
|
|
||||||
submoduleNbt = libnbtplusplus;
|
|
||||||
};
|
|
||||||
}
|
|
@ -42,6 +42,7 @@ mkDerivation rec {
|
|||||||
buildInputs = [ qtbase jdk8 zlib ];
|
buildInputs = [ qtbase jdk8 zlib ];
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
|
rm -rf source/libraries/{libnbtplusplus,quazip}
|
||||||
mkdir source/libraries/{libnbtplusplus,quazip}
|
mkdir source/libraries/{libnbtplusplus,quazip}
|
||||||
cp -a ${submoduleNbt}/* source/libraries/libnbtplusplus
|
cp -a ${submoduleNbt}/* source/libraries/libnbtplusplus
|
||||||
cp -a ${submoduleQuazip}/* source/libraries/quazip
|
cp -a ${submoduleQuazip}/* source/libraries/quazip
|
||||||
|
Loading…
Reference in New Issue
Block a user