aboutsummaryrefslogtreecommitdiff
path: root/messages
diff options
context:
space:
mode:
authorstuebinm2021-03-09 15:38:16 +0100
committerstuebinm2021-03-09 15:38:16 +0100
commit6908ecac521c0ddf3d8af75adefa7209f7a8719c (patch)
tree62714c31f3c0cef23d56d82f05682fbf729dcec6 /messages
parentead8c570b6dfd00531bf7ada77e08bbd9955b731 (diff)
Added hasi workadventure version
wapkgs.nix new contains packages for several different versions of workadventure (so far hasi + thecodingmachine), which can both be used. Unfortunately, this appears to require some weird hacks to convince nix to sort out the dependencies without having to actually duplicate all the packaging code, but it works.
Diffstat (limited to 'messages')
-rw-r--r--messages/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/messages/default.nix b/messages/default.nix
index 2e61f46..2ca973b 100644
--- a/messages/default.nix
+++ b/messages/default.nix
@@ -1,4 +1,4 @@
-workadventuresrc:
+workadventuresrc: waname:
{ stdenv
, autoPatchelfHook
@@ -34,8 +34,9 @@ let
in
yarn2nix-moretea.mkYarnPackage rec {
- pname = "workadventuremessages";
+ pname = "workadventuremessages-${waname}";
version = "unstable";
+ name = pname + "-" + version;
src = "${workadventuresrc}/messages";