Compare commits

..

No commits in common. "5f15f42ffba6f98b6deda66ed21f665d91e62cf5" and "71eb05c09a8ce677042b1a1bd597dc2b6277d1be" have entirely different histories.

3 changed files with 7 additions and 9 deletions

View File

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1687523113, "lastModified": 1652368125,
"narHash": "sha256-dQhdLPyLanyyNbzE9BmV/+792IEkPGrEOi/RC2GRLXs=", "narHash": "sha256-AaNNYTSxN+f85oBN2tnz8SNWiTmFo35jddTHXQjNDgM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2c59f96089a1a4c5c8aaee1e9095f662204a753c", "rev": "f73cc9cbd82a7a8ce626bbaf02a55c1cfb34d6e5",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -9,12 +9,6 @@
nimPackages.buildNimPackage { nimPackages.buildNimPackage {
name = "bwbox"; name = "bwbox";
src = self; src = self;
nativeBuildInputs = [pkgs.makeWrapper];
postInstall = ''
wrapProgram $out/bin/bwbox \
--prefix PATH ':' ${pkgs.bubblewrap}/bin \
--prefix PATH ':' ${pkgs.xdg-dbus-proxy}/bin
'';
}; };
}; };
} }

View File

@ -71,6 +71,10 @@ proc sandboxExec*(args: Args) =
# resolve binary path outside of the sandbox # resolve binary path outside of the sandbox
var cmd = args.getCmd var cmd = args.getCmd
echo cmd
cmd[0] = findExe(cmd[0]) cmd[0] = findExe(cmd[0])
echo cmd
call.addArg(cmd).exec() call.addArg(cmd).exec()