diff --git a/packaging/nix/combine.nix b/packaging/nix/combine.nix index f3773253..f98ec393 100644 --- a/packaging/nix/combine.nix +++ b/packaging/nix/combine.nix @@ -1,9 +1,9 @@ -{ env, package, symlinkJoin, version ? "1.1.3" }: +{ env, package, symlinkJoin,version }: symlinkJoin { name = "umu-run-bwrap"; paths = [ env - (package.override {version = version;}) + (package.override {version = "${version}";}) ]; postBuild = '' rm $out/bin/umu diff --git a/packaging/nix/flake.nix b/packaging/nix/flake.nix index 0aeee2ff..3a23fa83 100644 --- a/packaging/nix/flake.nix +++ b/packaging/nix/flake.nix @@ -10,11 +10,12 @@ in let pyth = nixpk.pkgs.python3; + version = "1.1.3"; in let - umu-package = nixpk.callPackage ./umu-launcher.nix { umu-launcher=umu-launcher-src; pyth1=pyth; }; + umu-package = nixpk.callPackage ./umu-launcher.nix { umu-launcher=umu-launcher-src; pyth1=pyth; version = "${version}"; }; umu-run = nixpk.callPackage ./umu-run.nix { package=umu-package; }; in{ - packages.x86_64-linux.umu = nixpk.callPackage ./combine.nix { env=umu-run; package=umu-package; version = "1.1.3"; }; + packages.x86_64-linux.umu = nixpk.callPackage ./combine.nix { env=umu-run; package=umu-package; version = "${version}"; }; }; }