bug#46297: nix-service-configuration is missing the default /bin/sh

2021-04-26 Thread Oleg Pykhalov
pukkamustard writes: […] >> Could you apply the following patch on >> 13c4a377f5a2e1240790679f3d5643385b6d7635 and run the command again, >> please? > > Applied and tested in a virtual machine. Your patch seems to fix the issue I > was having. Thank you! > > Also tested again in a VM without you

bug#46297: nix-service-configuration is missing the default /bin/sh

2021-04-26 Thread pukkamustard
Oleg Pykhalov writes: […] Could you apply the following patch on 13c4a377f5a2e1240790679f3d5643385b6d7635 and run the command again, please? Applied and tested in a virtual machine. Your patch seems to fix the issue I was having. Thank you! Also tested again in a VM without your patch

bug#46297: nix-service-configuration is missing the default /bin/sh

2021-04-22 Thread Oleg Pykhalov
pukkamustard writes: […] > The build succeeds if I do following: > > ``` > $ sudo nix-build nixpkgs/ -A ocaml-ng.ocamlPackages_4_11.ocaml --option > build-sandbox-paths > "/bin/sh=//nix/store/0xrjvxvh3wvdbf8pc2850jry1fcx292g-busybox-1.32.1/bin/busybox" Could you apply the following patch on 13c

bug#46297: nix-service-configuration is missing the default /bin/sh

2021-04-22 Thread pukkamustard
Oleg Pykhalov writes: It doens't fail without the patch. Could I ask what issue the build-sandbox-paths introduce for you? Also it would be helpful if you provide terminal output with an error you occurred. Ah, sorry I didn't see that there where system tests. This is how I ran into th

bug#46297: nix-service-configuration is missing the default /bin/sh

2021-04-22 Thread Oleg Pykhalov
Hi, The ‘make check-system TESTS=nix’ doesn't succeeded with patch applied on 13c4a377f5a2e1240790679f3d5643385b6d7635: --8<---cut here---start->8--- building of '/nix/store/nvx13nribwnd47hs6frbq61vlq2n3nzh-guix-test.drv': woken up substitution of '/nix/store/3

bug#46297: nix-service-configuration is missing the default /bin/sh

2021-04-21 Thread pukkamustard
I ran into the same issue and agree with your conclusion that we may not need build-sandbox-paths. Attached a patch that removes the `build-sandbox-paths` option. This causes nix to use the default value which seems to work fine. >From 886410216c7b1fb6572e7cfdd83dcbd6836e78e4 Mon Sep 17 00:

bug#46297: nix-service-configuration is missing the default /bin/sh

2021-02-04 Thread John Soo
After some review and testing, I am not sure we need build-sandbox-paths either.

bug#46297: nix-service-configuration is missing the default /bin/sh

2021-02-04 Thread John Soo
Hi guix, I am working with nix at work and I found some issues with the sandbox configuration for nix.The docs say that the default sandbox-paths should have a default mount for /bin/sh https://nixos.org/manual/nix/unstable/command-ref/conf-file.html?highlig