worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<gchristensen> yeah
<infinisil> Is there no way to properly detect being in a shebang?
drakonis_ has quit [Ping timeout: 240 seconds]
<infinisil> Wait but what does that `!std::regex_search(argv[1], std::regex("nix-shell"))` check achieve anyways?
<clever> i'm not sure...
<gchristensen> probably some bug fix :)
dermetfan has quit [Quit: WeeChat 2.6]
<infinisil> clever: Traced it back to dc7e8fae48f65da7aea86043a25a9381b678ebe6
<judson__> Submitted as nixos/nix#3153
<{^_^}> https://github.com/NixOS/nix/issues/3153 (by nyarly, 44 seconds ago, open): nix-shell shebang with '.nix-shell' suffix executed as nix code.
toppler has quit [Ping timeout: 276 seconds]
<infinisil> I'll post a comment
drakonis_ has joined #nixos
lunik10 has joined #nixos
lunik1 has quit [Remote host closed the connection]
chrachw has left #nixos [#nixos]
lunik10 is now known as lunik1
Okinan has joined #nixos
toppler has joined #nixos
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
drakonis_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71095 → Split pinentry flavors and enable udisks2 on install media again → https://git.io/Je40z
<{^_^}> [nixpkgs] @worldofpeace pushed 7 commits to master: https://git.io/Je40g
lord| has quit [Read error: Connection reset by peer]
freeman42x has quit [Remote host closed the connection]
<worldofpeace> hmm, I think I just merged a pr thinking it was too staging
<worldofpeace> :( revert and forward to staging sound worthwhile?
<danderson> If anyone's bored, https://github.com/NixOS/nixpkgs/pull/71271 could use a review + merge (straight backport to 19.09)
<{^_^}> #71271 (by danderson, 42 minutes ago, open): [19.09] nixos/pppd: init
lord| has joined #nixos
ddellacosta has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<infinisil> worldofpeace: Sounds good yeah
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « Revert "Merge pull request #71095 from flokli/pinentry-cleanup" »: https://git.io/Je40V
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je40w
<phyfey[m]> hi yall, im having an interesting issue with nixos on an intel cherrytrail processor. Is this the correct place to ask for help?
Flower_female__ has joined #nixos
mexisme has joined #nixos
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to staging: https://git.io/Je406
freeman42xx has joined #nixos
freeman42xx has quit [Remote host closed the connection]
justanotheruser has quit [Ping timeout: 240 seconds]
gxt has quit [Remote host closed the connection]
Heirlung has quit [Ping timeout: 246 seconds]
<worldofpeace> infinisil: lol, did that quickly
ddellacosta has quit [Ping timeout: 276 seconds]
<infinisil> Hehe
<infinisil> phyfey[m]: This is a good place for NixOS questions yeah
toppler has joined #nixos
Heirlung has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « clickhouse: build with rapidjson »: https://git.io/Je40M
acarrico has joined #nixos
alex``` has quit [Ping timeout: 250 seconds]
justanotheruser has joined #nixos
<danderson> hmm. I must have done something wrong. Made a tiny change to my config, and nix wants to rebuild most of my system...
abathur has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
strobelight has quit [Ping timeout: 245 seconds]
drakonis_ has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
freeman42x has quit [Ping timeout: 246 seconds]
Rusty1 has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
drakonis_ has joined #nixos
liamdiprose has joined #nixos
chrachw has joined #nixos
dansho has joined #nixos
toppler has joined #nixos
gxt has joined #nixos
<liamdiprose> How would one import a nix package from a nixpkgs fork? Trying to use my PR before its merged. https://gist.github.com/liamdiprose/6be5f17d981cc8856deaa3e9e39e1ad4
drakonis has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
drakonis_ has quit [Ping timeout: 246 seconds]
<clever> liamdiprose: liam-nixpkgs in that context, will contain a string, that points to the directory the nixpkgs it as
<clever> liamdiprose: the same way that <nixpkgs> points to a string from $NIX_PATH
<liamdiprose> right, so I need to add import liam-nixpkgs
endformationage has quit [Ping timeout: 240 seconds]
<liamdiprose> to actually evaluate the default.nix, if I understand correctly
<liamdiprose> yep, its working now. Nix starting to click for me now :)
<liamdiprose> clever: cheers
toppler has joined #nixos
Flower_female__ has quit []
vika_nezrimaya has quit [Ping timeout: 265 seconds]
selfsymmetric-mu has joined #nixos
sb0 has joined #nixos
sb0 has quit [Remote host closed the connection]
Flower_female__ has joined #nixos
Flower_female__ has quit [Excess Flood]
Flower_female__ has joined #nixos
Flower_female__ has quit [Excess Flood]
Flower_female__ has joined #nixos
judson__ has quit [Ping timeout: 265 seconds]
chrachw has left #nixos [#nixos]
toppler has quit [Ping timeout: 240 seconds]
boxscape has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
toppler has joined #nixos
wormwood has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #71274 → nss-pam-ldapd: 0.9.10 -> 0.9.11 → https://git.io/Je4Ez
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #nixos
drakonis1 has joined #nixos
b42 has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c35f7161aae (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
infinii has joined #nixos
b42 has joined #nixos
<gyroninja> Would someone happen to know what flags I need to pass qemu for it to share networking with the host?
<clever> gyroninja: `-nic virtio -net user` i think
<gyroninja> >qemu-system-x86_64: Invalid parameter 'virtio'
infinee has quit [Ping timeout: 268 seconds]
<clever> ah, just `-net nic` seems to do it
<gyroninja> Yeah, that seems to work. Thanks.
toppler has quit [Ping timeout: 240 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
o1lo01ol1o has joined #nixos
toppler has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
orivej has quit [Ping timeout: 276 seconds]
orivej_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b75c8ee3bc1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Flower_female__ has quit []
miss_leila__ has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
miss_leila__ has quit []
<gyroninja> it looks like -net nic did not work
<clever> gyroninja: how are you testing it?
<{^_^}> [nixpkgs] @teto merged pull request #70353 → neovim: fix icon not displaying → https://git.io/Jec6n
<{^_^}> [nixpkgs] @teto pushed commit from @shreyanshk to master « neovim: fix icon not displaying »: https://git.io/Je4EF
toppler has joined #nixos
<gyroninja> I'm using netcat to connect to a service which is bound to 0.0.0.0 on the vm
<clever> gyroninja: by default, `-net user` only allows outgoing traffic
<clever> gyroninja: but the example in `simple-test.nix` above will forward port 2200 to 22 in the guest
<gyroninja> I would like incoming traffic, outgoing traffic has been working by default for me
<clever> then look at the simple-test.nix above
<gyroninja> ideally I would be able to forward all ports, but I'll take a look at that
<clever> if you want to forward everything, then you need tun/tap or a bridge, which will require root when launching qemu
<gyroninja> I tried -net tap earlier, but it did not work.
<gyroninja> >No protocol specified
<gyroninja> >qemu-system-x86_64: network script /etc/qemu-ifup failed with status 256
<clever> gyroninja: i believe `-net tap` will create a tap device, and then you need to supply bash scripts that will bring the interface up and make it actually work
Soo_Slow has quit [Remote host closed the connection]
<clever> gyroninja: `-netdev bridge,br=br0` is the simplest, it will generate a tap interface, then enslave it to br0, but you must first configure the host to create br0, and to enslave your real NIC to br0
<clever> when using bridging, the guest will basically be another machine on the LAN, it will get an ip from the router via dhcp, and all ports will be open to anyone on the LAN
<clever> you could even port-forward it at the router, if you wanted to
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
laalf has joined #nixos
<red[m]> damn, changing it so nixos-rebuild switch runs 1 job at a time of course slows things down a lot
<red[m]> but I fear that if it works when running as a single job but fails when it runs with multiple jobs I'm going to end up in a world of hurt
<clever> red[m]: i tend to first do `-j 8 --keep-going`, so it builds anything that it can build, then repeat with `-j 1`, and the only things it can pick from, are those that have failed before
<red[m]> gah
<red[m]> wish I'd known abvout that 3 hours ago!
<red[m]> I'll do that - Thanks!
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<red[m]> That'll help me narrow down exactly what has been failing
<red[m]> which would be awesome
<red[m]> thanks
<kaliumxyz> when will nixops finally become the leading infrastructure as code tool c:?
toppler has quit [Ping timeout: 240 seconds]
<clever> red[m]: another useful trick, nix clearly tells you the path to the .drv that failed, and its exit code
qubasa has joined #nixos
<clever> red[m]: nix-store -r /nix/store/whatever.drv
<clever> that will force it to build that drv again
<clever> so you can skip directly to trying to reproduce!
<red[m]> oh cool -- thank you
<clever> red[m]: you can also run `nix-shell /nix/store/whatever.drv` to get a shell inside that drv, then do the usual `unpackPhase ; cd $sourceRoot ; configurePhase ; buildPhase` to reproduce
<red[m]> damn, how did I not know this
<red[m]> thanks (again)
toppler has joined #nixos
ebzzry has quit [Ping timeout: 265 seconds]
ajs124 has quit [Quit: Gateway shutdown]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
fuzen has quit [Quit: ZNC - https://znc.in]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #71213 → youtube-dl: 2019.09.28 -> 2019.10.16 → https://git.io/Je4fc
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer pushed commit from @xrelkd to master « youtube-dl: 2019.09.28 -> 2019.10.16 »: https://git.io/Je4us
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
toppler has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71253 → python35Packages.sqlalchemy: fix tests → https://git.io/Je48W
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je4un
<{^_^}> [nix] @singron opened pull request #3154 → Link directly to local libraries → https://git.io/Je4ul
<kaliumxyz> anyone using krops?
fuzen has joined #nixos
delan has quit [Quit: ZNC - http://znc.in]
Flambe has joined #nixos
<Flambe> Hello
toppler has quit [Ping timeout: 276 seconds]
<wedens[m]> kaliumxyz: not yet. but I want to try to use krops or morph for my local machines deployment soon
<clever> wedens[m]: i use nixops to manage several machines in my house
<wedens[m]> nixops seems to be overkill for 'none' backend only. I don't think I want to have some state and messing with ssh keys.
<clever> wedens[m]: you only need to mess with keys/passwords the first time you deploy
<wedens[m]> considering that I've never used nixops
<clever> wedens[m]: nixops will then auto-generate its own ssh keys, and let itself in
<infinisil> wedens[m]: Actually since recently the 'none' backend is the only one nixops supports out of the box, see https://github.com/NixOS/nixops/pull/1179
<{^_^}> nixops#1179 (by johnalotoski, 14 weeks ago, merged): Nixops Core, Plugin Restructuring PR
<clever> wedens[m]: basically, just `nixops create -d house house.nix` and then `nixops deploy -d house`
<clever> wedens[m]: line 10-13 defines the nas, 14-18 the router, 12/16, what IP nixops should ssh into
<wedens[m]> clever: can you do that from any machine?
<clever> wedens[m]: nas.nix and router.nix (lines 11/15) are then normal nixos configs
<clever> wedens[m]: as long as you can ssh to the targets, you can deploy nixops from any machine
<clever> wedens[m]: just be aware that nixops will (by default) obey the <nixpkgs> and $NIX_PATH on the host, so you may cause wonky upgrades and downgrades as you roam about
<clever> wedens[m]: `nixops create -d house house.nix -I nixpkgs=https://github.com/nixos/nixpkgs/archive/dae9cf6106d.tar.gz` (which can be modified with `nixops modify`, see line 2), lets you override that
<wedens[m]> I'd prefer not to have some kind of "deployment master" machine. will nixops state make it more difficult?
<clever> but that url itself is held in the state file, so you still need to keep that in sync
<clever> wedens[m]: oh, and the only other issue is the auto-generated keys, you should at least copy the state (or export | import) to sync those keys up
<clever> wedens[m]: but once copied, its fairly safe to run independant copies of the state, with the none backend
toppler has joined #nixos
<wedens[m]> can I use some pre-generated key instead of auto-generated?
<clever> if you have keys loaded into your ssh-agent (via ssh-add) that can access root on the machines, those will also work
mexisme has quit [Ping timeout: 276 seconds]
<wedens[m]> nixops builds on the host, right?
<Flambe> Can someone lend me a hand with getting cmake working?
<clever> wedens[m]: nixops will try to just build it on the machine running nixops, but it will obey any build machines configured in /etc/nix/machines
<clever> wedens[m]: so it can offload work to other machines, if configured to
<clever> Flambe: do you have cmake in the nativeBuildInputs ?
<wedens[m]> understood. thanks, clever . I'll consider using nixops.
o1lo01ol1o has quit []
toppler has quit [Ping timeout: 265 seconds]
<Flambe> clever: I do not, but I thought nativeBuildInputs was specific to Nix packages?
<clever> Flambe: what exactly is the error you are having?
justanotheruser has quit [Ping timeout: 250 seconds]
<Flambe> It was that CMake not being able to find a build program for makefiles, but some more digging found that I just didn't have gnumake installed
<clever> ,nix-shell Flambe
<clever> ,
<{^_^}> Special commands: find tell locate expand - Commands sorted by use count, page 0 (use ,<n> to view page <n>): help libraries unstable escape'' library unfree declarative howoldis ping escape" callpackage paste overlay -a ask pinning profiling pr nixlang++ which-channel imperative xy cache fancy-uninstall pills stateversion wololo xml botsnack exec invite channels loot haskell home-manager stuck ifd pointers tias escape-special timer dontask nur
<clever> Flambe: you must use nix-shell when compiling anything, installing make and gcc wont work
<clever> ,2
<{^_^}> Page 2: nixcon nixpkgsversion notfound ops outpath proot python releasenotes replacemodule todeclarative tofu tofu-vim wrapgappshook
<clever> ,1
<{^_^}> Page 1: pure-eval runtimedeps thesis cloak configsearch error flakes jdwhat upgrade whomademe worldofyumminess context feeds logs matrixbridge mime nix-bundle nixgl nixossearch quickstart smart-questions wrapper zol arm bootfull cloudfront helpout info nix-env-r nix-info nixeval not-os orginvite qt root the-pr-with-initially-1152-new-nixos-options unstable-man wrapnix zip activationscripts avoid-the-review-spam dnw docbook github hardware nix-repl
justanotheruser has joined #nixos
toppler has joined #nixos
<Flambe> clever, Even when compiling things entirely unrelated to Nix? In this case, just a small test program?
<clever> Flambe: yes
<clever> Flambe: just `nix-shell -p cmake`
<clever> that will give you cmake, make, and gcc
<Flambe> Okay, thanks
justanotheruser has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
Flambe has quit [Quit: Communi 3.5.0 - http://communi.github.com]
iqubic has joined #nixos
toppler has joined #nixos
cjpbirkbeck has joined #nixos
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
mudrii has joined #nixos
jeanfoutre[m] has joined #nixos
toppler has joined #nixos
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<{^_^}> [nixpkgs] @jonringer opened pull request #71276 → python3Packages.praw: 6.3.1 -> 6.4.0 → https://git.io/Je4uh
Heirlung has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
toppler has joined #nixos
tdeo has quit [Remote host closed the connection]
tdeo_ has joined #nixos
ajp_ has quit [Quit: No Ping reply in 180 seconds.]
juhoh has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c24eb82c7d3 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
juhoh has joined #nixos
wfranzini has quit [Remote host closed the connection]
<hpfr[m]> I’m on a very space limited laptop and just accidentally filled my drive while rebuilding the system (has to compile qtbase for some reason, and a custom kernel), what can I do from here?
ajp has joined #nixos
<clever> hpfr[m]: nix-collect-garbage --max-freed 1g
dansho has quit [Quit: Leaving]
<hpfr[m]> What does the max freed do? Stop it after 1g?
<clever> yeah
<clever> when low on space, you can sometimes run out of space while deleting things
<clever> so you need to delete a small amount first
<hpfr[m]> Oh, thanks
<clever> also, if you dont restrict the deletions, it will delete everything you jsut downloaded and compiled
<clever> so you have to start over with the downloads
tdeo_ is now known as tdeo
tdeo has quit [Changing host]
tdeo has joined #nixos
<hpfr[m]> Well what else can I do other than not restricting deletions? I can’t uninstall software without rebuilding either, so I’m just going to fill up again when it tries to build
<clever> hpfr[m]: you may have had enough garbage laying around, when you started, that you could delete enough to make things fit, how big is the disk and how much is free?
<hpfr[m]> 55G and it’s full, but I’m collecting garbage right now
<notgne2> had this problem yesterday on my laptop tbh
<hpfr[m]> I’m pretty sure I was at like 65% before the rebuild though which seems like a lot of space for a build
<hpfr[m]> Thanks for being honest lmao
<notgne2> took me like 5 tries of thinking I cleared enough space before it managed to avoid filling it leaving about 1gb free (until it was done and I could free all the old packages)
toppler has quit [Ping timeout: 265 seconds]
<hpfr[m]> Garbage collecting cleared 10GB and optimizing the store cleared nothing since I just did it. I have 41G used and 12G available
<hpfr[m]> That’s 78% I swear I was at 65%
<hpfr[m]> notgne2: how did you clear up space without rebuilding
<notgne2> just going after other files, `ncdu` is a nice tool for finding what is using your space and freeing it up, I had a lot of cached things in dotfiles and dev directories, then a few gb of journald logs stacking up
<notgne2> also you could try minimizing the differences besides removals and do it in 2 rebuilds, I did this last time (tho not sure how much it helped)
tghume has quit [Ping timeout: 250 seconds]
<clever> i once ran into a problem on my netbook, where i just plain didnt have enough room to hold 2 generations of nixos
<notgne2> it was mostly updating, so I removed a bunch of things, rebuilt, ran the GC, then added them back
<clever> so i had to keep removing software, until the new build fit
<clever> if it fails, gc a bit, remove something else, try again
<hpfr[m]> How do you remove software without rebuilding
<clever> remove it from configuration.nix, and rebuild
<clever> the NEW build will be smaller
<clever> and maybe it will fit in the space thats left
<clever> repeat until it does fit!
<hpfr[m]> But it’s going to try to build qtbase and the kernel along side it and that’s how I run out of space I think
<notgne2> you will be rebuilding, but if it is an update you will have the current copy plus the new one being downloaded, but if you remove a lot of packages, rebuild, then gc, when you add them back it will pull them, but since they were previously removed it will only be on your HDD once, so not twice the size
<clever> hpfr[m]: a: comment out everything that depends on QT, so it wont build QT
<clever> hpfr[m]: b: why is it building a kernel? temporarily switch to a kernel in the cache?
<clever> hpfr[m]: c: why is it building both a kernel and qt? is the cache setup broken?
szicari has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #71252 → neovim-qt: fix icons → https://git.io/Je48C
<{^_^}> [nixpkgs] @teto pushed commit from @shreyanshk to master « neovim-qt: fix icons »: https://git.io/Je4z3
<hpfr[m]> I’m using a custom kernel to get hardware on my laptop to work
szicari has joined #nixos
<hpfr[m]> It’s a surface pro and there’s patches for like battery readings to work and other necessary stuff
<clever> hpfr[m]: do you have another nixos machine with the same cpu arch handy?
<hpfr[m]> Yes two
<hpfr[m]> Jesus I’m running nix-shell -p ncdu and it’s trying to build a ton of shit again
<clever> hpfr[m]: arm?
<hpfr[m]> No it’s x86 thankfully
<hpfr[m]> I’m the one who screwed up the remoting and I think I’m still overriding it wrong
<clever> hpfr[m]: you can use `nix-copy-closure /nix/store/foo.drv --to user@host` to copy a .drv file to another box
<clever> then do `nix-store -r /nix/store/foo.drv` to build it on that other box, it will print a storepath at the very end
<hpfr[m]> Can I do that for my system derivation
<clever> then `nix-copy-closure /nix/store/foo --from user@host` or `nix-copy-closure /nix/store/foo --to user@host` to copy the product back
<clever> hpfr[m]: `nixos-rebuild dry-run` will print the .drv file you need
<clever> and if both ends are x86, for something simple like ncdu, you can skip half of that
<clever> `nix-build '<nixpkgs>' -A ncdu` to build it anywhere, then `nix-copy-closure` it over to the surface
<clever> it wont obey the nixpkgs/overlays/config on the surface, but those dont matter much for ncdu
<clever> (though it may also use a different glibc, and take up more space)
<clever> hpfr[m]: nixops will also automate building nixos on one box, and then deploying it to another, so you could use that too
<hpfr[m]> Do I really want to use NixOps for a physical host
<hpfr[m]> * Do I really want to use NixOps for a physical machine
<clever> hpfr[m]: i use the none backend to manage both my nas and router
<clever> when i do `nixops deploy`, it will build both machines at once (wee, even more disk usage!), on the laptop
<clever> it will then copy-closure the parts that each needs, to each machine (via the IP's on lines 12&16)
<clever> and activate nixos from that new build
<clever> all build-time costs are paid by the laptop, not the remote machines
toppler has quit [Ping timeout: 240 seconds]
<hpfr[m]> You use nixos for your router
<clever> yep, i'm also in #nixos-on-your-router
<hpfr[m]> Seems like it would be rather barren compared to something like pfsense or cups
<hpfr[m]> Vyos* not cups
<hpfr[m]> Mobile keyboard
<clever> product: Intel(R) Xeon(TM) CPU 3.20GHz
<clever> dual socket (not dual core)
<clever> 8gig of ecc ram
<clever> hpfr[m]: would you run pfsense on this beast? :P
<hpfr[m]> Why not I’d imagine it has more features than what you can accomplish with a nixos router at this point
<hpfr[m]> Yup, doing a rebuild and takes me from 75% to full just copying paths. Gonna have to rebuild daily in the future or something so this doesn’t happen
<clever> hpfr[m]: it runs nginx, proxies a dozen subdomains and directories out to the various machines in the house, tftp for network booting, including netbooting rpi's, it runs a teamspeak server, a full hydra server
<clever> hpfr[m]: oh, and you should also look into deleting old generations, one min
<hpfr[m]> You run a teamspeak server on your router
<clever> [root@amd-nixos:~]# nix-env --profile /nix/var/nix/profiles/system --list-generations
<clever> hpfr[m]: how far back does this fo?
<clever> go*
mjsir911 has quit [Quit: Goodbye, World!]
<clever> [root@amd-nixos:~]# ls -l /nix/var/nix/profiles/system*link
<clever> if you look at the nixpkgs rev in these
<clever> lrwxrwxrwx 1 root root 93 May 14 14:44 /nix/var/nix/profiles/system-471-link -> /nix/store/0fyndvqcnb4nc2i1r9cdsnnhwksbz593-nixos-system-amd-nixos-19.09pre179307.bc94dcf5002
<clever> the bc94... part
<clever> hpfr[m]: do you see a large group, that dont match the latest nixpkgs rev (at the bottom)?
orivej_ has quit [Ping timeout: 240 seconds]
<hpfr[m]> I have 57 generations and the last 8 (>=50) are 20.03pre193829.f0fec244ca3
<clever> nix-env --profile /nix/var/nix/profiles/system --delete-generations 1234
<hpfr[m]> I thought nix-collect-garbage -d handled this
<clever> that lets you delete a given generation
<clever> `nix-collect-garbage -d` will just delete every old generation, for profiles it can write to
<clever> if ran without root, it cant delete generations for system
toppler has joined #nixos
<hpfr[m]> Oh so sudo nix-collect-garbage -d is what I want
<hpfr[m]> That’s more general version of the nix-env command you gave correct
<clever> `nix-collect-garbage -d` is a bit of a nuclear option
<clever> it just deletes all generations
<clever> while reading the output from ls, and manually doing --delete-generations, lets you get rid of things that use a different nixpkgs (wont share much, and will gain more space)
<clever> while keeping the ones that do share a nixpkgs (the last 8 that are on f0fec244ca3)
vonfry has joined #nixos
<hpfr[m]> Lmao I’m ready for the nuclear option at this point, but with the nix-enc command, can I just do that for like 1-40?
<clever> so you still have some undo choices, if you notice things went horribly wrong
<hpfr[m]> nix-env
<clever> $ nix-env --delete-generations 3 4 8
<hpfr[m]> Why does sharing a nixpkgs revision matter here
<clever> thats one of the examples from the man page
<clever> if they all share the same nixpkgs rev, then 99% of the software in those generations is shared, so you wont gain much from deleting one
<hpfr[m]> Well 1 2 3 4 ... 40 will take a while
<clever> they only differ in config files (and any changes you did to overlays)
<hpfr[m]> Oh ok
<clever> $ echo {1..40}
<clever> 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
<clever> bash can expand a range of numbers
<hpfr[m]> Ah thanks
<clever> if the nixpkgs is different, they some software will differ, but how much it differs can vary
<clever> depending on how much time has passed, between the 2 versions
<clever> and what you actually installed
<hpfr[m]> So nix-env -p /nix/var/nix/profiles/system —delete-generations $(echo {1..49}) is the command, this requires sudo right?
<clever> no need for the $(echo
<clever> the {1..49} expands in any command
<hpfr[m]> Oh thanks
<clever> $ echo nix-env --profile /nix/var/nix/profiles/system --delete-generations {1..49}
<clever> nix-env --profile /nix/var/nix/profiles/system --delete-generations 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
<clever> and yes, it will need root to modify the system profile
<clever> and then a `nix-collect-garbage` (with optional --max-freed) must follow, to actually delete the things that have recently become garbage
<clever> [root@amd-nixos:~]# ls -l /run/booted-system /run/current-system
<clever> hpfr[m]: also, if either of these symlinks point to the old nixpkgs rev, you cant fully GC that old version, and may need a reboot before you can GC more
Acou_Bass has quit [Quit: ZNC 1.7.3 - https://znc.in]
<hpfr[m]> Damn I’ve been running nix-collect-garbage -d without root perms since I started using NixOS and just been wondering why all the generations still show up in grub, this explains a lot
rauno has joined #nixos
<hpfr[m]> Down to 58% now, hopefully this works
<clever> also, grub wont update until you next do `nixos-rebuild`
<hpfr[m]> Right
<clever> `nixos-rebuild` is what updates the grub menu, and it looks at the `--list-generations` to see what should be in the menu
<hpfr[m]> That makes sense
Acou_Bass has joined #nixos
<hpfr[m]> The symlinks point to the 20.03 version I mentioned so I don’t think rebooting will save more then
toppler has quit [Ping timeout: 250 seconds]
palo1 has joined #nixos
lord| has quit [Ping timeout: 265 seconds]
<vonfry> I try to use appimage, but the app complains " No GSettings schemas are installed on the system". Is there some way to fix that?
<clever> hpfr[m]: another trick, use `ndcu` on `/nix/store` to find the fattest thing, then `nix-store --query --roots /nix/store/fat-boy` to find out why it cant be GC'd, deal with those roots (depends on what they are), and `nix-store --delete /nix/store/fat-boy`
<clever> hpfr[m]: that lets you exclusively target the things that will give you the most space
<hpfr[m]> Awesome, thanks. Gotta make note of these commands somewhere
gila has joined #nixos
palo has quit [Ping timeout: 276 seconds]
palo1 is now known as palo
<clever> hpfr[m]: --query --roots will point to eithe result symlinks from nix-build (decide if you want to keep it, and rm the symlink), or generations in a profile (--delete-generations from before)
lord| has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.6]
<hpfr[m]> The result symlinks from nix-build would be due to failed nixos-rebuilds?
<clever> a failed build wont create a result link
toppler has joined #nixos
<hpfr[m]> Not successful builds of packages for the failed nixos build though?
<clever> only the main thing you pointed nix-build to will get a result link
<{^_^}> [nixpkgs] @vbgl merged pull request #70893 → ocamlPackages.spelll: init at 0.3 → https://git.io/JeWA4
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.spelll: init at 0.3 »: https://git.io/Je4zr
<clever> any dependencies built along the way are un-rooted
<hpfr[m]> Oh that makes sense I guess
Cale has quit [Ping timeout: 264 seconds]
mexisme has joined #nixos
<hpfr[m]> How can I figure out why it’s building qtbase
<clever> hpfr[m]: bit tricky to see that, but if the build fails (kill a pid within that build), it will say what else is failing due to deps not building
<hpfr[m]> I just got gcc: internal compiler error: Segmentation fault signal terminated program cc1
<clever> and what is nix printing after that?
<hpfr[m]> Builder for /nix/store/hash-linux-4.19.78.drv failed with exit code 2
<clever> and after that
<clever> directly after, by 1 line
<hpfr[m]> Cannot build nixos system 1 dependencies couldn’t be built
<clever> then nixos-system depends on linux
<hpfr[m]> Naturally
<clever> if you force the same failure for QT, you can see what dependended on qt
<hpfr[m]> But just above it were the g++ commands with paths like /build/qtbase-everywhere-src-5.12.3/qmake
<clever> it was building 2 things in parallel
<hpfr[m]> Oh shit so basically trying to read the logs is barely useful
<clever> thats why i tend to start with `-Q -j8 --keep-going` (assuming 8 cores)
<clever> that hides all logs, builds 8 at once, and keeps going when things fail (build whatever it can build without the failures)
<hpfr[m]> What do the Q and keep going do
<hpfr[m]> Oh
<clever> then do it again with -j1, to see the errors, without it being in parallel
<hpfr[m]> Makes sense
<clever> also, if you do a GC while the build is running, it cant delete anything the build needs, or will need in the future
<clever> so you can do an un-restricted gc, of everything the build doesnt need
sellout- has quit [Quit: Leaving.]
<hpfr[m]> If I kill a random build process will it still show me the qt failure and its dependent even though I killed a different job
toppler has quit [Ping timeout: 265 seconds]
<clever> it can be tricky to tell which thing is in which build
<clever> `ls -ltrh /tmp/`
<clever> the derivation name is in the temp dir name
<clever> the uid that owns that dir, is the uid that also owns the build processes
Cale has joined #nixos
<hpfr[m]> Hmm guess I’ll try j1 so I can get it to print for sure
<clever> yeah, the -j8 part is just to speed things up a bit, since -j1 will be slower
<hpfr[m]> Right I understand parallel jobs
<clever> nix also complicates things, by having parallel in parallel
<clever> nix level -j, will build that many derivations
<clever> and then each of those derivations, will do a make level -j, which runs that many gcc's
<hpfr[m]> Yeah I just saw a j4 line while it’s building the kernel even though I did j1
<hpfr[m]> Unfortunately j1 started with the kernel which I assume will fail with the segfault
bahamas has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #71277 → coqPackages_8_10.ltac2: init at 0.3 → https://git.io/Je4zX
<{^_^}> [nixpkgs] @nrdxp closed pull request #67227 → alsa: allow 'sound.mediaKeys.enable' to work even when 'hardware.pulseaudio.enable' is used → https://git.io/fjbpm
CGevo has joined #nixos
<CGevo> All, I want to create an installation tarball for my applicarion, that will be used for -I nixpkgs=blabla.tar.gz
<CGevo> for nix-env -f installation
<CGevo> but Iwant just one derivaion of a package in it
<CGevo> not the whole fork of nixpkgs, how to do that?
<clever> CGevo: the tar needs a default.nix in the root of it, that should return an attribute set
<CGevo> so I will do default.nix and do import mypackage.nix?
<CGevo> or probably will have to import <nixpkgs>?
<clever> probably: (import <nixpkgs> {}).callPackage ./mypackage.nix {}
<CGevo> I know the solution will be simple, but cannot find the best way to do it
<clever> maybe use your own nixpkgs rev, via builtins.fetchTarball
<clever> maybe also use { config = {}; overlays = []; }, instead of the 1st {}
<CGevo> so have some people using nix at our company and I we have a desktop app that ic being build by CI
<clever> that makes it ignore config.nix and overlays
<CGevo> I want to somehow automate the installation
<CGevo> so like nix-env -f https://CIbuild.zip -i browser
<clever> if you force the nixpkgs rev, then you will have better luck at getting hits on your private binary cache
cosimone has joined #nixos
<CGevo> ah right
<clever> and for caching...
<clever> [clever@amd-nixos:~]$ nix copy --to file:///home/clever/cache-example /nix/store/ra88z5k7ix8r5x5ggynjfkm63s1ppkjv-coreutils-8.31
<clever> CGevo: this will copy the closure for a given thing, into ~/cache-example
<CGevo> actually, how to use from source in a nix package but from localfilesystem when I do not have full path?
<CGevo> like take binary from ci/build.binary.bin
<clever> if you then host that directory on any dumb http server, you can add the directory to substituters in nix.conf
toppler has quit [Ping timeout: 240 seconds]
<clever> CGevo: what i just explained, will let you share the compiled binary with other users
<CGevo> clever: I thought about that, but actually I need people to choose a specific build
<CGevo> maybe we can have the derivation name package-buildID, hmm
<CGevo> so I want QA to install different builds, not just the latest
<clever> if they use the exact same nix exprs as you did, when building&uploading
<clever> then they will compute to the same store path, and find it in the cache
<clever> and if you only change the tar file after uploading, you can enforce that
<CGevo> it often amazes me what you can do with NixOS
<clever> and that is basically the same procedure that nix channels go thru
<clever> wait for hydra to build&upload things, verify it passed on hydra, then replace the tar
fusion809 has quit [Remote host closed the connection]
toppler has joined #nixos
sellout- has joined #nixos
<teto> anyone experienced with nixpkgs'go build ? seems like there is one hash that keeps changing https://github.com/NixOS/nixpkgs/pull/71226#event-2717231547
m0rphism has joined #nixos
lopsided98 has quit [Ping timeout: 276 seconds]
lopsided98 has joined #nixos
Ariakenom has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #69974 → syslogng: 3.22.1 -> 3.23.1 → https://git.io/JeZ5O
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « syslogng: 3.22.1 -> 3.23.1 »: https://git.io/Je4zh
wedens has quit [Quit: Connection closed for inactivity]
<hpfr[m]> I’m rebuilding my system and when “unpacking source archive /nix/store/i917n20r...-linux-4.19.78.tar.xz” I get xz: (stdin): Compressed data is corrupt
<CGevo> clever: I'm little bit stuck with this output https://paste.fedoraproject.org/paste/qt5ns5UDbzIeYPVc7RO1hg
toppler has joined #nixos
nhey_ has joined #nixos
<ivan> hpfr[m]: nix-store --delete PATH
lopsided98 has quit [Ping timeout: 268 seconds]
<hpfr[m]> Thanks
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to python-unstable: https://git.io/Je4zj
mjsir911 has joined #nixos
wfranzini has joined #nixos
kai_w has quit [Quit: Konversation terminated!]
sb0 has joined #nixos
mudrii has quit [Remote host closed the connection]
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
Heirlung has joined #nixos
mrCyborg has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c35f7161aae (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
toppler has quit [Ping timeout: 240 seconds]
leothrix has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
leothrix has joined #nixos
<jophish> What's the idiomatic way of setting a configuration value depending on whether a particular module is loaded?
<jophish> Without putting that configuration option in that module!
schjetne has joined #nixos
<tdeo> default = config.<module>.enable?
<jophish> Hypothetically: I have ports (a b and c) open in networking firewall, but I want to *not* have port b open if I've loaded a particular module
Tucky has joined #nixos
<jophish> Tdeo, that works some of the time, but what if there isn't an enable option on that module
<tdeo> how do you judge if it's "loaded" or not then?
<jophish> Yeah, that's the thing :)
<tdeo> because all modules are included in the configuration by default
<jophish> Ah, sorry perhaps I meant "import" rather than module!
<jophish> I want to remove this port iff I have ./foo.nix in imports
CGevo has quit [Remote host closed the connection]
<jophish> Well, in this particular case I'd like to remove some lines from an extraConfig, but I guess the principle is the same
Ariakenom has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 268 seconds]
Ariakenom has joined #nixos
<jophish> Perhaps what I'm trying to do is difficult because it's a bad idea
<jophish> It certainly makes this import feel a bit leaky
toppler has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 7 commits to python-unstable: https://git.io/Je4g1
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
toppler has quit [Ping timeout: 265 seconds]
philr has joined #nixos
civodul has joined #nixos
marioron has joined #nixos
<marioron> Dear channel, which phases has the $out/bin open for read-write?
<marioron> trying to do fixupPhase = ''
toppler has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to python-unstable: https://git.io/Je4gA
dm9 has joined #nixos
<marioron> but the binary in $out if read only
<marioron> so patchelf doesn't up
<edef> all phases
<edef> consider chmod +w, i guess?
Makaveli7 has joined #nixos
<edef> it only gets made read-only after the derivation completes
<marioron> oh so it's that way from upstream
<marioron> not nix build doing it read only
bahamas has quit [Ping timeout: 240 seconds]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
philr has quit [Quit: WeeChat 2.6]
marek_ has quit [Changing host]
marek_ has joined #nixos
marek_ is now known as marek
toppler has quit [Ping timeout: 268 seconds]
marioron has quit [Remote host closed the connection]
cosimone has quit [Quit: Terminated!]
nhey_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/Je42t
toppler has joined #nixos
asymptotically has joined #nixos
iqubic` has joined #nixos
iqubic has quit [Ping timeout: 245 seconds]
thc202 has joined #nixos
viric_ is now known as viric
toppler has quit [Ping timeout: 268 seconds]
ThatDocsLady has joined #nixos
ottidmes has joined #nixos
toppler has joined #nixos
<Squarism> I have this default.nix file that works great for building. I wonder if theres some way I could 1. be able to compile "server" (excluding client) from nix-shell. 2. reach a repl/ghci from nix shell for "server" build. Here is the default.nix https://paste.ofcode.org/4p66CsZ8tWbJkehVQcCmnK
<Squarism> Ie to speed up my workflow. My problem now is that my work iterations (just compiling the changes Ive made) takes quite a long time.
<{^_^}> [nixpkgs] @kjuvi opened pull request #71280 → ephemeral: 5.4.0 -> 6.0.0 → https://git.io/Je42K
doublex has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 3 commits to python-unstable: https://git.io/Je42i
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to staging: https://git.io/Je42P
<{^_^}> [nixpkgs] @FRidh pushed 251 commits to python-unstable: https://git.io/Je421
toppler has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
philr has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
vonfry has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to python-unstable: https://git.io/Je42d
Ariakenom has joined #nixos
<Ariakenom> how should I go about using nix-shell from a nix-shell --pure? it didnt find nixpkgs
<adisbladis> ariakenom: What do you mean?
<adisbladis> Nested nix-shell?
<Ariakenom> adisbladis: yes
<adisbladis> ariakenom: Then you have to add nix as an input
<adisbladis> nix-shell -p hello nix --pure
<Ariakenom> oh yeah I had nix-shell --pure -p nix
<Ariakenom> sry
<Ariakenom> still had the nixpkgs issue
<adisbladis> ariakenom: Of course, because NIX_PATH is unset
<adisbladis> You're gonna have to set it to something
<adisbladis> export NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz
<adisbladis> For example
<Ariakenom> ok can I keep it from outside maybe?
<adisbladis> ariakenom: You can do that with --keep
<adisbladis> --keep NIX_PATH
<Ariakenom> I am testing my script. so that I have specified all depencies
__Sander__ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je42h
<{^_^}> [nixpkgs] @c0bw3b merged pull request #70876 → flamegraph: 2017-07-01 -> 2019-02-16 → https://git.io/JeWSL
toppler has quit [Ping timeout: 246 seconds]
<Ariakenom> adisbladis: that worked great! thanks
Zer0xp has joined #nixos
ubert has joined #nixos
toppler has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
dm9 has quit [Quit: WeeChat 2.6]
<adisbladis> :)
toppler has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
hke has quit [Quit: Ping timeout (120 seconds)]
hke has joined #nixos
Okinan has joined #nixos
joshuagl has joined #nixos
toppler has joined #nixos
Ariakenom has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to python-unstable: https://git.io/Je4ao
<{^_^}> [nixpkgs] @Mic92 merged pull request #71245 → rustup: 1.20.0 -> 1.20.2 → https://git.io/Je4W7
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Je4aD
<{^_^}> [nixpkgs] @madjar merged pull request #71160 → nox: add missing 'setuptools' to propagatedBuildInputs → https://git.io/Je86q
<{^_^}> [nixpkgs] @madjar pushed 2 commits to master: https://git.io/Je4ay
xelxebar has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #70314 → zookeeper: Fix wrong paths in startup script → https://git.io/Jec4e
<{^_^}> [nixpkgs] @jonringer pushed commit from @phile314 to master « zookeeper: Fix wrong paths in startup script »: https://git.io/Je4a9
xelxebar has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
lord| has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #69743 → nextcloud-client: 2.5.3 -> 2.6.0 → https://git.io/JeZEV
wfranzini has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Je4ap
<{^_^}> [nix-pills] @adamse opened pull request #119 → Improve grammar/choice of word → https://git.io/Je4ah
wfranzini has joined #nixos
<{^_^}> [nix-pills] @Mic92 merged pull request #119 → Improve grammar/choice of word → https://git.io/Je4ah
<{^_^}> [nix-pills] @Mic92 pushed 2 commits to master: https://git.io/Je4VJ
toppler has joined #nixos
chkno_ has quit [Ping timeout: 240 seconds]
chkno has joined #nixos
<philipp[m]> Anybody else got problems with murmur seemingly running but not binding to any interfaces after the upgrade to 19.09?
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
gila has joined #nixos
wfranzini has quit [Read error: Connection reset by peer]
wfranzini has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
ottidmes has quit [Quit: Leaving]
toppler has quit [Ping timeout: 268 seconds]
Okinan has joined #nixos
Zer0xp is now known as Guest42396
lord| has joined #nixos
Zer0xp has joined #nixos
Ariakenom has joined #nixos
<Zer0xp> Hey so I've updated to NixOS 19.09, I'm using KDE Plasma but for some reason now I can't see my battery status any more ever since I've updated.
toppler has joined #nixos
Heirlung has quit [Ping timeout: 250 seconds]
<Zer0xp> When I try to open Power Management in settings, it says that the Power Management configuration module could not be loaded.
<Zer0xp> And that the Power Management Service appears to not be running
<{^_^}> [nixpkgs] @FRidh pushed 4 commits to python-unstable: https://git.io/Je4VX
<FRidh> Zer0xp: maybe powerManagement.enable needs to be enabled? Not sure.
toppler has quit [Ping timeout: 240 seconds]
freeman42x has joined #nixos
iyzsong has joined #nixos
cosimone has joined #nixos
sb0 has quit [Quit: Leaving]
toppler has joined #nixos
tmaekawa has joined #nixos
cfricke has joined #nixos
tertl3_ has joined #nixos
fendor has quit [Ping timeout: 276 seconds]
<{^_^}> [nix] @edolstra merged pull request #2291 → nix-channel documentation: don't suggest deprecated function → https://git.io/fNYbc
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Je4wU
Okinan has quit [Quit: Konversation terminated!]
<Taneb> ...I forgot I made that PR
lukash_|away is now known as lukash_
ng0 has joined #nixos
Okinan has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
fendor has joined #nixos
freeman42x has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
alex``` has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
xelxebar has quit [Ping timeout: 260 seconds]
ng0 has quit [Ping timeout: 260 seconds]
andreas31 has quit [Ping timeout: 260 seconds]
asymptotically has quit [Ping timeout: 260 seconds]
klntsky has quit [Ping timeout: 260 seconds]
lawlesseel has quit [Ping timeout: 260 seconds]
jb551 has quit [Ping timeout: 260 seconds]
gxt has quit [Ping timeout: 260 seconds]
cartwright has quit [Ping timeout: 260 seconds]
artectrex has joined #nixos
artectrex has left #nixos [#nixos]
meck_ has joined #nixos
meck has quit [Ping timeout: 264 seconds]
toppler has quit [Ping timeout: 268 seconds]
brnzz has quit [Quit: The Lounge - https://thelounge.chat]
hilo_ has joined #nixos
<hilo_> hi, it looks like the nixpkgs-unstable channel hasn't been rebuilt in 4 days - was wondering if that's normal or if something's amiss
toppler has joined #nixos
xelxebar has joined #nixos
jb551 has joined #nixos
klntsky has joined #nixos
cinimod`` has joined #nixos
gxt has joined #nixos
ng0 has joined #nixos
mexisme has joined #nixos
cinimod`` has quit [Client Quit]
<qyliss> hilo_: it's not abnormal
cinimod has joined #nixos
<qyliss> It can sometimes be a week or so before somebody manages to fix the channels
<{^_^}> [nixpkgs] @tobim opened pull request #71281 → suricata: 4.1.5 -> 5.0.0 → https://git.io/Je4wD
mexisme has quit [Ping timeout: 250 seconds]
<duairc> I know you can use -K with nix-shell/nix-build to inspect a failing build, but is there a way you can "retry" or "continue" the build after making a quick modification to one of the files therein? Obviously you can apply a patch in the derivation but I'd like a process with a faster feedback cycle
toppler has quit [Ping timeout: 240 seconds]
hilo_ has quit [Remote host closed the connection]
ryantm has quit [Remote host closed the connection]
toppler has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #71282 → Tensorflow 1.15.0 → https://git.io/Je4wb
Zer0xp has quit [Quit: WeeChat 2.4]
Guest42396 has quit [Quit: Bye!]
LysergicDreams has quit [Ping timeout: 268 seconds]
Zer0xp has joined #nixos
Zer0xp is now known as Guest77347
Zer0xp has joined #nixos
LysergicDreams has joined #nixos
ebzzry has joined #nixos
orivej has joined #nixos
<Zer0xp> So I've tried enabling the powerManagement.enable service but I am still unable to see my battery status and this is after updating to NixOS 19.09. I'm using KDE Plasma.
<Zer0xp> I think I should just reinstall the entire OS from scratch
<{^_^}> [nixpkgs] @FRidh pushed to master « nixos/pppd: add description for peers, unbreaks metrics job and channel »: https://git.io/Je4rq
<FRidh> gchristensen: ^^ can ofborg check for missing descriptions?
ryantm has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
xwvvvvwx- has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
<gchristensen> hmmm yeah I think so
fendor has quit [Ping timeout: 265 seconds]
toppler has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
rembo10 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nix-pills] @ryantm pushed commit from @tssm to fix-pill-7-inherit-url « Update manuals' links »: https://git.io/Je4rC
rembo10 has joined #nixos
<samrose> If I want to get the git revision of a nix channel latest release, and compare it to what is installed on an instance of nixos, is there an existing way to do this in nixos?
Heirlung has joined #nixos
<FRidh> question is whether we want to require a description it in the first place, but I think we do
darkf has quit [Quit: Connection closed for inactivity]
<gchristensen> yeah I think we do :)
<pbb> samrose: you can do that manually
<pbb> samrose: check howoldis.herokuapp.com
<pbb> samrose: there you can see the revision of each channel
<pbb> samrose: then, do 'ls -l /run/current-system' and take the characters after the last dot
andreas31 has joined #nixos
<pbb> samrose: then you can do a comparison between these two nixpkgs revisions as you like, with 'git diff {rev1} {rev2}' or by looking at the git log
<pbb> for example, my nixos system derivation ends with ...-nixos-system-amalthea-20.03pre197168.ac1aeb4fbbe, so my installed revision is ac1aeb4fbbe
<pbb> the latest version of the unstable channel is 1c40ee6fc44 according to howoldis.herokuapp.com
toppler has quit [Ping timeout: 268 seconds]
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
wormwood has joined #nixos
<{^_^}> [nix-pills] @ryantm pushed 5 commits to fix-pill-7-inherit-url: https://git.io/Je4ra
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
<{^_^}> [nix-pills] @ryantm pushed 0 commits to fix-pill-7-inherit-url: https://git.io/Je4rr
<{^_^}> [nix-pills] @ryantm merged pull request #117 → Update manuals' links → https://git.io/JenWW
<{^_^}> [nix-pills] @ryantm pushed 3 commits to master: https://git.io/Je4ro
toppler has joined #nixos
Zer0xp has quit [Quit: WeeChat 2.4]
Guest77347 has quit [Quit: Bye!]
<{^_^}> [nixpkgs] @xfix opened pull request #71284 → zfsbackup-go: init at unstable-2019-03-05 → https://git.io/Je4r1
asymptotically has joined #nixos
psyanticy has joined #nixos
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
schjetne has quit [Ping timeout: 268 seconds]
xwvvvvwx has joined #nixos
rembo10 has quit [Quit: ZNC 1.7.5 - https://znc.in]
toppler has quit [Ping timeout: 268 seconds]
fendor has joined #nixos
rembo10 has joined #nixos
ardumont has quit [Ping timeout: 250 seconds]
toppler has joined #nixos
darkf has joined #nixos
kraem has quit [Ping timeout: 245 seconds]
strobelight has joined #nixos
glasserc_ has quit [Read error: Connection reset by peer]
glasserc has joined #nixos
kraem has joined #nixos
ardumont has joined #nixos
strobelight_ has joined #nixos
strobelight is now known as Guest52727
strobelight_ is now known as strobelight
Guest52727 has quit [Ping timeout: 240 seconds]
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
rauno has quit [Ping timeout: 250 seconds]
xwvvvvwx has quit [Client Quit]
xwvvvvwx has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @ehamberg opened pull request #71285 → erlangR21: 22.0.4 -> 22.1.3 → https://git.io/Je4Kv
waleee-cl has joined #nixos
freeman42x has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f842ba385ef (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
toppler has joined #nixos
schjetne has joined #nixos
<{^_^}> [nixpkgs] @geistesk closed pull request #71256 → neteria: init at 1.0.3.160123.05 → https://git.io/Je48w
mexisme has joined #nixos
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<freeman42x> anyone else getting: sonnet.core: No language dictionaries for the language: "en_US" ? I am getting it on sudoedit
mexisme has quit [Ping timeout: 246 seconds]
<freeman42x> the message is printed multiple times
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
xwvvvvwx has quit [Client Quit]
xwvvvvwx has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
xwvvvvwx has quit [Client Quit]
xwvvvvwx has joined #nixos
<{^_^}> [nixpkgs] @matthuszagh opened pull request #71286 → pylibftdi: init at 0.17.0 → https://git.io/Je4Ky
toppler has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
freeman42x has quit [Remote host closed the connection]
freeman42x has joined #nixos
freeman42xx has joined #nixos
freeman42xx has quit [Client Quit]
toppler has quit [Ping timeout: 240 seconds]
xkapastel has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
dm9 has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @judaew opened pull request #71287 → keybase: adding dependencies fuse, osxfuse, gnupg → https://git.io/Je466
iyzsong has quit [Ping timeout: 246 seconds]
toppler has quit [Ping timeout: 276 seconds]
hke has quit [Quit: The Lounge - https://thelounge.github.io]
<{^_^}> [nixpkgs] @matthuszagh opened pull request #71288 → Cocotb → https://git.io/Je46H
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hke has joined #nixos
toppler has joined #nixos
<Ariakenom> should I, a novice nixer, use nix run over nix-shell?
<{^_^}> [nixpkgs] @hedning opened pull request #71289 → glib: don't build docs on darwin → https://git.io/Je46h
<freeman42x> in this example: https://gist.github.com/razvan-flavius-panda/e68fb43d484508eee28668c1f9f50bf1 what do I need to use in place of: "... fetch jsaddle-warp here ..." ?
philr has quit [Ping timeout: 240 seconds]
alex``` has quit [Quit: The Lounge - https://thelounge.chat]
doublex_ has joined #nixos
<emily> ariakenom: they are for different things. but generally nix run is nicer yes
<emily> nix run can't replace the nix-shell development shell case
<emily> but is great for just getting packages into your path
doublex has quit [Ping timeout: 264 seconds]
<niksnut> "nix run" is a replacement for "nix-shell -p", but not an exact replacement
iqubic` has quit [Ping timeout: 240 seconds]
<niksnut> since it *only* sets PATH whereas "nix-shell -p" does all the stdenv setup stuff
toppler has quit [Ping timeout: 268 seconds]
iqubic` has joined #nixos
<Ariakenom> ok. yes I use it in a bash script: nix run nixpks.python3 nixpkgs.awscli -c python3 program.py
endformationage has joined #nixos
Tucky has quit [Quit: WeeChat 2.6]
<Ariakenom> nixnothing: anything I should note in particular about those differences?
schjetne has quit [Ping timeout: 265 seconds]
doublex has joined #nixos
schjetne has joined #nixos
iqubic` has quit [Ping timeout: 276 seconds]
iqubic``` has joined #nixos
toppler has joined #nixos
doublex_ has quit [Ping timeout: 240 seconds]
fusion809 has joined #nixos
iqubic``` has quit [Remote host closed the connection]
zupo has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #71237 → sane-backends: remove /etc/sane.d/net.conf → https://git.io/Je4n7
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/Je4i6
<Tritlo> how do I run commands like I would have with .xinitrc when using xmonad?
<Tritlo> I've been trying to use slim and sessionCommands, but it's not working.
Ariakenom has quit [Quit: WeeChat 2.6]
sigmundv has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 240 seconds]
doublex has quit [Ping timeout: 268 seconds]
gila has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
cjpbirkbeck has quit [Ping timeout: 276 seconds]
evanjs has joined #nixos
<Tritlo> or hmm, it seems like it was set very briefly, but then overridden somehow
toppler has joined #nixos
schjetne has quit [Ping timeout: 265 seconds]
doublex has joined #nixos
alkeryn has joined #nixos
<lassulus> I'm confused what the problem of the bot in on this PR: https://github.com/NixOS/nixpkgs/pull/71281
<{^_^}> #71281 (by tobim, 3 hours ago, open): suricata: 4.1.5 -> 5.0.0
<{^_^}> [nixpkgs] @jonringer merged pull request #71258 → pytmx: init at 3.21.7 → https://git.io/Je48o
<{^_^}> [nixpkgs] @jonringer pushed commit from @geistesk to master « pytmx: init at 3.21.7 »: https://git.io/Je4Pk
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @alanpearce opened pull request #71290 → python3Packages.trezor_agent: fix startup error → https://git.io/Je4PY
<bahamas> hello. can I create a symlink in a easy to remember location like /var/file that points to a file in my nix store?
cosimone has quit [Quit: Terminated!]
<tilpner> Yes, use systemd.services or systemd.tmpfiles.rules
toppler has quit [Ping timeout: 265 seconds]
<bahamas> tilpner: what exactly in systemd.services?
<tilpner> bahamas: You would probably create a oneshot service that creates the link
<tilpner> But try tmpfiles first
<tilpner> Despite the name, they can be used for non-temporary files too
<bahamas> tilpner: cool. I'll look into it. thank you!
<lassulus> what about environment.etc ?
<tilpner> lassulus: Doesn't work for /var
<lassulus> ah, yes, but maybe /var isn't a hard requirement
<tilpner> Though you could maybe get away with a link from /var/** to /etc/**
<tilpner> And then you manage a link in /etc/** with environment.etc
<lassulus> something like environment.etc for the whole FS would be handy
<tilpner> You would have to create the /var link manually, and it's a weird contraption
erasmas has joined #nixos
<tilpner> lassulus: I use a module like that for my system
<bahamas> \/var isn't a hard requirement. I just need to create a file with env vars and place it somewhere where I can easily use it with a development server
<exarkun> hash-mismatch in fixed-output derivation: https://gist.github.com/exarkun/50624c971a4d2765db0d47cf76e78276 :/
<tilpner> lassulus: But it doesn't handle removal of files and will happily overwrite anything
<bahamas> where can I read more about environment.etc?
<tilpner> man configuration.nix
<bahamas> thanks!
toppler has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #71218 → [19.09] bepasty: add setuptools → https://git.io/Je4IZ
<{^_^}> [nixpkgs] @Lassulus pushed to release-19.09 « bepasty: add setuptools »: https://git.io/Je4PB
mexisme has joined #nixos
<exarkun> known issue? `nix-build https://github.com/NixOS/nixpkgs-channels/archive/5d5cd70516001e79516d2ade8bcf31df208a4ef3.tar.gz -A openssl_1_0_2` fails with hash mismatch
mexisme has quit [Ping timeout: 245 seconds]
<exarkun> yea that looks broken to me
<exarkun> that is not a plausible sha256 change
__Sander__ has quit [Quit: Konversation terminated!]
<exarkun> hm I guess it is fixed later in master
alkeryn has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python: numpy: 1.17.2 -> 1.17.3 »: https://git.io/Je4Pa
bahamas has quit [Quit: leaving]
alkeryn has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
alkeryn has left #nixos [#nixos]
<sphalerite> I'm trying to build some stuff natively on armv7, and a lot of things are failing because of the shebang #!/bin/sh in their configure scripts. What causes this stuff not to fail on x86_64 and aarch64?
<ornx> is your /bin/sh the right architecture
<ornx> if it fails on the hashbang, and the path exists, then there must be something wrong with the file at that path
<risson> ls
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
ixxie has joined #nixos
<sphalerite> ornx: well, there shouldn't be a /bin/sh at all
<ornx> i have a /bin/sh on my nixos system
<sphalerite> and indeed there isn't
alexherbo24 has joined #nixos
<ornx> uh
<sphalerite> yes, but not in the build sandbox
<ornx> ah
<sphalerite> wait, there is on my x86_64 laptop o.O
<gchristensen> the build sandbox definitely does have a /bin/sh :)
selfsymmetric-pa has joined #nixos
alexherbo2 has quit [Ping timeout: 276 seconds]
<sphalerite> aah, there's a build-time nix option called SANDBOX_SHELL…
<selfsymmetric-pa> I have a `csx` file I need to run. Anyone know how to install `dotnet-script`?
ddellacosta has joined #nixos
toppler has joined #nixos
tertl3_ has quit [Quit: Connection closed for inactivity]
wfranzini has quit [Remote host closed the connection]
Cale has quit [Ping timeout: 245 seconds]
ubert has quit [Quit: Leaving]
<evelyn> It doesn't appear to be in nixpkgs
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #71291 → simp_le: 0.9.0 -> 0.16.0 → https://git.io/Je4Pj
bvdw has quit [Quit: bvdw]
bvdw has joined #nixos
<Tritlo> Is it possible to just say "use this raw file for this variable"
toppler has quit [Ping timeout: 240 seconds]
<Tritlo> in configuration.nix
<{^_^}> [nixpkgs] @doronbehar opened pull request #71292 → awesome: Make sure it compiles with luajit → https://git.io/Je4Xe
<Yaniel> as in file path or file contents?
<Yaniel> because the answer is yes
<Tritlo> file contents
<Tritlo> Yaniel: how?
domogled has joined #nixos
<Yaniel> I'm pretty sure there is a readfile function
cosimone has joined #nixos
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @jonringer pushed 7 commits to python-unstable: https://git.io/Je4XI
toppler has joined #nixos
jasom has joined #nixos
ee194350 has quit [Ping timeout: 265 seconds]
ee194350 has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
schjetne has joined #nixos
ee194350 has quit [Ping timeout: 240 seconds]
cosimone has quit [Remote host closed the connection]
toppler has quit [Ping timeout: 268 seconds]
cosimone has joined #nixos
ee194350 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gxt has quit [Quit: WeeChat 2.6]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
schjetne has quit [Ping timeout: 240 seconds]
drakonis_ has quit [Ping timeout: 276 seconds]
sochran has joined #nixos
gxt has joined #nixos
chloekek has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed to master « iperf3: update musl patch »: https://git.io/Je4XP
toppler has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
drakonis has joined #nixos
zupo has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
judson__ has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #71293 → Phpcbf phpcs updates → https://git.io/Je4XQ
ThatDocsLady has quit [Quit: Leaving]
roconnor has joined #nixos
<roconnor> how do I install a PDF printer?
<roconnor> as in getting firefox to print to a PDF file.
knupfer has joined #nixos
<roconnor> KDE doesn't seem to have any printers any more and when I open the Printers - system setting module it says "Bad file descriptor"
<infinisil> roconnor: Ctrl-P?
toppler has quit [Ping timeout: 265 seconds]
<roconnor> ctrl-p doesn't give any print-to-pdf options anymore
drewr has quit [Ping timeout: 245 seconds]
jreed has joined #nixos
<roconnor> maybe I need CUPS enabled
knupfer has quit [Ping timeout: 264 seconds]
selfsymmetric-pa has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
Ariakenom has joined #nixos
drakonis has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
fendor has quit [Ping timeout: 268 seconds]
<roconnor> Okay I enabled CUPS but there is still no option to install a PDF-file printer.
<{^_^}> [nixpkgs] @WilliButz merged pull request #70753 → matrix-appservice-slack: init at 1.0.1 → https://git.io/JeWnM
<{^_^}> [nixpkgs] @WilliButz pushed 3 commits to master: https://git.io/Je41B
orivej has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ab42edccc2d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/15e2aed11eb (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<roconnor> maybe I should just use choromium instead
work_ has joined #nixos
<wedens[m]> can't find cups-pdf driver in nixpokgs :(
toppler has joined #nixos
dm9 has quit [Quit: WeeChat 2.6]
lunik1 has quit [Read error: Connection reset by peer]
sellout- has quit [Quit: Leaving.]
lunik1 has joined #nixos
ajs124 has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed 0 commits to nixos-19.09-small: https://git.io/Je41p
<gchristensen> niksnut: oh? :)
orivej has joined #nixos
<niksnut> it works \o/
<gchristensen> channel merging?
justanotheruser has joined #nixos
<niksnut> repo merging
<gchristensen> cool
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/15e2aed11eb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<gchristensen> I'm a bit skeptical on the protected branches, but probably fine :P
<{^_^}> [nixos-channel-scripts] @edolstra pushed to master « Push to the nixpkgs repo »: https://git.io/Je4MJ
<niksnut> gchristensen: hm, skeptical about what?
<edef> oh, exciting
<gchristensen> well not so skeptical. it'd be good to make it very locked down, so even you can't do it without first disabling protected branches
<edef> this'll save me a remote at least
toppler has quit [Ping timeout: 264 seconds]
mexisme has joined #nixos
<niksnut> gchristensen: yes, but that wasn't the case for nixpkgs-channels either
<gchristensen> oh :P
shibboleth has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @edolstra pushed to staging « Remove references to the nixpkgs-channels repo »: https://git.io/Je4MZ
toppler has joined #nixos
<aminechikhaoui> niksnut would you keep nixpkgs-channels as a mirror to nixpkgs ?
<niksnut> yes, the channel script still pushes there as well
<aminechikhaoui> ok great
ddellacosta has quit [Ping timeout: 265 seconds]
<ajs124> what's the reason it was set up that way, with a separate repo, in the first place, instead of branches?
ddellacosta has joined #nixos
<gchristensen> at one point you couldn't prevent people from pushing to specific branches
sellout- has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
Ariakenom_ has joined #nixos
sochran has left #nixos [#nixos]
Ariakenom has quit [Ping timeout: 240 seconds]
<niksnut> turns out it's impossible to prevent push access by "Organization administrators, repository administrators, and users with the Maintain role."
jnas has joined #nixos
<gchristensen> heh
<gchristensen> what
toppler has joined #nixos
strobelight has quit [Ping timeout: 250 seconds]
jreed has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @evanjs opened pull request #71294 → gitkraken: 6.2.1 -> 6.3.0 → https://git.io/Je4MD
<evelyn> I'm having a funny time installing nix on this box. I'm attempting to follow the ZFS guide. I have a boot partition formatted as vfat. But, whenever I run nixos-install, it will corrupt the partition, and I get dropped in to a recovery shell.
<exarkun> is there a simple way to override openssl_1_1 to roll it back to 1.1.1c? I don't see how to do it with override or overrideAttrs
<jnas> Hey - so i'm attempting to migrate to the newest airflow version (1.10.5) as well as upgrade from python2.7 to 3.7 - after delving into the NixOS pkgs and not seeing a py3 version of airflow available (as well as many of the required packages), it was clear this would need a custom build. NixOS has been working well with packaging airflow 1.9.0 w/
<jnas> py2.7, and I've been updating the deps to use the versions of the packages defined here: https://github.com/apache/airflow/blob/1.10.5/setup.py. Currently running into an issue where I've defined one package definition (for the package Six) and for some reason the build has found duplicate packages for this, and they're the same version but still
<jnas> causing a build failure. The error is here: https://pastebin.com/NSfjyvY2Anyone have any insight on this?
<exarkun> mixing two different pythonPackages can lead to that failure
<exarkun> share your expression
<roconnor> exarkun: presumably you have to override the src attribute with your own fetch_url value?
<exarkun> roconnor: I guess so. Looking at the expression in nixpkgs, I guess I have to duplicate anything that uses either `version` or `sha256` since there's nothing I can do to automatically propagate those changes?
<exarkun> I kinda thought there was but ...
<clefru> I am a bit puzzled by that my system wants to build "4j4arqq9mp9qj4znnjmnq5mir58jfz99-coreutils-8.31.drv". My git repo is at "
<clefru> 8bf142e001b" which is the current nixos-19.09 channel, so in theory the binary caches should have all the packages caches. I also don't override coreutils (or any of its dependencies)... so I am a bit puzzled. Are there some tools to debug this? Showing the query to the binary cache for instance?
sellout- has quit [Ping timeout: 265 seconds]
toppler has quit [Ping timeout: 265 seconds]
<roconnor> exarkun: inspecting the sources suggests to me that 'version' and 'src' are the only relevent fields
detran has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixos-18.09: https://git.io/Je4DU
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixos-18.09-small: https://git.io/Je4DT
ng0 has quit [Ping timeout: 260 seconds]
WilliButz has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixos-19.03: https://git.io/Je4DI
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixos-19.03-small: https://git.io/Je4DL
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixos-19.09: https://git.io/Je4Dt
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixos-unstable: https://git.io/Je4Dm
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixos-unstable-small: https://git.io/Je4DY
ris has joined #nixos
ng0 has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixpkgs-18.09-darwin: https://git.io/Je4DO
<gchristensen> woohoo
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixpkgs-19.03-darwin: https://git.io/Je4Ds
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixpkgs-19.09-darwin: https://git.io/Je4DG
WilliButz has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 0 commits to nixpkgs-unstable: https://git.io/Je4DZ
<jnas> or general advice on where to look for: Package duplicates found in closure, see above. Usually this happens if two packages depend on different version of the same dependency.
<Ericson2314> niksnut: gchristensen imo if hydra always made a merge commit which it signed, that would be a pretty good solution
<Ericson2314> when it just fast forwards, one doesn't really have a sense of which non-tip commits were the last ones to pass hydra without checking hydra itself
<gchristensen> Ericson2314: how about if the data at https://channels.nix.gsc.io/ was made available at nixos.org?
<Ericson2314> but if we had a merge commit every time hydra approved, we would have that information in the git repo itself
<meatcar> anyone having issues with fish not autocompleting manpages when typing `man <tab>`? I've been chasing this but on and off for a while, looks like its related to apropos not returning any results, due to mandb not being run. I have to manually run `mandb` and `mandb -u` as root to get the completions to work.
jreed has joined #nixos
<niksnut> I don't like having a merge commit, because it means that the channel branch will have different commit hashes than the corresponding release branch
<symphorien> a tag then ?
<qyliss> niksnut++
<{^_^}> niksnut's karma got increased to 12
domogled has quit [Ping timeout: 246 seconds]
<symphorien> jnas: nix-store --query --tree may show what pull the different versions
<Ericson2314> gchristensen: niksnut it is a matter of personal taste, but I do actually like the separate commit history
toppler has joined #nixos
<gchristensen> what are the properties you're looking for?
<niksnut> git-notes might be useful for this, but I think github doesn't support them very well
<gchristensen> git-notes are actually really awful. I used them for the security roundups for a while and it was a nightmare
<Ericson2314> i like the signed history of CI'd commits
<Ericson2314> hydra is saying both "this commit is good" and "this commit is the next one I deemed good after this previous one"
<exarkun> roconnor: For now, right? I'll have to read all future changes to see if they introduce any other uses.
<gchristensen> (nit: hydra actually doesn't do that, it is the channel updater which does that)
<exarkun> jnas: What is `commonBuildInputs`?
<Ericson2314> with both this, and the grand hypothetical ofborg hydra unification whree every commit is CI'd before merge, `git log --first-parent` gives a history of all known-good commits
cosimone has quit [Quit: Terminated!]
<exarkun> jnas: Also, this looks like the expression for `six`, I guess. Is this what fails to build?
<{^_^}> [nixpkgs] @symphorien opened pull request #71295 → [19.09] nix-du: 0.3.0 -> 0.3.1 → https://git.io/Je4DB
<gchristensen> we could make a TLS certificate and submit it to certificate-transparency.org
<jnas> yea exarkun actually 2 different versions apparently attempt to build
<Ericson2314> would be useful if `git bisect` could take `--first-parent` like `git log` too
domogled has joined #nixos
<exarkun> jnas: Are you building *this* expression when you get the error you pasted?
<gchristensen> sounds like tags would be the closest thing you're hoping for
<roconnor> exarkun: that is true, however that is essentially always the case for packages. There is no override mechanism for "rec" and, in this case, locally bound functions (i.e. 'common').
<exarkun> roconnor: Okay. Thanks!
<niksnut> gchristensen: is that the thing go uses?
<Ericson2314> i dunno, it's not my top priority or anything, just an idea
* Ericson2314 goes back to work
<roconnor> exarkun: I think it is also worth consdiering cutting and pasting essentially the entire expression.
ambro718 has joined #nixos
<roconnor> rather than using a package override.
<roconnor> rather than using a derivation override.
boxscape has joined #nixos
<ambro718> Did anyone try nvidia+wayland+KDE using the new EGL-Streams support in Plasma 5.16?
<gchristensen> Ericson2314: let's talk more :) (cc adisbladis )
<jnas> yea presumably that expression exarkun is causing the failure judging by the stacktrace I sent
<niksnut> I think it would be annoying if "nixos-version" prints a revision that doesn't actually exist on the release branch
<exarkun> roconnor: Yea. I've done that before. All of the patch files and such will make it a little more annoying for openssl, I think. I'll try overrideAttrs for a while and see how it goes. And with luck somebody will fix the issues that require me to pin openssl to exactly 1.1.1c before too long...
<gchristensen> niksnut: +1
<exarkun> jnas: Actually the error you sent says you're building apache-airflow which depends on mock which depends on six
<exarkun> jnas: My guess is that you have overridden one out of many python dependencies in a way that causes the conflict and you need to do more.
<niksnut> adding a merge commit also invalidates the version string used in e.g. ISO names
<gchristensen> heh
<niksnut> though that might be an argument for not using revisions in version strings...
<gchristensen> revisions are so good, though
<niksnut> yes
<exarkun> jnas: Perhaps you can assemble an SSCCE.
Zer0xp has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
cosimone has joined #nixos
alexherbo24 has quit [Ping timeout: 276 seconds]
alexherbo245 has joined #nixos
<jnas> it has been quite a process to fix the deps with the new versions and do custom builds exarkun but i'm not understanding where the multiple versions are coming from for this specific package
<exarkun> I can't see your complete expression so I can't tell you where it's coming from. I can tell you that I have encountered this symptom before and the cause has been using Python packages from two different `pythonPackages` sets.
<exarkun> If you have pythonXPackages.foo which depends on pythonXPackages.bar and you have pythonYPackages.baz which depends on pythonYPackages.bar and you try to put pythonXPackages.foo in an environment with pythonYPackages.baz then you'll have a conflict between pythonXPackages.bar and pythonYPackages.bar
<exarkun> it doesn't matter if bar is the "same" in both, it can't really be the same because it belongs to a different package set
<exarkun> This may have absolutely nothing at all to do with your problem. Without seeing a complete expression that reproduces the failure I'm just guessing.
<exarkun> And that's my only guess
toppler has joined #nixos
alexherbo245 has quit [Quit: The Lounge - https://thelounge.chat]
<exarkun> Hmmm my openssl overlay doesn't seem to do anything at all. I can even do `openssl_1_1 = null;` and my build is unaffected. :/
drakonis has quit [Quit: Leaving]
<exarkun> maybe I should have used `self.openssl_1_1` in the other overlay instead of `super.openssl_1_1`...
misuzu has quit [Remote host closed the connection]
<jnas> ok thanks, let me see if I can get more info that may be helpful
jb551 has quit [Remote host closed the connection]
jb551 has joined #nixos
strobelight has joined #nixos
lsyoyom has joined #nixos
alienpirate5 has joined #nixos
alienpirate5 has joined #nixos
alienpirate5 has quit [Changing host]
<ashkitten> if a declarative container is removed from the configuration, is the data immediately lost?
knupfer has joined #nixos
drakonis has joined #nixos
toppler has quit [Ping timeout: 245 seconds]
toppler has joined #nixos
<exarkun> copy/pasting the whole openssl instead of overriding comes with other issues ... to do with bootstrapping, I guess?
<exarkun> the `fetchurl` expression fails in a variety of ways :(
strobelight_ has joined #nixos
strobelight is now known as Guest35649
Guest35649 has quit [Read error: Connection reset by peer]
strobelight_ is now known as strobelight
ambro718 has quit [Quit: Konversation terminated!]
morr has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je4y2
leo___ has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
<exarkun> infinite recursion encountered, at undefined position
jreed has quit [Ping timeout: 250 seconds]
rauno has joined #nixos
shabius has quit [Quit: Leaving]
strobelight_ has joined #nixos
strobelight is now known as Guest9114
strobelight_ is now known as strobelight
Guest9114 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Je4yD
toppler has joined #nixos
misuzu has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je4yy
gila has joined #nixos
palo has quit [Quit: WeeChat 2.4]
freeman42x has quit [Ping timeout: 276 seconds]
shabius has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
jreed has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #nixos
toppler has joined #nixos
mexisme has joined #nixos
sellout- has joined #nixos
misuzu has quit [Remote host closed the connection]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<samrose> are there existing documentation generators for nix?
wildtrees has joined #nixos
<gchristensen> cc tazjin
leo___ has quit [Quit: leaving]
civodul has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<samrose> gchristensen: ok I see https://github.com/tazjin/nixdoc
toppler has quit [Ping timeout: 240 seconds]
freeman42x has joined #nixos
drakonis_ has joined #nixos
work_ has quit [Quit: Connection closed for inactivity]
palo has joined #nixos
toppler has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
palo1 has joined #nixos
WilliButz has quit [Remote host closed the connection]
WilliButz has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
palo has quit [Quit: WeeChat 2.4]
palo1 is now known as palo
palo has quit [Client Quit]
xkapastel has quit [Quit: Connection closed for inactivity]
palo has joined #nixos
sellout- has quit [Quit: Leaving.]
oscarvarto has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
mexisme has joined #nixos
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
wfranzini has joined #nixos
aminechikhaoui has joined #nixos
zeta_0 has joined #nixos
gkmngrgn has joined #nixos
<zeta_0> hello guys, will the rasberry pi 4 work with the new nixos unstable version ?
toppler has joined #nixos
<samueldr> there's a (temporary) device-specific image built by hydra currently, and there's a PR for u-boot that needs work (after nixcon) and it might work with the generic image at that point
* samueldr searches for the device-specific image link
jreed has quit [Ping timeout: 250 seconds]
<samrose> zeta_0: I had been watching https://github.com/NixOS/nixpkgs/pull/70796
<{^_^}> #70796 (by samueldr, 1 week ago, open): u-boot: Add Raspberry Pi 4 build
oscarvarto has quit [Quit: Konversation terminated!]
Neo-- has joined #nixos
domogled has quit [Read error: Connection reset by peer]
misuzu has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to master « blueman: update patch »: https://git.io/Je49Z
<samueldr> that's the PR for u-boot and generic images
<samueldr> looks like it timed out recently, but had a successful build 5 days ago
<samueldr> once we have the generic image working that specific image will be removed
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixos-unstable-small: https://git.io/Je494
selfsymmetric-pa has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
Jackneill has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c51a4801f47 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<aanderse> say i have some certificate files from the active directory sysadmins and i want to deploy them on a bunch of my nixops servers
<zeta_0> samueldr: cool, how long do you think i will have to wait until it is working and stable ?
<aanderse> my current approach is to use openssl to take the certificate files, convert them into PEM format, then pass them into security.pki.certificateFiles
<samueldr> the linked image should be stable, and it should be working, but doesn't work using u-boot, thus no generations selection at boot, among other differences
<samueldr> as far as a u-boot image, no timeline, but during november I will take some time to validate the state of u-boot+mainline and then we'll know
<aanderse> i wrote a real quick runCommand "outputfile.pem" { nativeBuildInputs = [ pkgs.openssl ]; } "openssl blah blah convert input to $out"
<aanderse> and pass that instead
<aanderse> where is the standard spot that i should declare functions that i want to use across a bunch of different servers in my nixops network?
<zeta_0> samueldr: what is u-boot, i plan on installing nixos unstable on the rasberry pi 4 using a usb flash drive ?
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
qqlq has quit [Quit: ZNC 1.7.5 - https://znc.in]
lord| has joined #nixos
<samueldr> u-boot is a firmware and bootloader solution, it gives us a common platform for all ARM boards, so we don't have to support any specific board with a specific build
toppler has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 242 commits to nixpkgs-unstable: https://git.io/Je49r
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d08a7431561 (from 4 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
shyguy has joined #nixos
Ariakenom_ has quit [Read error: Connection reset by peer]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
troydm has quit [Ping timeout: 276 seconds]
drakonis has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
glittershark has joined #nixos
<shyguy> hi, IT people :)
Soo_Slow has joined #nixos
<zeta_0> samueldr: i guess i will just wait until it is more stable
<zeta_0> samueldr: i still don't understand nix well enough to contribute
<nilsirl[m]> `neovim` has not colours in `alacritty` unless `alacritty` is installed via `nix-env`
<nilsirl[m]> If `alacritty` is installed via `configuration.nix` there are not colours
toppler has quit [Ping timeout: 265 seconds]
<glittershark> I'm getting "undefined reference to `__libc_csu_init'" in a package I'm building during the CMake configure step
<glittershark> I'm building https://github.com/uber/h3, if it matters
<glittershark> I googled the issue and it looks like some sort of issue with glibc not being available in the ld...
<glittershark> can link the expression if anyone needs it
asymptotically has quit [Quit: Leaving]
<zeta_0> samueldr: are the steps for using a usb flash drive to install nixos on a rasberry pi different then installing it on a laptop ?
cinimod` has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71250 → anydesk: fix icons → https://git.io/Je48s
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @shreyanshk to master « anydesk: fix icons (#71250) »: https://git.io/Je49A
<samueldr> definitely, the raspberry pi 4 doesn't currently support usb booting
<samueldr> and it won't boot via UEFI
<samueldr> (nor via MBR)
<samueldr> those limitations are raspberry pi (4) specific, not nixos specific
cinimod has quit [Ping timeout: 240 seconds]
ddellacosta has joined #nixos
<zeta_0> samueldr: well i could try out the rasberry pi 3, but technology ages fast ?
<evelyn> you could get u-boot to do UEFI magic :)
<samueldr> evelyn: definitely :)
<samueldr> zeta_0: same kind of limitations apply
<evelyn> u-boot + systemd-boot would be.. uh interesting
jnas has quit [Remote host closed the connection]
<samueldr> evelyn: tianocore on the raspi 3B is better imo if you want to go UEFI :)
toppler has joined #nixos
<samueldr> as in, I used it and it works just like it should: well
<samueldr> zeta_0: though the 3B can USB boot with some drawbacks, the 3B+ will USB boot without burning fuses
<evelyn> that would load the device tree right?
<samueldr> still, it's not UEFI boot for either (unless you use tianocore or u-boot)
<samueldr> evelyn: it uses its built-in device tree, but the bootloader can load another one if needed
<samueldr> though there's no magic to do so right now
<samueldr> (same limitations as with u-boot and device trees with UEFI)
<samueldr> well, almost, tianocore's is built-in at build time, u-boot can load a unique one
<samueldr> but will not per-generation like with extlinux
morr has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
selfsymmetric-pa has quit [Remote host closed the connection]
gila has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @symphorien opened pull request #71298 → nm-fortisslvpn: create the local state directory → https://git.io/Je4HJ
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @thoughtpolice pushed to master « liburing: 0.1 -> 0.2pre246_08bd8151 »: https://git.io/Je4HT
<siraben> How do I use an older version of Coq in building a project in default.nix ?
<siraben> I want to use Coq 8.4, but that doesn't appear in nix-env -qaP coq
<{^_^}> [nixpkgs] @jonringer pushed 4 commits to python-unstable: https://git.io/Je4Ht
toppler has quit [Ping timeout: 265 seconds]
oida has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #71299 → gtk-doc: fix on darwin → https://git.io/Je4HG
waleee-cl has quit [Quit: Connection closed for inactivity]
Havvy has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
<{^_^}> [nixpkgs] @hedning closed pull request #71289 → glib: don't build docs on darwin → https://git.io/Je46h
shyguy has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
<symphorien> siraben: maybe use an older version of nixpkgs
<glittershark> Can anyone help me with the above issue with __libc_csu_init not being found by ld?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Havvy has joined #nixos
<gchristensen> should `light` be able to reduce brightness for external displays too?
philr has joined #nixos
<samueldr> I don't think the required devices are ever created for it, it's an entirely different protocol
<samueldr> most display will use DDC
<gchristensen> ah
<samueldr> so I don't think it's expected to work with most displays
<samueldr> though ddcutil can tweak those values
toppler has quit [Ping timeout: 268 seconds]
<zeta_0> hey guys, what is the link for upgrading nixos ? i am using nixos 19.03 stable and want to use nixos 20.03 unstable ?
chloekek has quit [Ping timeout: 276 seconds]
<samueldr> you *may* need to enable some i2c module for your GPU to get it to work
<zeta_0> is it harder than just reinstalling nixos with a usb ?
<tokudan> zeta_0, just change your channel and run an upgrade
tilpner_ has joined #nixos
<tokudan> zeta_0, there is no 20.03 unstable yet, it's just nixos-unstable
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
inkbottle has joined #nixos
tilpner has quit [Ping timeout: 268 seconds]
glittershark has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
LysergicDreams has quit [Remote host closed the connection]
<zeta_0> that's it ?
<Ashy> zeta_0: it's so much easier than any other distro
<Ashy> it's ridiculous to the point of basically cheating
<Ashy> and if it all goes pear shaped you just boot the previous config in grub
mexisme_ has joined #nixos
<zeta_0> wow, that's great
<gchristensen> yay nixos :)
mexisme has quit [Ping timeout: 240 seconds]
growpotkin has joined #nixos
lukash_ is now known as lukash_|away
<tokudan> what's the way to do a logical AND on two booleans? I've got something like mkIf (service.A.enable AND whatever.enable)
toppler has quit [Ping timeout: 250 seconds]
<gchristensen> does that work? (with && )
Baughn has joined #nixos
<tokudan> > true && true
<{^_^}> true
<tokudan> > true && false
<{^_^}> false
<tokudan> gchristensen, looks like it, thanks :)
<gchristensen> cool!
drakonis has quit [Ping timeout: 265 seconds]
Baughn has quit [Client Quit]
Baughn has joined #nixos
<tokudan> gchristensen, finding anything in the nix documentation usually takes some time, at least for me :)
<gchristensen> aye
<tokudan> gchristensen, couldn't find mkIf anywhere
<gchristensen> (though it seems you had a good couple of keywords with "logical and"!)
<gchristensen> ah right, mkIf is a construct unique to NixOS (not Nix)
<tokudan> i still couldn't find it in the nixos manual
<gchristensen> yeah, that does suck
<tokudan> did a full text search right now and it's under option definitions -> delaying conditionals
<tokudan> the first match is an example though
shibboleth has quit [Quit: shibboleth]
<gchristensen> probably almost all of the nix manual should be included in the nixos manual
<gchristensen> treat nixos modules as its own language
<tokudan> not sure about that, the distinction makes sense, once you've understood the difference between nix, nixpkgs and nixos
<gchristensen> yeah ...
<tokudan> though i don't really have an idea about what to improve...
<{^_^}> [nixpkgs] @nathyong opened pull request #71301 → p4v: explicitly depend on openssl 1.0 series → https://git.io/Je4QO
<zeta_0> i just have to change: `stateVersion = "19.03"` to `stateVersion = "20.03"`in configuration.nix and home.nix before changing the channel and running an upgrade ?
<tokudan> and still i tend to search through all of them if i'm looking for something
<tokudan> zeta_0, no
<gchristensen> zeta_0: as the comment (should) say: do _not_ change thaht.
alexherbo2 has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<zeta_0> is there a link to the instructions on this ?
<tokudan> zeta_0, keep stateVersion and just change the channel
<zeta_0> ok, thanks i am going to give it a try now in a bit'
drakonis has joined #nixos
<tokudan> so... i just changed rngd to start during early boot on my system to avoid entropy starvation due to my encrypted swap... seems to be working very well
<tokudan> going to make PR about that
gxt has quit [Remote host closed the connection]
troydm has joined #nixos
erasmas has quit [Quit: leaving]
toppler has quit [Ping timeout: 240 seconds]
gxt has joined #nixos
freeman42x has quit [Ping timeout: 246 seconds]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
Okinan has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @tokudan opened pull request #71302 → rngd: Start early during boot and encrypted swap entropy fix [WIP] → https://git.io/Je4Qo
toppler has joined #nixos
kraem has quit [Quit: outta here]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed 10 commits to python-unstable: https://git.io/Je4Q1
<gchristensen> samueldr: is it okay to use a sloth emoji when talking about 19.09 Loris?
<samueldr> I don't know :)
<samueldr> I don't think they're related? and I'm not a zoologist
<samueldr> (and it was sphalerite's choice of animal)
<gchristensen> they're not but they sooorta look similar
<samueldr> in my opinion emojis shouldn't be used in that way, only if it is *the* thing, so not even a snowflake in place of the lambdaflake
<gchristensen> whoa
<gchristensen> you're a purist!
gxt_ has joined #nixos
<drakonis> a emoji purist, a rare sighting
gxt has quit [Ping timeout: 260 seconds]
<AmandaC> quick, we have to coax it back into it's cage for it's own protection!
<AmandaC> It'll never survive in the wild! :P
toppler has quit [Ping timeout: 265 seconds]
kraem has joined #nixos
<mrSpec> Hi! I have nothing special in my current networking part of configuration.nix, my system is getting IP from DHCP. Now I'm trying to create bridge br0 to eth0, for my containers
<mrSpec> I thought networking.bridges.br0.interfaces = [ "eth0" ]; networking.interfaces.br0.useDHCP = true; would be enough but I'm getting: sys-subsystem-net-devices-br0.device: Job sys-subsystem-net-devices-br0.device/start timed out.
<clever> mrSpec: did you add interfaces to br0?
<clever> mrSpec: https://nixos.org/nixos/options.html#bridges.%3Cname%3E.interf
philr has quit [Ping timeout: 240 seconds]
tokudan has quit [Quit: Dunno.]
<mrSpec> just the eth0
<mrSpec> networking.bridges.br0.interfaces = [ "eth0" ];
<clever> mrSpec: what does `ip link` print?
<mrSpec> give me a second, I rewound the configuration
tokudan has joined #nixos
<mrSpec> ah sorry, ip link. I've checked that but from the memory I've seen eth0 without the IP, no br0
<mrSpec> I've also tried `systemctl start br0-netdev.service` after not seeing br0 interface, but it failed because dependency not met
<mrSpec> br0-netdev.service: Job br0-netdev.service/start failed with result 'dependency'.
toppler has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
ericsagnes has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Flakebi opened pull request #71303 → skrooge: Fix build → https://git.io/Je47c
m0rphism has quit [Ping timeout: 240 seconds]
sellout- has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #71295 → [19.09] nix-du: 0.3.0 -> 0.3.1 → https://git.io/Je4DB
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-19.09: https://git.io/Je470
toppler has quit [Ping timeout: 276 seconds]
jlv has joined #nixos
bigvalen has quit [Ping timeout: 240 seconds]
<jlv> Is it possible to disable sandboxing in a nixpkgs `config` option? (I'm trying to disable sandboxing for the `nix-build` of a particular project)
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
<kyren> do any of the server management tools (nixops, morph, etc) support secrets management for declarative containers?
<kyren> alternately, how does one do UID mapping to a declarative container, for example to set the proper UID for a secret to one for the container
toppler has joined #nixos
<infinisil> jlv: Nope, but you can set `__noChroot = true` in the derivation to make it error if it's built with sandboxing
<jlv> infinisil: Ok. Plan B then. `# nix-build --option sandbox false` and a note in the readme. I just prefer not requiring specific variations on commands. On a related note, is there a list of nixpkgs `config` options anywhere?
<infinisil> jlv: man nix.conf
<infinisil> And `nix show-config` lists all options and their values
<infinisil> (perhaps a bit more than documented in `man nix.conf`)
doublex has quit [Ping timeout: 276 seconds]
gkmngrgn has quit [Ping timeout: 240 seconds]