gchristensen changed the topic of #nixos to: Share the output of nix-shell -p nix-info --run nix-info to help us help you. || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://botbot.me/freenode/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7fb90db6960 (from 77 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [Client Quit]
erasmas has quit [Quit: leaving]
spietz has joined #nixos
<pie_> will nix ever be a devops buzzword
<maurer> No
pkill9 has quit [Ping timeout: 260 seconds]
<maurer> To many commercial products are difficult to install on it, and will remain so
<maurer> And if you get budget dev folks, their stuff won't install on it either
<duncan^> Embedded, on the other hand...
digitus has quit [Quit: digitus]
ryanartecona has quit [Quit: ryanartecona]
BlessJah has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mkgvt opened pull request #34719: rename: addition (master...master) https://git.io/vAUL8
NixOS_GitHub has left #nixos [#nixos]
BlessJah has joined #nixos
babyflakes has quit [Quit: Connection closed for inactivity]
Lisanna has quit [Quit: Lisanna]
Lisanna has joined #nixos
{^_^} has quit [Remote host closed the connection]
Lisanna has quit [Client Quit]
{^_^} has joined #nixos
sud0x3 has quit [Ping timeout: 264 seconds]
pkill9 has joined #nixos
<gchristensen> 7:30pm is it bed time yet? :P
<duncan^> You mean "the time that is in my time zone but may or may not be in other people's time zones is bed time yet? :p"
ryanartecona has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vAUqF
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9f3d57a Tim Steinbach: linux: 4.15.1 -> 4.15.2
<NixOS_GitHub> nixpkgs/master 0b43d5a Tim Steinbach: linux: 4.14.17 -> 4.14.18
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 e90bd5f Tim Steinbach: linux: 4.14.17 -> 4.14.18...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vAUmm
<gchristensen> duncan^: universal greeting time, but for bed
rogue_koder has joined #nixos
coot has quit [Quit: coot]
<Guest14344> lewo: do you use qemu-guest-agent in your OpenStack NixOS images?
ndrei has quit [Ping timeout: 260 seconds]
ryanartecona has quit [Quit: ryanartecona]
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vAUYL
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master c46a833 Tim Steinbach: linux-copperhead: 4.15.1.a -> 4.15.2.a
jluttine_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vAUYt
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 4c76e8e Tim Steinbach: linux-copperhead: 4.15.1.a -> 4.15.2.a...
stephenjudkins has quit [Read error: No route to host]
stephenjudkins has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eschatronics opened pull request #34720: Updated Electrum-Dash Wallet Package (master...electrum-dash-update) https://git.io/vAUYs
NixOS_GitHub has left #nixos [#nixos]
<dtz> mmmm kernel updates
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vAUYl
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 9bc383a Tim Steinbach: oh-my-zsh: 2017-12-14 -> 2018-01-22
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 3e349a2 Tim Steinbach: oh-my-zsh: 2017-12-14 -> 2018-01-22...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vAUY8
jluttine_ has quit [Ping timeout: 256 seconds]
Wharncliffe has joined #nixos
deba5e12 has joined #nixos
stepcut has quit [Remote host closed the connection]
ison111 has joined #nixos
smichel has joined #nixos
stepcut has joined #nixos
jadu has quit [Quit: rcirc on GNU Emacs 25.1.1]
Lisanna has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #34721: Semi automated emacs package updates (master...semi-automated-emacs-package-updates) https://git.io/vAUYA
NixOS_GitHub has left #nixos [#nixos]
orivej has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc closed pull request #34718: flow: 0.64.0 -> 0.65.0 (master...flow-0.65.0) https://git.io/vAUT2
NixOS_GitHub has left #nixos [#nixos]
throwup has joined #nixos
ryanartecona has joined #nixos
<throwup> has someone here gotten tpacpi-bat/acpi_call to work on NixOS?
<pikajude> Is it possible to get nix to tell me what is the actual path when it says "warning: dumping very large path (> 256 MiB); this may run out of memory"
<pikajude> I would love that
silver has quit [Read error: Connection reset by peer]
smichel is now known as smichel17
<pikajude> ok, looks like it isn't
<pikajude> how annoying
TonyTheLion has quit [Ping timeout: 260 seconds]
ison111 has quit [Quit: WeeChat 2.0]
chreekat has quit [Quit: quitting]
<clever> pikajude: do you have any src = ./. in your expression?
<pikajude> yeah, i have a number of those
<pikajude> none of them point to directories anywhere near 256mb in size
<contrapumpkin> pikajude: maybe with -vvvvv?
<pikajude> hmmmmmmmmmm
<pikajude> maybe
<clever> pikajude: what does "du -h" say?
<pikajude> 984K
ison111 has joined #nixos
<clever> pikajude: what is the root .drv after it does all the evals?
<clever> [clever@amd-nixos:~/toxvpn]$ du --max=0 -h $(nix-store -qR /nix/store/8234spbxwzj9ndlnrydq4z2v0s9q1zzl-toxvpn-git.drv) | sort -h
<pikajude> great question
<pikajude> hang on
<clever> pikajude: and then run this command on that .drv file
throwup has quit [Remote host closed the connection]
jluttine_ has joined #nixos
<pikajude> oh, yeah, that's not gonna work on macos
<pikajude> hm and du can't even handle the arglist
<pikajude> and i think xargs will run it separately on every chunk of derivs it can find
<clever> pikajude: try the du from nix-shell -p coreutils
<clever> surprisingly, those build and work on darwin
<pikajude> argument list is still too long
<pikajude> lol
<clever> xargs should work
<clever> because the sort at the end will fix it up anyways
<pikajude> oh
<pikajude> right
<pikajude> ok
<pikajude> it would wouldn't it
<clever> nix-store -qR /nix/store/8234spbxwzj9ndlnrydq4z2v0s9q1zzl-toxvpn-git.drv) | xargs du --max=0 -h | sort -h
<pikajude> yep, biggest drv is 18M
<pikajude> because I missed a dist directory
<pkill9> does nix do like a drop-in replacement of libraries for the nvidia proprietary drivers? does everything still need to be compiled against them?
jluttine_ has quit [Ping timeout: 268 seconds]
<clever> pkill9: nixos handles that by putting /run/opengl-driver/lib into LD_LIBRARY_PATH
<pkill9> oh ok
<clever> pkill9: so programs compile against a generic mesa library, then the right one is swapped in at runtime
<pkill9> ah alright
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
brodavi has quit [Quit: Page closed]
uptime has quit [Quit: They ask me how I'm doing and I say, "quite frankly, stellar."]
<ison111> For an NFS server are there any options that determine if other users on the network can connect? I can mount the share on the same machine, but all other machines just hang when trying to mount. The machines can communicate as I can ssh in. All I have exported is "/nfs *(rw,nohide,subtree_check)"
<Dezgeg> the firewall?
<parsnip> hmm, trying to run `nix-env -qa --verbose` on ubuntu ,getting "GC Warning: Failed to expand heap by 8388608 byte"
<parsnip> and "Killed"
<parsnip> i think RAM is too small, .5G
<samueldr> running with `time -v`, "Maximum resident set size (kbytes): 910 104", so ~888MiB
sigmundv has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bfrog has quit [Ping timeout: 265 seconds]
sigmundv has quit [Ping timeout: 256 seconds]
mbag has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Read error: Connection reset by peer]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34717: awsebcli: 3.12.1 -> 3.12.2 (master...awsebcli-3.12.2) https://git.io/vAUUE
NixOS_GitHub has left #nixos [#nixos]
vidbina has quit [Ping timeout: 240 seconds]
<pkill9> clever: how is LD_LIBRARY_PATH specified by guix? does it patch it in to libraries? or is it just set as an environment variable permanently?
<clever> pkill9: its set globally if xorg is enabled in nixos
nuncanada has joined #nixos
<pie_> im packaging gscan2pdf and its tests fail on Gtk-WARNING **: cannot open display: at /nix/store/frjhwxjswgyq0cyw48j9d5yl6hqpghzd-perl-Gtk2-1.2498/lib/perl5/site_perl/5.24.3/x86_64-linux-thread-multi/Gtk2.pm line 126.
<pie_> im not sure how i could possibly fix this without disabling tests
jluttine_ has joined #nixos
Ndrei2 has joined #nixos
<Ndrei2> clever: if you're still here, I finally found the LUKS header, which looks exactly as it should (94eb00000) but when I do mount it as a loop device and luksopen cryptsetup complains it's not a valid luks device
<Ndrei2> Also, when I tried dividing by 0x512, I got a much lower value than I expected (partition would turn out to be 400gigs, which it never was,only about 240)
bfrog has joined #nixos
<Ndrei2> what am I doing wrong?
<Ndrei2> aaah
<pkill9> clever: how do the nvidia proprietary blobs know which xorg libraries to look for?
<Ndrei2> can the fact that I've dd'd with a block size of 1G have something to do with this?... I guess I need to make a different calculation now
<pkill9> since the xorg libraries are gonna be in /nix/store/*
jluttine_ has quit [Ping timeout: 240 seconds]
<pkill9> am I correct?
<Ndrei2> I did dd if=<device> bs=1G skip=150
<clever> ndrei2: you have to divide by 512 decimal, which is 0x200 hex
<Ndrei2> then piped that to hexdump
<pikajude> wouldn't you just use patchelf for that
<Ndrei2> yes sorry typo I did divide by 0x200
<pkill9> oh yeah i would have thought so pikajude
<clever> ndrei2: does it show at an offset of 0 when you use the skip on dd?
rardiol11 has joined #nixos
tertleeltret has quit [Quit: Connection closed for inactivity]
<pkill9> i'm wondering how nix fits that part in
<Ndrei2> the full command I ran is dd if=<device> bs=1G skip=155 | hexdump -C | grep LUKS
<clever> ndrei2: and that spit out 94eb00000 ?
rardiol1 has quit [Ping timeout: 248 seconds]
<Ndrei2> yes, after many false positives
<Ndrei2> but it did have LUKS.... aes ..
<clever> ndrei2: then the data is 150gig + 0x94eb00000
<Ndrei2> dam
<pkill9> hmmm I guess you could just make a package for the nvidia blobs and patch them with inputs of xorg, and the LD_LIBRARY_PATH environment var will get all software to use them
<Ndrei2> SORRY... I really need sleep
<Ndrei2> thank you
<Ndrei2> very much
<pkill9> well, patch them such that they look in those xorg inputs
sigmundv__ has quit [Ping timeout: 264 seconds]
<pikajude> pkill9: just patchelf in the buildPhase of the derivation i would assume
<pikajude> that's how nix does it for a lot of proprietary software
d4g has joined #nixos
<pkill9> you can specify LD_LIBRARY_PATH for a library using patchelf right? so you would patch the nvidia blobs and then also specify LD_LIBRARY_PATH so that software will use those blobs
<pkill9> welp thanks for answering my questions
<clever> ndrei2: as an example, try dd if=<device> bs=1G skip=192 | hexdump -C | grep LUKS
<clever> ndrei2: you should get a much smaller number
mbag has joined #nixos
<parsnip> so if i want to use small VPS, nix is out?
<clever> ndrei2: keep narrowing in, and also try to switch to bs=512 when you get close (youll need to bump skip up by a factor of *2097152
<Ndrei2> okay, I thought I was closer than that
<tilpner> parsnip - nix-env -qa is out (without swap), but you can still use the rest
<parsnip> ah. so qa is just for listing packages?
mbrgm has quit [Ping timeout: 252 seconds]
d4g_ has quit [Ping timeout: 265 seconds]
<Ndrei2> sorry for being so confused, I haven't had much sleep and am really looking forward to fixing this.. so you're saying the first value I had from that command, I can't use that to calculate the offset for fdisk?
<clever> ndrei2: you could, but it helps to double-check things by narrowing it in with dd first
<clever> ndrei2: the 192 i gave above will get you within 1 gig
<tilpner> parsnip - Yes, you don't really need it
mbrgm has joined #nixos
<parsnip> okay, thanks, will skip that step in tutorials :)
<Ndrei2> okay, but can't I just calculate myself out of this? I mean, 155gigs in bytes / 512 + (0x... / 0x200) should give me the correct offset right? cause with the result I get it's still way off (400gb partition)
<clever> ndrei2: yeah, i believe thats right
<Ndrei2> i'll try dd'ing that with skip and see if I get the luks header
exec_ has quit [Quit: Konversation terminated!]
xvnvx has joined #nixos
<Ndrei2> that seems wrong, just gives me some empty space
<clever> ndrei2: http://tomb.dyne.org/Luks_on_disk_format.pdf page 6, this describes what that header contains
<Ndrei2> no data
<Ndrei2> yes I'm sure this was the header
<Ndrei2> I saw it in the result
<Ndrei2> and the offset is correct, but the calculation is wrong
<Ndrei2> somehow..
ditadi has quit [Ping timeout: 255 seconds]
<clever> ndrei2: what about the 192 i gave above?
Drakonis has joined #nixos
<Ndrei2> no if i do dd if=<device> skip=<offset> bs=512 I get some empty space
<clever> `dd if=<device> bs=1G skip=192 | hexdump -C | grep LUKS` and wait some, it should be within half a gig
<clever> and what device path are you using?
<Ndrei2> the device itself not a partition
<Ndrei2> so that's correct
pie_ has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
jluttine_ has joined #nixos
<clever> ndrei2: what about a skip of 190 or 180?
<Ndrei2> okay I'll run that again but I can you explain how that will help? I mean, I still have to calculate the offset taking into account the skip=, altough it would confirm it's indeed there. I'm launching it now
<Ndrei2> It's very very slow so though
parsnip has left #nixos ["WeeChat 2.1-dev"]
<clever> mostly just confirming things havent been typoed somewhere
hydra_ has joined #nixos
pie_ has quit [Excess Flood]
pie_ has joined #nixos
<Ndrei2> hmm something's wrong with the calculation, or somewhere, when I convert the offset to a size in GB I get 40
<Ndrei2> where I'm expecting something like 190+
<clever> ndrei2: dd may use 1000 based units for 1G, rather then 1024 based
ison111 has quit [Quit: WeeChat 2.0]
jluttine_ has quit [Ping timeout: 268 seconds]
<Ndrei2> man dd says G means 1024^3
<clever> has it been found again with a different offset?
<hydra_> Hydra's jobsets are evaluated and placed on a queue, but queue runner never runs them. Status of a job in a Hydra's interface is 'Scheduled to be built' and journal message of queue-runner is 'loading build <build-nbr>'. On 'systemctl restart hydra-queue-runner' error message is 'hydra.conf: binary_cache_secret_key_file is deprecated and ignored. use store_uri=...?secret-key= instead'. Does anyone know what is causing this and how to
<clever> hydra_: what features have you enabled on your build slaves?
<Ndrei2> no not yet, it's extremely slow, but if I'm lucky I'm closer now, so it should be faster
<Ndrei2> clever: yep found it now
<Ndrei2> different offset of course
<clever> ndrei2: what dd command was used, and what offset did it find?
<Ndrei2> dd if=<device> bs=1G skip=190 | hexdump -C | grep LUKS; offset 8eb00000
<clever> thats now ~2.22 gig after the start
<clever> which aligns with the previous ~37.22
<clever> and puts it near 192.22
<clever> so the 192 i gave before should have found it
<Ndrei2> sorry I missread that, launched now with 192
<Ndrei2> and yes found
<Ndrei2> 0eb00000
<clever> exactly 192gig and 235mb
stephenjudkins has quit [Remote host closed the connection]
<clever> ndrei2: so that luks header is at 196843 MB
<hydra_> clever: What do you mean by features? attributes under services.hydra?
<Ndrei2> all right, so I need to translate that into an offset for fdisk..
<Ndrei2> I mean, not an offset, the first sector
<clever> hydra_: the supportedFeatures entry under buildMachines
stephenjudkins has joined #nixos
<clever> ndrei2: fdisk should accept a start in mb
<Ndrei2> oh all right
<Ndrei2> um, nope, it really wants a sector, says value out of range
<clever> 403134464 sectors from the start
<Ndrei2> bingo
<clever> and just to double-check, see what print says about the start after formating things
<Ndrei2> contains a luks signature :)
<clever> now the size is all that remains
<Ndrei2> which I don't want to remove :)
<Ndrei2> yes
<Ndrei2> :).. great relief, thank you very much for your help and please excuse me for my sloppyness, I'm really tired and wasn't really looking forward to ending my day salvaging my data
pkill9 has quit [Ping timeout: 264 seconds]
<clever> yep
hiroshi has joined #nixos
<hydra_> clever: I don't use supportedFeatures at all. I was running deployment with the identical code before couple of months and had no problems. I deployed fresh on both ec2 and vbox. My code is similar/based to/on this https://github.com/peti/hydra-tutorial/blob/master/hydra-master.nix
<clever> hydra_: do any of your jobs need the kvm feature? or others
Supersonic has quit [Ping timeout: 260 seconds]
nuncanada has quit [Quit: Leaving]
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #34723: heaptrack: 2017-10-30 -> 2018-01-28, enable chart goodness (master...update/heaptrack-2018-01-28) https://git.io/vAUcS
Supersonic has joined #nixos
<hydra_> clever: No, job that is failing is an runCommand with name and nixpkgs as an input (branch nixos-17.09 Git checkout)
<clever> hydra_: and you have build slaves configured?
<clever> hydra_: other then localhost?
<hydra_> clever: No, only localhost.
<clever> hydra_: localhost has some deadlock issues
<clever> hydra_: it gets a local lock file, then tries to build it over ssh to itself, which waits on that lock file
<clever> hydra_: try it with a non-local build slave
xvnvx has quit []
xvnvx has joined #nixos
<hydra_> clever: This used to work with localhost. Why is now not working on fresh newly created nixops deployment?
<clever> hydra_: i think it depends on the version of hydra
jluttine_ has joined #nixos
jluttine_ has quit [Ping timeout: 248 seconds]
badi has quit [Ping timeout: 252 seconds]
badi has joined #nixos
azertyieio has joined #nixos
pie_ has quit [Ping timeout: 256 seconds]
iqubic has joined #nixos
klntsky has quit [Ping timeout: 255 seconds]
ajp has quit [Remote host closed the connection]
smichel17 has quit [Quit: smichel17]
ajp has joined #nixos
Ndrei2 has quit [Quit: Page closed]
klntsky has joined #nixos
jluttine_ has joined #nixos
<jack[m]> Hrm. Any Nix-ers planning on attending the openstack summit in Vancouver in May?
xvnvx has quit [Ping timeout: 240 seconds]
jluttine_ has quit [Ping timeout: 256 seconds]
hakujin has quit [Ping timeout: 252 seconds]
<iqubic> Is it free?
hakujin has joined #nixos
xvnvx has joined #nixos
hakujin has quit [Ping timeout: 276 seconds]
Drakonis has quit [Read error: Connection reset by peer]
schoppenhauer has quit [Ping timeout: 260 seconds]
jluttine_ has joined #nixos
schoppenhauer has joined #nixos
hakujin has joined #nixos
hakujin has quit [Ping timeout: 255 seconds]
hamishmack has quit [Quit: hamishmack]
hakujin has joined #nixos
Arcaelyx_ has joined #nixos
hakujin has quit [Ping timeout: 260 seconds]
<iqubic> Isn't there something like systemd-inhibit? To prevent the screen from randomly going black when running an X application?
hakujin has joined #nixos
Arcaelyx has quit [Ping timeout: 265 seconds]
ditadi has joined #nixos
hakujin has quit [Ping timeout: 255 seconds]
hakujin has joined #nixos
Ubercow has quit [Quit: Ubercow]
hakujin has quit [Ping timeout: 255 seconds]
hakujin has joined #nixos
hakujin has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #34724: [WIP] singular: run autoreconfHook (master...singular) https://git.io/vAU4m
NixOS_GitHub has left #nixos [#nixos]
hamishmack has joined #nixos
hakujin has joined #nixos
ditadi has quit [Ping timeout: 255 seconds]
hakujin has quit [Ping timeout: 260 seconds]
<hyper_ch> lewo: it's really not that hard :)
hakujin has joined #nixos
xvnvx has quit []
<hyper_ch> Mic92: I thought you wanted also to mail a mail list announcement
ThatOtherGuy has quit [Ping timeout: 248 seconds]
hakujin has quit [Ping timeout: 276 seconds]
<vaibhavsagar> can anyone help me debug why https://github.com/awakesecurity/nix-delegate keeps failing with "Missing: --host ARG" even when I supply it with that param?
Rusty1_ has quit [Quit: Konversation terminated!]
ThatOtherGuy has joined #nixos
hakujin has joined #nixos
knupfer has joined #nixos
hakujin has quit [Ping timeout: 255 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34713: zfs, spl: 0.7.5 -> 0.7.6 (master...update/zfs-spl-0.7.6) https://git.io/vAJbC
NixOS_GitHub has left #nixos [#nixos]
endformationage has quit [Quit: WeeChat 1.9.1]
Guanin has quit [Ping timeout: 240 seconds]
Ubercow has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #34726: plasma: 5.11.5 -> 5.12.0 (master...plasma-5_12_0) https://git.io/vAURM
NixOS_GitHub has left #nixos [#nixos]
Lisanna has quit [Quit: Lisanna]
hakujin has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
Guanin has joined #nixos
griff_ has quit [Quit: griff_]
rardiol11 has quit [Quit: Leaving.]
hakujin has quit [Ping timeout: 252 seconds]
hakujin has joined #nixos
hakujin has quit [Ping timeout: 252 seconds]
ma27 has joined #nixos
dbe_ has joined #nixos
<adisbladis> Hmm I need to read a yaml file with nix. Currently I wrapped up https://github.com/casualjim/yaml2json in a derivation and use that to transform it to json so I can use `lib.importJSON` but that feels _super_ dirty. How could I make this better?
<hyper_ch> clever: from kexec I tried now to nixos-install -I nixpkgs=/mnt/root/nixpkgs but I get error: writing to file: No space left on device I did create a swap device but that doesn't seem to help
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #34727: proofgeneral_HEAD: 2017-11-06 -> 2018-01-30 (master...pg-HEAD-20180130) https://git.io/vAU0b
NixOS_GitHub has left #nixos [#nixos]
hakujin has joined #nixos
blahdodo has quit [Quit: Bye bye]
MercurialAlchemi has joined #nixos
<Ralith> why does the nix firefox have broken support U2F security keys? :|
hakujin has quit [Ping timeout: 255 seconds]
blahdodo has joined #nixos
<Ralith> seems like the official binaries work
<fearlessKim[m]> adisbladis: doesn't feel dirty to me. I don
<adisbladis> fearlessKim[m]: It is a bit dirty because even a simple eval leads to building
<adisbladis> I'm sort of OK with how my solution is now (especially for a PoC) but I'd like a more elegant solution
michaelpj has quit [Ping timeout: 256 seconds]
michaelpj has joined #nixos
<coconnor> adisbladis: I think it's elegent that dependencies like that can be encoded in nix ;)
fragamus has joined #nixos
<coconnor> adisbladis: there is no risk that another dev will not be able to run that build. nix will pull and build yaml2json appropriately
fragamus has quit [Client Quit]
catch22 has joined #nixos
<tilpner> And you don't want to build a full YAML parser in Nix...
<coconnor> unlike other build tools there isn't the same cost to requiring a new build tool in a build process
<coconnor> so long as the new build tool is a derivation
griff_ has joined #nixos
<coconnor> other devs won't have to figure out how to distribute the tool to their systems so they can perform the builds yada yada
<coconnor> heck, other devs might not even need the yaml2json derivation at all. The derivation that is the loaded json of that can be distributed directly
dbe_ has quit [Ping timeout: 240 seconds]
fragamus has joined #nixos
hakujin has joined #nixos
abathur has joined #nixos
<adisbladis> tilpner: No that looks far more painful than what I was going for :P
<adisbladis> coconnor: I'm aware of all this.
<tilpner> adisbladis - Exactly, and YAML is a lot more complex than TOML, so it'd be worse than that
<adisbladis> Anyway. I'll stick with what I have for now. Other problems to resolve :)
griff_ has quit [Quit: griff_]
leat has quit [Ping timeout: 265 seconds]
asuryawanshi has joined #nixos
azertyieio has quit [Ping timeout: 252 seconds]
<Ralith> my favorite thing about yaml is how the most popular implementation is abandoned, buggy, and targets an outdated version of the spec
<etu> toml <3
<etu> It's nice for configs
hakujin has quit [Ping timeout: 256 seconds]
<makefu> i can never remember how many brackets for lists and key-value stores. Imho it is not as intuitive as json
<makefu> even though more pretty
<etu> json isn't very nice for configs due to the lack of comments
<simpson> JSON for machine-readable files, and nothing for config files because config files are an anti-pattern~
* simpson maybe joking?
<makefu> simpson: what would you prefare, something like a registry instead, or a database even? not sure what are real good alternatives for config files. of course sane defaults would be fantastic but the world is difficult
griff_ has joined #nixos
klntsky has quit [Ping timeout: 255 seconds]
<simpson> makefu: CLI flags. Supported by shell, every orchestrator I know of, and easy to spot in code diffs.
<johnw> clearly we need the Windows NT registry for NixOS
<adisbladis> If someone is interested, this is the project I'm working on where I need to read yaml: https://github.com/adisbladis/pnpm2nix
<etu> johnw: Almost like gsettings then?
<adisbladis> Very much WIP right now
<simpson> etu: Ha, you made the joke faster than I could.
<johnw> i used yaml for config stuff at work; it does the job
<adisbladis> It's pretty cool :)
<dhess> s-expressions or death
<johnw> now we need a yaml schema language, specified in yaml
<johnw> and ysssl
<etu> Did anyone see the weird and unreadable "new" language to replace yaml, xml and all on HN recently?
<makefu> simpson: you are just putting your config file after the process call. also configuring `everything` in argumens is butt-ugly.
hakujin has joined #nixos
<adisbladis> etu: Meh. They are all relatively OK. Just choose something people can already parse.
<johnw> hah, yaml schema in yaml: https://github.com/23andMe/Yamale
<makefu> finally, a document-object-language to rule them all!
<simpson> makefu: That's a terrible argument. TOML is "butt-ugly" too. So is YAML. So is JSON, but JSON's at least standardized and maybe we'll have figured out how to write compliant parsers in the next couple years.
<Havvy> Compliant JSON parser is ill-defined becomes compliant JSON is ill-defined.
<etu> We should all use mark instead
<makefu> simpson: no no, parameter are like the next level of ugly. just think about trying to find one parameter in a 1000 characters single-line process call. lists and key-value stores also not really something easy to work with
<etu> </joke>
<vaibhavsagar> let's all switch to Dhall
* Havvy marks down etu as a troublemaker.
<dhess> ok
<simpson> makefu: You should learn how to use newlines in shells, especially when writing shell scripts.
<dhess> vaibhavsagar: I use it in my personal projects
<makefu> simpson: you mean, everybody should. you have to think about how people would use your proposal
<vaibhavsagar> dhess: that's pretty cool!
<simpson> makefu: I also know how to insert newlines in other peoples' shell scripts.
<etu> Havvy: Nah
<vaibhavsagar> I've wanted to use it for a while but haven't gotten around to it yet
hakujin has quit [Ping timeout: 265 seconds]
<makefu> simpson: okay, lets be honest here. arguments have their place in system configuration but they are not the one thing to use for everything.
Arcaelyx_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dpc opened pull request #34728: Add pam option to enable Google Authenticator (master...master) https://git.io/vAUzx
NixOS_GitHub has left #nixos [#nixos]
<makefu> also, moving the goal post is not a nice thing to do ;)
<simpson> makefu: I *am* being honest with you, or at least I am presenting my arguments as best I can. Your POV, to me, is an impediment to automation at best and a frustrating bikeshed-factory at worst.
<hyper_ch> hi makefu
<makefu> simpson: ah you thought my proposals about registry and database were what i thought was the right thing to do ... sorry this was not my intention
<makefu> i think config files are what we should use for most things as they scale and can be templated with nix quite nicely
<simpson> makefu: Huh? No, I've talked with you many times before, and I'm just not very patient with you. I don't really expect to change your mind, but I did lay out my reasoning.
<simpson> Templating configuration files is a last resort, honestly.
<makefu> templating arguments is not so much fun either
<simpson> Perhaps templating sucks in general.
<Havvy> Templating in HTML is nice.
<makefu> probably, yes
<Havvy> Templating in macros is painful, but the result is useful.
<makefu> simpson: btw i think you haven't talked with me a lot (at least according to my channel irc log). maybe you are mistake me for someone else?
<hyper_ch> I'll change my kimsufi strategy... at first I'll just setup a normal zfs system with nixos... once that runs, I can convert it to encrypted
<hyper_ch> btw, is there in nixos/grub somehow a command that makes the next boot go into generation D and the boot afterwards again in generation B?
<makefu> hi hyper_ch btw :)
<hyper_ch> makefu: just keep ignorning me... :)
<markus1189> I recently saw @some-attribute@ interpolation, how does that work in nix?
<makefu> i would never do that :D
<adisbladis> makefu is too nice for that
<hyper_ch> so, do you know how to make the next-next boot go into a given generation?
<coconnor> next-next? interesting
<hyper_ch> rational: I setup kimsufi server with nixos and normal zfs... once that runs, I make encrypted container yadda, yadda, yadda and put stuff in there... now I want to reboot and if there goes something wrong I can't access it
<hyper_ch> so the boot after that should go back to a generation that works
<hyper_ch> basically grub that next boot shall be generation 5 and the boot after shall be generation 3 again
hakujin has joined #nixos
periklis has joined #nixos
griff_ has quit [Quit: griff_]
abathur has quit [Ping timeout: 260 seconds]
sud0x3 has joined #nixos
hakujin has quit [Ping timeout: 276 seconds]
<coconnor> hm. Definitely don't know. Seems like a grub scripting would be required
<coconnor> grub can probe the existence of files (only off boot?). Could touch a file at the end of the first boot to indicate success
<coconnor> no idea how to write a grub script that probes that tho
<coconnor> there is a fallback boot. How does that work?
periklis has quit [Ping timeout: 248 seconds]
<hyper_ch> coconnor: good question... thanks for the input... I'll investigate
<makefu> simpson: btw i think patterns like https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/monitoring/prometheus/alertmanager.nix#L7 are a fantastic way forward. it is not "templating" config but just generating it from nix options. i think there are even samples in nixpkgs which have the config typed
asuryawanshi has quit [Remote host closed the connection]
<markus1189> Okay found the explanation in the manual for @var@ interpolation: https://nixos.org/nixpkgs/manual/#ssec-stdenv-functions
hakujin has joined #nixos
Itkovian has joined #nixos
rogue_koder has quit [Quit: Konversation terminated!]
hakujin has quit [Ping timeout: 265 seconds]
lonokhov has joined #nixos
jensens has joined #nixos
<lewo> hyper_ch: so, there is one more kimsufi server on NixOS:) Thanks for your pointers
<hyper_ch> lewo: you managed to install it?
<hyper_ch> via kexec
<lewo> yes
<hyper_ch> told you, kexec is awesome
<lewo> exactly... uncredible how it works well!
<hyper_ch> still figuring out how to setup my native encrypted zfs kimsufi server
<hyper_ch> good thing is also that kimsufi provides ip etc by dhcp so you don't have to worry about the correct settings there
<hyper_ch> lewo: I've changed now my strategy - first install normal zfs without encryption etc and then migrate :)
<lewo> lol... good luck!
<lewo> hyper_ch: and I've finally installed it from the rescue mode provided by OVH
<hyper_ch> before when I tried an encrypted install, I run out of space... the kimsufi server that I use only has 4gb ram or so
<hyper_ch> installed from rescue mode?
<hyper_ch> haven't tried that... I just had debian 9 installed, scp kexec tarball
yrashk has quit [Read error: Connection reset by peer]
yrashk has joined #nixos
<lewo> you can boot from rescue mode (netboot menu), you have a debian in RAM. So, kexec is not required
<clever> lewo: nixos-install isnt garanteed to work from debian, but kexec should
<clever> so you could boot into the provided "recovery" system, then kexec your own better recovery
hakujin has joined #nixos
Itkovian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch> clever: I think that's what he did
<Ralith> kexec seems like overkill
<hyper_ch> Ralith: why?
<Ralith> I nix'd my kimsufi system with the regular recovery image just fine, before ultimately moving to online.net
<lewo> clever: Ok, you confirm it was a good idea to choose the more fun solution :)
<clever> Ralith: in the case of lacking a rescue netboot, kexec is the only way to umount the drives and repartition the machine remotely
<hyper_ch> how does one install nixos from a rexcue netboot?
<Ralith> hyper_ch: fed up with unscheduled network outages and horifically broken ipv6
<Ralith> clever: sure, but we're talking about kimsufi
<hyper_ch> Ralith: I don't believe in ipv6
<Ralith> hyper_ch: chrooting into the install iso, iirc
<Ralith> hyper_ch: well, I don't believe in you!
<hyper_ch> my isp did assing mit a /48 block though but I still don't believe in it :)
pikajude has quit [Quit: ZNC 1.6.5 - http://znc.in]
<hyper_ch> Ralith: you don't have to believe "in" me... believing me is enough :)
pikajude has joined #nixos
hakujin has quit [Ping timeout: 255 seconds]
leat has joined #nixos
alex`` has joined #nixos
LangeOortjes has quit [Ping timeout: 256 seconds]
LangeOortjes has joined #nixos
goibhniu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mnacamura opened pull request #34729: cataclysm-dda{,-git}: misc. updates (master...cdda-misc-updates) https://git.io/vAUV6
NixOS_GitHub has left #nixos [#nixos]
ThatDocsLady has joined #nixos
Tucky has joined #nixos
Guanin has quit [Quit: Leaving]
Guanin has joined #nixos
hakujin has joined #nixos
spietz has quit [Ping timeout: 265 seconds]
civodul has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
<steveeJ> would someone know how to teach nautilus ftp/smb/etc.. without running full gnome?
goibhniu has quit [Quit: Leaving.]
babyflakes has joined #nixos
goibhniu has joined #nixos
ma27 has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
<alp> Ralith, online.net still doesn't offer nixos out of the box right? got to do the rescue console thing there as well right?
<alp> I remember doing that to my server a while back.
<Ralith> right, similar dance
<Ralith> lots more bandwidth for your dollar though
hakujin has quit [Ping timeout: 265 seconds]
<alp> heh sure, I used to use kimsufi back when I was a student and kimsufi a little thing, looks like it belongs to OVH now =)
winem_ has joined #nixos
Itkovian has joined #nixos
TonyTheLion has joined #nixos
<TonyTheLion> what are the constraints on what gets accepted to nixpkgs repo?
MP2E has quit [Remote host closed the connection]
<TonyTheLion> if I develop some library X, what would it take for me to add it to nixpkgs? Is it just a matter of me adding it and then making a pull request?
<Yaniel> pretty much
klntsky has joined #nixos
<TonyTheLion> Yaniel: so the projects don't have to meet any particular standard or anything?
Wharncliffe has quit [Quit: Lost terminal]
<adisbladis> TonyTheLion: It's a bit fluid what gets merged or not. Nothing written in stone. But generally the quality of the nix expression is what we review.
<TonyTheLion> ah I see
asuryawanshi has joined #nixos
<TonyTheLion> cause we will have a Hydra server to build our own stuff on, some of it is opensource, so thats why I was wondering how easy/hard it may be to contribute the opensource stuff to nixpkgs
betaboon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #34723: heaptrack: 2017-10-30 -> 2018-01-28, enable chart goodness (master...update/heaptrack-2018-01-28) https://git.io/vAUcS
NixOS_GitHub has left #nixos [#nixos]
<Yaniel> very easy generally
TonyTheLion has quit [Quit: Page closed]
TonyTheLion has joined #nixos
<adisbladis> TonyTheLion: Generally quite easy :)
<TonyTheLion> nice :)
griff_ has joined #nixos
<adisbladis> We are overwhelmed with too many PRs and not enough manpower so you might have to work a bit on reminding people and pushing for it
rauno has quit [Remote host closed the connection]
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
hakujin has joined #nixos
<TonyTheLion> adisbladis: ah good to know
arjen-jonathan has joined #nixos
<hyper_ch> isn't it good to have too many PRs than too few?
<hyper_ch> btw, how can I check if a PR that was merged to master is also available on unstable (small)?
chrios has quit [Ping timeout: 256 seconds]
chrios_ has joined #nixos
<adisbladis> hyper_ch: It's not a good thing if it takes too long for new contributors to get things merged
<Guanin> Well, it shows that the community is active, but if there are too many PRs, it can also mean that changes take a longer time until they are available for all users
hakujin has quit [Ping timeout: 256 seconds]
<adisbladis> Ideally we would hover around the same number of open PRs but now it keeps going up
<hyper_ch> adisbladis: :)
vidbina has joined #nixos
griff_ has quit [Quit: griff_]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] karolchmist opened pull request #34730: dotty: 0.4.0 -> 0.6.0 (master...dotty-bump-0.6.0) https://git.io/vAUK4
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch> adisbladis: so do you know how I can find out if a merged PR has already arrive dat nixos / unstable?
<adisbladis> hyper_ch: I will usually just check which commit https://github.com/NixOS/nixpkgs-channels is on
nico202 has joined #nixos
<hyper_ch> adisbladis: I still fail how to check there
<nico202> nixos-unstable is a week old, what is blocking it?
<hyper_ch> ah ok
<adisbladis> nico202: Unstable keymap tests it seems like
<hyper_ch> adisbladis: but still, I don't get how I can see what individual packages are now at
<betaboon> hello #nixos. i have a question on nixops + containers in a virtualbox: is it possible to put all containers within a virtualbox in a bridge automatically or do i have to configure nat for the virtualbox manually ?
<ij> It seems like there's garbage in form of unprintable ^H in the contents of `man man` when piped into an editor or a file.
<fearlessKim[m]> when merging staging into master, there might be conflicts, the maintainer who merges is going to solve these ? some blogpost I read said the merging happened every couple weeks , is that still a valid assumption ?
hakujin has joined #nixos
thc202 has joined #nixos
alexteves has joined #nixos
LangeOortjes has quit [Ping timeout: 256 seconds]
hakujin has quit [Ping timeout: 255 seconds]
Phillemann has joined #nixos
chrios has joined #nixos
chrios_ has quit [Ping timeout: 256 seconds]
<Phillemann> I have a nix expression that builds a directory structure inside the temporary directory. I'd like to inspect that structure. Can I somehow evaluate the expression like nix-build does, but stop before a phase?
<Phillemann> I could, uhm, "ls -R" in the build script, but it's not great.
<tilpner> I... uhm... usually make a late phase fail and pass -K
<tilpner> :/
<tilpner> You could also use nix-shell -A, then run genericBuild
* tilpner only learned that recently
<freeman42x[NixOS> when running nix-build -A freeplane from inside clone of nixpkgs does it build other derivations that are dependencies based on the expressions in the cloned repository?
<sphalerite> freeman42x[NixOS: yes
<sphalerite> Anyone heard about the new nocode framework? I think nix, given its etymology, is uniquely posed to benefit from widespread adoption
<freeman42x[NixOS> sphalerite, thank you, having problems with https://github.com/NixOS/nixpkgs/issues/34707#issuecomment-363966577 and I think there is a problem with the gradle expression
chrios_ has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
chrios has quit [Ping timeout: 276 seconds]
asuryawanshi has joined #nixos
<sphalerite> Java?
* sphalerite hides
LangeOortjes has joined #nixos
<adisbladis> Gradle?
* adisbladis double hides
chrios_ has quit [Ping timeout: 260 seconds]
chrios has joined #nixos
catch22 has quit [Ping timeout: 240 seconds]
chrios has quit [Excess Flood]
chrios has joined #nixos
fendor has joined #nixos
ssmike has joined #nixos
sigmundv has joined #nixos
hakujin has joined #nixos
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
hakujin has quit [Ping timeout: 265 seconds]
ssmike has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vAU1m
<NixOS_GitHub> nixpkgs/release-17.09 b1be17c Leon Isenberg: rustup: Patch rustup to patchelf binaries...
NixOS_GitHub has left #nixos [#nixos]
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master b6bcba6 Jörg Thalheim: nixos/zfs: fix typo in enableLegacyCrypto description
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vAU1g
NixOS_GitHub has left #nixos [#nixos]
ssmike1 has joined #nixos
ssmike has quit [Read error: Connection reset by peer]
ssmike1 is now known as ssmike
tmaekawa has joined #nixos
tmaekawa has quit [Client Quit]
hakujin has joined #nixos
r5d has joined #nixos
hakujin has quit [Ping timeout: 255 seconds]
iqubic` has joined #nixos
ThatDocsLady has quit [Ping timeout: 240 seconds]
iqubic has quit [Ping timeout: 260 seconds]
ThatDocsLady has joined #nixos
hakujin has joined #nixos
<Mic92> hyper_ch: mail is out.
hakujin has quit [Ping timeout: 240 seconds]
chisui has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 59eb192 Robert Schütz: nixos/home-assistant: support platform=... scheme for autoExtraComponents...
<NixOS_GitHub> nixpkgs/master c0f6aac Frederik Rietdijk: Merge pull request #34574 from dotlambda/home-assistant...
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAUDQ
NixOS_GitHub has left #nixos [#nixos]
nico202 has quit [Quit: Leaving]
griff_ has joined #nixos
sud0x3 has quit [Ping timeout: 248 seconds]
raynold has quit [Quit: Connection closed for inactivity]
sud0x3 has joined #nixos
griff_ has quit [Client Quit]
<Mic92> go 14
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34533: dendropy: init at 4.3.0 (master...dendropy) https://git.io/vNNoU
NixOS_GitHub has left #nixos [#nixos]
__monty__ has joined #nixos
<__monty__> Can nixos.org/nixos/packages search the nixpkgs channel?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda closed pull request #34566: qmediathekview: init at 2017-04-16 (master...qmediathekview) https://git.io/vNxE9
NixOS_GitHub has left #nixos [#nixos]
hakujin has joined #nixos
18VADANJ6 has joined #nixos
<18VADANJ6> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAUyp
<18VADANJ6> nixpkgs/master 37680b0 Renato Alves: pysam: init at 0.13.0...
18VADANJ6 has left #nixos [#nixos]
<18VADANJ6> nixpkgs/master 712c322 Frederik Rietdijk: Merge pull request #34532 from unode/pysam...
7GHAB2N1O has joined #nixos
<7GHAB2N1O> [nixpkgs] FRidh closed pull request #34532: pysam: init at 0.13 (master...pysam) https://git.io/vNNrH
7GHAB2N1O has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34678: pythonPackages.pytest-cram: 0.1.1 -> 0.2.0 (master...update-pytest-cram) https://git.io/vAvt4
NixOS_GitHub has left #nixos [#nixos]
<ertes-w> is there a "you should not create custom directories under /nix" guideline? and if yes, what about /nix/var?
griff_ has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
Tehnix2 has quit [Remote host closed the connection]
Tehnix has joined #nixos
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vAUSd
<NixOS_GitHub> nixpkgs/master 50a9d51 Frederik Rietdijk: Merge commit '30d031b5d8d05422586043c3f105f4d9110e4f59' into HEAD
NixOS_GitHub has left #nixos [#nixos]
ssmike has quit [Quit: ssmike]
simukis has joined #nixos
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] FRidh pushed 1 new commit to staging: https://git.io/vAUSN
<NixOS_GitHub> nixpkgs/staging dc0e21d Frederik Rietdijk: Merge master into staging
gfixler has quit [Ping timeout: 248 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #33891: wildmidi: 0.3.9 -> 0.4.2 (master...wildmidi-update) https://git.io/vNCfk
NixOS_GitHub has left #nixos [#nixos]
hakujin has joined #nixos
rgrinberg has quit [Ping timeout: 263 seconds]
coot has joined #nixos
hamishmack has quit [Quit: hamishmack]
hakujin has quit [Ping timeout: 276 seconds]
<freeman42x[NixOS> could someone help with fixing https://github.com/NixOS/nixpkgs/issues/34707 please? I've been going at it for 3 hours with no success (only found other tickets about it) I'm twitch streaming at https://www.twitch.tv/freeman42x
betaboon has quit [Quit: WeeChat 1.9.1]
ThatDocsLady has quit [Read error: Connection reset by peer]
coot has quit [Quit: coot]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master a600b62 Michael Raskin: linux_4_15: fix a partial version downgrade on staging merge
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vAUQv
NixOS_GitHub has left #nixos [#nixos]
hamishmack has joined #nixos
betaboon has joined #nixos
ThatDocsLady has joined #nixos
babyflakes has quit [Quit: Connection closed for inactivity]
tunnels has joined #nixos
<manveru> freeman42x[NixOS: i'm getting `Plugin [id: 'nebula.ospackage', version: '4.4.0'] was not found in any of the following sources:` there
<manveru> what nixpkgs are you building it against?
tunnels has quit [Client Quit]
<manveru> i'll try with unstable
hakujin has joined #nixos
<freeman42x[NixOS> manveru, I am building against a branch of top of master from a few days ago
<freeman42x[NixOS> manveru, did you try this: <<To reproduce the issue just git clone https://github.com/razvan-panda/nixpkgs, checkout the freeplane branch and run nix-build -A freeplane in the root of the repository.>> ?
<freeman42x[NixOS> manveru, also in comments here there is an easier way to reproduce (I haven't tried it though)
<srk> is there a list of nixpkgs.options options? would be nice if it worked similar way to man configuration.nix
<manveru> you can do it like this to have a fixed nixpkgs version
<manveru> srk: there's a json file you can use that's used to create the http://nixos.org/nixos/options.html and manual
tunnels has joined #nixos
<srk> manveru: doesn't seem to list nixpkgs specific options
<manveru> ah.. sorry
Guanin has quit [Quit: Leaving]
<manveru> yeah, there's no list for those i fear
hakujin has quit [Ping timeout: 256 seconds]
<srk> looks like it.. description is thus wrong for that option
<srk> The configuration of the Nix Packages collection. (For
<srk> details, see the Nixpkgs documentation.) It allows you to set
<srk> package configuration options.
<srk> aaah, these are kind of ad-hoc
<manveru> `nixos-option nixpkgs.config` this maybe?
<srk> cfg = stdenv.lib.attrByPath [ browserName ] {} config;
knupfer has joined #nixos
<tunnels> how do i delete the emacs desktop file (i use emacseditor) or hide it from i3-dmenu-desktop? I tried using overrideAttrs for postInstall, but the file still appears in i3-dmenu-desktop
<srk> manveru: tried that but I cannot resolve far enough
<srk> for example nixos-option nixpkgs.config.firefox
<manveru> does firefox still have options?
<srk> yes
<srk> cfg = stdenv.lib.attrByPath [ browserName ] {} config;
<srk> enableAdobeFlash = cfg.enableAdobeFlash or false;
<manveru> oh damn
<manveru> yeah, there's no way to get this afaict
<manveru> since they're pulled in from the package but have no default value
<srk> I see
orivej has joined #nixos
<manveru> freeman42x[NixOS: still same issue
<srk> not even mKOption calls
<freeman42x[NixOS> manveru, you are getting a different error than the one I am getting?
<freeman42x[NixOS> manveru, what OS are you on?
<manveru> freeman42x[NixOS: nixos
<manveru> and yes, different error
<freeman42x[NixOS> manveru, you get that error on my git clone of Nixpkgs?
<manveru> pretty sure you have to add the grade dependencies into your package
<manveru> *gradle
<freeman42x[NixOS> wow, wasn't expecting this
<freeman42x[NixOS> since we are using Nix I was expecting us to get the same error
<freeman42x[NixOS> the other person who tried it on Stack Overflow managed to reproduce it
<manveru> yeah
<manveru> i'm on NixOS 17.09
<freeman42x[NixOS> same
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andir pushed 1 new commit to master: https://git.io/vAU5T
<NixOS_GitHub> nixpkgs/master 7a833cf Andreas Rammhold: nvidia_x11_beta: 381.22 -> 390.12...
NixOS_GitHub has left #nixos [#nixos]
hakujin has joined #nixos
<manveru> also intel x86_64
<manveru> so not sure...
<manveru> sorry, gotta get back to work
<TonyTheLion> > overrides ? (self: super: {})
<freeman42x[NixOS> manveru, sure, no problem, I am on 64 bits also
<TonyTheLion> what does the 'super: {}' here mean?
<symphorien> self:super:{} is a function taking 2 arguments (self and super) and returning an ampty attrset
<symphorien> *empty
<TonyTheLion> oh so its a function definition
hakujin has quit [Ping timeout: 276 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #34731: firefox: 58.0.1 -> 58.0.2 (master...firefox-bin-58.0.2) https://git.io/vAU5u
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #34732: flashplayer: 28.0.0.137 -> 28.0.0.161 [Critical security fixes] (master...flashplayer-28.0.0.161) https://git.io/vAU5g
NixOS_GitHub has left #nixos [#nixos]
coot has joined #nixos
tunnels has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 255 seconds]
knupfer has joined #nixos
ssmike has joined #nixos
pie_ has joined #nixos
rardiol1 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #34731: firefox: 58.0.1 -> 58.0.2 (master...firefox-bin-58.0.2) https://git.io/vAU5u
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master aea208c Eelco Dolstra: Merge pull request #34732 from taku0/flashplayer-28.0.0.161...
<NixOS_GitHub> nixpkgs/master 0ff2f9b taku0: flashplayer: 28.0.0.137 -> 28.0.0.161
<NixOS_GitHub> [nixpkgs] edolstra pushed 2 new commits to master: https://git.io/vAUdt
NixOS_GitHub has left #nixos [#nixos]
ssmike has quit [Quit: ssmike]
alexteves has quit [Ping timeout: 255 seconds]
<freeman42x[NixOS> manveru, I think the issue is that I am using Gradle wrong, my nix expression is the only one using `, gradle` as input to the derivation
ZoomZoomZoom has joined #nixos
hakujin has joined #nixos
rauno has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] geistesk opened pull request #34733: fpdf: init at 1.7.2 (master...fpdf) https://git.io/vAUdV
NixOS_GitHub has left #nixos [#nixos]
<__monty__> Is there any harm to having nix.conf, config.nix and remote-systems.conf on github? Local IPs and paths to local key files seem the most sensitive parts.
hakujin has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34734: home-assistant: fix tests by pinning pytest==3.3.1 (master...home-assistant) https://git.io/vAUdx
NixOS_GitHub has left #nixos [#nixos]
<__monty__> And, how do I get nix to install thunderbird's .desktop file?
NixOS_GitHub has joined #nixos
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #34734: home-assistant: fix tests by pinning pytest==3.3.1 (master...home-assistant) https://git.io/vAUdx
forgetful has joined #nixos
<forgetful> Hello everybody, is there a stable channel for nixpkgs?
<__monty__> forgetful: The nixos channels afaik.
<forgetful> @__monty__: thanks
nuncanada has joined #nixos
<__monty__> np
ma27 has joined #nixos
xcmw has joined #nixos
<infinisil> forgetful: the nixos-17.09/nixpkgs-17.09 are stable
<infinisil> nixos-unstable/nixpkgs-unstable are unstable (duh)
<forgetful> infinisil: you mean https://nixos.org/channels/nixpkgs-17.09 ?
<forgetful> does it exist?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 b34a5f6 Will Dietz: zfs, spl: 0.7.5 -> 0.7.6...
<NixOS_GitHub> [nixpkgs] fpletz pushed 3 new commits to release-17.09: https://git.io/vAUFd
<NixOS_GitHub> nixpkgs/release-17.09 3bec0d5 adisbladis: spl: 0.7.4 -> 0.7.5...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 8b8d611 adisbladis: zfs: 0.7.4 -> 0.7.5...
knupfer has quit [Ping timeout: 260 seconds]
Phillemann has quit [Quit: WeeChat 2.0.1]
hakujin has joined #nixos
ssmike has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 6bc8892 Eelco Dolstra: sshd: Remove UsePrivilegeSeparation option...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vAUbG
hakujin has quit [Ping timeout: 256 seconds]
klntsky has quit [Ping timeout: 255 seconds]
ma27 has quit [Ping timeout: 260 seconds]
hydra_ has quit [Ping timeout: 260 seconds]
silver has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 266292a geistesk: fpdf: init at 1.7.2
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vAUN3
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 28e0126 Frederik Rietdijk: Merge pull request #34733 from geistesk/fpdf...
ckauhaus has joined #nixos
<freeman42x[NixOS> is there any example in nixpkgs for using gradle for build in a nix expression? I couldn't find any
ma27 has joined #nixos
<betaboon> has anyone experience with using node2nix? I have to deploy using nixops a nodejs project from a private-git-repo and currently wondering if i have to have a duplicate of the package.json in my nixpkgs-repo and run node2nix manually, or how to go on about that. any advice ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vAUNw
<NixOS_GitHub> nix/master 444bae4 Eelco Dolstra: dsa -> ed25519...
NixOS_GitHub has left #nixos [#nixos]
FRidh has quit [Ping timeout: 268 seconds]
FRidh has joined #nixos
swills has quit [Remote host closed the connection]
<sphalerite> forgetful: no, nixpkgs-17.09 does not exist
knupfer has joined #nixos
<sphalerite> infinisil: ^
<sphalerite> monty: what do you mean by the nixpkgs channel? (Re your question about the web search interface)
hakujin has joined #nixos
griff_ has quit [Quit: griff_]
<__monty__> The web search seems to search only the nixos channel, I'd like to search the nixpkgs channel.
<sphalerite> ertes-w: not that I know of. There's no guarantee that whatever path you choose won't break something in the future of course, but I'm not aware of anything that doing so would currently break
<LnL> forgetful: no, there are only nixos/darwin channels for 17.09 since packages generally don't change that much
<sphalerite> There is no nixpkgs channel
<ertes-w> sphalerite: thanks
<forgetful> @LnL,sphalerite: thanks!
<LnL> there are small channels if you want something that updates faster
<sphalerite> monty: nor is there a nixos channel for that matter
<sphalerite> monty: do you mean nixos-17.09, nixos-unstable, nixpkgs-unstable, or one of the small variants?
swills has joined #nixos
swills has quit [Changing host]
swills has joined #nixos
<sphalerite> srk: yeah nixpkgs.config is bad and deprecated AFAIK
hakujin has quit [Ping timeout: 255 seconds]
swills_ has joined #nixos
swills_ has quit [Client Quit]
<srk> sphalerite: good! :)
knupfer has quit [Ping timeout: 260 seconds]
yann-kaelig has joined #nixos
<pie_> ive run into a classic newb issue
<pie_> i put libtiff in buildInputs but the libtiff supplied tiffinfo isnt in my path when i use nix-shell -p
<__monty__> sphalerite: I meant nixos-unstable and nixpkgs-unstable, I assume the web interface searches nixos-most.recent?
hakujin has joined #nixos
knupfer has joined #nixos
hakujin has quit [Ping timeout: 276 seconds]
hakujin has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<forgetful> any idea why this is happening: builder for ‘/nix/store/kyk43l3frv2ll1y6wj0629zvzpy3gi8p-servant-snap-0.7.3.drv’ failed with exit code 1? I am using https://nixos.org/channels/nixos-17.09
<forgetful> the actual error is: Setup: Encountered missing dependencies:
<forgetful> io-streams ==1.3.*
thblt has joined #nixos
<LnL> jailbreaking might help
hakujin has quit [Ping timeout: 256 seconds]
<forgetful> LnL: jailbreaking?
fendor has quit [Read error: Connection reset by peer]
<LnL> { servant-snap = haskell.lib.doJailbreak super.servant-snap; }
<LnL> take a look at the haskell section to see how to add overrides https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure
rgrinberg has joined #nixos
<forgetful> @LnL: thanks
tgunb has joined #nixos
<freeman42x[NixOS> nix-build is doing builds as a different user right? if I do nix-build -K -A somePackage
<freeman42x[NixOS> and go to the /tmp/ folder generated and run gradle build I get a different error
<freeman42x[NixOS> which I assume is because I am running as my user instead of the build user amongst other things
<infinisil> sphalerite: ah, didn't check
<freeman42x[NixOS> which is the proper way to debug this?
<LnL> freeman42x[NixOS: yeah, you'll want to chown that to your current user first
<freeman42x[NixOS> basically to get to reproduce the error during nix-build by manually typing `gradle dist`
lord| has quit [Quit: WeeChat 2.0.1]
<LnL> alternatively you can run genericBuild in nix-shell '<nixpkgs>' -A hello
<freeman42x[NixOS> LnL, the /tmp/nix-build-freeplane-1.6.13.drv-4 folder?
<sphalerite> __monty__: the web interface is only for nixos-17.09 AFAIK. I don't know of one for searching unstable. Shouldn't be too hard to hack together though
<freeman42x[NixOS> LnL, what does genericBuild do?
Rusty1_ has joined #nixos
<freeman42x[NixOS> LnL, this is my context: https://github.com/NixOS/nixpkgs/issues/34707
<freeman42x[NixOS> is there no way to continue from where nix-build failed (eg. during the build step)?
<freeman42x[NixOS> cause I used nix-build -K so it kept the intermediate results
<freeman42x[NixOS> just being in a terminal and getting the same error on `gradle dist` would be very helpful
<gchristensen> no, you can't resume a partially done build
<gchristensen> oh, you could do it by hand
<LnL> depends on the expression, but usually you can invoke the configurePhase/buildPhase etc in a shell
<gchristensen> but not to finish it with nix-build
smichel17 has joined #nixos
smichel17 is now known as Guest45748
Guest45748 is now known as smichel
<samueldr> __monty__, sphalerite, it'll be worked on soon to try to upstream it to nixos.org website, but I have made an interface with channel selection https://nix.samueldr.com/explorer/?channel=17.09
hakujin has joined #nixos
<samueldr> (if/when the unstable channel seems out of date, ping me and I'll update)
<sud0x3> I just installed nixos and have been using saltstack to manage machines. Is anyone using salt with nixos and or know where it would fit in with nixos?
<sphalerite> Oh yeah, that! Cool stuff
<gchristensen> sud0x3: generally it wouldn't fit, because of how thorough nixos' own configuration management system is
<sud0x3> so i could replace salt entireley with nixos, this was what i was hoping for :)
<sphalerite> :D
seccus has quit [Ping timeout: 240 seconds]
alexteves has joined #nixos
hakujin has quit [Ping timeout: 240 seconds]
<srk> sphalerite: try nixops :) I'm ditching both ansible and salt in favor of nix/nixos/nixops :)
<srk> sud0x3: ^^
<srk> oops
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
rauno has quit [Ping timeout: 255 seconds]
<sud0x3> srk: Thank you i will take a look
r5d has quit [Quit: WeeChat 1.9.1]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<betaboon> Profpatsch: you around ?
sud0x3 has quit [Ping timeout: 264 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vATIv
<NixOS_GitHub> nixpkgs/master 74e56de Tim Steinbach: hipchat: 4.30.2.1665 -> 4.30.3.1670
NixOS_GitHub has left #nixos [#nixos]
babyflakes has joined #nixos
thblt has quit [Remote host closed the connection]
sud0x3 has joined #nixos
smichel is now known as smichel17
<yorick> so was https://github.com/NixOS/nixpkgs/issues/21460 ever resolved? for example, can't I just set enabled=false on a service?
rauno has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34736: pythonPackages.pecan: remove superfluous patch (master...pecan) https://git.io/vATID
NixOS_GitHub has left #nixos [#nixos]
asuryawanshi has quit [Ping timeout: 248 seconds]
<ertes-w> is there a way with buildEnv to set priorities?
fendor has joined #nixos
<ertes-w> (like you can do with nix-env)
<gchristensen> ertes-w: I think you can do it with https://github.com/NixOS/nixpkgs/blob/master/lib/meta.nix#L52-L68
<yorick> maybe I could add an [install] section manually
<ertes-w> gchristensen: that worked, thanks!
coot has quit [Quit: coot]
<gchristensen> great!
fendor has quit [Client Quit]
thblt has joined #nixos
<yorick> I can add extra unit config using systemd.services.thing.text, no?
hakujin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master f4ff322 Robert Schütz: pythonPackages.pecan: remove superfluous patch
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vATL6
<NixOS_GitHub> nixpkgs/master ec506fd Frederik Rietdijk: Merge pull request #34736 from dotlambda/pecan...
hakujin has quit [Ping timeout: 252 seconds]
betaboon has quit [Read error: Connection reset by peer]
betaboon has joined #nixos
xcmw has joined #nixos
Unode has quit [Ping timeout: 240 seconds]
<ertes-w> BTW, how long does it typically take for PRs with new packages to be merged? just so that i know what to expect =)
<adisbladis> ertes-w: It varies a lot
<gchristensen> at almost merged 700 PRs a month, some otherwise-easy PRs slip through the cracks
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] edolstra pushed 1 new commit to master: https://git.io/vATYH
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nix/master ad97a21 Eelco Dolstra: nix-env: Fix parsing of --system...
<adisbladis> ertes-w: You have any specific one in mind?
<ertes-w> well, i'd expect new packages to be not-so-easy, unless they add well known software, but i don't know how far the committers go with auditing
<ertes-w> but please take your time… i don't mind using my local branch in the meantime… i don't mean to pressure anyone, i just want to know =)
Unode has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 3a53aa0 Ertugrul Söylemez: doom-bcc-git: init at 2018.01.04
<NixOS_GitHub> nixpkgs/master 1394c85 Ertugrul Söylemez: doom-bcc-git: Attribute naming convention
<NixOS_GitHub> [nixpkgs] grahamc pushed 4 new commits to master: https://git.io/vAT3G
<NixOS_GitHub> nixpkgs/master a5f91d1 Ertugrul Söylemez: doom-bcc-git: CC=cc (for Darwin)
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 3 new commits to master: https://git.io/vAT3B
<NixOS_GitHub> nixpkgs/master 5fecc07 Ertugrul Söylemez: slade-git: Attribute naming convention
<NixOS_GitHub> nixpkgs/master a1383aa Graham Christensen: Merge pull request #34571 from esoeylemez/ertes-slade...
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 6f76830 Ertugrul Söylemez: slade-git: init at 2018.01.29
<ertes-w> thanks =)
hph^ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #34738: pythonPackages.pytest-sugar: 0.9.0 -> 0.9.1 (master...pytest-sugar) https://git.io/vAT36
NixOS_GitHub has left #nixos [#nixos]
nico202 has joined #nixos
<gchristensen> you're welcome -- in the future, please don't just erase the pull request template though
<gchristensen> and not just because of the bug that tripped up the bot :)
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/3e349a2b98b (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b34a5f6d874 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b6bcba6537a (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b34a5f6d874 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e860b651d6e (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<gchristensen> ^ the bot got hung up on a bug overnight, sorry
<adisbladis> Also: If there is no action after a few days dont hesitate to CC the reviewers who have previously commented. It's usually just forgotten about
Unode has quit [Ping timeout: 265 seconds]
<betaboon> argh npm is driving me crazy. who invented this ...
<adisbladis> betaboon: Whats the issue?
* adisbladis is currently digging deep into npms inner workings
<rardiol1> what if no reviewrs commented? I think I have a reasonably simple update PR that got lost in the backlog
<gchristensen> rardiol1: link?
<betaboon> adisbladis: just trying to figure out how to write a derivation for a node8 project, that is in a private repo, and should be deployed using nixops :/
<gchristensen> dtz: here? look what we just got on master: https://gist.github.com/GrahamcOfBorg/e8283030f479a331dbb15340d64353bf
<ertes-w> gchristensen: huh? did i delete something by accident?
<gchristensen> ertes-w: when you open a PR, there is a pull request template in the PR description box, but most of your PRs don't have them
<betaboon> adisbladis: currently trying to get the hang of node2nix. tried `nix-shell -p nodePackages.node2nix` but I'm getting version 1.3.0, even tho the nixpkgs-channel states 1.5.0 is available oO
<ertes-w> gchristensen: oh, that's probably because i'm using the command line tool
<gchristensen> interesting
<ertes-w> i don't use the web interface much
<adisbladis> betaboon: Which channel are you on?
<betaboon> adisbladis: 17.03
<betaboon> adisbladis: sorry: 17.09
<ertes-w> gchristensen: i'll just copy the template then… maybe i can tell 'hub' to use the template by default for nixpkgs, otherwise i'll use it by hand
<gchristensen> thanks :)
hakujin has joined #nixos
coot has joined #nixos
<adisbladis> betaboon: Did you update your channels? I get 1.5.1 from 'nix-shell -I 'nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-17.09-small.tar.gz' -p nodePackages.node2nix'
<adisbladis> betaboon: Sadly cant help you with node2nix. At my work we recently switch away from npm before I got the chance to use it.
ixxie has joined #nixos
<betaboon> adisbladis: i just updated the channel using `sudo nix-channel --update`. I don't have a nix-channel setup for my user-environment.
<betaboon> adisbladis: what did you switch to from npm ?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adisbladis> betaboon: pnpm
hakujin has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
<betaboon> adisbladis: do you use that together with nix ?
<adisbladis> betaboon: Started building http://github.com/adisbladis/pnpm2nix/ yesterday :)
<adisbladis> It can already build a simple application
<betaboon> adisbladis: even with giving the nixpkgs-channel explicity (like your command above) `node2nix --version` returns "node2nix 1.3.0" what the fuck is going on oO
<adisbladis> betaboon: Have you at some point installed it into your profile with nix-env maybe?
<betaboon> adisbladis: found the problem. i had the nodePackages overwritten in my own overlay. stupid me :X
<adisbladis> betaboon: You could try adding --pure to nix-shell
<adisbladis> Ahhh :P Makes sense
<infinisil> Oh boy, 666 PR's
<infinisil> open PR's*
<adisbladis> infinisil: We have been hovering at 666 for the last few days :D
<adisbladis> Nice number
<hyper_ch> still wondering: How can I check if a merged PR is already in nixos-unstable-small?
<infinisil> hyper_ch: i think there's some git command for that
<betaboon> adisbladis: pnpm looks interesting. has the transition for your web-developers been fine ?
<hyper_ch> infinisil: what for?
<infinisil> hyper_ch: for checking that
<hyper_ch> I don't know how I can see what is actually contained in nixos-unstable-small
<infinisil> hyper_ch: oh wait, are you the guy who doesn't want a git checkout?
<hyper_ch> infinisil: not sure what you mean?
<hyper_ch> infinisil: I just wonder if the zfs stability PR is already in unstable-small
iqubic` has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
Unode has joined #nixos
<hyper_ch> adisbladis: cool, thx
Drakonis has joined #nixos
hakujin has joined #nixos
<infinisil> ah, i was confused there for a second, because the PR isn't merged, but closed + committed separately
xcmw has quit [Ping timeout: 260 seconds]
<infinisil> (and i listed only merge commits, so i didn't see it)
iyzsong has joined #nixos
<hyper_ch> infinisil: not sure what you mean with closed and commited separately
<infinisil> > Mic92 closed this in 0d65e2e
<hyper_ch> for me that's all the same as being merged
<infinisil> a merge is a separate commit, merging 2 branches
hakujin has quit [Ping timeout: 252 seconds]
erasmas has joined #nixos
xcmw has joined #nixos
<infinisil> yeah it doesn't matter much in the end, but it would be nice to decide on one convention
<infinisil> you could just list all merges with git and easily check whether a pr is merged like this
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 7e9d214 Michael Alan Dorman: org-packages: 2018-02-07
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master d2f7f2d Michael Alan Dorman: melpa-stable-packages: 2018-02-07
<NixOS_GitHub> [nixpkgs] joachifm pushed 5 new commits to master: https://git.io/vATlI
<NixOS_GitHub> nixpkgs/master 4dda0db Michael Alan Dorman: elpa-packages: 2018-02-07
<infinisil> and closing a pr but using the commits looks the same as just closing and rejecting a PR, which is kinda weird
MercurialAlchemi has quit [Ping timeout: 256 seconds]
hakujin has joined #nixos
<sphalerite> Does anyone else get graphical glitches in wireshark? Rendered text is sometimes a little bit garbled. I'd send a screenshot, but starting scrot seems to trigger a redraw or something which fixes it
* sphalerite uploaded an image: file1518103012773.jpg (37KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/faUaSaRxpdZWaRMQZpGoYWjb>
<sphalerite> There managed to take a photo of it
Myrl-saki has joined #nixos
pkill9 has joined #nixos
hakujin has quit [Ping timeout: 252 seconds]
Myrl-saki has quit [Read error: Connection reset by peer]
leat has quit [Ping timeout: 255 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spear2 has quit [Quit: Leaving]
azertyieio has joined #nixos
r5d has joined #nixos
<srid> to configure acme certs, i noticed that the "webroot" keys is unnecessary: https://nixos.org/nixos/manual/index.html#idm140737316195328
hakujin has joined #nixos
xcmw has joined #nixos
<infinisil> srid: keys? You mean attribute?
<srid> sorry - yes, the attribute
<srid> anyway, getting a https site working on nixos unbelievably easy :)
Myrl-saki has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<infinisil> srid: you actually don't even need the acme part
<srid> security.acme.certs?
<infinisil> srid: enableACME = true; is all you need
<srid> fwiw I had to set the email attribute cert to get over untrusted cert issue in web browser
<infinisil> ah
hakujin has quit [Ping timeout: 255 seconds]
<srid> not sure why, but i'll edit https://nixos.wiki/wiki/Nginx for future visitors
tgunb has quit [Ping timeout: 264 seconds]
ZoomZoomZoom has quit [Quit: Leaving]
coot has quit [Quit: coot]
knupfer has quit [Ping timeout: 240 seconds]
<infinisil> srid: hmm, i haven't had any problems and I haven't set the email
<infinisil> see https://infinisil.com/
joshuaks has joined #nixos
<infinisil> and yeah, I'm in favor of a more minimal style, as you can see on my website
<joshuaks> Hey yinz. I'm working on configuring vim with nix. Is there an article somewhere for creating/bundling plugins that aren't on the nix repo?
<LnL> it's kind of hidden in the sources
<gchristensen> ahh PA-people
coot has joined #nixos
<joshuaks> I think the plugin is available for nixos but not Darwin currently. Looking at the repo, I don't see anything special about the NixOS logic though.
<joshuaks> gchristensen: Ever since I've moved here I kinda use it ironically
<LnL> maybe one of the dependencies is marked as linux only
<joshuaks> I don't think there are any (maybe I'm an idiot). Let me find you the snippet.
oida has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e860b651d6e (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<gchristensen> ^ less join/part spam :)
<sphalerite> gchristensen: weren't those messages previously NOTICEs?
<gchristensen> they were
endformationage has joined #nixos
<gchristensen> is this a substantial downgrade in functionality?
<adisbladis> betaboon: Pretty fine :) We noticed that some dependencies were unspecified in one application but other than that its not been too eventful
<sphalerite> not particularly, but it's always nice to have the messages less highlighted than messages from humans
<gchristensen> ah right on
<gchristensen> {^_^} needs some love, I'll see if I can add notice support back in :)
<infinisil> !m {^_^}
<[0__0]> You're doing good work, {^_^}!
<adisbladis> :D
<adisbladis> A bot complementing another bot. Love is in the air.
<sphalerite> it should respond with "thanks!" :p
<{^_^}> thanks :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ryantm opened pull request #34739: ataripp: 1.73 -> 1.81 (master...ataripp) https://git.io/vATRQ
NixOS_GitHub has left #nixos [#nixos]
<infinisil> :OOO
<betaboon> adisbladis: with your pnpm2nix i can just write a derivation (like eg with mkPythonApplication) as opposed to having to maintain a node-packages.json/node-packages.nix as with node2nix/npm2nix ?
<adisbladis> betaboon: Yeah
hakujin has joined #nixos
<betaboon> that sounds like heaven to me :/
<adisbladis> It just loads the shrinkwrap and generates nix packages on the fly
<adisbladis> betaboon: I'll tell you when its more useful :)
<betaboon> do i need that shrinkwrap ?
<adisbladis> betaboon: Yes
ixxie has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<betaboon> i guess i have to consult with our nodejs developer next week :D
spietz has joined #nixos
Arcaelyx has joined #nixos
<adisbladis> betaboon: Dont sell them on this solution yet :P Its literally a 2 day old project
szicari has joined #nixos
rauno has quit [Ping timeout: 252 seconds]
xvnvx has joined #nixos
hakujin has quit [Ping timeout: 256 seconds]
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> How does the networking.search option interact with DHCP, both plain (networking.useDHCP) and network-manager?
<joshuaks> any vim plugin advice?
ssmike has quit [Remote host closed the connection]
ssmike has joined #nixos
<joshuaks> Ooh that's concise. I'll try it out tonight.
<joshuaks> Thanks LnL. I seriously looked over that line probably ten times last night.
hakujin has joined #nixos
<infinisil> LnL: Why is that at a completely different place than vim_configurable
Sonarpulse has joined #nixos
leat has joined #nixos
<betaboon> adisbladis: I'm very interested in your work and are willing to test it soon :)
xvnvx has quit []
<LnL> infinisil: that doesn't really have anything to do with definition of plugins
<joshuaks> Also, I've noticed most other pluging derivations(?) are assigned to a variable of the same name. Why is dracula assigned to vim?
<fearlessKim[m]> the vim_configurable has room for improvement. It would be nice if the paths could be customized (to allow for neovim paths for instance)
ryanartecona has joined #nixos
periklis has joined #nixos
<LnL> yeah, it's also one of the last remaining things using composableDerivation
hakujin has quit [Ping timeout: 256 seconds]
stephenjudkins has quit [Remote host closed the connection]
<Profpatsch> betaboon: Yes
klntsky has joined #nixos
thblt has quit [Ping timeout: 264 seconds]
coot has quit [Quit: coot]
oida has quit [Ping timeout: 240 seconds]
oida has joined #nixos
<betaboon> Profpatsch: I've been trying to build your yarn2nix against nixpkgs-17.09 but ran into a missing dependency "protolude ==0.2.*". that is expected, huh ?
<betaboon> Profpatsch: if i build against nixpkgs-master it works :)
hydra has joined #nixos
hydra is now known as Guest37786
hph^ has quit [Ping timeout: 248 seconds]
coot has joined #nixos
Guest37786 has quit [Client Quit]
hydra_ has joined #nixos
Itkovian has quit [Ping timeout: 248 seconds]
<hydra_> clever: I have set up slave like in peti's tutorial. slave is the only one listed in buildMachines but hydra machine is the one running queue runner. On restart of queue runner this is still thrown: "hydra.conf: binary_cache_secret_key_file is deprecated and ignored. use store_uri=...?secret-key= instead"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hedning opened pull request #34742: nix-bash-completions: 0.6.2 -> 0.6.3, nix-zsh-completions: 0.3.7 -> 0.3.8 (master...nix-completions-bump) https://git.io/vATzK
NixOS_GitHub has left #nixos [#nixos]
jensens has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #34446: skopeo: remove the patch by setting a variable at build time (master...pr/skopeo) https://git.io/vN7ni
NixOS_GitHub has left #nixos [#nixos]
Myrl-saki has quit [Read error: Connection reset by peer]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
hph^ has joined #nixos
hph^ has quit [Max SendQ exceeded]
<freeman42x[NixOS> any suggestions on how to fix this: https://github.com/NixOS/nixpkgs/issues/34741 ?
johnchil1ren has joined #nixos
knupfer has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [Ping timeout: 268 seconds]
Mateon3 is now known as Mateon1
knupfer has quit [Read error: Connection reset by peer]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Profpatsch closed pull request #33821: services.mysql: properly quote database.name (master...update/services/mysql) https://git.io/vNZMw
NixOS_GitHub has left #nixos [#nixos]
knupfer has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
Itkovian has joined #nixos
coot has quit [Quit: coot]
chreekat has joined #nixos
hakujin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy opened pull request #1854: Add plugins support (master...plugins) https://git.io/vATaa
NixOS_GitHub has left #nixos [#nixos]
hydra_ has quit [Ping timeout: 260 seconds]
Itkovian has quit [Read error: Connection reset by peer]
leat has quit [Read error: Connection reset by peer]
<hyper_ch> can't update notebook because wifi kernel mod fails
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyper_ch> can't update home server because samba fails
<hyper_ch> :(
stephenjudkins has joined #nixos
Itkovian has joined #nixos
ryanartecona has quit [Quit: ryanartecona]
<__monty__> samueldr: Thanks.
ryanartecona has joined #nixos
<__monty__> samueldr: Is unstable nixos- or nixpkgs-unstable?
<infinisil> __monty__: if you're using it for nixos, use nixos-unstable, otherwise you can use nixpkgs-unstable
johnchil1ren has quit [Quit: leaving]
johnchildren has joined #nixos
<__monty__> It only offers "unstable" and I'm wondering which one it is.
<infinisil> __monty__: "it"?
<__monty__> infinisil: The search site samueldr linked https://nix.samueldr.com/explorer/?channel=unstable
<infinisil> __monty__: Ah, no idea what unstable it uses
<infinisil> The actual channels are here: https://nixos.org/channels/
<infinisil> probably it uses nixos-unstable though
seanparsons has quit [Read error: Connection reset by peer]
arjen-jonathan has quit [Ping timeout: 256 seconds]
lonokhov has quit [Quit: Lost terminal]
hydra_ has joined #nixos
Tucky has quit [Quit: WeeChat 2.0.1]
leat has joined #nixos
<hakujin> scenario: mac developers, linux nixos hydra + production servers using pinned nixpkgs. if I want to ensure that binary substitutes are always available, do I need to manually `nix-push` from a mac to the hydra instance every so often?
<__monty__> Hence my question directed at samueldr : ) Is my first guess as well but figured I'd check.
BiFFA10 has joined #nixos
BiFFA10 has quit [Quit: The Lounge - https://thelounge.github.io]
<{^_^}> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8f08cc48a90 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
Itkovian_ has joined #nixos
<samueldr> __monty__: it is exactly what's written in the select
Itkovian has quit [Read error: Connection reset by peer]
<samueldr> oh uh
<samueldr> duh, sorry
<samueldr> I thought it was!
* samueldr checks code
seanparsons has joined #nixos
<samueldr> nixos-unstable
rumpelstiltskin has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #34690: nixos/tor: add hiddenServices.<name>.authorizeClient (master...tor) https://git.io/vAv5U
NixOS_GitHub has left #nixos [#nixos]
<samueldr> it's `nixos-${value_of_select}`
<rumpelstiltskin> I am following along with this guide to have stable/unstable packages installed declaratively https://nixos.wiki/wiki/Cheatsheet#Upgrading_individual_packages_to_a_different_channel
<rumpelstiltskin> but when attempting a switch I get this: error: file ‘nixos-unstable’ was not found in the Nix search path
<rumpelstiltskin> although nixos-unstable is one of my channels
<LnL> did you run sudo nix-channel --update
<rumpelstiltskin> Yes I did
<LnL> what's the output of nix-info
<__monty__> samueldr: Ok, thanks. Would nixpkgs-unstable get added if it goes to the official site?
<rumpelstiltskin> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.16, channels(root): "nixos-17.09.2964.3e349a2b98b, nixos-unstable-18.03pre127302.e860b651d6e"
raynold has joined #nixos
coot has joined #nixos
ThatDocsLady has quit [Ping timeout: 264 seconds]
<samueldr> __monty__: can't see why it wouldn't...
<__monty__> Great.
<LnL> rumpelstiltskin: hmm, and you named the channel nixos-unstable?
<rumpelstiltskin> LnL: yes
<LnL> do you get the same error with this nix-instantiate --eval -E '<nixos-unstable>'
digitus has joined #nixos
<makefu> rumpelstiltskin: also as correct user (root in case you want to use it in your configuration.nix)
ssmike has quit [Ping timeout: 256 seconds]
winem_ has quit [Ping timeout: 256 seconds]
<rumpelstiltskin> LnL: yes, I get the same error there, do I need to change my NIX_PATH with multiple channels?
thblt has joined #nixos
Itkovian_ has quit [Read error: Connection reset by peer]
<srhb> rumpelstiltskin: nix-channel --list ?
<LnL> not for system channels
<srhb> Oh, it has a hash already, nevermind
sigmundv has quit [Ping timeout: 255 seconds]
ssmike has joined #nixos
rumpelstiltskin has quit [Quit: Page closed]
rumpelstiltskin has joined #nixos
asuryawanshi has quit [Remote host closed the connection]
asuryawanshi has joined #nixos
johnchildren has quit [Quit: leaving]
chreekat has quit [Ping timeout: 240 seconds]
aborsu has joined #nixos
<freeman42x[NixOS> got a question about One-Click instalation: https://github.com/NixOS/nixpkgs/issues/34745
throwup has joined #nixos
tgunb has joined #nixos
goibhniu has quit [Ping timeout: 264 seconds]
<Mic92> infinisil: I did not want to force push on hyper_ch's master branch.
<Mic92> I basically squashed it with minor changes.
<hyper_ch> Mic92: it's going to be deleted soon anyway
<hyper_ch> and I told you that you can force push
<Mic92> hyper_ch: I did not got this message.
<hyper_ch> :(
<hyper_ch> it'ŝ ok
<hyper_ch> I'll survive
<Mic92> yeah, does not matter in the end.
<Mic92> Some people are sensible, when it comes to doing that.
<hyper_ch> it's just a temporray repo for me
coot has quit [Quit: coot]
<d4g> Hm. I'm on unstable and on a rebuild, it seems that xorg is now built locally
<d4g> Interestingly including nouveau and radeon drivers, which I dont use, nor do I even have an nvidia or radeon card.
nico202 has quit [Ping timeout: 255 seconds]
ixxie has joined #nixos
<judson> Is there a way for an expression to check if its being run under nix-shell? I'd like to use the same expression for nix-shell and deploy, but I don't want to fetch the source repo if I'm *in* the source repo.
stephenjudkins has quit [Remote host closed the connection]
<Profpatsch> betaboon: Yes, it’s only supported on unstable/master atm
<judson> I suppose I could use a relative import...
betaboon has quit [Quit: WeeChat 1.9.1]
<Profpatsch> The earlier version is not supported, but maybe it might make sense if people want to use it from stable.
coot has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markus1189 opened pull request #34746: spotify: 1.0.69.336.g7edcc575-39 -> 1.0.70.399.g5ffabd56-26 (master...spotify) https://git.io/vATXF
NixOS_GitHub has left #nixos [#nixos]
periklis has quit [Ping timeout: 240 seconds]
chreekat has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAT1g
<NixOS_GitHub> nixpkgs/master 9d5ab32 Vladimír Čunát: polipo: mark as vulnerable (close #33709)
NixOS_GitHub has left #nixos [#nixos]
<d4g> It seems that 519 #driSupport32Bit = true;
<d4g> is the culprit
<d4g> So 32bit support seems to be stripped from the binary builds
<judson> (I start to wonder if I've been somehow shadowbanned.)
<gchristensen> you're not, judson
<judson> Thanks, gchristensen.
<judson> Just bad at asking questions?
<judson> ;)
<gchristensen> :P the obvious answer is to pass a parameter in from the shell.nix saying you're in a nix shell
<gchristensen> or override the src to say ./
<gchristensen> but something like builtins.pathExists readDir / readFile exists :) and you could act on those in ways
<judson> Because of how I'm using it right now, I'm thinking I can rely on a relative import - I'm working locally and then copying things to a nixops config directory. So in the project, I could have sourceHash.nix with ""
<judson> But I was wondering if there was a mechanism I wasn't aware of. nix-shell doesn't set such a parameter automatically?
<judson> That's even easier.
<gchristensen> well I don't think it magically sets any nix variables to look at
<judson> pathExists is a really good solution. Thanks!
<gchristensen> judson: https://github.com/NixOS/nixpkgs/blob/master/lib/trivial.nix#L68 I wonder if this would work actually
<judson> Oh. Well then :)
<gchristensen> I guess it does set some magic variables to look at :)
<judson> I should get back in the habit of grepping nixpkgs.
<{^_^}> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8f08cc48a90 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<gchristensen> search.nix.gsc.io is my secret weapon
<judson> Whoa!
<gchristensen> it has editor integration too :)
<judson> Where is the editor integration?
<gchristensen> its just Hound, so https://github.com/etsy/hound#editor-integration
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy opened pull request #1855: Add RegisterConstant so plugins can register constants. (master...register-constant) https://git.io/vATDY
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch> makefu: you're the wiki master, right?
<coconnor> d4g: which file are you looking at for that '#driSupport32Bit' ?
<judson> "just Hound" - our org uses Opengrok, so....
<judson> Hound is looking very nice right now.
<gchristensen> judson: opengrok *hides*
stephenjudkins has joined #nixos
stephenjudkins has quit [Remote host closed the connection]
stephenjudkins has joined #nixos
tmaekawa has joined #nixos
sud0x3 has quit [Ping timeout: 240 seconds]
tmaekawa has quit [Client Quit]
rihards has joined #nixos
throwup has quit [Ping timeout: 276 seconds]
rumpelstiltskin has quit [Quit: Page closed]
ryanartecona has quit [Quit: ryanartecona]
<samueldr> hyper_ch: you had a wiki question?
<hyper_ch> samueldr: I did
<hyper_ch> (and still have)
<samueldr> please ask, I also work with the wiki
<freeman42x[NixOS> is there a way to tell nix-build to continue from a certain phase and skipe previous ones? since running it with -K argument keeps the previous work nix-build -K -A freeplane
__monty__ has left #nixos [#nixos]
<srhb> freeman42x[NixOS: No, you'd have to hack it by splitting up the derivation, which is pretty uncomfortable. You could step through it with nix-shell also.
coot has quit [Quit: coot]
<hyper_ch> samueldr: I like ZFS and I like encryption.... should I post complete setup scripts/config files (using kexec etc.) in the wiki? maybe make different ones for different ISPs?
<ixxie> um
<ixxie> suddenly my NixOS vm is full
<ixxie> no big surprise I guess
<samueldr> ISP? you mean ZFS setup for VPS and servers?
<ixxie> but doing sudo nix-garbage-collect -d fails because I don't have enough diskspace
<hyper_ch> samueldr: yes
<coconnor> freeman42x[NixOS: generally, that risks compromising the guarantees pure builds provide
CodingWithClass has quit [Ping timeout: 268 seconds]
<freeman42x> srhb: got any examples of using those 2 methods? Might be useful later
<freeman42x[NixOS> coconnor, I'd use it temporarly to avoid the long rebuild using Gradle
<freeman42x[NixOS> while trying to fix installPhase only issues
<hakujin> anyone familiar with hydra's "Previous Hydra Build" input option? ideally I want this to reference another job on this hydra instance that built successfully. I see no documentation for this :/
<freeman42x[NixOS> and then I would obviously test it fully
<srhb> freeman42x I've never tried the first, but the concept is to have individual build phases be the "whole" phase, so that at each step you're committed to the store.
<srhb> freeman42x: The second: You just run nix-shell instead of nix-build and step through the phases by hand (like unpackPhase) by evaluating them in your shell
<srhb> Of course, if you mess up the "build tree" so you can't continue, you'll have to start over anyway.
rihards has quit [Quit: rihards]
rihards has joined #nixos
<samueldr> hyper_ch: I'm wondering in the pages hierarchy how to file those, they're probably more relevant to cloud hosts than ZFS... but there isn't any "hierarchy" for cloud host pages
<freeman42x[NixOS> srhb, thank you, I might need that later when having to do with really long intermediate steps
ckauhaus has quit [Quit: Leaving.]
<hyper_ch> why cloud hosts?
<samueldr> I said "cloud", but I meant hosters
<samueldr> that's the main "entry point" page for servers, cloud or dedicated https://nixos.wiki/wiki/NixOS_friendly_hosters
rogue_koder has joined #nixos
<ixxie> what do I do when my disk is too full to run nix-collect-garbage? :/
<gchristensen> ixxie: can you find a single file outside of the nix store to delete?
fresheyeball has joined #nixos
<fresheyeball> yo peoples, how can I restart my emacs server?
<samueldr> on a desktop, if you have trash-cli, trash-empty may work
<fresheyeball> It's all nasty and crusty
<fresheyeball> and services.emacs.enable = trues; docs don't say how to do this
<hyper_ch> samueldr: I was thinking more related to this https://nixos.wiki/wiki/Install_NixOS_on_a_Server_With_a_Different_Filesystem
<thoughtpolice> fresheyeball: systemctl --user restart emacs.service should do it
<ixxie> samueldr: its my vm server
<samueldr> ixxie: ☹
<TonyTheLion> how does one pass a dependency on another package on the same Hydra server?
<samueldr> hyper_ch: if it's generic, then a similary named page is alright, I was thinking you had instruections per-provider
oida has quit [Quit: WeeChat 1.6]
<ixxie> gchristensen: oh good call.... nixpkgs off you go xD
<TonyTheLion> on a local machine we just pass nix-build the -I ~ flag
<gchristensen> :D
<TonyTheLion> on Hydra that won't work
<fresheyeball> thoughtpolice: thank you!
<gchristensen> ixxie: nix 2.0 will run gc itself to prevent this in the future
<ixxie> gchristensen: when is that coming btw? Any day now right?
<hyper_ch> samueldr: well, I was thinking of handing out complete kexec configs and script for auto setup and config file for encrypted zfs installation
<gchristensen> 18.03
<ixxie> gchristensen: but too unstable before that presumably
<gchristensen> nixos-unstable will switch to 2.0 shortly by default
<srhb> Didn't it already?
<gchristensen> did it?
<srhb> >_>
<srhb> <_<
<srhb> Guess not.
zarel has joined #nixos
<srhb> Grepping the log for nix is hilarious.
<srhb> It's just like searching or nix things on google, only worse.
<srhb> :P
<gchristensen> lol
noffle has joined #nixos
ditadi has joined #nixos
<noffle> when running a nix command that will download packages, is there a way to get it to show that packages & how much data will be downloaded before it does so?
<noffle> it shows me that already, but I'd like it to ask me before proceeding
<noffle> e.g. metered internet connections
<srhb> Not that I know of.
<gchristensen> though perhaps it is worth knowing that Nix isn't very good with a metered connection in general
<samueldr> hyper_ch: prepare something, anyway there's many bits in the wiki that aren't categorized, like those, if/when it's moved, it'll alway redirect to the proper location
<gchristensen> Nix requires a fair amount of downloading
<noffle> gchristensen: less so than any other distribution?
<hyper_ch> or I wonder if I should put it somehow into the zfs page
<gchristensen> it will download more than another distro
<noffle> why is that?
<srhb> noffle: For instance, our dependency tree is much more strict
<gchristensen> take it away, srhb :~)
<srhb> noffle: If a dependency changes, its dependents _must_ also change
<srhb> Oop, sorry :P
<samueldr> hyper_ch: depends entirely on how it's done, the size of the actual page and the size of what you're adding
<gchristensen> nope, thank you srhb
nico202 has joined #nixos
<samueldr> sections can be moved without much fuss
<noffle> because the hashes change as well?
<srhb> noffle: Other distros might get away with swapping in a new dependency without touching the dependents
<ixxie> gchristensen: maybe we can start nixflix and send nixpkgs by main
<srhb> noffle: Exactly!
<ixxie> mail
<gchristensen> ixxie: great idea!
<noffle> that makes sense
<samueldr> who's in charge of burning the whole cache?
<ixxie> gchristensen: security updates send by a raven
<srhb> noffle: Perhaps you can already envision a solution to that as well. :-)
<ixxie> or a drone maybe
<gchristensen> samueldr: one sec, I'm just burning the last 10TB to disk...
Slabity has joined #nixos
hydra_ has quit [Ping timeout: 260 seconds]
fragamus has joined #nixos
<Slabity> I'm trying to make a custom derivation, but when my compiler can't find `linux/types.h`. I've included `linuxHeaders` as part of `buildInputs`, but that doesn't seem to do anything. Anyone know what might be the issue?
<ixxie> are Cabal or Stack still useful on NixOS?
<gchristensen> pmeunier: I thought carnix was going to ignore the target directory now?
coot has joined #nixos
<hakujin> gchristensen: hi! I'm curious about hydra. initial questions: do you know any updated documentation? how does the 'channels' feature work? is the 'channels' approach still a good way to make individual software available outside nixpkgs? if I use a mac laptop (with pinned nixpkgs) for development and nixos linux hydra + production servers for deployment, do I need to run `nix-push` often on my mac so that
<hakujin> hydra's binary cache stays warm for my coworkers?
<gchristensen> hakujin: the channel feature should still work well, if you want to get fancy you could even have hydra push the binary cache to an S3 bucket without (too) much work. I'd suggest pinging LnL who runs a hydra for mac software
<LnL> I’m not home yet, ping me in ~1h
<hakujin> LnL: ack, thanks.
<Guest14344> I've built a nixos.qcow2 image and want to test locally in qemu. Anyone know off the top of their head a command that will boot it? qemu-system-x86_64 -hda ./nixos.qcow2 seems to hang
<hakujin> gchristensen: thank you. happen to have a reference for the S3 binary cache bits?
aarvar has joined #nixos
<gchristensen> hakujin: not a great one, but I can send you some stuff. Unfortunately there aren't great, updated docs for Hydra as it generally isn't considered "Shipped" software
alexteves_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vAT7y
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 55bbcd4 Vladimír Čunát: linuxPackages.nvidia_x11_beta: alias to stable...
Jackneill has quit [Read error: Connection reset by peer]
<hyper_ch> so, pretty much automated an native encrypted root zfs install on the smalles online.net servers
sud0x3 has joined #nixos
<gchristensen> nice!
alexteves has quit [Ping timeout: 248 seconds]
<hyper_ch> gchristensen: me?
<gchristensen> yeah!
<ixxie> gchristensen: I am wondering if we should just abandon all hope of getting anyone to write a wiki article about it
Jackneill has joined #nixos
<gchristensen> ixxie: probably shouldn't give up, I just don't know who'd do it exactly
<hyper_ch> gchristensen: https://github.com/sjau/nix-expressions/tree/master/customIsoFiles --> the three online_net files: the 'kexec' one to serve as configuration file for kexec setup; the 'install_script' will partition the system, create pool etc. and start nixos-install (which will fail because of the default hardware-configuration power management thingy that gets added) and the "minimal enczfs config" file is a minimal file to setup the encrypted
<hyper_ch> system
<hyper_ch> (of couse that currently fits all my needs)
<hyper_ch> and much is inspired from our beloved clever :)
griff_ has joined #nixos
ditadi has quit [Ping timeout: 260 seconds]
<hyper_ch> just tested it on such a box https://www.online.net/en/dedicated-server/dedibox-sc (ssd version=
<gchristensen> hyper_ch: mind writing up a quick readme of notes?
<hyper_ch> gchristensen: I'll improve it for the wiki
<gchristensen> looking awesome!
<hyper_ch> it's just for me right now
<gchristensen> that is even better!
<hyper_ch> ask also keyboard layout and provide authorized key for ssh login for unlocking etc...
<hyper_ch> remove my preferred nano setup
<hyper_ch> remove cryptsetup
<hyper_ch> add option for swap maybe
<hyper_ch> for zfs swap it's recommended to create a vdev... I wonder what happens when I create a vdev as child of an encrypted dataset
<hyper_ch> (and I also wonder if nixos picks up the vdev properly)
<gchristensen> ehh I'd stay away from swap on ZFS
<hyper_ch> so then maybe use luks/dm-crypt with random key for swap?
<hyper_ch> (or someone else can add swap support)
<hyper_ch> and who'd have thought there is something like: swapDevices.*.randomEncryption
<gchristensen> yeah that seems better
<infinisil> but hibernate!
<gchristensen> then don't use a random key
<hyper_ch> bears hibernate
<hyper_ch> computers don't
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vATdJ
<NixOS_GitHub> nixpkgs/master 6dfb0be Robert Helgesson: perl-bignum: 0.47 -> 0.49
NixOS_GitHub has left #nixos [#nixos]
<hyper_ch> so, time for some anime and then another ep of this k-drama
<hyper_ch> and then sleep
yegortim1 has quit [Ping timeout: 255 seconds]
<TonyTheLion> I have a package that depends on another package (not part of nixpkgs) in my Hydra server, and it calls the other package with 'import <foo>', however hydra complains it cannot find the package, how do I tell it that the package is already in hydra?
yegortim1 has joined #nixos
ssmike has quit [Remote host closed the connection]
hakujin has quit [Ping timeout: 240 seconds]
ssmike has joined #nixos
ssmike has quit [Remote host closed the connection]
thblt has quit [Remote host closed the connection]
thblt has joined #nixos
ixxie has quit [Quit: Lost terminal]
<srhb> TonyTheLion: Did you mean literally "<foo>" brackets and all? I think you usually feed hydra those as inputs.
thoughtpolice has quit [Ping timeout: 276 seconds]
srid has quit [Read error: Connection reset by peer]
pcarrier has quit [Read error: Connection reset by peer]
mgdelacroix has quit [Ping timeout: 255 seconds]
akl has quit [Ping timeout: 265 seconds]
<Guest14344> heck :\
xplat|work has quit [Ping timeout: 255 seconds]
luto has quit [Ping timeout: 255 seconds]
srid has joined #nixos
dmj` has quit [Ping timeout: 276 seconds]
pcarrier has joined #nixos
terrorjack has quit [Ping timeout: 276 seconds]
akl has joined #nixos
mgdelacroix has joined #nixos
xplat|work has joined #nixos
luto has joined #nixos
thoughtpolice has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9d5ab32f012 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
dmj` has joined #nixos
terrorjack has joined #nixos
klntsky has quit [Ping timeout: 255 seconds]
klntsky has joined #nixos
nico202 has quit [Ping timeout: 265 seconds]
chreekat has quit [Quit: quitting]
alexteves has joined #nixos
matthewbauer has joined #nixos
zarel has quit [Quit: Leaving]
coot has quit [Ping timeout: 240 seconds]
alexteves_ has quit [Ping timeout: 268 seconds]
<Neo--> am I correct that all the results folders will be removed when garbace collector determines some package is no longer used?
<Neo--> or can I somehow remove them myself?
vidbina has quit [Ping timeout: 268 seconds]
<matthewbauer> no 'result' will not be removed by gc until you delete it yourself
spear2 has joined #nixos
arjen-jonathan has joined #nixos
<freeman42x[NixOS> should this not also automatically create symlink in PATH for th executable under the bin folder? https://github.com/razvan-panda/nixpkgs/blob/6c33a13c30d275a0ea1fb6393dc638598b32e3c1/pkgs/applications/misc/freeplane/default.nix
<freeman42x[NixOS> this derivation is based on Freemind one and for Freemind the symlink is created automatically
<Guest14344> lewo: Any experience getting virtio-ports available in a NixOS guest?
sud0x3 has quit [Ping timeout: 264 seconds]
sud0x3 has joined #nixos
<srhb> Neo--: /nix/var/nix/gcroots/auto contains symlinks to the result folders that nix-build has created for you. Once they are gone (and they will disappear during gc when the targets are gone, being "stale", I think is the term) they will stop preventing garbage collection.
<srhb> Neo--: Or you can play the find / -name result game and see if you can beat my weekly score!
Rusty1_ has quit [Quit: Konversation terminated!]
<TonyTheLion> srhb: yesss!! that was it! fixed it. Thank you!!
<srhb> TonyTheLion: Yay :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 3 new commits to master: https://git.io/vATp3
<NixOS_GitHub> nixpkgs/master c086125 Robert Helgesson: perl-Crypt-JWT: 0.019 -> 0.020
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master d3fc84d Robert Helgesson: perl-Sub-Quote: 2.003001 -> 2.005000
<NixOS_GitHub> nixpkgs/master 76f3f22 Robert Helgesson: perl-Encode: 2.93 -> 2.95
<pstn> Is somebody here succesfully using a switched tinc network on nixos?
flox has joined #nixos
sigmundv has joined #nixos
<simpson> pstn: I had had such a thing working at one point, but not any longer.
<pstn> simpson: How did you get a net to the network devices? Do you remember that? I need one for arp, but atm they all use just 00s because there isn't one.
<simpson> pstn: No, I don't remember that part of it; I had an existing network and I converted it to switching by telling each node to use Switched mode.
<pstn> simpson: I'm also still considering routed. Did you switch back to that because you had specific reasons?
<lewo> Guest14344: No, I never play with this
<simpson> pstn: I was playing around. Ultimately, I no longer have a tinc VPN set up.
griff_ has quit [Quit: griff_]
__monty__ has joined #nixos
freeman42x[NixOS has quit [Ping timeout: 265 seconds]
<__monty__> How do you keep your configuration in sync over multiple systems? (non-nixos)
<Neo--> srhb, what weekly score :D
<srhb> Neo--: You get to compete in who has littered most result symlinks all over the place!
<srhb> Beware, though, I'm notoriously good at this.
ryanartecona has joined #nixos
<gchristensen> I have a lot, but I'm cheating
stephenjudkins has quit [Remote host closed the connection]
<srhb> gchristensen: It's called "crowd sourcing" nowadays.
<gchristensen> haha, you saw right through me :)
<srhb> ;-)
sigmundv has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hamhut1066 opened pull request #34749: Add setting to configure group for systemd in Traefik (master...master) https://git.io/vATj6
NixOS_GitHub has left #nixos [#nixos]
<Neo--> srhb, haha :D
<pmeunier> gchristensen: that's only if you have an include = […] in your Cargo.toml
civodul has joined #nixos
sigmundv has joined #nixos
<Neo--> i was pretty bad myself until i found -o *blush*
<gchristensen> see my PM pmeunier :)
<pmeunier> but you're right, in future versions we should ignore the target directory.
<gchristensen> I think I sent you an improvement
<gchristensen> I mean, I sent you a patch. I think it is an improvement.
<Neo--> when i was experimenting with a python project the other day i accidentally created like 30 or something result-X folders :D
sud0x3 has quit [Quit: WeeChat 2.0.1]
aborsu has quit [Remote host closed the connection]
aborsu has joined #nixos
<sphalerite> what's the easiest way to get an extra symlink included in the system profile? That is, I want it to be in /run/current-system and /nix/var/nix/profiles/system-xyz-link
xcmw has joined #nixos
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fragamus has joined #nixos
fragamus has quit [Client Quit]
griff_ has joined #nixos
lexconfused has joined #nixos
<lexconfused> hey, guys, I'm trying to make my package just like in tutorial https://nixos.org/nix/manual/#sec-expression-syntax , but nix-build complains :error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
Drakonis has quit [Ping timeout: 256 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #34685: v8_3_16_14: fix on darwin (master...fix-darwin-v8_3_16_14) https://git.io/vAvaO
NixOS_GitHub has left #nixos [#nixos]
<lexconfused> the error message was not helpful
<LnL> pmeunier: around?
<lexconfused> so I changed my line { stdenv, fetchurl, perl }: to {stdenv ? stdenv, fetchurl ? fetchurl, perl ? perl }: as it suggests
<lexconfused> and got error: infinite recursion encountered, at /home/lex/Desktop/mystuff/nixexperiments/nixbox2/default.nix:3:11
<LnL> lexconfused: expressions like that have to be called first, you can't build those directly
<gchristensen> lexconfused: undo your ? stdenv, ?fetchurl, ... etc bits, then do: ./maintainers/scripts/nix-call-package ./yourpackage
hakujin has joined #nixos
<LnL> lexconfused: nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
<LnL> callPackage will call the function and fill in all of the arguments with packages from nixpkgs
matthewbauer has quit [Ping timeout: 265 seconds]
catch22 has joined #nixos
duckwho has joined #nixos
<lexconfused> oh that makes sense, and moving things forward, we should update https://nixos.org/nix/manual/#sec-building-simple accordingly
MP2E has joined #nixos
<pmeunier> LnL: yes
<LnL> how does carnix detect system dependencies?
<LnL> do packages have some kind of metadata field that you use or does that happen differently
<lexconfused> lex@nixos ~/D/m/n/nixbox2> nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}' these derivations will be built: /nix/store/c05ilq0r2fsr5bglnigakw984zfp65hk-hello-2.1.1.drv building path(s) ‘/nix/store/m246pm7rcpfgd4h0qnj9fkssraifw777-hello-2.1.1’ /nix/store/b4c9y6nx7sy04fyk1211l9bpvff80r77-builder.sh: line 3: 2: command not found builder for ‘/nix/store/c05ilq0r2fsr5bglnigakw984zfp65hk-hello-2.1.1.drv’
leotaku has joined #nixos
rauno has joined #nixos
<pmeunier> LnL: carnix doesn't detect system dependencies, you have to use crateOverrides for that
<lexconfused> I made mistake in my build.sh . how may I force nix to use build.sh in my current directory, instead of outdated /nix/store/b4c9y6nx7sy04fyk1211l9bpvff80r77-builder.sh ?
<pmeunier> we could try to detect the presence of #[link(name=…)] by grepping the source code, but that's only one way to specify dependencies in Rust
<pmeunier> there are others, and guessing the package name from that would be hard.
<leotaku> after doing a nixos-rebuild --upgrade right now, it seems like NixOS is trying to redownload nearly all packages I have ever installed. is this expected behavior?
duckwho has quit [Quit: WeeChat 2.0.1]
<lexconfused> oh , my fault, sorry, I fixed it, nvm.
<pmeunier> but it would be really great if you could add more dependencies to https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/rust/default-crate-overrides.nix
duckwho has joined #nixos
duckwho has quit [Client Quit]
<lexconfused> leotaku , i beleive it is expected, because with '--upgrade' you upgraded all minor versions to fresh channel
* lexconfused watched le NHK ni yokoso for last few days
stephenjudkins has joined #nixos
<leotaku> lexconfused: could you explain to me what a "minor version" is?
<LnL> pmeunier: ah interesting, going over a bunch of the generation tools to see how they deal with it
<gchristensen> Mic92: mind stepping in to #nixos-borg?
<Mic92> gchristensen: so many channels :)
<gchristensen> :P
<lexconfused> leotaku an package hello_world of version 1.01 have 1. as major, and .01 as minor. an upgrade could be made to hello_world 1.02 and so on
<leotaku> lexconfused: ok that makes sense. I just found it strange how many packages there were/are(still going) to be fetched, as I just recently --upgraded my system.
hiroshi has quit [Ping timeout: 255 seconds]
<lexconfused> LnL how I can pass /file/system/path/to/mytarball as SRC to stdenv.mkDerivation ?
Slabity has quit [Remote host closed the connection]
<coconnor> src = /file/system/path;
<lexconfused> sound too good and simple to work in NIX
<coconnor> oh! didn't see the tarball part
<coconnor> though... I think that will still work
<lexconfused> why don't we have just API refference for functions like stdenv.mkDerivation, with a list of all possible input args, values
<Guest14344> lewo: well if you're curious, I found a workaround :) https://github.com/NixOS/nixpkgs/issues/34722
<coconnor> I think the documentation is at the limit of what an untyped language can support haha
asuryawanshi has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/b34a5f6d874 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<coconnor> lexconfused: here is the best docs on mkDerivation https://nixos.org/nix/manual/#ssec-derivation
Thra11 has joined #nixos
nico202 has joined #nixos
Drakonis has joined #nixos
Itkovian has joined #nixos
<lexconfused> i'm suprised that src = ./mycode/hello-mycode-0.1.tar.gz; really worked!
<dtz> it'd be super great if work on improving the installer for Nix was taken seriously
<dtz> *for non-darwin platforms, lol
<dtz> nix is great! It's a shame not everyone uses NixOS. But in the meantime it'd become us to help folks get started O:)
<dtz> it's not easy to quality-control that sort of thing, I know O:)
<dtz> esp as nix explodes into a billion use cases and environments xD
<coconnor> gives some overview of the generic builder that's the default builder for mkDerivation
arjen-jonathan has quit [Ping timeout: 276 seconds]
<lexconfused> thanks coconnor
mkoenig has joined #nixos
thblt has quit [Ping timeout: 256 seconds]
<coconnor> np. Too much jumping around, but the docs are there.
<coconnor> Still would like nix to be typed tho haha
* lexconfused still would prefer some clear eye table refference like javadoc https://docs.oracle.com/javase/7/docs/api/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin opened pull request #34750: treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/ (master...fix-pkgs-fedoraproject-org) https://git.io/vAktZ
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #34751: vifm: 0.9.0 -> 0.9.1 (master...update/vifm-0.9.1) https://git.io/vAktF
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] razvan-panda opened pull request #34752: Freeplane: init at 1.6.13 (master...freeplane) https://git.io/vAkqe
NixOS_GitHub has left #nixos [#nixos]
<lexconfused> damn, when you lurking for CC flags and finding this http://www.ronniethesim.com/custom-content/cc-flags/ what happened to web
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] noqqe opened pull request #34753: Multiple users with hashedPassword is broken in mosquitto (master...master) https://git.io/vAkqU
NixOS_GitHub has left #nixos [#nixos]
ma27 has quit [Ping timeout: 260 seconds]
chreekat has joined #nixos
knupfer has quit [Ping timeout: 255 seconds]
griff_ has quit [Quit: griff_]
coot has joined #nixos
cz has joined #nixos
cz is now known as cz_
cz_ is now known as cz__
<leotaku> so, since I first started upgrading my system with "nixos-rebuild switch --upgrade" 1-2 hours ago nix/NixOS has been compiling drivers from source.
rihards has quit [Quit: rihards]
<leotaku> is this expected? Shouldn't it use precompiled binaries, or is that impossible for some drivers?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #34126: init: kubectl at 1.7.9 (alias for kubernetes with only kubectl component) (master...kubectl) https://git.io/vN2KJ
NixOS_GitHub has left #nixos [#nixos]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin opened pull request #34754: treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/ (release-17.09...fix-pkgs-fedoraproject-org-17.09) https://git.io/vAkqo
NixOS_GitHub has left #nixos [#nixos]
hiratara has quit [Ping timeout: 276 seconds]
flox has quit [Quit: Page closed]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #34755: WIP: Fetch sources (master...fetchSources) https://git.io/vAkqM
NixOS_GitHub has left #nixos [#nixos]
<gchristensen> :eyes: zimbatm
<zimbatm> I did this in the plane, let me know what you think :)
<zimbatm> going offline, running out of battery
hiratara has joined #nixos
<gchristensen> see ya
freeman42x[NixOS has joined #nixos
azertyieio has quit [Ping timeout: 255 seconds]
<leotaku> Ok, so my system just successfully finished updating, sorry for bothering you guys with my useless questions.
sigmundv has quit [Read error: Connection reset by peer]
cz__ has quit [Ping timeout: 240 seconds]
ryanartecona has quit [Quit: ryanartecona]
<lexconfused> it is ok
<lexconfused> you may want use nix-channel --update , it is quicker, in case you want update particular package with nix-env -i .
Thra11 has quit [Quit: IRC for Sailfish 0.9]
<leotaku> lexconfused: I actually try to keep all of my NixOS-configuration declarative, so this is not really an option to me, but thanks anyway.
Drakonis has quit [Read error: Connection reset by peer]
[0x4A6F] has joined #nixos
leotaku has quit [Quit: WeeChat 2.0]
<lexconfused> I forgot to ask him if he likes anime...
sigmundv has joined #nixos
fresheye1 has joined #nixos
fresheyeball has quit [Ping timeout: 260 seconds]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vAkOc
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/master 468ea40 Miguel Madrid Mencía: vifm: 0.9.0 -> 0.9.1
tertleeltret has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor closed pull request #34751: vifm: 0.9.0 -> 0.9.1 (master...update/vifm-0.9.1) https://git.io/vAktF
NixOS_GitHub has left #nixos [#nixos]
94KAAD7VV has joined #nixos
<94KAAD7VV> nixpkgs/master dfd300c Dan Peebles: treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/...
<94KAAD7VV> [nixpkgs] copumpkin pushed 2 new commits to master: https://git.io/vAkO0
94KAAD7VV has left #nixos [#nixos]
<94KAAD7VV> nixpkgs/master d21a31f Daniel Peebles: Merge pull request #34750 from copumpkin/fix-pkgs-fedoraproject-org...
07EAAXDGO has joined #nixos
<07EAAXDGO> [nixpkgs] copumpkin closed pull request #34750: treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/ (master...fix-pkgs-fedoraproject-org) https://git.io/vAktZ
07EAAXDGO has left #nixos [#nixos]
stephenjudkins has quit [Remote host closed the connection]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/release-17.09 15715be Daniel Peebles: Merge pull request #34754 from copumpkin/fix-pkgs-fedoraproject-org-17.09...
<NixOS_GitHub> [nixpkgs] copumpkin pushed 2 new commits to release-17.09: https://git.io/vAkOg
NixOS_GitHub has left #nixos [#nixos]
<NixOS_GitHub> nixpkgs/release-17.09 0a659c4 Dan Peebles: treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #34754: treewide: s/pkgs.fedoraproject.org/src.fedoraproject.org/ (release-17.09...fix-pkgs-fedoraproject-org-17.09) https://git.io/vAkqo
NixOS_GitHub has left #nixos [#nixos]
catch22 has quit [Ping timeout: 264 seconds]
sigmundv has quit [Remote host closed the connection]
Lisanna has joined #nixos
<Lisanna> does nixUnstable change the format of binary caches at all?
<Lisanna> I'm getting this really strange errors about paths not being valid when I try to copy from a local binary store (--from file://...)
<Lisanna> only thing I can think is that the versions of nixUnstable that produced the binary cache and the version that reads from it might be different
sigmundv has joined #nixos
szicari has quit [Quit: szicari]
<Lisanna> argh, no, that's not the issue, nevermind
chreekat has quit [Quit: quitting]
TonyTheLion has quit [Ping timeout: 260 seconds]
<dtz> phew, that'd be unfortunate
<Lisanna> still have no idea what the issue is though... for some paths it works, for other paths it says they're not valid (but never *why* they're not valid... arrgghhh)
hiratara has quit [Quit: ZNC - http://znc.in]
alex`` has quit [Ping timeout: 255 seconds]
andrew_dunham has joined #nixos
<Lisanna> But nix verify says the path in the binary cache is fine :|
p_l has joined #nixos
AluisioASG has quit [Remote host closed the connection]
hiratara has joined #nixos
AluisioASG has joined #nixos
simukis has quit [Quit: simukis]
<dtz> (recently I've been reading the notes anyway and so forwarding ones related to draw latency / "lag" is not a problem)
civodul has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
<dtz> Lisanna: that's lame. And clear behavioral differences between nix versions used? Don't know anything about that but.. **sympathy**
<Lisanna> that means the only remaining explanation is... oh god
mzan has joined #nixos
<Lisanna> no, they're the same version
<andrew_dunham> If anyone around here has experience building NixOS with a custom kernel, would you mind taking a look at my config? I'm trying to install NixOS on a currently-unsupported device (ODROID HC2), and I can't seem to get it to use my custom kernel: https://gist.github.com/andrew-d/d5cee00dd06b24097bdc12ae50520ce8
<LnL> dtz: <3
<andrew_dunham> The error message is essentially that it can't find the `odroidxu4_defconfig` target, which appears to be because my kernel override isn't applying everywhere
<andrew_dunham> So I'm wondering if I'm making a dumb mistake and not overriding all the various things that I should be such that it's only using the specified kernel
<dtz> andrew_dunham: try looking on nixpkgs for recent issues/PR's--there's been a flurry of work re:custom kernels particularly in context of embedded or cross-compilation. I haven't been tracking them all so don't have answers but it's likely someone has a PR that fixes all that for you O:)
stephenjudkins has joined #nixos
<LnL> dtz: btw did you see shlevy's message?
<dtz> damn I really miss an IRC client that I'm familiar with (irssi for years, server died, haven't restored my setup re:IRC and been limping on matrix)
<dtz> right now I want a quick answer to "messages shlevy sent me in past day or two or three" so I can answer xD
<dtz> in other words...maybe? what message? :D
<dtz> (matrix has a search but it's so slow that I always regret attempts to use it :P)
<LnL> if you're interested in having commit rights you should ask for it :)
lord| has joined #nixos
andrew_dunham has quit [Ping timeout: 260 seconds]
klntsky has quit [Ping timeout: 255 seconds]
<gchristensen> dtz: you don't have commit bit?
<dtz> :D okay. I.. have mixed feelings. I would love commit rights and hope it's not too bold to say I do think I've shown I'm worthy O:). But I've held back so far because it forces me to go through review which is nice :). But I suppose there's no reason I can't still ask for review on things or even post-commit review on the off-chance I make the inevitable mistake.
<dtz> especially since with commit rights maybe I can help eliminate our PR backlog instead of only adding to it! :D
<dtz> gchristensen: I do not! .. "yet"? :D
<gchristensen> hrm. ping domenkozar?
* dtz would like to officially request commit rights
klntsky has joined #nixos
<gchristensen> I think earlier there was a misunderstanding around commit bit to _nix_ vs _nixpkgs_
<LnL> yeah
nico202 has quit [Quit: Leaving]
<dtz> anyone else find themselves wanting different "roles" for their account? haha, for people lke me than wear many hats
coot has quit [Quit: coot]
<gchristensen> dtz: I wish github had _ANY_ form of access control levels at all
<dtz> well to be fair I .. i did think shlevy was asking about nix commit rights specifically. And I think that would be very helpful since I keep fixing things and waiting for someone to notice and merge :)
<gchristensen> oh I see, then there was a misunderstanding and it was mine :PP
<dtz> but it also seems our fearless leader is (probably rather rightfully so) very much trying to keep nix itself from spiraling out of control
<gchristensen> yes :)
<LnL> oh, same but either way I feel like you should get nixpkgs if you want
<dtz> a hard balance to strike, honestly :). Creative control when you don't have infinite time to scale to infinite community's needs
<dtz> anyway
<dtz> there I'd just rather the nix project was a bit more active re:community and less about ... whatever goals it has. Kinda don't want anything not reviewed there anyway :D
<dtz> LnL: okay well thanks for the suggestion I'll do my bestest
<dtz> (presumably Ggchristensens's mention above pinged the right person already?)
<gchristensen> hrm... for the second time my laptop has run out of disk space...
<dtz> hey re:"nixos-rebuild --build-host" -- this seems to need the ssh user to be "trusted" (re:signatures QQ), is that correct/expected? Is there a workaround?
<gchristensen> you can do it as root?
[0x4A6F] has quit [Ping timeout: 240 seconds]
<dtz> otherwise it seems like it's exactly the same as configuring buildMachines only I suppose nice to opt-in in an accessible manner
<dtz> okay
<__monty__>  /wc
<__monty__> Woops
__monty__ has left #nixos [#nixos]
<gchristensen> 45508 store paths deleted, 120082.12 MiB freed
<dtz> :)
freeman42x[NixOS has quit [Ping timeout: 255 seconds]
<dtz> ha! nice
<LnL> that's was pretty fast
<gchristensen> hmm you're right ...
freeman42x[NixOS has joined #nixos
<LnL> still wonder why my vim-nix doesn't seem to suffer from that
<dtz> my vim-nix gripe: visual-block insert gets interrupted/broken by some indent changes
<dtz> don't think it's specific to my stack but have not attempted to isolate it.
<dtz> I use that to comment out code often xD
spietz has quit [Ping timeout: 248 seconds]
<LnL> please make an issue if you have something that's kind of reproducable
joshuaks has quit [Quit: WeeChat 1.9.1]
abathur has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> nixpkgs/master 78a17f5 Tim Steinbach: helm: 2.7.2 -> 2.8.0
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to master: https://git.io/vAkCN
NixOS_GitHub has left #nixos [#nixos]
<Lisanna> I'm thinking that my problems might be related to NFS madness. if anyone has any experience with using binary caches from weird filesystem mounts, please don't hesitate to spam me with information about it
iqubic has joined #nixos
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lisanna has quit [Quit: Lisanna]
<lexconfused> I faced this problem https://stackoverflow.com/questions/6329887/compiling-problems-cannot-find-crt1-o what would be NixOS solution\approach to that?
klntsky has quit [Ping timeout: 255 seconds]
yegortim1 has quit [Ping timeout: 255 seconds]
mzan has left #nixos [#nixos]
Neo-- has quit [Ping timeout: 256 seconds]
fragamus has joined #nixos
Lisanna has joined #nixos
throwup has joined #nixos
<Lisanna> lexconfused is this a problem you're having with a Nix package?
<Lisanna> or are you asking how Nix would help you avoid this problem?
andrew_dunham has joined #nixos
<dash> lexconfused: write a nix expression for your project, configure whether to use gcc or clang in that
<throwup> so I just updated my system and found out that I now have lots of packages installed multiple times in /nix/store these packages don't seem to go away, even after a "nix-collect-garbage", what should I do to remove them?
<dtz> LnL: you motivated me to try to repro! Issue filed :)
<Lisanna> throwup maybe they're referenced by previous generations?
mkoenig has quit [Ping timeout: 263 seconds]
<LnL> dtz: thanks! I use https://github.com/tpope/vim-commentary instead of vblock otherwise I would have probably noticed myself
mkoenig has joined #nixos
<rardiol1> I think there is a difference between "nix-collect-garbage", "nix-collect-garbage -d", "sudo nix-collect-garbage", "sudo nix-collect-garbage -d"?
<throwup> Lisanna: I remove old generations with "sudo nix-env delete-generations old" correct?
klntsky has joined #nixos
yegortim1 has joined #nixos
<Lisanna> throwup nix-env --delete-generations old
<LnL> is this on nixos?
<throwup> Lisanna: i did set the "--" in the actual command
<throwup> LnL: Me? If so, yes I am on nixos
<LnL> the last booted system is a gcroot so that won't get garbage collected
<LnL> run nix-store -q --roots <path> so see why a path is alive
<clever> rardiol1: "nix-collect-garbage" and "sudo nix-collect-garbage" are identical
<clever> rardiol1: -d deletes all generations from the profiles it has access to, so root can matter
<clever> all but the last one
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] razvan-panda closed pull request #34556: Freetype GL: init at 2017-08-10 (master...master) https://git.io/vNxe6
NixOS_GitHub has left #nixos [#nixos]
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<throwup> Oh, It seems like the packages were kept alive by a result I created when playing around with nix.
asppsa[m] is now known as asp_
<throwup> I removed that and now I could trash the old versions.
<throwup> Thanks a bunch guys!
<LnL> don't worry about running gc all the time if you have enough disk space
<dtz> nix tool proposal: interactive "do you still need this root?" utility lol
* dtz usually grep's "nix-store --gc --print-roots" a few times and removes things that were entirely not important or resolved
fragamus has joined #nixos
lexconfused has quit [Quit: Page closed]
<throwup> LnL: yeah, but that update nearly doubled my used disk space.
<Lisanna> does nixUnstable's nix have some level of verbose logging I can turn on? "'/nix/store/foo' is not a valid path" doesn't really tell me anything :/
xcmw has joined #nixos
<LnL> you can use -vvvvv but I'm not sure how helpful that would be
chisui has quit [Ping timeout: 260 seconds]
andrew_dunham has quit [Ping timeout: 260 seconds]
yann-kaelig has quit []
<Lisanna> LnL thanks, it decided to stop reproducing though x_x
mizu_no_oto has joined #nixos
alexteves has quit [Ping timeout: 265 seconds]
alexteves has joined #nixos
<Lisanna> I'm so happy I don't have to debug this while also having to worry about things like LD_LIBRARY_PATH
<Lisanna> <3 nix
hamishmack has quit [Quit: hamishmack]