diff --git a/flake.nix b/flake.nix index fabc3e5..a274254 100644 --- a/flake.nix +++ b/flake.nix @@ -43,10 +43,9 @@ prootPatched ]; }; - # resolve these now so we can hardcode into the runner appBinGuess = "${drv}/bin"; - prootBin = "${prootPatched}/bin/proot"; - PROOT_REL = "/nix/store/${builtins.baseNameOf (builtins.dirOf prootBin)}/bin/proot"; + prootStoreBase = builtins.baseNameOf prootPatched; + PROOT_REL = "/nix/store/${prootStoreBase}/bin/proot"; in pkgs.stdenvNoCC.mkDerivation { name = "myApp.run";