<NixOS_GitHub> [nix] steveeJ opened pull request #1275: nix-shell/pure: keep environment variable SHLVL (master...patch-1) https://git.io/vyKUb
joneshf-laptop has quit [(Remote host closed the connection)]
Rizy has joined #nixos
Sonarpulse has joined #nixos
agjacome has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
devoid has joined #nixos
loupgaroublond has quit [(Quit: Bisy backson!)]
<devoid> hi all, anyone know what the right instructions are for setting up a luks encrypted root + boot partition…
loupgaroublond has joined #nixos
<devoid> https://nixos.org/nixos/manual/index.html#sec-luks-file-systems seems to indicate that this will work but I get grub_install errors.
<NixOS_GitHub> [nixpkgs] bobakker opened pull request #23772: caf: init at 0.15.3 (master...init/caf-0.15.3) https://git.io/vyKT1
<clever> devoid: what did you set grubdevice to?
JagaJaga has quit [(Ping timeout: 240 seconds)]
<samae> devoid: is your boot partition encrypted? If not there should be no need for "boot.loader.grub.enableCryptodisk" (according to the manual)
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23773: cdk:5.0-20160131 -> 5.0-20161210 (master...cdk) https://git.io/vyKT5
<devoid> samae, I'm trying to make it encrypted.
<clever> devoid: what did you set grub.device to?
eacameron has quit [(Remote host closed the connection)]
<devoid> boog.loader.grub.device = "/dev/sda";
<clever> thats not it then
<clever> can you gist the configuration.nix and hardware-configuration.nix?
<devoid> yea, is there a nix-preffered gist site?
<clever> gist.github.com, nix also has a gist command
<clever> nix-env -iA nixos.gist ; gist -p configuration.nix hardware-configuration.nix
<clever> there is a nixpaste site, but i prefer gist because is sanely handles multiple files
<devoid> … gonna take a second as wpa_supplicant is failing to handle my non-ascii ssid… gotta plug in
eacameron has joined #nixos
<clever> devoid: you forgot to set isNormalUser=true; on your user
<clever> that provides a sane default for home
<clever> checking the rest now...
<clever> devoid: ah, reguarding the comment on line 23, the grub device must be the root, sda, it cant be a partition
<clever> and only GPT has a uuid for the root of the device
<clever> sda works, just need to be careful when the drives change order
<clever> { name = "root"; device = "/dev/sda3"; preLVM = true; }
<clever> devoid: only other major difference i can see vs my config, is that i set it to open the luks before lvm
<clever> but that wont affect grub install
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23774: celt: Added version 0.11.1 (master...celt) https://git.io/vyKkl
markus1209 has joined #nixos
<devoid> clever, thanks. I suspect it has something to do with my partitions, since I have never really understood the magic in how they work for UEFI boot
markus1219 has joined #nixos
<clever> devoid: the config you gave doesnt enable efi
<c74d> How does one determine whether a system has EFI vs BIOS?
<clever> devoid: is this a gpt drive?
<c74d> (with only a root shell, that is)
<clever> devoid: if you want to boot via legacy with GPT, you must create a 1mb partition with the type set to "bios boot partition"
<clever> devoid: and if you want to boot with EFI, there must be an unencrypted fat32 for the bootloader
markus1199 has quit [(Ping timeout: 246 seconds)]
k0001_ has quit [(Ping timeout: 260 seconds)]
<clever> devoid: and the error said exactly the same thing, "warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible"
<c74d> (never mind on my question; looked it up)
markus1189 has quit [(Ping timeout: 257 seconds)]
<c74d> clever: why does your kexec system automatically reboot on the hour?
<c74d> and, can I stop it?
<clever> c74d: if you cant get into it, it will reboot back to the previous os
<c74d> ah
<clever> c74d: and you can stop it with "systemctl stop autoreboot.timer"
<clever> i was last using it in a datacenter that lacked DHCP
<c74d> makes sense, and `shutdown -c` seems to have-- oh
<clever> so i had to correctly configure the network perfectly
<clever> or i had no way to remotely stop nixos
<c74d> okay, done; thanks
<clever> i gave it a 5 minute delay so i could always shutdown -c if i forgot
hlolli_ has quit [(Remote host closed the connection)]
amir has quit [(Ping timeout: 268 seconds)]
<clever> that datacenter was also a "fun" test of kexec
<clever> c74d: with past experiments on a dedicated box, i found that the dhcp gives a private ip with NAT to the web, and you must configure a static public ip manualy to be open to the web
<clever> c74d: so i configured my vpn to connect out on bootup, using the private ip from dhcp
<clever> c74d: only to discover, VM's get zero dhcp, and it had no routable v4 ip
<ndowens08> hmm why does vim now only let me delete whitelines in visual instead of insert? I had to reinstall nixos due to running out of partition space and now I can't Del and white lines get deleted
<clever> c74d: but by chance, i noticed it had an ipv6 link-local ip, and was able to get in
<clever> ndowens08: i put my vim config into configuration.nix, so it always gets restored to the identical setup
phreedom has joined #nixos
<ndowens08> clever: nice, i caried my configuration.nix with me when i reinstalled but not vim :\
<ndowens08> carried*
<devoid> clever what's the format of the "Bios Boot partion" there's no such entry in fdisk's table
<clever> devoid: the bios boot partition has no FS on it, grub will write raw x86 code directly to the partition
<clever> devoid: the stub in the MBR (the first 512 bytes) will execute the raw code in the biso boot partition
<clever> devoid: and in your case, that raw chunk of x86 has luks support, and will ask for the pw to unlock / and load the kernel
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23775: ceres-solver: 1.10.0 -> 1.12.0 (master...ceres-solver) https://git.io/vyKIL
desktop has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] copumpkin opened pull request #23776: minikube: switch to build from source & mostly fix on Darwin (master...minikube-source) https://git.io/vyKIG
<ndowens08> hmm clever it doesnt like let in my configuration.nix gives unexpected LET
<clever> ndowens08: can you pastebin your configuration.nix?
<ndowens08> maybe because it isnt at top
<clever> yeah, the let ... in ... has to go before a value
<clever> so it cant go directly inside an attrset where key=value pairs belong
<clever> you can do key = let ... in value; but then it gets ugly
<clever> the let block basicaly defines local constants for the value after the 'in' keyword
k0001_ has joined #nixos
fnljk has joined #nixos
<ndowens08> yeah not working at beginning either https://gist.github.com/anonymous/37fb13201bb0feed934508149d6abf7c
<clever> ndowens08: line 42-51 is your problem
<clever> ndowens08: you now have 2 attribute sets
<clever> you need let ... in value, not let ... in value value
<ndowens08> weird, b/c that was how your gist looked like
<clever> just take out lines 45 and 50
<clever> look closer at my gist, it only has a single {} after the in keyword
<ndowens08> for the in
<clever> that {} is the entire body of the file
<clever> there is nothing after it
<ndowens08> ah
<clever> i load that via imports = [ ./vim.nix ];
<clever> so i can reuse it without changes between many machines
amir has joined #nixos
marsam has joined #nixos
<devoid> I'm still getting this grub-install error even after repartitioning and making /dev/sda1 a 1MB partition… /dev/sda2 being the luks + lvm partition
<devoid> Do I need to format /dev/sda1 as something?
<clever> devoid: no, let me find a command to inspect it
<clever> devoid: does fdisk show the same attribute as on line 36?
<NixOS_GitHub> [nixpkgs] asppsa opened pull request #23777: purePackages.octave: 0.7 -> 0.9 (master...pure-octave-0.9) https://git.io/vyKIN
<devoid> no, it does not
<clever> i believe you can set it with fdisk
<devoid> ah yes, 'experts' mode
<clever> devoid: it may be the A command under expert mode, you can confirm it did the right thing by checking i again
<clever> ive usualy made it from gparted
<devoid> Yes, although I still get the grub-install complaint
<clever> is the grub device still set to sda?
<devoid> yes
<clever> how did you quit fdisk?
<devoid> 'r' > return to main menu, 'w' > write, 'q' > quit
<devoid> there was a warning that the kernel still sees old data so I'm rebooting
<clever> q is quit without saving
<clever> oh w was also there
<clever> yeah, try rebooting, and confirm fdisk shows the right attr still
xvapx has quit [(Quit: xvapx)]
spinus has quit [(Ping timeout: 256 seconds)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23778: cfitsio: 3.21 -> 3.41 (master...cfitsio) https://git.io/vyKLU
nh2 has quit [(Ping timeout: 260 seconds)]
MP2E has joined #nixos
<devoid> clever, nope still having the "no bios partition" issue
<clever> devoid: can you gist the output of fdisk, along with the i of the bios boot partition?
<devoid> clever, how do you fdisk to print to stdout?
<devoid> especially for the 'i' option
<clever> i just manualy ran it and copied the terminal output
Rizy has quit [(Quit: Rizy)]
<devoid> yea, not in a graphical terminal
marsam has left #nixos ["Killed buffer"]
<devoid> Yours has "Type: BIOS Boot" but how do you set that?
<clever> using gparted, a gui partitioning program
<devoid> there is no partition type for that or if there is I can't see it.
<clever> it may also be in the t command of fdisk
<devoid> because fdisk is a terrible horrible program and the 't' command scrolls off the screen.
<devoid> and noo, nobody is going to post that online.
<clever> shift + pageup to scroll in most terminals
<devoid> this is in the liveCD
<devoid> no graphics
<clever> shift+page up also works in the raw tty of linux
<clever> but the scrollback is cleared when you change tty
<devoid> ah ok, after getting a keyboard with those keys, yes, you can scrollback
<devoid> '04' for the partition type.
<devoid> grub-install works now, although the system doesn't boot off the new disk.
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23779: chipmunk:7.0.0 -> 7.0.1 (master...chipmunk) https://git.io/vyKL8
eacameron has joined #nixos
<devoid> so my UEFI can't find the disk I guess? I don't know where to turn here...
phreedom has joined #nixos
nh2 has joined #nixos
mudri has quit [(Quit: WeeChat 1.7)]
<NixOS_GitHub> [nixpkgs] asppsa opened pull request #23780: pure: 0.64 -> 0.66 (master...pure-0.66) https://git.io/vyKLS
<clever> devoid: you may need to turn off secureboot and enable the compatability module
<clever> devoid: does it say GRUB when booting?
Rizy has joined #nixos
bennofs has quit [(Ping timeout: 264 seconds)]
<c74d> clever: to use ZFS on a BIOS system, do I need a non-ZFS boot partition?
* c74d lacks familiarity with ZFS+BIOS
<ndowens08> Does libgroove compile for you guys, nix-build -A libgroove updating a library, the one i updated builds fine but libgroove fails with nox-review wip and also just nix-build -A libgroove
<clever> c74d: ive only ever done it with a ext4 /boot, but the nixos modules imply it can work without that
<ndowens08> So i dont think it is b/c of my update
iyzsong has joined #nixos
eacameron has quit [(Remote host closed the connection)]
<Rotaerk> hmm if I'm printing out usage information, how should I represent required argument X *or* Y
<ndowens08> can someone verify?
<Rotaerk> blah [<a> | <b>] -- I think this means <a> or <b> but optional
danharaj has quit [(Ping timeout: 264 seconds)]
<ndowens08> nah nvm it seems to be the update
mbrgm has quit [(Ping timeout: 256 seconds)]
eacameron has joined #nixos
<Rotaerk> maybe I'll do... <a | b>
mbrgm has joined #nixos
exarkun has quit [(Read error: Connection reset by peer)]
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
Rizy has quit [(Quit: Rizy)]
eacamero_ has quit [(Ping timeout: 240 seconds)]
exarkun has joined #nixos
phreedom has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
<devoid> clever, no grub, this is on a 2011 MacbookPro that I'm repurposing.
<devoid> time to throw in the towel for the night though.
<paperd> Does anyone know about GTK+ 3.22?
<clever> devoid: ah, i think the macbook's dont support legacy booting
<clever> devoid: so it needs an unencrypted fat32 /boot partition for efi use, and boot.loader.grub.efiSupport = true; and grub.device = "nodev";
<devoid> clever, ok, I can give those a try
<clever> devoid: this should have some more info: https://wiki.archlinux.org/index.php/Mac#Arch_Linux_only
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23781: chromaprint: 1.3.1 -> 1.3.2 (master...chromaprint) https://git.io/vyKtP
eacameron has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23782: cimg: 1.7.0 -> 1.7.9 (master...cimg) https://git.io/vyKt9
Rizy has joined #nixos
griff_ has quit [(Quit: griff_)]
alx741 has quit [(Quit: alx741)]
devoid has quit [(Quit: Leaving.)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23783: cl:1.2.1 -> 1.2.3 (master...cl) https://git.io/vyKtb
<c74d> Hm, does making a NixOS module's `imports` attribute depend on configuration options from other modules necessarily cause infinite recursion?
<clever> c74d: the config argument passed to every module, is the result of inteligently merging the .config attribute RETURNED by every module
<clever> c74d: so you are getting your own return value as an argument
<clever> c74d: as long as nix can figure out the key names within your .config attrset, it can compute which module to route into, and lazy its way around the problem
eacameron has joined #nixos
paperdigits has joined #nixos
filterfish has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23784: concurrencykit: 0.4.5 -> 0.6.0 (master...ck) https://git.io/vyKqt
systemfault has quit [(Quit: Bye!)]
the_ktosiek has joined #nixos
bjarki has joined #nixos
Khetzal_ has joined #nixos
socksy_ has joined #nixos
ndowens08 has quit [(Ping timeout: 240 seconds)]
tippenei1 has joined #nixos
mkoenig_ has joined #nixos
anderslu1dstedt has joined #nixos
pierron_ has joined #nixos
kosmikus_ has joined #nixos
bjarki has quit [(Client Quit)]
nmikhailov_ has joined #nixos
kier has joined #nixos
Bane^^ has joined #nixos
systmkor_ has joined #nixos
batdog_ has joined #nixos
Shados_ has joined #nixos
Shados_ has quit [(Client Quit)]
k0001_ has quit [(Ping timeout: 240 seconds)]
Shados_ has joined #nixos
Bane^^ is now known as Bane^
nmikhailov_ is now known as nmikhailov
Shados_ is now known as Shados
Acou_Bass has joined #nixos
martinklepsch has joined #nixos
alibabzo has joined #nixos
[0x4A6F] has joined #nixos
zombified has joined #nixos
chris| has joined #nixos
Mateon1 has joined #nixos
iclanzan has joined #nixos
saintromuald has joined #nixos
pdobrogost has joined #nixos
copumpkin has joined #nixos
<iclanzan> Hi guys! I would really appreciate some help with changing the xserver cursor theme. I am using i3wm and normally setting `Xcursor.theme` in `.Xresources` would do it but because NixOS doesn't install icon themes in `/usr/share/icons` or `~/.icons` this doesn't work. Any ideas?
spleeder has joined #nixos
spleeder has quit [(Client Quit)]
Wizek has joined #nixos
Wizek_ has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] ehmry pushed 1 new commit to master: https://git.io/vyKqx
<NixOS_GitHub> nixpkgs/master a7843b0 ndowens: chromaprint: 1.3.1 -> 1.3.2
zraexy has joined #nixos
hexagoxel has joined #nixos
iclanzan has quit [(Ping timeout: 240 seconds)]
<c74d> nixos-install is building gtk+ on my new headless VPS. Can I avoid this? If so, how?
devoid has joined #nixos
iclanzan has joined #nixos
spleeder has joined #nixos
<iclanzan> Anyone here have any experience changing the mouse cursor theme in Xorg? I am using i3wm and normally setting `Xcursor.theme` in `.Xresources` would do it but because NixOS doesn't install icon themes in `/usr/share/icons` or `~/.icons` this doesn't work. Any ideas?
spleeder has quit [(Client Quit)]
stepcut has quit [(Remote host closed the connection)]
devoid has quit [(Quit: Leaving.)]
devoid has joined #nixos
paperdigits has quit [(Quit: WeeChat 1.0.1)]
eacameron has joined #nixos
stepcut has joined #nixos
Rizy has quit [(Quit: Rizy)]
Rizy has joined #nixos
stepcut has quit [(Ping timeout: 246 seconds)]
<devoid> anyone know how to get systemd-boot to mount a luks volume?
hexagoxel has quit [(Ping timeout: 260 seconds)]
systemfault has joined #nixos
hexagoxel has joined #nixos
mizu_no_oto has joined #nixos
devoid has quit [(Quit: Leaving.)]
nh2 has quit [(Quit: Leaving.)]
Rizy has quit [(Quit: Rizy)]
spacekitteh has quit [(Ping timeout: 264 seconds)]
<contrapumpkin> is the nixpkgs go not able to cross-compile properly?
<contrapumpkin> err, not even cross-compile actually
tnks has quit [(Ping timeout: 246 seconds)]
tnks has joined #nixos
spacekitteh has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
SuprDewd has joined #nixos
hexagoxel has joined #nixos
<Havvy> I'm not getting `nix-env -i nodejs-7_x -f ~/workspace/nixpkgs` to work, even though `nix-env -i nodejs -f ~/workspace/nixpkgs` does.
<Havvy> error: selector ‘nodejs-7_x’ matches no derivations
spacekit1eh has joined #nixos
<Havvy> What am I doing wrong?
ok2` has quit [(Ping timeout: 240 seconds)]
spacekitteh has quit [(Ping timeout: 260 seconds)]
Rizy has joined #nixos
RchrdB has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
eacameron has quit [(Remote host closed the connection)]
iclanzan has quit [(Quit: WeeChat 1.7)]
dbmikus has joined #nixos
dbmikus has quit [(Ping timeout: 246 seconds)]
filterfish has quit [(Remote host closed the connection)]
dbmikus has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
endformationage has quit [(Quit: WeeChat 1.6)]
olejorgenb has joined #nixos
devoid has joined #nixos
MP2E has quit [(Quit: night)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
filterfish has joined #nixos
hexagoxel has joined #nixos
devoid has quit [(Quit: Leaving.)]
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vyK3y
<NixOS_GitHub> nixpkgs/master e18d518 Peter Hoeg: heroku-cli: 5.6.14 -> 5.6.32
elninja44 has joined #nixos
griff_ has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
griff_ has quit [(Ping timeout: 246 seconds)]
hexagoxel has joined #nixos
mg_ has quit [(Ping timeout: 264 seconds)]
mg_ has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyKsg
<NixOS_GitHub> nixpkgs/master c9d8ae0 Vincent Laporte: ocamlPackages.ocaml-migrate-parsetree: init at 0.5...
<zetok> contrapumpkin: has the search functionality been improved compared to version in 16.09 ?
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyKsa
<NixOS_GitHub> nixpkgs/master 1e68693 ndowens: cimg: 1.7.0 -> 1.7.9
<NixOS_GitHub> [nixpkgs] ebzzry opened pull request #23786: emem: 0.2.34 -> 0.2.35 (master...emem-0.2.35) https://git.io/vyKsw
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyKsK
<NixOS_GitHub> nixpkgs/master 819b8c6 ndowens: assimp: 3.2 -> 3.3.1
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyKsP
<NixOS_GitHub> nixpkgs/master c52b751 ndowens: olsrd: 0.6.6.1 -> 0.9.6.1
<zetok> >error: The option `boot.kernel.kernelParams' defined in `/etc/nixos/configuration.nix' does not exist.
lezed1 has joined #nixos
<zetok> that's interesting, given that I've just copypasted that from `Issues and work-arounds` manual section :|
<clever> zetok: i think its just boot.kernelParams
<zetok> yep
<zetok> clever: btw, is there a way to include in the global, nix-managed vim config template files?
<NixOS_GitHub> [nixpkgs] ambrop72 opened pull request #23787: Kdevelop 504 1609 (release-16.09...kdevelop-504-1609) https://git.io/vyKsM
<zetok> https://gist.github.com/zetok/d05015fca1ef8fec8797bd40a6bf69e3 ← relevant part of the config, listing the files that also would need to be included
<clever> zetok: https://gist.github.com/cleverca22/1e7dad019431a5dd014ef262f9e3325f is how ive done my vim stuff
<clever> zetok: and because the vim config is in a nix string, i could include ${./foo.cfg}
<clever> and when that string gets compiled, it will turn into a storepath
<zetok> k
<lezed1> I have a question about getting the headers for packages. I'm trying to compile a program with eigen3, but pkg-config cannot find the headers. I had a similar problem with ncurses, and I solved that by adding the ncurses.dev packge. Is there somethign similar for eigen?
<clever> lezed1: just put eigen into the buildInputs
<clever> lezed1: and the same for ncurses, dev is the default output
<lezed1> I'm not aware of buildinputs, but it looks like something I should specify for nix-shell (which I am currently using)
<clever> lezed1: just run nix-shell -p eigen ncurses pkgconfig
<clever> that will give you a shell with those 3 things available, without having to install them globally
Rizy has quit [(Quit: Rizy)]
<NixOS_GitHub> [nixpkgs] ambrop72 opened pull request #23788: kdevelop: 5.0.3 -> 5.0.4 (master...kdevelop-504) https://git.io/vyKGU
Rizy has joined #nixos
spacekitteh has joined #nixos
griff_ has joined #nixos
Fuuzetsu has quit [(Ping timeout: 276 seconds)]
<NixOS_GitHub> [nixpkgs] zetok opened pull request #23789: gresecurity: correct kernel parameter docs to use an existing option (master...docs-grsec) https://git.io/vyKGI
spacekit1eh has quit [(Ping timeout: 268 seconds)]
Fuuzetsu has joined #nixos
<zetok> welp, time to check whether rebooting vm with grsec on would work this time
dredozubov has quit [(Ping timeout: 245 seconds)]
filterfish has quit [(Ping timeout: 240 seconds)]
joneshf-laptop has joined #nixos
g0d355__ has joined #nixos
dredozubov has joined #nixos
<c74d> Does NixOS package any Web browsers with support for Java applets?
<lezed1> clever: so putting the packages in the nix-shell command worked, but making them all global packages didn't. Why is that?
Rizy has quit [(Quit: Rizy)]
<zetok> huh, surprisingly booting with grsec on works
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
<yurrriq> Can anyone link me to advice on building Xcode projects on Darwin? I've been struggling with it quite a bit. LnL?
stepcut has joined #nixos
<yurrriq> Also I've created the nix-hackers org on GitHub to collect my forks and interesting "unofficial" projects I come across and use. Let me know if you want to be added.
<yurrriq> ^ hit and run, but I'll scroll up tomorrow
griff_ has quit [(Ping timeout: 260 seconds)]
deepfire` has joined #nixos
mojjo has joined #nixos
stepcut has quit [(Ping timeout: 240 seconds)]
alebatt has joined #nixos
spacekitteh has quit [(Quit: leaving)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
<srk> qknight: o/ found you in git remote of nixpkgs located on odroid xu4 :D
hexagoxel has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyKGF
<NixOS_GitHub> nixpkgs/master f5a5516 Rommel M. Martinez: emem: 0.2.34 -> 0.2.35
cfricke has joined #nixos
cfricke has quit [(Client Quit)]
cfricke has joined #nixos
alebatt has quit [(Ping timeout: 246 seconds)]
<sphalerite> Is there some way to get an index of all the files in the nix store and update it incrementally as paths are added/removed?
derjohn_mob has joined #nixos
<sphalerite> Also, is there a particular reason packages in buildInputs get added to $PATH (whereas AFAIU only nativeBuildInputs should)?
<zetok> hmm, hangul input via ibus doesn't seem to work
hlolli has joined #nixos
<zetok> no, nvm, it does work
catch22 has quit [(Remote host closed the connection)]
hexagoxel has quit [(Ping timeout: 256 seconds)]
hexagoxel has joined #nixos
mudri has joined #nixos
kampfschlaefer has joined #nixos
<mojjo> does anybody know what to do when the top command gives me '*** buffer overflow detected ***: top terminated' ?
elninja44 has quit [(Remote host closed the connection)]
zraexy has quit [(Ping timeout: 258 seconds)]
avn has quit [(Quit: Lost terminal)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
JagaJaga has joined #nixos
<hlolli> wow, node-gyp is a mothaf* pain. I can't install it with npm or npm2nix, it's always complaining. Been tackling this for almost 24hours.
avn has joined #nixos
<hlolli> build scripts ar relying on the existance of the binary `node-gyp` so `node-gyp rebuild` always fails.
deepfire` has quit [(Ping timeout: 268 seconds)]
<srk> nodejs world is full of such stuff
systemfault has quit [(Quit: Bye!)]
lezed1 has quit [(Remote host closed the connection)]
<avn> Folks, any others expirienced firefox segfaulting on start in master?
joneshf-laptop has quit [(Quit: Leaving)]
alebatt has joined #nixos
hlolli has quit [(Remote host closed the connection)]
kini has quit [(Ping timeout: 240 seconds)]
thc202 has joined #nixos
[0x4A6F] has quit [(Ping timeout: 264 seconds)]
kini has joined #nixos
[0x4A6F] has joined #nixos
<viric> clever, Dezgeg[m]: where are your arm hydras?
<srk> speaking of arm
<srk> I'm trying to make odroid xu4 work with master, no dice yet
<srk> want to use it as a builder for armv7/6
<srk> managed to rebase this pull request https://github.com/NixOS/nixpkgs/pull/11633 but getting infinite recursion errors
<srk> like this
<srk> nixpkgs.config = { platform = pkgs.platforms.odroid_xu4; }; seems to be the culprit
<srk> but no idea how to debug this further
<srk> viric: also what boards are you using as a builders?
kini has quit [(Ping timeout: 240 seconds)]
tomsmeets has quit [(Ping timeout: 264 seconds)]
tomsmeets has joined #nixos
Rizy has joined #nixos
<viric> srk: I have a pi2
<srk> viric: how do you create images for pi2?
<viric> why do you think I create images for pi2?
<viric> I had done that in the past
<srk> ok, so how do you get nixos running on pi2?
<viric> the same way as you would do in a PC, if you hadn't the isos
<srk> so you bootstrap every board?
<viric> run the nixos switch scripts from within another distribution
<srk> well, I have too many boards to do stuff manually :(
<avn> Folks, any others expirienced firefox segfaulting on start in master?
<avn> (sorry for repeating)
<viric> srk: so you need images?
<viric> mpf I get an infinite recursion...
<srk> viric: well yes, for pxe booting. also installing board as odroid is much easier
<srk> for now I need odroid working so I can start switching some other armv7 boards to nixos
<srk> the rest of the cluster runs armv7 fedora, building armv6 packages. I think I can install nix in fedora and use that for building when idle
hexagoxel has quit [(Ping timeout: 260 seconds)]
<srk> what is mpf? :)
hexagoxel has joined #nixos
Jackneill has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #23791: enlightenment: 0.21.5 -> 0.21.7 (master...upd.enlightenment) https://git.io/vyKlR
<viric> Dezgeg[m]: clever: I get an infinite recursion in 17.03 nixpkgs...
<srk> ah, so I'm not alone
Mic92 has quit [(Ping timeout: 260 seconds)]
Rizy has quit [(Quit: Rizy)]
<srk> viric: this one http://lpaste.net/353456
<srk> ?
<viric> ahhhh I didn't notice you talked about infinite recursion
<srk> yes, can't switch to master on odroid :(
<viric> what do you run there?
<srk> nixos 15.09
<srk> image made by qknight
<viric> ah ok
<viric> I run 16.03
<viric> srk: the infinite recursion may be because of an outdated ni
<viric> srk: the infinite recursion may be because of an outdated nix
<srk> hmm, I thought it updates itself when doing nixos rebuild
<srk> looks like some chicken egg problem
JagaJaga has quit [(Ping timeout: 260 seconds)]
<viric> well, it does that to some extent
<srk> viric: did you manage to update it manually?
<viric> every nixos version can be built from the previous nixos version
<srk> ah, I see
<srk> so I'm doing unsupported switch from 15.09, to 17
<viric> I'll get a 16.09 nix
<srk> is there an easy way to do so?
<viric> I can build it from 16.03 I guess
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #23792: libzip: 1.1.2 -> 1.2.0 (master...update/libzip-1.2.0) https://git.io/vyK8l
<viric> it looks to me like Dezgeg[m] should have a binary channel covering 16.09, but the binary channel substituter fails for me
<srk> hmhm, I could just switch channel but I'm afraid it will take another 14 hours to rebuild everything
griff_ has joined #nixos
<viric> I'm trying to rebuild nix of 16.09, let 'see.
<viric> you may wait for Dezgeg[m] and clever
<Dezgeg> it is building nixos-unstable
<Dezgeg> I mean my thing
<srk> looks like binary caches for arm are pretty valuable :D
fnljk has quit [(Ping timeout: 240 seconds)]
bennofs has joined #nixos
Rizy has joined #nixos
tomsmeets has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Quit: griff_)]
Rizy has quit [(Quit: Rizy)]
reinzelmann has joined #nixos
mariusp has joined #nixos
iyzsong has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
dbmikus has joined #nixos
nh2 has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
dbmikus has joined #nixos
derjohn_mob has quit [(Ping timeout: 260 seconds)]
Mic92 has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
Rizy has joined #nixos
<ocharles> I just upgraded my laptop to 17.03 and... I seem to have no fonts https://usercontent.irccloud-cdn.com/file/Mz4BCg88/2017-03-12-125902_1920x1080_scrot.png
<ocharles> Anyone seen anything like that before?
<ocharles> interesting. $ fc-match Fontconfig error: line 1: not well-formed (invalid token)
<ocharles> That seems to be trying to open /etc/fonts/2.11/fonts.conf, and that is an empty file
mudri has quit [(Ping timeout: 268 seconds)]
eacameron has joined #nixos
<srhb> ocharles: Is it a nix store symlink though? How did you define your fonts?
<ocharles> yep, /etc/fonts is a symlink as expected
<ocharles> I have nothing particular in my configuration.nix
<avn> Folks, anyone expirienced firefox segfaulting on start in master? (sorry for repeating crying)
dbmikus has joined #nixos
<srhb> ocharles: I'll try blanking my fonts list and see if I get the same. Is it a recent commit?
<ocharles> Whatever the latest 17.03 channel has
<ocharles> srhb: my /etc/fonts goes to /etc/static/fonts - does yours?
<srhb> ocharles: Yep
<ocharles> ok
<ocharles> (/etc/static/fonts points into the nix store)
eacameron has quit [(Ping timeout: 246 seconds)]
<srhb> ocharles: I tried making my fonts an empty list, and the file still has contents.
<srhb> Not sure what's happening for you
<ocharles> I'm going to empty my configuration.nix and use build to see what's going on
simendsjo has joined #nixos
<ocharles> Yep, I get the same empty 2.11 file with an empty configuration.nix :|
<ocharles> ade5837 is the commit, I think
dbmikus has quit [(Ping timeout: 260 seconds)]
<ocharles> srhb: do you have any `fonts` options?
dbmikus has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
mariusp has quit [(Remote host closed the connection)]
<ocharles> Also, if you `nix-build -A fontconfig`, what is in result/etc/fonts/2.11/fonts.conf?
mariusp has joined #nixos
<ocharles> err, `nix-build -A fontconfig.out` and `result/etc/fonts/fonts.conf` even
<yorick> does golly not work for anyone else?
<yorick> it doesn't seem to be drawing anytghing
<yorick> ocharles: (you have no fonts and you must scream)
civodul has joined #nixos
cfricke has quit [(Quit: WeeChat 1.7)]
<srhb> ocharles: It has contents, do you need them all?
Mic92 has quit [(Read error: Connection reset by peer)]
<ocharles> no, just knowing it's non empty is enough. I wonder why you get something and I don't
Mic92 has joined #nixos
<srhb> ocharles: Indeed. I'm on ade58373509ec32b7ab72040986e93aa2d074c74 by the way
takle has joined #nixos
k0001_ has joined #nixos
<LnL> ikwildrpepper: niksnut: there seems to be an issue with hydra
mariusp has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nix] shlevy closed pull request #1266: Add option to disable import-from-derivation completely, even if the drv is already realized (1.11-maintenance...1.11-allow-import-from-derivation) https://git.io/vyu5S
<NixOS_GitHub> [nix] shlevy pushed 2 new commits to master: https://git.io/vyKuT
<NixOS_GitHub> nix/master 5789eaa Shea Levy: Add aws-region param to S3 store URLs
<NixOS_GitHub> nix/master 96443e9 Shea Levy: Merge branch 'configurable-aws-region'
mudri has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vyKu3
<NixOS_GitHub> nixpkgs/master 4ca17dd zetok: gresecurity docs: fix incorrect option (#23789)
<NixOS_GitHub> [nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vyKuG
<NixOS_GitHub> nixpkgs/master 4904df8 Periklis Tsirakidis: qt57.qtbase: enable darwin compatibility
<NixOS_GitHub> nixpkgs/master 90be8a7 Daiderd Jordan: Merge pull request #23764 from periklis/topic_qt57_darwin...
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vyKul
<NixOS_GitHub> nixpkgs/release-17.03 4d25eaa zetok: gresecurity docs: fix incorrect option (#23789)...
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-16.09: https://git.io/vyKuB
<NixOS_GitHub> nixpkgs/release-16.09 1e17a56 zetok: gresecurity docs: fix incorrect option (#23789)...
griff_ has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
xwvvvvwx has joined #nixos
bb has joined #nixos
tomsmeets has joined #nixos
<avn> Boo. pkgs.firefox-bin works, pkgs.firefox crashes with segfaults. Any ideas what can happens?
<NixOS_GitHub> [nixpkgs] VlachJosef opened pull request #23795: haskellPackages: fix issue #23794 (master...master) https://git.io/vyKzZ
<NickHu> Hey, I just did a fresh install of nixos, but I'm trying to preseve my existing home partition
<NickHu> When installing packages with nix-env -i as a normal user, I get error: opening lock file ‘/nix/var/nix/profiles/default.lock’: Permission denied - any ideas?
mojjo has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 256 seconds)]
bb has quit [(Quit: Page closed)]
agjacome has quit [(Quit: leaving)]
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #23791: enlightenment: 0.21.5 -> 0.21.7 (master...upd.enlightenment) https://git.io/vyKlR
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #23703: qbittorrent: 3.3.10 -> 3.3.11 (master...upd.qbittorrent) https://git.io/vyw4h
<NickHu> Never mind - turned out my ~/.nix-profile wasn't being created by the shell login because it already existed and pointed to the wrong thing
ndowens08 has joined #nixos
mariusp has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
alx741 has joined #nixos
<ndowens08> /join #git
spinus has joined #nixos
<Mic92> in weechat you can strip leading whitespaces from messages
<ndowens08> :) probably hit space by accident; Trying to find out how to fix what I think causes me to mess up my forked copy of nixos/nixpkgs
<ndowens08> I can go into master fetch upstream and merge, go into a branch for a package and it says origin/master have divereged; 1 and 17 different commits each; if I pull well i believe that messes it up
<NixOS_GitHub> [nixpkgs] Mic92 pushed 5 new commits to master: https://git.io/vyKgw
<NixOS_GitHub> nixpkgs/master 453529b Rodney Lorrimar: nodePackages: support github:owner/repo scheme for package deps...
<NixOS_GitHub> nixpkgs/master 252e58a Rodney Lorrimar: pump.io: 1.0.0 -> 3.0.0...
<NixOS_GitHub> nixpkgs/master f1a1490 Rodney Lorrimar: pumpio service: adjust upload directory config for 3.0.0...
<Mic92> ndowens08: do you now git pull --rebase
<Mic92> ?
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23568: pump.io 2.1.1 (master...pump.io-2.1.1) https://git.io/vyBOd
<ndowens08> no afraid to do any git pull at all inside a branch when it is talking about origin master. It tends to pull master into a branch and say repo is so many commits ahead of nixos/nixpkgs which causes me have to wipe my forked
<ndowens08> because i dont know how to fix that
<Mic92> ndowens08: if you have any n commits, you want to rebase against a newer version, you can do: git rebase --onto origin/master HEAD~4 HEAD (where for 4 should be replaced by the number of commits you made and origin/master is the branch you want to update against)
<Mic92> this works pretty well
<Mic92> also if you ever mess up something
<Mic92> there is git reflog
<ndowens08> so it would be 17 commits, since it says and have 1 and 17
<Mic92> ndowens08: just count the number of commits you made
<Mic92> not what git reports
<Mic92> I also can recommend tig
<Mic92> instead of git.
fnljk has joined #nixos
<Mic92> Which I use to browse commits
<ndowens08> it shows 1-69 where 69 is where i cloned it
<Mic92> so you have 69 commits?
<Mic92> made?
<ndowens08> supposedly, and i dont know how
<ndowens08> i only update the package add, commit -m and push
<ndowens08> in branches
<Mic92> ndowens08: nix-shell -p tig --command "tig"
<Mic92> <Enter> to see the commit and arrow keys to navigate
<Mic92> and "q" to close a view
grahamc has joined #nixos
mariusp has quit [(Remote host closed the connection)]
<ndowens08> yeah dont understand this lol, but kinda looks like the ones under is a child of that branch
xwvvvvwx has quit [(Ping timeout: 260 seconds)]
<ndowens08> the one below the branch that gives me that crap is in its own branch
<ndowens08> then it shows other ppls commits
<ndowens08> this crap is what messes my copy up, dont understand how it gets this way at all
<Mic92> ndowens08: what is in your log?
grahamc has quit [(Ping timeout: 260 seconds)]
griff_ has quit [(Quit: griff_)]
<ndowens08> first is cfitsio(also branch name), next is Daiderd Jordan merge then Periklis Tsiradidis, Joachim, domen etc
<ndowens08> so for this branch i only truely have one commit, but others are getting into somehow
<ronny> anyone aware of a tool pacakged for nix that helps to track dotfiles in git and managing symlinks in the home folder?
<Mic92> ronny: not in nixpkgs, but I use https://github.com/andsens/homeshick
grahamc has joined #nixos
<ndowens08> so how do i fix it, when it shows other ppls commits in my log
<joachifm> ndowens08: rebase
reinzelmann has quit [(Quit: Leaving)]
<LnL> ndowens08: git rebase -i <remote>/master
<NixOS_GitHub> [nixpkgs] jraygauthier closed pull request #10308: buildEnv: improvements (master...jrg/improve_buildenv) https://git.io/vCZY4
<LnL> and remove everything except for your commit
<ndowens08> funny thing, that only shows mine lol
<LnL> ndowens08: git remote -v, git pull <remote> master with the one that points to NixOS/nixpkgs first
<ronny> Mic92: im looking for sometihng i can install just using nix
xwvvvvwx has joined #nixos
griff_ has joined #nixos
tomsmeets has quit [(Ping timeout: 240 seconds)]
<ndowens08> Thanks LnL now if i can remember that :)
<ndowens08> Ugh, now i have 1 and 5 commits each lol
<ronny> hmm
<ronny> uppon taking a look again, it seems like for homeshlick i'll only need a shell script for setup once
dbmikus has joined #nixos
<Mic92> I still have use cases for dotfiles without installing nix, so homeshick is a good fit here
takle has joined #nixos
deech has joined #nixos
dbmikus has quit [(Ping timeout: 260 seconds)]
<deech> Hi all, I'm a Nix noob and have a question about adding `autoconf` to a Haskell project. Here's what I have so far: https://github.com/deech/fltkhs/blob/Nix/fltkhs.nix.
<ronny> LnL: hmm, nix-home is pretty much a no-go because of the way it dumps a direct file right at tzhat place, its pretty much a wtf
<NickHu> How can I add extra packages to my xmonad compilation?
zraexy has joined #nixos
<NickHu> I have services.xserver.windowManager.xmonad.extraPackages set, but it doesn't seem to work
goibhniu has joined #nixos
<srhb> NickHu: It does for me.
<xwvvvvwx> Hey where are the system include paths on nixos?
dbmikus has joined #nixos
<deech> That first attribute https://github.com/deech/fltkhs/blob/Nix/fltkhs.nix#L16 needs `autoconf` and `automake`.
<ronny> LnL: home-manager looks nice tho
<NickHu> srhb: Funnily enough, it worked on another laptop on which I installed nixos but not this one
<srhb> xwvvvvwx: Depending on what you mean by "system" they might not ecist.
<srhb> NickHu: Are you doing something strange to start XMonad?
<ronny> rycee[m]: any plans for more tested support of unstable on home-manager
<NickHu> srhb: No, it's just enabled in /etc/nixos/configuration.nix
<NixOS_GitHub> [nixpkgs] ndowens closed pull request #23778: cfitsio: 3.21 -> 3.41 (master...cfitsio) https://git.io/vyKLU
<srhb> NickHu: And how are you concluding that the deps aren't found?
<ndowens08> ok somehow i closed a PR w/o doing it myself, guess some how b/c i am messing with git idk
<NickHu> I'm trying to do a xmonad --recompile, and I get this error http://lpaste.net/5433925625704349696
<NickHu> I have xmonad configured like this: http://lpaste.net/8121191572235616256
<xwvvvvwx> ok a little more context, I want to setup c++ autocompletion with my editor using youcompleteme
<NickHu> Seems to work fine on my other laptop
<srhb> NickHu: "Failed to load interface for..." is different from package not found, iirc.
<xwvvvvwx> youcompleteme is installed as a systemwide package (from configuration.nix)
agjacome has joined #nixos
<NickHu> srhb: Any suggestions?
<xwvvvvwx> individual projects will have different search paths (with libaries defined in a per project default.nix)
<xwvvvvwx> and youcompleteme can use the cmake generated compile_commands.json file to pick up the compilation flags
dbmikus has quit [(Ping timeout: 240 seconds)]
<srhb> NickHu: Not sure. I'd try nuking the xmonad binary, but beyond that, I don't know.
<xwvvvvwx> this all works fine, except youcompleteme gets confused and says "use of undeclared identifier std"
<xwvvvvwx> when I try to use the stdlib
dbmikus has joined #nixos
<srhb> NickHu: Also, did you enable contrib and extras?
<srhb> In the separate option.
<LnL> ronny: there are a bunch of projects, I also like the approach of home-manager the most
<xwvvvvwx> so I think all I need to do is figure out how to make ycmd aware of the include path for the stdlib?
<srhb> I don't really believe that's an answer, but at least someone else is experiencing it.
<NixOS_GitHub> [nixpkgs] ndowens reopened pull request #23778: cfitsio: 3.21 -> 3.41 (master...cfitsio) https://git.io/vyKLU
<LnL> ronny: I might also split off the user modules of https://github.com/LnL7/nix-darwin at some point
<NickHu> srhb: In the same way as in this: http://lpaste.net/8121191572235616256?
<srhb> NickHu: Looks right to me...
<srhb> Peculiar.
<ronny> LnL: hmm, looks interesting, i wish nix had a better way to combine external modules/packagesets
<NickHu> Is there a way I can launch a nix-shell with the right environment to try and compile xmonad?
<srhb> NickHu: You can at least give it a _similar_ environment easily.
<NickHu> nix-shell -p xmonad-with-packages taffybar?
<NickHu> It doesn't seem to cut it...
<srhb> NickHu: I think ghcWithPackages and then xmonad and the deps
dbmikus has quit [(Ping timeout: 268 seconds)]
<NickHu> How so?
mariusp has joined #nixos
<NickHu> I mean, how exactly do I phrase that as an argument to nix-shell
<srhb> nix-shell -p pkgs.haskell.packages.ghc802.ghcWithPackages (pkgs: with pkgs; [ xmonad xmonad-contrib taffybar ... ]
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vyKaG
<NixOS_GitHub> nixpkgs/master 2d47e1b Ambroz Bizjak: kdevelop: 5.0.3 -> 5.0.4 (#23788)
<LnL> ronny: we have overlays now as for modules, those usually a bit more tightly coupled
shymega has quit [(Quit: So long, and thanks for all the talking doors.)]
<srhb> NickHu: Uh, you probably need to quote the entire thing after -p
slack1256 has joined #nixos
<NickHu> gotcha
<Mic92> hydra is down again?
<ronny> LnL: what exactly do overlays actually do
stepcut has joined #nixos
mariusp has quit [(Ping timeout: 240 seconds)]
slack1256 has quit [(Remote host closed the connection)]
alebatt has quit [(Ping timeout: 256 seconds)]
<ronny> LnL: that doesnt exactly help to comprehend
mizu_no_oto has joined #nixos
<NickHu> srhb: Seems to fail to build with http://lpaste.net/5021681251451404288
<LnL> ronny: I'd link to the manual but hydra is down :/
<ronny> LnL: that pr gives next to no idea how to use it and what affacts it has
<ronny> hmm :/
<Mic92> xwvvvvwx: at some point I just switched to clang_complete, which just worked for me
<ronny> LnL: i mean does it add modules, pacakges, or everything, and how can it actually be used safely
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vyKaw
<NixOS_GitHub> nixpkgs/master 697838c Ji-Haeng Huh: yasr: init at 0.6.9...
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23188: yasr: init at 0.6.9 (master...yasr) https://git.io/vyTH5
shymega has joined #nixos
alx741 has quit [(Quit: alx741)]
<LnL> ronny: it's similar to packageOverrides, but a lot more flexible
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
takle has quit [(Remote host closed the connection)]
<ronny> LnL: that statement is similar to "shower gel is like soap just a lot more flexible"
tomsmeets has joined #nixos
deech has quit [(Quit: ERC (IRC client for Emacs 25.1.91.1))]
alx741 has joined #nixos
<ronny> LnL: it gives me no idea how it affects the module system or the package set
<ronny> from what i gather it seems like its actually not effecting the module system at all
ixxie has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23753: neomutt: 20170128 -> 20170306 (master...neomutt) https://git.io/vyoMk
<LnL> no just the package set like I said before, modules are usually pretty tightly coupled
<xwvvvvwx> Mic92: I think thats vim only right? I'm using visual studio code
<Mic92> xwvvvvwx: yes, that's true
<xwvvvvwx> It works OK for me at work (on OSX), but I've never been able to get it running on nixos
<ronny> LnL: i see, then its not yet that usefull
<ronny> hmm
<Mic92> xwvvvvwx: do you use it together with cmake?
<ronny> is there a nice way to figure which host one is on and load according nix modules?
<LnL> you can dispatch based on the hostname or something
<xwvvvvwx> Mic92: yes
<ronny> LnL: got an example?
<Mic92> xwvvvvwx: I think I had the same problem using youcompleteme, but I was in a rush so I used clang_complete again
cfricke has joined #nixos
<xwvvvvwx> hmmmm, so I have it working if I manually paste the output of `echo | clang -v -E -x c++ -` in as flags
<xwvvvvwx> but I can't get it to work with cmake
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23796: dlib: 18.10 -> 19.4 (master...dlib) https://git.io/vyKVV
<Mic92> xwvvvvwx: boot.extraModulePackages = [sysdig]; and sudo nix-shell -p sysdig --command "sysdig -c proc_exec_time" might give you insights, what is executed by cmake
<Mic92> or just strace -e execve -f <command>
<ronny> LnL: ot sure i follow, this certainly wont fix my actual problem
<ronny> (im a a place where the networking hostname is not availible as i have to pick the module containing it)
rmrfroot has joined #nixos
<LnL> ok, so where does the identity of a machine come from?
<Mic92> you have to break up your infinite recursion
takle has joined #nixos
griff_ has quit [(Quit: griff_)]
griff_ has joined #nixos
<LnL> ronny: you could do something like that, and build with -I machine-config=/foo.nix
<ronny> LnL: hmm, that would need a custom build script i suppose :/
<ronny> hmm, i def can come up with something tho
<LnL> ronny: you can configure nix.nixPath so you'd only have to do that to bootstrap
steshaw has quit [(Quit: Connection closed for inactivity)]
rmrfroot has quit [(Remote host closed the connection)]
mariusp has joined #nixos
xwvvvvwx has quit [(Ping timeout: 260 seconds)]
stepcut has quit [(Remote host closed the connection)]
<ronny> LnL: now that one is interesting
toogley has joined #nixos
toogley has left #nixos ["Leaving"]
athan has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] rvl opened pull request #23797: scala: put docs in correct subdirectory (master...scala-docs-subdir) https://git.io/vyKr0
jeremejevs has quit [(Ping timeout: 260 seconds)]
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
xwvvvvwx has joined #nixos
smw_ has joined #nixos
<smw_> clever: you around? :-)
<clever> smw_: yes
<smw_> clever: ever find an sdcard reader? :-)
<clever> nope
grahamc has quit [(Ping timeout: 260 seconds)]
<smw_> clever: got any tips for me to try. I am right now at a point where I simply don't know what to try
<clever> smw_: do you have control of the DHCP server?
<smw_> it is a fios router... I have a login, but what do I need to control?
<clever> advance stuff that no home router gives you control over
<smw_> clever: ok, give me an idea and I setup dnsmasq :-)
<clever> one crazy route we could take, disable the dhcp in the router, then setup your own dhcpd in nixos, that still says to use the router as a gateway
<clever> then you could in theory, configure network booting for the rpi
<clever> that would allow you to boot the rpi3 over the network from a dir containing ~6 files
<Criena[m]> Hi there, does anyone have an idea how to add python to a packge (or to a package's path)?
<smw_> ah, that makes sense. No USB, no SD... but I haven't tried network!
<clever> smw_: when i was doing it, the uSD had to contain only bootcode.bin and no other files
<Criena[m]> Background: I have nginx running and use a python script for LDAP auth. With NixOS this doesn't work so far.
<clever> there are still some bugs the rpi foundation is ironing ou
<clever> t
<srk> rpi foundation is useless
<clever> Criena[m]: systemd.services.nginx.path = [ pkgs.python ]; should add python to $PATH for the nginx service
<srk> soft/firmware wise
<clever> srk: ive been following them in #raspberrypi-internals
<srk> cool! just looking there's some progress
estewei has quit [(Quit: Quit)]
<mitchty> how do i get nix-env to dump out the curl error responses? trying to debug nix-env getting curl errno 35 everytime it tries to connect to hydra
<srk> clever: btw viric mentioned you, we were trying to overcome some infinite recursions on arm :)
<clever> mitchty: what happens if you just manualy run curl on the same URL as near the error msg?
<clever> srk: platform?
<srk> clever: I'm trying to update odroid xu4 to 17.03
<srk> managed to update this
<mitchty> clever: let me try quick sec
<srk> but looks like it needs nix from 16.09
<smw_> clever: I think I need a second raspberry pi just to setup dhcp for my first rpi!
<srk> :D
<clever> smw_: you can also use a desktop or even a virtualbox vm in bridge mode
<mitchty> hrmm, more weird, i'm not getting past the second rtt for tls 1.2
<clever> srk: was the infinite recursion related to setting nixpkgs.config.platform?
<smw_> hm, I wonder if I can install dnsmasq directly on my mac.
<Criena[m]> clever: Very clever. ;-) I'll try it right away! Thank you!
<srk> clever: toplevel, see http://lpaste.net/353456
<srk> clever: I'm new to nix, no idea how to debug such stuff except for trying to erase as much as possible
<srk> clever: but yes, it was related to nix.config & platform
<smw_> clever: do you have a recommended guide on PXE booting the pi?
<srk> srk> | [11:44:05] nixpkgs.config = { platform = pkgs.platforms.odroid_xu4; }; seems to be the culprit
<clever> srk: ah, looks like your setting nix.package, which is different from what i was asking
<clever> 2017-03-04 13:25:54< clever> 2017-02-28 22:08:14< clever> platform = (import <nixpkgs> { config = {}; }).platforms.aarch64-multiplatform;
<smw_> clever: err, I don't want to blow that special fuse... just PXE boot with uboot
<clever> srk: this is how i fixed the platform problems
<srk> clever: ahaaa
<srk> shoud've checked last log :D
<clever> smw_: ahh, thats a lot more flexible and wont need special dhcp config
<smw_> heh
<srk> let me try
<ndowens08> clever: if I want to temporary remove a binary from a package I am building, because it gives segment fault(submitted ticket), how would I do that, figure it would be in postInstall rm bin/NAME but it doesnt work
<clever> smw_: u-boot can read config files and just load it from the right place
<clever> smw_: but the boot rom in the rpi has no config
<smw_> clever: yeah, I have uboot working.
<smw_> clever: yeah, but uboot works
<clever> ndowens08: which derivation are you trying to override?
<NickHu> Quick survey, how many people use nixos-unstable rather than 16.09?
<srhb> NickHu: Throw a strawpoll link or something instead
<srhb> It gets spammy.
<NickHu> good idea
<ndowens08> clever: I am updating the drumstick package and one binary segfaults, drumstick-vpiano
<xwvvvvwx> NickHu: unstable here :)
<ndowens08> NickHu: I use unstable
<srhb> The damage is done!
<srhb> :-)
<clever> NickHu: i have nixos-unstable on 3 systems, and 16.09 on 2 i think
<ndowens08> so I am updating the nix expession file itself
<clever> ndowens08: can you gist that file?
<smw_> clever: So, do you recommend I put in the SD card I can boot to the initrd, then rebuild the kernel over and over?
<smw_> clever: preferably cross compiling for speed
<smw_> clever: ah crap, that would have bad kernel modules when it eventually boots... is there a way to prevent loading of modules?
<ndowens08> the current one in the repo doesnt seem to build at all, so this version all binaries work except that one
<clever> smw_: proper cross-compiling is tricky with nixpkgs, it considers it a different build, so native nix-env -iA will refuse to use the cross-built glibc and so on
<clever> smw_: so you wind up having to build everything twice, natively and cross
<smw_> clever: oh, I am thinking of ignoring nix
<clever> smw_: i usualy go the route of a "native" arm build, under qemu-user
<smw_> clever: download the rpi kernel and cross compile using their instructions
<clever> ndowens08: line 33 is your problem, you are trying to reference your own return value
<clever> ndowens08: you want $out/bin/
<ndowens08> doh lol
<clever> smw_: ah, thats much simpler
<clever> smw_: i believe they also have a link to a pre-built arm gcc for linux
<smw_> oh, duh, that would help
mariusp has quit [(Ping timeout: 268 seconds)]
<clever> smw_: and if your building the kernel, you can just make everything you want built in, that eliminates the entire need for the initrd
<smw_> clever: wait... can't I just drop that onto the sd card and see what happens?
<smw_> what does the initrd do exactly?
<smw_> I know it is a ramdisk with stuff for the kernel...
<smw_> but what?
<clever> smw_: the initrd allows i to load modules after booting, to gain the ability to mount the rootfs
<clever> smw_: but if you link that into the kernel at build time, you dont need the initrd
<smw_> I see
<clever> the main point of the initrd, is so you can make a really tiny kernel, and then load the optional things that this exact user wants
<clever> but if your building your own, just enable what you want, directly in the kernel config
<smw_> makes sense
<smw_> can't find the prebuilt kernel though
<clever> thats on the firmware repo
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vyKKB
<NixOS_GitHub> nixpkgs/master 6944818 Vladimír Čunát: haskellPackages.llvm-general-darwin: fix #23794...
<smw_> yeah, found that :-)
<clever> smw_: and in here is the pre-built linux->arm cross-compiler: https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi
<smw_> clever: what is kernel.img vs kernel7.img?
<clever> smw_: if you unpack that to a normal linux system, you can cross-compile a kernel
devoid has joined #nixos
<clever> smw_: kernel.img is built for an armv6 (rpi1), kernel7.img is for the armv7's (rpi2 and rpi3 in compat mode)
<smw_> got it
<clever> smw_: raspbian always run an armv6 userland, so it maintains backwards compat to the rpi1
<clever> but the kernel has to match
<clever> the hardware
fare has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vyKKK
<NixOS_GitHub> nixpkgs/release-17.03 1f86d1d Vladimír Čunát: haskellPackages.llvm-general-darwin: fix #23794...
fare is now known as Guest53950
<NickHu> srhb: Can confirm that switching to nixos-unstable fixed everything.. strange...
mariusp has joined #nixos
spinus has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyKKy
<NixOS_GitHub> nixpkgs/master e333a71 Rodney Lorrimar: scala: put docs in correct subdirectory...
<NixOS_GitHub> nixpkgs/master 847a5d1 Jörg Thalheim: Merge pull request #23797 from rvl/scala-docs-subdir...
takle has quit [(Read error: Connection reset by peer)]
takle_ has joined #nixos
<griff_> How do you debug why a change in one nix expression causes a big rebuild? Like i change the lvm2 package and it then wants to rebuild openjdk
xwvvvvwx has quit [(Quit: WeeChat 1.7)]
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23784: concurrencykit: 0.4.5 -> 0.6.0 (master...ck) https://git.io/vyKqt
<clever> [clever@laptop:~]$ nix-store -q --tree $(nix-instantiate '<nixpkgs>' -A openjdk)
jluttine has quit [(Read error: No route to host)]
jluttine_ has joined #nixos
<clever> griff_: this command will show the entire built-time dep tree for openjdk
<clever> griff_: in my system, it does not depend on lvm2, but it does depend on llvm
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyK6J
<NixOS_GitHub> nixpkgs/master 2662324 David Johnson: Init HaLVM at 2.4.0
<NixOS_GitHub> nixpkgs/master d092289 Jörg Thalheim: Merge pull request #23097 from dmjio/halvm...
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23796: dlib: 18.10 -> 19.4 (master...dlib) https://git.io/vyKVV
batdog_ has quit [(Ping timeout: 240 seconds)]
<NickHu> How can I get my luks key /crypto_keyfile.bin into the initrd? I'm trying boot.initrd.prepend, but it gives me a No such file or directory error for some reason
chrishill has joined #nixos
<clever> NickHu: unquote the path in the config for luks, and nix will automaticaly do all the copying for you
<clever> NickHu: the key will also be world readable in /nix/store/
<chrishill> Hi. I want to try to package an application that is written in Rust. Where should I look for instructions on something like that? I’ve never packaged anything before.
kini has joined #nixos
<joachifm> NickHu: you can use extraInitrd, it's for stuff that shouldn't be copied into the store
<NickHu> I'm not hugely bothered about it being in the store to be honest, this machine is single user anyway
<NickHu> I'm just trying to alleviate having to decrypt my drive twice; once before grub, once after (encrypted /boot)
<joachifm> NickHu: agreed, but to some it might be a concern ... hence extraInitrd :)
batdog has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vyK6D
<NixOS_GitHub> nixpkgs/master d2e30a7 Karn Kallio: eigen : Fix an extra slash.
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vyK6y
<NixOS_GitHub> nixpkgs/master 4c211bd Joachim Fasting: grsecurity: 4.9.13-201703052141 -> 4.9.14-201703121245
<NixOS_GitHub> nixpkgs/master 8091c1b Joachim Fasting: linux_4_9: 4.9.13 -> 4.9.14
<smw_> clever: completely different topic: how hard is it to apply the nix expression language to other systems? For example: writing kubernetes configs with it.
<clever> smw_: the nginx configs in nixos are pretty powerful
<smw_> clever: I noticed :-)
eacameron has joined #nixos
<smw_> clever: I am asking if I wanted to completely ignore nixos.
<clever> smw_: should be possible
<smw_> clever: is there a guide to using nixlang elsewhere?
<clever> smw_: that should be in the main nix docs
<NickHu> Okay, I merely added boot.initrd.luks.devices.<name>.keyFile = "/crypto_keyfile.bin"; but it fails to find it at boot time
<smw_> clever: kubernetes uses a declarative configuration. The only problem is it expects yaml (json is yaml, so that works too)
<NickHu> Is there something else I'm missing too?
<clever> smw_: but to use the options framework, youll need code like this: https://github.com/cleverca22/not-os/blob/master/default.nix#L12-L34
mg_ has quit [(Ping timeout: 260 seconds)]
<smw_> clever: thanks
<clever> smw_: nix also has a builtins.toJSON function
<clever> smw_: so you can just build a nix object describing the config, then turn it into json
<smw_> clever: yes, that I saw
<clever> CONFIG_FILE = pkgs.writeText "config.json" (builtins.toJSON config_set);
<clever> smw_: i have this in a systemd unit for one of my services
<clever> smw_: that will serialize the entire config, write it to a storepath, and put that path into an env var
<smw_> yeah, on the kubernetes stuff, I really don't want to be involved with nixos at all
<smw_> clever: just want to steal the config generation language.
eacameron has quit [(Ping timeout: 256 seconds)]
<smw_> clever: anyways, just got to my pi, wish me luck with booting the rpi kernel :-)
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyK6j
<NixOS_GitHub> nixpkgs/master 5d025f5 ndowens: chipmunk:7.0.0 -> 7.0.1
<NixOS_GitHub> nixpkgs/master 879ccfd Jörg Thalheim: Merge pull request #23779 from ndowens/chipmunk...
<clever> :)
<srk> are there any other nix compatible languages? stumbled on dhall yesterday
griff_ has quit [(Quit: griff_)]
<srk> or possibly nix generators?
<simpson> srk: There's the official partial embeddings in JSON and XML.
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyKik
<NixOS_GitHub> nixpkgs/master ef741de ndowens: cl:1.2.1 -> 1.2.3
<NixOS_GitHub> nixpkgs/master 55074a0 Jörg Thalheim: Merge pull request #23783 from ndowens/cl...
mudri has joined #nixos
c0ff33 has joined #nixos
<srk> hmhm. I'm trying to design a language for configuration management, wanted to replace ansible/salt with that but nix changes everything..
<clever> smw_: i can whip up an example in a minute
<c0ff33> Hey
<srk> still, it's not ideal language for "the masses"
<NixOS_GitHub> [nixpkgs] vcunat pushed 4 new commits to staging: https://git.io/vyKic
<NixOS_GitHub> nixpkgs/staging b8685dd Vladimír Čunát: cups: 2.1.4 -> 2.2.2...
<NixOS_GitHub> nixpkgs/staging 2e4c571 Vladimír Čunát: cups: minor expression refactoring
<NixOS_GitHub> nixpkgs/staging 50fadc8 Vladimír Čunát: cups: split the $lib output...
ertesx has joined #nixos
<c0ff33> had someone used X11 forwarding nixops virtualbox deployment?
<Yaniel> srk: imagine QML but for configuration instead of GUI ^^
<smw_> srk: yeah, I always wanted something like nixos. I just didn't know it. I tried ansible, salt, chef, puppet. The issue with all of them is that I cound't trust them after the initial build.
<simpson> srk: What would the masses like?
<Yaniel> granted, nix is pretty close, but there are some weird parts (or just a lack of good tutorials)
<simpson> srk: Keep in mind that we're unlikely to alter stuff like POLA or build purity.
<smw_> clever: don't go through the trouble now. I may ask you in the future though :-)
* srk agrees
<clever> smw_: oops, meant that for srk
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23800: drumstick: 1.0.2 -> 1.1.0 (master...drumstick) https://git.io/vyKiz
<smw_> clever: hah, np
<srk> ^^
<srk> simpson: something that easier to write but yields similar results :)
<srk> iterative cfm is just bad
<simpson> srk: Okay, yes, but could you be specific?
takle_ has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vyKia
<NixOS_GitHub> nixpkgs/master 3c37edb Joachim Fasting: tinycc: 0.9.27pre-20170220 -> 20170225...
<srk> maybe I'll realize it's all good the way it is, just need to port some stuff to nixos
takle has joined #nixos
devoid has quit [(Quit: Leaving.)]
<simpson> I'm not saying that at all. I *am* saying that there are some design decisions in Nix which aren't likely to budge. I'm also, as a language designer, curious about exactly which features you're looking for.
ertes has quit [(Ping timeout: 268 seconds)]
devoid has joined #nixos
deepfire` has joined #nixos
devoid has quit [(Client Quit)]
ertesx has quit [(Ping timeout: 240 seconds)]
<srk> simpson: something very concise, with simple templating, possibility to override things easily
<srk> simpson: like this is the second attempt I've tried https://git.48.io/config-assembly/blob/master/f/README.rst?text=True#_47
<srk> trying to port one of my ansible roles to my wannabe language
<clever> srk: writing it now
<srk> no hurry, I've got time :D
devoid has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vyKiy
<NixOS_GitHub> nixpkgs/master 8cc1035 Orivej Desh: kcachegrind: init at 16.2.2
<NixOS_GitHub> nixpkgs/master 28e78fd Thomas Tuegel: Merge pull request #23766 from orivej/kcachegrind-kdelibs...
devoid has quit [(Client Quit)]
<srk> I'm also interested in every bit of feedback/experience you've people got, so :)
devoid has joined #nixos
c0ff33 has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] ttuegel closed pull request #23755: krfb: expose kde 5 version (master...krfb) https://git.io/vyoDv
<NickHu> How do I make boot.initrd.prepend work? It just gives me a no such file or directory error
deepfire` has quit [(Ping timeout: 246 seconds)]
mariusp has left #nixos []
<clever> NickHu: if you unquote the path, nix will automaticaly copy it into the build sandbox, and it has to already be a CPIO archive
<NickHu> clever: It just gives me a type error saying I'm not passing it a string if I unquote the path
<clever> what exactly did you put into the config?
<ndowens08> Looking at https://github.com/OpenSC/engine_pkcs11 the README says that the library has been merged into libp11, shouldn't engine_pkcs11 be removed now?
<NickHu> clever: boot.initrd.prepend = ["/crypto_keyfile.bin"];
<NickHu> I also tried with a cpio archive too, same error
<clever> does the file exist at that path on the main system?
<NickHu> Yes
<simpson> srk: It's not obvious what the colon does. Indentation appears to work like it does in Haskell or CoffeeScript, which can be very confusing if there's not much surrounding syntax. It's not clear whether ? is an operator.
<clever> what if you unquote it and dont make it an array?
<clever> boot.initrd.prepend = /crypto_keyfile.bin;
<srk> simpson: yes it is
<simpson> srk: This block: https://git.48.io/config-assembly/blob/master/f/README.rst?text=True#_47 is not indented, but it's not clear why not. Does the double-newline terminate this block?
<srk> simpson: its just a note about variables that should be infered
<NickHu> clever:error: The option value `boot.initrd.prepend' in `/etc/nixos/configuration.nix' is not a list of strings.
<simpson> srk: Sure, but how is it parsed? Is it a block, with `infer:` as the head and `os_distro`, etc. as the body?
<smw_> clever: good news: the pi isn't overheating so it probably isn't kernel panicing
<clever> ah, what about boot.initrd.prepend = [ /crypto_keyfile.bin ]; ?
<smw_> clever: bad news. I have to say "probably" because there is no uart output again
<srk> simpson: it shouldn't really be part of the file, more like standard environment
<simpson> srk: Okay, so that's a nice segue into semantics. Nix tries to not have *ambient authority*.
<NickHu> clever: error: The option value `boot.initrd.prepend.[definition 1-entry 1]' in `/etc/nixos/configuration.nix' is not a string.
<srk> simpson: you need to parse etc/os-release to get these which requires interaction with the host
<srk> I see
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vyKPG
<NixOS_GitHub> nixpkgs/release-17.03 b45aee4 Thomas Tuegel: Merge pull request #23766 from orivej/kcachegrind-kdelibs...
<clever> NickHu: it can be forced: boot.initrd.prepend = [ "${/crypto_keyfile.bin}" ];
<simpson> srk: I won't bore you with the full introduction to capability theory, but basically Nix tries to only have authority over stuff in the filesystem when it's been explicitly granted.
<Yaniel> capability-based systems <3
ertes has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm opened pull request #23801: Pip tools (master...pip-tools) https://git.io/vyKPE
<srk> simpson: also I'm not (yet) ditching other distros, but ideally I would like all of them to work with the same cfm tooling. nix/nixos makes a lot stuff easier though
<smw_> clever: yep, I am stuck. Hooked up to the tv again. I have output but 1. it is too fast to debug and 2. no terminal
<simpson> srk: Ah. I personally have given up on other distros.
<srk> well, I'm starting to consider rest of them inferior so maybe it's just a matter of time :D
<srk> the thing is, I've got multiple salt/ansible based projects and not sure about these
<ocharles> Any idea what I'm doing wrong with nix-store --repair-path here?
<srk> and the stuff that is the most painful with ansible is that it is 1) painfully slow, 2) not reproducible, 3) tons of ballast that can be easily generated
ertes has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
<smw_> clever: this kernel doesn't even power the keyboard
<NickHu> clever: Is the input supposed to be a gz compressed cpio?
<clever> smw_: did you enable the bcm usb stack in "make menuconfig" ?
<clever> NickHu: i believe it should be
<smw_> clever: I used the prebuilt kernel
mg_ has joined #nixos
<clever> smw_: ah, not sure about that one, it may need some dtb files to enable that hardware
<clever> smw_: and u-boot has to load the right dtb, to tell it what hardware exists
<smw_> yeah, already set that up
<srk> clever: care to explain?
obadz has joined #nixos
<clever> srk: app1.nix is where you define all of the options for your app, exactly as you would in a normal nixos module
<ndowens08> Is it normal for a package to spit out two packages ? I updated libp11, it creates /nix/store/4grkr77jqndscq400r5vgf61zvdyj7w7-libp11-0.4.4/nix/store/{*-libp11-0.4.4, *-openssl-1.0.2k/lib/engines/*pkcs11
<clever> srk: and it generates a script on line 15, that will setup env variables and execute the app, possibly referencing a config file also built by nix
<clever> srk: default.nix and common.nix are just support framework to glue it together
<srk> I see
<clever> srk: and then config.nix is where you put the actual config, just like configuration.nix
<srk> heh, reminds me of
<clever> srk: and if you then nix-build -A config.system.build.app1, it will compile the bash script on line 15
<clever> and that bash script has full use of the entire options/config framework that powers nixos
<srk> nice
<clever> but your not making any use of nixos modules
<clever> in theory, it will even work on darwin
<clever> you can also use imports in config.nix, and make your config as fun as you want it
<srk> thanks!
<clever> or load app2.nix and reference it from app1
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vyKXz
<NixOS_GitHub> nixpkgs/master 45cfd39 ndowens: drumstick: 1.0.2 -> 1.1.0
<srk> clever: I've made this hack to include configuration.nix into itself :D https://github.com/vpsfreecz/build-vpsfree-templates/blob/master/files/build.sh#L7
<clever> srk: line 17 may need some tweaking, i went the ultra-pure route, so $PATH only has exactly what you reference, and nothing from the host can leak in
<ndowens08> I have never seen a package I have update do that
<srk> cool
<clever> srk: so either append to $PATH, or add more things you use to the buildEnv
<clever> srk: you can do ''cp -vi ${./configuration.nix} /etc/nixos/configuration.nix''; in a configuration.nix file
<obadz> hydra website seems to be down?
<clever> srk: and that will copy it current value to the right folder, if ran on bootup
<srk> I think I've tried that but didn't work
<srk> clever: it builts openvz template, there's no etc on boot /o\ :D
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to release-17.03: https://git.io/vyKXM
<NixOS_GitHub> nixpkgs/release-17.03 463eb16 ndowens: drumstick: 1.0.2 -> 1.1.0...
<clever> srk: nixos creates /etc on bootup
<srk> hm, well it copies original configuration.txt to /etc/nixos/
<srk> so yes
<clever> srk: there is also a nixos module that already does this
<srk> need to tidy up that a bit
<srk> yes, I'm using that
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23802: libp11: 0.2.7 -> 0.4.4 (master...libp11) https://git.io/vyKX9
mg_ has quit [(Ping timeout: 240 seconds)]
<srk> clever: thank you again, I'll be back with more questions soon :)
<srk> I'll sure become a contributor so getting help from the begging makes it much easier
mg_ has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl opened pull request #23803: ocaml-llvm: 3.7.1 -> 3.9.1 (master...ocaml-llvm) https://git.io/vyK1l
danharaj has joined #nixos
<ndowens08> clever: do you think i should mark as broken or delete enginepkcs11, as the github msg says that libp11 version 0.4.0 and later has merged from engine_pkcs11 library into libp11?
<ndowens08> i dont think there is anything that depends on engine_pkcs11 directly
<clever> ndowens08: no idea, would need to know more context first
<ndowens08> https://github.com/OpenSC/engine_pkcs11 at the bottom states that
<viric> clever: Dezgeg: the infinite recursion in master/17.03 is due to an old nix?
<viric> I have 1.11.4
<viric> (raspberrypi2
<viric> )
<srk> simpson: are there any other languages you're working on? I'm also thinking about giving a DSL for distro testing another shot, possibly replacing perl stuff in nixos tests
<ndowens08> the current url and download location for those two doesnt exist anymore either, so i found it on github
<ndowens08> yea according to nox-review nothing is used against it
<ndowens08> so it wouldnt create an issue
<simpson> srk: The bulk of my time goes to Monte: http://monte.readthedocs.io/en/latest/
<Dezgeg> hm, I think clever had some pointers (in the backlog) on infinite recursion with nixpkgs.config.system
<clever> viric: i think the cause was somebody changing how nixpkgs works, and they didnt test pkgs = import <nixpkgs> { platform = pkgs.platforms.foo; }
<ndowens08> Just submited PR for libp11 0.4.4
<viric> clever: which is what I use
<ndowens08> so that would contain the other library now
<clever> 2017-03-04 13:25:54< clever> 2017-02-28 22:08:14< clever> platform = (import <nixpkgs> { config = {}; }).platforms.aarch64-multiplatform;
<clever> viric: a fix i game up with a while ago
<viric> clever: clever
<srk> simpson: interesting, I'm only starting with language design. would you recommend some reading? I've only acquired Types and programming languages so far
<viric> I'm about to test, because I can't build any 16.09
<viric> clever: did not help
<simpson> srk: The best single tutorial on compiler design I know of: http://www.norvig.com/lispy.html
<clever> viric: can you gist your nix file and the --show-trace?
<viric> nixpkgs config you mean?
<viric> I'm building -A nix '<nixpkgs>'
<simpson> srk: I did a *lot* of practical work, but very little book-reading. I recommend learning one language each from the families of Forth, Smalltalk, Prolog, and ML, if you haven't already. Learn how their compilers work.
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23804: enginepkcs11: libp11 version 0.4.0 and above contain enginepkcs11 (master...enginepkcs11) https://git.io/vyK1X
<clever> viric: yeah, the config.nix and the traceback from --show-trace
<viric> clever: http://sprunge.us/ZJCF
<simpson> Personally, from those families, I'd recommend Factor, Python, Prolog, and Haskell.
<srk> yeah, only factor is missing
<srk> :)
<viric> clever: my config.nix only has the platform line you wrote, for raspberrypi2
<clever> viric: oh, i think i see the problem
<clever> viric: because you are doing it in config.nix, not configuration.nix
<clever> wait nvm
<clever> import <nixpkgs> { config = {}; }; this should force the 2nd nixpkgs to have no config.nix file
<srk> simpson: but I still need to dig deeper even to the rest of the languages compilers. I'm doing some easier stuff meanwhile like DSL for openscad or G-code generation
<srk> simpson: also http://dev.stephendiehl.com/fun/ is nice
<srk> I feel like I need a ton of dumb DSLs but it still requires careful planning :D
<viric> clever: that's what you wrote before.
<clever> viric: what does "env | grep NIX" output?
<viric> clever: what exactly?
<viric> NIXPKGS_CONFIG=/etc/nix/nixpkgs-config.nix
<viric> NIX_PATH=nixos-config=/etc/nixos/configuration.nix:nixos=/home/viric/nixpkgs/nixos:nixpkgs=/home/viric/nixpkgs
<clever> viric: NIXPKGS_CONFIG might be he problem, try unsetting that and using ~/.nixpkgs/config.nix
spinus has joined #nixos
<viric> OUCH
<viric> I was kind of blind, I see.
<viric> clever: thank you. :)
<ocharles> How do rebuild a store path? nix-store --repair-path hits the cache, but I want to actually build
<clever> viric: i had a similar problem a week ago where nixos-rebuild was outright ignoring config flags outside of tmux, but obeyed them in tmux
<clever> viric: turns out the user had $NIXOS_CONFIG set in one of them
chrishill has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to release-17.03: https://git.io/vyKM2
<NixOS_GitHub> nixpkgs/release-17.03 537aa63 Joachim Fasting: grsecurity: 4.9.13-201703052141 -> 4.9.14-201703121245...
<NixOS_GitHub> nixpkgs/release-17.03 74c77fa Joachim Fasting: linux_4_9: 4.9.13 -> 4.9.14...
nslqqq has quit [(Ping timeout: 240 seconds)]
<viric> aha
<viric> clever: I hit the infrecursion with: nixpkgs.config = {
<viric> platform = pkgs.platforms.raspberrypi2;
<viric> (configuration.nix)
<clever> viric: you will need the same fix there
takle has quit [(Ping timeout: 264 seconds)]
<viric> ahh.
<viric> but pkgs is not a function
<clever> it needs to re-import a new copy of <nixpkgs>
<clever> the problem is that pkgs.platforms depends on nixpkgs.config, which depends on pkgs.platforms
<viric> meh
<viric> who is to blame?
<clever> somebody that recently redid stuff near top-level/impure.nix or top-level/default.nix
<clever> it should be possible to make a single nix file that either passes or fails, then just nix-instantiate and git bisect
<viric> I see
Wizek_ has quit [(Ping timeout: 260 seconds)]
<clever> i should try that...
takle has joined #nixos
Wizek has quit [(Ping timeout: 256 seconds)]
<smw_> viric: hi! you are the one who wrote https://nixos.org/wiki/Raspberry_Pi_2, right?
<viric> clever: stage.nix has a line saying "# TODO(@Ericson2314) this causes infinite recursion"
<viric> smw_: yes, long ago
<clever> ah
<viric> My writings are as outdated as I am
<smw_> viric: lol. I was hoping you had whatever you used to build that sd card.
<smw_> viric: maybe it has something I am missing.
takle has quit [(Remote host closed the connection)]
<smw_> viric: there is no example of building an rpi2 image anywhere.
<viric> smw_: I created the images by using a loopback device, partitioning it, and running nixos-install from py pi2 nixos
<smw_> ah
<viric> no scripted at all
<viric> clever: are you checking your output path hashes with Dezgeg's, for arm? :)
<clever> 92edcb7ebbf5b4b324288ec62bebbc58a3f96ef6 is the first bad commit
<clever> viric: not currently
<viric> clever: I don't know that ericson
<viric> I'm happily trusting Dezgeg repo :)
<viric> it's the first time I take arm binary packages
takle has joined #nixos
<srk> you'll rebuild everything anyway so unless there's some persistence in compiler :D
anelson has joined #nixos
<anelson> hey guys, any idea why the rustStable in current nixpkgs is so old (1.11.0)?
<viric> srk: there is meant to be
<justanotheruser> why am I getting the error error: PAM: Authentication failure for illegal user user from 192.168.1.211 Failed keyboard-interactive/pam for invalid user user from 192.168.1.211 port 43938 ssh2 for https://paste.debian.net/plain/919395
<viric> justanotheruser: someone is ssh-ing you trying the username 'user'
<justanotheruser> viric: I am
Judson1 has quit [(Remote host closed the connection)]
<justanotheruser> see my config
<justanotheruser> oh I think I know what it might be, I don't have that user in my fail2ban
takle has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vyKDE
<NixOS_GitHub> nixpkgs/master c05ac3e Nikolay Amiantov: makeDBusConf: re-add XDG directories for session bus...
<NixOS_GitHub> [nixpkgs] abbradar pushed 1 new commit to release-17.03: https://git.io/vyKDu
<NixOS_GitHub> nixpkgs/release-17.03 03938aa Nikolay Amiantov: makeDBusConf: re-add XDG directories for session bus...
<viric> anyway it was not a keypair authentication
<justanotheruser> maybe not
<justanotheruser> right, it wasn't even though I have the authorizedkeys set up
<justanotheruser> is there some permitNonRootLogin? :p
<justanotheruser> as per my config, it should just allow me via keypair authentication
<viric> no idea
<justanotheruser> can I permituserlogic without password?
<justanotheruser> maybe that's just for root
<joko> Hey, I have a NixOS 16.09 machine with network enabled at initrd and systemd-logind seems to fail, any idea what to look?
arcetera has joined #nixos
Intensity has joined #nixos
brh has quit [(Remote host closed the connection)]
<viric> joko: there are kernel cmdline parameters that can help you see the systemd traces in console
<joko> I think I've found them
alebatt has joined #nixos
<NixOS_GitHub> [nixpkgs] VlachJosef closed pull request #23795: haskellPackages: fix issue #23794 (master...master) https://git.io/vyKzZ
Intensity has quit [(Quit: Quit)]
Intensity has joined #nixos
takle has joined #nixos
<viric> joko: in stage-1.sh or so
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23805: exempi: 2.2.2 -> 2.4.2 (master...exempi) https://git.io/vyKyO
batdog has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vyKys
<NixOS_GitHub> nixpkgs/release-17.03 a99e4f2 Rodney Lorrimar: scala: put docs in correct subdirectory...
<joko> viric: I did it in boot.kernelParams and it worked
<joko> ssh works :S
<joko> journal does not, though
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
<viric> joko: I remember these problems in ARM when my kernel lacked seccomp
batdog has joined #nixos
<joko> viric: this is the kernel coming with NixOS... The extra parts is ZFS over LUKS, ssh enabled on boot to enter the keys remotely and static IP as kernel parameter for the previous to work
<joko> Hm, although /var might get mounted after initrd >_<
<joko> Could that be the issue?
Sonarpulse has joined #nixos
MP2E has joined #nixos
Guest53950 is now known as Fare
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23807: exosip: 4.0.0 -> 4.1.0 (master...exosip) https://git.io/vyKyM
Intensity has quit [(Changing host)]
Intensity has joined #nixos
<viric> no idea, joko
RchrdB has quit [(Ping timeout: 264 seconds)]
alebatt has quit [(Ping timeout: 240 seconds)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
MP2E has quit [(Ping timeout: 256 seconds)]
DutchWolfie has quit [(Client Quit)]
jeremejevs has joined #nixos
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23808: fcppt: 1.3.0 -> 2.5.0 (master...fcppt) https://git.io/vyKSY
seku has joined #nixos
<joko> viric: that was it, I had /var and /var/log on a different dataset
<joko> setting them neededForBoot fixed the errors
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23809: ffmpegthumbnailer: 2.0.10 -> 2.2.0 (master...ffmpegthumbnailer) https://git.io/vyKSK
deepfire` has joined #nixos
<anelson> is anyone familiar with how the rust stuff is defined? There are effectively three definitions of rustc/cargo, one for "stable" (1.11.0), one for "head" (1.13.0) and one for "beta" (which is just given a date)
<anelson> it seems that "beta" is used to build "head", but I'm not sure why or how this works
hesty has joined #nixos
<hesty> hi
<anelson> in addition I can't tell why the commits for beta and head were chosen, they aren't based on any tags or anything
<anelson> in any case, I would like to build or download a recent nightly version of rust, and I'm not sure how to do that on nixos. The rustup script doesn't seem to work on nixos, for instance
goibhniu has quit [(Ping timeout: 240 seconds)]
<seku> just gave nixos a whirl over the weekend. formidable. managed to put together a luks crypt setup with root on zfs
<seku> and it booted in first try. incredible stuff.
<hesty> is there a way to crosscompile for superh?
<justanotheruser> setting passwordAuthentication to false fixed my issue
Gravious has quit [(Quit: leaving)]
<hesty> or ppc64
ixxie has quit [(Ping timeout: 256 seconds)]
<zetok> anelson: perhaps try with manual rustup install?
takle has quit [(Ping timeout: 258 seconds)]
<anelson> zetok: I tried running the script that the site says to use for rustup, and it fails
* zetok shrugs
<zetok> I never used the script
<anelson> what have you used?
<zetok> I've installed rustup manually
<zetok> though not on nixos
<anelson> by "manually", what do you mean
<zetok> there are instructions in the rustup repo
dustmote has joined #nixos
<tilpner> anelson - Have you seen https://github.com/solson/rust-nightly-nix ?
<anelson> as I recall when I ran it before, rustup generated a binary which dynamically linked against something in /usr/lib64, which isn't nixos friendly
<anelson> tilpner: I'm looking at that now
<anelson> Maybe I can use patchElf to modify the rustup binary...
<hesty> nothing?? hello??
<tilpner> I tried using the rustPlatform stuff to package a Rust tool, but I couldn't get it to work :/
dustmote has quit [(Client Quit)]
<zetok> no alacritty ? :(
<anelson> I was able to get one rust package defined in nix (systemd-linter). Took a fair amount of work and kinda hacky, but it happened. No idea about other packages. It's a shame that the rust situation in nix seems a bit non-ideal :(
<tilpner> anelson - Could you link the .nix file?
<anelson> tilpner: it's in a nixpkgs fork but I can track it down if you're curious
<tilpner> I don't see it on github.com/anelson, so yes, a pointer would be helpful. ripgrep is packaged fine, and doesn't give the "Unable to update registry file:///dev/null" error message, and I mostly copied that file...
hesty has quit [(Quit: Page closed)]
<anelson> ^ this doesn't really explain *how* I got everything to work, but you can take a look at it. Frankly I don't fully remember, I had to jump through some hoops to compute the deps hash and generate the cargo.lock
takle has joined #nixos
<anelson> in hindsight I wish I had written down the steps I had gone through, but I guess it wasn't that bad; it took me a few hours maybe to figure it out...
<tilpner> Did you prefer fetchurl over fetchFromGitHub because you wanted to apply that patch?
<tilpner> (And isn't there some other way to do patching?)
<anelson> Either one is fine, fetchFromGitHub just wraps fetchurl
<anelson> There are more high level ways to apply patches, for sure
<tilpner> Thanks, I'll see if I can get it to work building on this :)
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23810: ffms: 2.21 -> 2.22 (master...ffms2) https://git.io/vyK90
<anelson> are you trying to get a systemd linter? :P
<tilpner> No, but it's one more example to build my own derivation :)
<anelson> cool, well I'm not sure I did it the "right way", and like I said I wish I could remember exactly how I did it, but it works well enough and I hope it helps :)
benley has quit [(Remote host closed the connection)]
<tilpner> Do you remember why "inherit (rustPlatform) rustRegistry;" was needed?
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vyK96
<NixOS_GitHub> nixpkgs/master f303ac7 hlolli: csound: 6.04 -> 6.08.1...
benley has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23767: csound: 6.04 -> 6.08.1 (master...master) https://git.io/vyKfT
<anelson> possible it isn't needed? It looks like maybe I'm not actually using it
<anelson> confirmed, the derivation builds without the rustRegistry
<Ralith> anelson: if it's a binary package, you should contact upstream and ask them to include the lockfile in the repo, as is standard practice in rust
<anelson> Ralith: I suppose, but otoh I'm not sure if the lockfile they included would work with the rustRegistry I had anyway... :(
<Ralith> ??
<Ralith> a lockfile's a lockfile
<tilpner> I'm trying to get it to work with my included lockfile, but that always ends in "Unable to update registry file:///dev/null"
<Ralith> occasionally you need to bump the registry's date but that's trivial
<anelson> sure, but everything in the lockfile needs to exist in the registry or it won't be able to be fetched
<Ralith> yes, hence update
<anelson> or maybe I'm not understanding?
<Ralith> (if necessary, which it often isn't)
<tilpner> And that's caused by "failed to open: /tmp/nix-build-cpuline-git.drv-0/deps/registry/index/-ba82b75dd6681d6f/.cargo-index-loc"
<anelson> this is nix... everything has to be fixed, right?
<anelson> in any case the lock file wasn't there and I had to make it myself. So I did
<justanotheruser> Is there a way to get one package from 17.03?
<Ralith> yes, now ask upstream to add one so you don't have to maintain your patch
<Ralith> the registry is a fixed clone of crates.io
<justanotheruser> I am trying to get this https://github.com/NixOS/nixpkgs/pull/22061/files patch
<anelson> tilpner: are you building off of that same commit or just checking out the files? because as I recall I also had to update the registry expression
<tilpner> anelson - Your Cargo.lock is interesting. Did you manually insert https://github.com/rust-lang/crates.io-index everywhere?
<anelson> Ralith: ok, maybe I will at some point
<tilpner> No, wait, you didn't
<anelson> tilpner: I don't recall exactly but I'm pretty sure that lockfile was just generated by cargo
stepcut has joined #nixos
<anelson> tilpner: probably what I did is I cloned the repo and did a 'cargo build' and used that to generate the lockfile, and then probably I had to generate a new rust registry expression to accommodate all of the new packages/versions that were in the lockfile but not in the existing snapshot
<tilpner> anelson - How do you "generate a new rust registry expression"?
takle has quit [(Remote host closed the connection)]
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23811: filter-audio: 20150624 -> 0.0.1 (master...filter-audio) https://git.io/vyKHB
viric has quit [(Ping timeout: 240 seconds)]
<tilpner> Seems likely, but that would be annoying. I don't currently maintain a nixpkgs fork, and I'd rather just keep importing packages from outside :/
takle has joined #nixos
reinzelmann has joined #nixos
viric has joined #nixos
<viric> Dezgeg[m]: clever: how do you deal with multicore boost builds in arm? (heavy ram usage)
takle has quit [(Ping timeout: 268 seconds)]
<clever> viric: moar swap!
<clever> viric: i think i needed 1gig of swap file to make boost pass, but even with the swap file deleted, i dont have enough free space to finish an sdImage build
freusque has joined #nixos
<Dezgeg> yes, swap...
<viric> Dezgeg[m]: why my 17.03 build isn't finding your boost build in the cache? :)
<viric> (I missed not only boost... icu as well)
<clever> what is the link to that hydra?
<Dezgeg> maybe you depend on one of the other zillion versions of boost that I don't get to build
<viric> No idea of Dezgeg[m] hydra. I know the channel url
<viric> Dezgeg[m]: by versions, you mean within a single nixpkgs tree?
<Dezgeg> yes
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vyKHF
<NixOS_GitHub> nixpkgs/master 1d948dd Bo Bakker: caf: init at 0.15.3...
<viric> who knows
<clever> boost boost-build boost155 boost159 boost160 boost162 boost163 boost_process
<viric> and often software only wants headers
<clever> just compare the derivation names within your build and hydra
<viric> Long ago I wrote a "boost_headers" derivation
<viric> But someone dropped it.
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23772: caf: init at 0.15.3 (master...init/caf-0.15.3) https://git.io/vyKT1
<viric> It solved my build problems for long
<clever> with the split output stuff, you can now get the same effect from boost.dev, except it still has to build the entire thing
<viric> now multiple outputs could do the trick
<clever> they probably had binary cache in mind
<viric> ah right, build entire thing.
<viric> damn it.
<NixOS_GitHub> [nixpkgs] periklis opened pull request #23812: [WIP] qcachegrind: init at 16.12.2 (master...topic_qcachegrind) https://git.io/vyKHp
<viric> maybe that's why they dropped it
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyKQf
<NixOS_GitHub> nixpkgs/master 586cd21 ndowens: peru: 1.0.1 -> 1.1.0
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #23683: peru: 1.0.1 -> 1.1.0 (master...peru) https://git.io/vyVyF
<rycee[m]> ronny: Hey, sorry for the late reply. I'm not using nixpkgs-unstable anywhere so I won't claim support for it in home-manager. But I've switched to 17.03 and it works fine there so it may work under unstable as well.
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyKQ8
<NixOS_GitHub> nixpkgs/master 3d9d879 ndowens: ace: 6.3.3 -> 6.4.2
<NixOS_GitHub> [nixpkgs] vbgl closed pull request #23734: ace: 6.3.3 -> 6.4.2 (master...ace) https://git.io/vyoIo
<gchristensen> n
<ndowens08> y
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23694: ripgrep: install man-page (master...8573/fix/pkg/ripgrep/install-man-page/1) https://git.io/vyVpR
<smw_> clever: ok, new thing to debug. I rebuilt with an rpi kernel (through standard nixos way) and when I boot I get output on both serial and TV from uboot which says everything is fine. Then it says "starting kernel ..." and nothing else happens
<smw_> clever: the yellow light isn't blinking which indicates to me the system isn't doing anything
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vyKQ7
<NixOS_GitHub> nixpkgs/release-17.03 d44bf4c c74d: ripgrep: install man-page...
<clever> smw_: could be kernel config, let me look for some debug options
<smw_> clever: oh, I also messed with overlays to disable bt (and get serial on TTYAMA0)
<clever> smw_: ah
<clever> smw_: there is also some earlyprintk stuff, that forces a serial port on much much sooner
<smw_> ?
<clever> when the kernel is built
<smw_> so, another 3 hour build session? :-P
<clever> if built with nix, yes
viric has quit [(Ping timeout: 256 seconds)]
<clever> but for this kind of debug, it may be faster to manualy cross-compile the kernel on an x86 machine
<clever> smw_: that will give you a directory containing an arm cross-compiler
<clever> in theory, it would let you make an arm cross compiler, even on darwin
viric has joined #nixos
<clever> but it lacks a libc, so its only of use for building kernels
<smw_> OK, now is the time to download the cross compile tools. I need to get something to eat though... maybe I will pick this up tomorrow :-P
stepcut has quit [(Remote host closed the connection)]
<Mateon1> Hi, I want to package a Java app built with Gradle. At least for local use. How should I do that?
maninalift has joined #nixos
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23813: geis: 2.2.16 -> 2.2.17 (master...geis) https://git.io/vyK7S
stepcut has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyK7H
<NixOS_GitHub> nixpkgs/master f474f82 Benjamin Staffin: ykpers: consolidate into yubikey-personalization...
<NixOS_GitHub> nixpkgs/master 9e6fe2e Jörg Thalheim: Merge pull request #23765 from benley/ykpers-duplicate...
<maninalift> quick question: I can't seem to see an option to declare groups on the system in the manner of users.extraUsers, am I missing something?
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23814: gecode: 4.4.0 -> 5.0.0 (master...gecode) https://git.io/vyK7F
<obadz> maninalift: users.extraGroups.blah.gid = 20001
<obadz> (some valid GID rather)
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #23768: lib: fix mixed tab/space indents, trailing whitespace, etc (master...lib-whitespace) https://git.io/vyKfl
<maninalift> I did a search in nixpkgs for "groupadd" couldn't see anything that would create groups for me...
<maninalift> cleve: taking a look
vovapi has joined #nixos
<vovapi> Hey guys! I'm new to Nix(OS). I'm trying to make python package work and having strange error:
<NixOS_GitHub> [nixpkgs] obadz pushed 1 new commit to master: https://git.io/vyK53
<NixOS_GitHub> nixpkgs/master 1dd16a9 obadz: coreclr: mark broken
<vovapi> error: Package ‘self-4.5.0’ in ‘/nix/storr9yadrgrhnlx442dhhx3-nixos-17.03beta320.akgs/development/interpreters/self/defaultrked as broken, refusing to evaluate.
<NixOS_GitHub> [nixpkgs] obadz pushed 1 new commit to release-17.03: https://git.io/vyK5G
<NixOS_GitHub> nixpkgs/release-17.03 9037001 obadz: coreclr: mark broken...
<vovapi> i assumed that's because of line: propagatedBuildInputs = with self; [ six ];
michaelpj has quit [(Remote host closed the connection)]
<clever> vovapi: i think its because you have another with elsewhere, and its picking the wrong self
<LnL> there's probably another with somewhere
<maninalift> clever: thanks, works as advertised
<maninalift> obadz: also thanks
<NixOS_GitHub> [nixpkgs] obadz pushed 1 new commit to master: https://git.io/vyK5g
<NixOS_GitHub> nixpkgs/master 2df3b5c Maximilian Bosch: geogebra: 5-0-331-0 -> 5-0-338-0 (#23593)
<clever> vovapi: why are you doing "with self;" on line 13?
<clever> description = "A prototype-based dynamic object-oriented programming language, environment, and virtual machine";
<clever> vovapi: you are trying to reference this package, which is called self
viric has quit [(Ping timeout: 268 seconds)]
<vovapi> clever: i'm using this guide http://nixos.org/nixpkgs/manual/#handling-dependencies
viric has joined #nixos
<clever> vovapi: in that guide, self is an instance of pythonPackages
<clever> but they appear to have omited that detail
<clever> vovapi: you should be able to change it to with python27Packages; [ six ];
<NixOS_GitHub> [nixpkgs] jeremejevs opened pull request #23815: Add subl symlink for Sublime Text 3 (master...master) https://git.io/vyK57
<vovapi> clever: yep, that works. i get my mistake. thanks!
<NixOS_GitHub> [nixpkgs] bennofs pushed 1 new commit to master: https://git.io/vyK5p
<NixOS_GitHub> nixpkgs/master 039c6a6 Benno Fünfstück: haskell: comment about configuration-nix.nix's intersectAttrs
viric has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub> [nixpkgs] bennofs pushed 1 new commit to master: https://git.io/vyKde
<NixOS_GitHub> nixpkgs/master 6c99f88 Benno Fünfstück: fix typo in comment
zraexy has quit [(Ping timeout: 260 seconds)]
viric has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
vovapi has quit [(Quit: Page closed)]
hiratara has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #23817: objconv: 2.16 -> 2.44 (master...objconv) https://git.io/vyKdY
bennofs1 has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<NixOS_GitHub> [nixpkgs] zimbatm pushed 1 new commit to master: https://git.io/vyKda
<NixOS_GitHub> nixpkgs/master 39cd6cc Olegs Jeremejevs: Add subl symlink for Sublime Text 3 (#23815)
fnljk has quit [(Disconnected by services)]
fnljk_ has joined #nixos
bb_ has joined #nixos
freusque has quit [(Ping timeout: 260 seconds)]
bennofs1 has quit [(Quit: WeeChat 1.6)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vyKdN
<NixOS_GitHub> nixpkgs/master 848423f Vladimír Čunát: clisp-tip: make the build more reliable...
stepcut has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vyKFJ
<NixOS_GitHub> nixpkgs/release-17.03 a3939d1 Vladimír Čunát: clisp-tip: make the build more reliable...
stepcut has joined #nixos
sheenobu has joined #nixos
bb_ has quit [(Ping timeout: 260 seconds)]
apostolis has joined #nixos
<7ITAAQIZ8> [nixpkgs] Mic92 closed pull request #23773: cdk:5.0-20160131 -> 5.0-20161210 (master...cdk) https://git.io/vyKT5
<17SAAJQMV> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vyKFL
<17SAAJQMV> nixpkgs/master e098899 ndowens: cdk:5.0-20160131 -> 5.0-20161210
<17SAAJQMV> nixpkgs/master ceeb0de Jörg Thalheim: Merge pull request #23773 from ndowens/cdk...
<apostolis> Are there builders that are not shell scripts?
cfricke has quit [(Ping timeout: 240 seconds)]
<sheenobu> apostolis, ack 'builder = ' shows all .sh style custom builders. I wouldn't be surprised if you could do a builder = ./filename.py or something, as long as it has the shebang and executable permissions
<sheenobu> you'll lose all the nice build helpers i'm guessing
<clever> sheenobu: yeah
<clever> you dont even get buildInputs -> $PATH if you bypass the real builder
<clever> apostolis: what are you wanting to do?
<apostolis> I installed nixos a few days ago, so I am new.
<clever> ah
<apostolis> I was wondering whether I could do metaprogramming with nix expressions.
<sheenobu> i'm using nix-instantiate for persistent nix-shell environments. for some reason after i finish using my environment and nix-collect-garbage, bash-info and bash-doc get removed.
<clever> apostolis: if you dont care about things like buildInputs being handled for you, then you could, one min
<sheenobu> so everytime i do a nix-shell path.drv --command '...', bash-info and bash-doc get redownloaded
<apostolis> buildInputs ?
<clever> apostolis: this is directly calling the derivation function in nix, and it bypasses the entire stdenv.mkDerivation system
<apostolis> I would expect to receive a json file with inputs/
<clever> apostolis: if you manualy made a derivation like this, you can set the builder to the python binary, and args to be a path to a python script
<clever> apostolis: and then python would be the builder
<clever> apostolis: but you might be better off just using pkgs.runCommand
<sheenobu> yeah most projects build systems need to run non-shell at some point and they usually just do it from within an existing shell script or Makefile
thc202 has quit [(Ping timeout: 256 seconds)]
<clever> it would look something like pkgs.runCommand "name" { buildInputs = [ python ]; } "python ${./foo.py} ${./data.txt} > $out"; as a very basic example
<clever> the above derivation will run foo.py on data.txt, and produce a single output file
<viric> Hm can it be that our openssl doesn't use AES-NI?
stepcut_ has joined #nixos
<apostolis> I saw this function "builtings.toJSON"
<clever> apostolis: that will turn a nix attribute set into a string with json
elninja44 has joined #nixos
stepcut has quit [(Ping timeout: 246 seconds)]
<clever> CONFIG_FILE = pkgs.writeText "config.json" (builtins.toJSON config_set);
hiratara has quit [(Quit: ZNC - http://znc.in)]
<apostolis> My metaprogramming language ues javascript, so if it gets inputs as a json string, it will be able to return the source code
<clever> apostolis: an example i pasted about 5 hours ago, this turns the attribute set inside config_set into a json string, then writes it out to the /nix/store as /nix/store/HASH-config.json
<clever> apostolis: and the writeText function returns the path in the store
<apostolis> OK i will need to look at it further tommorow.
hiratara has joined #nixos
<apostolis> You can look at what I am talking at this site.
<apostolis> ribosome is a tool to create code generators. (or builders)
<apostolis> It requires an input to return the source code.
<clever> ah neat
<clever> ive had to write some pascal code generators in c++ before
<clever> the general syntax also reminds me of jade
<anelson> tilpner: sorry I was away
<clever> wait
<clever> how did that url turn to pug? lol
<anelson> tilpner: and yeah, it's annoying and only feasible if you're maintaining a fork like I am (or more accurately my company)
<apostolis> lol
<clever> weird, the jade-land site now redirects to pugjs
<tilpner> anelson - I wanted to update to a newer registry with $ nix-channel --update and now I can't build anything. Still fixing things :/
<anelson> tilpner: but unless/until the tooling improves, that seems to be the way it is. Of course there could be tooling around it to facilitate this, but I'm not sure how
<clever> apostolis: jade is specialized around generating html, and can run JS on input data to fill in fields or repeat sections of the table
<apostolis> nice.
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.03: https://git.io/vyKFx
<NixOS_GitHub> nixpkgs/release-17.03 e47b819 Kranium Gikos Mendoza: asterisk: use fetchsvn for vendored library...
<clever> and internaly, the jade engine just turns your template into a javascript function
<anelson> tilpner: yeah... sorry, like I said how I got it working was hacky and annoying. Since I work on a fork of nixpkgs I have full control over what the packages are, so I don't need to write my stuff to be generic or future-proof with a changing nixpkgs setup. So, it's a little easier. Hopefully though, it (or the experience) gives you some amount of insight into how you might accomplish your needs.
<clever> for a basic template, its just a pile of string concats
stepcut_ has quit [(Read error: Connection reset by peer)]
stepcut has joined #nixos
<Rotaerk> hmm, you can prefetch from hackage like: nix-prefetch-url mirror://hackage/ghcjs-dom-0.2.3.1
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vyKbT
<NixOS_GitHub> nixpkgs/master ba0b527 tv: exim: 4.88 -> 4.89 (#23670)
<Rotaerk> err, append a .tar.gz to that
<Rotaerk> is there some easy way to get the latest version without specifying it?
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #23818: doc/language-frameworks/haskell.md: integer-simple improvements (master...feat-haskell-doc) https://git.io/vyKbk
<Rotaerk> or to query what the latest version is
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #23819: FreeType 2.7.1 and Fontconfig defaults (staging...freetype) https://git.io/vyKbt
<apostolis> ok
stepcut has quit [(Read error: Connection reset by peer)]
<Rotaerk> hmm maybe I can just use cabal for that
<Rotaerk> nah, requires you to cabal update...
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
seku has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
cfricke has joined #nixos
bb_ has joined #nixos
maninalift has quit [(Ping timeout: 268 seconds)]
<bb_> quick question: how long does it usually take for a new package submitted to the nixpkgs master to end up in the nixos-unstable channel?
marsam has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vyKbi
<NixOS_GitHub> nixpkgs/master 54b7c3b Michael Raskin: clisp-git: update to the upstream fix of 32-bit builds...
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<ekleog> bb_: if it has been merged, you can see http://howoldis.herokuapp.com/ ;)
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23820: gloox: 1.0.14 -> 1.0.20 (master...gloox) https://git.io/vyKbh
derjohn_mob has joined #nixos
marsam has left #nixos ["Killed buffer"]
griff_ has joined #nixos
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23821: gmm: 4.3 -> 5.1 (master...gmm) https://git.io/vyKNC
filterfish has joined #nixos
filterfish has quit [(Read error: Connection reset by peer)]
filterfish has joined #nixos
bb_ has quit [(Quit: Page closed)]
k0001_ has quit [(Quit: WeeChat 1.5)]
deech has joined #nixos
saltsa has quit [(Ping timeout: 240 seconds)]
saltsa has joined #nixos
<c74d> clever: with apologies for my inexperience, what are the most likely reasons why I might be unable to reconnect to my server after installing NixOS to it and rebooting from your kexec system?
<c74d> do I need to set any `networking.*` options?
<deech> Hi all, I have a noob question. I have a Nix recipe that's compiling and installing fine on Arch but a NixOS user is reporting compilation errors. How do I go about diagnosing this?
<ndowens08> deech: which package?
<LnL> deech: do you use sandboxed builds?
<c74d> deech: my guess would be that the expression (recipe, as you call it) is missing a dependency
justan0theruser has joined #nixos
<c74d> if you don't use build sandboxing, and you get the errors if you turn that on, that would be diagnostic of a forgotten dependency
<deech> Running with `nix-build -A fltkhs`.
maninalift has joined #nixos
justanotheruser has quit [(Ping timeout: 246 seconds)]
jluttine_ has quit [(Ping timeout: 264 seconds)]
Lnavry has quit [(Ping timeout: 264 seconds)]
<deech> c74d: How do I enable sandboxing?
<c74d> what `mkDerivation` function is that? it doesn't seem to be taking the usual arguments
saltsa has quit [(Ping timeout: 260 seconds)]
<LnL> it's the haskell mkDerivation
<c74d> ah
<c74d> deech: `build-use-sandbox = true` in, uh
<c74d> `~/.config/nix/nix.conf`?
<c74d> (don't trust me on this, I only use NixOS)
<deech> c74d: Is there a command line way of enabling that?
<LnL> in /etc/nix/nix.conf or nix-build --option build-use-sandbox true
<deech> LnL: Thanks! Will try.
<LnL> c74d: maybe the nixos machine got a new ip?
<c74d> LnL: it's a VPS, and the management interface claims it has the same IP address
<LnL> hmm, you enabled ssh right?
<c74d> yes
<c74d> can't ping it either
<LnL> do you know if it had an ip from dhcp before, otherwise you'd probably have to configure it
<c74d> I have no idea
jluttine_ has joined #nixos
Lnavry has joined #nixos
saltsa has joined #nixos
<LnL> do they provide a console or something?
<c74d> uh
<c74d> ostensibly yes, but it's a Java applet and I dunno how to even run one of those nowadays
<c74d> (afaict the answer seems to be "use IE or Safari", which I can't on NixOS)
<yorick> fpletz: do you remember that new firmware I wanted? it seems to break my suspend unless I disable loading it
Jackneill has quit [(Read error: Connection reset by peer)]
mizu_no_oto has joined #nixos
apostolis has quit [(Quit: WeeChat 1.7)]
nh2 has quit [(Ping timeout: 256 seconds)]
nh2 has joined #nixos
fnljk has joined #nixos
fnljk_ has quit [(Ping timeout: 260 seconds)]
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
c0ff33 has joined #nixos
<NixOS_GitHub> [nixpkgs] ndowens opened pull request #23822: google-gflags: 2.1.2 -> 2.2.0 (master...google-gflags) https://git.io/vyKxq