Skip to content

Commit

Permalink
lets go I guess
Browse files Browse the repository at this point in the history
  • Loading branch information
beh-10257 committed Oct 17, 2024
1 parent 05556c7 commit 8f7f087
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packaging/nix/combine.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
symlinkJoin {
name = "umu-run-bwrap";
paths = [
env
(package.override {version = "${version}";})
(env.override {version = "${version}";})
];
postBuild = ''
rm $out/bin/umu
Expand Down
2 changes: 1 addition & 1 deletion packaging/nix/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
in
let
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; };
umu-run = nixpk.callPackage ./umu-run.nix { package=umu-package; version = "${version}"; };
in{
packages.x86_64-linux.umu = nixpk.callPackage ./combine.nix { env=umu-run; package=umu-package; version = "${version}"; };
};
Expand Down
2 changes: 1 addition & 1 deletion packaging/nix/umu-launcher.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{pyth1 ,python3Packages , umu-launcher, pkgs,version, ...}:
python3Packages.buildPythonPackage {
version = "${version}";
pname = "umu-launcher-${version}";
pname = "umu-launcher";
#version = "1.1.3-${umu-launcher.shortRev}";
src = umu-launcher;
pyproject = false;
Expand Down
5 changes: 3 additions & 2 deletions packaging/nix/umu-run.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ package, buildFHSEnv, writeShellScript, ...}:
{ package, buildFHSEnv, writeShellScript,version, ...}:
buildFHSEnv {
pname = "umu-run";
name = "umu-run";
version = "${version}";
runScript = writeShellScript "umu-run-shell" ''
${package}/bin/umu "$@"
'';
Expand Down

0 comments on commit 8f7f087

Please sign in to comment.