<rgrinberg> also, when i search for packages i get this warning: warning: name collision in input Nix expressions, skipping ‘/Users/rgrinberg/.nix-defexpr/channels_root/nixpkgs’
<rgrinberg> i wonder if that's related in any way
<Unode> that's likely because there's 2 nixpkgs channels on your system
<Unode> possibly one from the root/store level and another from your user.
<rgrinberg> Unode: yeah, that seems to be the case...
<Unode> you can add it under a different name to avoid the collision
<Unode> just call it something else other than nixpkgs
<yorick> can someone try to build speexdsp on nixos-unstable?
<Unode> you can then install from that channel with nix-env -iA channel.package
<rgrinberg> Unode: hmm, and yet i still only have the old versions of ocaml availble :/
radivarig has joined #nixos
sellout- has joined #nixos
sellout- has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
<Unode> rgrinberg: back there on that warning, nix told you about a path. Check on the same path but under the new channel name. See if the content includes the ocaml version you want.
<Unode> It might just be that the channel you cloned doesn't have the version you think it does.
<rgrinberg> i think i did that. i searched with -qaP and i saw only old versions available in both channels
<rgrinberg> i.e. the channel i added and the one from sudo
<yorick> okay, so nix-repl :r doesn't work as well as I thought
<clever> ryantm: rgrinberg: also, "sudo nix-channel --list" doesnt work on a mac, you must "sudo -i" then "nix-channel --list"
<clever> ryantm: gchristensen recently modified the nix installer to do multi-user on darwin by default, because the OS is far more predictable then generic-linux
dbmikus has joined #nixos
dbmikus has quit [(Client Quit)]
_ris has quit [(Ping timeout: 246 seconds)]
onethirtyfive has left #nixos []
ktf_ has joined #nixos
ktf_ has quit [(Ping timeout: 264 seconds)]
justanotheruser has joined #nixos
jb55 has quit [(Ping timeout: 240 seconds)]
<Unode> clever: if I can pick your brain for 2 seconds, do you see anyhing wrong with http://dpaste.com/0MHG1PR
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f8f126b9a1 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> Unode: looks normal at a glance
<Unode> I added that at some point to skip tests on that package. Today a package failed complaining it couldn't find libunistring. Commenting those lines seems to be doing progress.
<Unode> *failed compiling
<clever> only weird part, is that your storing a modified findutils inside libunistring
<clever> rather then a modified libunistring
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v5Niy
<NixOS_GitHub> nixpkgs/master 1ee60e9 Joachim Fasting: tor: 0.3.0.10 -> 0.3.1.7
NixOS_GitHub has left #nixos []
<Unode> clever: hehe that might be the issue. Bad copy paste most likely
<Unode> yup that makes sense
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<Unode> clever: thanks! always helpful as ever :)
<clever> yep
<Unode> might also explain why in the past unistring tests were still running "despite override"
<rnhmjoj[m]> i made a fix for a package in issue #28643 and was merged into master. should i make another PR against the 17.09 branch or is someone going to cherry-pick it?
<fearlessKim[m]> To use one's overlays while 'sudo nixos-rebuiliding', would that be enough to do 'sudo nixos-rebuid NIX_OVERLAY=~/.config/nixpkgs/overlays/' ?
Wizek_ has quit [(Ping timeout: 255 seconds)]
stepcut has quit [(Remote host closed the connection)]
mizu_no_oto has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Quit: Leaving.)]
eacameron has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c7957215e0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
pxc has joined #nixos
Supersonic112 has quit [(Disconnected by services)]
Arcaelyx has joined #nixos
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
pxc has quit [(Ping timeout: 260 seconds)]
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
<neonfuz> so how do I enable xinerama
<neonfuz> should installing libXinerama be enough?
justanotheruser has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
rtjure has quit [(Ping timeout: 246 seconds)]
mbrgm has joined #nixos
Neo--- has quit [(Ping timeout: 246 seconds)]
lambdamu has joined #nixos
rtjure has joined #nixos
lambdamu_ has quit [(Ping timeout: 248 seconds)]
<disasm> neonfuz: with what window manager?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
U007D has joined #nixos
MP2E has quit [(Quit: leaving)]
<neonfuz> kde
<neonfuz> so, kwin, but idk if that's what you're really asking
Infinisil has quit [(Quit: leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #29550: cc-wrapper, cc-wrapper-old: Simplify shell logic (master...cc-wrapper-cross-shell) https://git.io/v5N1N
NixOS_GitHub has left #nixos []
ktf_ has joined #nixos
ktf_ has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zx2c4 opened pull request #29551: wireguard: 0.0.20170810 -> 0.0.20170918 (master...patch-7) https://git.io/v5NMn
NixOS_GitHub has left #nixos []
Nobabs27 has joined #nixos
Nobabs27 has quit [(Client Quit)]
sigmundv has quit [(Ping timeout: 248 seconds)]
ona has quit [(Quit: ...)]
<disasm> neonfuz: hmm, not sure
takle has quit [(Remote host closed the connection)]
stepcut has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
koserge has quit [(Ping timeout: 252 seconds)]
orivej has quit [(Ping timeout: 246 seconds)]
stepcut has quit [(Remote host closed the connection)]
<U007D> hi, all. I'm trying to install NixOS; I've created a 512MB EFI partition (type 0xef00), and a Linux filesystem partition on a pure GPT disk. My system is UEFI. After following the directions in the NixOS Manual, `nixos-install` finishes with a grub bootloader error:
<U007D> warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible... installation of GRUB on /dev/nvme0n1 failed
<vaibhavsagar> U007D, can you try following the instructions on https://chris-martin.org/2015/installing-nixos
<vaibhavsagar> at least with the partition layout?
Khetzal has quit [(Remote host closed the connection)]
drakonis has joined #nixos
<U007D> vaibhavsagar I'm not doing encrypted boots--but other than his need for an "extra" boot partition, my layout is is very similar.
koserge has joined #nixos
<U007D> any one have any ideas why grub install is failing?
<vaibhavsagar> did you try naming the USB 'NIXOS_INSTALL' like he says?
<vaibhavsagar> that's important, I wasted a lot of time before I found out that it matters :)
Khetzal has joined #nixos
<vaibhavsagar> NIXOS_ISO I mean
<U007D> vaibhavsagar what were you experiencing?
<vaibhavsagar> weird issues, this was a few months ago
<U007D> vaibhavsagar (before you renamed your USB to NIXOS_ISO, I mean)
<vaibhavsagar> unable to install correctly
<vaibhavsagar> if you have to ask I'm assuming you didn't try it
<U007D> vaibhavsagar correct; (I'm a bit skeptical it's a factor, frankly)
simukis has joined #nixos
<vaibhavsagar> well, I have 3 nixos-installs on UEFI under my belt with that method
Wizek has quit [(Quit: Connection closed for inactivity)]
<vaibhavsagar> so
<U007D> vaibhavsagar that's why I was wondering if you had GRUB issues or not. Ok, thank you for the tip--I'll put that on my list of things to try.
ktf_ has joined #nixos
athan has quit [(Remote host closed the connection)]
ktf_ has quit [(Ping timeout: 240 seconds)]
stepcut has joined #nixos
<fearlessKim[m]> anyone using the slack application ? desktop notifications don't seem to popup even though enabled
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5fa2fe91c0 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
pxc has joined #nixos
ona has joined #nixos
stepcut has quit [(Remote host closed the connection)]
jtojnar has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/v5NQk
<NixOS_GitHub> nixpkgs/staging d403ffe John Ericson: Merge master-merged PRs #29547 and #29548 into staging
NixOS_GitHub has left #nixos []
drakonis has quit [(Remote host closed the connection)]
drakonis has joined #nixos
radivarig has quit [(Ping timeout: 240 seconds)]
<vaibhavsagar> is anyone testing nginx+modules?
<vaibhavsagar> the echo module is broken on nixos-17.09
Eisfreak7 has quit [(Ping timeout: 248 seconds)]
ryanartecona has joined #nixos
koserge has quit [(Ping timeout: 240 seconds)]
<disasm> U007D: you made sure disk was gpt?
schoppenhauer has quit [(Ping timeout: 248 seconds)]
schoppenhauer has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
jsgrant has left #nixos []
jsgrant has joined #nixos
hiratara has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03 advanced to https://github.com/NixOS/nixpkgs/commit/83706dd49f (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.03)
nix-gsc-io`bot has quit [(Client Quit)]
simukis has quit [(Quit: simukis)]
<tnks> I accidentally put nix.conf in /etc/nix.conf instead of /etc/nix/nix.conf, and I think it actually worked.
<tnks> I'm guessing both locations are looked at.
<tnks> Does anyone know which is preferred?
<tnks> or may it was never actually being used!
drakonis has quit [(Quit: Leaving)]
<neonfuz> trying to compile something that needs libudev.h, which package would have this?
<neonfuz> where are dev headers normally in nixos?
newhoggy_ has joined #nixos
justan0theruser has joined #nixos
justan0theruser has quit [(Client Quit)]
newhoggy has quit [(Ping timeout: 246 seconds)]
justan0theruser has joined #nixos
justanotheruser has quit [(Ping timeout: 252 seconds)]
pxc has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<fearlessKim[m]> neonfez, u should add udev as nativeBuildInput I suppose. As nixos is sourcebased, it will have header I guess
pxc has joined #nixos
* fearlessKim[m] sent a long message: fearlessKim[m]_2017-09-19_04:56:41.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/vXnUlACajvHoNFDqKhpwjAZE>
ryanartecona has joined #nixos
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
ryanartecona has quit [(Ping timeout: 240 seconds)]
ktf_ has joined #nixos
ktf_ has quit [(Ping timeout: 240 seconds)]
sellout- has quit [(Read error: Connection reset by peer)]
odi has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
rauno has joined #nixos
justanotheruser has joined #nixos
justan0theruser has quit [(Ping timeout: 246 seconds)]
reinzelmann has joined #nixos
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 2 new commits to master: https://git.io/v5NFK
<NixOS_GitHub> nixpkgs/master 3e495bf Tuomas Tynkkynen: linuxPackages.cryptodev: Mark broken on >= 4.13...
<NixOS_GitHub> nixpkgs/master 779aea8 Tuomas Tynkkynen: linuxPackages.mxu11x0: Mark broken on >= 4.13...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] veprbl opened pull request #29554: coreutils: remove conflicting _FORTIFY_SOURCE definition (master...patch-1) https://git.io/v5NFi
NixOS_GitHub has left #nixos []
* fearlessKim[m] sent a long message: fearlessKim[m]_2017-09-19_05:41:40.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/rxOAtzZlCnQxQbLRQLzmMADz>
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 2 new commits to release-17.09: https://git.io/v5NF9
<NixOS_GitHub> nixpkgs/release-17.09 b54190b Tuomas Tynkkynen: linuxPackages.cryptodev: Mark broken on >= 4.13...
<NixOS_GitHub> nixpkgs/release-17.09 f5daefb Tuomas Tynkkynen: linuxPackages.mxu11x0: Mark broken on >= 4.13...
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
slabity has quit [(Ping timeout: 240 seconds)]
slabity has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] andrew-d opened pull request #29556: nixos/nginx: add 'acmeDir' option to configure nginx's ACME data (master...adunham/nginx-acme) https://git.io/v5Nbm
NixOS_GitHub has left #nixos []
<fearlessKim[m]> optional returns a list ok, problem solved :D
MercurialAlchemi has joined #nixos
griff_ has joined #nixos
sjourdois has joined #nixos
nextloop has joined #nixos
Aexoden has joined #nixos
voiceftp has joined #nixos
cbarrett has joined #nixos
fearlessKim[m] has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #29557: tshark: init at version 2.4.0 (master...tshark) https://git.io/v5Nbb
NixOS_GitHub has left #nixos []
r0bby has joined #nixos
Ralith has quit [(Ping timeout: 240 seconds)]
Neo--- has joined #nixos
copumpkin has quit [(Ping timeout: 255 seconds)]
noctuid1 has quit [(Ping timeout: 246 seconds)]
rnhmjoj[m] has quit [(Ping timeout: 246 seconds)]
ninegua[m] has quit [(Ping timeout: 240 seconds)]
dylanjust[m] has quit [(Ping timeout: 240 seconds)]
myklam[m] has quit [(Ping timeout: 240 seconds)]
edef[m] has quit [(Ping timeout: 240 seconds)]
bendlas has quit [(Ping timeout: 240 seconds)]
M-fishy has quit [(Ping timeout: 246 seconds)]
plumps[m] has quit [(Ping timeout: 246 seconds)]
mith[m] has quit [(Ping timeout: 246 seconds)]
Obscurity[m] has quit [(Ping timeout: 246 seconds)]
viaken[m] has quit [(Ping timeout: 246 seconds)]
the_m4ur1[m] has quit [(Ping timeout: 246 seconds)]
spacekitteh[m] has quit [(Ping timeout: 246 seconds)]
smbarte2[m] has quit [(Ping timeout: 246 seconds)]
mhsjlw[m] has quit [(Ping timeout: 246 seconds)]
icetan has quit [(Ping timeout: 246 seconds)]
mrdaak[m] has quit [(Ping timeout: 246 seconds)]
qrilka[m] has quit [(Ping timeout: 246 seconds)]
bhipple[m] has quit [(Ping timeout: 246 seconds)]
moredhel1 has quit [(Ping timeout: 246 seconds)]
abbafei[m] has quit [(Ping timeout: 255 seconds)]
sk23[m] has quit [(Ping timeout: 255 seconds)]
reactormonk[m] has quit [(Ping timeout: 255 seconds)]
timclassic has quit [(Ping timeout: 255 seconds)]
pvn[m] has quit [(Ping timeout: 246 seconds)]
matrixkrav has quit [(Ping timeout: 246 seconds)]
puffnfresh has quit [(Ping timeout: 246 seconds)]
magnap has quit [(Ping timeout: 246 seconds)]
demyan[m] has quit [(Ping timeout: 246 seconds)]
Guest15736 has quit [(Ping timeout: 246 seconds)]
pierrebeaucamp[m has quit [(Ping timeout: 246 seconds)]
olejorgenb[m] has quit [(Ping timeout: 246 seconds)]
Yaniel has quit [(Ping timeout: 246 seconds)]
thomad[m] has quit [(Ping timeout: 255 seconds)]
jyp[m] has quit [(Ping timeout: 255 seconds)]
StuK[m] has quit [(Ping timeout: 255 seconds)]
trikl[m] has quit [(Ping timeout: 255 seconds)]
aniketd[m] has quit [(Ping timeout: 255 seconds)]
DIzFer[m] has quit [(Ping timeout: 255 seconds)]
NickHu has quit [(Ping timeout: 255 seconds)]
hendrik[m] has quit [(Ping timeout: 255 seconds)]
Elephant454[m] has quit [(Ping timeout: 255 seconds)]
M-liberdiko has quit [(Ping timeout: 255 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 255 seconds)]
benkolera has quit [(Ping timeout: 255 seconds)]
bachp has quit [(Ping timeout: 255 seconds)]
unlmtd has quit [(Ping timeout: 255 seconds)]
Barnabas[m] has quit [(Ping timeout: 255 seconds)]
regnat[m] has quit [(Ping timeout: 240 seconds)]
musicmatze[m] has quit [(Ping timeout: 240 seconds)]
danielrf has quit [(Ping timeout: 240 seconds)]
retrry[m] has quit [(Ping timeout: 240 seconds)]
aminech[m] has quit [(Ping timeout: 240 seconds)]
rycee has quit [(Ping timeout: 240 seconds)]
tobim[m] has quit [(Ping timeout: 264 seconds)]
tnias[m] has quit [(Ping timeout: 240 seconds)]
tommyangelo[m] has quit [(Ping timeout: 264 seconds)]
AdamSlack[m] has quit [(Ping timeout: 264 seconds)]
Dezgeg[m] has quit [(Ping timeout: 264 seconds)]
kevincox has quit [(Ping timeout: 264 seconds)]
octalsrc[m] has quit [(Ping timeout: 264 seconds)]
hedning[m] has quit [(Ping timeout: 264 seconds)]
sargon[m] has quit [(Ping timeout: 264 seconds)]
Exee7uvo[m] has quit [(Ping timeout: 264 seconds)]
grahamc has quit [(Ping timeout: 264 seconds)]
baconicsynergy[m has quit [(Ping timeout: 264 seconds)]
berot3[m] has quit [(Ping timeout: 264 seconds)]
ycy[m] has quit [(Ping timeout: 240 seconds)]
etcinit[m] has quit [(Ping timeout: 246 seconds)]
onito[m] has quit [(Ping timeout: 246 seconds)]
chominist[m] has quit [(Ping timeout: 246 seconds)]
aspiwack[m] has quit [(Ping timeout: 246 seconds)]
davidar has quit [(Ping timeout: 246 seconds)]
bennofs[m] has quit [(Ping timeout: 246 seconds)]
dalaing has quit [(Ping timeout: 246 seconds)]
corngood has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Ping timeout: 260 seconds)]
yochai[m] has quit [(Ping timeout: 252 seconds)]
Khorne[m] has quit [(Ping timeout: 255 seconds)]
WinterFox[m] has quit [(Ping timeout: 255 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 255 seconds)]
JameySharp[m] has quit [(Ping timeout: 255 seconds)]
Wysteriary[m] has quit [(Ping timeout: 255 seconds)]
dtz has quit [(Ping timeout: 255 seconds)]
jlle[m] has quit [(Ping timeout: 255 seconds)]
Drakonis[m] has quit [(Ping timeout: 252 seconds)]
trevorriles[m] has quit [(Ping timeout: 252 seconds)]
qtness[m] has quit [(Ping timeout: 252 seconds)]
admin[m] has quit [(Ping timeout: 252 seconds)]
wizzup[m] has quit [(Ping timeout: 252 seconds)]
jsv[m] has quit [(Ping timeout: 252 seconds)]
tokudan[m] has quit [(Ping timeout: 252 seconds)]
kitten[m] has quit [(Ping timeout: 252 seconds)]
revoltmedia[m] has quit [(Ping timeout: 252 seconds)]
kainospur[m] has quit [(Ping timeout: 252 seconds)]
thematter[m] has quit [(Ping timeout: 252 seconds)]
Kallegro[m] has quit [(Ping timeout: 252 seconds)]
cornu[m] has quit [(Ping timeout: 252 seconds)]
Supersonic112 has quit [(Ping timeout: 246 seconds)]
TimePath has quit [(Ping timeout: 240 seconds)]
sziszi[m] has quit [(Ping timeout: 276 seconds)]
eqyiel[m] has quit [(Ping timeout: 276 seconds)]
Nobabs27[m] has quit [(Ping timeout: 276 seconds)]
mtncoder[m] has quit [(Ping timeout: 276 seconds)]
itorres has quit [(Ping timeout: 276 seconds)]
herzmeister[m] has quit [(Ping timeout: 276 seconds)]
ArdaXi[m] has quit [(Ping timeout: 276 seconds)]
AllanDaemon[m] has quit [(Ping timeout: 264 seconds)]
freeman42x[m] has quit [(Ping timeout: 264 seconds)]
dibblego[m] has quit [(Ping timeout: 264 seconds)]
a123123123[m] has quit [(Ping timeout: 264 seconds)]
spawnthink[m] has quit [(Ping timeout: 264 seconds)]
wak-work has quit [(Ping timeout: 264 seconds)]
sirius[m] has quit [(Ping timeout: 264 seconds)]
necronian has quit [(Ping timeout: 264 seconds)]
mt has joined #nixos
MercurialAlchemi has joined #nixos
fresheyeball has joined #nixos
glenn has joined #nixos
Lisanna has joined #nixos
alpha_sh has joined #nixos
freusque has joined #nixos
pop has joined #nixos
Taneb has joined #nixos
mt has quit [(Changing host)]
mt has joined #nixos
voice_ftp has joined #nixos
Ivanych has joined #nixos
voice_ftp has quit [(Client Quit)]
JosW has joined #nixos
MarcelineVQ has quit [(Remote host closed the connection)]
Supersonic112 has joined #nixos
voice_ftp_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 1 new commit to master: https://git.io/v5NNT
<NixOS_GitHub> nixpkgs/master 84bfe7e Jonathan Rudenberg: kodiPlugins: fix path for shared object links...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 1 new commit to release-17.03: https://git.io/v5NNk
<NixOS_GitHub> nixpkgs/release-17.03 1eb9ffc Jonathan Rudenberg: kodiPlugins: fix path for shared object links...
NixOS_GitHub has left #nixos []
MarcelineVQ has joined #nixos
voiceftp has quit [(Ping timeout: 260 seconds)]
terrorjack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo closed pull request #26653: kodiPlugins: fix path for shared object links (master...fix-kodi-plugins) https://git.io/vHxKA
NixOS_GitHub has left #nixos []
<yrashk> does anybody know how to enable gnome infrastructure (I have gtk apps that heavily rely on gnome, gsettings, etc.) without enabling desktopManager.gnome? (the latter conflicts with my synaptics and libinput settings)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] teto opened pull request #29558: fcitx: fix keyboard not found (master...fctix_xkeyboard) https://git.io/v5NNE
NixOS_GitHub has left #nixos []
pxc has quit [(Ping timeout: 248 seconds)]
hotfuzz has joined #nixos
hotfuzz_ has quit [(Ping timeout: 255 seconds)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
arximboldi has joined #nixos
arximboldi has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
zzamboni1 has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
zzamboni1 has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
ixxie has joined #nixos
<ixxie> Morning
zzamboni has quit [(Quit: Leaving.)]
<ixxie> domenkozar - you in the house?
<hyper_ch> no
Mateon3 has joined #nixos
civodul has joined #nixos
<ixxie> hyper_ch: you know Domen's schedule? xD
<hyper_ch> it was just a yes/no/maybe/abort/42 question... so I had a 20% chance to pick the right answer ;)
Mateon3 is now known as Mateon1
<ixxie> hyper_ch: assuming uniform distribution
* ixxie is a probability geek
<hyper_ch> no need to overcomplicate things
<hyper_ch> also I could just have picked 42 all the times
<hyper_ch> you can't argue against 42
<ixxie> you can with 23
<ixxie> 23 > 42
<ixxie> clearly
<hyper_ch> well, the only answers that come close to 42 are 47 and 73
<ixxie> and I can guarantee you I am not the only Nixer that believes this is so
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
ixxie has joined #nixos
<ixxie> hyper_ch: I can also guarantee you I am not the only Nixer to think so because there are FNORDs in the manuals and ddate is packaged
zzamboni has joined #nixos
<hyper_ch> well, 42 is never wrong as an answer and because of that I'm hesitant to pick it
<hyper_ch> it just takes the thrill away to know whether I guessed correctly
ktf_ has joined #nixos
Neo--- has quit [(Remote host closed the connection)]
ertes has quit [(Ping timeout: 240 seconds)]
Neo--- has joined #nixos
odi has quit [(Ping timeout: 240 seconds)]
<voice_ftp_> How can I start nix-shell with all build dependencies of the specified package?
sauyon has joined #nixos
mattcode has joined #nixos
odi has joined #nixos
leat has quit [(Quit: WeeChat 1.9)]
<voice_ftp_> I've tried `nix-shell $nixpkgs/pkgs/$blabla/default.nix`, but it does not work (error: cannot auto-call a function that has an argument without a default value (‘fetchurl’))
<sauyon> is there an easy way to call a command in a nix expression
<hyper_ch> hmm, I have a github repo with a few shell scripts and a nix-expression in it... actually I have multiple such repos... now I've been wondering whether I should move the nix-expressions all to a seperate repo... any ideas?
endformationage has quit [(Quit: WeeChat 1.9)]
<ixxie> hyper_ch: so basically create your own little nixpkgs
<hyper_ch> not sure what you mean
FRidh has joined #nixos
<ixxie> hyper_ch: if you put all the nix expressions separately from the scripts you are essentially structuring it like nixpkgs does
<ixxie> there's a repo of nix expressions which summon code from other repos
<hyper_ch> the reason is with the other repos it always rqeuires two commits
<hyper_ch> first commit to get code up-to-date
<hyper_ch> actually 3 commits
newhoggy_ has joined #nixos
<hyper_ch> first to get code up-to-date
<hyper_ch> then next commit updating the commit version
<hyper_ch> and then third commit to update the sha for that commit
zzamboni has quit [(Quit: Leaving.)]
<ixxie> I have been toying with the idea of updating sha hashes by a script that spits out a JSON which is then imported to the expression
<ixxie> I think somebody made a tool for this even
<ixxie> not sure
zzamboni has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
<FRidh> ixxie: with some larger sets of packages we do that, but not with individual packages. There were some PR's for it, but I don't think it got merged.
unlmtd has joined #nixos
<ixxie> cool
hamishmack has joined #nixos
leat has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3ff962d844 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/ea1d5e9c7a (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
ertes-w has joined #nixos
takle has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to release-17.09: https://git.io/v5NhP
<NixOS_GitHub> nixpkgs/release-17.09 06896f2 Rob Vermaas: keybase: update to 1.0.30
NixOS_GitHub has left #nixos []
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rbvermaa pushed 1 new commit to master: https://git.io/v5Nh1
<NixOS_GitHub> nixpkgs/master ef3cb5c Rob Vermaas: keybase: update to 1.0.30...
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
mudri has joined #nixos
nschoe has joined #nixos
kitten[m] has joined #nixos
cornu[m] has joined #nixos
nixo[m] has joined #nixos
baconicsynergy[m has joined #nixos
abbafei[m] has joined #nixos
jyp[m] has joined #nixos
sirius[m] has joined #nixos
indefini has joined #nixos
moredhel1 has joined #nixos
aspiwack[m] has joined #nixos
primeos[m] has joined #nixos
peterhoeg has joined #nixos
regnat[m] has joined #nixos
berot3[m] has joined #nixos
davidar has joined #nixos
bachp has joined #nixos
freeman42x[m] has joined #nixos
NickHu has joined #nixos
hendrik[m] has joined #nixos
revoltmedia[m] has joined #nixos
Naughtmare[m] has joined #nixos
timclassic has joined #nixos
mith[m] has joined #nixos
wak-work has joined #nixos
ArdaXi[m] has joined #nixos
M-liberdiko has joined #nixos
Kallegro[m] has joined #nixos
sudoreboot[m] has joined #nixos
AlanPearce[m] has joined #nixos
Oo[m] has joined #nixos
rycee has joined #nixos
chominist[m] has joined #nixos
octalsrc[m] has joined #nixos
Drakonis[m] has joined #nixos
plumps[m] has joined #nixos
olejorgenb[m] has joined #nixos
matrixkrav has joined #nixos
Exee7uvo[m] has joined #nixos
copumpkin has joined #nixos
itorres has joined #nixos
Geeky[m] has joined #nixos
myklam[m] has joined #nixos
ycy[m] has joined #nixos
Elephant454[m] has joined #nixos
reactormonk[m] has joined #nixos
Johnny44[m] has joined #nixos
sargon[m] has joined #nixos
florianjacob has joined #nixos
viaken[m] has joined #nixos
a123123123[m] has joined #nixos
herzmeister[m] has joined #nixos
magnap has joined #nixos
spacekitteh[m] has joined #nixos
thematter[m] has joined #nixos
offlinehacker[m] has joined #nixos
Wysteriary[m] has joined #nixos
spawnthink[m] has joined #nixos
edef[m] has joined #nixos
benkolera has joined #nixos
the_m4ur1[m] has joined #nixos
ashkitten has joined #nixos
necronian has joined #nixos
hl has joined #nixos
rnhmjoj[m] has joined #nixos
pstn has joined #nixos
Obscurity[m] has joined #nixos
aminech[m] has joined #nixos
tokudan[m] has joined #nixos
Yaniel has joined #nixos
tnias[m] has joined #nixos
dtz has joined #nixos
odi has quit [(Quit: leaving)]
lecorpsnoir[m] has joined #nixos
danielrf has joined #nixos
bennofs[m] has joined #nixos
bhipple[m] has joined #nixos
grahamc has joined #nixos
kevincox has joined #nixos
cwopel has joined #nixos
TimePath has joined #nixos
WinterFox[m] has joined #nixos
Sovereign_Bleak has joined #nixos
puffnfresh has joined #nixos
pvn[m] has joined #nixos
pierrebeaucamp[m has joined #nixos
sk23[m] has joined #nixos
wmertens[m] has joined #nixos
jsv[m] has joined #nixos
qrilka[m] has joined #nixos
aniketd[m] has joined #nixos
Dezgeg[m] has joined #nixos
fearlessKim[m] has joined #nixos
onito[m] has joined #nixos
mtncoder[m] has joined #nixos
adisbladis[m] has joined #nixos
Nobabs27[m] has joined #nixos
bendlas has joined #nixos
yochai[m] has joined #nixos
AmineChikhaoui[m has joined #nixos
JameySharp[m] has joined #nixos
trevorriles[m] has joined #nixos
scott2 has joined #nixos
musicmatze[m] has joined #nixos
sphalerite has joined #nixos
kainospur[m] has joined #nixos
AdamSlack[m] has joined #nixos
DIzFer[m] has joined #nixos
Barnabas[m] has joined #nixos
hedning[m] has joined #nixos
dalaing has joined #nixos
dash has joined #nixos
dibblego[m] has joined #nixos
Ralith has joined #nixos
demyan[m] has joined #nixos
seif[m] has joined #nixos
admin[m] has joined #nixos
jack[m] has joined #nixos
noctuid has joined #nixos
dylanjust[m] has joined #nixos
tommyangelo[m] has joined #nixos
trikl[m] has joined #nixos
mrdaak[m] has joined #nixos
wizzup[m] has joined #nixos
StuK[m] has joined #nixos
etcinit[m] has joined #nixos
Khorne[m] has joined #nixos
M-fishy has joined #nixos
icetan has joined #nixos
tobim[m] has joined #nixos
eqyiel[m] has joined #nixos
ninegua[m] has joined #nixos
corngood has joined #nixos
retrry[m] has joined #nixos
smbarte2[m] has joined #nixos
mhsjlw[m] has joined #nixos
AllanDaemon[m] has joined #nixos
qtness[m] has joined #nixos
jlle[m] has joined #nixos
sziszi[m] has joined #nixos
thomad[m] has joined #nixos
spear2 has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
eacameron has joined #nixos
Supersonic112 has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5Njp
<NixOS_GitHub> nixpkgs/master 42a8ac1 Aneesh Agrawal: libevent: Make OpenSSL dependency optional
<NixOS_GitHub> nixpkgs/master 11efdaf Jörg Thalheim: Merge pull request #29522 from aneeshusa/libevent-make-openssl-dependency-optional...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5AeU
<NixOS_GitHub> nixpkgs/master bfd6d20 Matthieu Coudron: tshark: init at 2.4.0...
<NixOS_GitHub> nixpkgs/master bed076c Jörg Thalheim: Merge pull request #29557 from teto/tshark...
NixOS_GitHub has left #nixos []
zzamboni has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
ktf_ has quit [(Read error: Connection reset by peer)]
Supersonic112 has joined #nixos
odi has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
Geraldus has joined #nixos
odi has left #nixos ["Killed buffer"]
<Geraldus> Hi friends!
odi has joined #nixos
<Geraldus> Having toubles running VSCode + Haskell IDE Engine extension
zzamboni has quit [(Client Quit)]
<Geraldus> Does anyone use VSCode + HIE on NixOS
<Geraldus> ?
zzamboni has joined #nixos
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v5AeD
<NixOS_GitHub> nixpkgs/master bc850cf Tuomas Tynkkynen: qt4: Add aarch64 patch
NixOS_GitHub has left #nixos []
zzamboni has quit [(Ping timeout: 240 seconds)]
nh2 has joined #nixos
<domenkozar> Geraldus: I use HIE
mudri has quit [(Ping timeout: 240 seconds)]
<domenkozar> with atom
<Geraldus> domenkozar: Hmm... Does ATOM extension also depends on Node?
a6a3uh has joined #nixos
takle has quit [(Remote host closed the connection)]
mudri has joined #nixos
koserge has joined #nixos
elurin has joined #nixos
Neo--- has quit [(Ping timeout: 264 seconds)]
sauyon has quit [(Ping timeout: 240 seconds)]
hio has joined #nixos
<hio> I will never learn the nix language, just fyi
<hio> the justifications for inventing a new language are ridiculous, you could easily offer a C api that allows only certain kinds of operations and it would have the same effect
<makefu> hio: nix provides lazy evaluation, show me how you want to do this with a c api
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edwtjo pushed 2 new commits to master: https://git.io/v5AJ3
<NixOS_GitHub> nixpkgs/master d623220 Edward Tjörnhammar: CODEOWNERS: jetbrains
<NixOS_GitHub> nixpkgs/master add7faf Edward Tjörnhammar: jetbrains: update.pl, make sure hashes are in base32
NixOS_GitHub has left #nixos []
woggin has joined #nixos
woggin has quit [(Client Quit)]
thc202 has joined #nixos
goibhniu has joined #nixos
woggin has joined #nixos
a6a3uh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<fearlessKim[m]> what's the policy for backporting a package from master to nixpkgs-unstable ? I really miss the secretstorage python package (I use keyring+secretstorage to access login/passwords in most apps)
phreedom has joined #nixos
<mbrock> hio: would you like to write and maintain Nixpkgs in C?
<bachp> fearlessKim: AFIK unstable gets updated to master once the hydra builds complete. Not sure about the details tough.
<mbrock> hio: btw, how would you explain the justifications for inventing a new language, and where did you learn about them?
erictapen has joined #nixos
<FRidh> fearlessKim[m]: nixpkgs-unstable is a channel that is based on master master. It just takes some time for the channel is updated.
<fearlessKim[m]> Pascal Bach: thanks. I have trouble finding a page with hydra status. I would like to see how far in queue the derivation is
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<FRidh> also, its in nixpkgs-unstable since a couple of hours http://howoldis.herokuapp.com/
mgdelacroix has joined #nixos
a6a3uh has joined #nixos
takle has joined #nixos
phreedom has quit [(Remote host closed the connection)]
Fare has quit [(Ping timeout: 248 seconds)]
__Sander__ has joined #nixos
<fearlessKim[m]> FRidh: fantastic site & great news <3
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #29560: elk: 5.5.2 -> 5.6.1 (master...elk-5.6.1) https://git.io/v5ATp
NixOS_GitHub has left #nixos []
Wizek_ has joined #nixos
Wizek has joined #nixos
mudri has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dywedir opened pull request #29561: fd: 3.0.0 -> 3.1.0 (master...fd) https://git.io/v5Aku
NixOS_GitHub has left #nixos []
phinxy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #29562: journalbeat: 5.5.0 -> 5.6.0 (master...journalbeat-5.6.0) https://git.io/v5Ak6
NixOS_GitHub has left #nixos []
slyfox has quit [(Ping timeout: 240 seconds)]
phinxy has left #nixos []
slyfox has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]> I've been trying the script.py (~4 lines with numpy) https://nixos.org/nixpkgs/manual/#how-to-create-ad-hoc-environments-for-nix-shell, "nix-shell script.py" works fine but once I do ./nix-shell.py, nothing happens ? Is that because my zsh skips the shebang ?
mgdelacroix has quit [(Quit: WeeChat 1.8)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
* __Sander__ is suffering from an Android SDK depression
marusich has quit [(Quit: Leaving)]
* hyper_ch gives __Sander__ some PHP
* domenkozar gives __Sander__ npm 7
slabity has quit [(Remote host closed the connection)]
<hyper_ch> domenkozar: good that you're here :) maybe you can give me advise on something
<__Sander__> hehe
pxc has joined #nixos
<__Sander__> I'm apparently not the only one with a huge backlog of Nix-things to be done :)
<__Sander__> I just read the android sdk EULA
<__Sander__> it's really sad
<__Sander__> and
<__Sander__> it must be accepted
<__Sander__> so
<__Sander__> I'm not sure what to do with the Android SDK in Nixpkgs
<__Sander__> currently it is an old version that did not have such a requirement
<hyper_ch> domenkozar: in this repo https://github.com/sjau/pdfForts I have a nix expression for installing that on nix.... smae here https://github.com/sjau/pastesl and here https://github.com/sjau/jusLinkComposer ... now I've been wondering whether it would be better to remove the .nix fils from those repos and put them into single repo
<__Sander__> I'm not even sure about how "free" android is these days
<__Sander__> I have the feeling that it has become a lot more restrictive
pxc has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
Myrl-saki has joined #nixos
phreedom has joined #nixos
<hyper_ch> domenkozar: your thoughts?
<__Sander__> hmm "You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK"
<__Sander__> don't know if creating a Nixpkgs-based Android SDK is another SDK
<hyper_ch> IMHO it's not
<hyper_ch> it's still the same software
<domenkozar> hyper_ch: I prefer to have nix with the source
<domenkozar> but I guess "it depends"
<hyper_ch> domenkozar: the reason why I'm pondering is because I need to make 3 commits
<hyper_ch> (1) commit altered source (2) change nix file for new commit in step 1 created (3) nix-update and get new sha-256 that matches the new commit
<mbrock> __Sander__: sounds like it should definitely be marked as non-free, right?
<hyper_ch> well, it make sme look 3 times more productive though (based on commit numbers)
<__Sander__> mbrock: yes
<__Sander__> it is not free anymore
<__Sander__> earlier, you had no such obligation
<__Sander__> the sdk was fine, and the base components were free
<__Sander__> only some google-specific APIs weren't
<__Sander__> but now it is an issue
taktoa has joined #nixos
<mbrock> __Sander__: hmm, I wonder if you can just patch out the EULA in a source build
<mbrock> https://wiki.debian.org/AndroidTools mentions that page's "libre rebuilds"
<mbrock> it might be a similar situation as the Caddy web server, which has a EULA on its binaries but is fully open source so you're free to remove it
<__Sander__> yeah, maybe if you cherry pick the free components and build them yourself you can avoid it
<__Sander__> but
<__Sander__> that will be quite a challenge
<__Sander__> to package and test it all
eacameron has joined #nixos
phreedom has quit [(Remote host closed the connection)]
gspia has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #29554: coreutils: remove conflicting _FORTIFY_SOURCE definition (staging...patch-1) https://git.io/v5NFi
NixOS_GitHub has left #nixos []
eacameron has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]> I would like to setup 2 Virtual machines with custom kernels & interconnect them + give them an internet connection. Is that a valid usecase for disnix ?
a6a3uh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
phreedom has joined #nixos
<Mic92> fearlessKim[m]: either that or you use nixops
arximboldi has joined #nixos
<fearlessKim[m]> yeah nixops description seems to fit better even if I have yet to distinguish between the 2 services
a6a3uh has joined #nixos
tmaekawa has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
Wizek_ has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vdemeester opened pull request #29563: runc: 1.0.0-rc3 -> 1.0.0-rc4 (master...update-runc) https://git.io/v5AOY
NixOS_GitHub has left #nixos []
<joepie91> in your case, nixops is probably what you want
<joepie91> (infrastructure deployment, as opposed to service deployment)
seppellll has joined #nixos
zzamboni has joined #nixos
a6a3uh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #29564: ghcjsHEAD: possibly fix template-haskell issue (master...ghcjsHEAD-upgrade) https://git.io/v5AOB
NixOS_GitHub has left #nixos []
cwopel is now known as codyopel
zzamboni has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
zzamboni has joined #nixos
calvinx has joined #nixos
<fearlessKim[m]> joepie91: I have yet to finish the part on disnix but it seems nixops is more than enough for some prototyping. Thanks for the great link
Alling has joined #nixos
a6a3uh has joined #nixos
<fearlessKim[m]> and nixops supports libvirtd \o/
jensens has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
a6a3uh has quit [(Client Quit)]
zzamboni has joined #nixos
SOO7 has quit [(Ping timeout: 252 seconds)]
phreedom has quit [(Remote host closed the connection)]
Wizek_ has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
Alling has quit [(Quit: Page closed)]
zzamboni has joined #nixos
etu has joined #nixos
a6a3uh has joined #nixos
jensens has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Ping timeout: 248 seconds)]
SOO7 has joined #nixos
zzamboni has joined #nixos
a6a3uh has quit [(Ping timeout: 252 seconds)]
ebzzry has joined #nixos
Guest83091 has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<niksnut> __Sander__: sad news about the Android SDK
<niksnut> Google (like Apple) seems to become more and more hostile to FOSS
<__Sander__> yes
<__Sander__> apple was always very restrictive
<__Sander__> they have become slightly less restrictive now
<__Sander__> but it's still bad
<__Sander__> with android it's a different story
<__Sander__> when I just packaged the android sdk
<__Sander__> you could do whatever you want
<__Sander__> it was mostly free
<__Sander__> aside from some google-specific APIs
<__Sander__> now the EULA imposes many kinds of annoying restrictions
zzamboni has quit [(Ping timeout: 240 seconds)]
Geraldus has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
<gchristensen> :(
jtojnar has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
jtojnar has left #nixos []
ebzzry_ has joined #nixos
ebzzry has quit [(Read error: Connection reset by peer)]
ebzzry_ is now known as ebzzry
hotfuzz has quit [(Ping timeout: 255 seconds)]
Guest83091 has quit [(Quit: WeeChat 1.7)]
zzamboni has joined #nixos
<zzamboni> Hi everyone
<zzamboni> Continuing with my exploration of Nix, I have started installing a bunch of packages on my Mac using Nix and uninstalling them from Homebrew
<zzamboni> Question: is there an easy way to see a description of a package? I found "nix-env -qa —meta —xml package" which shows an XML construct which includes the description, but I was wondering if there's some easier way
<goibhniu> zzamboni: doesn't --description work?
<VLetrmx> niksnut, Yes Google are just as bad, for example they have private forks of numerous components such as jgit, where they don't push their contributions back into the open. It is shameful.
<zzamboni> goibhniu: Duh :) Of course it works, somehow I missed that in the documentation - thanks!
<goibhniu> zzamboni: cool, glad to hear you exploration is going well :D
chakerbenhamed has joined #nixos
<zzamboni> I'm still not too familiar with the concept of channels - so far I'm using the default setup
<zzamboni> are there any channels that I should add to find frequently-used stuff?
nh2 has quit [(Ping timeout: 240 seconds)]
* goibhniu doesn't know the deal with the darwin channels
pie_ has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
TweyII has joined #nixos
<edwtjo> __Sander__: what about ReplicantSDK? it would be better than nothing
k2s has joined #nixos
<TweyII> So I've been running an old generation of NixOS for a while because newer ones hang on boot. But it seems like something upgraded my Nix, and now I get: error: current Nix store schema is version 10, but I only support 7
jellowj has joined #nixos
<TweyII> The Web suggests that I dump-db from my newer Nix, but it doesn't seem to help: /nix/store/1rq68c42mp7wa0y8jxj0l581vckiz143-nix-1.12pre5350_7689181e/bin/nix-store --dump-db > /tmp/db.dump just says error: cannot open connection to remote store ‘daemon’: current Nix store schema is version 10, but I only support 7
<mguex> TweyII: your system nix is 1.11, while the db is already @ the scheme 1.12 uses
zzamboni has joined #nixos
<mguex> if you don't have a backup of your /nix/var directory there is not much you can do afaik. I ran into this problem a few times myself.
<TweyII> mguex: Hmm, actually: nix-env --version says 1.12pre5511_c94f3d55
<mguex> TweyII: yeah, that's the one your user env exposes
<mguex> but the system, like the one systemd starts is different I guess
<ocharles> Hmm, I have something quite odd. I have a file, `cabal2nix.nix`, generated - unsurprisingly - with `cabal2nix`. It looks like `{mkDerivation, foo, bar}: ...`. I now have `default.nix` which contains `import ./cabal2nix.nix`. Using this `default.nix` works fine when passed to haskellPackages.overrides
<TweyII> mguex: Ohh
<mguex> cat /etc/systemd/system/nix-daemon.service
<ocharles> However, if I change `default.nix` to `args: import ./cabal2nix.nix args`, I get `anonymous function at /nix/store/dv6ppq8d08czzbg53nss4rah2g1nmsww-api/cabal2nix.nix:1:1 called without required argument ‘mkDerivation’`
<mguex> TweyII: ^
<ocharles> What's going on there?
jellowj has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roberth closed pull request #29421: arelle: enable only on python 3.4 DON'T MERGE (master...master-arelle) https://git.io/v573d
NixOS_GitHub has left #nixos []
<TweyII> mguex: Yeah, it's running /nix/store/rdp6gya3x2pswiil4izcwbn1svi9w8jd-nix-1.11.6/bin/nix-daemon
<chakerbenhamed> Hey, I am generating a list of set using mapAttrs' it's generate something in the form of { foo_x = "bar-a"; foo_y = "bar-b"; }, Right now I wanna repeat that 3 times so it can generate something in the form of { foo_x_1 = "bar-a"; foo_x_2 = "bar-a"; foo_x_3 = "bar-a"; foo_y_1 = "bar-b"; foo_y_2 = "bar-b"; foo_y_3 = "bar-b";}. I tried using map on top of mapAttrs map (i: mapAttrs' (name: value: nameValuePair
<chakerbenhamed> ("foo_" + name+"${i}" ) ("bar-" + value)) { x = "a"; y = "b"; }) [ 1 2 3 ] but it didn
<chakerbenhamed> didn't work
<ocharles> `{mkDerivation, ...}@args: import ./cabal2nix.nix args` gets further, but just complains about a different missing attribute
<TweyII> mguex: Can I maybe tell nix not to use the daemon? So I can dump the DB?
<chakerbenhamed> mapAttrs map (i: mapAttrs' (name: value: nameValuePair ("foo_" + name+"${i}" ) ("bar-" + value)) { x = "a"; y = "b"; }) [ 1 2 3 ]
ixxie has joined #nixos
<mguex> TweyII: try shutting down the daemon using systemctl and running it yourself as root/sudo in a terminal
calvinx has quit [(Quit: calvinx)]
<mguex> but of course the 1.12 version
<mguex> then dump the db
<mguex> but I am not sure whether you can import the db into 1.11
<mguex> if it is not possible here is what I did the last few times:
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 opened pull request #29566: gdbm: add symlinks for compatibility (master...gdbm) https://git.io/v5AWh
NixOS_GitHub has left #nixos []
<mguex> boot into a live system, mount your root, mv /nix/var/ /nix/var_old, nixos-install
k2s has quit [(Ping timeout: 240 seconds)]
mgdelacroix has joined #nixos
<TweyII> mguex: Ahhhh that worked
<TweyII> mguex: Thank you!
zzamboni has quit [(Ping timeout: 264 seconds)]
<mguex> TweyII: do you have all your stuff tied into environments?
<mguex> like within ~/.nixpkgs/config.nix
<mguex> if you have, reinstalling nix and bringing your system into (hopefully) the same state takes only a few minutes
<TweyII> mguex: Not really
<TweyII> I could reinstall probably, but the dump worked
<Mic92> I use home-manager for that reason
jtojnar has joined #nixos
<mguex> if you don't have environments for your packages (or everything under environment.systemPackages), this is a good opportunity :)
<mguex> Mic92: thanks, first time I read that - I defined a bunch of pkgs.buildEnv`s
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rickynils closed pull request #29501: obnam: 1.21 -> 1.22 (master...obnam) https://git.io/v5Fqt
NixOS_GitHub has left #nixos []
ryanartecona has joined #nixos
<Mic92> But I also want to move more stuff from configuration.nix to home-manager at some point
<ixxie> FRidh: you did some stuff with Jupyter right?
<mguex> Mic92: yeah...there is also this magic stuff in nixpkgs that automagically updates your envs when you do nixos-rebuild switch
<mguex> but there have been attempts to purge this function
* mguex forgot how this spell was called
<Mic92> mguex: I wanted an explicit separation between system and home updates to make testing of pull requests modifying nixos easier.
<FRidh> ixxie: yes
<mguex> TweyII: if you need guidance, ping - brb
<TweyII> mguex: I've successfully managed to build a new generation that I hope can be persuaded to boot
ryanartecona has quit [(Ping timeout: 240 seconds)]
<TweyII> mguex: So I'm about to take the plunge ;)
TweyII has quit [(Quit: WeeChat 1.7)]
jellowj has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<ixxie> FRidh: has anyone tried to package jupyter hub?
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5A8p
<NixOS_GitHub> nixpkgs/master 72129c2 dywedir: fd: 3.0.0 -> 3.1.0
<NixOS_GitHub> nixpkgs/master d63b59a Jörg Thalheim: Merge pull request #29561 from dywedir/fd...
NixOS_GitHub has left #nixos []
<FRidh> ixxie: not that I am aware of
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to release-17.09: https://git.io/v5A4l
<NixOS_GitHub> nixpkgs/release-17.09 9c9a106 dywedir: feh: 2.19.3 -> 2.20...
<NixOS_GitHub> nixpkgs/release-17.09 4a524b5 Joachim Fasting: tor: 0.3.0.10 -> 0.3.1.7...
NixOS_GitHub has left #nixos []
<ixxie> FRidh: do you recon it would be particularly challenging? I am thinking of giving it a shot but I never packaged anything but my own scripts
Infinisil has joined #nixos
tmaekawa has quit [(Ping timeout: 240 seconds)]
Infinisil has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to master: https://git.io/v5ABY
<NixOS_GitHub> nixpkgs/master 5c18c55 Robin Gloster: dmtcp: fix buffer overflow due to too long ld-linux.so path...
NixOS_GitHub has left #nixos []
<FRidh> ixxie: not really. Just use buildPythonPackage for jupyterhub, and node2nix for the proxy.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to release-17.09: https://git.io/v5AB0
<NixOS_GitHub> nixpkgs/release-17.09 fb16e57 Robin Gloster: dmtcp: fix buffer overflow due to too long ld-linux.so path...
NixOS_GitHub has left #nixos []
<gchristensen> wow, nice globin
tmaekawa has joined #nixos
<ixxie> ill give it a shot FRidh
griff_ has quit [(Ping timeout: 260 seconds)]
<globin> gchristensen: well very special case for NixOS
griff_ has joined #nixos
<gchristensen> no kidding :)
<globin> gchristensen: also cannot imagine a way of exploiting that
<ixxie> rycee: you here by any chance?
<gchristensen> globin: I'd be impressed if someone did :)
<globin> gchristensen: (unless you bundle a ld-linux.so and control the whole path and built the dmtcp executable to that ld-linux.so, which would generally mean you've got too many privileges anyway %))
eacameron has joined #nixos
ShalokShalom_ has joined #nixos
<ixxie> anybody know how to get the home manager to work for the non-graphical emacs
eacameron has quit [(Ping timeout: 248 seconds)]
tmaekawa has quit [(Ping timeout: 248 seconds)]
<ixxie> or lets put it this way, is there emacsWithPackages for non-graphical emacs?
ShalokShalom has quit [(Ping timeout: 255 seconds)]
jellowj has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29563: runc: 1.0.0-rc3 -> 1.0.0-rc4 (master...update-runc) https://git.io/v5AOY
NixOS_GitHub has left #nixos []
griff_ has quit [(Ping timeout: 248 seconds)]
iyzsong has joined #nixos
ShalokShalom_ is now known as ShalokShalom
jellowj has joined #nixos
acarrico has quit [(Ping timeout: 248 seconds)]
acarrico has joined #nixos
robert` has joined #nixos
spear2 has quit [(Ping timeout: 255 seconds)]
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<robert`> Hi there! A little question came up the other day. I am managing my servers with nixops, which gives me declarative deployments. I know that with the same configuration I will get the same server state. My problem right now is, ok: but what exactly is my current server state? I have my configuration checked in in a git repo, but commits don't necessarily match up with deployments. So I have this server and I have my config, how do I
<robert`> know what version of the config matches up with the current server state? In particular I have a nixpkgs-overlay in my config directory where I have a derivation for gonimo our web-based baby monitor. How can I find out, which git commit of the gonimo repo is currently running on my server? Many thanks in advance!
<clever> robert`: find the storepath of gonimo that is actively running (ps aux), then find its .drv file in the store of the deployer that ran nixops
<clever> robert`: in that drv file should be the path to its src drv, which will contain directions on how the src was downloaded
<clever> robert`: nix-store --query can also help
erictapen has quit [(Ping timeout: 248 seconds)]
<rycee> ixxie: No, at the moment it doesn't support emacs without X. Should be simple to change. I'll have a look at it.
<ixxie> rycee: I figured out I can just run emacs -nw for the terminal version
spear2 has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<ixxie> so its not that important honestly
<rycee> ixxie: Ah, right. I thought you didn't want the X dependencies.
<ixxie> rycee: I don't but I can live with them for now
<ixxie> its not worth the effort at this moment ^^
voice_ftp_ has quit [(Quit: Leaving)]
voiceftp has joined #nixos
<rycee> Cool. I'll have a look at it when I can.
<ixxie> rycee: how are git aliases entered?
<ixxie> is it like aliases = { a = "add"; p = "push";};
<ixxie> sweet
<ixxie> thanks
nh2 has joined #nixos
<rycee> Ya.
Shados has quit [(Quit: No Ping reply in 180 seconds.)]
voiceftp has quit [(Quit: Leaving)]
voiceftp has joined #nixos
Shados has joined #nixos
griff_ has joined #nixos
rburkholder has joined #nixos
michiell has joined #nixos
stepcut has joined #nixos
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
sellout- has joined #nixos
Fare has joined #nixos
sellout-1 has joined #nixos
spear2 has quit [(Remote host closed the connection)]
takle has joined #nixos
sellout- has quit [(Ping timeout: 246 seconds)]
zzamboni has quit [(Quit: Leaving.)]
stepcut has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
stepcut has joined #nixos
zzamboni has joined #nixos
griff_ has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
sellout-1 has quit [(Quit: Leaving.)]
Fare has quit [(Ping timeout: 246 seconds)]
<robert`> clever: Thank you that were some clever hints. I did not manage yet to track it down to the actual source (possibly because I tried to be clever with my nix deployment setup), but at least I have a starting point now. Thank you!
Infinisil has joined #nixos
pxc has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz closed pull request #27936: keybase: 1.0.22 -> 1.0.27-20170726114412.8169d66 (master...keybase-git) https://git.io/v7Vun
NixOS_GitHub has left #nixos []
zzamboni has quit [(Ping timeout: 248 seconds)]
<ij> Is it possible to generate the inputs of a derivation in my default.nix?
pxc has joined #nixos
sellout- has joined #nixos
TweyII has joined #nixos
<TweyII> mguex: It booted! All is good
<TweyII> (well, I had to disable bumblebee, but other than that)
<mguex> TweyII: wb :)
newhoggy has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
<TweyII> Thanks!
<mguex> TweyII: what did you do exactly? this might be a good article for the wiki
<TweyII> mguex: Disable daemon, then follow the usual schema update procedure (dump, load) dumping from the new nix in /nix/store
<TweyII> Then re-enable the daemon
<mguex> k :)
<TweyII> Now I'm suffering the slight embarrassment at work that I'm using the nixpkgs-mozilla overlay for Rust, but I'm getting error: imported archive of ‘/nix/store/y54pp8hil2fbv3q9wdyfh2vlgafska83-channel-rust-nightly.toml’ lacks a signature when I try to build my env
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #29567: mosquitto: 1.4 -> 1.4.14 (master...patch-60) https://git.io/v5A69
NixOS_GitHub has left #nixos []
<TweyII> mguex: Even though I rebuilt, and nix-channel only has unstable in it, I notice that I still have /nix/store/rdp6gya3x2pswiil4izcwbn1svi9w8jd-nix-1.11.6/bin/nix-daemon in my systemd config
<TweyII> Oh wait, no, it's now /nix/store/q4v6p3r5bhddhl9rhyc9c80v3zi5babg-nix-1.11.15/bin/nix-daemon
<TweyII> Ohhh, this is all because I went rogue and installed nixUnstable for the shiny CLI tool the other day
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/v5AiB
<NixOS_GitHub> nixpkgs/master 33e34aa Peter Simons: haskell-generic-builder: rename withBenchmarkDepends argument to doBenchmark...
NixOS_GitHub has left #nixos []
reinzelmann has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to release-17.09: https://git.io/v5Aia
<NixOS_GitHub> nixpkgs/release-17.09 db849d3 Peter Simons: haskell-generic-builder: rename withBenchmarkDepends argument to doBenchmark...
NixOS_GitHub has left #nixos []
<mguex> TweyII: if you really want to use nixUnstable this is nix.package = pkgs.nixUnstable; in your configuration.nix but I'd wait until it is stable
<mguex> try to downgrade to nix 1.11 again
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v5Aih
<NixOS_GitHub> nixpkgs/master 8231045 Peter Simons: LTS Haskell 9.5
<NixOS_GitHub> nixpkgs/master eab41cb Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
eacameron has joined #nixos
takle has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
roni has joined #nixos
justanotheruser has quit [(Ping timeout: 255 seconds)]
<roni> can anyone explain why <nixpkgs> comes from root's channels, but nix-env uses my non-root user's channels? if i want to keep all sources of packages up-to-date, do i need to do both `nix-channel --update` and also `sudo nix-channel --update`?
<roni> or would there be any major problem setting NIX_PATH to point to my non-root user's channels instead? (there would no longer be one "central" channel for packages, i suppose, but i could keep everything up to date with a single command)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/v5AXw
<NixOS_GitHub> nixpkgs/master a8b6995 Peter Simons: haskell.lib: add doBenchmark helper function
<NixOS_GitHub> nixpkgs/master 2439a83 Peter Simons: haskell.lib: strip trailing whitespace
NixOS_GitHub has left #nixos []
roni has quit [(Disconnected by services)]
roni_ has joined #nixos
roni_ is now known as roni
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
<tnks> roni: I don't use NixOS (yet), but Nix itself is unopinionated about what you set NIX_PATH to.
ona has quit [(Quit: ...)]
<tnks> I set NIX_PATH to alternate nixpkgs checkouts all the time at work.
<makefu> roni: you can do this without any issues.
<fearlessKim[m]> roni_: yeah you can do whatever you want, I have nixpkgs set in NIX_PATH to local repo too. (just need to be careful with nix-env that ignore it by default)
pxc has quit [(Ping timeout: 240 seconds)]
jellowj has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
hio has quit [(Ping timeout: 248 seconds)]
<TweyII> mguex: Yeah, I did
jellowj has joined #nixos
<TweyII> mguex: I just did a ‘nix-env -i nixUnstable’ in my environment, secure in the knowledge that Nix wouldn't let my user environment do any damage to the system environment ;)
<gchristensen> TweyII++
<TweyII> mguex: But nix-env -e nixUnstable undid it
<TweyII> Or rather, nix-env -e nix; nix-env -i nix
<TweyII> Though I guess I don't actually need a nix in my user env
<taaperotassu> Damn so updating my configuration.nix without adding boot.loader.grub.enableCryptodisk = true; doesnt work .. I thought it would only need password for choosing to boot nixos.. but now grub also needs to have password.
zzamboni has quit [(Remote host closed the connection)]
<TweyII> taaperotassu: I just use boot.initrd.luks.devices and I have the setup it sounds like you want
newhoggy has joined #nixos
zzamboni has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<Ankhers> I am going through a guide to get xmonad + xmobar setup. The guide suggests adding some things to my .xsession file. Is that still the suggested way of doing things, or is there a more NixOS-y way of doing things? (Specifically I need to start trayer). https://wiki.haskell.org/Xmonad/Config_archive/John_Goerzen's_Configuration is the guide I am going through.
Arcaelyx has joined #nixos
<taaperotassu> TweyII how did u do that?
<taaperotassu> or like if u use that .. can u update normally withut getting dtree errors? TweyII
<taaperotassu> after quick google https://pastebin.com/0pJnjvEE Wondering why the name is root? also if not using lvm then the syntax would be?
griff_ has quit [(Ping timeout: 248 seconds)]
zzamboni has quit [(Quit: Leaving.)]
zzamboni has joined #nixos
rauno has quit [(Ping timeout: 255 seconds)]
<TweyII> taaperotassu: You want to use LVM — otherwise you have to enter a separate passphrase for each partition
<TweyII> taaperotassu: You can use any name you like — that's the name that appears in /dev/mapper, e.g. /dev/mapper/root
zzamboni has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<taaperotassu> okay
<taaperotassu> but I think that LVM will just over complicate.. I am trying to get dualboot to work.
<taaperotassu> thought also that I have boot as own partition.. and nixos installation on its own.. so thats why boot also needs to be encrypted?
zzamboni has quit [(Ping timeout: 240 seconds)]
ebzzry has quit [(Ping timeout: 260 seconds)]
iyzsong has quit [(Ping timeout: 240 seconds)]
<taaperotassu> Why with lvm it will overcome this problem?
<TweyII> taaperotassu: /boot should be unencrypted. LVM allows you to put multiple logical partitions inside one physical (LUKS) partition, so you only have to open the volume once.
<TweyII> Rather than having to separately unlock /, /home, /var, swap, &c.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #27797: Convert libs to a fixed-point (master...fixed-lib) https://git.io/v78r8
NixOS_GitHub has left #nixos []
c_wraith has joined #nixos
<chakerbenhamed> Hey is there a function that flaten a list of set into a set?
<taaperotassu> Right now I am having https://github.com/NixOS/nixpkgs/issues/21830 this issue.. and boot.grub.enableCryptodisk = true; having this forces grub to ask me password TweyII
robert` has quit [(Ping timeout: 240 seconds)]
<taaperotassu> my Nixos /home /var etc are all in same partition thought.
<disasm> chakerbenhamed: concatSets?
<tilpner> chakerbenhamed - Maybe foldl mergeAttrs {} list-of-sets
michiell has quit [(Ping timeout: 240 seconds)]
<disasm> which is pretty much what tilpner said does: concatSets = builtins.foldl' (a: b: a // b) {};
<tilpner> Oh, didn't know about concatSets
<disasm> yeah, I came across it last night helping someone figure out why non-existent drivers for X didn't throw an error on rebuild :)
<tnks> I have a script that calls a Nix expression using nix-build. And we have a situation where sharing source code is tricky at work (for reasons that are partially political).
<tnks> I know nix-env can install with /nix/store paths, which is nice.
<chakerbenhamed> It didn't work as I want. Bascilly the list of set that I have is in the form of [ { worker-bar = { description = "bar-1"; }; worker-foo = { description = "foo-1"; }; } { worker-bar = { description = "bar-2"; }; worker-foo = { description = "foo-2"; }; } ]
<tnks> but is there a way to also get that to work with nix-build?
<tnks> (it saves me having to refactor this script too heavily).
<tnks> (if I can change more the Nix expression than the script).
ryanartecona has joined #nixos
<disasm> tnks: I'm not sure what you're asking. nix-build installs in to the store if that's what your asking.
<roni> tnks: makefu: fearlessKim[m]: thanks for your thoughts!
<tnks> disasm: I think I'm asking something that's not possible or recommended, which is one reason the question sounds funny.
<roni> fearlessKim[m]: i thought about setting it to a local repo but i'm not developing new packages for nix a lot, i mainly want to keep a private "custom packages" repo going, based off the same channels i get packages via nix-env from
<chakerbenhamed> disasm: tilpner Sorry It acctually works
<chakerbenhamed> I had a typo
<chakerbenhamed> Thanks a lot
<tnks> disasm: nix-build normally take a Nix expression that yeilds a derivation as input. I'm wondering if it can also take in the /nix/store path for something that's already built and just grab it from a private cache.
<tnks> disasm: but I can use nix-env for that, I think.
<disasm> ah, I see now...
<fearlessKim[m]> roni maybe you can use nix "overlays"
<tnks> disasm: cool, now that you understand the question... do you think it's possible?
<roni> Ankhers: i use xmonad with xmobar and trayer - i have a .xinitrc file that starts things, and i tell my configuration.nix to `sh ~/.xinitrc` as part of the displaymanager settings
<TweyII> taaperotassu: Yeah, if you encrypt GRUB you'll need to enter a passphrase to decrypt it
<disasm> I don't think it is, but I'm no expert myself :)
<TweyII> taaperotassu: Although it seems that you can then set it up to decrypt your other partitions for you
<roni> Ankhers: would be nixosier to just put the commands directly in there but i've been taking baby steps :)
<roni> fearlessKim[m]: i have looked at overlays a bit and i don't fully get them yet
<fearlessKim[m]> TweyII: I installed once nixUnstable and I quickly rolled back, be careful
<roni> fearlessKim[m]: right now i'm just trying to create a derivation that lets me wrap chromium with some extra flags
<disasm> tnks: so basically you have something in /nix/store built already that you don't have access to the source derivation and you want it to use that, and if it doesn't exist, fetch from binary cache
<fearlessKim[m]> roni: overlays are just perfect for that
ryanarte_ has joined #nixos
<roni> fearlessKim[m]: can you maybe point me to an example? would love to try different ways to do this to get my head around it
<disasm> clever Infinisil gchristensen ^^^ any thoughts, is what tnks wants to do possible?
<TweyII> fearlessKim[m]: Too late ;)
<TweyII> fearlessKim[m]: But it's okay, I recovered with mguex' help
<fearlessKim[m]> roni: you can checkout https://github.com/teto/home/blob/master/config/nixpkgs/overlays/i3.nix. I don't say it's the proper way to use it but it works for me
<roni> awesome, thank you!
<fearlessKim[m]> so you would do "chromium-custom = super.chromium.override...." for instance
griff_ has joined #nixos
<fearlessKim[m]> or just chromium = super.chromium.over...
<bebarker> So it seems like shellHook does not apply to nix-env. I like to have my "user" environment defined based on a nix expression so far - sometimes I do need environment variables set. What is the nix way to do this?
ryanartecona has quit [(Ping timeout: 240 seconds)]
zoya-kosova[m] has joined #nixos
<roni> bebarker: you might be able to use nix-shell for that but i'm not sure
<roni> fearlessKim[m]: supposing i *just* want to use wrapProgram to add a flag to ${super.chromium}/bin/chromium
<roni> do you think i'd override chromium and change the postInstall step or something?
sellout- has quit [(Ping timeout: 240 seconds)]
ona has joined #nixos
eacameron has quit [(Remote host closed the connection)]
sellout- has joined #nixos
<fearlessKim[m]> I thought you were thinking of a compilation flag, you meant that you want to run "chromium --someflag" instead ?
<roni> oh, yes, sorry if i was unclear
<fearlessKim[m]> roni: never did that but wrapProgram looks good
<roni> i figured out how to do this generally with wrapProgram but i am not sure how to create a derivation that has the current chromium's version number, but also wraps its binary that way - hopefully that makes sense?
<roni> ok cool
<roni> i will experiment
<taaperotassu> TweyII: Strange that I need to encrypt my grub as otherwise I get load of errors when I wanna change my settings.
leat has quit [(Quit: WeeChat 1.9)]
<fearlessKim[m]> roni: if you find out, feel free to share, I might be interested :)
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
seppellll has quit [(Remote host closed the connection)]
<TweyII> taaperotassu: Just looks like a grub bug
<TweyII> taaperotassu: Apparently it's fixed in newer versions?
jellowj has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Ping timeout: 246 seconds)]
<taaperotassu> I did not my nixos installation yesterday TweyII .. probably need to change nixos channel to fresher the
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
<taaperotassu> unstable could be the way
<TweyII> Might be worth a try
nixer has joined #nixos
Wizek_ has quit [(Ping timeout: 248 seconds)]
mgdelacroix has quit [(Quit: WeeChat 1.8)]
eacameron has joined #nixos
griff_ has quit [(Quit: griff_)]
eacameron has quit [(Ping timeout: 248 seconds)]
erasmas has joined #nixos
pxc has joined #nixos
<WilliButz> hey there, is there a builtin function to read a file to a string without newline being appended to the outputstring? I'm currently using '${replaceStrings [ "\n" ] [ "" ] (readFile somefile)}' (note that my file only consists of one line)
justbeingglad1 has joined #nixos
justbeingglad1 has left #nixos []
<tilpner> Are you sure that happens? readFile doesn't append a newline here
<catern> WilliButz: your file contains a newline
<catern> if it's a single line, it probably has a newline at the end :)
<catern> you could dump it as hex or something to see for sure (or use hexl-mode)
<catern> if you want it to be without a newline at the end, you can create the file with "print $string > file"
<WilliButz> oh alright, but I made sure that I don't write a newline to the file with printf. I'll check where the newline comes from. thanks :)
<roni> fearlessKim[m]: will do, thanks again :)
slabity has joined #nixos
chakerbenhamed has quit [(Quit: WeeChat 0.4.2)]
<nixer> Is there a lot of interest of adding typing to nix lang? I just found this project: https://github.com/regnat/tix
<TweyII> nixer: It's widely considered Something We Ought To Do™
<TweyII> nixer: But Tweag is funding it, so it'll probably get done
Wizek_ has joined #nixos
<nixer> Cool, I'd love to help out as well.
<TweyII> nixer: AFAIK it's a one-person project, so you might want to hit up regnat
<roni> fearlessKim[m]: turns out the chromium nix expression takes a commandLineArgs argument
<roni> but i am not sure when/how i would fill something in there
<roni> in an overlay?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #29568: cc-wrapper: Clean up dynamic linking with x86 multilib (staging...cc-wrapper-32) https://git.io/v5Ajj
NixOS_GitHub has left #nixos []
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Fare has joined #nixos
ryanarte_ has quit [(Quit: ryanarte_)]
ryanartecona has joined #nixos
<tilpner> roni - self: super: { chromium = super.chromium.override { commandLineArgs = "foo"; }; }
<roni> awesome thanks tilpner
<roni> i see that chromiumBeta and chromiumDev work similarly in the top-level/all-packages.nix expression
<roni> can you tell me where the `config` argument in that file comes from?
<roni> my config/nixpkgs/config.nix?
<tilpner> You can pass a config argument in while importing nixpkgs, otherwise it's read from NIXPKGS_CONFIG, ~/.config/nixpkgs/config.nix and ~/.nixpks/config.nix
eacameron has joined #nixos
griff_ has joined #nixos
TweyII has quit [(Quit: WeeChat 1.7)]
<roni> tilpner: ah, nice, thanks!
michiell has joined #nixos
JagaJaga has joined #nixos
<slabity> Running `nix-env -iA nixos.libxml2` does not install the header or library files. Anyone know what I'm doing wrong?
nixer has quit [(Ping timeout: 260 seconds)]
<roni> slabity: you may need to install a dev package, something like nixos.libxml2.dev
<roni> i am guessing the .dev output contains the headers/libraries
<roni> but i haven't figured out a way to tell this sort of thing for sure short of (1) looking at a particular nix expr and (2) trying it out in a nix-shell :(
<slabity> roni: Do you happen to know where they get installed? I assume ~/.nix-profile
<roni> actually, i don't think those headers/libraries will become "visible" that way - you are supposed to set up a dev environment for nix-shell (via buildInputs) if you want to use those files
ryanartecona has quit [(Quit: ryanartecona)]
<roni> otherwise you would end up wrecking your pure environments etc.
<roni> doesn't have to be just nix-shell - any derivation that declares libxml2.dev in its buildInputs can use it, of course
newhoggy has joined #nixos
<michiell> I'm having some issues with acme not being able to renew my certs, and in the logs I see that an error+json file is sent. Does anybody know if that response is logged anywhere?
<slabity> roni: Is there a simple guide on setting up a dev environment? Is it just creating a default.nix for the package you're building?
sellout-1 has joined #nixos
jb55 has joined #nixos
sellout- has quit [(Ping timeout: 248 seconds)]
<roni> slabity: i'm still working on learning this myself, so the best i can do is show you one of my examples
newhoggy has quit [(Ping timeout: 246 seconds)]
sellout- has joined #nixos
<roni> slabity: ooh, disasm has a nice example :)
<disasm> slabity: yeah, for building stuff, you need to use nix-shell if your manually compiling stuff
<roni> the main thing i do differently is to include python27Full, and virtualenv, set up a virtualenv inside the nix-shell, and install deps from a requirements.txt file
<roni> that lets me interoperate with non-nix devs
<disasm> roni: yeah, I'm gonna write some documentation on that some day soon (probly after release)
<slabity> disasm: So I make a file like yours as a default.nix?
sellout-1 has quit [(Ping timeout: 248 seconds)]
<roni> i also have my shell set up to display the `name` property in the shell prompt whenever IN_NIX_SHELL is true - handy way to see at a glance which nix-shell env i'm in
<disasm> roni: yup, and put all the libraries you need in buildInputs
<roni> disasm: sounds great
JagaJaga has quit [(Read error: Connection reset by peer)]
<roni> disasm: yes, i include system deps there that the python deps in my requirements.txt will need, but i don't bother including the python deps themselves since the workflow requires pip installing anyway
JagaJaga has joined #nixos
<roni> slabity: hopefully this all is making some sense to you :)
<disasm> err s/roni/slabity
griff_ has quit [(Quit: griff_)]
<disasm> roni: ooh, I got one better for ya... one sec
<disasm> the code sucks, but the nix part is solid :)
<disasm> roni: that uses pypi2nix for python reqs
<roni> holy crap
stepcut has quit [(Remote host closed the connection)]
<roni> neat, so you can convert a requirements.txt file to something that looks like this, or what?
sellout- has quit [(Ping timeout: 240 seconds)]
<roni> oh
<roni> this is the output from pypi2nix
<disasm> pypi2nix -V 3.6 -r requirements.txt
sellout- has joined #nixos
<roni> damn, very cool
<disasm> well, requirements.nix is the output
<disasm> I use a custom default.nix
<disasm> that you can see in there
<roni> this is very cool
<roni> i feel like i can learn a ton just from reading the generated nix :-D
<disasm> but yeah, then when you go to prod, you just take that same requirements.nix and use those as buildINputs with your src for your project defined
<roni> right
<roni> cool
python476 has joined #nixos
<roni> thanks disasm!
<roni> now we need something similar for R packages :-P
jellowj has joined #nixos
<roni> but i'm mostly j/k, i'm quite comfortable with my ad-hoc mixed-impure way of handling language-specific ecosystems like PyPI and CRAN
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<roni> indeed!
<hyper_ch> didn't PyPI just spread malware a few days ago?
U007D has quit [(Ping timeout: 240 seconds)]
slabity has quit [(Ping timeout: 260 seconds)]
digitus has joined #nixos
ona has quit [(Quit: ...)]
Ivanych has quit [(Ping timeout: 260 seconds)]
a6a3uh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley closed pull request #29339: slack: 2.7.1 -> 2.8.0 (master...benley/slack-2.8.0) https://git.io/v59L8
NixOS_GitHub has left #nixos []
nschoe has quit [(Quit: Program. Terminated.)]
__Sander__ has quit [(Quit: Konversation terminated!)]
marusich has joined #nixos
Neo-- has joined #nixos
<benley> hyper_ch: a handful of packages on PyPI were found to be malicious (typosquatting on popular package names)
sellout- has quit [(Quit: Leaving.)]
<benley> pypi was not compromised, it was just malicious uploaders.
<hyper_ch> was not compromised / distributed malicious packages
nixer has joined #nixos
<hyper_ch> seems my defintion of compromised is different than yours
<pstn> How do I tell nixos-rebuild to build the system from a locally checked out version of nixpkgs?
<hyper_ch> hi pstn
<pstn> hello there :-)
Neo-- has quit [(Ping timeout: 252 seconds)]
<hyper_ch> you use nixos also? Intersting :)
<hyper_ch> but can't help you with your question
<simpson> pstn: NIX_PATH is what I've usually done.
<pstn> simpson: Thanks, that makes sense. I thought I remembered a switch somewhere that is undocumented.
orivej has joined #nixos
sellout- has joined #nixos
<simpson> pstn: I just go with the big simple solution. No kill like overkill and all that.
a6a3uh has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
slabity has joined #nixos
MinceR has quit [(Ping timeout: 240 seconds)]
<slabity> disasm: So I make a small default.nix like your example. I included `libxml2.dev` as a builtInput, but I still can't get the headers or library
MinceR has joined #nixos
<disasm> slabity: can you gist your default.nix?
griff_ has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
ona has joined #nixos
<roni> slabity: when you say you still can't get the headers, what do you mean exactly?
<slabity> Weird... Let me try rebooting
slabity_ has joined #nixos
<slabity_> "Package libxml++-2.6 was not found in the pkg-config search path"
<slabity_> This is fixed when I run `nix-env -iA nixos.libxmlxx`, but not `nix-shell -p libxmlxx`
JagaJaga has quit [(Read error: Connection reset by peer)]
slabity has quit [(Ping timeout: 260 seconds)]
slabity_ is now known as slabity
JagaJaga has joined #nixos
jb55 has quit [(Ping timeout: 260 seconds)]
<taaperotassu> I had boot.loader.grub.enableCryptodisk = true; in my configurations.nix .. so I tried uncomment and boot.loader.grub.enableCryptodisk = false; but its still prompting me for password when it opens grub.. or the boot partitions.
oida has joined #nixos
<roni> slabity: i solve that pkg_config thing by adding lines to the shellHook
<roni> stand by...
<roni> i don't know if it's the nixiest way, but it works
oida_ has quit [(Ping timeout: 255 seconds)]
<roni> (could probably do that better with a loop or even a function i define in some common package but i'm still not all the up abstraction mountain :-P)
griff_ has quit [(Quit: griff_)]
<slabity> Huh. That seemed to have worked. Thanks roni!
<roni> slabity: i have a feeling it is supposed to happen automatically, but either my understanding is wrong or else it just isn't in nix yet
<roni> slabity: so in the meantime, that's how i make it go :)
<slabity> disasm: I don't suppose you know of the 'nix way' of doing that, do you?
<disasm> sorry, on a call
mudri has joined #nixos
ertes has joined #nixos
chakerbenhamed has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<chakerbenhamed> Hey is there someone from NixCon orgs that I can talk with?
<domenkozar> chakerbenhamed: ping _c_
<chakerbenhamed> Thanks domenkozar
michiell has quit [(Ping timeout: 240 seconds)]
<taaperotassu> I thought nixos should pick the change..so no harms should be made if boot.loader.grub.enableCryptodisk = true; is not reversible?
sellout- has quit [(Quit: Leaving.)]
JagaJaga has quit [(Read error: Connection reset by peer)]
JagaJaga has joined #nixos
HurricaneHarry has left #nixos ["http://quassel-irc.org - Chat comfortabel. Waar dan ook."]
JagaJaga has quit [(Read error: Connection reset by peer)]
JagaJaga has joined #nixos
nixer has quit [(Quit: Page closed)]
endformationage has joined #nixos
stepcut has joined #nixos
michiell has joined #nixos
kuznero has joined #nixos
<kuznero> Hi All!
<yorick> taaperotassu: well, you still have to encrypt your drive manually
<yorick> it doesn't do partitioning
nckx has quit [(Quit: Restarting my GuixSD server — https://gnu.org/s/guix)]
mudri has quit [(Ping timeout: 252 seconds)]
nckx has joined #nixos
<hyper_ch> few days ago he asked to to get an encrypte setup working... now he wants to get rid of it....
zzamboni has joined #nixos
<yorick> if it's about giving your password, you can use keyfiles on your /boot instead
michas_ has joined #nixos
JagaJaga has quit [(Ping timeout: 248 seconds)]
<taaperotassu> I wanted to get encrypted partition but
<taaperotassu> not the grub one.. the nixos installation with encryption was okay but grub was not
<kuznero> Is it possible to provision VirtualBox images with nixops while doing it in VirtualBox?
ryanartecona has joined #nixos
<hyper_ch> you encrypted /boot ?
mudri has joined #nixos
<taaperotassu> nope
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to staging: https://git.io/v5xZu
<NixOS_GitHub> nixpkgs/staging 16cf448 Vladimír Čunát: gettext, gcc5: enable stackprotector now...
<NixOS_GitHub> nixpkgs/staging d4c33d5 Vladimír Čunát: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
<taaperotassu> II had that issue
<taaperotassu> like booting was okay
rtjure has quit [(Ping timeout: 255 seconds)]
<taaperotassu> and everything but updating was not
<hyper_ch> where did you install grub to?
<taaperotassu> boot.grub.enableCryptodisk = true had to put this.. but then booting with password in grub.. slowed down a LOT..
<taaperotassu> I think it went to /boot
<taaperotassu> dunno.. didnt specify it.. sda has the boot? and sda4 has nixos installation but boot is in sda3
<taaperotassu> sda4 is the one thats encrypted.. but now? grub is also??
<hyper_ch> taaperotassu: pastebin your configuration.nix and your hardware-configuration nix
<hyper_ch> boot then the system up from a live usb
<hyper_ch> uncrypt the encrypted root and mount it as /mnt
<hyper_ch> mount the boot partition then as /mnt/boot
<taaperotassu> I did that..
<hyper_ch> are you still there?
<hyper_ch> still in live system?
<taaperotassu> $ cryptsetup -v luksFormat /dev/sda4
<taaperotassu> $ cryptsetup open --type luks /dev/sda4 cryptroot
<taaperotassu> $ mkfs.ext4 -L nixos /dev/mapper/cryptroot
acowley_away is now known as acowley
<taaperotassu> $ mount /dev/disk/by-label/nixos /mnt
<taaperotassu> $ mkdir /mnt/boot
<hyper_ch> why format? wtf?
<taaperotassu> $ mount /dev/sda3 /mnt/boot
rtjure has joined #nixos
<taaperotassu> just those were the steps I did
<hyper_ch> so you're still in the live system?
<taaperotassu> yeh
<kuznero> Can somebody please explain what is nix-repl?
<hyper_ch> still got your configuration nix or hardware nix=
<taaperotassu> trying to figure out the best way to get my nixos and harware nix
<taaperotassu> I think I just reboot and go out from the live system
<acowley> Is there a way to use easily the cc-wrapper tooling to wrap a compiler-like tool? In this case, the rc executable from rtags.
<taaperotassu> normal gui way should be easier
<roni> kuznero: it's a shell that evaluates nix expressions interactively so you can try things out, etc.
<hyper_ch> taaperotassu: the encrytped data is gone
Neo-- has joined #nixos
<hyper_ch> you did run luksformat
<hyper_ch> well, still there but technically not possible to recover
<hyper_ch> well, technically possible... practically not possible
<kuznero> roni: I see, how useful is it when developing new nix-derivations?
<taaperotassu> encrypted data is gone?
<taaperotassu> yeh if I do it again then they would be
<taaperotassu> but those were the commands I used back then
<taaperotassu> when I installed nixos
<roni> kuznero: i'm not sure, i think it's useful for seeing the state of things as you build up values, including derivations
<kuznero> roni: thanks
<hyper_ch> taaperotassu: I have no idea when you did what thing and where you are now
<roni> kuznero: i am not very good at creating my own nix expressions yet, so i haven't gotten a good chance to see how useful it is for that
<kuznero> roni: same here, trying to explore...
sellout- has joined #nixos
<hyper_ch> taaperotassu: so you boot the live system
<hyper_ch> from usb or something?
<roni> kuznero: have you read the nix pill series?
<kuznero> roni: yep, some time ago. I had an idea of trying to setup Hydra locally or on NixOps provisioned VirtualBox servers and try creating projects/derivations that are built with that Hydra.
<kuznero> roni: to challenge it a bit ;)
<roni> kuznero: ah, nice. well you've already gone beyond my experience :)
<roni> kuznero: some of the nix pills use nix-repl to help explore things, which is the reason i mentioned them
<kuznero> domenkozar: thanks! that is very much needed now
<taaperotassu> https://pastebin.com/fxWiGP3G nix configuration
<kuznero> domenkozar: trying to test now the fix you committed to 17.09 for docker.pullImage... will have feedback within an hour or so
<hyper_ch> taaperotassu: are you still in the live system?
<taaperotassu> https://pastebin.com/0FQ1nwGu this is my hardware
<taaperotassu> nwell I booted the normal way.. so I could paste it to pastebin
<hyper_ch> taaperotassu: boot to live system
ona has quit [(Quit: ...)]
<taaperotassu> okay wait
<taaperotassu> done
<hyper_ch> ok, frist unlock the encrypted root: cryptsetup luksOpen /dev/sdXY crypt_root
<hyper_ch> probably sda4
<taaperotassu> okay
<hyper_ch> taaperotassu: mount it: mount /dev/mapper/crypt_root /mnt
<taaperotassu> ok
<hyper_ch> you do have a /boot partition right?
<taaperotassu> yeh
<taaperotassu> I think so
<hyper_ch> well, in that hardware configuration that you sent, there is none
<taaperotassu> gosh :D
<hyper_ch> so, do you have one?
<taaperotassu> I did the sda3 partition so I thought it would have gone there
<taaperotassu> I should have
<hyper_ch> so sda3 should be boot?
<taaperotassu> yup
<hyper_ch> (and is this a ssd?)
<tnks> The more I think about it, the more I think it would be useful to reference something in a nix expression by it's nix-store path, trusting it to be fetched pre-built from a Nix cache like Hydra.
<taaperotassu> yes it is
<hyper_ch> mount /dev/sda3 /mnt/boot
<tnks> but I have a work-around using `nix-store --realize` from a shell script.
<taaperotassu> ok
<hyper_ch> taaperotassu: did it get mounted?
<taaperotassu> yeh
<hyper_ch> what's the uuid of /dev/sda3 and what filesystem?
<taaperotassu> how can I see dat?
Isorkin has quit [(Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)]
<hyper_ch> ls -al /dev/disk/by-uuid
<hyper_ch> that should gvie the uuid
<hyper_ch> as for filesystem... no idea
<hyper_ch> ah, df -T
apeyroux has quit [(Quit: leaving)]
<hyper_ch> that should show the filesystem
<taaperotassu> 4c7c188c-f0
<hyper_ch> so, I need UUID of sda4 and the filesystem
<hyper_ch> you sure that's the UUID?
<taaperotassu> its ext4
<taaperotassu> thats part of it
<taaperotassu> its quite long
<hyper_ch> pastebin it all
kuznero has quit [(Ping timeout: 260 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
<taaperotassu> erm any easy way for that..than manually writing it down?
apeyroux has joined #nixos
<taaperotassu> also the end has -> .. /../sda4
<taaperotassu> so I guess this isnt even the all
<hyper_ch> sda4 is not sda3
<taaperotassu> its not
<taaperotassu> they are both in separate
goibhniu has quit [(Ping timeout: 240 seconds)]
<hyper_ch> taaperotassu: curl -o /tmp/pastesl https://raw.githubusercontent.com/sjau/pastesl/master/pastesl
<hyper_ch> taaperotassu: chmod 0755 /tmp/pastesl
<hyper_ch> taaperotassu: ls -al /dev/disk/by-uuid | pastesl
<hyper_ch> taaperotassu: ls -al /dev/disk/by-uuid | /tmp/pastesl
mudri has quit [(Ping timeout: 260 seconds)]
<taaperotassu> so pastesl command not found
<hyper_ch> taaperotassu: I posted corrected command just below
<taaperotassu> sorry my bad
<hyper_ch> it's my pastebin script for my pastebin... so I have it in $PATH and don't need to use the absolute path to it ;)
<taaperotassu> /tmp/pastesl: line 1 : 404 command not found
<hyper_ch> no bash? :(
<pmeunier> Hi! I'm serving files from my nix store using nixops + nginx. But since all files have the same modification date, clients can't detect that they've change when I redeploy with different files. Any idea how to fix this?
<hyper_ch> taaperotassu: I need the UUID of /dev/sda3
ryanartecona has joined #nixos
<taaperotassu> I wrote bash
<taaperotassu> unless nixos live system has no bash?
<hyper_ch> taaperotassu: I need the UUID of /dev/sda3
<taaperotassu> still the command not found
<taaperotassu> k
<hyper_ch> no bash in live system
<taaperotassu> damn
<hyper_ch> taaperotassu: I need the UUID of /dev/sda3
<taaperotassu> cant I see the UUID from my normal boot?
<taaperotassu> oh yeah I could nix -env i bash
<hyper_ch> that would work I guess
<disasm> slabity: pass pkgconfig as a buildInput
<taaperotassu> nix-env -i bash .. erm does nothing...
<hyper_ch> taaperotassu: well, then just type it all
<taaperotassu> okay
<taaperotassu> 4c7c188c-f0dc-437a-b324-9855f361c5b0
<taaperotassu> ffuu
<hyper_ch> tzaht's not /dev/sda3
<taaperotassu> sorry it was sda4
Isorkin has joined #nixos
<hyper_ch> why not boot into graphical mode...
<disasm> slabity: ah... add glibmm to buildInputs
<taaperotassu> b368ecaf-8fe3-4f6b-bafe-cf916941a835
tmaekawa has joined #nixos
<disasm> slabity: this is what pkgconfig output when ran manually: Package glibmm-2.4 was not found in the pkg-config search path.
<edef> pmeunier: set up etags?
<hyper_ch> taaperotassu: mv /mnt/etc/nixos/hardware-configuration.nix /mnt/etc/nixos/hardware-configuration.nix.old
<hyper_ch> taaperotassu: curl -o /mnt/etc/nixos/hardware-configuration.nix https://paste.simplylinux.ch/view/raw/f5fb4add
jeron has joined #nixos
<taaperotassu> so that did the backup I assume
<hyper_ch> taaperotassu: first to keep the original file that you had
chakerbenhamed has quit [(Ping timeout: 255 seconds)]
<hyper_ch> taaperotassu: second to get my altered version
<hyper_ch> taaperotassu: basically I added discard option since it's ssd and I added the /boot partition
arximboldi has quit [(Quit: arximboldi)]
<taaperotassu> Any reasons I had to boot live system? and not the my normal gui version
<taaperotassu> but thanks :D
<hyper_ch> yes, there is a reason
<pmeunier> edef: thanks, I just saw that option. I'm not too familiar with nginx, I'll probably add the option in the nginx module in nixpkgs
<taaperotassu> so is it okay if I now boot normal way and add those?
<hyper_ch> taaperotassu: no
<taaperotassu> XD
<taaperotassu> k
<edef> pmeunier: like, you could set the etag to the Nix store path
<edef> pmeunier: and that'd change every time you change the Nix store path, inherently q=
<edef> pmeunier: I just realised I have the same issue, so, thanks <3
<hyper_ch> taaperotassu: mv /mnt/etc/nixos/configuration.nix /mnt/etc/nixos/configuration.nix.old
<hyper_ch> taaperotassu: curl -o /mnt/etc/nixos/configuration.nix https://paste.simplylinux.ch/view/raw/c73cc4e8
nix-gsc-io`bot has joined #nixos
<hyper_ch> commented out that boot.loader.grub.enableCryptodisk - nothing else done
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f5daefbef6 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<hyper_ch> taaperotassu: got both backups and new files?
tmaekawa has quit [(Quit: tmaekawa)]
<taaperotassu> yeh but writing manually is verry slow
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #29570: libxmlxx: move glibmm to propagatedBuildInputs (master...libxmlxx) https://git.io/v5xlh
NixOS_GitHub has left #nixos []
eacameron has quit [(Remote host closed the connection)]
k2s has joined #nixos
<taaperotassu> but why cant I just boot and copy paste to my hardware config? does changing nixos configuration from live system has such huge differences?
<hyper_ch> taaperotassu: now we're reinstall the system
<taaperotassu> okay
<hyper_ch> taaperotassu: nixos-install --root /mnt
<taaperotassu> actually now r /mnt/boot
<taaperotassu> $systemctl start display-manager
<taaperotassu> using graphical to copy
<hyper_ch> no, nixos-install --root /mnt
<hyper_ch> that's the command since root is mounted at /mnt
<hyper_ch> if you did what I said
k2s has quit [(Client Quit)]
<hyper_ch> ‎[19:54] ‎<‎hyper_ch‎>‎ taaperotassu: mount it: mount /dev/mapper/crypt_root /mnt
<taaperotassu> damn I opened the graphical and my keyboard messed up.. cant even loadkeys anymore.
<hyper_ch> kde?
<taaperotassu> yeh
<slabity> disasm: Thanks, I appreciate it
<hyper_ch> kicker -> systemsettings
<hyper_ch> input devices -> keyboard -> layouts
<disasm> slabity: did adding glibmm work for you?
<slabity> disasm: Yep! Just tried it now
<hyper_ch> taaperotassu: is it re-installing?
<taaperotassu> I changed the layout
<taaperotassu> but it didnt changed my keyboard input
<hyper_ch> it does when you press apply
<taaperotassu> Trying to get the pastebin so it would be easier to wriite those all
<hyper_ch> and you'll need to open konsole again
<taaperotassu> I did press apply
<taaperotassu> oh
<taaperotassu> ok
<taaperotassu> nope didnt change
<hyper_ch> did you remove the default US keyboard?
<taaperotassu> yeah
<hyper_ch> which is set first priority
<hyper_ch> it works for me
<taaperotassu> now it works
<taaperotassu> sorry my bad
<taaperotassu> Limited the selection by language but didn change the Layout: one
rtjure has quit [(Ping timeout: 255 seconds)]
<hyper_ch> the reason for live is to have really a fresh install including boot loader etc...
<hyper_ch> there's probably other ways.. that's just the easiest I think
<hyper_ch> so, it's reinstalling?
<taaperotassu> not yet
reinzelmann has joined #nixos
<hyper_ch> how so?
<taaperotassu> just added ur configs to my hardware configs
<hyper_ch> make sure the uuid of /boot is right
<taaperotassu> and uncommented the grublukscrypt part from my configuration.nix
<taaperotassu> okay
<hyper_ch> what did you uncomment?
Infinisi1 has joined #nixos
<taaperotassu> grub.EnablyeCryptodisk
<hyper_ch> why did you uncomment it now?
<hyper_ch> when I commented it out
<taaperotassu> but now the installation is going
<taaperotassu> installation finished
<taaperotassu> going to reboot and try now
<hyper_ch> then reboot and hope it works.... I did comment that out becasue it's not needed
<taaperotassu> okay it booted
<hyper_ch> so all is fine?
Infinisil has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to release-17.09: https://git.io/v5xBf
<NixOS_GitHub> nixpkgs/release-17.09 97452cc Graham Christensen: Convert libs to a fixed-point...
NixOS_GitHub has left #nixos []
<taaperotassu> Wow kewl it worked
<hyper_ch> taaperotassu: you got git hub account?
<taaperotassu> didn't prompt me when I booted over grub and asked me password only when I went over grub
<taaperotassu> Also installing packages with nixos-rebuild works.
<hyper_ch> taaperotassu: you got github account?
<taaperotassu> I havent used github for a quite long time.. why?
<hyper_ch> because now you can make a repository out of your /etc/nixos folder
<hyper_ch> and track changes you do on github
<hyper_ch> so if you re-installed or your ssd dies, you'll have a much easier time get reinstallt hings
<hyper_ch> taaperotassu: e.g. https://github.com/sjau/nixos
<taaperotassu> I think I should do it later tonight :D .. also copying from own github repo.. should be good when installing
kuznero has joined #nixos
<taaperotassu> the UUID part I thought it would have automatically put it there. :D but thanks for the help.. I should rewind earlier steps to understand better
<hyper_ch> you could also import user passwords and stuff from other places....
<hyper_ch> so that they don't appear on github: https://github.com/sjau/nixos/blob/master/configuration.nix#L11
<taaperotassu> I am quite a new so still using the root account.. should really start to move on. So the best way to change settings is by live system
akamaus has joined #nixos
<hyper_ch> taaperotassu: no, live system was only to ensure that everything gets written anew
<taaperotassu> apparently changing it in a running system is not enough? As I did uncomment the grub.lukscrypt thingie earlier
<taaperotassu> okay
<hyper_ch> taaperotassu: I accidentally overwrote grub on /dev/sda a while back and it was just easiest to "reinstall"
hotfuzz has joined #nixos
<kuznero> domenkozar: something is still not working. Here is the log: https://pastebin.com/7Etb66cc
<hyper_ch> basically start live cd, unlock encrypted root and mount and do nixos-install
<hyper_ch> there's probably better ways... but I knew that would work
<woffs> Hi, how to make a almost secure multi-user setup and hide vpn keys and Wifi passphrases when they always show up world-readable in /nix/store?
<taaperotassu> okay :D Thanks for the help.. I really start to feel like .. this journey for building a workable nixos config could work out
<hyper_ch> taaperotassu: also this little script to remove all old stuff: https://github.com/sjau/nixos/blob/master/clean.sh
<kuznero> domenkozar: basically in the end it is saying: "Unpacking base image..." and "/tmp/nix-build-docker-image-monitor.tar.gz.drv-0/.attr-0: line 24: image/repositories: No such file or directory". Should I add this to github issue or it is me doing something wrong?
kus_ubuntui686 has joined #nixos
kus_ubuntui686 has quit [(Max SendQ exceeded)]
kanshazan has joined #nixos
kanshazan has quit [(Client Quit)]
<taaperotassu> Thanks hyper_ch
<hyper_ch> taaperotassu: no worries... people helped me in here so often
<hyper_ch> some I consider my personal support ;)
<hyper_ch> (also switch to nixos-unstable....)
<hyper_ch> makefu: online?
Infinisi1 has quit [(Ping timeout: 240 seconds)]
<woffs> How can I hide e.g. /nix/store/*wireguard*.conf and /nix/store/*wpa_supplicant.conf from unprivileged users' eyes?
griff_ has joined #nixos
<disasm> woffs: you can't *yet*
newhoggy has joined #nixos
<woffs> So I cannot set up a multi user system outside of my home
eacameron has joined #nixos
<hyper_ch> woffs: don't let unprivileged users touch your computer ;)
<pingveno> I'm trying to use the mozilla-overlay repository to install Firefox Developer Edition. `nix-env -iA nixos.firefox-dev-bin` does not match any packages. Any ideas on what to use?
newhoggy has quit [(Ping timeout: 260 seconds)]
<hyper_ch> who has a strong wiki-fu?
jensens has joined #nixos
<woffs> so nixos is currently aimed at (a) personal computers and (b) servers without user shell accounts
<hyper_ch> woffs: I don't let anyone touch my notebook
<hyper_ch> regardless of the distro I use
slabity has quit [(Quit: Page closed)]
<woffs> no problem with notebook. I think of servers or company workstations
<hyper_ch> well, no idea :)
<woffs> thanks, anyway :-)
<hyper_ch> taaperotassu: not feeling ready for nixos-unstable yet? :)
pie_ has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fb16e57508 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
chakerbenhamed has joined #nixos
Myrl-saki has quit [(Ping timeout: 240 seconds)]
michiell has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #29571: stdenv: Also splice unlisted default "out" output (master...better-splice) https://git.io/v5xzB
NixOS_GitHub has left #nixos []
civodul has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/v5xgv
<NixOS_GitHub> nixpkgs/master 64aebc7 John Ericson: stdenv: Also splice unlisted default "out" output...
<NixOS_GitHub> nixpkgs/master 45e8785 John Ericson: Merge pull request #29571 from obsidiansystems/better-splice...
NixOS_GitHub has left #nixos []
<Fare> hi. Has the way NIX_LDFLAGS works changed in 17.09 ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/v5xg6
<NixOS_GitHub> nixpkgs/staging c7ca42f John Ericson: Merge branch 'master' into staging
NixOS_GitHub has left #nixos []
<gchristensen> Sonarpulse <--> Fare
<Sonarpulse> gchristensen: hmm?
<Sonarpulse> oh
jensens has quit [(Remote host closed the connection)]
<Sonarpulse> Fare: maybe?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29570: libxmlxx: move glibmm to propagatedBuildInputs (master...libxmlxx) https://git.io/v5xlh
NixOS_GitHub has left #nixos []
<Sonarpulse> certainly ld-wrapper has changed in many ways
<Sonarpulse> Fare: the final NIX_LDFLAGS should be the same
jensens has joined #nixos
odi has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/db849d3c66 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
k2s has joined #nixos
ona has joined #nixos
acarrico has quit [(Ping timeout: 264 seconds)]
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
griff_ has quit [(Quit: griff_)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel opened pull request #29572: alacritty: Install desktop icon (master...alacritty) https://git.io/v5x2B
NixOS_GitHub has left #nixos []
k2s has quit [(Client Quit)]
<Fare> Sonarpulse, I changed two things, gambit and nixos, and I don't think gambit is the culprit.
<Sonarpulse> Fare what's the symptom?
<Sonarpulse> What were you on before?
<Fare> gsc can't find -lssl
<Fare> I was on 17.03, now on 17.09
MP2E has joined #nixos
<Fare> maybe also the problem is that I don't somehow lock the CC used by gambit to be the one used by gambit, so it might instead be using the one from $PATH ?
<Fare> not just CC, but the binutils toolchain, etc.
<Sonarpulse> Fare: is there another on the path?
<Sonarpulse> that seems odd
<Sonarpulse> Fare: this is your own derivation, or one I can try in nixpkgs?
<Fare> my derivation.
<Sonarpulse> set | grep nativePkgs ?
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5xaV
<NixOS_GitHub> nixpkgs/master 4916f64 volth: libwebsockets: 1.4 -> 2.3.0
<NixOS_GitHub> nixpkgs/master 6950da8 Volth: mosquitto: 1.4 -> 1.4.14...
NixOS_GitHub has left #nixos []
ryanartecona has quit [(Quit: ryanartecona)]
<Fare> gambit and gerbil are defined in https://github.com/fare-patches/nixpkgs (desperately waiting for a release before to upstream to new nixpkgs), but the way I use them for interactive development is: eval $(nix-shell '<nixpkgs>' --pure --attr gerbil --command 'echo "export NIX_LDFLAGS=\"$NIX_LDFLAGS\" NIX_CFLAGS_COMPILE=\"$NIX_CFLAGS_COMPILE\""')
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29567: mosquitto: 1.4 -> 1.4.14 (master...patch-60) https://git.io/v5A69
NixOS_GitHub has left #nixos []
zzamboni has quit [(Quit: Leaving.)]
<Fare> Sonarpulse: no nativePkgs
<Sonarpulse> Fare: ${nativePkgs[@]}
<Sonarpulse> err wait
<Sonarpulse> with set | grep it won't matter
<Sonarpulse> that's very odd
<Sonarpulse> if you have buildInputs
<Sonarpulse> you should have that
<Sonarpulse> in nix-shell
<Fare> Sonarpulse, I'm not using that because I want to run gerbil interactively
<Fare> including in Emacs, etc.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.03: https://git.io/v5xVI
<NixOS_GitHub> nixpkgs/release-17.03 0ece78b volth: libwebsockets: 1.4 -> 2.3.0...
<NixOS_GitHub> nixpkgs/release-17.03 70005ec Volth: mosquitto: 1.4 -> 1.4.14...
NixOS_GitHub has left #nixos []
<Sonarpulse> Fare: ahhh!
<Sonarpulse> this gets me a bit closer
<Sonarpulse> so you aren't running the setup hook
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to release-17.09: https://git.io/v5xVO
<NixOS_GitHub> nixpkgs/release-17.09 9383721 volth: libwebsockets: 1.4 -> 2.3.0...
<NixOS_GitHub> nixpkgs/release-17.09 910eb52 Volth: mosquitto: 1.4 -> 1.4.14...
NixOS_GitHub has left #nixos []
<Sonarpulse> look at that
<Sonarpulse> see the rolls variable
<Fare> I have no idea how any of that works :-(
<Sonarpulse> you need to make sure NIX_CC_WRAPPER_ROLE_HOST or whatever I called it is defined
<Sonarpulse> that's all
<Fare> oh, ok
* Sonarpulse should probably make that the default when no roles are defined
kanshazan has joined #nixos
<Fare> maybe NIX_CC ?
ryanartecona has joined #nixos
zzamboni has joined #nixos
<Sonarpulse> Fare: NIX_CC_WRAPPER_@infixSalt@_TARGET_HOST=1
<Sonarpulse> see the setup hook
acowley is now known as acowley_away
* dtz is excited and terrified to try out the new CC goodness
<Sonarpulse> @infixSalt@ would be x86_64_unknown_linux_gnu probably?
<Sonarpulse> dtz well unfortunately niksnut veto'd my last-minute fixing things
<Sonarpulse> so all this stuff currently doesn't serve much purpose
<Sonarpulse> and cross is decently broke
<Sonarpulse> try nixpkgs-unstable!
<LnL> same, but I think some parts are nicer now
<dtzWill> it's a very very hard thing to sort out, thanks for all your work on it
<Fare> Sonarpulse, I admit I still don't understand what I'm supposed to do. nix-shell --pure has no such thing in its env
<Sonarpulse> Fare: nix-shell -p uses stdenvNoCC, btw
<Sonarpulse> Fare: pkgs/build-support/cc-wrapper/setup-hook.sh
<Sonarpulse> that has some big big comments
<kuznero> I am trying to follow example on nixops manual: https://nixos.org/nixops/manual/#sec-deploying-to-ec2 But it does not want to work.... Can somebody help?
<kuznero> Keep getting: error: no AMI defined for EC2 machine ‘backend1’
<Fare> should I try to replicate the $PATH, too ?
Neo-- has quit [(Ping timeout: 264 seconds)]
takle has quit [(Remote host closed the connection)]
<Fare> Sonarpulse, in practice, where is the wrapper that adds the flags to gcc invocations?
<Sonarpulse> setup hook
<Sonarpulse> defines the env hook
takle has joined #nixos
<Sonarpulse> stdenv runs the env hook
<Sonarpulse> it's very convoluted, and that was before my infix salt :)
erictapen has joined #nixos
<Fare> Sonarpulse, my head spins.
<Sonarpulse> Fare: good luck!
<LnL> that sounds so complicated, and I know what you're talking about :p
zzamboni has quit [(Quit: Leaving.)]
<Fare> Sonarpulse, wait, I see where the variables are, but I don't understand which process consumes them.
<Fare> Also when I type cc, I get clang, not gcc. I wonder if that's related
_ris has joined #nixos
<Fare> whereas on the 17.03 machine that works, cc is gcc.
<Sonarpulse> Fare what os are you on?
<LnL> huh
takle has quit [(Ping timeout: 248 seconds)]
<Fare> in the end, I still get /nix/store/4vg5q2pdwl0hacsk9q484ri3qj5kx16s-binutils-2.28.1/bin/ld: cannot find -lssl
<Sonarpulse> we really need a ccWithPackages
<Sonarpulse> that would solve all this
<Sonarpulse> all these env vars should be implementation details
<Sonarpulse> so we can get rid of them
<Fare> working machine uses 17.03-stable for the base system + some months-old unstable for my development packages
ona has quit [(Read error: Connection reset by peer)]
<Sonarpulse> ok so linux
<Sonarpulse> then should be no clang anywhere
<Fare> On the non-working machine cc -V ==> clang-4.0
<Fare> Maybe I should revert to 17.03
<LnL> where does that come from?
<Fare> But actually, I'd like my nix compilation setup to be independent from the nixos host.
<LnL> is clang installed globally somewhere or something
erictapen has quit [(Ping timeout: 248 seconds)]
<Fare> LnL: nixos-rebuild switch with 17.09 channel
reinzelmann has quit [(Quit: Leaving)]
anton_ has quit [(Ping timeout: 246 seconds)]
<Fare> that said, it's bin/ld that's failing.
<Fare> which should be independent from the outer compiler.
<Fare> I'll try have my PATH more like what's in nix-shell --pure
<LnL> is type -P cc a store path or something else
<Fare> LnL: /run/current-system/sw/bin/cc -> /nix/store/l1m32ap6vna988vj850yhj189xviyf4w-clang-wrapper-4.0.1/bin/cc
<LnL> yeah, it's in the system profile
<Fare> bin/ld also comes from clang
<LnL> I would recommend not installing compilers globally like that
<Fare> whereas gambit was built with gcc
<Fare> LnL, how is an interactive program supposed to find the correct compilers and linkers?
<Fare> and/or how do I get all the extra interactive utilities in my nix-shell ?
<Fare> for interactive development, I need both.
<disasm> haha, -DCMAKE_INSALL_PREFIX=$out # guessing this is a typo, lol
<hydraz> :D
<disasm> anyways, doesn't matter, cmake should set the INSTALL_PREFIX automatically with cmake in nativeBuildInputs
anton_ has joined #nixos
michiell has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
<Fare> Sonarpulse, thanks, I'll work harder to make interactive development work.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #29573: lenmus: removing custom cmakeFlags (master...lenmus) https://git.io/v5xK8
NixOS_GitHub has left #nixos []
<LnL> Fare: I have a a nix expression for most of my projects that I use for interactive developemnt
<Sonarpulse> Fare: if you open an issue
<Fare> LnL: do you include emacs & all your interactive tools in it, or something?
<Sonarpulse> clammoring for a ccWithPackages
<Sonarpulse> and tag me
<Fare> Sonarpulse, I don't understand the issue enough to open it.
<Sonarpulse> I'll appreciate it
stepcut has quit [(Remote host closed the connection)]
<Fare> or what you mean by ccWithPackages
<Sonarpulse> Fare just be like " I want a function to give me a cc pre-wrapped with all the -I and -L flags I need
<Sonarpulse> so no env var impurity woahs
eacameron has quit [(Read error: Connection reset by peer)]
<disasm> Fare: as for emacs and other interactive tools, I install those globally, and don't use --pure with nix shell unless it's something I'm specifically testing that needs a pure shell.
eacameron has joined #nixos
<LnL> Fare: depends in the project, usually I can configure things so completion, etc. can find things without running in a nix-shell
<dylanjust[m]> Is there any interest around getting Nixops to deploy to vmware vsphere?
<LnL> but I don't use emacs and compile stuff from inside of my editor
Neo-- has joined #nixos
<gchristensen> can I do something like nix-shell -p fizzbuzz '<mycustompkgs>', where fizzbuzz comes from mycustompugs?
<gchristensen> can I do something like nix-shell -p fizzbuzz '<mycustompkgs>', where fizzbuzz comes from mycustompkgs*?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v5xKj
<NixOS_GitHub> nixpkgs/master 6d423da Jörg Thalheim: libwebsockets: fix eval
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/v5x6J
<NixOS_GitHub> nixpkgs/release-17.03 b675a9f Jörg Thalheim: libwebsockets: fix eval...
NixOS_GitHub has left #nixos []
griff_ has quit [(Quit: griff_)]
<LnL> I think nix-shell -I nixpkgs=./my/nixpkgs -p foo works
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/v5x6Y
<NixOS_GitHub> nixpkgs/release-17.09 841b32a Jörg Thalheim: libwebsockets: fix eval...
NixOS_GitHub has left #nixos []
<gchristensen> oh my
<LnL> but you can't use <foo> to resolve things in NIX_PATH
<gchristensen> :(
Fare has quit [(Ping timeout: 260 seconds)]
<gchristensen> can I do something like nix-env -iA mycustompkgs.fizzbuzz ?
<LnL> yes that works
<LnL> but if it's not in nix-defexpr you need to use nix-env -f '<mycustompkg>' -iA fizzbuzz
<gchristensen> ah, `-f` thank you :)
grantwu has joined #nixos
<LnL> oh right, I think you can also use an expression with -p
<gchristensen> these tools are impossible frazzled.jpg
<roni> gchristensen: you get used to it
<LnL> so nix-shell -p '(import <mycustompkgs> {}).fizzbuzz)' might also work
<LnL> yeah, the nix-* aren't very user friendly
<grantwu> How can I uninstall my nix copy of gcc?
<catern> nix-env --query --installed
<catern> is it there?
<gchristensen> roni: I'd rather not :P
<grantwu> catern: error: selector ‘gcc’ matches no derivations
<grantwu> gcc is /home/grantwu/.nix-profile/bin/gcc
<grantwu> So, I have a Nix GCC, I just don't know how to find it...
<LnL> probably nix-env -e gcc or nix-env -e gcc-wrapped
<LnL> gcc-wrapper*
<catern> grantwu: yes I didn't mean "nix-env --query --installed gcc" i meant "nix-env --query --installed"
<grantwu> ah, it was gcc-wrapper
<catern> gc.c
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] roconnor opened pull request #29574: bitcoin: 0.15.0 -> 0.15.0.1 (master...bitcoin) https://git.io/v5xis
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/v5xi4
<NixOS_GitHub> nixpkgs/staging 0a2c39e Franz Pletz: p11_kit: don't build documentation...
NixOS_GitHub has left #nixos []
<roni> `ls -l $(which gcc)` will show you the symlink for gcc and what it points to
<roni> that in turn tells you which derivation contains the gcc binary
<roni> in case that helps in general
griff_ has joined #nixos
sigmundv has joined #nixos
<gchristensen> this is awesome. I added `custompkgs = import <custompkgs> { inherit pkgs; };` to packageOverrides and now nix-shell -p custompkgs.fizzbuzz works, but nix-env -iA custompkgs.fizzbuzz doesn't
<gchristensen> LnL: what does your $NIX_PATH contain?
acarrico has joined #nixos
<roni> try `nix-env -f <custompkgs> -iA fizzbuzz`
<LnL> ^
<LnL> custompkgs won't work unless it's ~/.nix-defexpr/custompkgs
ona has joined #nixos
<tilpner> gchristensen - Put "import <custompkgs> {}" into ~/.nix-defexpr/custompkgs/default.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] fpletz pushed 61 new commits to release-17.09: https://git.io/v5xib
<NixOS_GitHub> nixpkgs/release-17.09 f3c517d Rodney Lorrimar: nixos/gogs: Fix module when no passwords provided...
<NixOS_GitHub> nixpkgs/release-17.09 0bee7f3 k0ral: youtube-dl: 2017.08.27 -> 2017.09.15...
<NixOS_GitHub> nixpkgs/release-17.09 071e825 yesbox: netdata: 1.5.0 -> 1.7.0...
NixOS_GitHub has left #nixos []
<gchristensen> I thought clever used a packageOverride + buildEnv to create a single package to declaratively manage his environment
<gchristensen> I'm somewhat shocked by how inconsistent this is :(
<tilpner> (Or put custompkgs into an overlay, and have <custompkgs> point to a Nix expression that imports nixpkgs with overlays)
bfrog has joined #nixos
<LnL> you don't actually need a buildEnv
<gchristensen> yeah but why does that work and custompkgs.fizzbuzz doesn't
<gchristensen> nice, thank you :)
<LnL> that nix-rebuild will install everything you add to the lnl attrset
newhoggy has joined #nixos
<gchristensen> it is also interesting to me that the overlays docs don't actually describe how to _use_ overlays
<LnL> the advantage compared to a buildEnv is that you can still temporarily remove or upgrade 1 package with nix-env -iA lnl.hello
* gchristensen takes notes to file bugs and PRs later
<disasm> gchristensen: adding to my hit list for hack days :)
<roni> i feel like we need a five stages of grief for nix/nixos users :-P
<LnL> gchristensen: curl ... -o ~~/.config/nixpkgs/overlays/lnl.nix
<roni> gchristensen is in "anger"; i'm somewhere between bargaining and acceptance :-P
<gchristensen> roni: sorry, I've hundreds of commits and PRs to nixos, this is all fresh grief trying to make it work for my coworkers.
<LnL> every nix file you put in there will be used as an overlay
<roni> gchristensen: no i didn't mean anything by it, i was just trying to be funny :)
<grantwu> I'm at the point where I just try to remove as many Nix things and install from apt c.c
<gchristensen> yeah but then what, LnL? the docs cover installation quite well but how to _use_ them is ??
<roni> overlays are quite new iiuc, so i assume the docs/blog posts still have to catch up
<gchristensen> yeah
<LnL> ah
pxc has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
<gchristensen> ah ha! ~/.config/nixpkgs/overlays/custompkgs.nix self: super: { custompkgs = import <custompkgs> { pkgs = self; }; } this does the business
<roni> gchristensen: LnL: does that basically *add* custompkgs to nixpkgs somehow? like, what is the plain meaning of declaring custompkgs like that inside an overlay?
<Lisanna> is there a way to check if an attribute is defined in a set?
<gchristensen> nix-shell -p custompkgs.fizzbuzz works, oh, but dangit, nix-env -iA custompkgs.fizzbuzz doesn't
<gchristensen> Lisanna: builtins.hasAttr
<LnL> yeah it's like packageOverrides any attributes defined in there will override or extend nixpkgs
<roni> gchristensen: afaik, nix-env only looks at .nix-defexpr
<roni> LnL: "override or extend", excellent, thanks
aneeshusa has joined #nixos
<gchristensen> this is a mess :(
grantwu has left #nixos ["WeeChat 1.9"]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to master: https://git.io/v5xX5
<NixOS_GitHub> nixpkgs/master 6c74ee6 John Ericson: cc-wrapper, cc-wrapper-old: Simplify shell logic...
NixOS_GitHub has left #nixos []
<gchristensen> $ nix-env -f '<nixpkgs>' -r -iA custompkgs.fizzbuzz
<gchristensen> error: getting status of ‘/Users/graham/.config/nixpkgs/overlays/graham@Cubert.4482’: No such file or directory
<gchristensen> I'll make tickets tonight :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 closed pull request #29550: cc-wrapper, cc-wrapper-old: Simplify shell logic (master...cc-wrapper-cross-shell) https://git.io/v5N1N
NixOS_GitHub has left #nixos []
<gchristensen> and try and work on them
<LnL> huh, what's that last part?
acowley_away is now known as acowley
simukis has quit [(Ping timeout: 240 seconds)]
<gchristensen> I have /Users/graham/.config/nixpkgs/overlays/custompkgs.nix open in my editor which creates a lockfile: .#custompkgs.nix -> graham@Cubert.4482 and nix tries to import it
<roni> gchristensen: oh my
<LnL> urgh
<roni> out-of-band signalling
<LnL> I would have expected it to only look at *.nix files
<roni> but the lockfile says .nix :)
pxc has joined #nixos
<gchristensen> it also tries to look at directories :) and I guess symlinks
<gchristensen> $ nix-env --upgrade
<gchristensen> error: attempt to call something which is not a function but a set, at /nix/store/qvqdgbf9sq7jnzpjffvka4bscs1bgh80-nixpkgs-17.09pre110905.0eb4f6fd25/nixpkgs/pkgs/development/tools/haskell/lambdabot/default.nix:12:78
<gchristensen> I'm _SO_ spoiled on NixOS
<disasm> this is odd, I passed a cmakeFlag for $out/something and it created a '$out' directory in the store path
<disasm> well in $out store path
<disasm> I guess I just change it to /something
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bjornfor pushed 1 new commit to release-17.03: https://git.io/v5x1r
<NixOS_GitHub> nixpkgs/release-17.03 1e30a7c Johannes Frankenau: borgbackup: 1.0.10 -> 1.0.11...
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/97452cc795 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
chreekat has quit [(Quit: quitting)]
<disasm> and that said can't create /something lol
phinxy has joined #nixos
<disasm> so without '/' prefix it seems to work. But why can't I specify the value of $out in a cmake flag?
phinxy has left #nixos []
kanshazan has quit [(Ping timeout: 240 seconds)]
<LnL> gchristensen: I think foo/default.nix also works for overlays
<roni> disasm: can you show me more specifically what you're doing with cmake?
erictapen has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<LnL> disasm: don't you need to use $(out) for that?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] groxxda opened pull request #29576: systemd-vconsole-setup: remove workaround (master...vconsole) https://git.io/v5xD6
NixOS_GitHub has left #nixos []
<LnL> or is that only with make
<disasm> sure, I'll submit PR has WIP
sellout- has quit [(Quit: Leaving.)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] disassembler opened pull request #29577: [WIP] icinga2: init at 2.7.0 (master...icinga2) https://git.io/v5xyL
NixOS_GitHub has left #nixos []
sellout- has joined #nixos
<disasm> or I guess I could have done ^^ :)
sellout- has quit [(Client Quit)]
<disasm> anyways, gotta go get dinner, but making it just plugins worked, now I just wonder why I can't use $out there.
<LnL> yeah I think you want $(out)/plugins
sellout- has joined #nixos
jeron has quit [(Ping timeout: 260 seconds)]
sellout- has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5xyl
<NixOS_GitHub> nixpkgs/master a50d0b7 Thomas Tuegel: alacritty: install desktop icon
<NixOS_GitHub> nixpkgs/master 6e01011 Thomas Tuegel: alacritty: respect pre- and post-hooks of overridden phases...
NixOS_GitHub has left #nixos []
<Lisanna> does stdenv.mkDerivation {...} // {blah} work?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-17.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/f8f126b9a1 (from 28 hours ago, history: https://channels.nix.gsc.io/nixpkgs-17.09-darwin)
nix-gsc-io`bot has quit [(Client Quit)]
<Lisanna> e.g. stdenv.mkDerivation {...} // {preConfigure = (if dist then "bash ./autogen.sh" else null);}
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29572: alacritty: Install desktop icon (master...alacritty) https://git.io/v5x2B
NixOS_GitHub has left #nixos []
<Lisanna> Oh, operator precendence. nevermind, figured it out
<Lisanna> needsto be stdenv.mkderivation ({blah} // {foo})
<LnL> that first example will apply preConfigure after the drv is evaluated so the build won't change
mattcode has quit [(Quit: Leaving)]
<Lisanna> also, zsh's autocomp for Nix is kick-ass
acarrico has quit [(Ping timeout: 248 seconds)]
<Lisanna> $ nix-build -A foo<TAB> will show me all valid completions for foo* and their children
<Lisanna> (if I put a .)
<pxc> sounds like we need to improve fish's completions for Nix, heh
ryanartecona has quit [(Quit: ryanartecona)]
<Lisanna> zsh's tab completion has been the one thing that has kept me from moving to a not bash-based shell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5xSs
<NixOS_GitHub> nixpkgs/master a9f8207 Aneesh Agrawal: radicale_infcloud: init
<NixOS_GitHub> nixpkgs/master 06de6d5 Jörg Thalheim: Merge pull request #29525 from aneeshusa/radicale_infcloud-init...
NixOS_GitHub has left #nixos []
<roni> disasm: shouldn't it be ${out}?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/v5xSK
<NixOS_GitHub> nixpkgs/master 2c22522 Samuel Leathers: lenmus: removing custom cmakeFlags
<NixOS_GitHub> nixpkgs/master ad16a82 Jörg Thalheim: Merge pull request #29573 from disassembler/lenmus...
NixOS_GitHub has left #nixos []
<clever> roni: ${out} might get parsed by nix first, so you would have to escape it
<clever> roni: and other factors affect if bash is going to eval it or not down the road
<clever> not sure why $(out) behaves differently in some cases
<LnL> that's make/cmake things like makeFlags are quoted so you can't use bash syntax there
sigmundv has quit [(Remote host closed the connection)]
<roni> clever: right, i thought disasm wanted the nix value of $out in that expression
<roni> but of course i probably don't know what i'm talking about
sigmundv has joined #nixos
sigmundv has quit [(Remote host closed the connection)]
sellout- has joined #nixos
<LnL> you can't reference out as a variable in nix while still evaluating the drv
sigmundv has joined #nixos
<clever> LnL: builtins.placeholder
<LnL> oh?
<gchristensen> O.o
<clever> it returns a magic string, that will be turned into the value of $out at build time
<LnL> cool, didn't realise that existed already
sigmundv has quit [(Remote host closed the connection)]
sigmundv has joined #nixos
jensens has quit [(Ping timeout: 255 seconds)]
zzamboni has joined #nixos
<FRidh> so no need anymore for `let foo = stdenv.mkDerivation { bar = foo; }; in foo;` ?
<gchristensen> could you do that?
<FRidh> yes
<gchristensen> nix makes my brain hurt
<LnL> doesn't that need to be passthru.bar?
<pxc> wait, what does the inner 'foo' mean in that expression?
<roni> please don't say "fix point" :-P
<FRidh> LnL: could be
<LnL> pxc: the inner foo is the variable from the let binding
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfroche opened pull request #29578: Update openfortivpn (master...upgrade-openfortivpn) https://git.io/v5xH7
NixOS_GitHub has left #nixos []
<pxc> huh. I would not expect 'in' to work that way
<LnL> you can do let foo = 42; bar = foo; in bar
<pxc> oooh, I see now
<pxc> thanks
<LnL> this is kind of the same but by using foo inside of the definition of foo you introduce recursion
<FRidh> LnL: you're right, passthru.bar = foo is neede
<FRidh> to prevent the infinite recursion
<roni> ah, so foo is just a derivation that refers to itself
<roni> nothing to see here
sigmundv has quit [(Quit: Leaving)]
andrewmcveigh_ has quit [(Ping timeout: 248 seconds)]
FRidh has quit [(Quit: Konversation terminated!)]
sigmundv has joined #nixos
hiratara has quit [(Ping timeout: 246 seconds)]
sigmundv has quit [(Remote host closed the connection)]
sigmundv has joined #nixos
hiratara has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
k2s has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] garbas pushed 2 new commits to master: https://git.io/v5x7E
<NixOS_GitHub> nixpkgs/master a3e806e Frank Doepper: tp_smapi with hdaps
<NixOS_GitHub> nixpkgs/master 28dd115 Frank Doepper: circumvent hdaps name clash
NixOS_GitHub has left #nixos []
k2s has quit [(Client Quit)]
roni has left #nixos []
silver_hook has quit [(Ping timeout: 252 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
primeos has quit [(Ping timeout: 240 seconds)]
<gchristensen> LnL: what do you think of this: file:///home/grahamc/projects/nixpkgs/result/share/doc/nixpkgs/manual.html#fn-lists-findSingle
<gchristensen> oops. heh.
<LnL> lol
mudri has joined #nixos
<LnL> nice!
acowley is now known as acowley_away
eacameron has quit [(Remote host closed the connection)]
<LnL> looks pretty good to me, guess my main comment is that the description, etc. titles are pretty big
<gchristensen> yeah, the CSS is totally different on nixos.org
Myrl-saki has joined #nixos
<gchristensen> is there a fn to see if a string contains another string?
zzamboni has quit [(Quit: Leaving.)]
<gchristensen> makefu: always do :)
<pxc> so I gave a talk at my workplace today (mostly about Nix) called 'Functional Software Management' (generalized from 'functional package management' to try to capture how Nix tooling applies its FP paradigm to not only packages, but configuration and infrastructure)
<pxc> anyone wanna see the slides?
sigmundv has quit [(Ping timeout: 240 seconds)]
<LnL> gchristensen: there's builtins.match, don't remember when that was introduced
<pxc> they're pretty abstract but I think I got a few people interested in the approach Nix and Guix share
<nixo[m]> Why not, thanks
<nixo[m]> > so I gave a talk at my workplace today (mostly about Nix) called 'Functional Software Management' (generalized from 'functional package management' to try to capture how Nix tooling applies its FP paradigm to not only packages, but configuration and infrastructure)
python476 has quit [(Ping timeout: 248 seconds)]
<gchristensen> are there docs on .match lnl? I don't see any ... hmm
jellowj has quit [(Ping timeout: 240 seconds)]
<LnL> no idea, it's a regex match
hiratara has quit [(Quit: ZNC - http://znc.in)]
<pxc> those are the slides. I need to do something shorter and more demo-y at some point, maybe I'll make some videos
primeos has joined #nixos
<LnL> gchristensen: builtins.match :: regex -> str -> either null [str]
jellowj has joined #nixos
hiratara has joined #nixos
<Mic92> sometimes I wish to have a laywer to consult about some licenses issues/questions we have in nixpkgs from time to time (like the android sdk)
<makefu> gchristensen: just wanted to say the reference for the nixpkgs functions look fantastic. It will be super convenient especially for newcomers. grep'ing lib/ for some function was the most unpleasent experience when i started with NixOS
nh2 has quit [(Ping timeout: 252 seconds)]
griff_ has quit [(Quit: griff_)]
<LnL> not just newcomers, I always forget the argument order of certain functions
<makefu> Mic92: we could probably ask the EFF for help with these things.
<grahamc> <3 thank you makefu!
<shlevy> fpletz: around?
newhoggy has joined #nixos
nh2 has joined #nixos
<shlevy> Anyone here using kanboard on NixOS?
python47` has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
Myrl-saki has quit [(Ping timeout: 240 seconds)]
newhoggy has quit [(Remote host closed the connection)]
rsynnest_ has joined #nixos
<nh2> what's a good way to upgrade nix on nixos 17.03?
<nh2> I'd like something newer than 1.11.11
ebzzry has joined #nixos
predator217 has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
predator117 has quit [(Ping timeout: 240 seconds)]
<pxc> if you just want to use it at the CLI you can just install it with nix-env or put it in your systemPackages
<pxc> if you want it to replace Nix for nixos-rebuild you can do an override like 'nix = nixUnstable;'
jellowj has joined #nixos
<nh2> pxc: isn't nixUnstable 1.12 though? I want to stay at 1.11, just one of the later bugfix releases
<nh2> hmm the file you linked has 1.11.14 though, I wonder why I don't have it, is my nixpkgs commit too old?
<pxc> if you're on your own checkout, maybe
<pxc> and yeah, nixUnstable is 1.12
<nh2> it seems so, I'll check that
<nh2> pxc: in any case thanks already for making me aware of this!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 opened pull request #29580: stdenv: Provide a way for full `set -x` debugging (master...stdenv-super-debug) https://git.io/v5xp4
NixOS_GitHub has left #nixos []
eikke has joined #nixos
erictapen has joined #nixos
<eikke> Having trouble with a derivation I'm trying to write: I have 'pkgconfig' in nativeBuildInputs and 'c-ares' and 'zlib' in 'buildInputs'. When running the build, pkg-config says zlib isn't found. However, when I run 'nix-shell -p pkgconfig zlib c-ares', 'pkg-config --exists zlib' returns 0 and PKG_CONFIG_PATH contains 2 values (one for zlib, one for c-ares). Finally, when running 'nix-build -K', and inspecting the 'env-vars' file, the value for PKG_CONFIG_
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] eqyiel opened pull request #29581: nixos/nfs: allow setting the path to krb5.keytab (master...fix-rpc-gssd) https://git.io/v5xpQ
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 248 seconds)]
erasmas has quit [(Quit: leaving)]
digitus has quit [(Quit: digitus)]
<gchristensen> LnL, makefu, Sonarpulse: improvementss to make but it'll look like this: http://gsc.io/nixos/nixpkgs/manual/#fn-lists-findSingle
<Sonarpulse> gchristensen: :)
<Sonarpulse> then, we overhaul packages next!
<Sonarpulse> documented configure flags!
<grahamc> Oh boy
<grahamc> First we need to document all the functions :P
chakerbenhamed has quit [(Ping timeout: 264 seconds)]
<grahamc> Once this merges, if everyone documents one function a day it’ll be done real quick
mudri has quit [(Ping timeout: 248 seconds)]
hc_ has joined #nixos
<eikke> is there a more suitable channel for such questions?
hc has quit [(Ping timeout: 248 seconds)]
<gchristensen> eikke: this is thee right channel
DeaDSouL has quit [(Ping timeout: 264 seconds)]
<gchristensen> eikke: looking at https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/video/gpac/default.nix#L14 it looks like it should work :/
<Sonarpulse> grahamc: yeah that ought to be easy enough
<nh2> eikke: your message was cut off after "the value for PKG_CONFIG_" for me
hc has joined #nixos
hc_ has quit [(Ping timeout: 240 seconds)]
DeaDSouL has joined #nixos
<eikke> nh2: ... the value for PKG_CONFIG_PATH only points to c-ares, not to zlib
<nh2> hmm
<eikke> the odd thing is, if I remove c-ares from buildInputs, then indeed both aren't found during build
<nh2> eikke: I mean one difference I can spot vs the linked `gpac` is that that one has it in `nativeBuildInputs`; I guess it shouldn't make a difference but maybe worth to try if it changes things
<nh2> (I mean it has zlib there)
<eikke> tried that as well, doeesn't change. Also, I'm surprised having zlib in nativeBuildInputs and not in buildInputs?
<nh2> eikke: not sure what `gpac` does with it, maybe it links statically?
<eikke> good point
hc has quit [(Ping timeout: 248 seconds)]
acowley_away is now known as acowley
hc has joined #nixos
<eikke> fwiw, here's my Nix file: http://lpaste.net/5073203275407294464
<nh2> eikke: if I `find /nix/store/...-zlib-1.2.11/` there isn't even a `.pc` file in there
<nh2> or any lib/pkgconfig dir
<nh2> eikke: try depending on zlib.dev or something
<kuznero> Is there documentation on available options when working with EC2 nixops or should I lookup source code?
newhoggy_ has joined #nixos
<eikke> nh2: then why is it correctly added to PKG_CONFIG_PATH when running 'nix-shell -p pkgconfig -p zlib'? :-/
hc has quit [(Ping timeout: 240 seconds)]
_ris has quit [(Ping timeout: 240 seconds)]
<nh2> kuznero: the nixops manual has a section about it, does it not cover something you need?
hc has joined #nixos
<nh2> eikke: IIRC nix-shell and nix-build can do very different things, e.g. for Haskell they are also pretty different
<kuznero> nh2: I am following main example with a proxy and 2 backends. But it complains with "error: no AMI defined for EC2 machine ‘backend1’"
<eikke> also, zlib has no attribute 'dev'
<kuznero> nh2: which lead me thinking that I am missing AMI option in physical setup nix file...
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 252 seconds)]
<kuznero> nh2: oh, I am running from 17.09 channel (still beta)
<nh2> eikke: you cannot run `nix-shell -p zlib.dev`? For me that works
<eikke> nh2: works for me as well, but not having 'zlib.dev' in 'buildInputs' or whatever
<nh2> kuznero: can you paste the `deployment.ec2.*` somewhere (strip confidential values as needed)
<kuznero> nh2: sure, I am using aliases, so it is not critical with confidential files... just a moment
<eikke> nh2: the odd thing is c-ares' pkgconfig path is nicely added to the env, but zlib's isnt
pie_ has quit [(Ping timeout: 240 seconds)]
<clever> eikke: pkgconfig has a setup hook, that will add the buildInputs to the pkgconfig search path
<clever> eikke: the setup hooks dont work if you manualy install pkgconfig with nix-env or systemPackages
<nh2> eikke: hmm so using `locate zlib.pc` I can find only `/nix/store/...-zlib-1.2.11-dev/lib/pkgconfig/zlib.pc` having a pkgconfig file, so it must be something with the .dev output thing
<eikke> clever: I don't have anything in nix-env
<kuznero> nh2: so, here is logical setup: https://pastebin.com/jNi5S8ef