diff options
author | stuebinm | 2021-03-09 15:38:16 +0100 |
---|---|---|
committer | stuebinm | 2021-03-09 15:38:16 +0100 |
commit | 6908ecac521c0ddf3d8af75adefa7209f7a8719c (patch) | |
tree | 62714c31f3c0cef23d56d82f05682fbf729dcec6 /uploader/default.nix | |
parent | ead8c570b6dfd00531bf7ada77e08bbd9955b731 (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 '')
-rw-r--r-- | uploader/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/uploader/default.nix b/uploader/default.nix index 58e10c0..4593caa 100644 --- a/uploader/default.nix +++ b/uploader/default.nix @@ -1,4 +1,4 @@ -workadventuresrc: +workadventuresrc: waname: { stdenv , fetchFromGitHub @@ -10,8 +10,9 @@ workadventuresrc: , ... }: yarn2nix-moretea.mkYarnPackage rec { - pname = "workadventureuploader"; + pname = "workadventureuploader-${waname}"; version = "unstable"; + name = pname + "-" + version; src = "${workadventuresrc}/uploader"; |