aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-09-26 15:42:45 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-09-26 15:42:45 +0200
commit0f59a1dde12f94eaff71f6f6b3d8d271c2dcce26 (patch)
tree369f9a6ed222120c29929f69c8636a35e17572eb /nix
parent7c6bb80cee123d7bdd140d2892a3f473f972ebc8 (diff)
downloadPrismLauncher-0f59a1dde12f94eaff71f6f6b3d8d271c2dcce26.tar.gz
PrismLauncher-0f59a1dde12f94eaff71f6f6b3d8d271c2dcce26.tar.bz2
PrismLauncher-0f59a1dde12f94eaff71f6f6b3d8d271c2dcce26.zip
fix(nix): add tomlplusplus
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix
index 42ddda18..88b540ab 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -21,6 +21,7 @@
, self
, version
, libnbtplusplus
+, tomlplusplus
, enableLTO ? false
}:
@@ -59,6 +60,11 @@ stdenv.mkDerivation rec {
mkdir source/libraries/libnbtplusplus
cp -a ${libnbtplusplus}/* source/libraries/libnbtplusplus
chmod a+r+w source/libraries/libnbtplusplus/*
+ # Copy tomlplusplus
+ rm -rf source/libraries/tomlplusplus
+ mkdir source/libraries/tomlplusplus
+ cp -a ${tomlplusplus}/* source/libraries/tomlplusplus
+ chmod a+r+w source/libraries/tomlplusplus/*
'';
cmakeFlags = [