From 668e55df2ae49b943ea915b333b7551b422005c4 Mon Sep 17 00:00:00 2001 From: Slendi Date: Tue, 16 Sep 2025 14:23:33 +0300 Subject: [PATCH] a Signed-off-by: Slendi --- flake.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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";