sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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
AleXoundOS_ has quit [Quit: Leaving]
jluttine has quit [Ping timeout: 252 seconds]
samrose_ has quit [Read error: No route to host]
dontobey has quit [Quit: ZNC - http://znc.in]
Rovanion has quit [Ping timeout: 250 seconds]
Rovanion has joined #nixos
worldofpeace has joined #nixos
acarrico has joined #nixos
jackdk has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
<emilsp> why is bintools not listed in the package list on nixos.org?
<wolfman154> xmonad.hs recompiled but nixos throws an error when I do a rebuild switch?
<wolfman154> Why is this?
freeman42x has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59540 → hylafaxplus: 5.6.1 -> 7.0.0 → https://git.io/fjmMx
Jetien__ has joined #nixos
stepcut has quit [Ping timeout: 255 seconds]
thePirateKing has joined #nixos
Rusty1 has joined #nixos
Jetien_ has quit [Ping timeout: 250 seconds]
pereira_alex has quit [Quit: Konversation terminated!]
<judson> manveru, what would you think of a bundix release? The packaged 2.4.1 is crashing for me on this project, but the master version works fine.
<{^_^}> [nixpkgs] @costrouc opened pull request #59541 → pythonPackages.pyschedule: init at 0.2.34 → https://git.io/fjmMp
<{^_^}> [nixpkgs] @kalbasit merged pull request #58905 → eggnog-mapper: init at 1.0.3 → https://git.io/fjIr2
<{^_^}> [nixpkgs] @kalbasit pushed commit from @luispedro to master « eggnog-mapper: init at 1.0.3 (#58905) »: https://git.io/fjmMh
<{^_^}> [nixpkgs] @marsam merged pull request #59470 → csvkit: 1.0.3 -> 1.0.4 → https://git.io/fjmVu
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjmDv
<thePirateKing> infinisil, https://github.com/NixOS/nixpkgs/issues/57062 about our nvidia issues
<{^_^}> #57062 (by SchrodingerZhu, 5 weeks ago, open): nvidia building failure for linux 5
<manveru> judson: i think it's about time, but I wanted to find a fix for metasploit first... Might not be possible though
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59542 → zafiro-icons: 0.8.7 -> 0.9 → https://git.io/fjmDJ
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjmDU
jluttine has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #59543 → enlightenment.efl: 1.21.1 -> 1.22.0 → https://git.io/fjmDk
Irenes has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58400 → kodi: add Wayland support → https://git.io/fjUwu
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjmDI
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
<colemickens> trying to use make-disk-image and it's not able to find /boot, and I'm nto sure why. I added some debugging to make-disk-image and you can see that /boot is available...
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59425 → pythonPackages.tinycss2: 0.6.1 -> 1.0.2 → https://git.io/fjmRd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjmDO
sigmundv__ has quit [Remote host closed the connection]
kleisli has quit [Ping timeout: 250 seconds]
burne251 has quit [Ping timeout: 250 seconds]
Irenes has joined #nixos
sigmundv__ has joined #nixos
orivej has quit [Ping timeout: 255 seconds]
pxc has quit [Ping timeout: 240 seconds]
sellout- has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 268 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
jluttine has joined #nixos
<samueldr> colemickens: looks mounted in stage-1, but is that error happening in stage-2? might not have been mounted if e.g. it wasn't set in fileSystems
<samueldr> between stage-1 and stage-2, switch_root usually happens and anything mounted outside the root isn't available
Wulfsta has joined #nixos
<colemickens> samueldr: I'm actually calling nixos-enter --root $mountPoint -- mount
<colemickens> ahead of the call to NIXOS_INSTALL_BOOTLOADER=1 nixos-enter --root $mountPoint -- /nix/var/nix/profiles/system/bin/switch-to-configuration boot
<colemickens> and it shows that /dev/vda1 is mounted as /boot inside the chroot
<samueldr> hm, maybe I don't know what make-disk-image is supposed to do...
<samueldr> I thought this was a boot log
o1lo01ol1o has joined #nixos
<Wulfsta> Something like `USE_ROCM=1 USE_LMDB=1 USE_OPENCV=1 python setup.py install` is handled in `preConfigure` right?
<colemickens> it preps the disk by installing to a directory, then cptofs'ing it to an ext4 image
<colemickens> then it boots the image, format/mounts /boot and calls nixos-enter switch-to-cfg boot to install the bootloader into the ESP partition
stepcut has joined #nixos
growpotkin has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
mnoronha_ has joined #nixos
buffet has joined #nixos
buffet_ has quit [Ping timeout: 264 seconds]
<GlennS> The release notes for NixoS 19.03 say that `buildPythonPackage` now sets `strictDeps = true`, but this is the only mention of `strictDeps` in the Nix/NixOS/NixPkgs manuals. Does anyone know what it means?
<{^_^}> [nixpkgs] @romildo opened pull request #59544 → nixos/dde-api: init → https://git.io/fjmD4
lovesegfault has quit [Ping timeout: 250 seconds]
lovesegfault has joined #nixos
gyroninja has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @costrouc opened pull request #59545 → Python pyomo init → https://git.io/fjmDu
Wulfsta has quit [Quit: Page closed]
sindrip has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59546 → jmol: 14.29.32 -> 14.29.36 → https://git.io/fjmDz
ggpeti has joined #nixos
<colemickens> the error I'm getting is from inside bootctl. looks like blkid_new_probe_from_filename fails?
<{^_^}> [nixpkgs] @rencire opened pull request #59547 → base16-shell-preview: init at 0.3.0 → https://git.io/fjmDg
gyroninja has joined #nixos
ggpeti has quit [Ping timeout: 252 seconds]
iceypoi has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59548 → josm: 14760 -> 14945 → https://git.io/fjmDa
nocoolnametom has quit [Remote host closed the connection]
nocoolnametom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59549 → jruby: 9.2.6.0 -> 9.2.7.0 → https://git.io/fjmDw
sigmundv has quit [Ping timeout: 250 seconds]
stepcut has quit [Remote host closed the connection]
gyroninja has quit [Ping timeout: 252 seconds]
nocoolnametom has quit [Client Quit]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
nocoolnametom has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59550 → kafkacat: 1.3.1 -> 1.4.0 → https://git.io/fjmDr
sb0 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #59551 → busybox: add patch to allow cross in llvm → https://git.io/fjmDK
aither has quit [Ping timeout: 268 seconds]
o1lo01ol1o has joined #nixos
snajpa has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59552 → libsForQt5.kdb: 3.1.0 -> 3.2.0 → https://git.io/fjmDy
gyroninja has joined #nixos
snajpa has joined #nixos
<gchristensen> ryantm: ping?
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @strager opened pull request #59553 → gettext: fix stdenv-darwin; remove Bison dependency → https://git.io/fjmD9
Glider_IRC_ has joined #nixos
snajpa has quit [Ping timeout: 250 seconds]
aither has joined #nixos
snajpa has joined #nixos
Glider_IRC has quit [Ping timeout: 252 seconds]
hlolli_ has joined #nixos
thePirateKing has quit [Ping timeout: 250 seconds]
snajpa has quit [Ping timeout: 252 seconds]
hlolli has quit [Ping timeout: 264 seconds]
mnoronha_ has quit [Ping timeout: 240 seconds]
aither has quit [Ping timeout: 252 seconds]
erasmus has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59541 → pythonPackages.pyschedule: init at 0.2.34 → https://git.io/fjmMp
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjmDp
domogled has joined #nixos
<buckley310> NixOS 18.09 is going end-of-life in like 3 weeks or a month, right?
<{^_^}> [nixpkgs] @worldofpeace closed pull request #37371 → pythonPackages.pyschedule: init at 0.2.17 → https://git.io/vxsCH
erasmus has joined #nixos
aither has joined #nixos
snajpa has joined #nixos
detran has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59554 → klavaro: 3.04 -> 3.05 → https://git.io/fjmyO
mnoronha_ has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjmy3
Mateon2 has joined #nixos
* slack1256 laughs in -unstable
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon2 is now known as Mateon1
mnoronha_ has quit [Ping timeout: 268 seconds]
mnoronha_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59555 → kotlin: 1.3.21 -> 1.3.30 → https://git.io/fjmyl
slack1256 has quit [Ping timeout: 245 seconds]
aither has quit [Ping timeout: 252 seconds]
snajpa has quit [Ping timeout: 250 seconds]
snajpa has joined #nixos
ym555 has quit [Quit: leaving...]
aither has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59556 → libsForQt5.kproperty: 3.1.0 -> 3.2.0 → https://git.io/fjmyz
tboston_ has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #59557 → cargo-sweep: init at 0.4.1 → https://git.io/fjmya
tboston_ has quit [Ping timeout: 246 seconds]
thefloweringash has joined #nixos
ggpeti has joined #nixos
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59558 → kubetail: 1.6.7 -> 1.6.8 → https://git.io/fjmyr
ggpeti has quit [Ping timeout: 246 seconds]
detran has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59559 → latte-dock: 0.8.6 -> 0.8.8 → https://git.io/fjmyX
erasmus has quit [Quit: END-AUMF]
worldofpeace has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #59560 → nixos/deepin-turbo: init → https://git.io/fjmyM
<{^_^}> #58720 (by astro, 1 week ago, open): openjdk: disable hotspot os version check
<colemickens> How has that not affected the build servers? ^
<colemickens> Do the build servers build certain packages on a non-NixOS host?
<colemickens> edit: I guess it's just a Linux 5 thing.
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
day|flip has quit [Remote host closed the connection]
drakonis_ has quit [Read error: Connection reset by peer]
<colemickens> oh god what have I done. The workaround doesn't work and apparently it's fixed. This is how I get suckerd into trying to update openjdk now
<colemickens> oh, there's not a GA for 212 yet, :(
<{^_^}> [nixpkgs] @ivanbrennan closed pull request #59517 → nixos/less: add configuration assertions → https://git.io/fjmPP
tboston_ has joined #nixos
kvda has joined #nixos
ggpeti has joined #nixos
ggpeti has quit [Ping timeout: 252 seconds]
mnoronha_ has quit [Ping timeout: 264 seconds]
growpotkin has joined #nixos
ayerhart has quit [Remote host closed the connection]
hlolli_ has quit [Remote host closed the connection]
hlolli_ has joined #nixos
slack1256 has joined #nixos
<growpotkin> I'm not sure I "get" the point of channels. Is it valid to do : `nix.nixPath = ["nixpkgs=https://github.com/nixos/nixpkgs/archive/master.tar.gz"];` instead on using `nix-channels` at all?
wfranzini has quit [Remote host closed the connection]
Rusty1 has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59561 → libltc: 1.3.0 -> 1.3.1 → https://git.io/fjmyp
amfabaiste has quit []
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #59237 → trellis, yosys, nextpnr: update → https://git.io/fjthL
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/fjmyh
<bsima> growpotkin: i think the advisable way to do it is here https://stackoverflow.com/a/48838322/1146898
<bsima> except you'll want to pin the specific commit, not just point it to master
<growpotkin> whoa
<growpotkin> this is awesome haha
<growpotkin> bsima++
<{^_^}> bsima's karma got increased to 1
<clever> growpotkin: note, that setting nixpkgs=url, will cause nix to re-download the url every hour or so
<growpotkin> yeah this is exactly what I was looking for
<clever> growpotkin: so it will random update with zero warning
<bsima> cool i got a karma
<bsima>
<bsima> thanks!
<growpotkin> clever: Thanks for the heads up, thats what I was starting to gather from the docs.
<clever> growpotkin: using nix-channel, will give you `nix-channel --rollback`, so you can undo --update
<clever> so you know when it updates, and you can un-update
<growpotkin> clever: Definitely glad to have it cleared up tho :)
<clever> i dont think any other distro makes it so simple to un-update the system
<growpotkin> clever: It is definitely nice; although to be honest I've never once rolled back an update haha
<clever> ive had to rollback my router before, because the new rev failed to build
<clever> which left me unable to nixos-rebuild at all
ayerhart has joined #nixos
<growpotkin> the reason I bring it up is because I use 3 different machines daily, and love just syncing my config, and rebuilding to get "everything matchy matchy". I always forget to keep channels consistently updated though
<growpotkin> I would love to keep it all wrapped up in my configuration.nix and home.nix files.
<clever> growpotkin: you could use nixops to deploy all 3 machines at once
<clever> growpotkin: then it will use whatever <nixpkgs> maps to on the machine where nixops is ran
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59562 → libmysofa: 0.6 -> 0.7 → https://git.io/fjmSe
<growpotkin> clever: I have never taken the dive into those docs (I honestly don't have a clue what NixOps and Hydra are)
<growpotkin> clever: whats the basic overview of em?
<growpotkin> my god.
<clever> growpotkin: this defines that my network has 2 machines, called nas and router, which have the nixos config after the = on those lines
<clever> growpotkin: you then run `nixops create -d house deployments/house.nix` to create the record in nixops
<growpotkin> So wait, are you actually able to share a synced store like this?
<clever> and then `nixops deploy -d house` to update all of them at once
<growpotkin> THIS IS THE FUTURE!
<growpotkin> dude why have I never known about this lol.
<clever> deploy will build all the machines locally, and then nix-copy-closure things to the remote boxes
<growpotkin> I have been syncing my 3 machines with git for like 2 years now lol
<clever> note, that it entirely ignores the remote configuration.nix and hardware-configuration.nix
<clever> so you have to gather the 3 versions of those, and put them all in 1 spot
<growpotkin> once again clever, you're the best.
<growpotkin> clever++
<{^_^}> clever's karma got increased to 125
<clever> and it wont update the remote configuration.nix
<clever> so if you edit that and nixos-rebuild, it undoes whatever nixops did
<clever> this will intentionally break nixos-rebuild, so you dont
<{^_^}> [nixpkgs] @domenkozar pushed to master « dunst: upstream dropped libxdg_basedir dep in 1.4.0 »: https://git.io/fjmSf
<clever> that also changes what <nixpkgs> is on the remote machines, to match the <nixpkgs> that was used at the time nixops deploy was ran
<growpotkin> Oh wow. bold move. Building `configuration.nix` in an expression
<clever> and then you could for example: nixops deploy -d house -I nixpkgs=https://github.com/nixos/nixpkgs-channels/archive/nixos-unstable.tar.gz
<clever> so that will temporarily override what <nixpkgs> is during the deploy
<growpotkin> this is truly incredible
<growpotkin> I wish I had known this before
<clever> but, nixops-managed, will make the path to that "temporary" nixpkgs, into your NIX_PATH (if you deploy to yourself)
<growpotkin> YEARS of gross `github` syncing!
<clever> and then when you drop -I nixpkgs, it will stick, and remain on that rev until you -I nixpkgs= again
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59563 → libnabo: 1.0.6 -> 1.0.7 → https://git.io/fjmSJ
<growpotkin> I starred your repo, I'm definitely going to delve into setting this up next week.
<clever> you could also omit that line for the localhost deploment, so nix-channel continues to work
<growpotkin> Thank you
<clever> i also have a release.nix, that builds both machines from a single attrset
<growpotkin> where are your overlays?
<clever> hydra is then configured to build that against nixos-unstable
* colemickens does something similar but doesn't rely on NIX_PATH or use nixops. my nixpkgs is pinned into the config
<clever> growpotkin: this is all using the "none" backend for nixops, which requires an existing nixos machine, with root ssh
<clever> growpotkin: but, nixops also has things like an ec2 backend, which will auto-create machines in aws, and then do everything
palo1 has joined #nixos
<growpotkin> so do you have a home server that's hosting? Or how are you synchronizing?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59565 → libp11: 0.4.9 -> 0.4.10 → https://git.io/fjmSk
<growpotkin> oh EC2 lol
<growpotkin> you just said it
<{^_^}> [nixpkgs] @basvandijk merged pull request #59514 → elk7: init at 7.0.0 → https://git.io/fjmPs
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjmSI
palo has quit [Ping timeout: 255 seconds]
palo1 is now known as palo
MichaelRaskin has quit [Quit: MichaelRaskin]
<{^_^}> [nixpkgs] @veprbl merged pull request #59553 → gettext: fix stdenv-darwin; remove Bison dependency → https://git.io/fjmD9
<{^_^}> [nixpkgs] @veprbl pushed commit from @strager to master « gettext: fix stdenv-darwin; remove Bison dependency (#59553) »: https://git.io/fjmS3
<mabel> what's the right way to escape JSON?
<mabel> I'm doing ''cat "${builtins.toJSON { x = 2 }}" | jq "."''
<mabel> builtins.escapeString?
<growpotkin> lib.strings has a functions
<growpotkin> a function*
<growpotkin> I forget the exact name but I just read it yesterday.
<infinisil> mabel: cat takes filenames as arguments
<infinisil> not arbitrary strings
<mabel> oh god what is wrong with my brain
ggpeti has joined #nixos
<mabel> ah, it's still not escaping though
<mabel> > ''${builtins.toJSON {x = 2;}}''
<{^_^}> "{\"x\":2}"
<mabel> hrm...
<mabel> oh, right. that actually demonstrates it not being escaped
<mabel> > ''${lib.escapeShellArg (builtins.toJSON {x = 2;}})''
<{^_^}> error: syntax error, unexpected '}', expecting ')', at (string):243:49
<mabel> > ''${lib.escapeShellArg (builtins.toJSON {x = 2;})}''
<{^_^}> "'{\"x\":2}'"
<bsima> > builtins.toJSON { x = 2; }
<{^_^}> "{\"x\":2}"
<mabel> see, it's not escaping there
tboston_ has quit [Ping timeout: 252 seconds]
* colemickens does something similar but doesn't rely on NIX_PATH or use nixops. my nixpkgs is pinned into the config
<colemickens> gah
<infinisil> mabel: lib.escapeShellArg works
<infinisil> It doesn't need to escape " if it surrounds it with '
<mabel> oh, that makes sense
ggpeti has quit [Ping timeout: 250 seconds]
<infinisil> > ''''''''''
<{^_^}> "''''"
mnoronha_ has joined #nixos
<{^_^}> [nixpkgs] @thoughtpolice pushed 4 commits to master: https://git.io/fjmSZ
<mabel> my head hurts... but it works
<{^_^}> [nixpkgs] @veprbl pushed commit from @strager to staging-18.09 « gettext: fix stdenv-darwin; remove Bison dependency (#59553) »: https://git.io/fjmSn
<infinisil> > '''${'''''''}''
<{^_^}> "'''"
<infinisil> > ''''${'''''''}''
<{^_^}> "${'''''}"
mnoronha_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @veprbl closed pull request #59525 → Revert "gettext: apply patch for CVE 2018-18751 (backport 18.09)" → https://git.io/fjm1z
<infinisil> > '''''${'''''''}''
<{^_^}> "''''"
<infinisil> > '''''\${'''''''}''
<{^_^}> "''\\''"
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59566 → librealsense: 2.19.0 -> 2.20.0 → https://git.io/fjmSC
ddellacosta has quit [Ping timeout: 246 seconds]
growpotkin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FPtje opened pull request #59567 → ghcjs-ng: unbreak - Backport from master → https://git.io/fjmS4
<{^_^}> [nixpkgs] @veprbl pushed 0 commits to revert-59000-gettext-security-update-18.09: https://git.io/fjmSB
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59568 → libsodium: 1.0.16 -> 1.0.17 → https://git.io/fjmSR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59569 → libssh2: 1.8.1 -> 1.8.2 → https://git.io/fjmSu
reinhardt has joined #nixos
tboston_ has joined #nixos
Myhlamaeus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59570 → libtermkey: 0.20 -> 0.22 → https://git.io/fjmS2
disasm has quit [Ping timeout: 246 seconds]
tboston_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59571 → libu2f-host: 1.1.7 -> 1.1.9 → https://git.io/fjmSr
disasm has joined #nixos
hyper_ch2 has joined #nixos
ggpeti has joined #nixos
<{^_^}> [nixpkgs] @basvandijk opened pull request #59572 → Backport "elk7: init at 7.0.0" to release-19.03 → https://git.io/fjmS1
sellout- has quit [Quit: Leaving.]
q6AA4FD has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
ggpeti has quit [Ping timeout: 245 seconds]
liori_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59573 → libxmlb: 0.1.7 -> 0.1.8 → https://git.io/fjmSS
parsnip has quit [Quit: WeeChat 2.2]
wolfman154 has joined #nixos
parsnip has joined #nixos
rauno has joined #nixos
cfricke has joined #nixos
Ariakenom has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59574 → libwacom: 0.32 -> 0.33 → https://git.io/fjmSx
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dotlambda merged pull request #59466 → pythonPackages.humanfriendly: init at 4.18 → https://git.io/fjmaX
<{^_^}> [nixpkgs] @dotlambda pushed commit from @montag451 to master « pythonPackages.humanfriendly: init at 4.18 (#59466) »: https://git.io/fjm9v
mounty has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59575 → lidarr: 0.5.0.583 -> 0.6.0.815 → https://git.io/fjm98
dashkal has quit [Ping timeout: 250 seconds]
dashkal has joined #nixos
tboston_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59576 → links2: 2.18 -> 2.19 → https://git.io/fjm90
teto has quit [Ping timeout: 245 seconds]
mounty has quit [Ping timeout: 268 seconds]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
wolfman154 has joined #nixos
wfranzini has joined #nixos
m0rphism has joined #nixos
knupfer has joined #nixos
ggpeti has joined #nixos
linarcx has joined #nixos
wolfman154 has quit [Client Quit]
periklis has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
ggpeti has quit [Ping timeout: 250 seconds]
mnoronha_ has joined #nixos
wolfman154 has joined #nixos
endformationage has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59577 → lnav: 0.8.4 -> 0.8.5 → https://git.io/fjm9X
mnoronha_ has quit [Ping timeout: 246 seconds]
mnoronha_ has joined #nixos
Ariakenom has quit [Quit: Leaving]
linarcx has quit [Ping timeout: 252 seconds]
mnoronha_ has quit [Ping timeout: 252 seconds]
linarcx has joined #nixos
dnlkrgr has joined #nixos
T_S_ has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
T_S_ has quit [Client Quit]
<{^_^}> [nixpkgs] @basvandijk merged pull request #59572 → Backport "elk7: init at 7.0.0" to release-19.03 → https://git.io/fjmS1
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to release-19.03: https://git.io/fjm9j
Tucky has joined #nixos
ayerhart has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59578 → lsp-plugins: 1.1.5 -> 1.1.9 → https://git.io/fjmHT
johanot has joined #nixos
ayerhart has joined #nixos
ggpeti has joined #nixos
Makaveli7 has joined #nixos
<callahad> Can I get a second set of eyes on this pull request and the changes requested? https://github.com/NixOS/nixpkgs/pull/59347
<{^_^}> #59347 (by callahad, 2 days ago, open): rapid-photo-downloader: 0.9.13 -> 0.9.14
ggpeti has quit [Ping timeout: 264 seconds]
mounty has joined #nixos
Makaveli1 has joined #nixos
goibhniu has joined #nixos
vidbina has joined #nixos
<linarcx> Guys. Is there clang-format package in nixpkgs?
Makaveli7 has quit [Ping timeout: 246 seconds]
jackdk has quit [Ping timeout: 250 seconds]
<symphorien> ,locate bin clang-format
<{^_^}> Found in packages: clang-tools, emscriptenfastcomp, llvmPackages.clang-unwrapped
Ariakenom has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59579 → lynis: 2.7.2 -> 2.7.3 → https://git.io/fjmHc
<linarcx> symphorien: Thank you. General question: How can i find a specific program(in this case: clang-format) belong to X package(in this case clang-tools)?
<symphorien> with nix-index and nix-locate
<symphorien> this is what backs ,locate
Netsu has joined #nixos
<linarcx> symphorien: Ah, thank you again. :)))
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ixxie has joined #nixos
pereira_alex has joined #nixos
lovesegfault has joined #nixos
<Netsu> Hello there. Currently I specify channel for nix environment like that, channel.nix contain `fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz`
<Netsu> and shell.nix contain `with import (import ./nix/channel.nix) {};`
<Netsu> so can I update/upgrade such "channel" manually, and have cached channel untill touched?
kleisli has joined #nixos
<johanot> Netsu: personally I always pin a specific nixpkgs commit, e.g. https://github.com/nixos/nixpkgs-channels/archive/acbdaa569f4ee387386ebe1b9e60b9f95b4ab21b.tar.gz .. this makes my upgrades easier, and more predictable :)
<immae> Netsu: you should use url "https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz" instead. As far as I see, when I put it in my NIX_PATH it gets cached correctly
cfricke has quit [Quit: WeeChat 2.4]
<Netsu> johanot: thanks
<Netsu> immae: is there any way to update/upgrade it on demand?
liori has joined #nixos
<immae> ah, then follow johanot advice
<srhb> Netsu: Most people hook up a script that bumps the hashes for them according to some master URL.
<immae> I thought you wanted automatic update
<johanot> Netsu: You could/should also pass sha256 to fetchTarball. :) Perhaps just changing the digest there when wanting an update will do the trick
<srhb> As I understand, they want to be able to bump the fetched file to some HEAD.
<Netsu> yeah, it would be cool to have some lock file with sha of HEAD
<Netsu> and update it from command line when needed
<srhb> Which makes sense, and nix-prefetch-git will allow you to get the rev you want to pass to fetchTarball
<srhb> Just import the json blob
<johanot> in either case, pinning to a digest is recommended
teto has joined #nixos
<johanot> srhb: yeah. that's actually what we do in most cases. As you might know already :P
<srhb> Shockingly, yes... :-)
<srhb> Netsu: Something like: nix-prefetch-git https://github.com/NixOS/nixpkgs-channels --rev "refs/heads/nixos-unstable" --quiet
<srhb> Netsu: You can builtins.fromJSON (builtins.readFile ./the-output.json)
<srhb> Netsu: Then you can get the rev in order to construct the fetchTarball url.
pereira_alex has quit [Quit: Konversation terminated!]
<srhb> Unfortunately you'll probably need to wrangle it a bit more to get the sha if you insist in fetchTarball
<Netsu> srhb: awesome, I would try
<srhb> Oh, actually no, it looks stable neough.
<Netsu> thanks a lot
<srhb> I get the same hashes with unpack and with nix-prefetch-git, so all's good.
<johanot> srhb++
<{^_^}> srhb's karma got increased to 52
<jluttine> in python package derivation, how should i add a non-python package to inputs so that its executable is on PATH? i tried adding to checkInputs but the tests won't find the executable of the non-python package..
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
orivej has joined #nixos
<linarcx> Guys, when i want to use qtcreator help, i get this issue: `QTextBrowser: No document for qthelp://org.qt-project.qtcreator.462/doc/index.html`
thc202 has joined #nixos
<{^_^}> [cabal2nix] @roman-kashitsyn opened pull request #414 → Add a minimal version contstraint for 'containers'. → https://git.io/fjmHF
ixxie has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to pull/59368/head: https://git.io/fjmHh
sigmundv__ has quit [Remote host closed the connection]
<Netsu> srhb: BTW where can I get `nix-prefetch-git`? Currently I have `nix-prefetch-url` only
fusion809 has quit [Remote host closed the connection]
<srhb> Netsu: pkgs.nix-prefetch-git
<srhb> Apparently we even have a github version
<srhb> That will make it cleaner yet.
<Netsu> nice, thanks
knupfer has quit [Ping timeout: 252 seconds]
Anton-Latukha has joined #nixos
<linarcx> Why nix-index is tooo slow?
<srhb> linarcx: It has to query the file lists for a loooot of packages.
<srhb> Plus, evaluating all of nixpkgs top-level takes a while :-)
<linarcx> srhb: Yes i know.
<srhb> linarcx: I guess I didn't understand your question then.
<infinisil> You *can* use the ,locate here if you don't mind a potentially slightly outdated listing
<linarcx> infinisil: It's a better solution :))
<etu> linarcx: That's what I usually do ;)
mthst has quit [Quit: the bouncer died]
mthst has joined #nixos
civodul has joined #nixos
<Netsu> srhb: nix-shell -p nix -p gitMinimal -p nix-prefetch-github -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz --pure --run 'nix-prefetch-github nixos nixpkgs --rev refs/heads/nixos-unstable'
<Netsu> srhb: NameError: name 'output' is not defined :(
ixxie has joined #nixos
mthst has quit [Quit: the bouncer died]
<Netsu> is it bug, or I doing it wrong?
mthst has joined #nixos
<Netsu> with prefetch-git kinda working: nix-shell -p nix -p gitMinimal -p nix-prefetch-git -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz --pure --run 'nix-prefetch-git https://github.com/NixOS/nixpkgs-channels --rev "refs/heads/nixos-unstable" --quiet'
tboston_ has quit [Ping timeout: 268 seconds]
<Netsu> But *-github version have nice --nix option, it would be much more comfortable
<{^_^}> [nixpkgs] @Taneb opened pull request #59583 → Backport Haddock typechecker plugins fix → https://git.io/fjmQX
wfranzini has quit [Quit: wfranzini]
wfranzini has joined #nixos
phdoerfler has joined #nixos
pie_ has joined #nixos
<phdoerfler> Hi! I have a super impure and horrible and OMG it will destroy the world build, just kidding, it needs internet access and when trying to upgrade to 19.03 it fails because nix* won't let it internet. I tried __impure = true; which did nothing. I tried nix.sandBox = false; which also did nothing. What is it?
<phdoerfler> What changed from 18.09 to 19.03 that would prevent builds from having access to the interwebs?
<tilpner> The NixOS option to disable the sandbox is nix.useSandbox
<phdoerfler> btw the name "__impure" is just horrific
<tilpner> __impure is not implemented in master
<phdoerfler> tilpner: my bad, that's what I did: nix.useSandbox = false;
<immae> isn’t it __noChroot? it’s still working for me
<phdoerfler> nix.sandBox was a typo
<tilpner> Where did you put that? Did you rebuild switch?
<phdoerfler> I put it in configuration.nix
<phdoerfler> and yes I rebuild switch
<phdoerfler> I have not enabled sandbox anywhere btw. It was just a suspicion that it might be enabled by default now?
<tilpner> Yes, it's enabled by default on NixOS
<phdoerfler> since when? 19.03?
<tilpner> It is quite useful, so it should be left enabled if possible
<phdoerfler> oh yeah
<phdoerfler> I just need internet for this one particular self written build
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59584 → manuskript: 0.8.0 -> 0.9.0 → https://git.io/fjmQ5
<tilpner> You can have internet access if you phrase the build as a fixed-output derivation
<phdoerfler> this is my default.nix that I fabricobbled together
<phdoerfler> worked really nice on 18.09
<phdoerfler> I had to change /var/tmp/...whoami... to /tmp/...whoami... for 19.03 and apparently sacrifice an unborn child to gain internet access or something
<tilpner> Does `grep sandbox /etc/nix/nix.conf` print "sandbox = false"?
<phdoerfler> uh I added nix.useSandbox = false; to configuration.nix. Does that generate /etc/nix/nix.conf? I thought that had to be written by hand
<tilpner> nix.conf is generated from your configuration.nix
<phdoerfler> interesting
<phdoerfler> and you are on the right path: It does print sandbox = true
<immae> you can put sandbox = relaxed and use __impure (or __noChroot if equivalent) in derivation where you need to have impure version, so that you keep most of them pure, too?
<tilpner> Are you sure your configuration.nix contains nix.useSandbox = false;? Not in your editor, but on disk
<Taneb> Does the new-style nix build have a flag for parallel building?
<Taneb> Like nix-build -jN
<tilpner> I've had people forget to save or use sudoedit and not exit the editor
<phdoerfler> tilpner: yes, I renamed useSandbox to useSandboxx (two x) and it failed the rebuild switch
<tilpner> Also rebuild switch again, just in case
<phdoerfler> I am
chris| has quit [Quit: ZNC 1.7.2 - https://znc.in]
chris| has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59585 → matio: 1.5.14 -> 1.5.15 → https://git.io/fjmQx
<phdoerfler> tilpner: Also I don't think I have nix.sandBox = true anywhere in my config, as a quick grep indicates: https://gist.github.com/phdoerfler/ffacdb510ef08475d4e2c0a12196c378#gistcomment-2889392
<tilpner> phdoerfler: Again, it's on by default now
<tilpner> phdoerfler: Did you rebuild? Does nix.conf still have the sandbox enabled?
<phdoerfler> tilpner: Yeah, just making sure I'm not derping here
<phdoerfler> I did rebuild
<tilpner> What does "nixos-option nix.useSandbox" say for "Value:"
<phdoerfler> grep sandbox /etc/nix/nix.conf
<phdoerfler> extra-sandbox-paths =
<phdoerfler> sandbox = true
<phdoerfler> still does
<phdoerfler> tilpner: it says false for Value
<phdoerfler> and says Default: true
<phdoerfler> which all seems legit
<tilpner> Huh
<phdoerfler> also if you look at the last link, the build output there (the files) do contain this line:
<phdoerfler> /etc/nixos/own/beegment/result/etc/nix/nix.conf:build-use-sandbox = false
ggpeti has joined #nixos
<phdoerfler> "beegment" is the name of the build I wrote
<phdoerfler> so to me it looks like the setting sandBox = false does propagate downwards as it should?
<phdoerfler> But… it's ignored? Or something?
pie_ has quit [Quit: Leaving]
<phdoerfler> immae: oh thanks! I'll give that relaxed a try once this is resolved. That's neat.
<tilpner> I don't trust that result symlink, it could be ancient
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59586 → maven: 3.6.0 -> 3.6.1 → https://git.io/fjm7v
<phdoerfler> fair enough
wpcarro has quit [Quit: Lost terminal]
<tilpner> Can you tell me your Nix version?
<tilpner> nix --version
<phdoerfler> [root@mithra:~]# nix --version
<phdoerfler> nix (Nix) 2.1.3
<immae> ^ sandbox is only enforced after 2.2 if I remember correctly
<phdoerfler> I am still on 18.09. This one failing build is preventing me from going to 19.03
<tilpner> Still, build-use-sandbox was only used for Nix 1
<tilpner> So let's ignore that result symlink
<phdoerfler> ok
<emilsp> so erm, is there a plan to fix this bug on 19.03 - https://lists.gnu.org/archive/html/bug-binutils/2015-07/msg00036.html ?
<emilsp> I've tried dumbly bumping binutils from 2.31.1 to 2.32 but then the coreutils tests fail.
<emilsp> (the bug is fixed in 2.32)
<tilpner> phdoerfler: What about: grep sandbox $(nix-build --no-out-link '<nixpkgs/nixos>' -A 'config.environment.etc."nix/nix.conf".source')
<phdoerfler> sandbox = false
<{^_^}> [nixpkgs] @adisbladis merged pull request #59368 → nixos/tox-node: init → https://git.io/fjmU0
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/fjm7Y
<tilpner> So the switch didn't happen, but your config is correct
<phdoerfler> but if immae is right, sandbox is not enforced anyways, right?
<phdoerfler> tilpner: so it would appear
<tilpner> No, I don't know what immae meant by that
<tilpner> Sandbox was definitely a feature before 2.2
<immae> yes but it defaulted to false
<phdoerfler> this build worked perfectly in 18.09
<immae> though I’m not sure where it started being true by default tilpner, either 2.2 or 2.1
<phdoerfler> and 18.09 means my old nix version of 2.1.3
<{^_^}> [nixpkgs] @7c6f434c closed pull request #59568 → libsodium: 1.0.16 -> 1.0.17 → https://git.io/fjmSR
<tilpner> phdoerfler: When you run "sudo nixos-rebuild switch", is there any interesting output?
<phdoerfler> yeah let me past it real quick
<phdoerfler> which is SBT, the build tool for my Scala program that I wrote this build for
cfricke has joined #nixos
<tilpner> Ohh, right, you're upgrading in one step
<phdoerfler> and these messages scream "I'm not getting no internets, halp!"
<phdoerfler> yeah
<phdoerfler> also I got a typo I just noticed, it should be beegment, and not begment… but that's irrelevant here
<tilpner> What about sudo nixos-rebuild switch --option sandbox false
<phdoerfler> lemme try that
<{^_^}> [nixpkgs] @7c6f434c merged pull request #59576 → links2: 2.18 -> 2.19 → https://git.io/fjm90
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjm70
<phdoerfler> tilpner: looking good so far!
<phdoerfler> tilpner: build takes way longer which indicates internetting is happening
<tilpner> When you said earlier that you had done a rebuild switch, I assumed it completed
<phdoerfler> tilpner: I see, my bad! I should have been more clear on that
<tilpner> And you didn't say (or I missed it) that it errored
<tilpner> Any changes to your configuration.nix will not take effect until a switch succeeds
<phdoerfler> tilpner: yes yes absolutely. I meant "I entered it and hit Return" but didn't say that
<tilpner> That includes the sandboxing
<phdoerfler> but
boogiewoogie has joined #nixos
<phdoerfler> hu
<phdoerfler> but
<phdoerfler> that's a bit of a connundrum
<phdoerfler> because that means a config is no good because it depends on state of the system
<tilpner> No, the result depends entirely on the config
<phdoerfler> except it doesn't as just demonstrated
<tilpner> Just whether it builds or not, depends on having your Nix set up correctly
<phdoerfler> why did /etc/nix/… contain sandbox = false then?
<phdoerfler> is another question that pops into my mind
<tilpner> It didn't
<phdoerfler> what did I grep then that did?
<tilpner> 092017 phdoerfler | grep sandbox /etc/nix/nix.conf
<tilpner> 092017 phdoerfler | sandbox = true
<tilpner> That's what you said, and it was enabled
<phdoerfler> oh
<phdoerfler> indeed
<phdoerfler> my bad
<phdoerfler> clearly I need my morning coffee
<phdoerfler> ok but nix-option said it was disabled
<phdoerfler> that's what I meant
<phdoerfler> (but did not at all say)
<tilpner> Nix does not read your configuration.nix
<tilpner> (Well, it can do that, but it doesn't get its configuration from there)
<phdoerfler> tilpner: in other news: The rebuild switch succeed, as expected. Thanks a bunch!
<phdoerfler> tilpner: Yeah okay so the problem is because nix and nixos are two seperate things to put it simply
<tilpner> Yes, there's a slight bump when you switch Nix settings from your configuration.nix
<phdoerfler> and nixos needs to correctly build its configured state which then gets picked up by nix. So the whole thing is really not atomic
<tilpner> That also applies to setting channels from your configuration.nix
<phdoerfler> but a two step process
<phdoerfler> I find that… not very appealing to be frank
<phdoerfler> I mean I see where it's coming from
<tilpner> Because Nix only sees the settings after a rebuild, you need to help it over that initial bump
<phdoerfler> with nix having been there first and being separate and stuff
<phdoerfler> yeah
<phdoerfler> but the purist in me wants this whole thing to be one happy state and not two in which one depends on the other one
<tilpner> I agree it's not great, and I've put a lot of work into eliminating this two-step process for my own config
* phdoerfler makes a cross into his "bitten by state today" calendar
<tilpner> There are valid reasons to do this, one of them is speed
<tilpner> If Nix had to evaluate your entire configuration.nix on every build, it would be painfully slow
<tilpner> This dependency can be eliminated fairly easily, but the result will not be fun to use
<phdoerfler> I assume there is no way that anyone is willing to take to optimise this away and still leave the level of abstraction high?
<phdoerfler> high level of abstraction here meaning eliminating the dependency
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59587 → metabase: 0.30.4 -> 0.32.2 → https://git.io/fjm7i
<tilpner> Many people want evaluation to be faster, and there is optimisation going on
<phdoerfler> tilpner: So once again a sacrifice has been made in the name of the holy grail of performance
rajivr___ has joined #nixos
<phdoerfler> NixOs, you failed me. I feel betrayed.
<tilpner> But my system takes 5.9s to evaluate (system, less for a partial eval), and it would need to be brought down to less 0.1s for me to find this acceptable
<phdoerfler> Indeed
<phdoerfler> at the end it's just a graph
<phdoerfler> a not super small graph
<phdoerfler> but just a graph
<tilpner> Feel free to make your tradeoff differently
<phdoerfler> how?
<phdoerfler> is there a nix.beAtomic = true; I can set?
<Netsu> About nix-prefetch-github, any ideas here yet? Added an issue https://github.com/seppeljordan/nix-prefetch-github/issues/8
<{^_^}> seppeljordan/nix-prefetch-github#8 (by Pitometsu, 2 minutes ago, open): How it supposed to work?
<immae> tilpner: do you have hints get such a small time to evaluate? mine usually take ~10s, which is very long...
<phdoerfler> a nix.iWouldRatherHaveYouBeSlowAndNiceThanFastAndFurious = true; ?
<tilpner> All you need to do is wrap the nix commands and pass a NIX_CONF_DIR that you built from the configuration.nix
<tilpner> And you don't even have to do the logic yourself
<tilpner> Earlier, we built just the nix.conf file from your system
<phdoerfler> ah
<Yaniel> clearly nixos-rebuild needs a similar --pure flag to nix-shell :P
<tilpner> And that takes about 0.8s for me
<tilpner> That will take care of the nix.conf dependency
<tilpner> There is also the NIX_PATH dependency, which would take another workaround
<tilpner> (But is still fairly easy)
<phdoerfler> ok I'll start my coffee and then sit down and see if I can figure this out
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
<phdoerfler> I still am somewhat of a nix newb so bear with me
alexherbo2 has joined #nixos
<tilpner> immae: That might just be a difference in complexity of the config and the machine you run it on
<phdoerfler> and the only way I survived this long is because I have a growing personal collection of notes and snippets of nix-expressions I found on the internet that help me do what I wanna do
<immae> ok
ggpeti has quit [Ping timeout: 252 seconds]
<tilpner> immae: I try to keep the imported module closure smaller by using explicit imports where I can
ixxie_ has joined #nixos
<tilpner> (As opposed to importing everything and using the module system to activate certain modules. This means any module I write and import is active by default)
<immae> ok
<immae> I can definitly improve on that :D
Notkea has quit [Ping timeout: 240 seconds]
<immae> (I write module that are disabled by default and I enable them in the caller)
ixxie_ has quit [Client Quit]
ixxie_ has joined #nixos
pie_ has joined #nixos
parsnip is now known as parsnip0
<boogiewoogie> hey, is there a way I can find the package that produced a specific out path?
<boogiewoogie> a store path rather
parsnip has joined #nixos
<ixxie_> exit
ixxie_ has quit [Client Quit]
cfricke has quit [Quit: WeeChat 2.4]
cfricke has joined #nixos
Makaveli1 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59588 → mimeo: 2018.12 -> 2019.3 → https://git.io/fjm75
<arianvp> why does the following line in my nixos config yield infinite recursion?
<arianvp> imports = [ (pkgs.path + /nixos/modules/profiles/qemu-guest.nix) ];
<arianvp> replacing it with <nixos-19.03/nixos/modules/profiles/qemu-guest.nix>
<arianvp> works, but I dont want to use globals
<tilpner> pkgs is set via the module system
Makaveli7 has joined #nixos
<andi-> yeah, using `pkgs` for anything that constructs the `imports` (on any level of recursion) will not work...
<Jetien__> Hi I'm having trouble building using "fetchgitPrivate" on a nixos host that is much newer than the nixpkgs from the build. Somehow the ssh from fetchGitPrivate can't switch users on the host machine. Has anybody experienced this issue before?
<andi-> would be nice to have a `bootPkgs` or similar that doesn't have that issue. I regulary have some pkgs.fetch* functions that I'd like to use there.
<{^_^}> [nixpkgs] @justinwoo opened pull request #59589 → purescript: upgrade to 0.12.5 → https://git.io/fjm7N
<tilpner> andi-: That would be builtins and <nix>
<andi-> tilpner: I know that.. I just think that a nixpkgs version that isn't affects by the nixos configuration would be handy in that case..
<{^_^}> [nixpkgs] @timokau merged pull request #59546 → jmol: 14.29.32 -> 14.29.36 → https://git.io/fjmDz
<arianvp> hmm I see
<{^_^}> [nixpkgs] @timokau pushed commit from @r-ryantm to master « jmol: 14.29.32 -> 14.29.36 (#59546) »: https://git.io/fjm7x
giffel has joined #nixos
<tilpner> Yes, is is handy, my configuration has one, but at the same time it seems wrong to set that globally
<arianvp> too bad. How do I import these hidden modules in a 'modular' way then?
Notkea has joined #nixos
<arianvp> could I pass pkgsRepo as a separate argument to lib.evalModules ?
<tilpner> Oh, if you're considering that...
<tilpner> I wasn't going to mention it, because most people shy away from touching the evaluation process
<andi-> arianvp: I think so. That is what I meant with `bootPkgs` instead of just the location
<andi-> adding it there might a good enough solution for your case.
<arianvp> tilpner: I currently use pkgs.nixos function to evaluate my configs, but I guess I could replace it with lib.evalModules
<tilpner> But I find that using specialArgs to make functions available that construct paths is quite clean
<arianvp> it's just a thin wrapper I think
<teto> Jetien__: I think you are better of using builtins.fetchGit
tboston_ has joined #nixos
darkf has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos
<tilpner> So I have a function nixos = name: "${path}/nixos/modules${toString name}"
<tilpner> And then I can do imports = [ (nixos /profiles/qemu-quest.nix) ];
<tilpner> But of course the resulting module now depends on being instantiated in your custom way
sigmundv has joined #nixos
<tilpner> Which may or may not be a problem for you
<giffel> trying to setup a nix-shell for a haskell project when I get some compilation errors for a haskell dependency that I think might be due to some ghc flags not being passed properly or that might not be compatible with the current version. is there any way I can get a full log of what commands are being run during build? so far I tried nix log path/to/.drv which shows me the stdout but not the explicit ghc compiler commands
<arianvp> apparently there is a modulesPath specialArgs already
<arianvp> :O
<teto> giffel: you can try nix-shell -vvvvvv or try to build the said dependency in its own nix-shell -A ...
<arianvp> that sounds ... useful
<giffel> teto: thanks, will try!
<tilpner> arianvp: Oh right, I forgot about that
<jophish> Hi all.
<jophish> I'm trying to build dconf on armv7l, however the shm test fails because of SIGTRAP
<jophish> does this ring any bells?
ThatDocsLady has joined #nixos
<arianvp> modulesPath seems to work! awesome
Mateon1 has quit [Quit: Mateon1]
tboston_ has quit [Ping timeout: 268 seconds]
mg has joined #nixos
tboston_ has joined #nixos
<boogiewoogie> I just switched main channels from 18.09 to 19.03 and now a previously working build fails due to this glib error: https://hastebin.com/aqoyajiviy. I'm in this nix-shell https://hastebin.com/ditewilofi running `cmake -DLINUX_LOCAL_DEV=true -DGTK2_GLIBCONFIG_INCLUDE_DIR=${glibdev}/lib/glib-2.0/include -DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2}/lib/gtk-2.0/include -DGTK2_INCLUDE_DIRS=${gtk2}-dev/include/gtk-2.0` directly from the shell (won't work
<boogiewoogie> otherwise). However, `${glib}/lib/glib-2.0/include/glibconfig.h` very much exists inside the shell. Anyone got a hunch as to what's going wrong?
Mateon1 has joined #nixos
<sphalerite> boogiewoogie: did you try using a fresh build dir?
<mg> Lately the bootloader has stopped incrementing the generation pointer, i.e. every time I boot I have to manually select the latest generation before booting. Any way to fix this?
<arianvp> mg:are you using systemd-boot?
<tilpner> boogiewoogie: Did you have sandboxing enabled on 18.09?
<mg> arianvp: Yes
<arianvp> systemd-boot saves a default boot entry in the EFI ROM if you hit spacebar in the bootloader
<arianvp> when booting the default entry is marked > or *
ixxie has quit [Ping timeout: 255 seconds]
<arianvp> if you press spacebar again it should unmark it
<arianvp> if there is no default, it will always select the latest
<mg> arianvp: but I seem to recall that the latest/newest generation was always marked as default before?
<arianvp> it does, if you haven't manually marked one as default
<mg> ahh, so I've misclicked somewhere
<mg> arianvp: thanks, I'll try to unmark on next boot :)
<arianvp> it's because sd-boot keeps some mutable state around its UI
<arianvp> unfortunatley :)
<boogiewoogie> sphalerite: No, I haven't, trying now, but does this matter? Isn't it getting the same library paths from the store regardless of build dir?
<boogiewoogie> tilpner: No, I don't
pereira_alex has joined #nixos
<sphalerite> boogiewoogie: cmake likes caching stuff, which doesn't work with nix
<tilpner> boogiewoogie: 19.03 enabled sandboxing by default
knupfer has joined #nixos
<boogiewoogie> sphalerite: I see. Wow, good to know. This actually did it, too. Thanks a lot :)
<sphalerite> \o/
<tilpner> Oh, I missed that you were in a nix-shell
<boogiewoogie> tilpner: oh, okay, is there a reason for that?
<tilpner> Makes the sandboxing irrelevant
<tilpner> Sure, sandboxing is great and everyone should have it
vidbina has quit [Ping timeout: 250 seconds]
[Leary] has joined #nixos
kleisli has quit [Ping timeout: 250 seconds]
Lears has quit [Ping timeout: 250 seconds]
asymmetric| has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59591 → mkvtoolnix: 32.0.0 -> 33.0.0 → https://git.io/fjm59
[Leary] has quit [Remote host closed the connection]
Lears has joined #nixos
<mthst> how do i purge the store from unused derivations?
<qyliss^work> nix-collect-garbage
pereira_alex has quit [Quit: Konversation terminated!]
<mthst> thanks a lot!
alexozer has joined #nixos
<mthst> does this run automatically at some point, or is it recommended to run this from time to time? or only when you're out of space?
<qyliss^work> It's up to you. If you're on NixOS you can set nix.gc.automatic.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59592 → mlterm: 3.8.7 -> 3.8.8 → https://git.io/fjm5N
<qyliss^work> If you use things in nix-shell / nix run a lot, it can be annoying if things are cleaned up a lot and have to be redownloaded. OTOH, running out of space is also annoying. So it's a tradeoff.
<tilpner> You can even make Nix run GC automatically when the store fills up
tboston_ has quit [Ping timeout: 252 seconds]
<tilpner> (min-free and max-free, IIRC)
<mthst> oh, that's nice
<mthst> i'll try to document all this in the wiki
basvandijk has joined #nixos
<basvandijk> Any opposition to merging https://github.com/NixOS/nixpkgs/pull/59262 into release-19.03?
<{^_^}> #59262 (by basvandijk, 4 days ago, open): Backport prometheus2 to release-19.03
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59593 → mopidy-iris: 3.33.0 -> 3.34.1 → https://git.io/fjmdT
init_6 has joined #nixos
dontobey has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59594 → moosefs: 3.0.103 -> 3.0.104 → https://git.io/fjmdq
gspia_ has quit [Ping timeout: 255 seconds]
alexozer has quit [Quit: WeeChat 2.4]
alexozer has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #59555 → kotlin: 1.3.21 -> 1.3.30 → https://git.io/fjmyl
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @r-ryantm to master « kotlin: 1.3.21 -> 1.3.30 »: https://git.io/fjmdY
asymmetric| has quit [Ping timeout: 246 seconds]
tboston_ has joined #nixos
kleisli has joined #nixos
alexozer has quit [Client Quit]
asymmetric| has joined #nixos
alexozer has joined #nixos
lassulus has quit [Ping timeout: 245 seconds]
worldofpeace has joined #nixos
nomeata has joined #nixos
<nomeata> Hi. Odd issue: When building something via `nix-build` on Travis (single-user installation), it seems that no `/usr/bin/env` (or even `/usr/bin`) is available, so scripts with `#!/usr/bin/env bash` fail. Outside of `nix-build` stuff is there just fine. Any idea how that can be?
<nomeata> Nix-2.2.1
<nomeata> Ah, maybe I just have hit https://github.com/NixOS/nixpkgs/issues/6227
<{^_^}> #6227 (by peti, 4 years ago, closed): chroot environments have no `/usr/bin/env`?
worldofpeace has quit [Ping timeout: 245 seconds]
Jetien__ has quit [Ping timeout: 252 seconds]
exarkun has joined #nixos
pereira_alex has joined #nixos
<{^_^}> [nixpkgs] @timokau opened pull request #59595 → [WIP] binutils, build-fhs-userenv: make use of ld fallback → https://git.io/fjmdE
asymmetric| has quit [Ping timeout: 252 seconds]
<emilsp> why for one binary I get ldd output with libdbus-1.so.3 => not found but for a different binary I get libdbus-1.so.3 => /nix/store/cvjw6gh0l5ba2k92d4ivgvyg1972gzb7-dbus-1.12.12-lib/lib/libdbus-1.so.3 (0x00007f8d24d6a000)
<pereira_alex> i am having trouble configuring an optional on a user package, waybar , although i have nixos-option waybar = { pulseSupport = true; }; , i can't enable pulseaudio on waybar package ! what am i missing ?
<emilsp> is there a way I can coax the first one to use the same shared object?
<{^_^}> [nixpkgs] @timokau merged pull request #59502 → hub: 2.11.1 -> 2.11.2 → https://git.io/fjmiv
<{^_^}> [nixpkgs] @timokau pushed commit from @dtzWill to master « hub: 2.11.1 -> 2.11.2 (#59502) »: https://git.io/fjmdu
<yorick> basvandijk: it looks like you can import this into your config manually if it doesn't make it
Neo-- has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59596 → python37Packages.mypy: 0.670 -> 0.700 → https://git.io/fjmdV
logzet has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
linarcx has joined #nixos
<yorick> it can't hurt to have this in 19.03, though
rev_strangehope has quit [Ping timeout: 250 seconds]
rev_strangehope has joined #nixos
<gchristensen> just a heads up, I'm about to upgrade the core infra for ofborg in a way that I haven't done in quite some time. it'll be down for a few minutes. hold on to your butts, though
* johanot holds on
<mthst> tilpner, qyliss^work: https://nixos.wiki/wiki/Garbage_Collection#Split_.2Fnix_to_a_separate_LVM_volume what is the purpose of doing this?
<tilpner> How would I know why that was put in there...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59597 → ncmpc: 0.33 -> 0.34 → https://git.io/fjmdp
silver has joined #nixos
<tilpner> But it does have an advantage in combination with auto-GC. auto-GC only runs when Nix fills up the filesystem, not when something else fills it up. So if Nix gets its own filesystem, auto-GC will always work
parsnip0 has quit [Quit: Connection closed for inactivity]
<mthst> tilpner: i thought so, but it's weird that the article doesn't mention it
<mthst> there's also a lot of Prescriptive Tone to be cleaned up there
<__monty__> gchristensen: You *will* tell us when we can let go of our buttocks, won't you? (Painstakingly typed with my nose.)
<johanot> :D
<gchristensen> :D
<tilpner> mthst: makefu added that, but it's possible it was just copied from the old wiki
knupfer has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59598 → ndpi: 2.2 -> 2.8 → https://git.io/fjmFW
<gchristensen> hrm :/ seems some of the jobs got lost
<gchristensen> that is a disappointment
periklis` has joined #nixos
<makefu> mthst: when your /nix/store runs full you may want to put all data into another partition.
drakonis_ has joined #nixos
periklis has quit [Ping timeout: 245 seconds]
arianvp has quit [Quit: WeeChat 2.4]
arianvp has joined #nixos
tboston_ has quit [Quit: leaving]
coconnor has quit [Ping timeout: 252 seconds]
<tilpner> makefu: I think the question is why that would be useful
coconnor has joined #nixos
<makefu> your root partition is full and you bought a new ssd, put it into your system and you want to move your store to said new disk
drakonis has quit [Ping timeout: 268 seconds]
drakonis has joined #nixos
<tilpner> mthst: ^ if you want to clarify anything in that section
arianvp has quit [Client Quit]
drakonis_ has quit [Read error: Connection reset by peer]
arianvp has joined #nixos
<mthst> tilpner, makefu: thanks, got it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59599 → neo4j: 3.5.3 -> 3.5.4 → https://git.io/fjmFr
arianvp has quit [Client Quit]
drakonis_ has joined #nixos
arianvp has joined #nixos
<{^_^}> [nixpkgs] @uralbash opened pull request #59600 → mxu11x0: 1.3 -> 1.4 → https://git.io/fjmFK
drakonis1 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @betaboon closed pull request #57992 → elk: 6.5.1 -> 6.6.2 → https://git.io/fjfr8
<makefu> of course, feel free to update the section with a clarification :) it is always nice if the wiki gets updated with some clarifying words
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}> [cabal2nix] @peti merged pull request #414 → Add a minimal version contstraint for 'containers'. → https://git.io/fjmHF
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/fjmFX
drakonis_ has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
Rusty1 has joined #nixos
ThatDocsLady has quit [Quit: Leaving]
drakonis1 has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @edolstra merged pull request #59369 → lib: improve the implementation of the unique function → https://git.io/fjmTe
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fjmFD
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
logzet has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
alexherbo2 is now known as alex``
giffel has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59601 → neovim-remote: 2.1.5 -> 2.1.7 → https://git.io/fjmFH
drakonis has joined #nixos
drakonis_ has joined #nixos
drakonis1 has quit [Ping timeout: 268 seconds]
tdbgamer has joined #nixos
<mthst> what's the difference between a device and a volume?
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.1-rc4 -> 5.1-rc5 »: https://git.io/fjmbJ
drakonis has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @amirshavit opened pull request #59602 → boost170: init at 1.70.0 → https://git.io/fjmbY
Netsu has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed 0 commits to haskell-updates: https://git.io/fjmbG
rjmill has joined #nixos
user____ has joined #nixos
orivej has quit [Ping timeout: 255 seconds]
mnoronha_ has joined #nixos
<basvandijk> @yorick yes, I think I can vendor prometheus2 with some effort but it would be way more convenient to have in in 19.03. The only potential issue is that services.prometheus.dataDir now requires /var/lib/ as a prefix. I think it's very unlikely if somebody has set that option to something outside /var/lib. If they have they will get an eval error with a good error message of course. So I think it's safe to merge into 19.03. I'll probably
<basvandijk> do that later today.
rjmill has quit [Ping timeout: 250 seconds]
rjmill has joined #nixos
nomeata has quit [Remote host closed the connection]
worldofpeace has joined #nixos
user____ has quit [Ping timeout: 246 seconds]
galaxie has quit [Ping timeout: 256 seconds]
arianvp has quit [Quit: WeeChat 2.4]
<emilsp> If I enable libvirtd, should the virtual networks __just work__? Because to me it seems that they don't.
arianvp has joined #nixos
<emilsp> scratch that, I'm an idiot.
drakonis_ has quit [Ping timeout: 250 seconds]
<gchristensen> I don't believe you
arianvp has quit [Client Quit]
<pereira_alex> ok, got it how to do what i asked earlier: create ~/.nixpkgs/config.nix and make an pkg override
arianvp has joined #nixos
galaxie has joined #nixos
drakonis_ has joined #nixos
arianvp has quit [Client Quit]
arianvp has joined #nixos
Notkea has quit [Read error: Connection reset by peer]
Notkea has joined #nixos
<emilsp> gchristensen: virtual networks work far better if the VMs which should use them actually use them. It seems that by default, virt-manager will specify the highest ranked network by alphabetical order, so my docker virtual networks were being used.
<yorick> what ever happened to GHDL in nixpkgs?
domogled has joined #nixos
<yorick> viric: ^
<{^_^}> [nixpkgs] @worldofpeace closed pull request #59573 → libxmlb: 0.1.7 -> 0.1.8 → https://git.io/fjmSS
stepcut has joined #nixos
hyper_ch2 has quit [Ping timeout: 256 seconds]
phdoerfler has quit [Quit: Leaving.]
polman has quit [Ping timeout: 264 seconds]
krig has quit [Quit: leaving]
polman has joined #nixos
kvda has joined #nixos
leat has quit [Remote host closed the connection]
leat has joined #nixos
<{^_^}> [nixpkgs] @pacien opened pull request #59604 → riot-{web,desktop}: 1.0.{6,4} -> 1.0.7 → https://git.io/fjmNU
kvda has quit [Client Quit]
drakonis_ has quit [Ping timeout: 255 seconds]
hyper_ch2 has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjmNm
reinhardt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #59592 → mlterm: 3.8.7 -> 3.8.8 → https://git.io/fjm5N
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/fjmNs
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<pie_> is it possible to run nix-build inside another nix-build?
<gchristensen> not really
<pie_> crap
<gchristensen> what for?
sumTimes has joined #nixos
<pie_> i might not *need* to do it, but i wanted to stick this in a nix expression https://bpaste.net/show/a0b5d1df56ff
<gchristensen> ah
<gchristensen> yeah, it isn't really going to work nicely
<gchristensen> that is called Recursive Nix
stepcut has quit [Remote host closed the connection]
<pie_> crap, i knew recursive nix wasnt supported, hoped my case might be simple enough 'xD
stepcut has joined #nixos
<gchristensen> the only use of nix-build inside nix-build which really works is if they're trivial builds without any dependencies -- essentially testing to make sure Nix works
Jetien__ has joined #nixos
drakonis_ has quit [Ping timeout: 255 seconds]
<pie_> i should be able to flatten this into normal nix without losing functionality?
<gchristensen> well
<gchristensen> yes
<gchristensen> there are builtins for readDir, hashing strings, basename
<pie_> actually..hm. i guess i could just move the bash stuff to the nix level instead, but theoretically, would i be able to alternate between bash and nix running things? or is that precisely what recursive nix ends up being
npmccallum has joined #nixos
linarcx has quit [Quit: WeeChat 2.4]
stepcut has quit [Ping timeout: 255 seconds]
<pie_> gchristensen, doesnt seem to be doing too badly actually? https://github.com/NixOS/nix/issues/13#issuecomment-436866480
<pie_> what should i expect to break
<gchristensen> well it doesn't exist
reinhardt has joined #nixos
IslandUsurper has joined #nixos
drakonis_ has joined #nixos
pereira_alex has quit [Quit: Konversation terminated!]
reinhardt has quit [Client Quit]
<pie_> oh lol just nocied the mentions of "hacky scripts"
cfricke has quit [Ping timeout: 252 seconds]
arianvp has quit [Quit: WeeChat 2.4]
arianvp has joined #nixos
phdoerfler has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #59520 → nixos/dde-daemon: init → https://git.io/fjmPj
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/fjmNP
Ariakenom has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @montag451 opened pull request #59605 → git-annex-remote-dbx: init at 1.0.3 → https://git.io/fjmNH
xkapastel has joined #nixos
Ariakenom has joined #nixos
apeyroux has quit [Quit: Lost terminal]
astrofog has joined #nixos
<pie_> gchristensen, i guess one basically ends up wanting to use recursive nix when they start using nix to run things and not just for making files
<pie_> something something make replacement
periklis` has quit [Ping timeout: 246 seconds]
erasmus has joined #nixos
domogled has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #59606 → dune: 1.9.0 -> 1.9.1 → https://git.io/fjmAL
waleee has joined #nixos
romildo has joined #nixos
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
_kwstas has joined #nixos
_kwstas has quit [Client Quit]
<romildo> worldofpeace, hello.
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<worldofpeace> romildo: hey :)
_kwstas has joined #nixos
_kwstas has quit [Remote host closed the connection]
<romildo> worldofpeace, I would like to finish adding those DDE services in NixOS.
_kwstas has joined #nixos
rjmill has quit [Ping timeout: 264 seconds]
_kwstas has quit [Remote host closed the connection]
hyper_ch2 has quit [Ping timeout: 256 seconds]
Makaveli7 has quit [Quit: WeeChat 2.4]
<worldofpeace> romildo: i'm unsure whether having a similar setup to gnome's modules is going to work well
<romildo> worldofpeace, an idea is finding the packages containing applications which would make sense to be used outside of DDE, and give them separate modules if needed.
mexisme has joined #nixos
<romildo> worldofpeace, from the already package I would list: terminal, calendar, image viewer, screenshot
<worldofpeace> romildo: right. I think we can start with the applications. But the modules for the system services maybe should come later
<worldofpeace> romildo: things that are specific for DDE should probably just be in the desktop manager module
<romildo> romildo, but how to deal with the modules provided by more basic packages, like dde-api, which may be needed by several applications and the desktop manager module?
<worldofpeace> romildo: looking at dde-api now
<romildo> worldofpeace, I do not want to replicate the code for them.
ThatDocsLady has joined #nixos
andi- has quit [Ping timeout: 250 seconds]
<romildo> worldofpeace, https://github.com/NixOS/nixpkgs/issues/59023 has a list of packages which provides some dbus service, systemd service, kernel module or some specific user/group.
<{^_^}> #59023 (by romildo, 1 week ago, open): Packaging the Deepin Desktop Environment
<worldofpeace> romildo: So are you saying that dde-api provides dbus services and binaries that are needed by all the applications?
<romildo> worldofpeace, we could annotate that list with hints where they should go as NixOS modules.
<romildo> worldofpeace, it was a wrong assumption of mine (about dde-api).
<romildo> worldofpeace, I have leave for a while ...
andi- has joined #nixos
<tilpner> Anyone know which zfs executable I should be using in a systemd script?
<worldofpeace> romildo: oh sorry. I've been busy also. For deepin I've mostly been reading https://www.deepin.org/en/developer-community/architectural-design/ and anything in their readme's and source to help me understand the structure
<tilpner> I can't find a way to access the currently installed one, but /run/current-system seems bad
logzet_ has joined #nixos
logzet has quit [Ping timeout: 264 seconds]
<worldofpeace> romildo: My sort of pattern I've done with these things was perfect the packages first and then move to the modules
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59607 → nlopt: 2.5.0 -> 2.6.0 → https://git.io/fjmAh
<pie_> gchristensen, havent quite been able to figure out how to turn a directory into a list of files in the store
<{^_^}> [nixpkgs] @basvandijk opened pull request #59608 → prometheus-pushgateway: 0.7.0 -> 0.8.0 → https://git.io/fjmxe
<pie_> i ...think? im just concatenating strings
zupo has joined #nixos
stepcut has joined #nixos
<pie_> hold on i need to figure out what im doing again...
drakonis_ has quit [Ping timeout: 264 seconds]
fresheyeball has joined #nixos
endformationage has joined #nixos
<fresheyeball> all the packages build in the nix-shell just fine
<fresheyeball> but when I run nix-build it fails
<qyliss^work> that means that the dependencies build, but not the derivation itself
<{^_^}> [nixpkgs] @kirelagin opened pull request #59609 → fsfe-reuse: Init at 2018-12-01 (master) → https://git.io/fjmxI
<fresheyeball> it fails saying ghc cannot find the package database
<fresheyeball> IN MY HOME FOLDER!
<fresheyeball> how the heck is that even possible?
<fresheyeball> my home folder is not a src
Glider_IRC__ has joined #nixos
<qyliss^work> nix builds are sandboxed. It can't see your home directory.
<fresheyeball> right! so why is it looking there
<qyliss^work> oh, I see
<qyliss^work> What exactly is it saying?
andi- has quit [Excess Flood]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59604 → riot-{web,desktop}: 1.0.{6,4} -> 1.0.7 → https://git.io/fjmNU
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjmxY
<qyliss^work> o_O
<pie_> gchristensen, i dont suppose im supposed to hash a file with hashString and readFile
Glider_IRC_ has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59610 → nmon: 16i -> 16j → https://git.io/fjmxG
mwilsoncoding has joined #nixos
drakonis has joined #nixos
andi- has joined #nixos
<mwilsoncoding> bonjour mes amis
<simpson> coi! What's up?
<mwilsoncoding> oh, not much, just finally registering a freenode account so I can retire @everybodyHertz and @sumTimes - too much work to maintain live sessions at home/work nowadays
<pie_> ooook so thats not how to do that "error: the contents of the file '/home/nixos/stuff/fiddb/scratch/prodtest/samples/mount' cannot be represented as a Nix string"
<fresheyeball> I have never used .extend to add haskell packages before
<fresheyeball> any know what it really does?
<fresheyeball> is it potentially why my build isn't getting sandboxed?
mnoronha_ has quit [Ping timeout: 255 seconds]
romildo has quit [Ping timeout: 250 seconds]
lassulus has joined #nixos
<aminechikhaoui> hm I wonder what's the general plan for python 2.7 EOL in NixOS, this reminded me https://termbin.com/s191
o1lo01ol1o has joined #nixos
<pie_> gchristensen, umm crap? https://github.com/NixOS/nix/issues/1835
<{^_^}> nix#1835 (by chris-martin, 1 year ago, open): builtins.hashFile
<pie_> well...maybe i can just work around that
<gchristensen> I thought you wanted to hash a string?
m1sosoup has joined #nixos
<infinisil> fresheyeball: no that has nothing to do with that
<gchristensen> aminechikhaoui: yeah, a great question
<fresheyeball> infinisil: ok, well now I am going back to overrides and callCabal2nix
<infinisil> fresheyeball: .extend just adds an overlay to the haskell set
<fresheyeball> yeah, it looks nice, but I don't understand why it fails, or why it looks outside the sandbox
<pie_> gchristensen, no i want to add the hash of a file to the name of a directory
<infinisil> fresheyeball: did you filter source all cache files out?
<srhb> fresheyeball: iirc that's pollution from some of the cabal new-stuff
<pie_> gchristensen, basically i want to "mapp" a nix expression over the files in a directory
<srhb> fresheyeball: It is not disabling the sandbox in any way.
<pie_> *map
<fresheyeball> srhb: I figured
<fresheyeball> ok, I need to filter, that kinda makes sense
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> fresheyeball: Destroying just that one cabal file (the name of which escapes me...) should get rid of that problem.
<infinisil> fresheyeball: yeah, you should use some filterSource incantation
<srhb> It's annoying, because usually you don't even notice it gets created.
petrkr has joined #nixos
<srhb> I think it's .ghc.environment.foo?
<pie_> bbiab
<infinisil> #56985
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56985 (by nh2, 5 weeks ago, open): sources: Add explicitFilterSource
andi- has quit [Ping timeout: 240 seconds]
<fresheyeball> infinisil: srhb: anything specific I should be filtering out?
<srhb> fresheyeball: The above file.
<fresheyeball> srhb: so I think it just did via gitignore
<fresheyeball> but its still failing the same way
<fresheyeball> ok making it explicit worked
<fresheyeball> this is my first time using the new-build stuff
<fresheyeball> some learning about pollution is to be expected
pie_ has quit [Ping timeout: 264 seconds]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59611 → nodejs-slim-11_x: 11.13.0 -> 11.14.0 → https://git.io/fjmpL
andi- has joined #nixos
drakonis has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #59612 → qgis: 3.4.5 -> 3.4.6 → https://git.io/fjmpl
Tucky has quit [Quit: WeeChat 2.2]
drakonis has joined #nixos
orivej has joined #nixos
romildo has joined #nixos
<{^_^}> [nix] @globin opened pull request #2767 → repl: Restore CTRL-C behaviour → https://git.io/fjmpK
<mg> There's a patch to fhsenv (specifically this https://github.com/bachp/nixpkgs/commit/977d1d8413230bac31bb2b7ebb72ee30a3ca9d46#diff-fa706c94d3cd456bde3e2654366474ba) that I need on 19.03, what is the least painful way of getting this fix on my 19.03 install?
init_6 has quit []
<viric> yorick: I don't use ghdl since years. I didn't track its fate
<viric> yorick: what happened?
<yorick> viric: it died with the gnat purge
<viric> gaa.
<viric> I didn't know of the purge
<viric> I guess this is a nixpkgs-speciific purge
<yorick> finally got removed in c69d8bf5e606915820b30d6db8fa9dfa39766f67
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59613 → obs-linuxbrowser: 0.6.0 -> 0.6.1 → https://git.io/fjmpH
<viric> yorick: ah I answered.
<viric> well. now what? Do you need it?
<viric> that thing is hard.
mwilsoncoding_ has joined #nixos
<yorick> viric: my roommate needed it but I think he's fixing it now
<yorick> (or he installed it from 17.03 :P)
ryantrinkle has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #59551 → busybox: add patch to allow cross in llvm → https://git.io/fjmDK
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjmpQ
mnoronha_ has joined #nixos
mwilsoncoding__ has joined #nixos
mwilsoncoding has quit [Ping timeout: 256 seconds]
mwilsoncoding has joined #nixos
mwilsoncoding_ has quit [Ping timeout: 256 seconds]
sumTimes has quit [Ping timeout: 256 seconds]
ryantrinkle has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace closed pull request #59453 → bleachbit: 2.0 -> 2.2 → https://git.io/fjmgo
mwilsoncoding__ has quit [Ping timeout: 256 seconds]
ThatDocsLady has quit [Remote host closed the connection]
tomberek has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 246 seconds]
<viric> yorick: good!
drakonis_ has joined #nixos
Mark___ has joined #nixos
Mark___ has quit [Client Quit]
drakonis1 has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
day|flip has joined #nixos
ThatDocsLady has joined #nixos
erasmas has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
tomberek has joined #nixos
drakonis1 has quit [Read error: Connection reset by peer]
pxc has joined #nixos
<romildo> worldofpeace, wouldn't the modules be needed in order to test the DDE packages? It seems that many of them are used through the services.
ThatDocsLady has quit [Remote host closed the connection]
<romildo> worldofpeace, with the modules available, I would then see what works and what does not work, trying to fix those.
ThatDocsLady has joined #nixos
tdbgamer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<romildo> worldofpeace, but you are more experienced and knowledgeable than me, and your guidance here will be helpful.
ThatDocsLady has quit [Remote host closed the connection]
<worldofpeace> romildo: deepin-anything look like it's going to need some testing for sure with it's service. But IMHO a feature, even parts of it, should be a complete feature when it lands.
ThatDocsLady has joined #nixos
<worldofpeace> romildo: So as you said, we're just finding which ones we can complete most completely if that makes any sense
<worldofpeace> Though there's a slight problem with the programs that get added to `environment.systemPackages` and just need a module because it has a dbus service.
<worldofpeace> I've noticed that if the program is in `PATH` it just gets launched and adding it to dbus.packages doesn't even matter
linarcx has joined #nixos
aanderse-work has joined #nixos
<romildo> worldofpeace, the dbus service for those programs may be used by other parts of DDE, I suppose, which would launch them through the service, for instance.
petrkr has quit [Remote host closed the connection]
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @joachifm pushed to revert-59368-tox-node « Revert "nixos/tox-node: init" »: https://git.io/fjmhM
<worldofpeace> romildo: Well that means having modules for deepin-screenshot for instance aren't really needed.
leat has quit [Remote host closed the connection]
leat has joined #nixos
kleisli has quit [Ping timeout: 252 seconds]
lassulus has quit [Ping timeout: 255 seconds]
<{^_^}> [nix] @edolstra pushed 4 commits to 2.2-maintenance: https://git.io/fjmhj
<worldofpeace> romildo: But I guess we're stuck with this "having a module for x ecosystem internals" and then enabling them within the DE module. So I guess we'll have to stick with it
<{^_^}> [nix] @edolstra pushed to 2.2-maintenance « Bump version »: https://git.io/fjmjf
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<worldofpeace> romildo: Though I did like the idea of "a unique module for the entire DDE" since they're not flexable
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @asymmetric opened pull request #59614 → pythonPackages.azure-mgmt-network: remove patch → https://git.io/fjmjk
johanot has quit [Quit: WeeChat 2.4]
acarrico has quit [Ping timeout: 246 seconds]
judson has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed to master « nixos/tox-node: Add descriptions to module options. »: https://git.io/fjmjt
asymmetric| has joined #nixos
mabel has quit [Ping timeout: 250 seconds]
Myhlamaeus has joined #nixos
phdoerfler has quit [Quit: Leaving.]
kleisli has joined #nixos
<asymmetric|> am i correct in assuming nixops is broken with recent versions of nixpkgs, due to https://github.com/NixOS/nixops/issues/1065#issuecomment-471049633 ?
asymmetric| is now known as asymmetric
phdoerfler has joined #nixos
tmaekawa has joined #nixos
asymmetric_ has joined #nixos
<romildo> worldofpeace, thinking about some applications, let's say deepin-terminal. It uses the dde-menu service to implement its menus. Other applications also need the dde-menu service, although it is of no value per si. How would a system be configured to have deepin-terminal?
<{^_^}> [nixpkgs] @veprbl merged pull request #59407 → [19.03] Static proot, wafHook cross compilation → https://git.io/fjmlk
<{^_^}> [nixpkgs] @veprbl pushed 8 commits to staging-19.03: https://git.io/fjmjg
mwilsoncoding has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #59558 → kubetail: 1.6.7 -> 1.6.8 → https://git.io/fjmyr
<{^_^}> [nixpkgs] @kalbasit pushed commit from @r-ryantm to master « kubetail: 1.6.7 -> 1.6.8 (#59558) »: https://git.io/fjmjK
asymmetric has quit [Ping timeout: 264 seconds]
<romildo> worldofpeace, option 1: explicitly add dde-menu to services.dbus.packages and deepin-terminal to environment.systemPackages
asymmetric_ is now known as asymmetric
<worldofpeace> romildo: That's purely a dbus service. I wish in nixpkgs we had a way we could say that this package needs this dbus service. So when you add it to `systemPackages` it'll bail if it can't find it. So yeah if someone just wants just dde apps they'll need to enable that menu service.
<romildo> worldofpeace, option 2: explicitly enable the dde-menu service (supposing there is one) and add deepin-terminal to environment.systemPackages
<romildo> worldofpeace, option 3: enable a deepin-terminal program module (supposing there is one) that would take care of the details
<mdash> worldofpeace: you can have it add stuff to services.dbus.packages
tmaekawa has quit [Quit: tmaekawa]
mnoronha_ has quit [Ping timeout: 268 seconds]
[Leary] has joined #nixos
Lears has quit [Ping timeout: 264 seconds]
<arianvp> how do I make nix-build ./nixos/tests/<test here> create a log.html file even if the test failed?
mabel has joined #nixos
<arianvp> I want to figure out why a test failed, but I only get logs on ... success
<worldofpeace> romildo: I don't really like the `programs` modules in general. We already have option 2 for gnome-terminal (you need to enable the terminal server) so I think we can go with that
<worldofpeace> romildo: and for the desktopManager module `deepin-menu` can be default enabled.
<arianvp> however the `result` symlink isn't created if tests fail
everybodyHertz has quit [Ping timeout: 256 seconds]
<arianvp> basically, how do I get this https://hydra.nixos.org/build/92240470/download/1/log.html when the tests fail
teej has quit [Quit: Connection closed for inactivity]
acarrico has joined #nixos
<elvishjerricco> arianvp: What was unclear about the "running tests interactively" section?
<elvishjerricco> arianvp: The result symlink referenced by that section is the output of the `-A driver` derivation, not the test itself. The driver is just a script that puts you in an environment to run the tests
<elvishjerricco> arianvp: You can also `nix log` on derivations that fail to build
lassulus has joined #nixos
astrofog has quit [Ping timeout: 252 seconds]
arjen-jonathan has quit [Ping timeout: 252 seconds]
<arianvp> elvishjerricco: the #anchor links are swapped, (bug in the html)
<arianvp> that link actually links to the 46.2. Running Tests section
<arianvp> but it does answer my question haha. running the driver manually allows me to generate that log.html file even if the tests fail right?
<{^_^}> [nixpkgs] @Infinisil merged pull request #59597 → ncmpc: 0.33 -> 0.34 → https://git.io/fjmdp
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjYeI
ThatDocsLady has quit [Ping timeout: 252 seconds]
<exarkun> why is "attribute 'staging' missing" when I do something like `{ pkgs, staging ? true, ... }: { ... import ./foo.nix { inherit staging; } }`?
astrofog has joined #nixos
<mdash> exarkun: hm, and it works when you leave out "? true"?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/fjYes
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59615 → kdeApplications.okteta: 0.26.0 -> 0.26.1 → https://git.io/fjYen
<arianvp> elvishjerricco: nix log doesn't work the nixos test runner doesn't log to stdout
<elvishjerricco> ah
<arianvp> but only to log.html (which tells which subtests failed or succeeded)
<elvishjerricco> arianvp: I'm guessing there's a way to get the log.html but I don't know how
<arianvp> but now the problem is, it doesn't create that file (because the build fails) when a tests fails
<{^_^}> [cabal2nix] @peti pushed to master « hackage2nix: the 'broken-packages' section now contains versioned package names »: https://git.io/fjYeW
<arianvp> so now I need to figure out 'what test failed' and I can't find an answer anywhere
astrofog has quit [Remote host closed the connection]
romildo has quit [Quit: Leaving]
<elvishjerricco> arianvp: The interactive method probably has some way to get the log file
Ariakenom has joined #nixos
<elvishjerricco> arianvp: Otherwise, you can try building with `--keep-failed`, and see if maybe the log file is written to the tmp build directory?
<srhb> exarkun: This seems unlikely to be the full story.
dbmikus has joined #nixos
<exarkun> mdash: nope, then it fails with "undefined variable"
<exarkun> srhb: I elided some stuff, for sure. I can put it back if I was overzealous.
<srhb> exarkun: The example you gave should work, yeah.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjYe4
<arianvp> elvishjerricco: unfortunately the logs are not in the tmp directory
<elvishjerricco> arianvp: Yea, so start looking for the interactive way I guess
<{^_^}> [nix] @edolstra pushed 0 commits to refs/tags/2.2.2: https://git.io/fjYe0
<arianvp> seems like such a weird thing. have this pretty output but only have it show up when you never look at it =)
<{^_^}> [nixpkgs] @edolstra pushed to master « nix: 2.2 -> 2.2.2 »: https://git.io/fjYeE
* arianvp keeps hacking
basvandijk has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update snapshot to Hackage at 2019-04-15T15:44:44Z »: https://git.io/fjYeg
<{^_^}> [nixos-homepage] @edolstra pushed to master « Nix 2.2.2 released »: https://git.io/fjYe2
m1sosoup has quit [Quit: Leaving]
<exarkun> okay this also fails with the same error: https://gist.github.com/exarkun/4876938fb24465ac718e4b9d39567593
<exarkun> when included along with sd-image.nix and nix-build'ed
<exarkun> do I need to post the code that's doing the including and building?
<srhb> exarkun: Seems likely, I still don't see an error there.
<{^_^}> [nixpkgs] @edolstra pushed to release-19.03 « nix: 2.2 -> 2.2.2 »: https://git.io/fjYer
<arianvp> Did some more digging
<arianvp> it used to be the case that it would show logs of failed tests but that was removed :P
<exarkun> srhb: fwiw the error goes away if I remove `networking.nftables.enable = true`
sigmundv has quit [Ping timeout: 246 seconds]
ym555 has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « Fix release script »: https://git.io/fjYeP
<srhb> exarkun: Oh, hang on, this is a NixOS module.
<srhb> exarkun: So I'm guessing you haven't done anything to add staging to moduleArgs or anything?
<exarkun> Hm. No, I haven't.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59185 → nixos/glib-networking: init → https://git.io/fjtat
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjYe1
<srhb> exarkun: That'll be it.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59616 → opencolorio: 1.1.0 -> 1.1.1 → https://git.io/fjYeM
<exarkun> What should I do to be able to pass arguments to a NixOS module?
ng0 has joined #nixos
<srhb> exarkun: First, I'd recommend against it, and instead using regular options.
dashkal has joined #nixos
dashkal has quit [Changing host]
linarcx has quit [Ping timeout: 252 seconds]
<srhb> exarkun: Chances are you don't need it to be a module arg at all.
<exarkun> okay, I'm all for that. I dunno how to define new options either though.
darkf has joined #nixos
* exarkun looks for stuff to read
<sphalerite> exarkun: or maybe the whole of chapter 42
linarcx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59617 → openfortivpn: 1.8.1 -> 1.9.0 → https://git.io/fjYeS
mwilsoncoding has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjYe5
<{^_^}> [nixpkgs] @peti pushed 3 commits to master: https://git.io/fjYed
alex``5 has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59618 → openfst: 1.7.1 -> 1.7.2 → https://git.io/fjYex
alex`` has quit [Ping timeout: 264 seconds]
<etu> ,locate ghostview
arjen-jonathan has joined #nixos
<{^_^}> Found in packages: tetex
<etu> oh :/
fendor_ has joined #nixos
asymmetric_ has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @peti closed pull request #59333 → haskellPackages.zeromq4-haskell_0_8_0: unbreak → https://git.io/fjqSB
waleee has quit [Quit: WeeChat 2.4]
acarrico has quit [Ping timeout: 250 seconds]
Thra11 has quit [Ping timeout: 255 seconds]
<srhb> etu: Did you want gv?
<etu> srhb: Maybe? I have a postscript file that I want to look at
<sphalerite> etu: evince :p
<etu> oh
<etu> it can do that
<etu> That's handy, thanks :)
Thra11 has joined #nixos
judson has joined #nixos
boogiewoogie has quit [Quit: Leaving]
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @strager opened pull request #59619 → python37: fix build on macOS → https://git.io/fjYvq
<infinisil> sphalerite: evince doesn't include application/postscript in its mime types :(
<sphalerite> infinisil: PR!
<infinisil> I already thought it would be really cool if I could implement `,locate opens .ps`, which would look through all .desktop files to find a package that has a binary that opens that file type
<infinisil> sphalerite: That's a good idea
<__monty__> Not everything has a .desktop file though.
<infinisil> At least most desktop-intended applications do
<infinisil> It's the closest we can get to "which package can open this" (with reasonable effort)
<__monty__> But those are the least useful ones : /
<infinisil> __monty__: You can always PR .desktop files for packages :)
<infinisil> Well, for a lot of them anyways
<infinisil> __monty__: What useful ones are you thinking of?
<__monty__> How would I do that if I don't know what they open in the first place?
<__monty__> But a .desktop doesn't make much sense for something like ranger, while it *does* do useful things with files.
arianvp has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
<infinisil> Hmm yeah, but ranger doesn't really "open" files anyways, we could call that a previous
<infinisil> preview*
<__monty__> Yes, but it makes me think of all the cli utilities that don't come with desktop files.
<worldofpeace> infinisil: Huh we just enabled postscript support for evince again
arianvp has joined #nixos
<{^_^}> [nixpkgs] @moyamo opened pull request #59620 → [19.03] emacs: Link subdirs.el into emacs-packages-deps → https://git.io/fjYvu
fusion809 has joined #nixos
<__monty__> The lack of "show me things that open X" means people'll google. Having the feature'll add a threshold to just asking or googling.
<__monty__> I'm not against it though. That doesn't mean I have to like it : )
npmccallum has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59621 → openttd: 1.9.0 -> 1.9.1 → https://git.io/fjYvr
Jetien__ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59622 → libopus: 1.3 -> 1.3.1 → https://git.io/fjYvb
mnoronha_ has joined #nixos
<exarkun> I can't find docs that explain how to set option values from nix-build command line
<infinisil> exarkun: Gotta be a bit more specific
<exarkun> I guess I see `nix-build --option ...` but it doesn't seem to connect to my module's option definition
<{^_^}> [nixpkgs] @joachifm merged pull request #55543 → pivx: init at 3.2.0 → https://git.io/fhQU0
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/fjYvj
<{^_^}> [nixpkgs] @volth opened pull request #59623 → ipxe: fix url → https://git.io/fjYfv
<exarkun> Here's my module (trimmed down): https://gist.github.com/exarkun/57b501326843e4e4854334b4a2ceebe8
<exarkun> But I don't see how to set the value of privatestorage.staging
<{^_^}> [nixpkgs] @LnL7 opened pull request #59624 → libuv: fix darwin sandbox build → https://git.io/fjYfk
<infinisil> exarkun: That's a nixos module, so you need to use NixOS to evaluate it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59626 → osinfo-db: 20190301 -> 20190319 → https://git.io/fjYfL
<infinisil> exarkun: You can do something like this: nix-build '<nixpkgs/nixos>' --arg configuration '{ imports = [ ./miniconf.nix ]; privatestorage.staging = ...; }'
<infinisil> exarkun: You can do something like this: nix-build '<nixpkgs/nixos>' --arg configuration '{ imports = [ ./miniconf.nix ]; privatestorage.staging = ...; }' -A system
<exarkun> There's no simpler way to set privatestorage.staging from the command line?
<infinisil> exarkun: Nope
<infinisil> Well
<exarkun> I am using nixpkgs/nixos and the sd-image builder
<exarkun> And I have the string you gave for `configuration` in another .nix source file
<infinisil> You could wrap above in a nix file with an argument list like `{ staging }` at the top, then you could use `--arg staging foobar`
<exarkun> seems like I should be able to squeeze one bool in :/
<infinisil> What do you want to evaluate?
<infinisil> .system?
sigmundv has joined #nixos
<exarkun> config.system.build.sdImage
asymmetr- has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> exarkun: You could do `{ configuration }: (import <nixpkgs/nixos> { configuration = { imports = [ ./miniconf.nix configuration ]; }; }).config.system.build.sdImage` in a file
<exarkun> I tried adding staging to the argument list earlier but it doesn't seem like it gets passed. something about how modules work?
<infinisil> Then `nix-build --arg configuration '{ privatestorage.staging = ...; }'
mnoronha_ has quit [Ping timeout: 255 seconds]
asymmetric_ has quit [Ping timeout: 264 seconds]
waleee has joined #nixos
* exarkun thinks about that
ddellacosta has quit [Ping timeout: 250 seconds]
dbmikus has quit [Ping timeout: 246 seconds]
<infinisil> Sry can't type much more
<infinisil> (hands hurt)
<exarkun> np, thanks for the tips
<{^_^}> [nixpkgs] @worldofpeace opened pull request #59627 → gnome3.tracker: correct gdbus path → https://git.io/fjYfc
ddellacosta has joined #nixos
kleisli has quit [Ping timeout: 264 seconds]
asymmetr- has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59628 → padthv1: 0.9.5 -> 0.9.6 → https://git.io/fjYf8
<hexa-> I'm currently trying to reduce the number of build cores for a kernel rebuild
ddellacosta has quit [Client Quit]
asymmetric has quit [Ping timeout: 255 seconds]
<waleee> how would one go about adding sway to gdm and launching it without a xserver?
<waleee> I tried adding it to services.xserver.displayManager.session and services.xserver.windowManager.session, but that launched it on top of an xserver
<hexa-> I've currently set nix.maxJobs = lib.mkForce 1;\nnix.buildCores = lib.mkForce 2;, but the kernel build will always use all available cores
<hexa-> > > build flags: -j4 -l4 [...]
<{^_^}> error: syntax error, unexpected '>', at (string):243:1
<hexa-> thats not possible, because the machine will run out of memory if it builds with too many cores :)
acarrico has joined #nixos
ggVGc has joined #nixos
<ggVGc> can someone tell me how to make sense of this error messag?
<ggVGc> $ ~/ nix-channel --update
<ggVGc> unpacking channels...
<ggVGc> error: while setting up the build environment: getting attributes of path '': No such file or directory
dbmikus has joined #nixos
zupo has joined #nixos
<exarkun> ggVGc: That looks kind of like an error I had at some point where I had an empty string for a path in some configuration somewhere, I think
mnoronha_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59629 → papirus-icon-theme: 20190302 -> 20190331 → https://git.io/fjYfa
<ggVGc> exarkun: possibly this could be argued to be a somewhat bad user experience...
ddellacosta has joined #nixos
jabranham has joined #nixos
<{^_^}> [nixpkgs] @LnL7 merged pull request #59619 → python37: fix build on macOS → https://git.io/fjYvq
<{^_^}> [nixpkgs] @LnL7 pushed 2 commits to master: https://git.io/fjYfD
nixosbeginner01 has joined #nixos
AleXoundOS_ has joined #nixos
<nixosbeginner01> Are the any sorts of power savings that might prevent a system using the plama5 desktop environment from being reachable over the network? I'm plugged into ethernet and tryin to debug my computer being randomly unreachable
<nixosbeginner01> The ssh daemon is enabled
mnoronha_ has quit [Ping timeout: 246 seconds]
<mthst> i have an issue with nix, strings and numbers
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JonReed has joined #nixos
<srhb> nixosbeginner01: I doubt that.
<srhb> mthst: Yes?
zupo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #59630 → gnome3.gnome-keyring: CAP_IPC_LOCK gnome-keyring-daemon → https://git.io/fjYf9
<nixosbeginner01> srhb: Seems like a long shot, but any other thoughts why this might be occuring?
<nixosbeginner01> I was previously running ubuntu, and didn't notice this. So I figure I've configured something incorrectly
<mthst> when defining nix.extraOptions
<srhb> nixosbeginner01: I'd sooner suspect real network issues. Like, what's your setup? Is it just network manager and dhcp?
<nixosbeginner01> srhb: I believe so, but don't manage the network
<tilpner> nixosbeginner01: Does it reply to ping?
<nixosbeginner01> tilpner: Nope, not when down
<srhb> nixosbeginner01: Can it ping itself when it's "down" ?
<nixosbeginner01> tilpner: Does that mean it's definitely a network issue?
<nixosbeginner01> srhb: Ah, so one problem is it seems to _always_ be up when I'm physicalyl interacting with it
<srhb> nixosbeginner01: Ah, hence the power saving suspicion?
<mthst> srhb: http://ix.io/1GiE
<nixosbeginner01> srhb: Yea, that was the first thing that came to mind
<srhb> mthst: It's a precedence issue
<mthst> ahhhh
mnoronha_ has joined #nixos
<mthst> thanks
<srhb> mthst: function application is left associative, so you have (toString 1024) * ...
<mthst> sorry
<srhb> mthst: No problem :)
<nixosbeginner01> I've switched to "Never suspend or shutdown" in power saver settings
<JonReed> Is there a way to locate binaries without relying on bot here and without using local index? I mean, if used locally, wouldn't you need to have a package already installed for `nix-locate` to be able to locate its binary, somewhat defeating the purpose (trying to find the package where that binary is to install it)?
<nixosbeginner01> Not sure if this will help, since manually suspending doesn't make it unreachable
<JonReed> ,locate systemd-cat
<srhb> nixosbeginner01: Wait, what? That's even stranger :-)
<{^_^}> Found in packages: systemd, systemd_with_lvm2
<srhb> nixosbeginner01: It certainly _should_ be unreachable while suspended.
<nixosbeginner01> Huh, maybe I'm wrong. Checking really quickly
kingsley has joined #nixos
<samueldr> JonReed: nix-locate builds its index on hydra's results, so no need to install things to have them indexed
nixosbegginer_01 has joined #nixos
<JonReed> samueldr: Ah, ok. Thanks.
<srhb> JonReed: (The command from the package to build the index from hydra is called nix-index, fwiw)
<kingsley> Hi
<nixosbegginer_01> srhb: Okay, so maybe this is interesting or maybe not. When it's suspended, ssh just hangs, rather than producing the same "unreachable" message
nixosbeginner01 has quit [Ping timeout: 256 seconds]
<srhb> nixosbegginer_01: What's the exact error message?
<nixosbegginer_01> srhb: "port 22 network is unreachable" (when it's on but not reachable) vs. "port 22: Operation timed out" when it's suspended
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59627 → gnome3.tracker: correct gdbus path → https://git.io/fjYfc
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjYfj
<nixosbegginer_01> where the operation timing out takes _much_ longer
Profpatsch has quit [Quit: WeeChat 0.4.3]
anderslundstedt has quit [Quit: leaving]
<{^_^}> [nixpkgs] @bobvanderlinden opened pull request #59631 → quazip: 0.7.3 -> 0.7.6 → https://git.io/fjYJL
Profpatsch has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed commit from @r-ryantm to master « josm: 14760 -> 14945 »: https://git.io/fjYJq
<infinisil> hexa-: pass --cores 2 --max-jobs 1 to nixos-rebuild
<{^_^}> [nixpkgs] @rycee closed pull request #59548 → josm: 14760 -> 14945 → https://git.io/fjmDa
<srhb> The latter behaviour sounds expected. The former sounds like it's not caused by the NixOS machine, but some routing issue, but honestly I've no idea.
kreisys has joined #nixos
<hyper_ch> hmmmm, autofs looks weird to setup
<hexa-> infinisil: yep, that did it. I missed a rebuild that updated the settings obviously. :)
judson has quit [Ping timeout: 268 seconds]
<srhb> hyper_ch: x-systemd.automount is nicer in many cases.
sam_d has quit [Ping timeout: 255 seconds]
<hyper_ch> srhb: do tell me more
anderslundstedt has joined #nixos
<hyper_ch> problem is wireguard doesn't get properly started at bootup because of dns so I run a cron that regularly checks if the wg interface is running nicely and if not, call it
sam_d has joined #nixos
<srhb> hyper_ch: I think it's just a nicer way of setting up autofs stuff than through the regular autofs options
<hyper_ch> well, with autofs it would mount at first access
linarcx has quit [Quit: WeeChat 2.4]
<srhb> like, you can usually get by with "x-systemd.automount,noauto"
<hyper_ch> but x-systemd.automount probably tries to mount at boot - which would fail because of wireguard not being up
<srhb> Not with noauto.
<hyper_ch> srhb: got an example ready?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> I use this for a cifs share: x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s
Neo-- has quit [Ping timeout: 264 seconds]
<hyper_ch> so this will try to mount whenever you access the folder?
<srhb> make it automount, make it not be required for the regular filesystem targets (dont mount at bootup), timeout and unmount when not in use, timeout if device is unreachable, give up if fail to mount..
<srhb> Yes.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59632 → pdd: 1.3.1 -> 1.4 → https://git.io/fjYJZ
zupo has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
<mwilsoncoding> okie pokie folks: https://github.com/NixOS/nixops/pull/1124
<{^_^}> nixops#1124 (by mwilsoninsight, 1 week ago, open): Allow GCE VMs to be reached by private IP address if specified
<mwilsoncoding> hoping those final edits legitimately do the trick
<hyper_ch> srhb: interesting, thx
<srhb> hyper_ch: But honestly my main motivation over autofs is just being able to set options in filesystems."/some/mount".options and not have to learn something else :-P
<srhb> I mean, I guess it _is_ autofs, just a nicer interface.
<srhb> (If you don't loathe systemd)
<mwilsoncoding> anyone with a GCE account, the knowledge/wherewithall to set up a vpn, and proper motivation can check that out at their leisure
<hyper_ch> let's try those options options = [ "noauto" "user" "uid=1000" "gid=100" "username=${userfs}" "password=${passwordfs}" "iocharset=utf8" "x-systemd.automount" "x-systemd.idle-timeout=60" "x-systemd.device-timeout=5s" "x-systemd.mount-timeout=5s" ];
dbmikus has joined #nixos
<srhb> hyper_ch: I forget how options work, but I have that as a single list element.
<hyper_ch> srhb: I have multiple cifs servers and someone in here gave me a nice little way to set them all up
<srhb> hyper_ch: "${concatStringsSep "," mount.options}" -- looks like you're good.
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<srhb> hyper_ch: I do something like that, but without the passwords in the store.
<hyper_ch> srhb: nobody touched my notebook :)
<hyper_ch> s/touched/touches/
<hyper_ch> infinisil: yeah, parts of my solution is from yours
<hyper_ch> nope... it's sphalerite, clever and Shados
sam_d has quit [Quit: Bye]
sam_d has joined #nixos
<srhb> hyper_ch: Yeah, save here, I'm just scared I'll accidentally run something that I shouldn't have.
<srhb> s/save/same
<hyper_ch> :)
<srhb> Having the root/user separation is nice. :)
<hyper_ch> so, changed to your x-systemd settings and I'll find out at next reboot
<srhb> Cool.
<hyper_ch> gotta go to bed early, need to commute to Berne tomorrow :(
wfranzini has joined #nixos
civodul has joined #nixos
pie_ has joined #nixos
kreisys has joined #nixos
ng0 has quit [Remote host closed the connection]
ng0 has joined #nixos
ggVGc has quit [Quit: WeeChat 2.4]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<AleXoundOS_> Hi. I try to accomplish one thing for a long time without much success. Please, help me.
<AleXoundOS_> I try to copy binary cache from cache.nixos.org for the whole 19.03 channel in order to serve it in LAN without internet. For x86_64 cache I use the following command:
<AleXoundOS_> nix copy --from https://cache.nixos.org --to file:///19.03/cache $(curl -L https://nixos.org/channels/nixos-19.03/store-paths.xz | xz -d)
<AleXoundOS_> First of all, is it the right way?
exarkun has quit [Ping timeout: 255 seconds]
<tilpner> No, that's going to exceed the max argument list length
<LnL> yeah the list will be too large, but conceptually that should work
<tilpner> Something like curl -L https://nixos.org/channels/nixos-unstable/store-paths.xz | xz -d | xargs nix-store -r should work
<tilpner> You can play around with the xargs parallelisation arguments, and you'll probably want to create a gc-root for the channel
fendor has joined #nixos
fendor has quit [Client Quit]
vidbina has joined #nixos
<tilpner> Though this assumes you're serving from the local store, which I just noticed your line doesn't. Oh well
<AleXoundOS_> Yeah, I've encountered the argument list problem too and xargs solves this. My question was more related to `nix copy`. Is it the right tool?
<LnL> nix copy --to file:/// will create a file binary cache that you can use as a local substitute or serve over http
<{^_^}> [nixpkgs] @basvandijk merged pull request #59608 → prometheus-pushgateway: 0.7.0 -> 0.8.0 → https://git.io/fjmxe
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/fjYJy
<AleXoundOS_> LnL, and will this copied cache contain all binaries for the selected nixpkgs channel?
<LnL> I think so, at the very least all toplevel packages
vanyaklimenko has joined #nixos
<AleXoundOS_> So that it would be possible to install NixOS and all nix packages on machines in the LAN without internet?
<AleXoundOS_> Given I configure my local http server address as a substitute.
phdoerfler has quit [Ping timeout: 252 seconds]
<LnL> depends a bit on your configuration
phdoerfler has joined #nixos
<LnL> if you use options that customise a package it won't be substitutable and might need internet to download the sources
_kwstas has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59634 → picard-tools: 2.18.27 -> 2.19.0 → https://git.io/fjYJH
<AleXoundOS_> LnL, I plan to stick to a single nixpkgs commit for a period of time. Is it what you mean?
tomberek has quit [Ping timeout: 246 seconds]
<LnL> your configuration.nix might depend on things that are not available in the cache
waleee has quit [Quit: WeeChat 2.4]
<AleXoundOS_> So even modifing some system parameters may require downloading sources?
<LnL> those can be built locally, but not without the sources which won't be part of that list
<AleXoundOS_> Hm, that's something I did not think about.
<LnL> most options only change config files which don't need anything special to build locally, but some options need specific features, etc.
<tilpner> You can try to mirror tarballs.nixos.org if this is important to you
<tilpner> But I have no idea how much work that'll be
<LnL> I'd rather build the system on another host instead
<tilpner> And that probably won't cover some non-tarball sources
<AleXoundOS_> Hm, and how can I mirror tarballs.nixos.org?
erasmus has quit [Quit: END-AUMF]
<LnL> not sure, and that would be huge
<tilpner> nixpkgs/maintainers/scripts has some details on how the tarball mirroring works
random_yanek has quit [Ping timeout: 255 seconds]
<LnL> not sure what you're trying to do but building the system on another host would be much faster and smaller
<tilpner> Oh yes. If that's an option you should look into that first
wolfman154 has joined #nixos
<AleXoundOS_> But this will be limited to specific configuration.
<AleXoundOS_> I don't know beforehand all the configurations that NixOS will be installed on.
nixosbegginer_01 has quit [Quit: Page closed]
<AleXoundOS_> And every next "internet session" iteration cost is high.
<gchristensen> AleXoundOS_: may I ask more specifically what you're doing? we could PM if you'd rather
<AleXoundOS_> tilpner, thank you for the link, I will try to figure out how this works
<LnL> this sounds a bit weird, but seems like this is a very specific situation
<AleXoundOS_> gchristensen, I have an enviroment at work where internet is mainly prohibited (no proxies).
cyphase_eviltwin has joined #nixos
<LnL> maybe take a look at the mirroring script then and include those sources, that won't cover everything but you'll have some or most sources available if necessary
<gchristensen> and you don't know what software you'll need?
cyphase- has joined #nixos
cyphase has quit [Ping timeout: 250 seconds]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
wolfman154 has joined #nixos
<AleXoundOS_> gchristensen, well, it's not only a "devops/servers" target, but also development/work machines. So you often need something new as libraries. Or (as I've got to know now) any new configuration may arrive/requested.
<gchristensen> this sounds not very nice
<AleXoundOS_> LnL, thank you, looks promising.
random_yanek has joined #nixos
<gchristensen> how much budget do you have? :P
<gchristensen> you could fetch http://nixos.org/channels/nixos-19.03/store-paths.xz and then pull every one of those paths in to a cache
cyphase_eviltwin has quit [Ping timeout: 250 seconds]
<AleXoundOS_> gchristensen, binary cache?
<gchristensen> right
_kwstas has quit [Quit: _kwstas]
_kwstas has joined #nixos
<AleXoundOS_> gchristensen, maybe it sounds not nice, but for Arch Linux it is just a matter of downloading repositories. And I think it should be possible for NixOS as well. It's simply not a popular request it seems.
zupo has joined #nixos
<gchristensen> NixOS's binary cache fully supports this
<tilpner> With Arch you have a fixed amount of packages, while here you can customise/override each for many different combinations. The binary cache of course doesn't contain all these combinations, so Nix will fall back to building it locally
erasmus has joined #nixos
<tilpner> If you're careful you can avoid doing this, of course
<AleXoundOS_> gchristensen, I started with it (specifically `nix copy`). However, as LnL said, packages like configuration.nix might depend on things that are not available in the cache, some specific features that require a local rebuild.
<tilpner> But even setting e.g. environment.noXlibs will bring you far out from binary cache coverage
<gchristensen> aye
<LnL> yeah, all depends on what kind of configurations you have to build
<LnL> I could write one that fetches 3 channels and pulls in different packages from all of those
<infinisil> I guess in theory (with some nixpkgs restructuring), it would be possible to download all sources in nixpkgs so you really could build everything without internet
_kwstas has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59635 → plantuml: 1.2019.2 -> 1.2019.4 → https://git.io/fjYUz
mounty has quit [Ping timeout: 252 seconds]
<gchristensen> I have been wanting to do this very thing, actually: build every fixed output derivation in nixpkgs
<AleXoundOS_> Ok, originally I thought that mirroring cache.nixos.org is enough. I will try to discover find-tarballs.nix for solution.
<LnL> find-tarballs.nix already does that, it just filters out the ones with ulrls (ie fetchurl)
<gchristensen> nice
<AleXoundOS_> However with `nix copy` I have another problem (having the hardware I use).
<LnL> gchristensen: I don't fully understand how it works, it's only 50 lines but it seems to find everything recursively :)
<AleXoundOS_> For this purpose I don't have a spare 24/7 machine and I use nanopi neo2 with NixOS on it, lol.
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<AleXoundOS_> It's an aarch64 512 MiB machine.
logzet_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<AleXoundOS_> First of all `nix copy` uses up to ~2 GiB RAM if I pass more than 1 store path.
aanderse-work has quit [Ping timeout: 246 seconds]
<AleXoundOS_> It's not clear what makes `nix copy` use that much, since... shouldn't it just be a copying process? As I see it's not. I've searched internet and for unknown reasons (for me) it does XZ compression.
<gchristensen> LnL: impressive :D
knupfer has joined #nixos
<AleXoundOS_> Indeed CPU becomes a bottlenet and not RAM in case I give 1 store path to `nix copy`.
<AleXoundOS_> bottleneck*
<AleXoundOS_> Can someone explain me why XZ compression happens during `nix copy`. And can I disable it or speedup `nix copy`. Currently it runs at a speed of 1 GiB per 3 hours.
<simpson> Yikes. That is a fascinating problem to have. It doesn't appear that there's a way to disable compression, but I haven't looked very hard yet.
judson has joined #nixos
<niksnut> add ?compression=none to the destination URL
kreisys has joined #nixos
arjen-jonathan has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59637 → pmd: 6.12.0 -> 6.13.0 → https://git.io/fjYUP
fendor_ has quit [Quit: Leaving]
<AleXoundOS_> Maybe the rate is even less, like 1 GiB per 4 hours. The nanopi neo2 works 24/7, but mirroring 100 GiB from cache.nixos.org will require 17 days.
<{^_^}> [nixpkgs] @pSub merged pull request #59536 → homebank: 5.2.3 -> 5.2.4 → https://git.io/fjmMV
<{^_^}> [nixpkgs] @pSub pushed 2 commits to master: https://git.io/fjYU1
<AleXoundOS_> niksnut, ok, I will try
<wolfman154> Has rycee changed the master.tar
<wolfman154> Hold on typo
<gchristensen> omg
mwilsoncoding has quit [Ping timeout: 256 seconds]
<gchristensen> this is great!
kleisli has joined #nixos
<LnL> nix-store -r away! :)
nD5Xjz has quit [Ping timeout: 264 seconds]
<wolfman154> Has rycee changed the master.tar(unstable) home-manager channel to 19.03.tar(stable) home-manager channel? I want to upgrade to nixos 19.03 stable but I don’t want my packages crashing?
oida has quit [Remote host closed the connection]
nD5Xjz has joined #nixos
<simpson> wolfman154: What have you tried so far?
<simpson> I see a `release-19.03` branch but don't know whether it is what you want.
<LnL> gchristensen: would be nice to have builtins.genericClosure explained somewhere
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wolfman154> simpson: nothing, I’m still on 18.03 stable, last time I checked there was just two channels 18(stable) and master.tar(unstable), I did not see a 19(stable) channel, has this been updated recently?
<simpson> wolfman154: No idea; I don't use home-manager. All I looked at was https://github.com/rycee/home-manager/branches
sigmundv__ has joined #nixos
<wolfman154> simpson: oh so it was added two days ago, thanks
<wolfman154> simpson++
<{^_^}> simpson's karma got increased to 8
<gchristensen> LnL: not sure I even know what that one means
<infinisil> jabranham: I think they're talking about home-manager
<jabranham> infinisil: ah, indeed, should've read further up
worldofpeace has quit [Read error: Connection reset by peer]
<infinisil> (but yeah, home-manager also got a 19.03 release along with the nixos one)
<wolfman154> :)
<LnL> gchristensen: I have no idea either, except that I know it's used by the nixos module merging somehwere
<infinisil> LnL: Yeah it's used to determine all `imports` by computing the closure over the `imports` attribute of the module list
<Kumool> undo
<infinisil> I wish it were documented in the nix manual though
sindrip has joined #nixos
<LnL> I'd need some simple examples to properly understand it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59638 → postsrsd: 1.5 -> 1.6 → https://git.io/fjYUh
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> is there a way to list all block devices but not their partitions?
<gchristensen> so get /dev/sda but not /dev/sda1
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<sphalerite> gchristensen: /sys/block
<LnL> lsblk -something
kreisys has joined #nixos
<AleXoundOS_> niksnut, it works, thank you!
kreisys has quit [Client Quit]
_kwstas has joined #nixos
<AleXoundOS_> Btw, does `nix copy` download uncompressed caches?
<stepcut> Is there some way to use ssh-agent with the nix build daemon ? The nixbld[1-32], don't have permission to talk to my SSH_AUTH_SOCK, and if I use setfacl to give them permission, ssh-agent notices the trickery and closes the socket
TonyTheLion has quit [Ping timeout: 246 seconds]
<stepcut> One work around would be if the fetchgitPrivate got called before forking the work off to nix build daemons -- though I am not sure how that would interoperate with remote builds
<gchristensen> just use builtins.fetchgit
<stepcut> .fetchgit or .fetchGit?
o1lo01ol1o has quit [Ping timeout: 255 seconds]
<AleXoundOS_> I'm curious why XZ compression happens on the local side by default? Aren't *.nar files compressed on the cache.nixos.org side already?
tboston_ has joined #nixos
<gchristensen> builtins.fetchGit :)
<stepcut> so, I attempted using builtins.fetchGit, but perhaps I did it wrong
<stepcut> I did, haskell-self.callPackage ./my-package { fetchgit = builtins.fetchGit; }
<LnL> I wonder if we should get rid of fetchgitPrivate
<stepcut> where the ./my-package/default.nix is generated by cabal2nix
<gchristensen> probably should, LnL
phdoerfler has quit [Quit: Leaving.]
<stepcut> that seems to have two issues: (1) fetchGit doesn't understand the sha256 and fetchSubmodules options -- so it dies. If I comment those fields out of the default.nix, then it just fails to authenticate
<AleXoundOS_> niksnut, are there other compression variants besides xz and none?
sindrip has quit [Ping timeout: 264 seconds]
<tilpner> AleXoundOS_: Grepping through nix tests suggests there are at least br (brotli) and bzip2
mexisme has joined #nixos
<AleXoundOS_> tilpner, thank you, bzip2 works. I hoped there will be an option for my weak nanopi neo2 like gzip or lzop...
mnoronha_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @adisbladis closed pull request #58795 → zfsUnstable: 0.8.0-rc3 -> 2019-04-01 → https://git.io/fjInp
<stepcut> actualy, I may see my error with fetchGit
IslandUsurper has quit [Quit: Leaving]
azdle has quit [Remote host closed the connection]
DavidEGr1yson is now known as DavidEGrayson
cyphase- is now known as cyphase
mexisme has quit [Ping timeout: 250 seconds]
mnoronha_ has joined #nixos
gagbo has joined #nixos
alexarice has joined #nixos
alex``5 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « vivaldi: 2.4.1488.38-1 -> 2.4.1488.40-1 »: https://git.io/fjYTy
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59639 → pulseeffects: 4.5.5 -> 4.5.9 → https://git.io/fjYT9
dnlkrgr has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @adisbladis merged pull request #59611 → nodejs-slim-11_x: 11.13.0 -> 11.14.0 → https://git.io/fjmpL
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fjYTH
<{^_^}> [nixpkgs] @edwintorok opened pull request #59640 → opam: fix sandboxing in release-19.03 → https://git.io/fjYTQ
Zer000 has joined #nixos
erasmus has quit [Read error: Connection reset by peer]
<Zer000> How can I write a value for a service option that depends on another service being enabled or not? Like if services.foo.enabled == true then "has foo" else "has bar"
kleisli has quit [Ping timeout: 264 seconds]
mexisme has joined #nixos
mnoronha_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @LnL7 pushed commit from @strager to release-19.03 « python37: fix build on macOS »: https://git.io/fjYTN
<ajs124> Zer000, does writing exactly that not work? Well, maybe use *config.*services.foo.enable, but besides that, it seems fine.
<wolfman154> Does nixos home-manager (home.nix) have an equivalent to: system.autoUpgrade.enable = true; or do I only need this for my global config(configuration.nix)?
knupfer has quit [Ping timeout: 250 seconds]
drakonis has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59641 → python37Packages.aiorpcx: 0.10.5 -> 0.13.5 → https://git.io/fjYTj
_kwstas has quit [Quit: _kwstas]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59642 → python37Packages.asgiref: 2.3.2 -> 3.0.0 → https://git.io/fjYkt
jmgai_ has joined #nixos
kleisli has joined #nixos
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed commit from @r-ryantm to release-19.03 « nodejs-slim-11_x: 11.11.0 -> 11.14.0 »: https://git.io/fjYkn
jmgai has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #59632 → pdd: 1.3.1 -> 1.4 → https://git.io/fjYJZ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjYkC
<{^_^}> [nixpkgs] @Infinisil merged pull request #59639 → pulseeffects: 4.5.5 -> 4.5.9 → https://git.io/fjYT9
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjYk8
<Zer000> ajs124, yes it did build the right config. I don't know, I expected it to not figure it out if another service is defined in another module
<Zer000> thanks though :)
kreisys has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
stepcut has quit [Remote host closed the connection]
sindrip has joined #nixos
<{^_^}> [nixpkgs] @dotlambda merged pull request #59347 → rapid-photo-downloader: 0.9.13 -> 0.9.14 → https://git.io/fjqx5
<{^_^}> [nixpkgs] @dotlambda pushed commit from @callahad to master « rapid-photo-downloader: 0.9.13 -> 0.9.14 (#59347) »: https://git.io/fjYku
domogled has joined #nixos
stepcut has joined #nixos
tboston_ has quit [Ping timeout: 240 seconds]
jmgai_ has quit [Ping timeout: 264 seconds]
<kingsley> I've been using Debian for decades. I like how it lets me upgrade individual packages with admin command line fu like...
Thra11 has quit [Ping timeout: 252 seconds]
<kingsley> root$ apt-get install <stupendous_package_name>
erasmas has quit [Quit: leaving]
<__monty__> kingsley: You can do that with nix-env.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59643 → python37Packages.breathe: 4.11.1 -> 4.12.0 → https://git.io/fjYkK
<__monty__> You can also do that declaratively but it'd involve pinning and more effort : )
<kingsley> However, to be fair, once every few years I need to upgrade everything, I'm hearing grumblings from Debian developers, I don't like how unstable systemd is, I'm considering buying new hardware, it might be a convenient time to level up my distro-fu, and I admire that repology.org says nixpkgs unstable has the most fresh packages.
domogled has quit [Ping timeout: 255 seconds]
wfranzini has quit [Remote host closed the connection]
<pie_> nix is Chaotic Good
wfranzini has joined #nixos
<infinisil> kingsley: Nice to hear!
<kingsley> So, I'd be happy to see a knowledgeable comparison between administering Debian and NixOS unstable.
<kingsley> Particularly with regard to stability and feature freshness.
<{^_^}> [nixpkgs] @veprbl merged pull request #57573 → drawpile: add build options and split into multiple top-level attrs → https://git.io/fjefh
<{^_^}> [nixpkgs] @veprbl pushed commit from @fgaz to master « drawpile: add build options (#57573) »: https://git.io/fjYkH
NickHu_ has joined #nixos
mmlb7 has joined #nixos
mmlb has quit [Ping timeout: 250 seconds]
leat has quit [Remote host closed the connection]
<NickHu_> Hi, I'm trying to build a system on a small armv7l raspberry-pi like device, but I'm encountering the following build error: https://paste.xinu.at/zZTpm9/
<NickHu_> I have no idea why it wants to build mesa noglu, the environment.systemPackages is completely empty and the only service I have enabled in the configuration is sshd
leat has joined #nixos
<NickHu_> It takes over a whole day to attempt to build llvm, before it fails at the test phase - does anyone have any insight as to why it's trying to build mesa?
__monty__ has quit [Quit: leaving]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<NickHu_> I'm not sure why it wants to build gtk3 either
<ajs124> kingsley, I used to run Debian for a handful of releases (5 to 9, I think) and I now run NixOS, but not unstable. It's a big difference in a lot of ways, but the main thing is obviously the built-in configuration management. When I retired some of my debian installs, I literally couldn't tell you what was in/on them, because I forgot, over the years.
<ajs124> wrt how you use packages: In my mind, I barely think of packages on NixOS the way I used to, when running something like Debian. I just think of store paths, because those are all that really matters.
jmgai has joined #nixos
<{^_^}> [nixpkgs] @ashkitten opened pull request #59645 → dolphinEmuMaster: 2019-02-16 -> 5.0-9976 → https://git.io/fjYkF
<pie_> NickHu_, id dare guess that gtk is the reason its trying to pull in mesa
<pie_> so why is it trying to pull in gtk
<pie_> does gpg have a gui or something?
<kingsley> ajs124: Thanks. Since you've used both Debian and NixOS, I particulary interested in your thoughts.
<ajs124> pie_, isn't this why we have nix why-depends. not that I remember how to use that, but I know it exists!
<pie_> ajs124, i was trying to remember that
<pie_> nix why-depends --help
ym555 has quit [Ping timeout: 252 seconds]
<kingsley> ajs124: Would it be possible to compare
AleXoundOS_ has quit [Quit: Leaving]
<kingsley> a.) stability?
<pie_> NickHu_, try the above
<kingsley> b.) feature freshness and
<kingsley> c.) the time and effort required by an administrator to keep the computer up, running and healthy?
ashkitten has joined #nixos
<pie_> kingsley, well if it aint broke and you dont fix it itll probably just keep going
<pie_> barring the usual kernel fuckery
erasmus has joined #nixos
leat has quit [Remote host closed the connection]
<pie_> if something breaks, you can just roll back, but usually things dont break because nixpkgs has a crapload of CI
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59646 → python37Packages.cfgv: 1.4.0 -> 1.6.0 → https://git.io/fjYIe
<pie_> but i wouldnt know any statistics you link
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<pie_> you might run into hardware issues as on any distro i suppose
<pie_> and what in the world is feature freshness?
<ashkitten> hey, is it possible to use my own nixpkgs fork as a channel or default nix expression somehow?
<pie_> ashkitten, also possibly of interest are overlays
<ashkitten> yeah i want to use my fork tho
tdbgamer has joined #nixos
<kingsley> pie_: Sorry if "feature freshness" is unclear.
<ashkitten> most of the changes are things i'd want to see upstreamed
<pie_> ashkitten, at one point what i did was global pinning in my configuration.nix and imported a local repository, but then i lost a lot of data for unrelated reasons so i didnt get much experience wit that
<pie_> and havent had time to replicate
leat has joined #nixos
<pie_> but thats not with the channels mechanism
Ariakenom has quit [Quit: Leaving]
<kingsley> pie_: What I meant is how soon new versions of packages, with their new features (and bug fixes) are assimilated.
<pie_> ashkitten, there *should* be some things on the wiki or some blog posts or something. (maybe that helps a littlE)
leat has quit [Remote host closed the connection]
<ashkitten> pie_: i've been using a local repository but i'd really like to be able to have it on github or whatever
<ajs124> b) Well, a) kind of leads to b) being old. Debian, as I'm sure you're aware, likes to patch everything so they don't have to ship new upstream ressources. So even if some software doesn't get updated after a NixOS release, releases happen every 6 months, so that's (assuming someone updates nixpkgs/master) how out of date it will be, at the maximum.
<ajs124> a) nothing beats Debian's stability, except maybe CentOS. Or, idk. Solaris? I wouldn't call NixOS (release, mind you, not unstable) unstable, but it has a smaller developer and user base, so things can and do slip though, which might get caught in a project like Debian.
<ajs124> kingsley, to be honest, I was never the biggest fan of debian. I just used it, because it was around at the time and seemed stable and well-tested.
<ajs124> c) Hard to say, depends on what you're running on that computer. I'd say for both Debian and NixOS machines, I had/have some which I just check(ed) in on every other month/half a year or so, but they tend to be fine, if you leave them alone.
<pie_> kingsley, as soon as someone makes a pull request to nixpkgs, it gets accepted, and the CI doesnt fail
<kingsley> Is NixOS easier to roll back than Debian?
mmlb7 has quit [Ping timeout: 264 seconds]
<pie_> can you even roll back debian?
leat has joined #nixos
<gchristensen> NixOS is basically designed to be rolled back
<pie_> kingsley, if youre running off the unstable channel that is, but you can run off stable and get individual packages from unstable most of the time
<NickHu_> pie_: But I haven't even asked for gpg, the only thing I've asked for in the configuration is sshd
<ajs124> pie_, we have a section in our overlay dedicated to exactly this.
<pie_> NickHu_, try the why-depends on your system config
<NickHu_> pie_: It won't let me do nix why-depends nixpkgs.system nixpkgs.glibc
<pie_> NickHu_, i dont think you can use it with expressions
<pie_> can you?
<pie_> you have to pass the path
<pie_> uhh...idk the technical term for it
<pie_> the store path
<pie_> NickHu_, i.e. try /nix/store/kk2b0q348ajcxadl6f53yz7bpg85kvgr-nixos-system-nu-19.09pre174426.acbdaa569f4.drv from "error: build of '/nix/store/kk2b0q348ajcxadl6f53yz7bpg85kvgr-nixos-system-nu-19.09pre174426.acbdaa569f4.drv' failed"
<kingsley> Would it be fair to say Debian is stabler, but NixOS has newer code and can be rolled back?
<pie_> kingsley, i guess
tboston_ has joined #nixos
<pie_> ajs124 was pretty through i think
<pie_> *thorough
<NickHu_> pie_: Ah, I see
<pie_> NickHu_, did it work
<pie_> kingsley, the most youll lose from trying nixos is probably time xD
<NickHu_> It seems to be "building"
<pie_> kingsley, fire up a vm or something and give it a shot
<mdash> kingsley: i wouldn't call debian more stable
<NickHu_> Yeah I think it's trying to build llvm now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59647 → python37Packages.cli-helpers: 1.1.0 -> 1.2.0 → https://git.io/fjYIq
<pie_> NickHu_, i dont think why-depends should cause a build...
<NickHu_> Maybe why-depends only works for installed packages
<NickHu_> Yes it's 100% building llvm
<mdash> kingsley: (I switched away from debian/ubuntu 2 years ago after 20+ years of use)
<NickHu_> I did nix why-depends /nix/store/kk2b0q348ajcxadl6f53yz7bpg85kvgr-nixos-system-nu-19.09pre174426.acbdaa569f4.drv /nix/store/n9j56pbc3mc0a73xddnkwvipdp3mxs4k-mesa-noglu-18.3.4.drv
<kingsley> mdash: Maybe your 2 years ahead of me. I've used Debain 24x7 on my daily driver since 1996.
<pie_> NickHu_, really dumb wild guess, maybe try reversing the order of the arguments
<ajs124> kingsley, I was born in 1995, to give you some perspective :D maybe you should listen to mdash instead.
<simpson> kingsley: I would say that NixOS is more stable *and* has newer versions of packages *and* can be rolled back.
<simpson> I only used Debian for like a decade-ish though.
<NickHu_> pie_: it does the same thing
<kingsley> ajs124: Thank you.
<pie_> NickHu_, oh :( sorry idk then
<NickHu_> I'm pretty sure it builds the derivations before it can run the why-depends
<kingsley> simpson: Wow
<simpson> kingsley: Don't worry, just like all software, it's bad.
<kingsley> simpson: You're a funny guy
<ashkitten> are we talking about how computers are bad and should be thrown in lakes
<ashkitten> i support this
<gchristensen> not exactly, but obviously yes
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
<hodapp> life is a spike / on which I have impaled myself / **** you, dad
* hodapp goes to write in his livejournal
<hodapp> oh, wrong kind of edginess, sorry
<samueldr> do (yes do) mind simpson, but keep in mind he's not the most positive voice around :) (I see software with room for improvement)
tboston_ has quit [Ping timeout: 246 seconds]
<gchristensen> +1
<kingsley> How about the administrative burden. Is there a difference between how much time and effort it takes to maintain Debian and NixOS boxes?
o1lo01ol1o has quit [Remote host closed the connection]
kleisli_ has joined #nixos
o1lo01ol1o has joined #nixos
<samueldr> burden? I went to NixOS to unburden myself from administering things :)
<mdash> kingsley: It
<hodapp> interesting. several games are in Nixpkgs that are based on darkplaces - but darkplaces itself seemingly isn't.
<mdash> erm. it's differently distributed
<mdash> the advantage to debian is that answers are easier to find on stackoverflow or whatever in many cases.
wolfman154 has quit [Ping timeout: 264 seconds]
kleisli has quit [Remote host closed the connection]
<ashkitten> setting up things on nixos is more definitely effort than other distros, but once you get it working it'll almost never break
<samueldr> answers are abundant, but the right ones? not always :/
<pie_> kingsley, depends on how much you poke things
<pie_> and what you need to do
<mdash> the advantage to nixos is that nearly all the fix-it-yourself cases are trivially easy
<samueldr> (^ above quip was about debian answers)
<ajs124> Hm. I recently packaged sndio (and enabled support for it (optionally) in a bunch of packages), but now I wonder where in nixpkgs to put it, for my PR. pkgs/applications/audio? pkgs/servers?
wolfman154 has joined #nixos
<kingsley> ashkitten: SPeaking only for myself, I'm curious if a more sophisticated distribution exists than a Debian unstable Franken-box, with packages upgraded indivualy, and failing to boot every few years.
<mdash> and yeah, things are easier to _keep_ fixed :)
<pie_> I would answer as "Q: What about the..." "A: Yes."
<kingsley> ashkitten: And no systemd.
<hodapp> For me, I spent about the same about of time futzing around with really annoying setup for pesky software as I did with most other distros, but once I did this, the result in NixOS was far more maintainable, and much better-isolated from all the other stuff I was doing.
<gchristensen> nixos is a level for me
<hodapp> having a declarative description you can reuse is huge.
<gchristensen> I can do way *more* because of NixOS
<mdash> kingsley: the #1 advantage to nixos is that almost all of your configuration state can be kept in a single place
<infinisil> The good thing about NixOS is that if something is well packaged, one person can upstream this effort to nixpkgs and therefore lessen the burden for maintenance for everybody else
<samueldr> I think there might be a bell curve, where the less you poke around for stuff, the easier nixos will be, some poking, gradually harder (at first), but if you're extra pokeful, it will pay off early
<hodapp> extra pokeful? o_O
<samueldr> dunno, like patching the kernel to hide directories
<pie_> the answer to this is nixos is a definite yes <kingsley> ashkitten: SPeaking only for myself, I'm curious if a more sophisticated distribution exists than a Debian unstable Franken-box, with packages upgraded indivualy, and failing to boot every few years.
<mdash> some apps/services stubbornly want to manage their config in their local state, but that's the exception not the rule
<pie_> kingsley, oh by the way, theres a debian package of the nix package manager now
wolfman154 has quit [Client Quit]
<gchristensen> (let's not be rude about debian)
<ashkitten> kingsley: i've had my nixos vps running for about a year and haven't touched it in that time. it's up to date and still running strong.
<pie_> kingsley, i got it to build a few days ago and it seems to work ok but i havent had much time to test it yet
goibhniu has quit [Ping timeout: 250 seconds]
<hodapp> yes, Debian does some tremendous things and has been doing them quite awhile
<pie_> this is why i believe in nixos for the longer term <infinisil> The good thing about NixOS is that if something is well packaged, one person can upstream this effort to nixpkgs and therefore lessen the burden for maintenance for everybody else
<pie_> lmao <samueldr> dunno, like patching the kernel to hide directories
<pie_> kingsley, where by "now" i mean its in NEW and not in the ?binary dist stuff? yet and you have to build it yourself afaict
<kyren> random question which may be more a general linux question than a NixOS one, what do you guys do when you want to temporarily open a firewall port? I know I can do iptables surgery and then manually undo it, but it's a bit of a pain, is there some kind of helpful script for this? 'ufw' on debian is stateful and gross, but it DOES have the ability to quickly do then undo firewall changes, is there a way to get that convenience in NixOS?
<pie_> samueldr, yeah i remember :P
<hodapp> samueldr: wut
<samueldr> kyren: on a trusted network, systemctl stop firewall; then remember to restart it
<kyren> oh, you know what I didn't even think of that :P
<kyren> samueldr: works, thanks!
<pie_> kingsley, i assume you know how to build a deb, as a seasoned debianer, but in case you dont, this can be uhh...interpreted as a uhh... "tutorial" https://github.com/KaiHa/nix-debian/issues/27
<{^_^}> KaiHa/nix-debian#27 (by deliciouslytyped, 4 days ago, open): build/usage problems on debian 9.8
<pie_> for hwo to get nix-debian anyway
<infinisil> ajs124: Regarding where to put packages, it doesn't matter much, the directory layout is a mess anyways. Just try to find a somewhat applicable category
mnoronha_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<ashkitten> the main thing i like about nixos is that once i get something working i never have to touch it again. i never have to manually merge config files, and if i don't pay attention during an upgrade and it fails for some reason it doesn't put me in an unbootable state
<samueldr> hodapp: applying the gobohide patchset to my kernels through nix, I hide everything except my "fun" named folders; without nix it's a pain to do the same, but with nix... pretty painless! just needs a kernel compile
<pie_> oh no im way past my bedtime :(
<hodapp> samueldr: whyyyyyyyy
<samueldr> hodapp: why not? :D
<pie_> MAC OS-NIX
<ashkitten> gdi zfsonlinux
<infinisil> samueldr: Do you have that online? The NixOS config for that?
<samueldr> I also have in the pipeline to try and set my home as "C:/Users/Full Name Including Spaces", and mounts as D:,E:,F:
<pie_> who needs all those nasty system folders anyway. i wait for the day we have just /nix and /home
<ashkitten> the fucking, zfs cache gets on my nerves so much
<samueldr> first part will be easy (but I assume will break SO MUCH software)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59648 → python37Packages.confluent-kafka: 0.11.6 -> 1.0.0 → https://git.io/fjYIa
<samueldr> second part should be relatively trivial by hacking udisks a bit
<ajs124> infinisil, thanks. I'm scrolling around all-packages.nix rn and feel like I'm in a maze without an exit. https://imgflip.com/i/2yo94n
<pie_> samueldr, then wine wont need to translate paths anymore
<pie_> ah well, slashes
<infinisil> ajs124: Haha
<kingsley> ashkitten: I'd like to not be left in an unbootable state. To be fair, it doens't happen often on my Franken-debian box, and might be completely avoided with Debian's stable release.
<pie_> ajs124, you are in a series of twisty passages all alike
<gchristensen> fwiw I do erase everything but /home and /nix and /boot on each boot
<pie_> ajs124, oh loool
<samueldr> infinisil: not a clean setup, I did that when learning nix/nixpkgs/nixos initially https://gitlab.com/search?utf8=%E2%9C%93&search=gobohide&group_id=&project_id=3229019&search_code=true&repository_ref=master
<pie_> ghostyy, never_reboot.jpg
<ajs124> I'll just sneak it right next to pulseaudio, where it belongs. And I'll put pulseaudio-module-sndio next to pulseaudio-modules-bt, a few hundred lines away, because apparently that's where that belongs. yay.
<samueldr> but since it's been for my own fun I didn't care enough to refactor (yet)
<pie_> for me its https://i.imgflip.com/2yo9a3.jpg though
<infinisil> ajs124: I really hope we can get rid of that monstrosity at some point
<samueldr> ajs124: yeah :/ there was a per-topic, then a-z ordering at first, but uh, chaos emerged and there are now multiple a-z ordering in some topics
<ashkitten> home-manager can't allocate memory because the zfs arc cache is taking up everything and doesn't know to get out of the way
<samueldr> (and flagrant disregard in some parts)
* pie_ watches nixpkgs collapse under the weight of all-packages.nix
<samueldr> github already collapses under all-packages.nix :)
m0rphism has quit [Ping timeout: 250 seconds]
<infinisil> samueldr: I wonder if it would be a problem to just run a sort on that
<pie_> infinisil, you should get one of the library studies people to make an ontology for this for their thesis or something ÖP
<pie_> * :P
<samueldr> infinisil: "unixy" sort: yes because of multiline callpackages
domogled has joined #nixos
<ajs124> samueldr, disregard paired with ignorance. I might actually be responsible for some lines in there which aren't even in the right category, because I didn't know and nobody told me. (I'm sorry)
<pie_> something something hnix?
<samueldr> who would win? major corporation source hosting software, or a 23k liney boi?
<gchristensen> lol
<samueldr> ajs124: I might be too!
mnoronha_ has quit [Quit: Ping timeout (120 seconds)]
<pie_> samueldr, or the people trying to load the page
<kyren> I was bitten multiple times by assuming github could search all-packages.nix... and also I think emacs-packages.nix
<ashkitten> would it be possible to separate all-packages into the categories laid out in the directory tree?
<infinisil> ajs124: Your assumption is that there even *is* a right category, I don't think that's the case
<ashkitten> like, separate files
<infinisil> ashkitten: I'm pretty convinced that we should be using a tagging system for categories instead, packageus can be in multiple categories
<pie_> infinisil, add that to my github issue about additional meta fields
<ashkitten> infinisil: but regardless all-packages is way too big for its own good
ym555 has joined #nixos
chessai has joined #nixos
<ashkitten> it takes forever to open it even in neovim
<infinisil> ashkitten: Yeah, I think flattening nixpkgs/pkgs into a mostly flat file hierarchy, auto-calling all these files to get an attribute -> file mapping, and adding a tagging system for categories is the way to go
<{^_^}> #57833 (by deliciouslytyped, 4 weeks ago, open): Additional meta-information conventions
ixxie has joined #nixos
<pie_> infinisil, i mean, assuming you think meta would be appropriate for tags
<kyren> oh, no it was melpa-generated.nix that's huge, not emacs-packages.nix
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
<pie_> kyren, see also hackage probably :p
<infinisil> ashkitten: E.g. hello would live in `pkgs/he/hello`, git would live in `pkgs/gi/git`, and so on
tomberek has joined #nixos
<pie_> and python
phdoerfler has joined #nixos
<ashkitten> that seems reasonable, infinisil
phdoerfler has quit [Client Quit]
domogled has quit [Client Quit]
<kyren> hackage-packages.nix beats melpa-generated.nix by 123%
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
<infinisil> pie_: Feel free to add it
<{^_^}> [nixpkgs] @jansol opened pull request #59649 → pycdio: fix build → https://git.io/fjYI6
<pie_> infinisil, but youre the one tha thas thought htrough it by any amount :(
phdoerfler has joined #nixos
<pie_> infinisil, also it looks like noone cares if its just me :p
<kingsley> ajs124, pie_, mdash, simpson and ashkitten: Thank you very much for generously sharing your time and expertise! Both are fine qualities!
<infinisil> pie_: I don't feel like writing any big comment right now
<pie_> infinisil, will you do it later? :3
<{^_^}> [nixpkgs] @fgaz opened pull request #59650 → drawpile: 2.1.6 -> 2.1.7 → https://git.io/fjYIi
<infinisil> Nope!
phdoerfler has quit [Client Quit]
<pie_> :c
<infinisil> There's other more important things to do right now
mnoronha_ has joined #nixos
<ashkitten> i hope people don't mind my change to dolphin's versioning scheme *anxious*
<ashkitten> out of all the things i could be worrying about, i think that's the least important
<ashkitten> thanks brain
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
phdoerfler has joined #nixos
<ajs124> How does one specify multiple licenses in nixpkgs meta attributes? Is such a thing even possible?
phdoerfler has joined #nixos
<ashkitten> ebay stop telling me to buy a macbook like im some kinda person with money
<pie_> ajs124, i think you can just pass a list
phdoerfler has quit [Client Quit]
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
<pie_> ajs124, maybe try grepping for an example
* pie_ runs off to bed
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
<ajs124> pie_, there are examples like this in nixpkgs, so that should indeed work
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
mnoronha_ has quit [Ping timeout: 250 seconds]
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
shush has joined #nixos
phdoerfler has joined #nixos
phdoerfler has quit [Client Quit]
kvda has joined #nixos
phdoerfler has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
jackdk has joined #nixos
phdoerfler has quit [Quit: Leaving.]
sindrip has quit [Quit: WeeChat 2.4]
fusion809 has quit [Remote host closed the connection]
ym555 has quit [Quit: leaving...]
Anton-Latukha has quit [Quit: Leaving.]
<infinisil> Man, I couldn't live without the convenience of being able to run any version of a package without having to deal with version conflicts
<kingsley> infinisil: How do you do that?
shush has quit [Remote host closed the connection]
<infinisil> kingsley: Step 1: Get the package you want to run from the nixpkgs version you want it
<infinisil> Step 2: Run the binary
<infinisil> (there's only 2 steps)
<kingsley> infinisil: How are dependencies reconciled?
<infinisil> kingsley: A package like hello resides in the store path /nix/store/<some-hash>-hello, and it's linked to its dependencies via absolute paths. E.g. libc would be /nix/store/<some-hash>-libc
<infinisil> This means you can have any number of hello/libc/whatever packages in your /nix/store, because whenever they're different, the hash is different too
<kingsley> Is my understanding correct that multiple versions of the same package can be installed on the same computer, simultaneously, and that you can choose which one you want to run, as long as they share data and configuration file formats?
<infinisil> kingsley: Indeed
gentauro has quit [Read error: Connection reset by peer]
<kingsley> infinisil: OK. Thanks!
gentauro has joined #nixos
<infinisil> Just earlier I tested the pulseeffects update PR (#59639) by just git checking out the PR, building the package (nix-build -A pulseeffects), and running the binary (result/bin/pulseeffects), without even "installing" anything
<{^_^}> https://github.com/NixOS/nixpkgs/pull/59639 (by r-ryantm, 2 hours ago, merged): pulseeffects: 4.5.5 -> 4.5.9
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
jluttine has quit [Ping timeout: 264 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
alexarice has quit [Quit: alexarice]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #59651 → python37Packages.cupy: 5.2.0 -> 5.3.0 → https://git.io/fjYLI
erasmus has quit [Quit: uit]
slack1256 has joined #nixos
lovesegfault has quit [Ping timeout: 250 seconds]
jasongrossman has joined #nixos
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #59652 → sndio init and add support → https://git.io/fjYLY
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #59587 → metabase: 0.30.4 -> 0.32.2 → https://git.io/fjm7i
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « metabase: 0.30.4 -> 0.32.2 »: https://git.io/fjYLO