<clever>
and if the sandbox isnt on, it still works, so they dont notice
<clever>
that mistake is what often breaks things, when new users try to toString all the things
<clever>
but ${toString ./id_rsa} wont copy, and turns into /home/clever/something/id_rsa
<clever>
${./id_rsa} will copy it to the store, and translate into /nix/store/hash-id_rsa
<clever>
eraserhd: nope
<clever>
and assumes the file will remain at that path in the future
<clever>
this is one of the few cases where using toString on a path is the answer, that will give the absolute path to the file, without copying
<clever>
eraserhd: "ssh -i ${toString ./id_rsa}"
<clever>
ajs124: copy_file_range
<clever>
what syscall is it using?
<clever>
ajs124: but it shouldnt break anything
<clever>
ajs124: linux doesnt understand atomic moves between bindmounts of the same fs, so it will force `mv` to copy things, causing minor performance costs
<clever>
plus a fat32 ESP mounted to /boot and a bios boot partition
<clever>
boot.loader.grub.efiInstallAsRemovable = true; will work around that
<clever>
but efi can fail if the efi vars arent mounted, so
<clever>
Miyu-chan: if you set boot.loader.grub.efiSupport = true; and /boot is fat32, then it will also do an efi install at the same time
<clever>
oops, insert a grub. into that option
<clever>
Miyu-chan: if you set boot.loader.device = "/dev/sda"; then it will do a legacy install into the (protective) MBR, and require a bios boot partition (1mb, not formated, not mounted) if on gpt
<clever>
Miyu-chan: you can configure grub to do both efi and legacy at the same time
<clever>
teto: but i dont know how that interacts with copy-on-write filesystems, and 8mb isnt much
<clever>
teto: of note, nix already has a /nix/var/nix/db/reserved file, 8mb in size, and it will delete that before starting a GC, to prevent issues
<clever>
but --max-freed 100m, will make that "very end" come much sooner, and then you can increase it slowly until you have enough space for a real full-gc
<clever>
teto: and it wont regain space until the very end, when it deletes /nix/store/trash
<clever>
teto: the problem, is that it will move things to /nix/store/trash, while updating sqlite, which can fail due to lack of space
<clever>
teto: it helps to use --max-freed
<clever>
immae: it is flagged as internal, so the docs hide it, and the description says not to change it, but i guess reading it will perfectly solve your question
<clever>
immae: there appears to be a config.security.wrapperDir option, that controls where all of the setuid wrappers go
<clever>
and i didnt want to downgrade my whole system that far
<clever>
the opencl stuff in nixos-unstable doesnt even build, and i had to go back to 18.03 to get it to build right
<clever>
that contains an entire nixos env, with opencl drivers, but no xserver
<clever>
say hello to my little squashfs, lol
<clever>
-r--r--r-- 1 root root 286M Dec 31 1969 /boot/rescue-initrd
<clever>
so you can do { stdenv, pygobject3 }: ...
<clever>
thats why i prefer newScope&friends
<clever>
Miyu-chan: ack
<clever>
Miyu-chan: what about `duplicity.override { pygobject3 = null; }` ?
<clever>
yorick: i think this is the exact same cairo issue Miyu-chan just had
<clever>
yorick: ah, line 5 is python2.7-graphite-web, line 6 is saying which file inside graphite web, and a sub-section of that file, that depends on cairo
<clever>
yorick: why does a database library depends on cairo (a gui library)!? lol
<clever>
yorick: what is whisper?
<clever>
Miyu-chan: that may explain why i had so much trouble getting hex to override
<clever>
and long, lol
<clever>
Miyu-chan: nope, neat
<clever>
yorick: i'm guessing llvm is for gpu reasons, but does this even need opengl?
<clever>
yorick: looks like it depends on glibc and llvm at runtime, `nix why-depends /nix/store/x4b7fc747s95nwynbkjdnshsrw85vxwg-unit-graphiteWeb.service /nix/store/y7nq2bjlfvmf9dhf8gfbr32qbrg3zyb4-llvm-7.0.1-lib`
<clever>
Miyu-chan: and opens up the option of making it more maintainable
<clever>
Miyu-chan: id be in favor, `lib.fix (self: with self; { ... })` is basically identical
<clever>
Miyu-chan: if you link a PR, i could also take a look over it
<clever>
Miyu-chan: nix why-depends is your solution
<clever>
Miyu-chan: propagated inputs exist mostly after the build is done, so you cant fully read them from nix
<clever>
and it will dedup along the way, so if 2 things both imports thing.nix, you only get thing.nix listed once
<clever>
Miyu-chan: the module framework uses genericClosure to go thru the imports = [ ./thing.nix ]; recursively, while allowing cycles to exist
<clever>
Miyu-chan: genericClosure takes a list of things, and a function from thing->[things], and will recursively call it on each thing, without causing infinite recursion
<clever>
you can change the directory, but not all packages support that, and changing it also causes a rebuild
<clever>
android is even an option if you root it or use namespacing
<clever>
atlas_: as long as you can write to /nix/ and have a linux or darwin kernel, nix will work
<clever>
robstrrr: what IP does `dig` return, both inside and outside the network?
<clever>
robstrrr: captive portals?
<clever>
robstrrr: is the date/time correct?
<clever>
AnswerGuy: networking.hosts and networking.extraHosts
2019-07-08
<clever>
matt`: nixos isnt configured to support startx, it must be launched by systemd, via display-manager.service
<clever>
sauyon: nix will pick a random user in the nixbld group, -9 every process in the user, and then start the build under thatuser
<clever>
sauyon: thats why
<clever>
sauyon: did you add yourself to the nixbld group?
<clever>
cinimod: here
<clever>
it could boot, but grub couldnt list any directory, so all debug was imposible
<clever>
ive also tried /boot on /, with / on zfs, and it had weird issues
<clever>
if /boot is its own filesystem, then it will always copy kernels
<clever>
i'll likely be sleeping by then
<clever>
kk
<clever>
exarkun: it will also auto-configure itself, based on the .fsType of everything in the fileSystems attrset
<clever>
exarkun: boot.supportedFilesystems is just generic support, after the initrd
<clever>
exarkun: boot.initrd.supportedFilesystems is for the initrd
<clever>
> builtins.readFile
<clever>
gchristensen: your grafana also showed it hasnt done an eval in over a day
<clever>
abbec: nix-env -i weechat, finds the unwrapped version, because the name matches weechat closer