<neonfuz> any recommendations on a root filesystem for nixos?
<tilpner> People like zfs, but ext4 is a safe default
<gchristensen> I like ext4
<tilpner> I do too, it's never let me down. It's just not as exciting as more featured alternatives
<tilpner> (Not exciting is usually good for a filesystem though)
<gchristensen> ^
uptime has joined #nixos
<sirkha> tilpner, thanks
python476 has quit [(Remote host closed the connection)]
Wizek has quit [(Quit: Connection closed for inactivity)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.03-small advanced to https://github.com/NixOS/nixpkgs/commit/55bef6e401 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.03-small)
nix-gsc-io`bot has quit [(Client Quit)]
S0rin has quit [(Ping timeout: 260 seconds)]
S0rin has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8950a80216 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29971: qbittorrent: 3.3.15 -> 3.3.16, drop patch, enable parallel build (master...qbittorrent/3.3.16) https://git.io/vdZoJ
NixOS_GitHub has left #nixos []
<neonfuz> ooh, qbittorrent 3.3.16, nice
aminechikhaoui has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Quit: Leaving.)]
uptime has left #nixos ["You're cute, but not cute enough."]
endertux has quit [(Remote host closed the connection)]
<Fare> is there a formal grammar for the nix language somewhere?
endertux has joined #nixos
FreakingOut1987 has joined #nixos
<FreakingOut1987> how do I set nomodeset during nixos grub screen?
<FreakingOut1987> i press e but i dont see kernel boot parameters
cpennington has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/4da6934940 (from 25 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
aminechikhaoui has joined #nixos
nix-gsc-io`bot has quit [(Client Quit)]
<elvishjerricco> Is it possible to get the container IP as an argument to the `configuration.nix` of a nixos-container (imperative)? I'm trying to make a container that starts a tor client service, but it needs the container IP in `socksListenAddress`.
<elvishjerricco> Obviously I could copy paste it in, but then the container would not be portable. i.e. I couldn't give that nix file to a friend and be sure he'll get a working container.
<tilpner> Maybe containers.<name>.extraVeths.<name>.localAddress can help?
endertux has quit [(Remote host closed the connection)]
bennofs has quit [(Ping timeout: 258 seconds)]
<tilpner> Oh wait, there's actually containers.<name>.hostAddress and containers.<name>.localAddress
endertux has joined #nixos
mkoenig_ has joined #nixos
mkoenig has quit [(Ping timeout: 246 seconds)]
sigmundv_ has joined #nixos
FreakingOut1987 has quit [(Remote host closed the connection)]
<elvishjerricco> tilpner: Well those are used in a system's `configuration.nix` to configure declarative containers. I don't believe you can use those in an imperative container's `configuration.nix` to find the container's IP.
bennofs has joined #nixos
<tilpner> Oh, how are you creating containers completely imperatively?
<neonfuz> so, running ncdu in /nix I see that I have duplicate copies of a lot of large packages
<orivej> Fare: only in the source code if that counts, but see
<neonfuz> is there any way to figure out why packages are being pulled in?
<neonfuz> they have different hashes
<tilpner> elvishjerricco - What about the database example? Can you pass { privateNetwork = true; hostAddress = ...; localAddress = ...; }?
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
<elvishjerricco> tilpner: No. Those are configs on the host system. There is no way to configure those from the container.
<tilpner> Whoops, yeah. Should've read that twice
<orivej> neonfuz: nix-store --query --referrers /nix/store/path
<neonfuz> thanks
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/f50e146f8d (from 15 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
iyzsong has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f7396286e1 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
mbrgm has quit [(Ping timeout: 248 seconds)]
takle has quit [(Remote host closed the connection)]
_ris has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
ee1943 has joined #nixos
koserge has joined #nixos
deepfire has joined #nixos
cpennington has quit [(Ping timeout: 240 seconds)]
lverns has quit [(Ping timeout: 264 seconds)]
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
deepfire has quit [(Ping timeout: 258 seconds)]
koserge has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #29972: merkaartor: 0.18.2 -> 0.18.3, Qt4 -> Qt5 (master...merkaartor/qt5) https://git.io/vdZ6S
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/0c67447820 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 240 seconds)]
<neonfuz> it's still holding 4 versions of firefox...
jb55 has quit [(Ping timeout: 240 seconds)]
<sirkha> how do you properly import libs into nix-repl?
<sirkha> (i tried import <nixpkgs/lib/attrsets.nix>, but i cannot use the filterAttrs function)
bennofs has quit [(Ping timeout: 258 seconds)]
jb55 has joined #nixos
<tilpner> neonfuz - Did you "sudo nix-collect-garbage -d"?
<tilpner> (And check your user profiles with "nix-env -q")
<orivej> sirkha: ":l <nixpkgs>" and then "lib.filterAttrs"
<tilpner> sirkha - "nix-repl <nixpkgs>", then use lib.*
<tilpner> Probably need to quote that...
<sirkha> ah, got it
<sirkha> thanks
<tilpner> "nix-repl '<nixpkgs'>"
* tilpner fails
<sirkha> no, i got you
<neonfuz> oh, I didn't run it with sudo
<neonfuz> it still did some cleaning so I assumed it was fine to run as a regular user
<neonfuz> so THATS where all my space was going, lmfao
<neonfuz> cleared 6gb
<tilpner> I suggested that two hours ago :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] obadz pushed 1 new commit to master: https://git.io/vdZil
<NixOS_GitHub> nixpkgs/master 4810ee4 obadz: nim: 0.17.0 -> 0.17.2
NixOS_GitHub has left #nixos []
iyzsong has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] obadz pushed 1 new commit to release-17.09: https://git.io/vdZiB
<NixOS_GitHub> nixpkgs/release-17.09 c9724c6 obadz: nim: 0.17.0 -> 0.17.2...
NixOS_GitHub has left #nixos []
<infinisil> neonfuz is guilty, as his punishment, all his nix files get a random indentation between 1 and 10
<gchristensen> lol
<infinisil> if it happens again, there will be a mix between tabs and spaces too
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29972: merkaartor: 0.18.2 -> 0.18.3, Qt4 -> Qt5 (master...merkaartor/qt5) https://git.io/vdZ6S
NixOS_GitHub has left #nixos []
<tilpner> And trailing spaces?
lambdamu has joined #nixos
erictapen has quit [(Ping timeout: 248 seconds)]
<infinisil> Yeah!
lambdamu_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #29973: focuswriter: 1.5.3 -> 1.6.7, Qt4 -> Qt5, GPLv2 -> GPLv3 (master...focuswriter/qt5) https://git.io/vdZid
NixOS_GitHub has left #nixos []
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
cpennington has joined #nixos
Supersonic112_ is now known as Supersonic112
orivej has quit [(Ping timeout: 240 seconds)]
ebzzry_ has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
thc202 has quit [(Ping timeout: 258 seconds)]
sigmundv_ has quit [(Ping timeout: 240 seconds)]
jb55 has quit [(Ping timeout: 258 seconds)]
MP2E has joined #nixos
darlan has joined #nixos
darlan has quit [(Client Quit)]
tmaekawa has joined #nixos
zraexy has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] romildo opened pull request #29974: entr: 3.8 -> 3.9 (master...upd.entr) https://git.io/vdZPu
NixOS_GitHub has left #nixos []
ertes has joined #nixos
drakonis has joined #nixos
cpennington has quit [(Remote host closed the connection)]
Piece_Maker has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
Acou_Bass has quit [(Ping timeout: 248 seconds)]
Piece_Maker is now known as Acou_Bass
<sirkha> if nixos-rebuild dry-build --show-trace shows just "building the system configuration" and nothing after that, does that mean there are no changes?
<infinisil> sirkha: I think so yeah
garbas has quit [(Quit: WeeChat 1.7.1)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko opened pull request #29975: rosegarden: Qt4 -> Qt5 (master...rosegarden/qt5) https://git.io/vdZX3
NixOS_GitHub has left #nixos []
infinisil has quit [(Quit: WeeChat 1.9)]
dustmote has joined #nixos
takle has joined #nixos
jb55 has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/e79288e6f0 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<sirkha> trying to get a recursive directory listing (for now), but its not working https://hastebin.com/raw/vomamaxuho
<sirkha> not actually even sure why it spits out /etc/nixos/config.d
takle has quit [(Ping timeout: 248 seconds)]
<sirkha> (Converting Between Attrsets and Directories)
S0rin has quit [(Ping timeout: 260 seconds)]
dustmote has quit [(Quit: bye)]
S0rin has joined #nixos
jellowj has quit [(Ping timeout: 240 seconds)]
dustmote has joined #nixos
dustmote has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michalrus opened pull request #29977: bitcoinarmory: build correctly from source, using *our* libs (master...bitcoinarmory) https://git.io/vdZXj
NixOS_GitHub has left #nixos []
<sirkha> nm, stupid mistake, think i got it
<sirkha> forgot to actually call the function in the in statement
eacameron has joined #nixos
jb55 has quit [(Ping timeout: 248 seconds)]
schoppenhauer has quit [(Ping timeout: 240 seconds)]
schoppenhauer has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar_ has joined #nixos
eacameron has quit [(Remote host closed the connection)]
dustmote has joined #nixos
dustmote has quit [(Client Quit)]
jb55 has joined #nixos
S0rin has quit [(Ping timeout: 258 seconds)]
jtojnar_ has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
jb55 has quit [(Ping timeout: 240 seconds)]
nathan has joined #nixos
sirkha has quit [(Ping timeout: 260 seconds)]
S0rin has joined #nixos
endertux has quit [(Quit: Leaving)]
endformationage has quit [(Quit: WeeChat 1.9)]
Fare has quit [(Ping timeout: 240 seconds)]
hamishmack has quit [(Quit: hamishmack)]
drakonis has quit [(Read error: Connection reset by peer)]
Arcaelyx_ is now known as Arcaelyx
hamishmack has joined #nixos
mrkgnao has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/8950a80216 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
hamishmack has quit [(Client Quit)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c9724c6d10 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
MP2E has quit [(Remote host closed the connection)]
MP2E has joined #nixos
jb55 has joined #nixos
iqubic has joined #nixos
<iqubic> Is it possible for me to stay on the 17.03 channel, but pull in a few packages from the unstable branch?
<iqubic> Mostly I just want the very latest version of noto-fonts-emoji if possible.
sirkha has joined #nixos
<ben> you could write up an overlay that pulls in those few packages from that separate nixpkgs revision
lverns has joined #nixos
<iqubic> I'm new to nixos and I'm not sure how to write an overlay.
<ben> I'm not sure if it's the easiest option, or what the neatest way to do it is :/
<iqubic> yeah me neither. Hence why I asked.
<srhb> It's pretty simple.
<srhb> You copy paste the definitions from unstable, more or less, into your overlay, and create it according to the manual.
<srhb> That's, like, two lines of boilerplate and the rest is copy pasting.
lverns has left #nixos []
<iqubic> Is that the best way to do it?
katyucha has joined #nixos
hamishmack has joined #nixos
<hyper_ch> clever: still awake?
<hyper_ch> iqubic: how does it go with Nixos this far?
<hyper_ch> iqubic: why not go for 17.09 channel? it's been declared stable now I think :)
<srhb> hyper_ch: Stable how?
<ben> so i tried to write it up the way that made sense to me and now my nix is getting killed with out-of-memory messages
<hyper_ch> srhb: wasn't it officially releaed now?
<srhb> hyper_ch: Not to my knowledge.
<hyper_ch> there were people being disappointed about not having a party.... oh well :) it's october anyway... so how can 17.09 not be released ;)
<hyper_ch> srhb: but you're right https://nixos.org/news.html
iqubic has quit [(Ping timeout: 260 seconds)]
<ben> oh... if i try to import nixpkgs inside an overlay, that... leads to problems
<srhb> ben: What are you trying to do? I just woke up, so I missed the context.
<ben> srhb: define an overlay that pulls in one particular package from newer nixpkgs
<ben> i think i got it mostly figured out
<srhb> Just a question, are you using channels?
<ben> yeah
<srhb> Why not just add an unstable channel and install it from there?
rauno has quit [(Ping timeout: 240 seconds)]
<srhb> They can coexist just fine.
<ben> I don't really know how to use channels
<srhb> man nix-channel
<srhb> You'll want to add one and name it nixpkgsunstable or something
<srhb> So, nix-channell --add url yourName
<srhb> nix-channel --update
<srhb> nix-env -iA yourName.myPackage
<ben> yeah
<ben> curious if that survives nix-env -u
<srhb> What do you mean?
<srhb> The package?
<ben> yeah
<ben> nix-env -u --leq anyway
<ben> probably for the best
Mateon3 has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/c9724c6d10 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<srhb> ben: Sorry, I don't think I know what you mean. Yes, nix-env -u will upgrade packages from all channels (provided the channels have been upgraded)
<srhb> oh yay channel update
<srhb> wait, wrong channel...
<ben> srhb: I was curious if channels might be more magical than I assumed but they're not, it's all good
Mateon1 has quit [(Ping timeout: 255 seconds)]
Mateon3 is now known as Mateon1
<srhb> :)
<ben> oh anyway i think i'm missing a bunch of gstreamer plugins, do we only package a subset or something?
<srhb> No idea. Which ones are you missing?
<ben> rtmp, the rtmpsink element in particular
<ben> oh i guess we might not package librtmp
orivej has joined #nixos
<srhb> Sorry, I don't know anything about gstreamer. :)
ertes has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29973: focuswriter: 1.5.3 -> 1.6.7, Qt4 -> Qt5, GPLv2 -> GPLv3 (master...focuswriter/qt5) https://git.io/vdZid
NixOS_GitHub has left #nixos []
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29975: rosegarden: Qt4 -> Qt5 (master...rosegarden/qt5) https://git.io/vdZX3
NixOS_GitHub has left #nixos []
<clever> hyper_ch: yeah
<hyper_ch> clever: let me pick your brain ;)
hamishmack has quit [(Client Quit)]
<clever> hyper_ch: ask away
<hyper_ch> clever: what was the reason again why you created legacy mountpoints?
<hyper_ch> (legacy stuff usually sounds bad)
<clever> the nixos initrd can only mount legacy mount points
hamishmack has joined #nixos
<hyper_ch> ah ok
<clever> the new zfs stuff will just auto-mount things at the "right spot" when you run "zfs mount pool/foo" on it
<clever> but nixos expects the standard "mount device /mnt" style
<hyper_ch> ok cool :)
<hyper_ch> so, I created /home /root (for /) and /nix as data sets
<hyper_ch> I did name my pool the same as you ;)
<hyper_ch> now, I'll do my first snapshots
<hyper_ch> there's no reason why I can't just use a date for snapshot like 2017-10-01_08-49-34 right?
ertes has joined #nixos
<clever> correct
<clever> if you turn on the service i mentioned before, nixos will make those for
<clever> you
<hyper_ch> so lets write a script to do the snapshots ;)
<clever> on a timer
<clever> that script already exists
<hyper_ch> still manual testing
<hyper_ch> it's an old notebook
<hyper_ch> one thing after the other ;)
<hyper_ch> I first need to get myself acquainted with snapshots and how they work etc...
<hyper_ch> because I might end up using those things for backups etc I want to understand it myself :)
<clever> zfs is a lot like nix, every block on the disk is immutable
<clever> so if you want to modify a file, it creates new blocks with the new data
<clever> and snapshots just make an extra reference to the data, so the old version cant be GC'd
iyzsong has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
<nathan> exit
<nathan> quit
<hyper_ch> clever: so that worked fine: https://paste.simplylinux.ch/view/4180abd5
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mankarse opened pull request #29978: sfml: 2.4.1 -> 2.4.2 (master...sfml-2.4.2) https://git.io/vdZ96
NixOS_GitHub has left #nixos []
hamishmack has quit [(Quit: hamishmack)]
katyucha has quit [(Ping timeout: 258 seconds)]
<clever> hyper_ch: nice
<hyper_ch> clever: how much does the lzo compression actually tax the system?
<clever> not sure
<clever> i found gzip-9 to tax things a lot more, but the 4x savings is nice sometimes
<hyper_ch> altered the script already to use brace expansion instead of 3 entries ;)
hamishmack has joined #nixos
<hyper_ch> now changed channel from 17.03 to 17.09 and do upgrade
<hyper_ch> that will take a while
<hyper_ch> after that, I can take another snapshot and then play around with those
<hyper_ch> so, you're free to have breakfast now :)
hamishmack has quit [(Client Quit)]
hamishmack has joined #nixos
<hyper_ch> clever: assuming I have a zpool consisting of 3x 4TB drives... now I'd love to replace one with a 8TB drive, how would I do that?
bennofs has joined #nixos
<clever> hyper_ch: one method, turn it into a mirror between the 3x array and the 8tb drive
<clever> hyper_ch: once it finishes the resilver, remove the 3xdrive from the mirror, then you have just a single 8tb with no redundancy
<hyper_ch> not sure if you understood... just replace 1 of the 3 drives with a 8tb drive
<clever> ah
<clever> you cant really mix sizes like that
<hyper_ch> so you have 4,4,8
<clever> it would only use the first 4tb of the 8 drive
hamishmack has quit [(Quit: hamishmack)]
<hyper_ch> why?
<hyper_ch> from what I've gathered, the drives in the pool don't need to be the same size
<clever> well, it depends on which mode your in
<clever> if your just in jbod mode, it wont care, but you have zero redundancy
<clever> so replacing any drive with a bigger drive instantly gives you more storage
<clever> and if any drive fails, you loose it all
<hyper_ch> but how do you replace such a drive?
<hyper_ch> there's probably data on the old drive
<hyper_ch> so you can't just take it out, right?
<clever> mirror mode, just with different params
<hyper_ch> ok, i'll have a look at that then
<clever> make a mirror between one of the 4tb's and the 8tb
<clever> zfs also supports operating on files directly, without needing losetup
<clever> so you can just use ftruncate to make a dozen 512mb files, and then make pools ontop of that
<clever> and mess around
katyucha has joined #nixos
<hyper_ch> no idea what you just said :)
<hyper_ch> I think I get it
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdZH3
<NixOS_GitHub> nixpkgs/master 0bf5a55 Evan Wallace: sfml: 2.4.1 -> 2.4.2
<NixOS_GitHub> nixpkgs/master eb3c739 Orivej Desh: Merge pull request #29978 from Mankarse/sfml-2.4.2...
NixOS_GitHub has left #nixos []
<hyper_ch> but I assume you wanted to say 512gb files?
<clever> hyper_ch: first, run "truncate image-1.img -s 512m"
<hyper_ch> but that gives you like a gazillion files on a 8tb drve
hamishmack has joined #nixos
<hyper_ch> clever: also, I saw that people use just whole block devices like /dev/sdx and not partitions.... is that recommended?
<sphalerite> Yes
<clever> zfs will just automatically create gpt partitions, i believe
<hyper_ch> :)
kungfukenny has joined #nixos
Wizek has joined #nixos
nathan has quit [(Ping timeout: 240 seconds)]
mrkgnao has quit [(Ping timeout: 240 seconds)]
<sphalerite> colabeer: I think xautolock might be what you want
<sphalerite> Wait no, it doesn't seem to have suspend actions
<hyper_ch> when can we snapshot brains... that would make nixos-life so much simpler ;)
callmecabman has joined #nixos
<sphalerite> lluchs: oh hi, didn't notice you'd joined here :D
<sphalerite> eqyiel: did you find out more about the nix-repl issue you were having?
detran` has joined #nixos
<sphalerite> eqyiel: I think it's just that nix-repl's a = b bindings aren't recursive, so if you have a previously defined a in the expression b it'll use that rather than the a you're defining
<sphalerite> eqyiel: http://ix.io/Ayc
<sphalerite> so I think the answer is "use more let"
<sphalerite> Also I'm impressed that you managed to type all that stuff at the interactive prompt x) I would have just stuck it in a file and done :l relation.nix or something
detran has quit [(Ping timeout: 248 seconds)]
<chris|> does anyone have a working override derivation for rust 1.20 to share?
hamishmack has quit [(Quit: hamishmack)]
<MichaelRaskin> hyper_ch: until top managers make it mandatory for middle managers to snapshot their mind before talking to tech people/project managers and to restore after sending a meeting report — to prevent embedding of dangerous ideas like actually budgeting for a backup.
<hyper_ch> :)
<hyper_ch> well, it would be could if I could just snapshot clever's brain for all his zfs knowledge ;)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29974: entr: 3.8 -> 3.9 (master...upd.entr) https://git.io/vdZPu
NixOS_GitHub has left #nixos []
<hyper_ch> well, not soley for zfs stuff
<MichaelRaskin> Snapshotting doesn't even guarantee deployment on a different architecture…
<sphalerite> chris|: you can use the overlay from mozilla
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdZQ8
<NixOS_GitHub> nixpkgs/master 6024b7a AndersonTorres: twolame: init at 2017-09-27
<NixOS_GitHub> nixpkgs/master f1b54fb Orivej Desh: Merge pull request #29914 from AndersonTorres/upload/twolame...
NixOS_GitHub has left #nixos []
<sphalerite> chris|: https://github.com/mozilla/nixpkgs-mozilla/ instructions are in the README, and it has rust 1.20
hamishmack has joined #nixos
<srhb> Is there a mechanism for system wide overlays or is this still the old method?
<srhb> ie. manual overrides
<hyper_ch> old notebook is still updating to 17.09...
<sphalerite> srhb: you can add overlays by putting them in nixpkgs-overlays on NIX_PATH
<chris|> sphalerite: I'll give that a shot, thanks
hamishmack has quit [(Client Quit)]
<clever> hyper_ch: oh dang, got distracted
<hyper_ch> with breakfast?
<clever> its only 5am
<clever> i'm heading to bed :P
<hyper_ch> veto
<sphalerite> There are other people who might be able to help you hyper_ch x)
<hyper_ch> but he's clever
<sphalerite> I can't argue with that
<hyper_ch> no worries, it's just a notebook for testing ;)
<sphalerite> Nobabs27: which package? Will need more details of what you're trying and how it's failing to see what's going wrong
MP2E has quit [(Quit: leaving)]
<sphalerite> Oh, only just realised you wrote about that yesterday at 6am and not today at 6am >.>
hamishmack has joined #nixos
simukis has joined #nixos
iyzsong has quit [(Ping timeout: 248 seconds)]
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
<taaperotassu> Does base.nix and configuration.nix mean the same?
Kingsquee has joined #nixos
<hyper_ch> no
leat has quit [(Read error: Connection reset by peer)]
<srhb> sphalerite: Does that have a default value?
jellowj has joined #nixos
Leo` has joined #nixos
katyucha has quit [(Ping timeout: 248 seconds)]
<Leo`> How does one enable an arbitrary command to be executed on startup in the NixOS configuration?
<srhb> Leo`: Easiest is probably some systemd oneshot unit.
<sphalerite> srhb: no
<Leo`> There are various things in boot.something but I'm not sure it will work inside a container.
<srhb> sphalerite: Thanks :)
<srhb> Leo`: Check systemd.services.yourThing.{...}
<srhb> Leo`: If whatever you're doing has systemd :)
Leo`_ has quit [(Ping timeout: 246 seconds)]
<Leo`> Nah.
<Leo`> I have to chmod some file.
<Leo`> Maybe it's not the proper fix btw but I didn't think of anything better for now...
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vdZ5f
<NixOS_GitHub> nixpkgs/master 3c22ef8 Yegor Timoshenko: ppsspp: 1.3 -> 1.4.2
<NixOS_GitHub> nixpkgs/master 7750040 Orivej Desh: ppsspp: fix up
<NixOS_GitHub> nixpkgs/master 1be16a3 Orivej Desh: Merge pull request #29852 from yegortimoshenko/ppsspp/1.4.2...
NixOS_GitHub has left #nixos []
<jonge> hi there. i am a newbie in nixos. however i would like to explore what kind of configuration parameters every package i want has. is there any nicely browsable documentation generated from the nix files or is the only way finding and reading the nix files of every package?
<srhb> Leo`: Your container hasn't got systemd?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29838: scudcloud: 1.58 -> 1.63 (master...master) https://git.io/vdqDd
NixOS_GitHub has left #nixos []
<srhb> jonge: It's the easiest way for sure.
<Leo`> srhb: It does.
<srhb> Leo`: Then I think a oneshot unit is a fair approach.
<jonge> srhb: i just found https://nixos.org/nixos/options.html but that's not what i am looking for then, right?
<Leo`> Oh.
<Leo`> I understood “yourThing” as an existing service.
<Leo`> Ok.
<srhb> jonge: Those are for nixos options
<srhb> Leo`: Oh, sorry!
<srhb> Leo`: That will autogenerate a yourThing service with the options you specify :)
<jonge> srhb: what is the difference? are there no package-specific things but only general system things or what does it mean?
<srhb> Leo`: You can see examples of doing this with most database packages in NixOS, they will set up a oneshot service to do initial configuration.
<Leo`> That should do the trick.
<Leo`> Let me try.
<srhb> jonge: NixOS modules are special cases. They use various nixpkgs to create an OS. But a package is nixpkgs doesn't necessarily correspond to a NixOS module (far from it)
<srhb> jonge: For instance, weechat is not a NixOS service, but an irc client. It has various build options, and your best bet to browse those is looking at the nixpkgs sources for the weechat derivation.
<srhb> ** But a package *IN* nixpkgs [...] *
<srhb> Typing is hard.
leat has joined #nixos
<sirkha> trying to get an openvpn client going, turned off autoStart, but there is no service listed in systemctl -a
<jonge> srhb: hm i see. i am a bit lost in understanding where to look for what. but then i will look up those flag/option descriptions myself in the folders. thx
<srhb> jonge: Perhaps if you have an example, it will clarify things.
<srhb> Basically, the options to configure your NixOS are on that page.
<srhb> Various package build options are not.
<srhb> When will haskellPackages advance to GHC 8.2 ?
<jonge> srhb yeah well my use case is: system install. i sit here with a booted live cd and try to figure out how to configure all the user, ssh, desktop etc. stuff. i have seen that there is valuable documentation in all the packages, but then i wondered if there is a central page that collects all these options and their descriptions in one browsable HTML page or so.
katyucha has joined #nixos
<srhb> jonge: Yes, that's generally NixOS options as you found :)
<jonge> srhb: by "nixos options" you mean /etc/nixos/configuration.nix?
<srhb> jonge: No, I mean the page you linked to.
<srhb> jonge: Or man configuration.nix -- or the options addendum in the NixOS manual
<jonge> srhb: ok. the page looks valuable but however i understand that i should not only consult that but also read the package nix files.
<srhb> For system configuration, that should not be necessary.
<srhb> What I meant by package nix files is for answering things like... "How do I enable SSL in package foo"
b has quit [(Quit: Lost terminal)]
<srhb> build time parameters, usually.
ixxie has joined #nixos
<srhb> System configuration is the manual, the options page you linked, or man configuration.nix
<jonge> srhb ok
<srhb> I hope that clears up things a bit.
rtjure has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29859: gmsh: 2.12.0 -> 3.0.5 (master...fix-gmsh) https://git.io/vdmn6
NixOS_GitHub has left #nixos []
<sirkha> they are in the store, but I am coming from gentoo and have no idea how to trace from systemd to that
<sphalerite> hyper_ch: for recommended reading on zfs, https://pthree.org/2012/04/17/install-zfs-on-debian-gnulinux/ this series is really good
<sphalerite> well part 0 won't be that useful for you of course, but hte rest is good
<hyper_ch> sphalerite: what makes you assume that I can read? :)
<sphalerite> The fact that you can access the contents of my messages
<hyper_ch> oh
<sphalerite> That must mean that either you can read, or you have someone or something that can read for you
<hyper_ch> maybe I use tts engine ;)
mattcode has joined #nixos
<srhb> sirkha: I think it's normal that it doesn't appear unless you start it
<sirkha> what is the easiest way to see what services are available but not running?
<srhb> sirkha: No idea. But systemctl start openvpn-colostate-engrVPN should work.
<sirkha> (srhb, I think you are right, because i just tried typing in the services name i found in the store and it tried to start it)
<sirkha> now i just have to get the configuration right
Leo` has quit [(Quit: WeeChat 1.7.1)]
<srhb> sirkha: systemctl list-unit-files | grep openvpn
<srhb> That should do it
<srhb> It shows all four of mine, but only the two I've used since last reboot are shown in list-units
<sirkha> cool
<sirkha> was just trying list-units
<sirkha> thanks
<srhb> You're welcome.
Leo` has joined #nixos
<Leo`> srhb: It worked. Thanks. :)
leat has quit [(Ping timeout: 240 seconds)]
<srhb> Leo`: Nice :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29745: gpac: 0.5.0 -> 0.7.1 (master...gpac-update) https://git.io/vdTWG
NixOS_GitHub has left #nixos []
mudri has joined #nixos
jmsb has quit [(Ping timeout: 240 seconds)]
<sphalerite> Finally caught up… Keeping up with everything in #nixos is hard…
<srhb> Social bunch. :)
<sphalerite> and a fairly large one at that!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vdZFL
<NixOS_GitHub> nixpkgs/master e1cc156 Yegor Timoshenko: mednaffe: GTK3, correct license, find mednafen w/o patching source
<NixOS_GitHub> nixpkgs/master 45400d6 Vladimír Čunát: Merge #29958: mednaffe: GTK3, correct license, etc.
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #29958: mednaffe: GTK3, correct license, find mednafen w/o patching source (master...mednaffe/0.8.6) https://git.io/vdZsj
NixOS_GitHub has left #nixos []
jacob has joined #nixos
jacob is now known as Guest32082
rtjure has joined #nixos
<hyper_ch> so, old notebook with zfs updated
leat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdZFK
<NixOS_GitHub> nixpkgs/master 7742797 Joerg Thalheim: telegraf: 1.3.0 -> 1.4.1
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vdZF1
<NixOS_GitHub> nixpkgs/master d67137d Jörg Thalheim: iwd: 2017-06-02 -> 2017-09-22
NixOS_GitHub has left #nixos []
athan has quit [(Ping timeout: 248 seconds)]
takle has joined #nixos
zarel has joined #nixos
athan has joined #nixos
phg has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
sirkha has quit [(Ping timeout: 260 seconds)]
hamishmack has joined #nixos
<sphalerite> Any zfs wizards know of a way to see what is in a snapshot that isn't in the filesystem it came from anymore, i.e. the files constituting the "used" figure for it?
<hyper_ch> sphalerite: clever is asleep and infinisil isn't here either
<sphalerite> I know, but there are other zfs wizards :)
<hyper_ch> and you're the 3rd one in my round of zfs-gurus in #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #29953: deepin-gtk-theme: init at 17.10.4 (master...new.deepin-gtk-theme) https://git.io/vdZLc
NixOS_GitHub has left #nixos []
7JTACH997 has joined #nixos
<7JTACH997> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdZFj
<7JTACH997> nixpkgs/master 03bfcd5 José Romildo Malaquias: deepin-gtk-theme: init at 17.10.4
<7JTACH997> nixpkgs/master 48eb294 Jörg Thalheim: Merge pull request #29953 from romildo/new.deepin-gtk-theme...
7JTACH997 has left #nixos []
<sphalerite> lol
<sphalerite> What I was looking for is zfs diff :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vdZbU
<NixOS_GitHub> nixpkgs/master 1908e5e Sivaram Balakrishnan: add sivteck to maintainers list
<NixOS_GitHub> nixpkgs/master 62a884e Sivaram Balakrishnan: vcstool: init at 0.1.31...
<NixOS_GitHub> nixpkgs/master 5bf2970 Orivej Desh: Merge pull request #29533 from sivteck/rosDevChan...
NixOS_GitHub has left #nixos []
jb55 has quit [(Ping timeout: 248 seconds)]
<Leo`> Hmmm... nix-collect-garbage doesn't remove everything it should...
<Leo`> I have old version of generated config files in /nix/store...
<hyper_ch> how easy is it do use i3/dwm on nixos?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29679: gnuplot: 5.0.6 -> 5.2.0 (master...update/gnuplot-5.2.0) https://git.io/vdJwo
NixOS_GitHub has left #nixos []
7JTACIAE5 has joined #nixos
<7JTACIAE5> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdZb3
<7JTACIAE5> nixpkgs/master a6c5031 mimadrid: gnuplot: 5.0.6 -> 5.2.0
<7JTACIAE5> nixpkgs/master 6ea9e0d Orivej Desh: Merge pull request #29679 from mimadrid/update/gnuplot-5.2.0...
7JTACIAE5 has left #nixos []
kungfukenny has quit [(Quit: leaving)]
<hyper_ch> Leo`: I use this to cleanup everything and remove all old stuff: https://paste.simplylinux.ch/view/11913ef3
phg has quit [(Quit: WeeChat 1.9.1)]
<Leo`> Ha, interesting.
<hyper_ch> so, time to move my zfs-test notebook from 17.09 to unstable
<hyper_ch> Leo`: you'll be left with the current generation
<hyper_ch> not sure if that's what you want
<Leo`> Yes.
<hyper_ch> then (1) make a backup and (2) try that little clean script ;)
<Leo`> Well, what I really want is removing old versions of configuration files which contains plain-text passwords for some services.
<Leo`> (The versions for the current generation do not.)
<hyper_ch> and those are in old generations, right?
<Leo`> Yes.
<Leo`> Is NixOS still able to boot from an old generation after that?
<hyper_ch> current generation is untouched... only old ones removed
<Leo`> Ok so I guess no.
<hyper_ch> so, no booting into old generations after running that
<hyper_ch> I use that to free space
<hyper_ch> I'm constantly low on available disk space
<Leo`> nix-store --optimise does not remove anything however, right?
<Leo`> For now I just ran nix-store --optimise and nix-collect-garbage.
<sphalerite> hyper_ch: I use i3 no problem
<hyper_ch> optimise shouldn't remove anything I think.. it's just hardlinking stuff if posisble I think
<Leo`> The old generations are considered root by the GC?
<sphalerite> Leo`: yep, optimise doesn't remove anything, just deduplicates. nix-collect-garbage will remove stuff that's not referenced anymore
<sphalerite> yes
<Leo`> Unless you provide -d... As far as I understand it.
<sphalerite> whoa, Riot REALLY breaks on some usernames lol
<Leo`> Ok so my old generations should still be in place right now.
<MichaelRaskin> What, ` causes shell substitution?
jellowj has quit [(Ping timeout: 258 seconds)]
<hyper_ch> sphalerite: with dwm?
<sphalerite> and -d will cause nix-collect-garbage to do two things — delete old generations for any profiles it has write access to, and then gc as normal
<Leo`> I'm not short on disk space, but I'd really like to get rid of those plain-text passwords hrmf.
hamishmack has quit [(Quit: hamishmack)]
<sphalerite> hyper_ch: i3 and dwm are mutually exclusive
<sphalerite> MichaelRaskin: haha not quite, but…
<hyper_ch> sphalerite: they are? ok..... how to get i3 running?
* sphalerite uploaded an image: 2017-10-01-104819_862x101_scrot.png (15KB) <https://matrix.org/_matrix/media/v1/download/matrix.org/zrbeOaSnZmFHDGmWyPZkgDvQ>
<sphalerite> hyper_ch: yeah dwm and i3 are both window managers, you can't run two wms at once
<Leo`> Is there a way to like... Trace all the generations/roots that lead to a file in /nix/store? And only remove those ones manually?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdZbr
<NixOS_GitHub> nixpkgs/master 2cc22ac Kirill Boltaev: xflux-gui: 2016-09-21 -> 1.1.10
<NixOS_GitHub> nixpkgs/master 2daad2f Orivej Desh: Merge pull request #29015 from aske/xflux-gui...
NixOS_GitHub has left #nixos []
<sphalerite> hyper_ch: you can do it per-user by installing i3 into your profile one way or another and then write an xsessionrc that runs that instead of whatever desktop environment you currently run
<hyper_ch> Leo`: why not remove all old generations?
phg has joined #nixos
<hyper_ch> sphalerite: and how to run it globally?
<sphalerite> Leo`: nix-store -q --roots
hamishmack has joined #nixos
<sphalerite> or you can set services.xserver.windowManager.i3.enable to make it available as an option for all users, to select at login time
<Leo`> hyper_ch: Well I'm just afraid to break something.
<sphalerite> Leo`: also I'd recommend just leaving it there and changing the password :p
<Leo`> Haha.
<Leo`> I could do that too.
<sphalerite> tilpner: btw for the bumblebee issue I found that this solves it much better than anything else I've tried https://github.com/Bumblebee-Project/Bumblebee/issues/764#issuecomment-333313341
<sphalerite> Leo`: seems sensible to me to consider any password that's been exposed in an environment that you don't want it to be exposed in as broken and needing to be changed
<Leo`> sphalerite: The server is brand new, no one but me and another user who I trust accessed it yet.
<sphalerite> But you're clearly not comfortable leaving it there.
<Leo`> Yes because I will have other users eventually. :p
<sphalerite> So changing it would probably be the best solution :)
<Leo`> It's more like a future-proofing thing.
nh2 has joined #nixos
phreedom has joined #nixos
<hyper_ch> Leo`: are you booted into the last generation?
<hyper_ch> if so, does it work alright? if so, then there's no need to keep old generations
<Leo`> I don't think so. But changes since the last boot are minimal.
<Leo`> But yeah I should maybe try rebooting first...
<hyper_ch> do that
<hyper_ch> if it reboots, and services are up fine etc...
<hyper_ch> then nuke the old generations and get rid of the password inside the config
Wizek has quit [(Quit: Connection closed for inactivity)]
<Leo`> Sounds goot.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdZbx
<NixOS_GitHub> nixpkgs/master a58120c Vladimír Čunát: ibus: hack-fix build after glib update...
NixOS_GitHub has left #nixos []
<Leo`> good*
<Leo`> Brb then.
Leo` has quit [(Quit: WeeChat 1.7.1)]
<hyper_ch> sphalerite: care to share your i3 config?
<hyper_ch> thx
<sphalerite> Not much beyond the default config, except using polybar instead of i3bar and some keyboard shortcuts
<hyper_ch> appreciated :) might give that to a new convert ;)
<hyper_ch> still no clue why anyone would not use kde
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 5 new commits to master: https://git.io/vdZNe
<NixOS_GitHub> nixpkgs/master ca5e229 Kirill Elagin: pythonPackages.livereload: 2.5.0 -> 2.5.1...
<NixOS_GitHub> nixpkgs/master d70f426 Kirill Elagin: mkdocs: Initialise at 0.16.3
<NixOS_GitHub> nixpkgs/master fa2adc6 Joerg Thalheim: mkdocs: run tests
NixOS_GitHub has left #nixos []
<sphalerite> muscle memory for window management commands mostly
<sphalerite> and declarative config
<bennofs> kde? why would u use kde
07IAA9M5E has joined #nixos
<07IAA9M5E> [nixpkgs] Mic92 closed pull request #29943: nerdfonts: derivation is not fixed output (master...patch-68) https://git.io/vdGPY
07IAA9M5E has left #nixos []
5EXAAD3S7 has joined #nixos
<5EXAAD3S7> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vdZNv
<5EXAAD3S7> nixpkgs/master 1d7763e volth: nerdfonts: derivations is not fixed output
<5EXAAD3S7> nixpkgs/master 38cce5a Jörg Thalheim: Merge pull request #29943 from volth/patch-68...
5EXAAD3S7 has left #nixos []
07IAA9M5P has joined #nixos
5EXAAD3TD has joined #nixos
<07IAA9M5P> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdZNU
<07IAA9M5P> nixpkgs/master 812ddbf Peter Hoeg: falkon: init at 2.1.2.1
<07IAA9M5P> nixpkgs/master 8f99dc2 Orivej Desh: Merge pull request #29499 from peterhoeg/p/falkon...
07IAA9M5P has left #nixos []
<5EXAAD3TD> [nixpkgs] orivej closed pull request #29499: falkon: init at 2.1.2.1 (master...p/falkon) https://git.io/v5FJR
5EXAAD3TD has left #nixos []
<sphalerite> If I could configure KDE using nix like I do with i3, and get all my shortcuts set up the way I like them (e.g. super+3 to get to the workspace that I have my browser on, and start the browser if it's not already runnign) I could just as well use KDE
thc202 has joined #nixos
<bennofs> can kde do all the tiling that i3 can?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to release-17.09: https://git.io/vdZNk
<NixOS_GitHub> nixpkgs/release-17.09 5ac8389 volth: nerdfonts: derivations is not fixed output...
NixOS_GitHub has left #nixos []
<sphalerite> but I'm not sure if the former part is possible, and the latter part is probably possible but would involve a bunch of fiddling with settings in GUIs and be hard to reproduce, based on what Iknow about kde
<hyper_ch> :)
<hyper_ch> each one his own DE/WM
<sphalerite> bennofs: I doubt it, but I don't really use that much of i3's tiling. The furthest I usually go is a vertical split between two windows, sometimes a vertical split where the right or left-hand side is a horizontal split between two windows
<sphalerite> I think all that can be done pretty easily with kwin too
<bennofs> i recently started using scratch windows
<bennofs> for example, putting an editor window into the scratchpad allows you to quickly show/hide it with some key combo, no matter where you are
<eqyiel[m]> sphalerite: thanks for clearing that up (nix-repl thing)!
<sphalerite> np :)
mudri has quit [(Ping timeout: 240 seconds)]
mortum5 has joined #nixos
takle has quit [(Remote host closed the connection)]
<sphalerite> hyper_ch: also plasma takes long to start
<sphalerite> takes like 4 seconds on my pretty powerful laptop
takle has joined #nixos
<hyper_ch> long? what are 4 seconds during the course of 15-20bn years ;)
<hyper_ch> (I know)
<sphalerite> i3 is up imperceptibly quickly :)
<hyper_ch> are you one of those rare people who actually poweroff the notebook?
<hyper_ch> I noticed with 2x external screens attacked, plasma does take quite a bit longer than just with notebook display
<sphalerite> no
<sphalerite> but I do reboot occasionally, and I log out of the account that I use plasma on frequently
<sphalerite> (I use i3 on my main account and plasma on my games/proprietary software account)
<hyper_ch> logout? why?
<hyper_ch> ah ok
<hyper_ch> can't you use games and proprietary stuff on i3?
<sphalerite> I can, but I don't want to let that stuff into my main user account htat has access to all my precious data
<sphalerite> I have no particular reason to prefer plasma for it
takle has quit [(Ping timeout: 248 seconds)]
<sphalerite> I just used it mainly because I wanted to try it
<hyper_ch> :)
<sphalerite> I do like how shiny it is :p
<hyper_ch> everybody loves shiny things
mudri has joined #nixos
<sphalerite> why does steam need to build mono from source?
iyzsong has joined #nixos
<hyper_ch> why does using vbox extension package require vbox built from source :)
<hyper_ch> it's just as things are
<srhb> This was not always the case for Steam though
<hyper_ch> no idea :)
<sphalerite> hyper_ch: because the extension pack is proprietary software and legally can't be distributed something something
<sphalerite> hyper_ch: mono is free software and should be fine
<hyper_ch> sphalerite: still doesn't force to recompile it all
<hyper_ch> on other systems you just download the ext package
<hyper_ch> and open it with vobx
<hyper_ch> no compiling required
<srhb> It's not the same issue at all.
<sphalerite> I don't know how it works
<hyper_ch> I really need to gcj patch in unstable :(
Leo` has joined #nixos
<Leo`> Re.
<Leo`> Hmmm.
<Leo`> I really should fix that firewall issue...
<hyper_ch> what issue?
<hyper_ch> you know you can put firewall rules into the configuration.nix
<Leo`> So. When I booted up the server into the current configuration, everything worked fine except... The firewall would reject all incoming connections, even on opened ports.
<Leo`> No idea why.
<Leo`> So I live-booted a rescue system, chrooted in it, disabled the firewall, and rebooted and voilà.
<hyper_ch> configuration.nix or I won't believe it
<Leo`> And now if I enable the firewall again it works just fine.
<Leo`> Except that every now and then it starts dropping incoming connections again until I just restart firewall.service.
<Leo`> It's pretty weird...
<hyper_ch> configuration.nix or I won't believe it
<Leo`> The only firewall-related lines are:
<Leo`> networking.firewall.enable = false;
<Leo`> networking.firewall.allowedTCPPorts = [ 22 110 80 443 53 1194 995 ];
<Leo`> networking.firewall.allowedUDPPortRanges = [ { from = 60000; to = 61000; } ];
<Leo`> networking.firewall.allowedUDPPorts = [ 53 88 1194 995 ];
<hyper_ch> why enable false?
<Leo`> Well right now it's false because I disabled it in order to be able to log in again.
<Leo`> But before that it was true.
<Leo`> │10:34:01 Leo` | So I live-booted a rescue system, chrooted in it, disabled the firewall, and rebooted and voilà.
ebzzry_ has quit [(Ping timeout: 248 seconds)]
<sphalerite> srhb: oooh I think it might be because it's 32-bit
<hyper_ch> well, that should work
<Leo`> Yes it should...
<hyper_ch> also considered to add firewall.allowPing = true;
<sphalerite> Anyone know about what decides what gets built for i686 by hydra? It would be useful to add mono to that
<sphalerite> Leo`: networking.firewall.rejectPackets = true;
<sphalerite> because debugging packet-dropping firewalls is a nightmare
<TimePath> sphalerite: you could probably sudo to the other user to run your proprietary things
<sphalerite> TimePath: but then they have access to my X
<TimePath> oh right, and X "by design" allows keylogging
<sphalerite> TimePath: also keeping them in distinct sessions helps keep me focused on what I'm actually doing :p
<Leo`> This is the generated firewall-start script.
<Leo`> It looks fine...
<hyper_ch> I feel a "but" coming :)
<Leo`> Well idk.
<Leo`> Something must be wrong...
MarcelineVQ has quit [(Ping timeout: 240 seconds)]
<Leo`> Could it have something to do with containers...? Since they share the host network namespace? That'd be weird but...
Leo` has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] uvNikita opened pull request #29980: 17.09 release notes: fix typo (master...patch-1) https://git.io/vdZAs
NixOS_GitHub has left #nixos []
Leo` has joined #nixos
<Leo`> Oops.
<Leo`> Killed the wrong container.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5ac838927e (from 48 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
hotfuzz_ has joined #nixos
hotfuzz has quit [(Ping timeout: 248 seconds)]
<Leo`> I. Don't. Understand. Pfeww.
JosW has joined #nixos
oida_ has joined #nixos
07IAA9ODN has joined #nixos
<07IAA9ODN> [nixpkgs] orivej pushed 5 new commits to master: https://git.io/vdZxz
<07IAA9ODN> nixpkgs/master d943f68 Orivej Desh: botocore: 1.5.71 -> 1.7.20
<07IAA9ODN> nixpkgs/master 4ae5050 Orivej Desh: boto3: 1.4.4 -> 1.4.7
<07IAA9ODN> nixpkgs/master 156c479 Orivej Desh: tiros: 1.0.38 -> 1.0.39
07IAA9ODN has left #nixos []
5EXAAD46I has joined #nixos
<5EXAAD46I> [nixpkgs] orivej closed pull request #28740: awscli: 1.11.108 -> 1.11.162 (master...awscli-1.11.142) https://git.io/v5CcI
5EXAAD46I has left #nixos []
koserge has joined #nixos
deepfire has joined #nixos
oida has quit [(Ping timeout: 258 seconds)]
mp6 has quit [(Quit: WeeChat 1.7.1)]
<sphalerite> heh, plugging in my usb3 hub/network adapter still causes everything to freeze and the capslock light to start blinking
<sphalerite> oh hey there's actually something almost useful in the journal
<sphalerite> kernel bug, yay!
<gchristensen> ouch
* sphalerite tries linuxPackages_latest
<gchristensen> sphalerite: a blinking caps lock means your kernel panicked
mog has quit [(Quit: im quiting!)]
<aanderse> 17.09 final out? if so... anyone having issues with steam this morning?
<sphalerite> gchristensen: yeah, the journal says there was a null pointer deref
<sphalerite> gchristensen: latest kernel seems to work though
<gchristensen> nice
<sphalerite> aanderse: I was running steam just 5min ago just fine, on 17.09
<hyper_ch> aanderse: it's not officially out
<aanderse> hyper_ch: ok, thanks
<aanderse> sphalerite: i'm running 17.09 and just got this fun: mkdir: cannot create directory ‘/nix/store/2ba7iv5swbnnciiyr4gaah555r86kyj9-steam-fhs/steamrt/pinned_libs_64’: Read-only file system
<sphalerite> aanderse: I seem to remember seeing that somewhere but I don't remember what the fix was :(
<hyper_ch> read only fs... that doens't bode well
<sphalerite> no, that's correct for the nix store
<hyper_ch> well, I thought he got that while upgrading
erictapen has joined #nixos
* aanderse tries the renaming steam directory from Steam to Steam.bak fix -_-
takle has joined #nixos
<sphalerite> Now I can finally play games on a wired connection, whoop whoop
<aanderse> running steam its just sitting here now... trying to install :\
_c_ has joined #nixos
mog has joined #nixos
infinisil has joined #nixos
<aanderse> sphalerite: what video driver are you running?
aanderse has quit [(Remote host closed the connection)]
<sphalerite> aanderse: nvidia proprietary :(
aanderse has joined #nixos
andymandias has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
andymandias has joined #nixos
<aanderse> yeah... maybe kernel or video driver updated or something
<aanderse> just needed to reboot
ericsagnes has quit [(Ping timeout: 252 seconds)]
ericsagnes has joined #nixos
rtjure has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
iyzsong has quit [(Ping timeout: 258 seconds)]
rtjure has joined #nixos
Itkovian has quit [(Client Quit)]
iyzsong has joined #nixos
Itkovian has joined #nixos
b has joined #nixos
vandenoever has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vdZja
<NixOS_GitHub> nixpkgs/master a2ce4f2 Nikita Uvarov: 17.09 release notes: fix typo
<NixOS_GitHub> nixpkgs/master aa699c2 Vladimír Čunát: Merge #29980: 17.09 release notes: fix typo
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vdZjV
<NixOS_GitHub> nixpkgs/release-17.09 bc50ca6 Vladimír Čunát: Merge #29980: 17.09 release notes: fix typo...
NixOS_GitHub has left #nixos []
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f1e1046f92 (from 67 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
Kingsquee has quit [(Quit: https://i.imgur.com/qicT3GK.gif)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #29980: 17.09 release notes: fix typo (master...patch-1) https://git.io/vdZAs
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
Leo` 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/vdne3
<NixOS_GitHub> nixpkgs/master baa7e39 Jan Tojnar: gnome3.nautilus: add thumbnailers...
<NixOS_GitHub> nixpkgs/master aebdc89 Graham Christensen: Merge pull request #29970 from jtojnar/nautilus-thumbnailers...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to release-17.09: https://git.io/vdneG
<NixOS_GitHub> nixpkgs/release-17.09 d950bab Jan Tojnar: gnome3.nautilus: add thumbnailers...
NixOS_GitHub has left #nixos []
phg has quit [(Ping timeout: 246 seconds)]
ShalokShalom_ has joined #nixos
<jtojnar> thanks gchristensen for merging the PRs
<jtojnar> found another thumbnailers issue with gnome-control-center
ShalokShalom has quit [(Ping timeout: 255 seconds)]
iyzsong has quit [(Ping timeout: 248 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen> jtojnar: oh? :)
<jtojnar> you cannot choose custom file as a profile picture because without thumbnailer, it does not recognize it as a picture
Itkovian has joined #nixos
<gchristensen> oh nice
goibhniu has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #29983: gnome3.gnome_control_center: fix thumbnailers path (master...gnome-control-center-thumbnailers) https://git.io/vdne9
NixOS_GitHub has left #nixos []
Leo` has joined #nixos
<jtojnar> works nice
johnsonav has quit [(Ping timeout: 246 seconds)]
Itkovian has joined #nixos
iyzsong has joined #nixos
acarrico has joined #nixos
nh2 has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<Leo`> Ok, so I think I found the source of the firewall problem (cc hyper_ch).
<Leo`> I have a container which runs an OpenVPN server, and because of that it must have the NET_ADMIN capability.
<hyper_ch> between keyboard and chair?
<Leo`> So on boot, it sets its own firewall rules (which are set to the default values), but since it has NET_ADMIN, it replaces the rules for the host as well.
<hyper_ch> :)
<Leo`> The solution is giving it a privateNetwork = true, I guess.
<Leo`> (Or, giving it the same firewall config, idk...)
<Leo`> (The latter has the advantage of not having to write even more routing rules...)
<iMatejC> hyper_ch: what if he is using a standup desk
<iMatejC> ?
<Leo`> she*
<iMatejC> sorry
<Leo`> NP. :)
<hyper_ch> iMatejC: pebkaw [wall]
<Leo`> Pebkaf? (Floor.)
eacameron has quit [(Ping timeout: 255 seconds)]
<hyper_ch> I doubt leo is outside, so there's a wall somewhere
<Leo`> Actually I'm sitting on a chair.
<hyper_ch> so pebkac :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
S0rin has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 246 seconds)]
Leo` has quit [(Quit: WeeChat 1.7.1)]
S0rin has joined #nixos
Leo` has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Leo`> Okay. Problem solved.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #29984: librsvg: fix thumbnailer path (master...librsvg-thumbnailer) https://git.io/vdnvy
NixOS_GitHub has left #nixos []
<Leo`> Now getting back to: deleting old generations.
katyucha has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
<hyper_ch> either delete them or not
<Leo`> Currently deleting.
oida has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] makefu opened pull request #29985: fix build for proot on aarch64 (master...pkgs/proot/aarch64-fix) https://git.io/vdnfJ
NixOS_GitHub has left #nixos []
<gchristensen> hyper_ch: please don't be a pain
Arcaelyx_ has joined #nixos
phreedom has quit [(Ping timeout: 248 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Arcaelyx has quit [(Ping timeout: 240 seconds)]
oida_ has quit [(Ping timeout: 248 seconds)]
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
Itkovian has joined #nixos
fritz09 has joined #nixos
<fritz09> hi
Fare has joined #nixos
<fritz09> I’ve booted with the latest graphical image, followed the instalation guide and want to install nixos but I get “copy-from-other-stores.pl: warning the group ‘nixbld’ specified in ‘build-users-group’ does not exists”
<fritz09> do I need to add the group to configuartion.nix? or does the group is missing in the image?
JosW has quit [(Quit: Konversation terminated!)]
Yotam_ has joined #nixos
<makefu> fritz09: sounds like a bug in the installer to me
<fritz09> so I download the previous release and update after installation
<makefu> yes this may work
<fritz09> @makefu: is there a way to add the missing group in the running system?
<makefu> you can add new groups, yes
<Yotam_> Can I add options like tab width to my emacs.nix? if so is there a list somewhere with all of the options?
<Leo`> fritz09: I had this issue when installing from a non-Nix live image. I just dynamically added a group nixbld and a user nixbld0 in this group, and as far as I can tell it worked properly.
<Leo`> Added on the live image, I mean.*
<Leo`> Not on the NixOS system being installed.
<Leo`> So yeah, basically, from the live image, run addgroup and adduser.
<fritz09> @Leo`: thanks I will try that
<Leo`> It should work.
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vdnJt
<NixOS_GitHub> nixpkgs/master d0fbe1b Peter Simons: hackage-packages.nix: automatic Haskell package set update...
<NixOS_GitHub> nixpkgs/master b92f590 Peter Simons: haskell-hspec-core: enable test suite again
NixOS_GitHub has left #nixos []
<shlevy> fpletz: ping
<fritz09> “useradd: cannot deterime your username”
<fritz09> same with groupadd
<gchristensen> what's up shlevy?
* gchristensen is about to head out
<shlevy> gchristensen: Was going to ask fpletz how he's using kanboard ;)
<gchristensen> oh I was hoping for news :P
<fritz09> after a reboot the group exists
peacememories has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d950babd0e (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<ee1943> any reason why clang is unusable from the command line but not from nix-shell?
<ee1943> i.e. the famous header search path issue
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jtojnar has quit [(Read error: Connection reset by peer)]
<Leo`> ee1943: nix-shell sets additional environment variables.
jtojnar has joined #nixos
<Leo`> Typically, in that case, the path to the standard includes and libs and all.
<Leo`> paths*
<Leo`> nix-env just creates symlinks AFAICT.
<orivej> ee1943: unusable how?
<ee1943> orivej: clang doesn't have the search paths it should, so it fails to find simple headers like iostream, stdio.h, etc
<shlevy> Hmm how are you installing clang?
<ee1943> Leo`: what's the problem with enabling those paths for the regular shell too?
ixxie has quit [(Ping timeout: 258 seconds)]
<Leo`> ee1943: I don't know.
<shlevy> Yeah, looks like 'nix-env -i clang' installs the *unwrapped* clang
<ee1943> shlevy: I've tried basically all of the packages... clang, llvmPackages.libcxxClang etc
<shlevy> You want nix-env -iA nixpkgs.clangUnwrapped
<ee1943> just dropping it in my configuration.nix
<shlevy> erm, never mind
<shlevy> Ah, OK
<shlevy> I wrote the wrong one in that command too :D
<shlevy> bizarre
<ee1943> :)
<shlevy> Lemme test
<ee1943> sure :)
<ee1943> I've noticed a couple issues related to this in the issue tracker but they seem to be resolved. Not sure what's going on over here
<ee1943> on the nixos-unstable channel FWIW
<shlevy> Hmm it just worked for me
<shlevy> did nix-build -A clang
<shlevy> And then used the resulting clang to compile hello world
<shlevy> what does: readlink -f $(which clang) give you?
<shlevy> ee1943: ^
Arcaelyx_ has quit [(Read error: Connection reset by peer)]
Arcaelyx has joined #nixos
<globin> shlevy: hmm we should probably highPrio the wrapped clang if this is the case
<shlevy> globin: Yes, we should :)
<orivej> ee1943: currently clang wrapper does not include all the necessary search paths. I believe this was done because clang needs different paths in different contexts (e.g. building with libstd++ vs libc++). However, standalone clang should be supported.
<orivej> You can work around this by exporting NIX_x86_64_unknown_linux_gnu_CFLAGS_COMPILE="-I/run/current-system/sw/include -I/run/current-system/sw/include/c++/6.4.0 -I/run/current-system/sw/include/c++/6.4.0/x86_64-unknown-linux-gnu"
<ee1943> shlevy: /nix/store/64il1sbnzdgrv1bjz6xb30j0hg9ffm48-clang-wrapper-4.0.1/bin/clang
<shlevy> OK you're using the wrapper...
<ee1943> when clang is installed thru configuration.nix
<orivej> Currently nix addes the bits missing from the wrapper here: https://github.com/NixOS/nixpkgs/pull/28998/files#diff-3e4b92056be5feba77b1863ad5bbd91e
<ee1943> using this I can check what it's search paths are: echo | clang++ -x c++ -v -E - 2>&1 | sed -n '/^#include </,/^End/s|^[^/]*\([^ ]*/include[^ ]*\).*$|-I\1|p'
<ee1943> gives this: -I/nix/store/gki57jw28jgrd54qjbc44p5rng4vckan-clang-4.0.1/bin/../lib/clang/4.0.1/include
<ee1943> -I/nix/store/zsfnlmvw8k7akg1s0ypdy5jd1kq0d8hn-glibc-2.25-49-dev/include
nh2 has joined #nixos
<shlevy> Ah so is it just C++ libs missing?
<orivej> yes
<shlevy> You mentioned stdio :)
<sphalerite> Celebrated the usb-c hub working too soon...
<sphalerite> Don't know what happened but anything IP-related started hanging
<shlevy> globin: Honestly though I'd rather we jsut stopped pretending nix-env -i by-name is a sane way to use the tool :P
<sphalerite> Including stuff like ip a :(
<dtzWill> hmm, can confirm re:not working when installed vs nix-shell re:clang c++ headers
<sphalerite> shlevy: ++
<ee1943> orivej: I see, that's interesting
<ee1943> shlevy: well the problem is that g++ shows this: -I/nix/store/g65l985579ri87i8m3906a2nmyrl24a2-gcc-6.4.0/lib/gcc/x86_64-unknown-linux-gnu/6.4.0/../../../../include/c++/6.4.0
<ee1943> -I/nix/store/g65l985579ri87i8m3906a2nmyrl24a2-gcc-6.4.0/lib/gcc/x86_64-unknown-linux-gnu/6.4.0/../../../../include/c++/6.4.0/x86_64-unknown-linux-gnu
<ee1943> -I/nix/store/g65l985579ri87i8m3906a2nmyrl24a2-gcc-6.4.0/lib/gcc/x86_64-unknown-linux-gnu/6.4.0/../../../../include/c++/6.4.0/backward
<ee1943> -I/nix/store/g65l985579ri87i8m3906a2nmyrl24a2-gcc-6.4.0/lib/gcc/x86_64-unknown-linux-gnu/6.4.0/include
<ee1943> -I/nix/store/g65l985579ri87i8m3906a2nmyrl24a2-gcc-6.4.0/include
<ee1943> -I/nix/store/g65l985579ri87i8m3906a2nmyrl24a2-gcc-6.4.0/lib/gcc/x86_64-unknown-linux-gnu/6.4.0/include-fixed
<ee1943> -I/nix/store/zsfnlmvw8k7akg1s0ypdy5jd1kq0d8hn-glibc-2.25-49-dev/include
<sphalerite> And now the shutdown is hanging
<ee1943> sorry for spamming chat, I'll throw those into a pastebin
<shlevy> ee1943: Yes, orivej's explanation is right there
<globin> shlevy: ack, but that's hopefully over soon with nix 1.12
<ee1943> so the solution for now is to export that env var?
b has quit [(Quit: leaving)]
<shlevy> ee1943: Yes, I believe so
<ee1943> is there an issue I can track to so if this'll be fixed?
<ee1943> should I open one up?
<orivej> ee1943: AFAIC this is is not reported, but it is known. there is related issue https://github.com/NixOS/nixpkgs/issues/29877
katyucha has joined #nixos
<ee1943> already subbed to that one :)
<ee1943> thanks for all your help guys :)
<ee1943> gcc works fine, mostly wanted this so that tools like irony/rtags could use clang properly
phg has joined #nixos
S0rin has quit [(Ping timeout: 258 seconds)]
iyzsong has quit [(Ping timeout: 248 seconds)]
<orivej> ee1943: Could you mention this in #29877? I'd appreciate a way to reproduce it, since I'm not familiar with rtags.
S0rin has joined #nixos
<ee1943> Sure, I'll get on it right away
<Leo`> Did anyone write a command-line interface to https://nixos.org/nixos/options.html# yet?
<Leo`> That'd be so handy.
<infinisil> nixos-option?
<Leo`> Just saw that. But it's not possible to search by option name, is it?
<infinisil> i use man configuration.nix for that
<Leo`> Oh.
<Leo`> That'll do.
<infinisil> Also you can do nix-instantiate --eval '<nixpkgs/nixos>' -A options.boot.loader.systemd-boot.enable.description
<infinisil> or config.boot.loader.systemd-boot.enable to get its value
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
peacememories has joined #nixos
<ee1943> orivej: I've made a comment on that issue detailing the problem
<ee1943> honestly the repro is basically just a hello world problem, since the issue hinges on clang not being able to find the system headers at all. If it can find the headers, the problem goes away
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vdnkY
<NixOS_GitHub> nixpkgs/master dd200f8 Jan Tojnar: librsvg: fix thumbnailer path...
<NixOS_GitHub> nixpkgs/master 598800d Vladimír Čunát: Merge #29984: librsvg: fix thumbnailer path
NixOS_GitHub has left #nixos []
<orivej> ee1943: Thank you. An important question is how clang should find the headers. For example if we properly wrap clang, it will work, but not the tools that parse with libclang.
Yotam_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #29984: librsvg: fix thumbnailer path (master...librsvg-thumbnailer) https://git.io/vdnvy
NixOS_GitHub has left #nixos []
<ee1943> orivej: how so? I figured that if clang can find all the headers, then all of the libclang clients could too since libclang is basically just a API for clang
<ee1943> i apologize if I'm completely wrong. I only have a cursory understanding of how clang et al integrate with nix
grumble has quit [(Quit: me)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<orivej> libclang does run clang, it's more clang "runs" libclang
<orivej> oops, libclang DOESN't run clang
grumble has joined #nixos
<orivej> so, our clang wrapper adds additional arguments for clang, clang parses them and invokes code from libclang. clang without libclang is basically just a command line parser. AFAIK the only generic way to add search paths to libclang is to recompile it.
<jtojnar> how much rebuilds is a mass rebuild?
<LnL> I think making libcxx first class (similar to libc) in the cc-wrapper it the correct way to solve this
<infinisil> jtojnar: see how pretty much every package in nixpkgs uses mkDerivation? When stdenv changes (where mkDerivation comes from), such as the setup.sh script, that's a mass rebuild
darlan has joined #nixos
<sphalerite> infinisil: but other stuff can be considered a mass rebuild too even if it's not stdenv
<sphalerite> infinisil: like the python interpreter
<infinisil> Yeah
<infinisil> or the same with other language modules, such as haskell
mortum5 has quit [(Ping timeout: 248 seconds)]
<ee1943> orivej: I see. That's a bummer.
darlan has quit [(Client Quit)]
fritz09 has quit [(Quit: fritz09)]
<jtojnar> I was asking because of the change in librsvg, which is a dependency of wrapGAppsHook and will rebuild ~500 derivations. Apparently that is not considered a mass rebuild.
<infinisil> why not?
<infinisil> that seems pretty massy to me
Otis has joined #nixos
<jtojnar> infinisil: no idea https://github.com/NixOS/nixpkgs/pull/29984
<orivej> ee1943: yes, but we can (1) build multiple libclang's, each with enough search paths to compile c++, (2) patch libclang to respond to a certain environment variable, and wrap every program that links with libclang (clang, probably rtags) such that it initializes that variable with proper search paths
<infinisil> Well, there is no strict definition of a 'mass rebuild', it's a spectrum, and this is somewhere inbetween
<sphalerite> Yeah I'd consider it a mass rebuild too but ¯\_(ツ)_/¯
<ee1943> orivej: suppose option 2 is selected. rtags and irony now work fine, but wouldn't compiling a project from the command line still fail?
<ee1943> * regular command line, not nix-shell or anything
<orivej> ee1943: clang will be wrapped in the same way
cfricke has joined #nixos
<orivej> LnL: I agree that first class libcxx is good, but will account only for clang, not for libclang linked to other programs (include-what-you-use, rtags)
<ee1943> orivej: I see. That seems like a good solution
JosW has joined #nixos
Itkovian has joined #nixos
<LnL> fixing just libclang won't help for other nix dependencies, I think those projects need a wrapper similar to our cc-wrapper
<LnL> dtzWill: ping
Fare has quit [(Ping timeout: 264 seconds)]
<orivej> LnL: unless we imlement the whole cc-wrapper as a patch for libclang :)
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
jensens has joined #nixos
peacememories has quit [(Client Quit)]
<mguex> argh...the rust/cargo situation in nixpkgs is really annoying
moet has joined #nixos
<srhb> mguex: What's wrong with it? I was about to dive in earlier, but another project stole my time.
<srhb> (dive into Rust, not the Nix ecosystem around Rust)
<orivej> LnL: This is half joking, because I don't think that other programs that link to libclang need the full functionality of cc-wrapper. I expect that projects that use cmake and pkg-config will be satisfied when libclang can compile standard c++ .
moet has quit [(Client Quit)]
<srhb> mguex: So, outdated?
jensens has quit [(Ping timeout: 258 seconds)]
moet has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/5ac838927e (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<LnL> orivej: could be, I just know that rtags won't find dependencies in a nix-shell unless you generate a json file based on NIX_FLAGS_COMPILE
<mguex> srhb: yes
koserge has quit [(Ping timeout: 258 seconds)]
deepfire has quit [(Ping timeout: 258 seconds)]
<mguex> a lot of crates fail to build
<srhb> Yeah, I was under the impression that most people use the Mozilla overlay.
<moet> hi nixos, i run a fairly low-powered machine (~1ghz cpu, 1gb ram) .. is this below the requirements for nixos, or are there configuration changes i can make to keep linux snappy?
<srhb> moet: It's mostly about what applications you run, not which distro you choose.
<srhb> I've never tried with anything that slow, it might be a bit tough if you're intending to run a graphical environment on it
<moet> srhb: i was thinking about defaults of the kernel vm system and whatnot, but .. i'm currently running firefox and irssi, lol
jensens has joined #nixos
<moet> fwiw, firefox isn't running any javascript most of the time
hc_ has joined #nixos
<orivej> LnL: right. at least those who can and do use clang outside nix-shell will be happy because there is no NIX_CFLAGS_COMPILE there. I would have been one of them when I worked on a C++ project and used include-what-you-use.
hc has quit [(Ping timeout: 258 seconds)]
moet has quit [(Quit: leaving)]
eacameron has joined #nixos
hc_ has quit [(Ping timeout: 258 seconds)]
hc has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has quit [(Ping timeout: 248 seconds)]
hc_ has joined #nixos
hc has quit [(Ping timeout: 240 seconds)]
nh2 has quit [(Quit: Leaving.)]
nh2 has joined #nixos
sivteck has joined #nixos
goibhniu has quit [(Ping timeout: 255 seconds)]
<hyper_ch> clever: back again?
nh2 has quit [(Client Quit)]
nh2 has joined #nixos
<jtojnar> could someone tag this as gnome? https://github.com/NixOS/nixpkgs/issues/29955
Itkovian has joined #nixos
moet has joined #nixos
iqubic has joined #nixos
nh2 has quit [(Client Quit)]
<MichaelRaskin> topic: gnome3?
erictapen has quit [(Ping timeout: 258 seconds)]
<jtojnar> MichaelRaskin: yes, pleas
<jtojnar> thank you
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
moet has quit [(Ping timeout: 248 seconds)]
sigmundv_ has joined #nixos
sivteck has quit [(Quit: Buhbye)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #29988: tig: 2.2.2 -> 2.3.0 (master...pr/tig-2.3.0) https://git.io/vdnqS
NixOS_GitHub has left #nixos []
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdnmY
<NixOS_GitHub> nixpkgs/master e4615f8 Yann Hodique: tig: 2.2.2 -> 2.3.0
<NixOS_GitHub> nixpkgs/master 45ffca6 Orivej Desh: Merge pull request #29988 from sigma/pr/tig-2.3.0...
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
callmecabman has quit [(Quit: leaving)]
<hyper_ch> clever, got some more questions about zfs if you have some time
iqubic has quit [(Ping timeout: 260 seconds)]
nh2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] JohnMHarrisJr opened pull request #29989: kore: init at 2.0.0 (master...master) https://git.io/vdnYq
NixOS_GitHub has left #nixos []
jb55 has joined #nixos
iqubic has joined #nixos
nh2 has quit [(Ping timeout: 248 seconds)]
Arcaelyx_ has joined #nixos
jb55 has quit [(Ping timeout: 258 seconds)]
<iqubic> infinisil: I'm having a little trouble with your postFetchHook. http://dpaste.com/28XP3A1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma closed pull request #27861: bazel: 0.4.5 -> 0.5.3 (master...pr/bazel-0.5.3) https://git.io/v7EQf
NixOS_GitHub has left #nixos []
<iqubic> That' my nix expression currently.
jellowj has joined #nixos
<iqubic> And "nixos-rebuild test" is telling me that repo is an undefined variable in the postFetchHook.
Arcaelyx has quit [(Ping timeout: 260 seconds)]
<sphalerite> iqubic: I think what you need is to escape the ${}s
<sphalerite> put two single quotes in front of the $ like ''${repo}
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
<hyper_ch> nixos-unstable hasn't been updated for 3d while all other channels have
Arcaelyx has joined #nixos
Arcaelyx_ has quit [(Ping timeout: 246 seconds)]
darlan has joined #nixos
darlan has quit [(Client Quit)]
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 255 seconds)]
sigmundv_ has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] sigma opened pull request #29990: bazel: 0.5.4 -> 0.6.0 (master...pr/bazel-0.6.0) https://git.io/vdnOp
NixOS_GitHub has left #nixos []
iqubic has quit [(Ping timeout: 260 seconds)]
ixxie has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #29992: glusterfs service: fix issues with useRpcbind (master...glusterfs-rpcbind) https://git.io/vdn3W
NixOS_GitHub has left #nixos []
zraexy has quit [(Ping timeout: 258 seconds)]
jellowj has quit [(Ping timeout: 246 seconds)]
Fare has joined #nixos
erictapen has quit [(Ping timeout: 258 seconds)]
Yotam_ has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
Yotam_ has quit [(Client Quit)]
zzamboni has joined #nixos
zzamboni1 has joined #nixos
zzamboni has quit [(Read error: Connection reset by peer)]
JohnMH has joined #nixos
<tilpner> sphalerite - So booting with acpi_rev_override=5 doesn't require turning on the GPU before starting X?
zarel has quit [(Quit: Leaving)]
<sphalerite> tilpner: yep
<hyper_ch> sphalerite: my zfs expert.... :) encountered a problem :)
<tilpner> sphalerite - Nice! I'll try that on the next reboot :)
<sphalerite> seems to vary across hardware though so YMMV
<sphalerite> hyper_ch: did you now
<hyper_ch> yes :)
<sphalerite> "Run nix-store --optimise in case you really need some a bit of space. It is a lengthy operation, and after multiple-outputs PR landing, it became less useful. " how does multiple-outputs affect --optimise?
<hyper_ch> I was working with snapshots... so I did zfs send pool1/dataset@snapshot1 | zfs receive pool2/dataset@snapshot1 -- that worked fine. So I tried to send a second snapshot: zfs send pool1/dataset@snapshot2 | zfs receive pool2/dataset@snapshot2 -> but I got: cannot receive new filesystem stream: destination 'pool2/dataset' exists must specify -F to overwrite it..... so how can I send subsequent snapshots then?
sivteck has joined #nixos
sivteck has quit [(Client Quit)]
<LnL> you can send the incremental changes from snapshot1 to snapshot2
<hyper_ch> LnL: what's what I tried... but can I do that
<LnL> hyper_ch: zfs send -i snapshot1 pool2/dataset@snapshot2 | ssh foo zfs recv pool2/dataset
<LnL> IIRC
<hyper_ch> -i snapshot1
<hyper_ch> that seems to work....
<hyper_ch> will take a while
JagaJaga has joined #nixos
<hyper_ch> but how would I do that programmatically.... hmmm
<hyper_ch> still so much to learn :)
sivteck has joined #nixos
sivteck has quit [(Client Quit)]
sivteck has joined #nixos
<clever> hyper_ch: just woke up
<hyper_ch> you slept this long? oO
endformationage has joined #nixos
solenodic has joined #nixos
<solenodic> is there a way I can install one package from the unstable channel
<solenodic> on a stable system?
<MichaelRaskin> Many of them…
<LnL> ofcorse
<solenodic> awesome, how?
<hyper_ch> *magic*
<solenodic> google and docs are not helping
<LnL> do you want to install it in the system or user profile?
<MichaelRaskin> I would just git checkout the desired revision and do … -f /path/to/unstable/nixpkgs
<solenodic> LnL: system
<MichaelRaskin> Then (with unstable_nipkgs = import /path/to/unstable/nixpkgs {}; package_name)
<lluchs> sphalerite: yeah I installed NixOS on my new laptop a while ago after your recommendation :)
python476 has joined #nixos
<solenodic> ah
<sphalerite> lluchs: nice! Enjoying it?
<LnL> solenodic: you can ignore the overlays part
<solenodic> yeah
<solenodic> anyways. enjoying how pleasant everything is in nixOS
<solenodic> it's a lot to learn but everything makes sense
<lluchs> sphalerite: I like it, although it's often a lot of work compared to other distributions
<lluchs> like if you find an issue with some package, you'll probably have to fix it yourself
<sphalerite> yeah
<lluchs> but it's cool how easy it is to contribute stuff to nixpkgs
<gchristensen> lluchs: hopefully you find it easier to fix it yourself with nixos than other distros
<solenodic> gchristensen: it sure is less pleasant to edit archlinux PKGFILES
<gchristensen> or fix .deb's
<lluchs> gchristensen: it often is, but on the other hand, a lot of issues happen because of how NixOS works
<gchristensen> yeah
<sphalerite> because of bad assumptions made by other software* ;)
<gchristensen> that said, I think Nix has saved me more headache than caused me
<gchristensen> (YMMV)
<sphalerite> ^
<sphalerite> SO much
<MichaelRaskin> The best part is that it makes easier to shuffle the real headaches around.
<LnL> yeah, I think it makes a bunch of stuff slightly harder but other stuff just trivial
<MichaelRaskin> As in, an upgrade got bad, rollback, think later.
<gchristensen> yeah
<gchristensen> to both of those, MichaelRaskin & LnL
<MichaelRaskin> While with Debian or Fedora — fix it now or LibreOffice won't start until you fix it.
<MichaelRaskin> (Also, a lot of time I say «convert 1 sanity point of sanity damage into 1 GiB of wasted HDD space»)
<solenodic> LnL: hmm, "error: file ‘nixpkgs-unstable’ was not found in the Nix search path"
<solenodic> am I supposed to reload $NIX_PATH somehow
<solenodic> after running the command to add unstable channel
<LnL> did you add and update your channels?
<solenodic> ah
_ris has joined #nixos
<solenodic> sudo nix-channel --update nixos-unstable?
<solenodic> will try that
<LnL> yeah, I should add update to that gist
<dtzWill> lmao "convert 1 point of sanity damage into 1 GiB of wasted HDD space" ♥
bennofs has quit [(Ping timeout: 264 seconds)]
<dtzWill> so true
<gchristensen> MichaelRaskin: I will gladly buy hundreds of sanity points
<solenodic> that didn't do the magic actually
<solenodic> let me try
<solenodic> nixos-rebuild switch --upgrade
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 closed pull request #29541: llvm: init 5.0 (master...update/llvm-5.0) https://git.io/v5NOp
NixOS_GitHub has left #nixos []
<MichaelRaskin> gchristensen: well, it only works in the form of saving-throw defense, stockpiling is complicated.
<solenodic> hmm... what am I missing
<MichaelRaskin> Well, you can always go the explicit way with git checkouts.
<solenodic> okay so running `nix-channel --update` without "nixos-unstable" at the end
<solenodic> downloaded a new file that wasn't downloaded before
<solenodic> so I think it will do the trick
<MichaelRaskin> Of course, git checkout takes a bit more space than a channel snapshot…
<solenodic> yep
<solenodic> thanks LnL
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/vdnnt
<NixOS_GitHub> nixpkgs/release-17.09 c3176ee Will Dietz: llvm: init 5.0...
NixOS_GitHub has left #nixos []
<gchristensen> MichaelRaskin: I know :( limitations apply. the system I upgraded yesterday was interesting in that in order to handle a mass rebuild, I had to disable almost all the services, rebuild, GC, update the channel, rebuild, GC, enable the services, rebuild
<gchristensen> replacing that system's 8GB / with a 500GB / only bought probably 50-75 sanity points
nckx has quit [(Quit: Restarting my GuixSD server — https://gnu.org/s/guix)]
<MichaelRaskin> Yes, going low on space starts actually dealing sanity damage with Nix.
nckx has joined #nixos
<hyper_ch> how will you ever fill 500GB if 8GB was sufficient
<MichaelRaskin> And the answer is «in three months».
<gchristensen> that is why I got it :)
<hyper_ch> aren't you a it pessimistic?
<MichaelRaskin> No, it is called «nonlinear pricing»
hc has joined #nixos
hc_ has quit [(Ping timeout: 258 seconds)]
hc has quit [(Ping timeout: 255 seconds)]
solenodic has quit [(Quit: WeeChat 1.7.1)]
<gchristensen> when you get new resources, new uses crop up
hc has joined #nixos
zzamboni1 has quit [(Ping timeout: 240 seconds)]
<sphalerite> lluchs: just saw ocmapgen, yay Rust!
gandreani has joined #nixos
Ivanych has quit [(Ping timeout: 255 seconds)]
<lluchs> :)
hc has quit [(Ping timeout: 248 seconds)]
hc has joined #nixos
JagaJaga has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vdncv
<NixOS_GitHub> nixpkgs/master 4219de0 John M. Harris, Jr: kore: init at 2.0.0
<NixOS_GitHub> nixpkgs/master 717e6ac Orivej Desh: kore: fix up
<NixOS_GitHub> nixpkgs/master 016df11 Orivej Desh: Merge pull request #29989 from JohnMHarrisJr/master...
NixOS_GitHub has left #nixos []
drakonis has joined #nixos
sigmundv_ has joined #nixos
sellout-1 has quit [(Quit: Leaving.)]
sellout- has joined #nixos
katyucha has quit [(Ping timeout: 258 seconds)]
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
sellout- has joined #nixos
sellout- has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vdncV
<NixOS_GitHub> nixpkgs/master 2784bd7 Peter Simons: haskell-json-autotype: jailbreak to fix build within LTS 9.x...
NixOS_GitHub has left #nixos []
katyucha has joined #nixos
sigmundv_ has quit [(Ping timeout: 258 seconds)]
rauno has joined #nixos
takle has quit [()]
sivteck has quit [(Quit: user missing.)]
takle has joined #nixos
silver_hook has quit [(Ping timeout: 258 seconds)]
drakonis has quit [(Quit: Leaving)]
radivarig has joined #nixos
jb55 has joined #nixos
Ivanych has joined #nixos
katyucha has quit [(Ping timeout: 246 seconds)]
kuznero has joined #nixos
<radivarig> What's the best way to find out the package path of a binary to call from config? I can get echo path with "${pkgs.coreutils}/bin/echo" which I found in an example but how to find for any package? For example 'shutdown', whereis shutdown links to /nix/store/hash..-system-path/bin, but there are many other binaries as well, and no system-path package
<hyper_ch> ls -al /run/current-system/sw/bin/echo
<hyper_ch> if it's a binary
<LnL> you can also use nix-index to what package contains the binary you're looking for
<radivarig> awesome, thanks
oida_ has joined #nixos
oida has quit [(Ping timeout: 260 seconds)]
sigmundv_ has joined #nixos
JohnMH has left #nixos ["Bye!"]
nh2 has joined #nixos
kuznero has quit [(Remote host closed the connection)]
_rvl has joined #nixos
sigmundv_ has quit [(Ping timeout: 240 seconds)]
Fendor has joined #nixos
Guest32082 has quit [(Quit: Lost terminal)]
nh2 has quit [(Ping timeout: 258 seconds)]
<bachp> Is there a way to increase the root disk of a vm that is created to run a nixos/tests test?
<LnL> I seem to recall something about disk size, but it might have been for an extra disk
<disasm> how can I have a nixos module write a config file to a state directory?
<disasm> I don't want this file written to the store at all (ldap creds inside)
<bachp> LnL: I could also be an extra disk
jsgrant has left #nixos []
<bachp> It's just that new versions of minio only run if they have at least 1GiB of free disk in their data directory
<bachp> So the current test fails :(
JosW has quit [(Quit: Konversation terminated!)]
<_rvl> disasm: i would use the preStart script of the systemd service
<sphalerite> YAY nixcon t-shirts!
<sphalerite> !m aszlig
<[0__0]> You're doing good work, aszlig!
<sphalerite> !m copumpkin
<[0__0]> You're doing good work, copumpkin!
jensens has quit [(Ping timeout: 255 seconds)]
<bachp> LnL: Thanks a lot
jsgrant has joined #nixos
serhart has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #29994: minio: 20170613 -> 20170805 (master...minio-update) https://git.io/vdn85
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bachp opened pull request #29995: nextcloud: 12.0.2 -> 12.0.3 (master...nextcloud-12.0.3) https://git.io/vdn4t
NixOS_GitHub has left #nixos []
jensens has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
zzamboni has joined #nixos
mortum5 has joined #nixos
catch22_ has joined #nixos
serhart has quit [(Remote host closed the connection)]
katyucha has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c3176eed6f (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<sphalerite> huh, hnix fails to build on 17.09?
mortum5 has quit [(Ping timeout: 240 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/d950babd0e (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2784bd7168 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] k0ral opened pull request #29997: googler: init at 3.3 (master...nixos-unstable) https://git.io/vdnB4
NixOS_GitHub has left #nixos []
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rvolosatovs opened pull request #29998: mopidy-iris: 3.4.1 -> 3.4.8 (master...update/mopidy-iris) https://git.io/vdnBz
NixOS_GitHub has left #nixos []
katyucha has quit [(Ping timeout: 248 seconds)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz opened pull request #29999: grafana: 4.5.1 -> 4.5.2 (master...packageUpdates) https://git.io/vdnBH
NixOS_GitHub has left #nixos []
* Nobabs27[m] sent a long message: Nobabs27[m]_2017-10-01_21:12:57.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/AWiUgTbSqoEFVjMHkewLRpKf>
infinisil has quit [(Quit: WeeChat 1.9)]
<Nobabs27[m]> I can gist my .nix if that would help
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] utdemir opened pull request #30000: spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26 (master...spotify-update) https://git.io/vdnRe
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mboes opened pull request #30001: git: Properly wrap Git commands that are implemented in Perl. (master...git-add-interactive) https://git.io/vdnRm
NixOS_GitHub has left #nixos []
mattcode has quit [(Quit: Leaving)]
endformationage has quit [(Quit: WeeChat 1.9)]
sigmundv_ has joined #nixos
mortum5 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] utdemir opened pull request #30002: firefox-beta-bin: 56.0b5 -> 57.0b4 (master...firefox-update) https://git.io/vdnRl
NixOS_GitHub has left #nixos []
<tilpner> sphalerite - Booting with boot.kernelParams = [ "acpi_rev_override=5" ];, but without the old workaround just locks everything up again
cfricke has quit [(Quit: WeeChat 1.9)]
zzamboni has joined #nixos
<sphalerite> almost expected it :(
<sphalerite> as I said, all seems to be a bit hardware-specific
<tilpner> Do you think I should go through the other acpi_os things?
Arcaelyx_ has joined #nixos
Arcaelyx has quit [(Ping timeout: 258 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bobvanderlinden opened pull request #30003: gogs: 0.11.19 -> 0.11.29 (master...pr-gogs-0.11.29) https://git.io/vdnRa
NixOS_GitHub has left #nixos []
* tilpner tries acpi_osi=! acpi_osi="Windows 2009"
zzamboni has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vdnR5
<NixOS_GitHub> nixpkgs/master 8d4b0ee Orivej Desh: go: declare support for aarch64
NixOS_GitHub has left #nixos []
<tilpner> sphalerite - That worked, and was even an improvement, it now turns off after use. Before it would just stay ON. Thank you!
<tilpner> (Now if only CUDA worked without starting blender as root...)
<sphalerite> nice
<sphalerite> oh, CUDA does work as root/
<sphalerite> ?*
zzamboni has joined #nixos
<sphalerite> Maybe it just wants to create the device node(s) in that case
<sphalerite> try `sudo strace -e mknod blender` and see if it outputs anything
jellowj has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar opened pull request #30005: glib-networking: 2.50.0 → 2.54.0 (staging...glib-networking) https://git.io/vdn03
NixOS_GitHub has left #nixos []
zzamboni has quit [(Client Quit)]
<tilpner> Oh, and do you have screen tearing?
<sphalerite> yeah
<tilpner> I was sure CUDA worked, but now I can't even get it working as root anymore :/
<sphalerite> well in general yes, I haven't noticed it with games running in fullscreen on nvidia though
<tilpner> (I did a few updates inbetween)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29998: mopidy-iris: 3.4.1 -> 3.4.8 (master...update/mopidy-iris) https://git.io/vdnBz
NixOS_GitHub has left #nixos []
<tilpner> (strace did not output anything, but that's not surprising if it doesn't work)
simukis has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<sphalerite> right
Itkovian has joined #nixos
phg has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdn0w
<NixOS_GitHub> nixpkgs/master 7ee1eb4 WilliButz: grafana: 4.5.1 -> 4.5.2
<NixOS_GitHub> nixpkgs/master b7f9629 Orivej Desh: Merge pull request #29999 from WilliButz/packageUpdates...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #29995: nextcloud: 12.0.2 -> 12.0.3 (master...nextcloud-12.0.3) https://git.io/vdn4t
NixOS_GitHub has left #nixos []
Arcaelyx_ has quit [(Read error: Connection reset by peer)]
iqubic has joined #nixos
Arcaelyx has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdn0M
<NixOS_GitHub> nixpkgs/master 1c525fa koral: googler: init at 3.3
<NixOS_GitHub> nixpkgs/master 50f4eb8 Orivej Desh: Merge pull request #29997 from k0ral/nixos-unstable...
NixOS_GitHub has left #nixos []
<tilpner> sphalerite - I got CUDA working with root, but strace only outputs tx0.co/nlUs
hiratara has joined #nixos
<Nobabs27[m]> what package would have libgtk-3.so.0 ?
<tilpner> Nobabs27[m] - gtk3
<iqubic> This zsh set-up is not working. http://dpaste.com/3Z39B8B
jellowj has quit [(Ping timeout: 260 seconds)]
<iqubic> I'm being told that attribute outPath is missing at line 133. It's line 7 in my paste however.
<iqubic> Anyone know what might be wrong with that?
<tilpner> Try removing .outPath on line 18
oida has joined #nixos
<iqubic> tilpner: I can't, because custom expects a string, not a derivation.
<tilpner> (Although it should have an outpath)
Fendoer has joined #nixos
<tilpner> Oh, right. Use (pkgs.fetchFromGitHub { ... }).outPath
<sphalerite> tilpner: sudo strace -f -o >(grep nvidia) blender ?
<iqubic> Add some parentheses?
<tilpner> Yes
<iqubic> why does that change anything?
<tilpner> sphalerite - tx0.co/RSJy
<iqubic> Because now it just works.
oida_ has quit [(Ping timeout: 258 seconds)]
Fendor has quit [(Ping timeout: 240 seconds)]
<tilpner> iqubic - { ... }.outPath was trying to access the outPath in the arguments, before fetchFromGitHub was even called/applied
<Nobabs27[m]> tilpner: I tried patchelfing that in but I still get the same error
<Nobabs27[m]> as in, gnome.gtk3
<iqubic> Oh.
<sphalerite> tilpner: see if chown root:users /dev/nvidia ; chmod 0660 /dev/nvidia helps
<sphalerite> Argh
<sphalerite> Riot interpreted the glob *s as markdown emphasis >_>
<tilpner> /dev/nvidia*?
<iqubic> Stuff still isn't working the way I want it to.. GOSH DARN IT.
<Nobabs27[m]> "Stuff still isn't working the way I want it to.. GOSH DARN IT."
<Nobabs27[m]> I know the feels
<tilpner> sphalerite - Yes, that fixes it
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<MichaelRaskin> I wonder if Riot can be told to just assume IRC is — surprise — Plain Text
<MichaelRaskin> It is the second hilarious «assume markdown» case you mention today.
<tilpner> sphalerite - Do you know where to fix those permissions properly?
<MichaelRaskin> Just hope it doesn't gain smiley conversion at some point.
<iqubic> Dpaste has syntax highlighting, and one of the options is IRC Log
<sphalerite> tilpner: I'm not sure the device even gets created automatically
<sphalerite> Device nodes*
<sphalerite> Do they exist after boot?
<tilpner> Not sure how to answer that. Do you want me to reboot and check if the permissions reset?
<sphalerite> There must be some way to configure udev to create them but I haven't the faintest idea what it is
<sphalerite> What I'm saying is I'm not sure the device nodes will even exist after boot
<sphalerite> As opposed to jsut having the wrong perms
<tilpner> modules/hardware/video/nvidia.nix looks like a good start
zzamboni has quit [(Quit: Leaving.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdnEW
<NixOS_GitHub> nixpkgs/master 549a454 Bob van der Linden: gogs: 0.11.19 -> 0.11.29
<NixOS_GitHub> nixpkgs/master b50df3d Orivej Desh: Merge pull request #30003 from bobvanderlinden/pr-gogs-0.11.29...
NixOS_GitHub has left #nixos []
Ivanych has quit [(Ping timeout: 258 seconds)]
iqubic has quit [(Ping timeout: 260 seconds)]
zzamboni has joined #nixos
mortum5 has quit [(Ping timeout: 258 seconds)]
<tilpner> sphalerite - What if nvidia.nix does the right thing, but it's not applied here because I'm using bumblebee?
* tilpner copies udev rules into config, reboots
<sphalerite> tilpner: idk, can't check it easily cause I've gone to bed and am on my phone :p
<Nobabs27[m]> libgtk-3.so.0 is not provided by gnome.gtk3 as far as I can tell
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vdnEu
<NixOS_GitHub> nixpkgs/master 2239dc6 Pascal Bach: glusterfs service: fix issues with useRpcbind
<NixOS_GitHub> nixpkgs/master c01658d Joachim F: Merge pull request #29992 from bachp/glusterfs-rpcbind...
NixOS_GitHub has left #nixos []
<sphalerite> Nobabs27: you mean gnome3.gtk?
<Nobabs27[m]> sphalerite: yeah
<Nobabs27[m]> wait
<Nobabs27[m]> yeah that doesnt work
Acou_Bass has quit [(Ping timeout: 258 seconds)]
<Nobabs27[m]> all I get is a "libgtk-3.so.0.2200.2"
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdnEr
<NixOS_GitHub> nixpkgs/master cf17954 Utku Demir: firefox-beta-bin: 56.0b5 -> 57.0b4
<NixOS_GitHub> nixpkgs/master 42f432f Orivej Desh: Merge pull request #30002 from utdemir/firefox-update...
NixOS_GitHub has left #nixos []
ebzzry_ has joined #nixos
<tilpner> Nobabs27[m] - stat $(nix-build --no-out-link '<nixpkgs>' -A gtk3)/lib/libgtk-3.so.0 exists for me
* Nobabs27[m] sent a long message: Nobabs27[m]_2017-10-01_22:19:42.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/BTJLKvlEfMSYNMqoadaAypTd>
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdnEK
<NixOS_GitHub> nixpkgs/master cd490dc Utku Demir: spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26
<NixOS_GitHub> nixpkgs/master b8a8b48 Orivej Desh: Merge pull request #30000 from utdemir/spotify-update...
NixOS_GitHub has left #nixos []
<Nobabs27[m]> the reason this is an issue for is that I'm trying to run a binary that keeps crying foul that libgtk-3.so.0 does not exist
Acou_Bass has joined #nixos
<tilpner> Looks good
<Nobabs27[m]> ?
<tilpner> Your paste link
<disasm> thanks _rvl I'll try that
* Nobabs27[m] sent a long message: Nobabs27[m]_2017-10-01_22:23:43.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/cctVMrCWqSdmGHHauyPiZqOI>
<tilpner> If that's a Firefox fork, maybe look at firefox-bin
hiratara has quit [(Remote host closed the connection)]
<Nobabs27[m]> tilpner: I don't see a firefox-bin in the package search thing? or did you mean something else?
mortum5 has joined #nixos
<tilpner> And it looks to me like the cyberfox binary finds libgtk3. Instead the libmozgtk isn't patched, even though it also requires libgtk3
hiratara has joined #nixos
<tilpner> First thing I'd try would be replacing the source of that
<sphalerite> Nobabs27: firefox-bin is unfree
sigmundv has joined #nixos
takle has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 3 new commits to master: https://git.io/vdnuT
<NixOS_GitHub> nixpkgs/master a1f1889 Symphorien Gibol: pysmbc: init at 1.0.15.8
<NixOS_GitHub> nixpkgs/master dba8058 Symphorien Gibol: system-config-printer: add (optional) dependency pysmbc...
<NixOS_GitHub> nixpkgs/master 4f37b89 Orivej Desh: Merge pull request #29939 from symphorien/pysmbc...
NixOS_GitHub has left #nixos []
gandreani has quit [(Quit: leaving)]
takle has joined #nixos
ShalokShalom_ has quit [(Remote host closed the connection)]
iqubic has joined #nixos
peacememories has joined #nixos
<iqubic> I really don't think that my extraPostFetch is being run in this nix expression: http://dpaste.com/261QAVA
<iqubic> This is a snippet from my configuration.nix
Fendoer has quit [(Read error: Connection reset by peer)]
<Nobabs27[m]> how do you find out what package provides a lib/file/.so ?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] benley pushed 1 new commit to master: https://git.io/vdnus
<NixOS_GitHub> nixpkgs/master 1fcf8e2 Yann Hodique: bazel: 0.5.4 -> 0.6.0 (#29990)
NixOS_GitHub has left #nixos []
<tilpner> iqubic - Why do you think it should run?
<tilpner> Nobabs27[m] - Good guessing, mostly :/
<tilpner> (Or locate/find, if it's already installed)
MP2E has joined #nixos
<iqubic> tilpner: I think it should run because fetchFromGithub needs to run in order to give me an outPath.
<tilpner> iqubic - But what makes you think fetchFromGitHub in any way even looks at your extraPostFetch?
<tilpner> iqubic - AFAICT it doesn't, and is not supposed to
<tilpner> Or does fetchzip do that?
garbas has joined #nixos
<iqubic> tilpner: If it doesn't even look at the extraPostFetch, then why is it that I can it to a value?
<tilpner> fetchFromGitHub accepts anything, try passing the argument fooBarQuux
<Mic92> Are there nix unstable binaries somewhere? I would need aarch64
<iqubic> So how can I get a certain snippet of shell code is run after fetchFromGithub is run?
<tilpner> extraPostFetch could actually work, I didn't see passthruAttrs being passed to fetchzip
<iqubic> Perhaps this is not working because I had fetched this repo once before without the extraFetchPost being present.
<tilpner> Your extraPostFetch runs for me
<iqubic> How can you tell?
<iqubic> Also, had you fetched this repo before?
<tilpner> I had not
<iqubic> That might be my issue.
<iqubic> Nix is refusing to fetch this repo a second time
<tilpner> I replaced your script with a bogus "foobar" and waited for corresponding /nix/store/6zngq1rdh0ans9qyckqimqibgnlvlfrm-stdenv/setup: line 114: foobar: command not found
<iqubic> Ah. I see.
<tilpner> I'm a little confused by the '' included in "mkdir $out/''${repo}"
<iqubic> I was getting errors about repo not defined until I did that.
yegortimoshenko has joined #nixos
<tilpner> I know what's going on... remove the '' in your extraPostFetch and put a rec on your argument set
<tilpner> "pkgs.fetchFromGitHub rec { owner ..."
<iqubic> I have done that.
<tilpner> That should make repo available as a variable in extraPostFetch
<iqubic> Wait, I put rec in the wrong place
jensens has quit [(Ping timeout: 240 seconds)]
<Nobabs27[m]> yes! finally got it to work!
<tilpner> Right now you're escaping the ${}, so you're putting a literal ${repo} in your script
<iqubic> Right, and now stuff is working a bit better.
<iqubic> However, I'm still not sure that my extraPostFetch was run.
<iqubic> Where is that supposed to move the repo to?
<tilpner> Try changing it to foobar :P
<iqubic> I will.
yegortimoshenko has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
* tilpner doesn't get what your extraPostFetch is supposed to achieve
<iqubic> Well, that's not working.
thc202 has quit [(Ping timeout: 248 seconds)]
<iqubic> tilpner: It's trying to emulate installation option 2 here: https://github.com/bhilburn/powerlevel9k/wiki/Install-Instructions#step-1-install-powerlevel9k
<iqubic> However, the extraPostFetch thing is not being run at all.
fusion809 has joined #nixos
<fusion809> Hi folks how does one install a whole DE after the system is already installed? Like using nix-env? I have installed NixOS already and I'd like to install KDE Plasma without going back and re-installing NIxOS all over.
<fusion809> Is it a matter of running nix-install after editing configuration.nix to install KDE?
<tilpner> fusion809 - You change your configuration.nix, then call "nixos-rebuild switch" as root
<fusion809> Ah, I was close, thanks.
bkchr has joined #nixos
<fusion809> Is GNOME available for NixOS? Or is it KDE Plasma or not DE at all?
<iqubic> fusion809: You can have GNOME
<iqubic> tilpner: I can't get my extraPostFetch to be run at all.
<tilpner> (There are also windowmanagers, which do fewer things than full DEs)
<fusion809> Thanks
<fusion809> I'm using i3 atm on my host system so I know about window managers, just installing DEs on NIxOS that is new to me.
peacememories has quit [(Quit: Textual IRC Client: www.textualapp.com)]
sellout- has joined #nixos
peacememories has joined #nixos
<tilpner> iqubic - Have a new paste?
vandenoever has quit [(Ping timeout: 260 seconds)]
<iqubic> No. All I did was change the extraPostFetch to "foobar" and then ran "nixos-rebuild test"
<iqubic> I got no errors at all.
<tilpner> iqubic - tx0.co/UCP7
<iqubic> So it put the fetched repo into $(pwd)?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz opened pull request #30006: nasm: run checkPhase (master...nasm-run-tests) https://git.io/vdngn
NixOS_GitHub has left #nixos []
<tilpner> No
<tilpner> That's just to show that your thing actually works like I think you want it to
fusion809 has quit [(Quit: Konversation terminated!)]
jbaum98 has joined #nixos
<jbaum98> i've installed nixpkgs with a multi-user setup on darwin with the new install script and building anything causes my system to freeze sometimes. I can't get it to happen consistently enough to give a minimal example. is this a known issue?
<iqubic> tilpner: Yeah, it does work, when it can be run.
<tilpner> Then I don't know what you're asking
serhart has joined #nixos
<iqubic> Having that in my configuration.nix produces no error when "nixos-rebuild test" is run.
mudri has quit [(Ping timeout: 248 seconds)]
jtojnar has quit [(Read error: Connection reset by peer)]
jtojnar has joined #nixos
<iqubic> But it should give me some errors, because foobar is not a valid shell command
serhart has quit [(Client Quit)]
<tilpner> I can confirm that changes to postfetch don't cause a rebuild
serhart has joined #nixos
<tilpner> Please replace next with e9e60324cde4279e5724d94905d61986ed9c4b3b and fix the hash, in order to force a rebuild
<tilpner> (I don't know if this is a bug or intended)
<tilpner> There's also no issue mentioning extraPostFetch...
<iqubic> I will try that now.
serhart has quit [(Client Quit)]
serhart has joined #nixos
serhart has quit [(Remote host closed the connection)]
serhart has joined #nixos
<iqubic> tilpner: is that still the "next" branch of the repo?
<tilpner> Yes
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vdn2O
<NixOS_GitHub> nixpkgs/master c1e872d Orivej Desh: pysmbc: fix license
<NixOS_GitHub> nixpkgs/master 6b8806d Orivej Desh: pysmbc: clarify license
NixOS_GitHub has left #nixos []
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
markus1189 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz closed pull request #30006: nasm: run checkPhase (master...nasm-run-tests) https://git.io/vdngn
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] WilliButz reopened pull request #30006: nasm: run checkPhase (master...nasm-run-tests) https://git.io/vdngn
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Moredread opened pull request #30007: all-packages: fix spelling in error message (master...fix/spelling) https://git.io/vdn20
NixOS_GitHub has left #nixos []
bfrog_ has joined #nixos
markus1199 has quit [(Ping timeout: 248 seconds)]
<iqubic> Well, it's good to have that sorted out.
darlan has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
darlan has quit [(Client Quit)]
<iqubic> Now, one last question... How do I get zsh to offer to correct incorrect commands?