andymandias has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cpennington has quit [(Remote host closed the connection)]
Shou has quit [(Ping timeout: 250 seconds)]
<clever>
LnL: no weird mount options that would get in the way
<clever>
LnL: can you redo the strace with -s3000 ?
<LnL>
I updated it
justbeingglad has joined #nixos
justbeingglad has left #nixos []
fdisk_pls has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
domenkozar: are you available?
<clever>
LnL: and you already tried to run perl after switching to the nixbld1 user?
<LnL>
clever: that does give a permission denied, can't access /nix/store
<clever>
ah, so something weird is going on with the filesystem stuff
<clever>
LnL: what if you just make /nix a symlink?
Sonarpulse-Work has quit [(Remote host closed the connection)]
athan has joined #nixos
arjen-jonathan has joined #nixos
<NixOS_GitHub>
[nixpkgs] moretea opened pull request #20635: yarn: init at 0.17.8 (master...add-yarn) https://git.io/vXjCC
Shou has joined #nixos
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
Itkovian has joined #nixos
<Baughn>
I'd like to run a shell script which uses nix-shell as an interpreter inside a build rule..
<Baughn>
Am I in a state of sin?
<clever>
Baughn: if sandboxes are off, you can set NIX_REMOTE=remote and i think it can talk to the nix-daemon on the host
<Baughn>
Sandboxes are on.
<clever>
then it has no way to reach the unix socket nix-daemon is on
<clever>
Baughn: one sec
<LnL>
clever: I got it working
<Baughn>
I can probably just move the dependencies into default.nix.
<LnL>
clever: /nix/store was 744 instead of 755
<clever>
Baughn: that would be better
<clever>
LnL: ah, that would do it
<LnL>
not sure why that matters tho
<clever>
LnL: i think 1 is +x?
<clever>
it is
<clever>
LnL: you need +x on a directory to traverse it, +r only allows you to read it
<LnL>
yes, but it's a directory. or does that propagate to all the subfolders/files
<LnL>
oh
<clever>
cd and ls are seperate operations
<clever>
and you can do interesting security stuff if you have +x and -r
<clever>
you can read files, if you know the names, but you cant list the names
<tikhon>
How do I build Haskell packages that depend on having a JVM? I keep on getting "* Missing C library: jvm". I tried calling them with { jvm = openjdk7 }, but that didn't work—what should jvm be set to?
<LnL>
clever: I did not know that, thanks for the help
<clever>
seku: yeah, it detected an armv7 cpu, so its doing a v7 arm build
<clever>
even though i asked for v6
<clever>
seku: the code i just linked from github solves similar 64/32 bit problems, it makes linux lie to the builder, and claim its a 32bit only kernel
<greymalkin>
How do I deal with binary (proprietary) packages that really want to write to the filesystem, even when just extracting (microchip's xc16 compiler in this case)
Shou has quit [(Ping timeout: 240 seconds)]
<greymalkin>
Is there a nix equivalent to Arch's `fakeroot` or an expression that I can use as an example?
<simpson>
greymalkin: There's buildFHSEnv. Lemme see if it's documented in the manual.
<clever>
buildFHSEnv will create a tree of symlinks that simulate /usr and /lib, and chroot automaticaly when you run it
<clever>
but /usr and /lib are still read-only
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
filterfish has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
evangeline has quit [(Ping timeout: 246 seconds)]
stepcut_ has joined #nixos
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Ping timeout: 260 seconds)]
<mpickering>
Is it safe to delete everything in the store?
<mpickering>
I don't really use nix but don't want to destroy my installation
<greymalkin>
clever: Hmm.. really the only time it's doing it is during the install phase; it wants to write into the /opt directory, and I'd like to force it to write to the "$out/opt" directory instead.
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #20638: postgresql: bug fix updates for all versions (master...postgresql-updates) https://git.io/vXj0Z
<greymalkin>
So I think having the FHS environment *may* be overkill?
AllanEspinosa has quit [(Ping timeout: 256 seconds)]
<clever>
greymalkin: and it wouldnt work
<simpson>
mpickering: No. In particular, Nix itself is in your store.
<clever>
greymalkin: i would try patching the program, but runInLinuxVM can also be used
<mpickering>
How can I reclaim the 10gb of space taken up by it?
<clever>
mpickering: there is nix-collect-garbage to let it clean up unused things automaticaly
<simpson>
mpickering: Remove stuff from your environment that you don't use, and then nix-collect-garbage.
<mpickering>
I am on OSX
<mpickering>
The executables are not located in the store which is at /nix/store
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<simpson>
Ah. No idea about Darwin, sorry.
evangeline has joined #nixos
<clever>
mpickering: you should still have a nix-collect-garbage program in $PATH
<mpickering>
I do but I still have 10gb left in this folder
<clever>
mpickering: can you pastebin the output of "du --max=1 -h /nix/store | sort -h" ?