From 6908ecac521c0ddf3d8af75adefa7209f7a8719c Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 9 Mar 2021 15:38:16 +0100 Subject: 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. --- uploader/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'uploader') 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"; -- cgit v1.2.3