kurf has joined #nixos
pie_ has quit [(Changing host)]
pie_ has joined #nixos
johnw_ is now known as johnw
johnw is now known as Guest48124
Guest48124 has quit [(Changing host)]
Guest48124 has joined #nixos
Guest48124 is now known as johnw`
johnw` is now known as johnw
nh2 has quit [(Quit: Leaving.)]
data has joined #nixos
data is now known as Guest53570
ris has quit [(Ping timeout: 260 seconds)]
phinxy has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
kurf has quit [(Quit: Page closed)]
snikkers has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
<gchristensen> I think a really neat automatic docs generator idea would be taking installer.nix tests and using those to make docs
MP2E has quit [(Quit: leaving)]
thc202 has quit [(Ping timeout: 255 seconds)]
pie_ has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] diegs opened pull request #26918: google-cloud-sdk: 155.0.0 -> 159.0.0 (master...google-cloud-sdk) https://git.io/vQc4F
NixOS_GitHub has left #nixos []
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
danl1240 has joined #nixos
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
Guest53570 has quit [(Quit: nite nite)]
aneeshusa has quit [(Quit: WeeChat 1.9)]
Nobabs27 has joined #nixos
<froglegstew> ok, so i went down the rabbit hole with the openvpn server on nix
<froglegstew> but i'm wondering a couple things
s33se_ has joined #nixos
<froglegstew> i've got that pastebin script that i'm using
<froglegstew> (it's for generating keys and such for the openvpn server
<froglegstew> is there a way i can automate that all in nix?
s33se has quit [(Ping timeout: 240 seconds)]
Rajsun has quit [(Ping timeout: 240 seconds)]
hellrazo1 has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
Rajsun has joined #nixos
<froglegstew> how do I convert an integer into a string
<froglegstew> toString
mudri has quit [(Ping timeout: 255 seconds)]
aneeshusa has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
Nobabs27 has quit [(Quit: Leaving)]
mbrgm has quit [(Ping timeout: 255 seconds)]
lambdamu_ has joined #nixos
mbrgm has joined #nixos
lambdamu has quit [(Ping timeout: 255 seconds)]
aneeshusa has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26919: moka-icon-theme: 2017-02-13 -> 5.3.6 (master...upd.moka-icon-theme) https://git.io/vQcz9
NixOS_GitHub has left #nixos []
mellowmaroon has joined #nixos
<mellowmaroon> How can I include the Mozilla rust overlay in configuration.nix?
<mellowmaroon> I know it can be installed with nixos.rustChannels.stable.rust, but I can't point to that in my configuration.nix
obadz has quit [(Ping timeout: 240 seconds)]
riclima has joined #nixos
obadz has joined #nixos
mellowmaroon has quit [(Quit: Leaving)]
pxc has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
mbrgm has quit [(Ping timeout: 260 seconds)]
hellrazo1 has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
hellrazo1 has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
jgertm has joined #nixos
zeus_ has quit [(Ping timeout: 258 seconds)]
danl1240 has joined #nixos
* grahamc uploaded an image: ima_19a827a.jpeg (250KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/rfoBefjxgfTLMEcuXQCdkJGN>
<grahamc> Some initial results, building install instructions from our NixOS install tests:
abcrawf has quit [(Ping timeout: 240 seconds)]
zombified has quit [(Ping timeout: 240 seconds)]
CodingWithClass has quit [(Ping timeout: 258 seconds)]
phI||Ip has quit [(Ping timeout: 255 seconds)]
zombified has joined #nixos
CodingWithClass has joined #nixos
phI||Ip has joined #nixos
data has joined #nixos
data is now known as Guest68067
abcrawf has joined #nixos
zeus_ has joined #nixos
ndrei has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26920: fdupes-1.51 -> jdupes-1.8 (master...upd.fdupes) https://git.io/vQcaV
NixOS_GitHub has left #nixos []
<Drakonis[m]> woah now, is that a new manual
<Drakonis[m]> woah now its a installer
<hodapp> ugh, dammit dropbox
<hodapp> "UPGRADE ME! UPGRADE ME! UPGRADE ME! UPGRADE ME OR I'LL STOP WORKING!" so I upgrade and then "!! (Qt:Fatal) This application failed to start because it could not find or load the Qt platform plugin "xcb" in ""." even with the console version
Guest68067 has quit [(Quit: nite nite)]
endforma1 has joined #nixos
endformationage has quit [(Ping timeout: 276 seconds)]
<adisbladis> How can I put something in the binary cache manually?
<nixy> adisbladis: What do you mean by that?
<adisbladis> nixy: I have a file that I want to put into the binary cache, but /nix/store is read-only
<catern> adisbladis: nix-store --add [file]
<catern> but are you sure this is what you want to do?
zraexy has quit [(Ping timeout: 268 seconds)]
<adisbladis> catern: I think so? Trying to resolve this issue http://ix.io/y4j
<adisbladis> Downloading the file from the cache manually works out fine
<adisbladis> Disk space is plentiful so I don't know what this "no space left on device" is about
<catern> well, you can try nix-store --add or nix-prefetch-url
<catern> but consider that maybe disk space is not plentiful
<catern> check df -h :)
<adisbladis> catern: I did, 15G available
<catern> on tmpfs?
<catern> anyway: try nix-store --add or nix-prefetch-url
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #26921: consul: 0.7.5 -> 0.8.5 (master...consul-0.8.5) https://git.io/vQcV7
NixOS_GitHub has left #nixos []
<adisbladis> catern: Works fine after nix-prefetch-url
<catern> ¯\_(ツ)_/¯
pxc has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
<clever> adisbladis: what about df -i /nix/store/
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8e73afb2e1 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
hamishmack has quit [(Ping timeout: 260 seconds)]
<adisbladis> clever: It's btrfs so inodes are not an issue
hapticFeels has joined #nixos
lambdael has quit [(Ping timeout: 240 seconds)]
<clever> adisbladis: ah, btrfs has its own problem, with the balance of metadata vs data
<clever> # btrfs filesystem df /
<clever> adisbladis: what does this one say?
<adisbladis> clever: Ahh, this explains it I think! http://ix.io/y4k
vaibhavsagar has joined #nixos
<vaibhavsagar> hey, can I access a file from a pinned nixpkgs?
data has joined #nixos
data is now known as Guest4168
Sonarpulse has joined #nixos
hapticFe` has joined #nixos
hapticFeels has quit [(Remote host closed the connection)]
justan0theruser has joined #nixos
phreedom has quit [(Remote host closed the connection)]
anelson has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
ebzzry has quit [(Ping timeout: 276 seconds)]
marsel has joined #nixos
ebzzry has joined #nixos
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
<Drakonis[m]> that btrfs issue is from 3 years ago
<Drakonis[m]> lots of kernel releases can come out in that period
<Drakonis[m]> hmm nope, nevermind that, still a problem.
<Drakonis[m]> incredible.
<adisbladis> Drakonis[m]: I'm switching this setup to ZFS.. It's pretty much the only filesystem you can trust imho
hapticFe` has quit [(Remote host closed the connection)]
dfordivam has quit [(Read error: Connection reset by peer)]
zraexy has joined #nixos
dfordivam has joined #nixos
ryanartecona has joined #nixos
marsel has quit [(Ping timeout: 260 seconds)]
reinzelmann has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ryanartecona has quit [(Quit: ryanartecona)]
hamishmack has joined #nixos
Rajsun has quit [(Quit: Leaving)]
boj has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
eacameron has quit [(Remote host closed the connection)]
mkoenig has quit [(Remote host closed the connection)]
marsel has joined #nixos
arianvp2 has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
zeus_ has joined #nixos
zeus_ has quit [(Ping timeout: 246 seconds)]
alx741 has quit [(Quit: alx741)]
zeus_ has joined #nixos
jbgi has quit [(Ping timeout: 276 seconds)]
zeus_ has quit [(Ping timeout: 246 seconds)]
mkoenig has joined #nixos
endforma1 has quit [(Quit: WeeChat 1.7)]
Mercuria1Alchemi has joined #nixos
olejorgenb has quit [(Ping timeout: 260 seconds)]
jgertm has quit [(Ping timeout: 240 seconds)]
jbgi has joined #nixos
BlessJah has quit [(Ping timeout: 246 seconds)]
reinzelmann has joined #nixos
arianvp2 has quit [(Quit: arianvp2)]
ebzzry has quit [(Ping timeout: 276 seconds)]
adisbladis has quit [(Remote host closed the connection)]
olejorgenb has joined #nixos
adisbladis has joined #nixos
adisbladis has quit [(Changing host)]
adisbladis has joined #nixos
seanparsons has quit [(Ping timeout: 260 seconds)]
seanparsons_ has joined #nixos
<Mic92> gchristensen: cool
arianvp2 has joined #nixos
jbgi has quit [(Ping timeout: 240 seconds)]
sary has quit [(Remote host closed the connection)]
<Mic92> adisbladis: bcachefs could be also an alternative in some years.
<Mic92> It looks already promising
<pxc> is there any way to build ruby packages with native extensions?
<pxc> I can't find any examples in Nixpkgs
<pxc> actually, there's redmine
<adisbladis> Mic92: Yes I'm quite excited for it too :)
<pxc> are there any better examples?
zraexy has quit [(Ping timeout: 240 seconds)]
<Mic92> pxc: nixpkgs/pkgs/development/ruby-modules/gem-config/default.nix
<Mic92> pxc: are you working on redmine
<pxc> Mic92: no. I want to package showterm, which uses native extensions for ttyrec. It chokes when it can't find gcc. (I'm trying to do a simple setup with bundix)
Sonarpulse has quit [(Ping timeout: 246 seconds)]
<Mic92> pxc: you need to pass additionally dependencies to ttyrec. This is usually done in the said file
<pxc> Mic92: this is great! is there anything about this in the current Nixpkgs manual?
arianvp2 has quit [(Quit: arianvp2)]
markus1199 has quit [(Ping timeout: 240 seconds)]
hotfuzz_ has joined #nixos
markus1209 has quit [(Ping timeout: 240 seconds)]
<Mic92> pxc: mhm. I cannot find something. But if their would be something, it would be in nixpkgs/doc/languages-frameworks/ruby.xml
hotfuzz has quit [(Ping timeout: 240 seconds)]
markus1189 has joined #nixos
markus1199 has joined #nixos
<Mic92> pxc: you could add some lines, when you figure it out.
<pxc> Mic92: great idea :-)
Itkovian has joined #nixos
<adisbladis> Mic92: I wanted to give bcachefs a go but it seems you pretty much have to use their kernel tree
<adisbladis> No easily available patches
<Mic92> I have not yet found the time to compile it and run somewhere.
<adisbladis> Mic92: Nice :)
dalaing_ has joined #nixos
freusque has quit [(Ping timeout: 240 seconds)]
<pxc> so just adding gcc worked, but the way showterm includes ttyrec is just be building all the binaries executables (as a ruby extension?) how can I tell it to use Nix's? a replacement Makefile that links into the right package? https://github.com/ConradIrwin/showterm/tree/master/ext
justbeingglad has joined #nixos
<pxc> to restate: I have a working showterm package now, but it features gcc as a buildInput and doesn't use Nixpkgs' included ttyrec package. This is because showterm appears configured upstream to use its own bundled copy of showterm which it compiles from source. Is this worth trying to work around?
justbeingglad has left #nixos []
<Mic92> pxc: maybe youd a wip pull request
<Mic92> *you add
<Mic92> probably a preBuild is required where, make is run
<sphalerite> gchristensen: just had another odd keyboard bug, one I haven't seen before — it seems to have missed the release event so it just kept repeating n after I pressed it only once
freusque has joined #nixos
dalaing_ has quit [(Remote host closed the connection)]
<clever> sphalerite: that used to be a daily occurance for me
<clever> sphalerite: with one of my old laptops, the first one with cpufreq scaling, the entire system would lock up for ~0.5 seconds every time the freq changed
<sphalerite> ouch
<clever> and "ls -ltrh" used enough cpu to make it want to clock up
<clever> and the timing was just right, that it always dropped key events when i finished reading and tried to do something
<clever> the hardware keyboard buffer must have been really short
<clever> but that was back before the kernel even had automatic freq changing, it was all driven by powernowd, which had flexible config
<clever> so i could just raise the averaging window, and it was less eager to change freq
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vdemeester opened pull request #26922: gogland: 171.4694.35 -> 171.4694.61 (master...gogland-update) https://git.io/vQcDX
NixOS_GitHub has left #nixos []
ambro718 has joined #nixos
BlessJah has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
nschoe has joined #nixos
<srhb> clever: That sounds terrible :P
<srhb> You must be a very zen person.
<pxc> Mic92: recorded with showterm installed from Nixpkgs http://showterm.io/7aed6d3add6b02f798e1f
<Mic92> pxc: you are on osx, I wondered, why you need to install gcc explicitly
<Mic92> pxc: you can probably skip this dependency, by passing CC=$CC to the makefile
<Mic92> *to make
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] MostAwesomeDude opened pull request #26923: Named Data Networking (NDN) Tools (master...ndn) https://git.io/vQcym
NixOS_GitHub has left #nixos []
<pxc> Mic92: oh, cool. Let's give that a try
<Mic92> make CC=$CC
<pxc> Mic92: to do that I just add "CC=$CC" to makeFlags in that same file where I originally added gcc as a buildInput?
<pxc> that gem-config/default.nix
<Mic92> pxc: yes
<pxc> Mic92: I tried it and now showterm fails to build again. hang on
<pxc> Mic92: build messages: http://termbin.com/tgaj
<Mic92> pxc: seems it did not reach make: make "DESTDIR="
<pxc> Mic92: these are the lines from gem-config/default.nix: http://termbin.com/f35g
<pxc> Mic92: yeah, I think it only affects the package as a whole. But really I don't want to affect the inner Makefile so much as bypass it completely. Idk enough about how Ruby works, though
<Mic92> pxc: it calls make itself
<pxc> Mic92: do you think maybe I could just replace the Makefile with one that has a bunch of dummy outputs where the build commands are "ln -s ${ttyrec}/bin/ttyrec ttyrec", "ln -s ${ttyrec}/bin/ttyplay ttyplay", etc.?
<pxc> in like prePatch?
<Mic92> pxc: I think the paths of least resistance is to just keep the gcc thing there
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQcSt
<NixOS_GitHub> nixpkgs/master f849eb2 Jörg Thalheim: jetbrains.datagrip: 2017.1.4 -> 2017.1.5
<NixOS_GitHub> nixpkgs/master ce88027 Jörg Thalheim: jetbrains.gogland: 171.4694.35 -> 171.4694.61
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26922: gogland: 171.4694.35 -> 171.4694.61 (master...gogland-update) https://git.io/vQcDX
NixOS_GitHub has left #nixos []
mounty has quit [(Quit: Konversation terminated!)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
DrWaste has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
indi_ has quit [(Ping timeout: 260 seconds)]
FRidh has joined #nixos
noobly_ has quit [(Ping timeout: 260 seconds)]
justan0theruser has joined #nixos
justanotheruser has quit [(Ping timeout: 260 seconds)]
pxc has quit [(Quit: WeeChat 1.8)]
jacob_ has joined #nixos
jacob_ is now known as Guest53073
justan0theruser has quit [(Quit: WeeChat 1.7.1)]
justanotheruser has joined #nixos
freedomcode has quit [(Read error: Connection reset by peer)]
reardencode has joined #nixos
Ralith_ has quit [(Ping timeout: 268 seconds)]
goibhniu has joined #nixos
thc202 has joined #nixos
civodul has joined #nixos
hotfuzz_ is now known as hotfuzz
Ralith_ has joined #nixos
ris has joined #nixos
mudri has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQc7y
<NixOS_GitHub> nixpkgs/master 3dfa1d2 Diego Pontoriero: google-cloud-sdk: 155.0.0 -> 159.0.0
<NixOS_GitHub> nixpkgs/master fcf4f2f Jörg Thalheim: Merge pull request #26918 from diegs/google-cloud-sdk...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vQc5T
<NixOS_GitHub> nixpkgs/master 6fd4c39 Langston Barrett: django-polymorphic: init at 1.2
<NixOS_GitHub> nixpkgs/master e93f222 Frederik Rietdijk: Merge pull request #26914 from siddharthist/django-polymorphism...
NixOS_GitHub has left #nixos []
viric_ is now known as viric
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh closed pull request #26858: python-gflags: 2.0 -> 3.1.1 (master...python-gflags-3.1.1) https://git.io/vQ3c5
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #26903: boost-build: update to version 2016.03 (master...pullrequest4) https://git.io/vQZdO
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQc5j
<NixOS_GitHub> nixpkgs/master 55fc963 Stefan Lau: rustRegistry: 2017-06-25 -> 2017-06-27
<NixOS_GitHub> nixpkgs/master bd10a77 Jörg Thalheim: Merge pull request #26908 from selaux/rustPackages-2017-06-27...
NixOS_GitHub has left #nixos []
ebzzry has joined #nixos
ebzzry has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rickynils pushed 1 new commit to master: https://git.io/vQcdE
<NixOS_GitHub> nixpkgs/master a6cf636 Rickard Nilsson: network-manager: hostname option is deprecated...
NixOS_GitHub has left #nixos []
ThatDocsLady has joined #nixos
ebzzry has joined #nixos
snikkers has joined #nixos
ilyaigpetrov has joined #nixos
jensens has joined #nixos
ixxie has joined #nixos
riclima has joined #nixos
_Vi has quit [(Ping timeout: 276 seconds)]
pie_ has joined #nixos
phreedom has joined #nixos
logzet has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lukego opened pull request #26924: pharo: 5.0 -> 6.0 [work in progress] (master...pharo6-for-nixpkgs) https://git.io/vQcAd
NixOS_GitHub has left #nixos []
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
simukis has joined #nixos
mpcsh has quit [(Quit: THE NUMERICONS! THEY'RE ATTACKING!)]
mpcsh has joined #nixos
ktosiek has quit [(Ping timeout: 260 seconds)]
ThatDocsLady has joined #nixos
k0001 has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
bennofs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dotlambda opened pull request #26926: dmensamenu: init at 1.0.0 (master...master) https://git.io/vQchY
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] gentoofreak opened pull request #26927: libopus: 1.2 -> 1.2.1 (master...libopus-1.2.1) https://git.io/vQchV
NixOS_GitHub has left #nixos []
sary has joined #nixos
octe_ is now known as octe
<hyper_ch> there are many smart people in here: What's the advantage of a mesh (wireless) network compared to tradition wlan + repeater?
<manveru> anyone here can merge this? https://github.com/NixOS/nixpkgs/pull/26911
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
phreedom has joined #nixos
<gchristensen> hyper_ch: if the repeater isn't using the mesh protocol it means your client has to decide to switch networks
<gchristensen> hyper_ch: whereas with the mesh protocol support, the client is much more willing to hop from ap to ap
<hyper_ch> hmmm, I see
Gravious has quit [(Quit: leaving)]
<gchristensen> also with one you may need to run cabling to each AP, vs. perhaps not having to
ebzzry has quit [(Quit: WeeChat 1.8)]
dalaing_ has joined #nixos
vaibhavsagar has quit [(Ping timeout: 276 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a6cf6367e2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
dalaing_ has quit [(Remote host closed the connection)]
UFODiveb1mb has joined #nixos
UFODivebomb has quit [(Ping timeout: 258 seconds)]
mudri has joined #nixos
nh2 has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
Neo-- has quit [(Ping timeout: 255 seconds)]
cpennington has joined #nixos
jbgi has joined #nixos
iyzsong has joined #nixos
adisbladis[m] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #26928: monoid: init at 2016-07-21 (master...new.monoid) https://git.io/vQCmL
NixOS_GitHub has left #nixos []
markus1189 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] FRidh pushed 2 new commits to master: https://git.io/vQCm9
<NixOS_GitHub> nixpkgs/master b7ccf27 Volth: rename webkitgtk24x -> webkitgtk24x-gtk3; webkitgtk2 -> webkitgtk24x-gtk2
<NixOS_GitHub> nixpkgs/master 8a62a9b Frederik Rietdijk: Merge pull request #26125 from volth/webkitgtk-naming...
NixOS_GitHub has left #nixos []
markus1199 has quit [(Ping timeout: 240 seconds)]
<raunov> Hey, any hints how to write custom file after package installing? (custom package)
markus1189 has joined #nixos
cpennington has quit [(Remote host closed the connection)]
jbgi has quit [(Ping timeout: 240 seconds)]
<raunov> trying to use writeText but it doesn't allow to specify path (only file name) and currently its even failing with filename for no premissions
magnetophon1 has joined #nixos
arianvp2 has joined #nixos
<tilpner> What custom path do you want to write to?
<raunov> its quite uncommon, /root/.terraformrc
<raunov> but even without path, it's failing cause of permissions
ragge has quit [(Quit: Connection closed for inactivity)]
<raunov> error: /nix/store/ysa06zk7hz9k4f9l03681vfnnbscp5l5-stdenv/setup: line 69: /nix/store/apx562zq5gf42bn7wc19sbfv268plra2-terraformrc.conf: Permission denied
<tilpner> Oh, yes, that's harder. I'll send you how I solved that for me
<raunov> cause didn't find any other possbility to tell terraform where to look for plugin :)
<raunov> would really appreciate it
<goibhniu> raunov: in general, you're not allowed to write to a path outside of the store
arianvp2 has quit [(Remote host closed the connection)]
arianvp2 has joined #nixos
<raunov> goibhniu: makes sense yes..but any other good ideas :D ?
* goibhniu is curious to see tilpner's approach
<raunov> quite weird that terraform states thats only users home dir .terraformrc is for plugin discovery..
<tilpner> This is in my configuration.nix, tx0.co/nRYu/nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to release-17.03: https://git.io/vQCYy
<NixOS_GitHub> nixpkgs/release-17.03 a2c7482 Eelco Dolstra: systemd: Apply fix for CVE-2017-9445
NixOS_GitHub has left #nixos []
<tilpner> And tx0.co/cpoN/nix is the used dotfiles-activation.nix
<tilpner> Note that this is quite dangerous to do. If you screw up, you can't activate system generations. I'm not entirely happy with this approach, but it works quite well
<raunov> hum
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vQCYj
<NixOS_GitHub> nixpkgs/master 32e4922 Eelco Dolstra: systemd: Apply fix for CVE-2017-9445
NixOS_GitHub has left #nixos []
<raunov> quite scary indeed
<tilpner> All other solutions require you to call a generated script, which is easily done with a shell alias
<tilpner> But that adds more components to the system, and that's why I use this approach on my server, to keep it as simple as possible
<raunov> basically i could symlink it from store also ?
<raunov> or that's also forbidden
<tilpner> It won't blow up unless you touch dotfiles-activation, which has worked fine for some months here
<tilpner> Yes, you can import to the store, then symlink from there, or you can symlink from a path outside the store
<tilpner> And the example also shows how to use pkgs.writeText to a custom place
<raunov> okay, i'd try first that approach
<raunov> but any idea why the regular writeText fails for permissions ?
* raunov copied error above
<tilpner> Sorry, no idea just from that error line. Maybe with a little bit more context
mudri has quit [(Ping timeout: 260 seconds)]
<goibhniu> BTW raunov, you can symlink to a path in /var/run/current-system/sw/ or ~/.nix-profile/ instead of symlinking directly to a path in the store (which would be garbage collected)
arianvp2 has quit [(Quit: arianvp2)]
<tilpner> postInstall is usally inline text, not a file. That doesn't explain your error message, but might indicate that you're using it oddly/wrong
hiberno has quit [(Quit: WeeChat 1.6)]
<hyper_ch> I'll have to have a closer look at this: https://gist.github.com/techhazard/c763e168a62a0ef559a1fb9473261459
ThatDocsLady is now known as ThatDocsLady_mtg
hiberno has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #26018: nodePackages.bootlint: init, regenerate nodePackages (master...feature/node-bootlint) https://git.io/vHLjW
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
mudri has joined #nixos
erictapen has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jfrankenau opened pull request #26929: mergerfs: 2.16.1 -> 2.22.1 (master...mergerfs-2.22.1) https://git.io/vQCGp
NixOS_GitHub has left #nixos []
riclima has quit [(Quit: Textual IRC Client: www.textualapp.com)]
lambdael has joined #nixos
peacememories has joined #nixos
JagaJaga has joined #nixos
orivej has quit [(Read error: Connection reset by peer)]
orivej has joined #nixos
simukis has quit [(Read error: Connection reset by peer)]
aminechikhaoui has joined #nixos
<magnetophon1> I'm sure this is a FAQ, but idk how to google it: where do I find the status of the unstable channel updates? As in what is holding back https://nixos.org/channels/nixos-unstable from being updated?
simukis has joined #nixos
<gchristensen> magnetophon1: https://hydra.nixos.org/dashboard/graham@grahamc.com and click the `tested` bit of `nixos:trunk-combined:tested` then click Constituents
avn has quit [(Read error: Connection reset by peer)]
orivej has quit [(Ping timeout: 276 seconds)]
avn has joined #nixos
Fare has joined #nixos
cpennington has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] pSub pushed 2 new commits to master: https://git.io/vQCcp
<NixOS_GitHub> nixpkgs/master 69aa5f5 gnidorah: nas: init at 1.9.4
<NixOS_GitHub> nixpkgs/master 3dea294 Pascal Wittmann: Merge pull request #26712 from gnidorah/master2...
NixOS_GitHub has left #nixos []
nckx has quit [(Quit: restarting my GuixSD server)]
nckx has joined #nixos
<domenkozar> magnetophon1: howoldis.herokuapp.com
eacameron has joined #nixos
<domenkozar> peti: could I ask you for another haskell update on master? :)
<domenkozar> I can also do it my self if there are instructions for the process
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a2c7482319 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
arianvp2 has joined #nixos
snikkers has quit [(Remote host closed the connection)]
mudri has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
<peti> domenkozar: What would you like to have updated?
<peti> domenkozar: hackage-packages.nix?
<magnetophon1> gchristensen, domenkozar: thanks!
<domenkozar> peti: yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vQC8e
<NixOS_GitHub> nixpkgs/master b5729a2 Peter Simons: LTS Haskell 8.20
<NixOS_GitHub> nixpkgs/master 668c2c3 Peter Simons: hackage2nix: disable broken hydra builds
<NixOS_GitHub> nixpkgs/master 298c3bd Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
<peti> domenkozar: done :-)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ttuegel pushed 2 new commits to master: https://git.io/vQC8v
<NixOS_GitHub> nixpkgs/master 2ed4b6f Thomas Tuegel: qt59: fix qtCompatVersion...
<NixOS_GitHub> nixpkgs/master 59f94b1 Thomas Tuegel: dropbox: 28.4.14 -> 29.4.20
NixOS_GitHub has left #nixos []
<domenkozar> too easy
<domenkozar> :D
<domenkozar> thanks peti
<Fare> hi. I'm looking for advice packaging gambit
<Fare> when building a non-release one, that itself requires a release one for bootstrap
<Fare> so I need a gambit-release-source target that just repackages the source, then copy the source for bootstrap
<Fare> actually, I could use a gambit-bootstrap target that also precompiles said source
Rajsun has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQC86
<NixOS_GitHub> nixpkgs/master cc63c5d Jörg Thalheim: bench: add static executable from haskellPackages
NixOS_GitHub has left #nixos []
earldouglas has joined #nixos
<Fare> can I copy things to $out during the build phase? I'd like to copy all the sources plus a few output files, but if I copy in the installPhase, I need to manually filter out a lot of intermediate files
<ixxie> Fare: maybe a preInstallPhase is the solution? https://nixos.org/nixpkgs/manual/#sec-stdenv-phases
reinzelmann has quit [(Quit: Leaving)]
roberth has left #nixos []
Fare has quit [(Ping timeout: 276 seconds)]
JagaJaga has quit [(Ping timeout: 276 seconds)]
ThatDocsLady_mtg is now known as ThatDocsLady
jabranham has joined #nixos
markus1199 has joined #nixos
hamishmack has joined #nixos
zraexy has joined #nixos
magnetophon1 has quit [(Ping timeout: 260 seconds)]
Rotaerk has quit [(Quit: Leaving)]
sary has quit [(Remote host closed the connection)]
snikkers has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ikervagyok opened pull request #26930: gnome-control-center: fix build (master...gnome) https://git.io/vQCu9
NixOS_GitHub has left #nixos []
sary has joined #nixos
ebzzry has joined #nixos
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vQCzw
<NixOS_GitHub> nixpkgs/master 8de4530 Domen Kožar: Add static binary for stack2nix
NixOS_GitHub has left #nixos []
<jabranham> So I'm looking at using NixOS as my primary OS for a while but have a few questions that I couldn't find an answer for: I like Arch's rolling model. Is the unstable channel similar to this? And can I search this somewhere? And how unstable is it, exactly? Should I expect major breakage or just minor stuff?
tv has quit [(Quit: WeeChat 1.8)]
FRidh has quit [(Quit: Konversation terminated!)]
<goibhniu> hi jabranham, the unstable channel is fine to use day-to-day (I've been using it many years), if something breaks you can always roll back to an earlier generation anyway
<goibhniu> however, you don't get security updates as soon as you do with a release channel
ThatDocsLady is now known as ThatDocsLady_afk
<goibhniu> it's not as fresh as arch, because a new channel isn't created until a range of tests pass ... sometimes this can take quite a while
magnetophon1 has joined #nixos
<jabranham> So the security updates are also delayed until those tests pass?
<goibhniu> you can also mix channels i.e. use a stable channel for most of your system, but unstable for particular things you care about
<goibhniu> yep
ebzzry has quit [(Ping timeout: 260 seconds)]
marsel has quit [(Ping timeout: 240 seconds)]
arianvp2 has quit [(Quit: arianvp2)]
<jabranham> Oh, that's cool. I didn't know that. Is there somewhere I can browse what packages are available on unstable?
<goibhniu> I don't think so, other than searching the repo
<goibhniu> you can search the build farm too
aminechikhaoui has quit [(Ping timeout: 260 seconds)]
<Mic92> jabranham: a while means 1-2 days
<Mic92> archlinux has also a staging, which would be similar
<goibhniu> well, nixos-unstable hasn't updated in 10 days
<Mic92> oh, ok. I use this method: http://anderspapitto.com/posts/2015-11-01-nixos-with-local-nixpkgs-checkout.html, so I do not notice this
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vQCae
<NixOS_GitHub> nixpkgs/master 5015dea Domen Kožar: stack2nix: depend on stack binary as well
NixOS_GitHub has left #nixos []
<jabranham> OK, so I found the commit that upgraded Emacs from 25.1 to 25.2. It happened on April 22nd. So I can then infer that 1) NixOS 17.03 still has 25.1 (since April is after March) and 2) 25.2 is available on unstable since the latest unstable build is later than April. Is that right?
<goibhniu> https://channels.nix.gsc.io/graph.html gives a nice overview or how often the channels update
<goibhniu> ^or^of
<Mic92> jabranham: https://search.nix.gsc.io/
<domenkozar> strange
<bennofs> domenkozar: that sounds like someone manually kill -9'ed it :p
<domenkozar> FYI: we released stack2nix, comments welcome! https://mailman.science.uu.nl/pipermail/nix-dev/2017-June/024011.html
<bennofs> jabranham: sometimes updates are also merged bad to stable, so NixOS 17.03 may have 25.2 as well
Mercuria1Alchemi has quit [(Remote host closed the connection)]
Magnap has left #nixos ["User left"]
<hodapp> Is anyone else able to get chromium to work with "enablePepperFlash = true"?
logzet has quit [(Remote host closed the connection)]
<hodapp> neither of my nixos-16.09 systems are able to work with that; getting a 404 not found from Adobe's site
wrl___ is now known as wrl_
tv has joined #nixos
tv has quit [(Changing host)]
tv has joined #nixos
wrl_ is now known as wrl__
<Mic92> hodapp: works on unstable and most likely on 17.03. I assume adobe is deleting old releases and nobody backported flash to 16.09
wak-work has quit [(Ping timeout: 246 seconds)]
ThatDocsLady_afk is now known as ThatDocsLady
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Sonarpulse has joined #nixos
<hodapp> hmm. I should probably upgrade to 17.03 at some point here...
<disasm> hodapp: I'd recommend it
arianvp2 has joined #nixos
<gchristensen> so I think I have some fixes that make it easier to hack on the docss
<tilpner> Don't upgrade if you have an Optimus laptop!
<hodapp> luckily, I do not
<hodapp> though I may have to be careful when upgrading my server, since it has rather limited disk space
<gchristensen> big question is, will edolstra gawk at using a bigish java program in the manual generator
<Sonarpulse> I've learned to love a the docbook
<Sonarpulse> tag for everything!
wak-work has joined #nixos
<goibhniu> tilpner: oh, is optimus support broken?
DrWaste has quit [(Quit: Run away!)]
arianvp2 has quit [(Client Quit)]
<gchristensen> Sonarpulse: I mean there are real problems
<gchristensen> manual.xml:400 has an error ... manual.xml is only 10 lines long and validates! actual error is hidden elsewhere
<Sonarpulse> yes that is bad
<goibhniu> thanks tilpner!
<Sonarpulse> docbook just appeases whatever OCD I have
mudri has quit [(Ping timeout: 258 seconds)]
<gchristensen> Sonarpulse: I've split up the xinclude and the validation in to two phases, so you can keep the xincluded version and see the validation errors
<Sonarpulse> oh, nice!
<gchristensen> outputs "big.xml:116:60: error: element "chapter" not allowed here; expected the element end-tag, text or element "abbrev", "accel", "acronym", "address", "alt", "anchor",..."
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vQCoW
<NixOS_GitHub> nixpkgs/master 855c1bd Jörg Thalheim: suid-chroot: do not set suid bit during install...
NixOS_GitHub has left #nixos []
<Sonarpulse> I had to do a --keep-failed and fish it out
<Sonarpulse> that's much better
<gchristensen> I'll clean up my changes and PR them separately from my bigger chang
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vQCoE
<NixOS_GitHub> nixpkgs/release-17.03 a10cbbd Jörg Thalheim: suid-chroot: do not set suid bit during install...
NixOS_GitHub has left #nixos []
<gchristensen> which is I've made automatic how-to-install docs based on the installer tests
<Sonarpulse> looking forward to it!
<Sonarpulse> and wow! that's really neat
<gchristensen> :) I've got a bit more work to make those good, but yeah, I think it'll be cool
wak-work has quit [(Read error: Connection reset by peer)]
wak-work has joined #nixos
arianvp2 has joined #nixos
orivej has joined #nixos
<Mic92> gchristensen: nixpkgs/doc already uses a java based application
jabranham has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
Neo-- has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
<gchristensen> Mic92: which one?
<Mic92> gchristensen: jing
<Mic92> this docbook/xslt stuff feels weired.
<gchristensen> jing is exactly what I want to use, xmllint emits really bad error info
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
arianvp2 has quit [(Quit: arianvp2)]
roconnor has joined #nixos
cpennington has quit [(Read error: Connection reset by peer)]
ryanartecona has joined #nixos
cpennington has joined #nixos
iyzsong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
Ralith_ has quit [(Ping timeout: 240 seconds)]
<tilpner> How would I import every Nix expression in a directory into an array/a list?
Ralith_ has joined #nixos
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
hotfuzz has joined #nixos
<Mic92> tilpner: take a look at lib/sources.nix
hotfuzz has quit [(Client Quit)]
arianvp2 has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
<Mic92> basically readdir
<Mic92> builtins.readDir
<tilpner> Are all builtins implemented in C++/Perl?
<clever> c++
<tilpner> Thanks, readdir looks good, filterSource will be useful too
snikkers has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
hotfuzz has joined #nixos
hotfuzz has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vQCM5
<NixOS_GitHub> nixpkgs/master b90bab7 Martin Wohlert: libopus: 1.2 -> 1.2.1...
<NixOS_GitHub> nixpkgs/master 46a4462 Vladimír Čunát: Merge #26927: libopus: bugfix 1.2 -> 1.2.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #26927: libopus: 1.2 -> 1.2.1 (master...libopus-1.2.1) https://git.io/vQchV
NixOS_GitHub has left #nixos []
Itkovian has quit [(Read error: Connection reset by peer)]
endformationage has joined #nixos
goibhniu1 has joined #nixos
ambro718 has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
goibhniu1 is now known as goibhniu
acarrico has quit [(Ping timeout: 240 seconds)]
aneeshusa has joined #nixos
zeus_ has joined #nixos
[0x4A6F] has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vQCyu
<NixOS_GitHub> nixpkgs/master 24c59a4 Shea Levy: neuron: enable GUI
NixOS_GitHub has left #nixos []
Ralith_ has quit [(Read error: Connection reset by peer)]
Ralith_ has joined #nixos
roconnor has quit [(Ping timeout: 260 seconds)]
marsel has joined #nixos
Ralith_ has quit [(Read error: Connection reset by peer)]
Ralith_ has joined #nixos
Ralith_ has quit [(Read error: Connection reset by peer)]
jonte has joined #nixos
detran has quit [(Read error: Connection reset by peer)]
Ralith_ has joined #nixos
Ralith_ has quit [(Read error: Connection reset by peer)]
Ralith_ has joined #nixos
roconnor has joined #nixos
acarrico has joined #nixos
peacememories has joined #nixos
erasmas has quit [(Remote host closed the connection)]
hapticFeels has joined #nixos
Ralith_ has quit [(Read error: Connection reset by peer)]
aneeshusa has quit [(Ping timeout: 240 seconds)]
Ralith_ has joined #nixos
freusque has quit [(Quit: WeeChat 1.7.1)]
k0001 has quit [(Ping timeout: 240 seconds)]
aneeshusa has joined #nixos
Ralith_ has quit [(Read error: Connection reset by peer)]
Ralith_ has joined #nixos
aneeshusa has quit [(Client Quit)]
aneeshusa has joined #nixos
Ralith_ has quit [(Read error: Connection reset by peer)]
digitus has joined #nixos
proteusguy has joined #nixos
Fare has joined #nixos
erasmas has joined #nixos
mkoenig has joined #nixos
Thra11 has joined #nixos
hapticFeels has quit [(Ping timeout: 276 seconds)]
armin has joined #nixos
erasmas has quit [(Remote host closed the connection)]
erasmas has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a10cbbd591 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/de21c43257 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
freezeboy has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bd63daae03 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
erasmas has quit [(Ping timeout: 276 seconds)]
<ixxie> has anybody ever used mesos with disnix? does it even make any sense
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] calbrecht opened pull request #26935: skopeo: 0.1.18 -> 0.1.22 (master...upstream-skopeo) https://git.io/vQCdg
NixOS_GitHub has left #nixos []
<simpson> ixxie: It makes sense to want to use nixops/disnix to deploy a mesos/openstack/k8s platform base, sure. I don't know if there's anything like that, though.
mudri has joined #nixos
zeus_ has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus opened pull request #26936: docker: 17.03.1-ce -> 17.03.2-ce (master...docker_17_03_2) https://git.io/vQCFZ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus closed pull request #26936: docker: 17.03.1-ce -> 17.03.2-ce (master...docker_17_03_2) https://git.io/vQCFZ
NixOS_GitHub has left #nixos []
zeus_ has joined #nixos
goibhniu has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.03: https://git.io/vQCFu
<NixOS_GitHub> nixpkgs/release-17.03 3a76840 Tim Steinbach: docker: 17.03.1-ce -> 17.03.2-ce...
NixOS_GitHub has left #nixos []
<disasm> ixxie: I did it with nixops to spin up the hosts for k8s. https://github.com/disassembler/devops-kubernetes/blob/master/devops-kubernetes.nix
erasmas has joined #nixos
simukis has quit [(Quit: simukis)]
<ixxie> cool
<ixxie> but in a way it seems disnix and mesos both serve a similar function
<sphalerite> qknight: Again, I disagree re submitting patches to the mailing list making more work. The material work in reviewing a PR is the actual review — whether you're typing some text on github or typing some text in your mail client doesn't really make much of a difference… As for actually merging them, some people don't seem to have a problem with running git am <file> rather than clicking a button on gi
<sphalerite> thub ¯\_(ツ)_/¯
erasmas has quit [(Remote host closed the connection)]
erasmas has joined #nixos
erictapen has joined #nixos
jgertm has joined #nixos
pietranera has quit [(Quit: Leaving.)]
<erictapen> Hello everyone, I'm set up a nixos user service and then changed and updated it via nixos-rebuild. How do I reload the service without rebooting? When I run systemctl --user status myservice.service, I get the old one.
<erictapen> this is probably more of a systemd issue than a nixos one
<sphalerite> erictapen: did you use nixos-rebuild switch?
phinxy has joined #nixos
<erictapen> sphalerite: yes, I used the short form but I meant nr switch
<sphalerite> modified services should get restarted by the configuration switch unless they have a specific flag that stops that from happening
<bennofs> sphalerite: the thing that becomes hard on a ML imo is revision management. someone recently posted 4 patches to systemd-dev (like Patch V1 patch v2 patch v3 and patch v4) and I found it really hard to follow which is the current versions etc
<erictapen> sphalerite: I think the special thing is, that these are user services
<erictapen> from nixos-rebuild switch output I can see, that the service files get rebuild. But the services are not restarted
<Thra11> Hello, I'm looking to install NixOS on an Odroid XU4. I have found this guide from feb 2016: https://lastlog.de/blog/posts/odroid_xu4_with_nixos.html Have there been any significant changes since then or should I just follow the instructions as they are?
<sphalerite> erictapen: oh right, I missed that. I didn't even know those can be specified in the system config. My guess is that you would need to restart your session, but maybe just doing systemctl --user --daemon-reload would do the trick
<pbogdan> erictapen: iirc for user services systemd needs to be reloaded to pick up any changes
<sphalerite> Otherwise maybe you can restart systemd without ending your session
<bennofs> systemctl --user daemon-reload reloads the daemon
<erictapen> systemctl --user daemon-reload did the trick. Thanks alot!
erasmas has quit [(Remote host closed the connection)]
<sphalerite> Great, good to know for my own purposes as well :)
mudri has quit [(Ping timeout: 240 seconds)]
<erictapen> I have no clue of systemd, but would'nt systemctl --user daemon-reload be a nice part of nixos-rebuild switch? At the moment I had a short moment of confusion, because neither the old service was restarted nor it was updated at all. Took me while to notice, that my small change did'nt got into the service.
<sphalerite> erictapen: potentially, but I imagine there are some caveats related to how it needs to run as the users in question
ris has quit [(Ping timeout: 240 seconds)]
erictapen2 has joined #nixos
<erictapen2> sphalerite: Do you mean, that nixos-rebuild does'nt know anything about current sessions?
<sphalerite> Well the switch-to-configuration script runs outside the context of nix. It doesn't know about current sessions in its current form afaik, but there's nothing preventing it from doing so, I think
erictapen has quit [(Read error: Connection reset by peer)]
mudri has joined #nixos
erictapen2 has quit [(Remote host closed the connection)]
taktoa has joined #nixos
erictapen2 has joined #nixos
ambro718 has quit [(Ping timeout: 246 seconds)]
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
Thra11 has quit [(Remote host closed the connection)]
Thra11 has joined #nixos
erictapentest has joined #nixos
bugworm has joined #nixos
simukis has joined #nixos
<erictapen2> spalerite: okay that sounds like it's not easy to implement.
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
orivej has quit [(Ping timeout: 260 seconds)]
Thra11 has quit [(Read error: Connection reset by peer)]
bennofs has quit [(Quit: WeeChat 1.8)]
Thra11 has joined #nixos
jonte has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vQWef
<NixOS_GitHub> nixpkgs/master 64ff2e2 Vincent Laporte: ocamlPackages.mtime: 0.8.3 -> 0.8.4, 1.1.0
<NixOS_GitHub> nixpkgs/master 607650a Vincent Laporte: ocamlPackages.ptime: 0.8.2 -> 0.8.3
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
bugworm has quit [(Quit: Konversation terminated!)]
mudri has quit [(Ping timeout: 240 seconds)]
Guest4168 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vQWvq
<NixOS_GitHub> nixpkgs/master 2014db3 Vladimír Čunát: nixos xkb-layouts-exist: try to debug on Hydra...
NixOS_GitHub has left #nixos []
<Mic92> Thra11: better to ask qknight itself
<Mic92> he is in the channel
erictapen2 has quit [(Quit: Leaving)]
erictapentest has quit [(Remote host closed the connection)]
<Mic92> Thra11: but I think the standard image should also work now: https://github.com/NixOS/nixpkgs/pull/24112
ndrei has quit [(Ping timeout: 240 seconds)]
erictapentest has joined #nixos
erasmas has joined #nixos
Infinisil has joined #nixos
<nixos-users-wiki> "Configs" edited by matthewbauer https://git.io/vQWJJ
<Thra11> Mic92: Ok, thanks! Will see if qknight has anything to add.
erasmas has quit [(Remote host closed the connection)]
erasmas has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26887: Thunderbird bin 52.2.1 (master...thunderbird-bin-52.2.1) https://git.io/vQG5h
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #26885: thunderbird-bin: 52.2.0 -> 52.2.1 (master...thunderbird-bin-52.2.1) https://git.io/vQG5n
NixOS_GitHub has left #nixos []
roconnor_ has joined #nixos
<roconnor_> fpletz[m]: Has firmware-linux-nonfree been upgraded to fix: https://lists.debian.org/debian-devel/2017/06/msg00308.html [WARNING] Intel Skylake/Kaby Lake processors: broken hyper-threading
<roconnor_> ah found it in security-updates! Thanks.
erictapentest has quit [(Ping timeout: 276 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm opened pull request #26937: lkl: 2017-03-24 -> 2017-06-27 (master...lkl-4_11) https://git.io/vQWTc
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ris has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3a76840b2d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
<Infinisil> cache.nixos.org is super slow for me right now
nix-gsc-io`bot has quit [(Client Quit)]
<Infinisil> Only me?
<ixxie> seems to be down
<Infinisil> Ahh
<Infinisil> I'm always not sure if it's only me or not since my internet is pretty bad sometimes
<ixxie> correction
<ixxie> I was checking the browser what that address has no html xD
<ixxie> pinging it works it seems
erasmas has quit [(Ping timeout: 240 seconds)]
aneeshusa has quit [(Ping timeout: 255 seconds)]
<Infinisil> Well I don't think it's down, but just reeaaaalllly slow
erasmas has joined #nixos
<Infinisil> I just discovered `mtr` a few days ago, it's a combination of ping + traceroute + nice visualization
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin closed pull request #26937: lkl: 2017-03-24 -> 2017-06-27 (master...lkl-4_11) https://git.io/vQWTc
NixOS_GitHub has left #nixos []
<Infinisil> Well, what can one do when the cache is down? I would totally build all the stuff myself from the local nixpkgs, but I don't know how one can do that
<joachifm> Infinisil: how do you mean?
<Infinisil> Well the cache is just a cache, it's supposed to be there so you don't have to build everything yourself. But you should be able to turn that off, so it actually build everything locally
<Infinisil> s/build/builds
<joachifm> Infinisil: you can do that, but why?
<Infinisil> joachifm: Because it's super slow for me for some reason
<joachifm> Infinisil: oh, now I get what you mean
<Infinisil> joachifm: Does it work for you?
<roconnor_> Infinisil: nixos or nix?
<Infinisil> cache.nixos.org
<roconnor_> I mean are you doing a nixos-rebuild or nix-env or nix-build?
<joachifm> Infinisil: cache is plenty fast on my end. perhaps amazon is slow closer to you
<Infinisil> I'm doing a nix-shell
<Infinisil> Takes forever to download bootstrap tools
jbgi has joined #nixos
<joachifm> Infinisil: have you tried build-use-substitutes or use-binary-caches
<joachifm> Infinisil: nix.conf optins
<joachifm> *options
<Infinisil> joachifm: I'll have a look at that
<ixxie> neat Infinisil, ill check it out
<joachifm> Infinisil: what is your general geographical area?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vQWmQ
<NixOS_GitHub> nixpkgs/master 582c3ed Vincent Laporte: ocamlPackages.bap: mark as broken on OCaml ≥ 4.03
<NixOS_GitHub> nixpkgs/master c8c6735 Vincent Laporte: ocamlPackages.stringext: 1.4.0 -> 1.4.3...
NixOS_GitHub has left #nixos []
<roconnor_> set use-binary-caches to false in ~/.nixpkgs/config.nix should work
<joachifm> Infinisil: I believe the cache is backed by s3, so I'm guessing performance may differ depending on where you are
<roconnor_> I think there is some env variable you can set.
<Infinisil> joachifm: I see
<Infinisil> I used --option build-use-substitutes false, which works
<roconnor_> ah, very good
<LnL> caching problems is usually something with ipv6
<Infinisil> Well.. I get a hash mismatch... on the build of bash..
_ris has joined #nixos
<LnL> or an issue with the cloudfront service near you
<LnL> gchristensen has some sort of command you can use to check the connection
MP2E has joined #nixos
erasmas has quit [(Remote host closed the connection)]
erasmas has joined #nixos
reinzelmann has joined #nixos
ris has quit [(Ping timeout: 268 seconds)]
<Infinisil> gchristensen: Thanks I'll check that
<gchristensen> you're welcome
<roconnor_> downloading ‘http://gnu.mirror.globo.tech/bison/bison-3.0.4.tar.gz’... [2688/3276 KiB, 894.7 KiB/s]
<roconnor_> path is ‘/nix/store/qqcr2r67cl60ndynz0d86g48ck8xx8sr-bison-3.0.4.tar.gz’
<roconnor_> 0blmf8hqmz9c754j0pswn2qydffx39yc0richsxbar3smvdd4zxn
<roconnor_> Infinisil: Your connection is being MITM'd.
<Infinisil> roconnor_: Weeeird
<roconnor_> or the gnu mirror you are using is corrupted.
<Infinisil> Well I'm glad I'm running nixos then
<roconnor_> or something else.
<Infinisil> Somethings not right
<Infinisil> Oh I could try the nix-shell from my DO machine
<Infinisil> Here is the paste from gchristensen 's output: http://ix.io/y5e
<gchristensen> "time_total: 1.218179" that is pretty good...
Neo-- has quit [(Ping timeout: 260 seconds)]
alx741 has joined #nixos
<Infinisil> In seconds?
<gchristensen> yeah
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 3 new commits to master: https://git.io/vQW3e
<NixOS_GitHub> nixpkgs/master 0a52cc1 Robert Helgesson: eclipse-platform: 4.6.2 -> 4.7
<NixOS_GitHub> nixpkgs/master 556a867 Robert Helgesson: eclipse-sdk: 4.6.2 -> 4.7
<NixOS_GitHub> nixpkgs/master fa6e946 Robert Helgesson: eclipse-plugin-jdt: 4.6.2 -> 4.7
NixOS_GitHub has left #nixos []
<Infinisil> (It's totally working from my DO machine..)
<Infinisil> Which is in germany
Filystyn has quit [(Quit: Konversation terminated!)]
<LnL> omg..., no wonder my systemd path override wasn't working
erasmas has quit [(Ping timeout: 255 seconds)]
* LnL needs to sleep more
<Infinisil> LnL: What was the reason?
<LnL> I put it in packageOverrides instead of toplevel
<Infinisil> Running nix-shell now works btw, I don't know why
ryanartecona has quit [(Quit: ryanartecona)]
mounty has joined #nixos
* Infinisil doesn't get why packageOverrides wouldn't work
<LnL> I was doing systemd.services.foo.path = [ pkgs.bar ];
<LnL> because I need an extra package available to the service
magnetophon1 has quit [(Ping timeout: 260 seconds)]
<LnL> packageOverrides = pkgs: { systemd.services.foo.path ... }; doesn't make any sense
marsel has quit [(Ping timeout: 276 seconds)]
c74d has quit [(Ping timeout: 260 seconds)]
<ixxie> hmmm
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vQWs2
<NixOS_GitHub> nixpkgs/master ad82538 Tomas Hlavaty: ccl: create ccl symlink...
NixOS_GitHub has left #nixos []
<ixxie> fetchgit returns a derivation
<ixxie> if the repo it fetches contains some nix files, how do I import them into my systemPackages?
c74d has joined #nixos
erasmas has joined #nixos
<LnL> but replace <nixpkgs-unstable> with your drv
zeus_ has quit [(Read error: Connection reset by peer)]
zeus_ has joined #nixos
erasmas has quit [(Client Quit)]
<Infinisil> LnL: Ohhhhhhh, I thought it wasn't possible because import requires the thing at build time, does builtins.fetchTarball run before everything else so the downloaded expression can be properly imported?
hotfuzz has joined #nixos
<Infinisil> I recently wanted that, but couldn't figure out how to do it and ended up concluding it's impossible. I even used this trick in my configuration.nix but didn't think of it
<LnL> yes, import will cause it to get evaluated so it will create the paths first
<sphalerite> it's possible, just discouraged because it results in evaluation getting blocked by builds
<sphalerite> A big no-no in nixpkgs, but for your own stuff it may well make sense
<LnL> we just don't allow this in nixpkgs
<LnL> since it could cause the expressions to change without any changes in the repo
<Infinisil> Yeah makes sense
katyucha has joined #nixos
<Infinisil> I'm a bit confused regarding nativeBuildInputs/buildInputs/propagatedBuildInputs and propagatedNativeBuildInputs
mkoenig_ has joined #nixos
<dash> Infinisil: propagated inputs are added as inputs to whatever depends on it
<Infinisil> Why is buildInputs for *runtime* stuff?
<LnL> python packages are a good example
reinzelmann has quit [(Quit: Leaving)]
<Infinisil> Oh okay, the propagated- part I understand
<LnL> nix will do this automatically for you if it notices that your output references a package
<Infinisil> It's more about the native- part
mkoenig has quit [(Ping timeout: 276 seconds)]
<LnL> but in some cases you need to specify it explicitly
<Infinisil> shouldn't nativeBuildInputs be called buildInputs and buildInputs be called runtimeInputs or somethnig?
<dash> Infinisil: no
<LnL> for native cmake and pkgconfig are good examples
<dash> Infinisil: 'native' means they're built ont he native host when cross compiling
<Infinisil> LnL: I'll check it out
<LnL> you need those to compile but it doesn't matter what architecture those are
Coyin has joined #nixos
<LnL> while actual dependencies need to be for the target platform
* ixxie is super confused
<Infinisil> LnL: Ohh, so when a derivation has some buildInputs, it can't cross compile on a different arch?
roconnor_ has quit [(Quit: Konversation terminated!)]
<Infinisil> LnL: Well some buildInput which isn't the same on the native host
<LnL> say I want to compile from x86 to arm, I can use a x86 cmake but not an x86 glibc
<LnL> that way you don't have to cross compile cmake
<Infinisil> LnL: Okay so I can still compile it from x86 to arm, but I need to download a arm glibc?
<LnL> yes because your target binary will need it
<Infinisil> Oh I get it now
hotfuzz has quit [(Quit: WeeChat 1.7.1)]
<Infinisil> ixxie: Are you still confused?
<LnL> assuming it uses libc ofcorse :)
<ixxie> very much
acarrico has quit [(Ping timeout: 276 seconds)]
<ixxie> I tried LnL's trick but I still get errors about coersion of function to string
hotfuzz has joined #nixos
<Infinisil> ixxie: Can you gist it?
roconnor_ has joined #nixos
oida_ has joined #nixos
<roconnor_> fpletz[m]: oops, I misread the dates. It looks like the firmware issue is not updated.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vQWcn
<NixOS_GitHub> nixpkgs/master 704e04b Michael Fellinger: dockerTools.buildImage: configurable timestamp...
<NixOS_GitHub> nixpkgs/master 54419f3 Michael Fellinger: using inherited instead
<NixOS_GitHub> nixpkgs/master 35b974a Daiderd Jordan: Merge pull request #26911 from manveru/patch-2...
NixOS_GitHub has left #nixos []
<Coyin> hey everyone ,i've got a problem ,
<Coyin> when i try to install nixos with following manual, this problem is rising :
<Coyin> GPT partition label contains no BIOS boot partition; embedding won't be possible
<Coyin> And after that :
<Coyin> Grub can only be installed in this setup by using blockslists. However, blocklists are UNRELIABLE and their use is discourages
<Coyin> Finaly : GRUB FAILED
<Coyin> thanks by advance
<LnL> you need to create a boot partition for grub
<ixxie> Infinisil: https://gist.github.com/ixxie/ebd63959f2e9e6bad67ff7a3f2d4cf3d - its a bit unorthodox, but the idea is to automatically update packages as they update by using webhooks and update jsons with nix-prefetch-git
<LnL> the install section glances over that part pretty quickly
oida has quit [(Ping timeout: 260 seconds)]
<ixxie> Infinisil: assumed is that the git repo and its nix files would follow a predefined structure
<LnL> Coyin: there's probably a nicer way but I usually do this: sgdisk -a1 -n2:34:2047 -t2:EF02 /dev/foo
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #26938: coreutils: skip tests that fail due to setgid usage (master...fix/perms-fallout-coreutils) https://git.io/vQWCG
NixOS_GitHub has left #nixos []
<Coyin> LnL even if i create one partion ext4 mounted on /boot and another one for root ?
<LnL> are you using legacy or efi?
snikkers has joined #nixos
<Infinisil> ixxie: Where was `stream` defined? I don't see it in your nix file
<Infinisil> Oh never mind
<roconnor_> fpletz[m]: also I'm looking at the wrong package. I should be looking at https://github.com/NixOS/nixpkgs/blob/staging/pkgs/os-specific/linux/microcode/intel.nix which has been updated.
<roconnor_> fpletz[m]: sorry for the noise.
<Coyin> LnL llegacy because i just test nixos undervirtualbox
* dtzWill makes another pass at fixing up permissions
<clever> Coyin: GPT or MBR partition tables?
<Coyin> Clever GPT
<clever> Coyin: you must create a bios boot partition, 1mb, no filesystem, never mounted, for gpt to boot with legacy
GetalMear has joined #nixos
<clever> Coyin: i think the command LnL gave with EF02 does part of that
<LnL> clever: is there a nicer way to it, that I can actually remember? :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aszlig pushed 1 new commit to master: https://git.io/vQWWn
<NixOS_GitHub> nixpkgs/master e82d126 aszlig: nixos/xserver: Don't use exec in xkb-layouts-exist...
NixOS_GitHub has left #nixos []
<clever> LnL: i usualy do it with fdisk, let me see what that uses
<Coyin> Ok clever and LnL , this site tell me exact sama thing so it's true : https://www.bluishcoder.co.nz/2014/05/14/installing-nixos-with-encrypted-root-on-thinkpad-w540.html
<Infinisil> ixxie: You can't import a string, it needs to be a path
<clever> Coyin: that is the first bullet point under "partition the disk" when it says the type must be ef02
<Infinisil> ixxie: And because it needs to be a path you need to use builtins.fetchurl/fetchTarball if you want to something from outside
pie_ has quit [(Remote host closed the connection)]
pie__ has joined #nixos
<GetalMear> Hello. I have one of those "nix-shell + Python" questions. I use `nix-shell -p` with a number of python27Packages and `--run` a shell script that, in turn, calls `python` from whatever the ${PATH} is at that moment, which then fails with an ImportError. Is it possible to make python-called-from-a-shell-script-run-from-nix-shell behave like python-run-from-nix-shell? Or should it work and I'm doing it wrong?
<Infinisil> ixxie: And because fetchurl/tarball takes a path as well, you can't use a string, aka you can't expand variables
<manveru> Infinisil: you can use toPath, no?
<sphalerite> GetalMear: use python27.withPackages to get a python that has everything on the path
<Infinisil> manveru: Oh maybe
<sphalerite> GetalMear: so nix-shell -p 'python27.withPackages (ps: with ps; [django pygame whatever])'
<Coyin> thanks for all clever , LnL
<Infinisil> manveru: Yeah that might actually work
magnetophon1 has joined #nixos
<GetalMear> sphalerite: Interesting. I'll give that a try. You learn something new every day...
<srhb> In the category of interesting things I haven't seen before: If you forget you did sudo login in an xterm to test something out and try to show a movie with vlc, you 1) get dropped to a console 2) vlc has some sort of ascii renderer running in the xterm
<Infinisil> manveru: Oh, maybe not, that function only works with absolute existing paths
<srhb> I understand how 2) works, but 1) is truly mysterious
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] aristidb pushed 1 new commit to master: https://git.io/vQWl4
<NixOS_GitHub> nixpkgs/master fe2e3ce Aristid Breitkreuz: gnome-control-center: add missing dependency on cracklib
NixOS_GitHub has left #nixos []
<sphalerite> GetalMear: especially with nix ;)
<manveru> well, yeah, nix only deals in absolute paths internally...
<Infinisil> manveru: While ixxie needs an web url
<manveru> hm
riclima has joined #nixos
<clever> srhb: #1 might be vlc trying to auto-hijack a spare tty, and chvt over to it
<srhb> clever: Huh, didn't know that was a thing. Nifty.
<manveru> typeOf https://example.com is string
<clever> srhb: i always use "sudo -i" and it doesnt break xorg when giving a root shell
<clever> srhb: running login probably messes up a lot of things
<srhb> Fun though! :-)
<srhb> (I did sudo login to check how environment.variables were affected for my user without stopping my current session)
<sphalerite> srhb: probably env -e $(which your-shell-here) -l would do the trick too
<clever> sphalerite: "sudo -i" will just run the proper shell for whatever user you point it at, no need for messy tricks
<manveru> Infinisil: pkgs.fetchurl { url = "https://example.com"; sha256 = "0000000000000000000000000000000000000000000000000000"; }
<manveru> works
<clever> srhb: this gist shows where every variable setting winds up, and how they chain together
<sphalerite> clever: will it be a login shell? And that requires sudo :p
<srhb> Thank you both, I've learned something new. :)
<Infinisil> manveru: pkgs.fetchurl is at build-time though, can't import nix expressions from there
<clever> Infinisil: import from derivation
<manveru> you can with import
<manveru> i do it all the time to import nixpkgs :)
<clever> Infinisil: import (fetchzip .... ) will load the default.nix in whatever it just unpacked
pie__ has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill closed pull request #26938: coreutils: skip tests that fail due to setgid usage (master...fix/perms-fallout-coreutils) https://git.io/vQWCG
NixOS_GitHub has left #nixos []
<clever> sphalerite: i think it makes an interactive shell, not a login shell
<ixxie> Infinisil: I see, a typing error
<ixxie> ill try and see if I can work with paths instead
mkoenig_ has quit [(Ping timeout: 240 seconds)]
<ixxie> but fetchgit returns what kind of value?
<sphalerite> clever: I think srhb might have wanted a login shell specifically. Just a guess though
<clever> ixxie: all derivations return a string pointing into the store
<Infinisil> clever manveru: But does somethnig like `map (a: import (fetchzip https://example.com/${a})) items` work?
<clever> ixxie: and import can take strings pointing to a local path
<Infinisil> clever manveru: Because that's what ixxie needs
<clever> Infinisil: i would instead do map (a: import (fetchzip "https://example.com/${a}")) items, and thats not fixed-output, so its impure
<Infinisil> clever: I don't have a way to test this, but are you sure this works? nix needs to build the whole expression before it can start the build, but it can't do that because the import requires the nix expression to be evaluated, so it's circular dependency
<clever> Infinisil: import from derivation will download those things at eval time, and then import the result
<clever> as long as the value of items doesnt depend on the result of map, its not circular
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #26939: Fixup various setuid/setgid permission problems, part 2 (master...fix/perms-fallout-misc-2) https://git.io/vQW4l
NixOS_GitHub has left #nixos []
Itkovian has joined #nixos
<ixxie> uuurg keep getting those errors about coersing function to string
<clever> ixxie: can you gist your code and the error?
<LnL> dont forget to call the imported nixpkgs with {}
simukis has quit [(Quit: simukis)]
simukis has joined #nixos
<Infinisil> What is the simplest way to evaluate a nix-expression and show the result?
<clever> ixxie: first step, try building the package with nix-build, dont put it in systemPackages yet
<clever> that makes it eval faster, and puts less clutter into the errors
<manveru> Infinisil: nix-repl?
<ixxie> LnL: if you mean something like import "$
<ixxie> LnL: if you mean something like import "${stream}/nix" {}? because I tried that
<clever> ixxie: nearly 80% of your error is because there was an invalid entry in environment.systemPackages, and only ~10 lines are actualy of use
<Infinisil> manveru: Non-interactively, I just want to pass a file and get back the result without having to use a repl
<clever> Infinisil: nix-instantiate --eval -E 'expression'
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ixxie> clever: okay, I will give that a shot
nh2 has quit [(Remote host closed the connection)]
<Infinisil> clever: Thanks
<clever> ixxie: by changing just 2 lines, i can eval that module in nix-repl: https://gist.github.com/cleverca22/b1b418059f747e67ac0a69201e9f0e88
aneeshusa has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vQWRi
<NixOS_GitHub> nixpkgs/master 338be9d Michael Raskin: Fresh SBCL is not compatible with not-fresh iolib
NixOS_GitHub has left #nixos []
<ixxie> clever: okay, I see that and can replicate it, but still have no idea how to make that module work >.<
* ixxie scratches head
<clever> ixxie: what values do you see in that environment.systemPackages list when you eval it in nix-repl?
<clever> does it give an error or a value?
roconnor has quit [(Ping timeout: 255 seconds)]
<ixxie> nix-repl> environment.systemPackages
<ixxie> [ error: getting status of ‘/nix/store/9llr9h6n86kp5zs55rphwihkjijmdgk8-flux-f2b75c2/nix/module.nix’: No such file or directory
<clever> ls /nix/store/9llr9h6n86kp5zs55rphwihkjijmdgk8-flux-f2b75c2/nix
<clever> does it have the files you are expecting it to have?
isidore has joined #nixos
<clever> ixxie: revision f2b75c2 of https://github.com/ixxie/flux lacks a nix directory
<clever> so that file wont exist
pie__ has joined #nixos
<ixxie> yeah, I forgot to update the json >.<
cpennington has quit [(Ping timeout: 260 seconds)]
<Infinisil> clever: Can you make this work? https://github.com/Infinisil/fetch/blob/master/default.nix You before said it's possible, but I don't know how
roconnor_ has quit [(Quit: Konversation terminated!)]
<Infinisil> I put three nix files at these urls with the contents { id = "1"; }, { id = "2"; }, etc
<clever> error: cannot coerce an integer to a string, at /tmp/fetch/default.nix:3:21
<clever> Infinisil: you need to pass it strings
<clever> and pkgs.fetchurl needs a set, not a string
<ixxie> clever: okay, now it shows me [ «derivation /nix/store/wwmwjxas1cyi8dssdnnla50phvsf23yz-flux-0.0.1.drv» ]
roconnor has joined #nixos
<clever> ixxie: now it should work when turned back into a nixos module and used in nixos-rebuild
<ixxie> clever: I keep getting the same error - I was supposed to again change both lines back right?
<clever> yeah
Fare has quit [(Ping timeout: 255 seconds)]
goibhniu has joined #nixos
Fare has joined #nixos
snikkers has quit [(Ping timeout: 260 seconds)]
<Infinisil> clever: Ah, nice, it works, at least in the nix-repl
<Infinisil> nix-instantiate --eval --strict default.nix gives me the error: imported archive of '/nix/store/...-1.nix' lacks a signature
cpennington has joined #nixos
<clever> Infinisil: ah yeah, i ran into that a few days ago, dont know why fetchurl is complaining like that
<ixxie> is there some trick to tracing, because --show-trace is just so confusing
<clever> Infinisil: what about fetchTarball?
<clever> ixxie: line 17 makes mention of the dbus.service file
<Infinisil> clever: Well, I could try with tarballs
<clever> ixxie: line 46 mentions the unitConfig, that eventualy lands into the service file
<Infinisil> Hold on, I'll just put some on the server
<clever> ixxie: and line 84 mentions the pkgs attribute of the system-path derivation, which is responsible for merging all of systemPackages up
<clever> ixxie: so you can safely ignore lines 1-84 in this example
<clever> ixxie: do you have another trace i can explain?
<Infinisil> clever: Nah, tarballs don't work either
<Infinisil> same error
<ixxie> clever: from this I will take home the message that its better to start at the end of the error log xD
<ixxie> but what I was really looking for is a way to trace things which emphasizes the nix expression I am working on rather than the locations of stuff it calls
<clever> nix-repl> builtins.trace "printme" "returnme"
<clever> trace: printme
<clever> "returnme"
<clever> ixxie: you can insert calls to trace anywhere in your expression, and nix will print the message out as it runs the code
<clever> and you can use string interpolation to print variables in that msg
<clever> due to lazy evaluation, you have to insert it where a value is going to be used
Neo-- has joined #nixos
<Infinisil> clever: Ohhh, you need to use sudo for some reason, both fetchurl and fetchTarball work when using sudo nix-instantiate
<clever> ah, i think i know whats wrong
<ixxie> why do I feel like I really jumped in the deep end with Nix.... I only learned R before this, and its so hard to learn
nix-gsc-io`bot has joined #nixos
<clever> the nix-instantiate is trying to directly import things into the store, without asking nix-daemon to do things
cpennington has quit [(Remote host closed the connection)]
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c7278cfc0b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> sounds like a bug in fetchurl
<Infinisil> clever: Oh that would make sense
<Infinisil> ixxie: Nice!
<ixxie> Infinisil: nice?
<Infinisil> ixxie: That you jumped deep in nix, nice to see more people using it :P
riclima has joined #nixos
<ixxie> Infinisil: I've been on NixOS for a year and I still can't seem to grasp the language
<clever> i picked it up fairly fast
<Infinisil> ixxie: The nix language? Well generally it's pretty easy I'd think
<obadz> the lang is easy but the usage patterns are many
<ixxie> well yeah, its not the syntax thats really baffling as much as what the heck is going on behind the scenes
<clever> builtins.trace can help with figuring that out
riclima has quit [(Client Quit)]
GetalMear has quit [()]
<ixxie> now I just need to learn how to use it
GetalMear has joined #nixos
<GetalMear> Question: I'm now looking at https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.md, because I seem to require a library that's not in nixpkgs (google-auth), however I don't see how I could also include more non-Python packages in shell.nix.
MP2E has quit [(Read error: Connection reset by peer)]
MP2E has joined #nixos
<GetalMear> Sorry. It's actually the third shell.nix example
<GetalMear> It may be blindingly easy (maybe just append), or I may need to use other syntax.
<ixxie> anyway, I guess I will continue this tomorrow; thanks for all the help - clever, Infinisil, LnL
<Infinisil> ixxie: See ya!
<GetalMear> In other words, do I write (pkgs.PACKAGE0 pkgs.PACKAGE1 pkgs.PACKAGE2).env or what? :)
ixxie has quit [(Quit: Lost terminal)]
<Infinisil> GetalMear: Hmm, I'll have a try on that
isidore has quit [(Quit: WeeChat 1.9)]
<Mic92> GetalMear: what is your current state?
<GetalMear> Mic92: Interesting question. I doubt you want to hear all of it.
<GetalMear> Mic92: Right now I'm trying to create a shell.nix that includes a few Python dependencies and a few non-Python dependencies. One the former, one isn't in nixpkgs.
<Mic92> GetalMear: it is a bit messy, but this example includes both python modules and non-python dependencies: https://github.com/Mic92/nixos-configuration/blob/master/environments/klee/default.nix#L16
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc opened pull request #26940: NixOS Manual: Make it easier to debug (master...nixos-manual) https://git.io/vQWa4
NixOS_GitHub has left #nixos []
<Mic92> GetalMear: you can also define new python packages on the file
<Mic92> *fly
<Sonarpulse> gchristensen: reading!
<GetalMear> Mic92: It looks like I'd just need to parenthesize "python27.withPackages [...]".
<Infinisil> GetalMear: Yeah I'd have done something similar to Mic92, another example: https://gist.github.com/4294f4cf9fac7218ba1d33700a7be8e2
<Mic92> that one might even better
<Sonarpulse> gchristensen: looks great, and well described!
<gchristensen> :d
<GetalMear> Infinisil: Does this mean that I need to construct a new derivation as soon as I have more than two expressions that I want in my nix-shell?
<GetalMear> Infinisil: Because you can just list many of them after `-p`
<Infinisil> GetalMear: the python withPackages thing also creates a new derivation already, pretty much everything in nix is a derivation
<sphalerite> Anyone know anything about laptop trackpads not working?
<Mic92> GetalMear: nix-shell will take the dependencies of a derivation
<GetalMear> Infinisil: I can't say I understand why this requires stdenv.mkDerivation and the other doesn't.
<sphalerite> I'm getting output when I touch it from od /dev/input/event6, so it's not dead or anything, but moving it doesn't do anything in X
<Infinisil> GetalMear: The python withPackages thing maybe does some things that python works nicely todegther, but you could just list all of the stuff you need: buildInputs = [ hello pythonPackages.<foo> pythonPackages.<bar> ]
simukis has quit [(Quit: simukis)]
<Infinisil> GetalMear: The python withPackages already is a derivation, but mkDerivation is needed when you need more than that
<Infinisil> Or withPackages... *.env* is a derivation to be exact
<GetalMear> Infinisil: Maybe. I was under the impression that just using python27Packages is not sufficient when you don't call python immediately, but in a shell script which then calls python. But I guess I may have misunderstood.
freezeboy has quit [(Quit: Konversation terminated!)]
<gchristensen> Sonarpulse: who shuold I CC on that ticket do you think?
<Sonarpulse> gchristensen: hmm
<Sonarpulse> not really sure
<Infinisil> GetalMear: I'm not sure, but nix-shell -p <foo> <bar> <baz> is only enough for simple stuff, a nix file is preferred for more complex stuff
<Sonarpulse> eelco?
<Sonarpulse> I can't think of anyone who really "owns" the manual
riclima has joined #nixos
<gchristensen> yeah, I feel bad for pinging eelco too much :P
<Infinisil> Anybody here planning on going to NixCon17?
<sphalerite> me!
snikkers has joined #nixos
riclima has quit [(Client Quit)]
<Infinisil> Oh and I see gchristensen is doing a speech :D
Guest53073 has quit [(Quit: Lost terminal)]
<GetalMear> Infinisil: So does this mean that .env is unnecessary?
<Infinisil> GetalMear: You may have to check the source, maybe
<gchristensen> Infinisil: :)
justelex has joined #nixos
<Infinisil> Well, a nix-shell actually only has the dependencies (aka the env.) but doesn't build the derivation itself
<Infinisil> sphalerite gchristensen: I'm thinking about going to NixCon, but I'm generally very antisocial and don't do very much except sitting at home :P
<Infinisil> So mehhh
<gchristensen> same tbh
<clever> same
<Infinisil> gchristensen: Well I guess it's kinda the same demographic, so maybe
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] volth opened pull request #26941: certstrap: init at 1.0.1 (master...certstrap-1.0.1) https://git.io/vQWw6
NixOS_GitHub has left #nixos []
<gchristensen> though I'd like to pull the doublepitty card in that I don't even know the local language
Mateon3 has joined #nixos
<Infinisil> gchristensen: I do :) Coming from Switzerland
<Infinisil> Would even be only a 4 hour train ride
<LnL> gchristensen: are you also going?
<gchristensen> yeah
<LnL> same, most likely :)
<gchristensen> awesome!
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
<sphalerite> I'll have to fly but I don't want to miss it :D
<Infinisil> Where do you come from LnL gchristensen and sphalerite ?
<sphalerite> Hard to say where I come from, but I live in Glasgow
<gchristensen> eastern USUA
<sphalerite> (I come from all over Western Europe)
<gchristensen> USA* (damn keyboard)
<LnL> I live in belgium, ghent
<Infinisil> Nice nice
apeyroux has quit [(Quit: leaving)]
_ris has quit [(Read error: Connection reset by peer)]
ris has joined #nixos
apeyroux has joined #nixos
<apeyroux> hello
<Infinisil> apeyroux: Good evening
ambro718 has joined #nixos
ryanartecona has joined #nixos
ris has quit [(Client Quit)]
_ris has joined #nixos
riclima has joined #nixos
phreedom has quit [(Ping timeout: 240 seconds)]
justbeingglad has joined #nixos
<gchristensen> is 0xABAB here?
<gchristensen> they keep leaving github reviews rejecting my changes saying "read my comments" without leaving any comments
phreedom has joined #nixos
<Infinisil> gchristensen: Do they specifically mention IRC comments?
<gchristensen> no
<Infinisil> But also don't leave comments in the PR?
<Infinisil> gchristensen: Well, I guess they messed up somehow
<gchristensen> Infinisil: do you see them?
<Infinisil> gchristensen: Nope
<Infinisil> Nice PR btw :)
<gchristensen> thank you:)
riclima has quit [(Max SendQ exceeded)]
justbeingglad has left #nixos []
boj has quit [(Quit: byte byte)]
<sphalerite> I'm making a USB stick to boot into my presentation tomorrow because I anticipate difficulties :|
riclima has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mudri has joined #nixos
<Infinisil> sphalerite: I don't know if that gives fewer problems, are you sure you can boot from usb?
<sphalerite> Infinisil: I can on my flatmate's old laptop (and I can't mess around with the windows installation on it)
<sphalerite> Infinisil: the main problem being that my laptop doesn't output VGA
hellrazo1 has quit [(Ping timeout: 240 seconds)]
<Infinisil> sphalerite: Ah I see, well that should work perfectly then :)
<Infinisil> When somebody sees nixos running on my laptop I almost feel bad saying nixos, because it looks kinda ugly right now and nixos' beauty is invisible to outsiders
hellrazo1 has joined #nixos
<Infinisil> Because a lot of people seem to think that on OS defined what it looks like
<Infinisil> s/on/an
hiratara has quit [(Ping timeout: 246 seconds)]
<Infinisil> Wait no, correct to "looks define the OS"
<sphalerite> Infinisil: I'm booting straight into my presentation, how's that for awesome :p
<Infinisil> sphalerite: With a command running at startup? Or into a presentationOS??
<sphalerite> Infinisil: services.xserver.displayManager.auto + an activationScript that links the presentation-starting script to /home/bob/.xsession
hiratara has joined #nixos
riclima has quit [(Ping timeout: 240 seconds)]
<Infinisil> sphalerite: Nice :)
<sphalerite> the only thing I still need to do manually is place all the windows where they're meant to be (I have three, as shown in the video I linked earlier)
<sphalerite> hm, the wifi also isn't autoconnecting
<Infinisil> sphalerite: Did you put the correct stuff in /etc/wpa_configuration?
<sphalerite> Infinisil: I set networking.wireless = {enable = true; networks = {ssid.psk = "psk goes here"};};
ryanartecona has quit [(Quit: ryanartecona)]
<dtzWill> presentation unikernels
<dtzWill> containers per slide for maximum security
<dtzWill> powerpoint: the microkernel
mkoenig has joined #nixos
<sphalerite> haha
<sphalerite> actually it's mupdf and I made a hacky little remote control server so I can control it from my phone, but basically yeah
<sphalerite> and the "unikernel" runs on bare metal without a hypervisor
<sphalerite> it's also 477MB which I think is still quite a lot. I could probably strip a fair bit of that out
<Infinisil> sphalerite: Ah
bennofs has joined #nixos
<Infinisil> Maybe at some point in the future, you could just have your requirements (e.g. need to run presentation, needs wifi, ...) and map that to an OS that has only exacly what is needed to do that
<sphalerite> well that's what I'm doing, more or less
<Infinisil> sphalerite: But you're still using nixos?
<sphalerite> the only part that's amiss is that I'm dragging the rest of the stuff in the minimal nixos installer image with it
<dtzWill> boot2pdf
<sphalerite> yep
<Infinisil> sphalerite: Yeah that's what I mean, not a full os that can do all sorts of stuff, just an OS that as soon as it starts does the presentation
<Infinisil> No user/kernel land needed
<Infinisil> no threading needed
<Infinisil> (well maybe 1 for user input)
<sphalerite> So a real minimal unikernel
<Infinisil> Yeah
<sphalerite> handling modern hardware needs threads too, I'm fairly sure
<Infinisil> like optimize it to hell, only including the functions that get aclled
<sphalerite> ld mupdf.a linux.a
<sphalerite> why is there no systemd unit for wpa_supplicant even though I set networking.wireless.enable = true? :(
proteusguy has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
<Infinisil> sphalerite: How did you check for the service?
<sphalerite> Infinisil: systemctl list-units | grep wpa
<Infinisil> try with --all
arianvp2 has quit [(Quit: arianvp2)]
<LnL> hmm, gitMinimal also depends on perl
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #26942: mendeley: ignore errors attempting to install link handler on startup (master...fix/mendeley-ignore-handler-errors) https://git.io/vQWXo
NixOS_GitHub has left #nixos []
<Infinisil> LnL: Perl does seem pretty important though
<Infinisil> But I guess it doesn't necessarily have to be included in minimal
<sphalerite> Infinisil: got it, it's the installer config which makes the services not wanted by anything (nixos/modules/profiles/installation-device.nix)
<LnL> it's just a bunch of example contrib scripts
<Infinisil> LnL: Well actually the website mentions only that "The minimal installation CD does not contain X11"
<LnL> huh?
<Infinisil> That's what we're talking about right?
<Infinisil> The minimal installation CD
<Infinisil> But I guess minimal should probably more like "it runs, but if you want anything at all you need to install it"
<Infinisil> be*
<sphalerite> I don't think the minimal installation CD includes git at all, minimal or not
<LnL> no, just pkgs.gitMinimal
<sphalerite> gitMinimal is for fetchgit, no?
<Infinisil> Didn't know about gitMinimal
<sphalerite> It wouldn't have made sense to remove its dependency on perl back when nix depended on perl too, but now it might be nice
eacameron has quit [(Remote host closed the connection)]
<LnL> yeah sure
eacameron has joined #nixos
<Infinisil> from all-packages: gitMininmal is git overriden with { withManual = false; pythonSupport = false; }
Neo-- has quit [(Remote host closed the connection)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<LnL> so it looks like gitMinimal still has some stuff enabled like sendEmailSupport
Neo-- has joined #nixos
<GetalMear> Question: I want to define dependencies in buildPythonPackage via propagatedBuildInputs. If I start like "propagatedBuildInputs = with self; [ whatever ];" then nix complains that the "Self" interpreter does not build on macOS - so "self" was interpreted as a package name. However, if I leave it off, then it doesn't find my Python dependency either
<LnL> and svnSupport
mellowmaroon has joined #nixos
<mellowmaroon> can someone tell me how I can put Rust from the Mozilla overlay into configuration.nix?
<Infinisil> git has svn support? WHAT? And why does git need python??
<mellowmaroon> Infinisil: I know you can do `git svn`, not 100% what it does though
<Infinisil> GetalMear: What is self? Don't you want something like with pythonPackages? or with pkgs.pythonPackages?
<mellowmaroon> Infinisil: And dunno about python, but I'm pretty sure it depends on perl
danl1240 has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<sphalerite> Huh, I just had some odd issues with my USB stick
<sphalerite> I unplugged it but /dev/sda continued to exist
<GetalMear> Infinisil: I think I get it now. You're probably right!
danl1240 has joined #nixos
<sphalerite> next time I plugged it in, I couldn't write to it and it said "Invalid argument"
<sphalerite> rm /dev/sda and replugging the stick fixed it
pie__ has quit [(Quit: Leaving)]
<sphalerite> Right, bedtime. Gnight people!
<Infinisil> sphalerite: Night!
hiratara has quit [(Quit: ZNC - http://znc.in)]
<clever> Infinisil: "git svn" will download every commit from an svn repo, and create a local git commit that applies the same changes
<clever> Infinisil: you can then work locally using normal git
<clever> but when you push it back to the svn repo, it will rewrite the git commits to match the format used by "git svn", and also flatten the history out (no more branching and merging history)
<anelson> hi guys, anyone here familiar with wine?
hiratara has joined #nixos
<Infinisil> clever: I see
<anelson> I'm wondering why the default even on 64 bit systems is "wineWow" which (idk what it is) but it seems to be 32-bit
<Infinisil> Well I thought so, but it's weird to see
<clever> Infinisil: i only ever use it to do one-time conversion from svn to git, but i have seen others use it to work full-time on svn based projects
<anelson> and actually, that default is overridden in the top-level definition to default to wine32 regardless of architecture
<anelson> is wine64 unstable or something?
<clever> i'm guessing its because its flagged as unstable
<clever> some things like .net i think, just dont work in the 64bit wine
ambro718 has quit [(Ping timeout: 260 seconds)]
<mellowmaroon> anelson: I used to have separate WINEPREFIXes for 32 and 64 bit
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQWMd
<NixOS_GitHub> nixpkgs/master 8797e3e Volth: certstrap: init at 1.0.1
<NixOS_GitHub> nixpkgs/master d0a9189 Jörg Thalheim: Merge pull request #26941 from volth/certstrap-1.0.1...
NixOS_GitHub has left #nixos []
<mellowmaroon> anelson: I used to use Wine a bit a couple years ago
<anelson> mellowmaroon: does that allow you to use both?
<anelson> I just need to be able to run reaper, which has a 32 bit version. But a lot of vsts these days are 64 bit
<mellowmaroon> anelson: I think that should work for you
<anelson> clever: I don't see any flag of unstable, where would I find that?
<anelson> mellowmaroon: thanks, I'll give it a look :)
<clever> anelson: i also have a nix expression for building the 64bit wine, let me see
<anelson> clever: I'm building it now, I just had to modify top-level/all-packages.nix to change the default to wine64
<anelson> hasn't finished yet, we'll see
<clever> wine.override { wineBuild = "wineWow"; }
<clever> this is what i was building
<anelson> yeah, but wineWow is 32bit
<anelson> or at least, it uses the 32bit stdenv so I assume it is
<anelson> also I have no idea what winewow is lol
<mellowmaroon> anelson: same, it doesn't sound familiar
<clever> In computing, Windows on Windows (commonly referred to as WOW,[1][2][3]) is a compatibility layer of 32-bit versions
<anelson> hmmm, so I guess I really don't know well enough why it would be the default
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #26943: Automated Emacs Package updates (master...emacs-updates) https://git.io/vQWDa
NixOS_GitHub has left #nixos []
<clever> so confusingly, wow64, is the support layer to run 32bit apps on a 64bit kernel
<anelson> if it can run 64 bit binaries then maybe it's the preferable option? just kinda threw me off that it uses the 32bit stdenv
<clever> and i think wow is to run 16bit apps on a 32bit kernel
<dash> clever: mmm, pretty sure 'wow64' is the name for the Nintendo 64 port of World of Warcraft
<anelson> but I was able to run 32bit apps on a 64 bit architecture (my comp) using wine32
<clever> dash: :D
<anelson> hahaha
<anelson> tbh that's what I thought at first
<anelson> or I thought it's some kind of souped-up "wow" version
<mellowmaroon> clever: I'm trying to add Rust from the Mozilla overlay to my configuration.nix, would you be able to point me in the right direction?
<clever> mellowmaroon: already helped somebody with that about 3 days ago, let me check my irc logs
<mellowmaroon> clever: awesome :)
<mellowmaroon> clever: I'm close, I configured and installed using `nix-env -iA nixos.rustChannels.stable.rust`
<mellowmaroon> clever: Now I'm trying to put that into my configuration.nix
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQWye
<NixOS_GitHub> nixpkgs/master a97c803 Will Dietz: mendeley: ignore errors attempting to install link handler on startup...
<NixOS_GitHub> nixpkgs/master 7ab817c Jörg Thalheim: Merge pull request #26942 from dtzWill/fix/mendeley-ignore-handler-errors...
NixOS_GitHub has left #nixos []
<clever> anelson: i have a pre-build copy of wine-wow for 16.09 on https://hydra.angeldsis.com/build/682#tabs-details
zraexy has quit [(Ping timeout: 276 seconds)]
bennofs has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.03: https://git.io/vQWyW
<NixOS_GitHub> nixpkgs/release-17.03 55bc539 Will Dietz: mendeley: ignore errors attempting to install link handler on startup...
NixOS_GitHub has left #nixos []
<mellowmaroon> clever: Using this, I should be able to access it from my configuration.nix, right?
<clever> yeah
<mellowmaroon> ok, will give it a try :) thanks
Wizek_ has quit [(Ping timeout: 268 seconds)]
Wizek has quit [(Ping timeout: 276 seconds)]
civodul has quit [(Remote host closed the connection)]
<mellowmaroon> clever: It's still giving me errors about 'nixos' being undefined...
<mellowmaroon> clever: or do I not include that part?
<clever> mellowmaroon: just pkgs.foo
<mellowmaroon> clever: Ah ok
<mellowmaroon> clever: I got a very weird error, about 'cannot coerce a set to a string'
earldouglas has quit [(Quit: leaving)]
<clever> mellowmaroon: can you gist your nix expression?
<mellowmaroon> clever: no problem :) one minute
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6b89bcbaa6 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
riclima has joined #nixos
<mellowmaroon> clever: https://pastebin.com/9KKYUbwz
riclima has quit [(Client Quit)]
<mellowmaroon> clever: this file is simply imported from my configuration.nix
<clever> mellowmaroon: with imports or import?
<mellowmaroon> clever: imports, and then a list of nix files
<mellowmaroon> clever: imports = [ .hardware.nix, packages.nix, users.nix ];
<clever> mellowmaroon: oh i see it
<mellowmaroon> clever: sorry, no commas
<clever> that gist wasnt vinished
<clever> mellowmaroon: edited the gist, try it now
riclima has joined #nixos
dalaing_ has joined #nixos
drakonis has joined #nixos
<mellowmaroon> clever: same error...hmm...
<mellowmaroon> clever: it's pointing to lib/strings.nix, line 442, if that helps
<clever> mellowmaroon: can you gist the entire error from --show-trace, and the code where you referenced the overlay?
<mellowmaroon> clever: yep. well the code referencing the overlay is in that link I gave you
ebzzry has joined #nixos
<mellowmaroon> clever: line 23
<clever> ah, didnt notice the pastebin
<clever> mellowmaroon: line 18 doesnt have the fix i did to my gist
<mellowmaroon> clever: Right, I posted it before you made that change
<clever> ah
zeus_ has quit [(Read error: Connection reset by peer)]
<clever> what about the full error from --show-trace?
<mellowmaroon> clever: I'll post that now...sorry, just got a phone call
zeus_ has joined #nixos
<mellowmaroon> clever: here is my error: https://pastebin.com/J4q2NxXr
<mellowmaroon> clever: and to my packages.nix file, I just followed your changes. I removed the mozillaPkgs line, and renamed that part of rustOverlay
eacameron has quit [(Remote host closed the connection)]
<clever> mellowmaroon: ah, i see the problem
eacameron has joined #nixos
<clever> mellowmaroon: line 89 of https://pastebin.com/9KKYUbwz, rust is an attribute set
<clever> it contains rust.cargo and rust.rustc
ebzzry has quit [(Ping timeout: 240 seconds)]
JagaJaga has joined #nixos
<mellowmaroon> clever: do I need to include all those separately?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3270545094 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> depends on which ones you want
<mellowmaroon> clever: when I just install from nixos.rustChannels.stable.rust, that was like a meta package for cargo etc
dalaing_ has quit [(Ping timeout: 260 seconds)]
dalaing_ has joined #nixos
<clever> mellowmaroon: i believe it also has a rustStable.rustc and rustStable.cargo
ebzzry has joined #nixos
digitus has quit [(Quit: digitus)]
<mellowmaroon> clever: so I can't use that meta-package `rust` then? That's fine, I just need to make a note of it
eacameron has quit [(Ping timeout: 268 seconds)]
<clever> the 'rust' attribute works exactly the same way in normal nixpkgs
<mellowmaroon> clever: oh, I think I see what you're saying
<mellowmaroon> clever: is there a way I can choose between stable/beta/nightly?
<mellowmaroon> clever: would I need to put rustStable.rustc instead?
<clever> rustNightly, rustStable, rustUnstable
<clever> i think so
pie_ has joined #nixos
pie_ has quit [(Client Quit)]
aneeshusa has quit [(Ping timeout: 276 seconds)]
<mellowmaroon> clever: Ok, it's downloading now, so I'm pretty sure it's working :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vQW7m
<NixOS_GitHub> nixpkgs/master 1a7745d Robert Schütz: dmensamenu: init at 1.0.0
<NixOS_GitHub> nixpkgs/master 7642a76 Jörg Thalheim: Merge pull request #26926 from dotlambda/master...
NixOS_GitHub has left #nixos []
<mellowmaroon> clever: :( rustc --version gives me 1.15, the mozilla one is at 1.18...
<mellowmaroon> clever: let me try it without the prefix rustStable
<MP2E> gives me 1.17.0 here, though of course, not quite the newest.
<MP2E> (i'm using nixpkgs master though)
<clever> nix-repl> pkgs.rustStable.rustc
<clever> «derivation /nix/store/qjpgbbpwlmrzpfr2vchd07c10z3lw5s3-rustc-1.17.0.drv»
<clever> mellowmaroon: what does "realpath $(which rustc)" say?
ris has joined #nixos
<mellowmaroon> clever: /nix/store/jm27nd8fzplhwiqqqpkg5w1sih990fm4-rustc-1.15.1/bin/rustc
aneeshusa has joined #nixos
<clever> mellowmaroon: what about just which rustc
<mellowmaroon> clever: oh, hang on. I think I had to set RUST_SRC_PATH manually to get it working with emacs
<mellowmaroon> clever: `which rustc` gives => /run/current-system/sw/bin/rustc
<clever> ah, then you may have several rustc's in the systemPackages
<clever> generally, you shouldnt install compilers on nix or nixos
<clever> you should only use them in nix-shell
<mellowmaroon> clever: I see. Is there a way to clear it?
<clever> $ nix-store -l /run/current-system/sw
_ris has quit [(Ping timeout: 255 seconds)]
<clever> mellowmaroon: does this mention any warnings about collisions on rustc?
<mellowmaroon> clever: yep, a lot
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nix-gsc-io`bot has joined #nixos
phinxy has quit [(Quit: Leaving)]
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/55bc539b80 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
<clever> thats because you had multiple things in systemPackages, that all provide rustc
<clever> it doesnt know which rustc to use
<mellowmaroon> clever: oh, about rustc. Let me check that speficically
riclima has joined #nixos
<mellowmaroon> clever: ...no mention of rustc in it :\
<mellowmaroon> clever: I do see rustfmt and cargo here though
<clever> not sure then
<mellowmaroon> and if I don't install compilers globally, how do I keep it in the store? I dont want to have to redownload them each time I need it
goibhniu has quit [(Ping timeout: 276 seconds)]
<clever> nix-build -A rust.rustc -o rustc-root
<clever> as long as the rustc-root symlink remains, it cant be GC'd
<clever> and you can nix-shell -p rust.rustc to open a shell with that
<Infinisil> clever: OH that's nice
<Fare> how do I prefer stdenv from removing doc/ from my $out/ ?
<mellowmaroon> clever: if I only put rustc/cargo again, it gives the 'cannot coerce a set to a string' again, same location
<GetalMear> Question: In shell.nix, after defining a new library via buildPythonPackage, is there a simple way to make some other library that already exists in Nixpkgs depend on the new library instead?
<GetalMear> Can I override a dependency?
* Fare tries forceShare = [ ];
<clever> mellowmaroon: without more context, i cant really see why its doing that again
<mellowmaroon> clever: :( oh well. thanks for the help anyhow!
<GetalMear> Or do I need to copy the whole buildPythonPackage of the existing package and only change propagatedBuildInputs?
<clever> GetalMear: overrideAttrs lets you change any attribute in the derivation
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
dalaing_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 2 new commits to master: https://git.io/vQW5x
<NixOS_GitHub> nixpkgs/master b0a4c2c Graham Christensen: nixos: installer.nix test: test ZFS install use case
<NixOS_GitHub> nixpkgs/master 425e9ce Graham Christensen: Merge pull request #26917 from grahamc/zfs-installer-test...
NixOS_GitHub has left #nixos []
riclima has joined #nixos
dalaing_ has joined #nixos
<GetalMear> clever: The documentation seems to say it only works with stdenv.mkDerivation, or is that wrong?
markus1209 has joined #nixos
<GetalMear> Or is buildPythonPackage really stdenv.mkDerivation behind the scenes?
markus1219 has joined #nixos
<clever> GetalMear: nearly everything in nixpkgs calls stdenv.mkDerivation
Neo-- has quit [(Ping timeout: 255 seconds)]
JagaJaga has quit [(Ping timeout: 255 seconds)]
<GetalMear> clever: Sounds great, I'll try that.
<clever> pkgs/top-level/python-packages.nix: buildPythonPackage = makeOverridable (callPackage ../development/interpreters/python/build-python-package.nix {
markus1189 has quit [(Ping timeout: 258 seconds)]
markus1199 has quit [(Ping timeout: 260 seconds)]
riclima has quit [(Ping timeout: 240 seconds)]
<mellowmaroon> clever: Is there some way I can have compilers available on the system globally? I'd rather not have to do `nix-build` per user/project just to keep it around
<clever> GetalMear: yeah, buildPythonPackage leads to python.stdenv.mkDerivation
<clever> mellowmaroon: the issue, is that each project may want a different version, and now you have to rebuild the entire system to change it
<clever> mellowmaroon: its better to just GC less, and use nix-shell everywhere
<mellowmaroon> clever: Makes sense :) thanks
aneeshusa has quit [(Quit: WeeChat 1.9)]
dalaing_ has quit [(Ping timeout: 260 seconds)]
ebzzry has quit [(Ping timeout: 255 seconds)]
dalaing_ has joined #nixos
mellowmaroon has quit [(Quit: Leaving)]
<Infinisil> Hey clever, you probably know this, what exactly is /nix/var/nix/profiles/default ?
<clever> Infinisil: everything managed by nix-env as root
<Infinisil> Ohhh, hold on
ebzzry has joined #nixos
<Infinisil> Ohh yeah that was it!
<Infinisil> I also got 1.17 when rustc --version
<Infinisil> Because I installed it with sudo nix-env -iA
<Infinisil> but I forgot about it
<Infinisil> Uninstalling it did the trick
<Infinisil> `rustc --version`
<Infinisil> rustc 1.20.0-nightly (f590a44ce 2017-06-27)
<Infinisil> maybe it was the same for mellowmaroon
dalaing_ has quit [(Remote host closed the connection)]