worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/32dfdb0b54d (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<niso> elvishjerricco: "lsusb -tv" shows you which driver is used (root node), after that you can use "lspci -v" to look it up
<red[m]> thanks clever
<clever> red[m]: ah, tmux may undo a lot of those vars
<elvishjerricco> niso: What if there are multiple PCI devices for USB controllers, using the same driver?
<clever> elvishjerricco: unbind each one, and see what breaks, then re-bind if its not that
<inkbottle> My "mixos" chromium is trying to update, which is preposterous
m0rphism has quit [Ping timeout: 268 seconds]
<inkbottle> "Google Chrome and Chromium are not auto-updated automatically on Linux; your package manager handles this." (https://www.chromium.org/administrators/turning-off-auto-updates)
is_null has quit [Ping timeout: 276 seconds]
<inkbottle> Chromium displayed a popup saying it couldn't update (well, yes, probably it can't), but it's undesired behavior that it tries to in the first place.
<inkbottle> Anyway, not an urgent business
laudecay has quit [Ping timeout: 265 seconds]
jgt1 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixos-19.09-small: https://git.io/JewUD
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fecedd4433d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<samueldr> ah, betaboon, I think I see; it's not because it's been booted as bios boot, but rather because there is no location to save the configuration (nvram)
* samueldr looks into fixing it
work_ has joined #nixos
shreyansh_k has quit [Ping timeout: 246 seconds]
<ilya-fedin> Is there any way to use ccache with Nix?
devalot has quit [Quit: ZNC - http://znc.in]
<{^_^}> [nixpkgs] @flokli opened pull request #73189 → nixos/tests: fix succeed() with multiple commands → https://git.io/JewI5
<EsperLily> a quick search on discourse shows https://discourse.nixos.org/t/caching-local-compilation-results-for-all-compiled-packages/3516 which says there's a `ccacheStdenv` that you can use instead of `stdenv`
<clever> EsperLily: but the sandbox doesnt allow you to access a shared cache dir
<EsperLily> but it's unclear if it works
<EsperLily> clever: extend extra-sandbox-paths?
<EsperLily> or just disable sandboxing while you work on your derivation
<clever> EsperLily: extra-sandbox-paths are read-only i believe
<EsperLily> I don't know about NixOS but on macOS I just edit /etc/nix/nix.conf to set it
<clever> EsperLily: if your developing somethng, just build it in nix-shell, and the .o files will persist between runs of `make`
<clever> EsperLily: https://github.com/NixOS/nix/pull/3205 may also be of use in the future
<{^_^}> nix#3205 (by edolstra, 6 days ago, open): Recursive Nix support
<EsperLily> clever: unless you're iterating on a derivation and need to re-run the derivation to make sure what you wrote is correct
<clever> EsperLily: yeah, not much can cache that right now
<{^_^}> [nixpkgs] @flokli opened pull request #73190 → ceph: port tests to python → https://git.io/JewIx
romildo has joined #nixos
Klein37 has joined #nixos
<Klein37> Sooo I ran sudo nix-store --delete /nix/store/*vscode* --ignore-liveness which ended up matching eveything, and now my nix store is completely empty. I have chrome and a shell open, is there any way I can recover nix?
<elvishjerricco> Hm... I have a systemd service that failed to start the first time I deployed it, so I changed the script to fix the problem then deployed, and now it's like NixOS won't even install it. It's not in `/etc/systemd/system/`, and `systemctl list-units` doesn't show it. `nix-diff` shows that the only difference between the current generation and the one where the unit launched and failed is the change in the script.
<clever> Klein37: never use --ignore-liveness, you probably just deleted the entire nixos build, and nix itself
<Klein37> yup
<clever> Klein37: your only solution is to boot the nixos install iso, and re-run nixos-install, which will remake the missing parts, from configuration.nix
<Klein37> Ohhhh ofc, thatll do it. ty
<clever> Klein37: next time, use `nix-store --query --roots /nix/store/foo` to see why something cant be deleted
<Klein37> Gotcha, thanks
<clever> Klein37: and then a mix of removing it from things, nix-env --delete-generations, and nix why-depends, to remove the roots
<niso> elvishjerricco: no idea sorry
<clever> $ nix-store -q --roots /nix/store/cbhfivwr2jcyk9cp3gmx3wy7gpqvgywk-vscode-extension-ms-vsliveshare-vsliveshare-1.0.488
<clever> /home/clever/apps/nixpkgs-master/thing2 -> /nix/store/cbhfivwr2jcyk9cp3gmx3wy7gpqvgywk-vscode-extension-ms-vsliveshare-vsliveshare-1.0.488
<clever> Klein37: in my case, the only root is a result symlink from `nix-build -o thing2`, so the damage would have been much less
<clever> (the symlink would point to nothing)
<clever> but i would just `rm thing2`, rather then force things
jluttine has quit [Ping timeout: 268 seconds]
<romildo> The plasma5 desktop service on NixOS sets fonts.fontconfig.defaultFonts and it is taking precedence over the one in configuration.nix. How to the setting on the configuraton.nix file prevail over the one in the plasma5 module?
<clever> romildo: nixos should merge both, but your cfg may wind up later in the list, mkBefore and mkAfter can enforce the ordering
Klein37 has quit [Ping timeout: 260 seconds]
Okinan has quit [Quit: Konversation terminated!]
Okinan has joined #nixos
<samueldr> hmm, I might need to copy or create a file manually on the host system in a nixos test...
<samueldr> (now I'm looking in the manual)
tilpner has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #72390 → opensmtpd: 6.4.2p1 -> 6.6.1p1 → https://git.io/Jezdy
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JewLk
boogiewoogie has quit [Quit: Leaving]
mbrgm has quit [Ping timeout: 250 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @flokli closed pull request #72549 → libxml2: 2.9.9 -> 2.9.10 → https://git.io/Jeg0F
stepcut has joined #nixos
tilpner has joined #nixos
<{^_^}> [nixpkgs] @pasqui23 opened pull request #73192 → nixos-shell:init at 2015-05-23 → https://git.io/JewLg
selfsymmetric-mu has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 16 commits to nixos-unstable-small: https://git.io/JewLi
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/84c44d8cafd (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Rusty1 has joined #nixos
bsima has joined #nixos
Wren67 has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JewL9
<Wren67> How can you setup an arch chroot in nixos? https://www.reddit.com/r/NixOS/comments/75hfph/run_nixos_arch_linux_at_the_same_time/ makes it sound easy but theres no explanation...
jluttine has joined #nixos
romildo has quit [Quit: Leaving]
<drakonis> yes
selfsymmetric-mu has joined #nixos
durka has joined #nixos
jluttine has quit [Ping timeout: 276 seconds]
<durka> Hi, I found this KDE plugin that I want to install is in nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/plasma-5/kwin/scripts/tiling.nix
<durka> But it doesn't show up in `nix search kwin-tiling`. How would I go about installing it?
Wren67 has quit [Ping timeout: 260 seconds]
chiefgoat has quit [Ping timeout: 252 seconds]
silver_ has quit [Read error: Connection reset by peer]
chiefgoat has joined #nixos
chiefgoat has quit [Client Quit]
chiefgoat has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin pushed 524 commits to structured-attrs: https://git.io/JewLb
durka has quit [Ping timeout: 260 seconds]
chiefgoat has quit [Client Quit]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixos-19.09-small: https://git.io/JewLN
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5d755e916d5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JewLx
o1lo01ol1o has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
orivej has quit [Ping timeout: 276 seconds]
wlckd has joined #nixos
<wlckd> Hey there! I just started using nix; and I noticed font packages that are installed aren't working. Do I need to do something special, or manually install fonts?
xkapastel has quit [Quit: Connection closed for inactivity]
johnw has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 8 commits to nixpkgs-19.09-darwin: https://git.io/Jewtv
simukis__ has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5d755e916d5 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
durka has joined #nixos
<nornagon> i'm seeing this weird error when i run `nixos-rebuild switch`: error: cannot open connection to remote store 'daemon': reading from file: Connection reset by peer
h0m1 has quit [Ping timeout: 246 seconds]
simukis_ has quit [Ping timeout: 250 seconds]
h0m1 has joined #nixos
chiefgoat has joined #nixos
<clever> nornagon: that happens sometimes if nix-daemon isnt running, but it should auto-start, try again
<clever> wlckd: fonts must in in the fonts.fonts = [ ... ]; list in configuration.nix
<wlckd> ah, ok. sweet, thanks! still getting used to this global config file
<clever> 168 fonts = {
<clever> 169 enableFontDir = true;
<clever> 172 fonts = [ pkgs.unifont pkgs.noto-fonts-cjk ];
<clever> 171 fontconfig.ultimate.substitutions = "ms";
<clever> 170 enableCoreFonts = true;
<clever> 173 };
<clever> wlckd: this is an example from what ive been using
<wlckd> awesome. thank you!
wlckd has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « stdenv: fix fixupOutput hooks »: https://git.io/Jewtl
<nornagon> clever: i've retried a few times, same error each time :*(
<nornagon> i see this in ps: root 14847 0.0 0.0 490984 4820 ? Ssl Nov09 0:00 nix-daemon --daemon
<nornagon> it seems to be in a restart loop
<clever> nornagon: journalctl -f -u nix-daemon.service
<nornagon> Nov 10 18:30:49 nixos nix-daemon[14847]: error processing connection: unable to fork: Cannot allocate memory
<nornagon> yikes
<clever> nornagon: free -m ?
<nornagon> says 200mb free
<durka> can I repeat my question about where to configure KDE plasma plugins? or where would I go to find the answer myself?
<durka> I don't know how to find out what options are available for a given package
<nornagon> ok, killed some memory hogs and now nixos-rebuild is working again! woohoo
<clever> nornagon: how many nix-daemon's running? anything interesting at the end of dmesg?
<clever> nornagon: thats why i always have at least some swap
<nornagon> nah i was just plain old OOM
<clever> $ free -g
<clever> total used free shared buff/cache available
<clever> Mem: 31 25 5 0 1 5
<clever> Swap: 62 15 46
<clever> nornagon: maybe i have a bit too much swap?
<nornagon> hah
jluttine has joined #nixos
Chiliparrot has joined #nixos
amanjeev has joined #nixos
<jackdk> durka: do you mean options for a package or for nixos overall? https://nixos.org/nixos/options.html#
<durka> I guess I'm assuming there's some option within plasma5 to list plugins, since kwin-tiling isn't coming up as a package on its own
amanjeev has quit [Remote host closed the connection]
<samueldr> betaboon: slain by the test driver... in reality it's two-fold, there is *also* the fact that the first boot will not respect qemuFlags/hdFlags...
<durka> but, I looked through plasma5.nix and didn't see anything likely
<jackdk> nix-instantiate --eval -E 'builtins.attrNames ((import <nixpkgs> {}).plasma5)' # does this help?
<samueldr> betaboon: stopping for now, winded, and kind of off-putted by the in-progress apparent move to a new python testing infra... hoping that one will have a saner first boot for the installer test
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
<durka> jackdk: hmm, sort of
<durka> it mentions kwin
<durka> so maybe that's a hint somehow
<durka> but a very cryptic one, need to call Robert Langdon :p
<jackdk> I don't know the kde stuff, so I'll have to tap out
stepcut has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
Fare has joined #nixos
bsima has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 21 commits to nixos-unstable-small: https://git.io/Jewtb
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/848399f4482 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
domogled has quit [Ping timeout: 265 seconds]
dsx has quit [Quit: dsx]
<durka> maybe I should just switch to i3
iqubic has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
dsx has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<durka> I don't understand... It was clearly added as a package called "kwin-tiling". So why does search for that package turn up nothing? https://github.com/NixOS/nixpkgs/commit/4a83f6ba01a05b17eb379d40ba7b481f176daa54#diff-036410e9211b4336186fc613f7200b12
work_ has quit [Quit: Connection closed for inactivity]
<clever> durka: thats weird, github says its part of master, but its old enough to be in a channel, yet isnt showing that
rotaerk has quit [Ping timeout: 265 seconds]
<durka> maybe the syntax is wrong?
<clever> durka: checking nixpkgs-channels confirms, its only in nixos-unstable
<clever> durka: which channel are you on?
<durka> ah I see
<durka> I'm on stable
<clever> ,unstable durka
<durka> uh... both stable, I assume?
<durka> I can try that trick
<durka> clever: where did you check the channels?
<clever> durka: nix-channel --list, as both your user and root
<clever> every user has their own set of channels, and roots are also able to be used by other users
<durka> I mean where did you find that kwin-tiling is in unstable
<clever> durka: github says which branch the commit is in
<clever> and all branches of this repo, mirror the channels
<durka> I see
mumuluxi has quit [Quit: ZNC 1.7.4 - https://znc.in]
wucke13 has quit [Quit: ZNC 1.7.4 - https://znc.in]
mumuluxi has joined #nixos
qubasa has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
greizgh has quit [Quit: greizgh]
wucke13 has joined #nixos
durka has quit [Remote host closed the connection]
greizgh has joined #nixos
qubasa has joined #nixos
andi- has quit [Remote host closed the connection]
mexisme has joined #nixos
andi- has joined #nixos
Taneb has quit [Quit: I seem to have stopped.]
Taneb has joined #nixos
monotux has quit [Quit: WeeChat 2.6]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
monotux has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @offlinehacker to nixos-19.03 « facetimehd-firmware: 1.43_4 -> 1.43_5 »: https://git.io/Jewf1
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 591 commits to nixpkgs-unstable: https://git.io/JewqY
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/6c08aa0d57e (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1e7ddf233a5 (from 3 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
mexisme has joined #nixos
lounge-user89 has joined #nixos
lounge-user3 has joined #nixos
lounge-user89 has quit [Remote host closed the connection]
lounge-user89 has joined #nixos
lounge-user3 has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 240 seconds]
lounge-user89 has quit [Remote host closed the connection]
eightyone has joined #nixos
slack1256 has joined #nixos
jedai42 has quit [Ping timeout: 268 seconds]
slack1256 has quit [Remote host closed the connection]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @nrdxp opened pull request #73194 → pythonPackages.ffmpeg-python: init at 0.2.0 → https://git.io/Jewqa
ddellacosta has quit [Ping timeout: 240 seconds]
rotaerk has joined #nixos
Fare has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
endformationage has quit [Ping timeout: 240 seconds]
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
drakonis has quit [Quit: WeeChat 2.6]
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
drakonis1 has quit [Read error: Connection reset by peer]
evanjs has joined #nixos
drakonis1 has joined #nixos
drakonis has joined #nixos
drakonis1 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #73195 → MinGW: Enable C++ threads with mcfgthreads → https://git.io/Jewqj
eightyone has quit [Quit: "]
mexisme has joined #nixos
phreedom has quit [Remote host closed the connection]
fusion809 has joined #nixos
phreedom has joined #nixos
drakonis_ has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
drakonis has quit [Ping timeout: 276 seconds]
lorimer has quit [Read error: Connection reset by peer]
nixy3 has quit [Quit: The Lounge - https://thelounge.chat]
nixy3 has joined #nixos
iqubic` has joined #nixos
Acou_Bass has quit [Ping timeout: 268 seconds]
iqubic has quit [Ping timeout: 276 seconds]
Acou_Bass has joined #nixos
zupo has joined #nixos
iqubic` is now known as iqubic
<pie_> i could have sworn we had mame already...huh.... https://github.com/NixOS/nixpkgs/pull/72319
<{^_^}> #72319 (by gnidorah, 1 week ago, merged): mame: init at 0.215
<pie_> what, how does that even parse https://github.com/NixOS/nixpkgs/pull/72319
<{^_^}> #72319 (by gnidorah, 1 week ago, merged): mame: init at 0.215
Acou_Bass has quit [Ping timeout: 265 seconds]
rauno has joined #nixos
o1lo01ol1o has joined #nixos
Acou_Bass has joined #nixos
abathur has quit [Ping timeout: 276 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 250 seconds]
palo1 has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #73196 → cargo-bloat: 0.9.0 -> 0.9.1 → https://git.io/JewmM
vonfry has joined #nixos
<clever> pie_: looks like it deleted sdlmame and replaced it with original mame?
bahamas has joined #nixos
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
<pie_> bad paste for how does that even parse
<pie_> meant to paste <clever> with import <nixpkgs> {}; pkgs.runCommandCC "shell" { buildInputs = [ (]; foo = [) ]; } ""
<bahamas> when copying a closure to a machine with nix-copy-closure, is there a way to point to this closure all packages that depended on a previous version of the closure (package)?
<clever> pie_: that one doesnt, was showing why the old cmd fails
<pie_> ohh
<clever> pie_: thats what happens if you `nix-shell -p ']; foo = ['`
kenran has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #72389 → rPackages.glmnet: Add missing dependency → https://git.io/Jezd0
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JewmD
jgt1 has joined #nixos
<bahamas> hm, I think what I'm asking is not possible. I mean, if you update a dependency of a package, you have to rebuild that package. that basically means that you have to rebuild the system all the way to configuration.nix, if you want to update a service
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @sikmir opened pull request #73197 → gpxsee: 7.16 -> 7.17 → https://git.io/Jewmj
phreedom has quit [Ping timeout: 260 seconds]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-unstable-small: https://git.io/JewLx
Acou_Bass has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/251a5604492 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Acou_Bass has joined #nixos
vonfry has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
vonfry has joined #nixos
vonfry has quit [Ping timeout: 265 seconds]
jgt1 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @tekeri opened pull request #73198 → Add nginx perl modules → https://git.io/JewYG
aveltras has joined #nixos
philr has joined #nixos
<{^_^}> [nixpkgs] @svanderburg pushed to master « titaniumenv: remove 7.1, add 8.2 and make it the default »: https://git.io/JewYC
<{^_^}> [nixpkgs] @svanderburg pushed to release-19.09 « titaniumenv: remove 7.1, add 8.2 and make it the default »: https://git.io/JewYW
domogled has joined #nixos
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @tekeri opened pull request #73199 → circus: fix incompatible dependency of python-circus → https://git.io/JewYg
gxt has joined #nixos
Acou_Bass has joined #nixos
Heirlung has quit [Quit: ZNC - http://znc.in]
Heirlung has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #72922 → Fix package metadata like version and homepage → https://git.io/JeauA
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JewYi
<{^_^}> [nixpkgs] @tekeri opened pull request #73200 → perlPackages-Log-Dispatch-FileRotate-1.36: init at 1.36 → https://git.io/JewYM
Makaveli7 has joined #nixos
ckauhaus has joined #nixos
<{^_^}> [nixpkgs] @tekeri opened pull request #73201 → perlPackages-Furl-3.13: init at 3.13 → https://git.io/JewYb
kolbycrouch has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<srhb> flokli++ on all the ceph work :D
<{^_^}> flokli's karma got increased to 4
m0rphism has quit [Ping timeout: 265 seconds]
<flokli> srhb: thanks <3
<srhb> flokli: Did you test the manager web UI after your "fixes" pr? Otherwise I'll go ahead and try to do that now.
<flokli> srhb: I didn't, but the comments said it tries to download some nodejs stuff during build time
<flokli> So I assumed it was broken before, and still is afterwards
LogicAside has quit [Ping timeout: 240 seconds]
<srhb> It's not, there's a bundled built version in the tarball which used to work. I'll go ahead and test and report back then :)
<flokli> Uh sweet, cool. If it is, please add a simple test command to the vm test(s) too :-)
<srhb> Yeah, curl should probably do the trick. :)
<flokli> Aye
<flokli> srhb++
<{^_^}> srhb's karma got increased to 79
* flokli needs to work on his karma
* srhb grins
zupo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
cfricke has joined #nixos
<{^_^}> [nixpkgs] @tekeri opened pull request #73202 → perlPackages-Find-Lib: init at 1.04 → https://git.io/JewOv
<{^_^}> [nixpkgs] @veprbl opened pull request #73203 → arrow-cpp: fix on i686-linux → https://git.io/JewOJ
<{^_^}> [nixpkgs] @tekeri opened pull request #73204 → perlPackages-Cache-KyotoTycoon: init at 0.16 → https://git.io/JewOU
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gjabell has quit [Quit: ZNC - https://znc.in]
ThatOtherGuy has joined #nixos
ThatOtherGuy is now known as LogicAside
amir has quit [Ping timeout: 264 seconds]
gjabell has joined #nixos
<{^_^}> [nixpkgs] @filalex77 closed pull request #73044 → fselect: init at 0.6.6 → https://git.io/JeVY5
<{^_^}> [nixpkgs] @B4dM4n closed pull request #73171 → qalculate-gtk: add icon theme → https://git.io/JewvZ
<{^_^}> [nixpkgs] @filalex77 opened pull request #73206 → fselect: init at 0.6.7 → https://git.io/JewOc
<{^_^}> [nixpkgs] @tekeri opened pull request #73207 → perlPackages-CDB_File: init at 0.99 → https://git.io/JewO0
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
hooloovoo has joined #nixos
<hooloovoo> Hola! I'm kind of new to nixos and i'm trying to change my lightdm greeter. Anyone knows if i can declare that in the nixos config somehow?
chloekek has joined #nixos
<chloekek> Can I remove a package from Nixpkgs with packageOverrides?
phreedom has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
phreedom has joined #nixos
domogled has quit [Quit: domogled]
<alexarice[m]> why do you need to remove a package?
cfricke has quit [Quit: WeeChat 2.6]
<alexarice[m]> you could set a package to null but that probably won't achieve what you are trying to do
<chloekek> I have a Nix expression for a newer version of that package, and I don't want to accidentally use the old one.
<chloekek> Ah yeah, I will try that!
<alexarice[m]> You could also use an overlay to replace the old version in place with your newer version
<chloekek> I made it a throw expression instead of null and it works great, thanks!
markus1189 has quit [Ping timeout: 240 seconds]
markus1189 has joined #nixos
lukash_|away is now known as lukash_
thc202 has joined #nixos
LogicAside has quit [Ping timeout: 268 seconds]
logzet has joined #nixos
Chiliparrot has joined #nixos
Ariakenom has joined #nixos
tjg1 has quit [Quit: if i commit suicide, at least a real nigga killed me]
<{^_^}> [nixpkgs] @veprbl merged pull request #73203 → arrow-cpp: fix on i686-linux → https://git.io/JewOJ
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JewO7
zupo has joined #nixos
ThatOtherGuy has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @svanderburg to nixos-19.09-small « titaniumenv: remove 7.1, add 8.2 and make it the default »: https://git.io/JewYW
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/31e45c2fbcc (from 89 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
bahamas has quit [Ping timeout: 265 seconds]
Ariakenom has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @filalex77 opened pull request #73208 → hyphen: init at 2.8.8 → https://git.io/Jew3Y
bahamas has joined #nixos
tjg1 has joined #nixos
tjg1 has quit [Client Quit]
domogled has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
joshuagl has joined #nixos
tjg1 has joined #nixos
rtjure has joined #nixos
vidbina_ has joined #nixos
Ariakenom has joined #nixos
Thra11_ has quit [Ping timeout: 268 seconds]
__monty__ has joined #nixos
vidbina_ has quit [Ping timeout: 268 seconds]
Thra11_ has joined #nixos
<inf> hey all. I'm running 19.09 on Thinkpad x260 and seem to get a lot of random hangs when connecting/disconnecting dock / HDMI. Any tips on how to get it working? Right now I'm running without anything video-related option changes and can't even enable external displays... (xrandr either returns intstantly with crtc 1 configure failed, or hangs for a minute or so and returns the same thing) ,_,
<inf> I *think* this got worse after upgrading from 19.03 :/
bahamas has quit [Ping timeout: 265 seconds]
<inf> Can't find a specific issue, but I think I found some related bug on kernel bugtracker, and remember someone mentioning upgrading to kernel 5.0 helped with that
hooloovoo has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @FRidh merged pull request #73176 → pypi2nix: 2.0.0 -> 2.0.1 → https://git.io/Jewfh
<{^_^}> [nixpkgs] @FRidh pushed commit from @seppeljordan to master « pypi2nix: 2.0.0 -> 2.0.1 »: https://git.io/Jew3z
jedai42 has joined #nixos
<raboof> could anyone help diagnose why suspend isn't working for me? I'm having a hard time making sense of things (or even reproducing...) https://discourse.nixos.org/t/laptop-suspend-fails/4739
<inf> ok, might try linuxPackages_5_3 from unstable...
<{^_^}> [nixpkgs] @filalex77 opened pull request #73209 → patool: init at 1.12 → https://git.io/Jew3w
bahamas has joined #nixos
<bahamas> I'm trying to build a package that depends on systemd, but I get this error: "systemd/_daemon.c:539:10: fatal error: systemd/sd-daemon.h: No such file or directory"
<bahamas> what am I missing?
noudle has joined #nixos
<{^_^}> [nixpkgs] @B4dM4n opened pull request #73210 → hotspot: use Qt mkDerivation → https://git.io/Jew36
eon_ has joined #nixos
o1lo01ol1o has joined #nixos
amir has joined #nixos
<__monty__> bahamas: Do you have systemd in the buildInputs?
<ddima> raboof: have you checked for devices that could cause ACPI wakeup and tried disabling them?
<inf> welp, rebooted into linux 5.3 and it seems much better now... ,_,
<__monty__> inf: Good news : )
<inf> yeah. oh the regressions...
o1lo01ol1o has quit [Ping timeout: 252 seconds]
alexherbo2 has joined #nixos
<inf> and now obviously I have a very tearful desktop. dammit. but I remember switching to videoDrivers = ["intel"] helped before...
<inf> bloody modesetting... how does it work.
<hexa-> yup, had tearing on modesetting with intel gpu as well
<bahamas> __monty__: this is a python package, so I added it to both buildInputs and nativeBuildInputs. but the error still occurs
<hexa-> switching to intel had other issues … switched back *welp*
<raboof> ddima: not yet... looking into it, thx
<__monty__> inf: Regression? 19.09 is running the same LTS kernel as 19.03 though?
<inf> >Maybe try wayland. The slogan of it is "every frame is perfect"
<inf> perfect
<hexa-> purrrfect
<inf> __monty__: oh, does it? weird.
<etu> inf: But not sacred, so they are allowed to drop frames if needed ;)
<ddima> raboof: powertop can be a simple tool to view all them them and toggle them (temporarily)
<etu> bahamas: propagatedBuildInputs maybe
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @svanderburg to nixpkgs-19.09-darwin « titaniumenv: remove 7.1, add 8.2 and make it the default »: https://git.io/JewYW
<bahamas> etu: same error
<inf> I'd really love to play a little bit with wayland. Sadly I'm really dependent on awesomewm for the past year or so, and I don't have too much time to adapt to something else :D
<hexa-> planning to move from i3 to sway at some point, but there are still a few issues, for example tray support seems incomplete
<bahamas> the strange part is that running this file with nix-shell works https://bpaste.net/show/B5U2O
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/31e45c2fbcc (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<inf> Have to get some random side device to test gnome + wayland on :D
<inf> like a tablet or something
<raboof> inf: at least with nixos it becomes easy to switch back and forth - looking forward to trying it out ;)
Makaveli7 has quit [Ping timeout: 276 seconds]
<inf> yeah, that's one of the reasons i love nixos. i just don't have too much time to readapt :P{
<inf> I wish i found nixos 3 years ago when I was a humble jobless student.
<raboof> it seems a shame that waysland appears to break the way you could mix-and-match different components in X11 (windowmanager, panel, launcher, compositor, ...) though..
Makaveli7 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @veprbl pushed to release-19.09 « arrow-cpp: fix on i686-linux »: https://git.io/JewsJ
hooloovoo has joined #nixos
<hooloovoo> Anyone knows about any good resources on useful stuff to set up on a desktop or laptop computer? Things like microcode and powersaving.
xd1le has joined #nixos
MinceR_ has joined #nixos
<__monty__> The nixos manual.
<inf> :)
<{^_^}> [nixpkgs] @zimbatm merged pull request #73206 → fselect: init at 0.6.7 → https://git.io/JewOc
<{^_^}> [nixpkgs] @zimbatm pushed commit from @filalex77 to master « fselect: init at 0.6.7 (#73206) »: https://git.io/JewsI
rtjure has quit [Quit: rtjure]
MinceR has quit [Ping timeout: 240 seconds]
<bahamas> `with` is evil. my problem occurred because there's pkgs.systemd and pythonPackages.systemd
<__monty__> "Explicit is better than implicit" -- zen of python
<__monty__> : >
<LnL> it has it's use but I generally avoid it, especially at the outer scope
gxt has quit [Ping timeout: 260 seconds]
<__monty__> I don't much like its syntax.
hke has quit [Remote host closed the connection]
iyzsong has joined #nixos
<eyJhb> There isn't many cases where it is useful, is there? I mostly see it in the form of with pkgs, in systemPackages
gxt has joined #nixos
domogled has quit [Quit: domogled]
<__monty__> Yes, but it's very useful there, imo.
<eyJhb> Yeah, but besides such places where there won't be anything else
<inf> So... I ended up with just the videoDrivers = ["intel"]; and `compton --backend glx`
<inf> and it seems to work ~okay now.
rtjure has joined #nixos
<eyJhb> Warning for people who cannot have flashing lights
<eyJhb> Do not click the above
<inf> Oops, sorry.
<eyJhb> Hurts like hell
<chloekek> inf: I had similar issues when not setting that option. Random freezes, random crashes, slow wifi etc. Removing nouveau and enabling Intel drivers fixed all the issues for me.
h0m1 has quit [Quit: WeeChat 2.6]
<eyJhb> inf: Easy to forget :D It's annoying to look at, even without having any problems regarding those things
h0m1 has joined #nixos
<chloekek> inf: Although I'm on a Dell XPS, not a ThinkPad.
<eyJhb> Still wondering when my x230 will die
<eyJhb> Good little laptop <3
<inf> eyJhb: tbqh i've brought all the tearfree yakshaving back from my x230 :P
<inf> so turns out Dri 2 and TearFree true (I brought from x230) actually ruins the performance on x260
<eyJhb> I might be waay too tired, but `tearfree yakshaving`? :p
<inf> ie. to the point when with compton runnning firefox tab change takes >0.5 second
<inf> eyJhb: i mean - I'
<inf> dammit. i'
<inf> jesus that fucking keyboard.
<inf> sorry.
<inf> I'm just spedning too much time trying to get it to work reliably
<eyJhb> The x260?
<__monty__> What does tab switching have to do with screen tearing?
<inf> mostly talking about tearing during video playback / scrolling.
<inf> seems like a lot of people I know don't care about that.
<eyJhb> No problems here, as far as I know :p
<eyJhb> Only on DisplayLink if I am compiling VBOX
bahamas has quit [Ping timeout: 240 seconds]
<eyJhb> Reminds me, I need to run my update
bahamas has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
h0m1 has quit [Quit: WeeChat 2.6]
h0m1 has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #73211 → nixos/libvirtd: install /etc/ethertypes → https://git.io/JewsP
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72412 → mopidy-iris: 3.41.1 -> 3.42.1 → https://git.io/JegvM
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JewsD
chreekat has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/Jewsy
chreekat has joined #nixos
bahamas has quit [Ping timeout: 240 seconds]
hyper_ch2 has joined #nixos
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to release-19.09: https://git.io/Jews5
<{^_^}> [nixpkgs] @veprbl opened pull request #73212 → pythonPackages.awkward_1: init at 0.1.19 → https://git.io/Jewsb
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 8 commits to nixos-unstable-small: https://git.io/JewsN
<{^_^}> [nixpkgs] @FRidh pushed 147 commits to staging-next: https://git.io/Jewsx
<{^_^}> [nixpkgs] @cdepillabout merged pull request #73170 → fix ghc-paths-nix-ghcjs.patch → https://git.io/Jewev
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to master: https://git.io/Jewsh
<{^_^}> [nixpkgs] @FRidh pushed 539 commits to staging: https://git.io/JewGe
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8b323287f28 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @marsam merged pull request #73182 → wtf: 0.23.0 -> 0.24.0 → https://git.io/JewUY
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JewGv
<{^_^}> [nix] @edolstra merged pull request #3219 → Fix extra semicolons warnings → https://git.io/JeVhc
<{^_^}> [nix] @edolstra pushed 4 commits to master: https://git.io/JewGk
<{^_^}> [nixpkgs] @FRidh pushed 51 commits to python-unstable: https://git.io/JewGL
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JewGq
<{^_^}> [nix] @edolstra merged pull request #3213 → Replace $TMPDIR with $TEST_ROOT in tests/fetchurl.sh → https://git.io/JeVlU
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @veprbl opened pull request #73213 → arrow-cpp: fix tests not being run on linux → https://git.io/JewGm
orivej has joined #nixos
kenran has quit [Ping timeout: 240 seconds]
gxt has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @DavHau opened pull request #73214 → lutris: add missing gnutls dependency → https://git.io/JewGs
lopsided98_ has joined #nixos
lopsided98 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #73215 → why3: 1.2.0 → 1.2.1 → https://git.io/JewGa
silver has joined #nixos
<eyJhb> ANother upgrade, another VirtualBox recompile
<eyJhb> I should just nuke VBox taking into account that I never use it
elibrokeit has quit [Quit: A random quit message]
<__monty__> Or, you know, pin it?
elibrokeit has joined #nixos
<timokau[m]> How can I tell maven to use jdk11? Its execute with a wrapper that hardcodes JAVA_HOME to jdk8
<{^_^}> [nixpkgs] @curiousleo closed pull request #73177 → sequoia: 0.10.0 -> 0.11.0 → https://git.io/JewJF
<FRidh> timokau[m]: .override the expression to pass in jdk11
<FRidh> the builder.sh will use it and set JAVA_HOME to it
<timokau[m]> FRidh: thanks :) I know that is an option, but I was hoping for something that won't make me recompile maven
Thra11_ has quit [Ping timeout: 240 seconds]
<Izorkin> etu: have you checked build php with mysqlndSupport = false ?
Ariakenom has quit [Quit: Leaving]
<etu> Izorkin: No, haven't tried that. I think it's uncommon to do that though?
drakonis has joined #nixos
jgt1 has joined #nixos
o1lo01ol1o has joined #nixos
<eyJhb> __monty__: hmm.. Maybe yeah... But that would be done using a overlay, right?
drakonis1 has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @tekeri closed pull request #73201 → perlPackages.Furl: init at 3.13 → https://git.io/JewYb
drakonis_ has quit [Ping timeout: 240 seconds]
<__monty__> eyJhb: Yes, probably. You don't *have* to though. It's just a nixpkgs import so you could use (import pinned).vbox where you now use `vbox`.
<Izorkin> etu: I do not know. Decided to recheck to build with libmysqlclient. Encountered an error - not build php with mysqli=libmysqlclient/mariadb.client.dev
<{^_^}> [nixpkgs] @filalex77 opened pull request #73216 → Antibody 4.2.0 → https://git.io/JewG9
drakonis has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
kenran has joined #nixos
cfricke has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
bahamas has joined #nixos
elibrokeit has quit [Quit: A random quit message]
elibrokeit has joined #nixos
<eyJhb> __monty__: can I just do a fetchURL and use that?
<__monty__> ,pinning
Thra11_ has joined #nixos
<eyJhb> I think the best solution is to switch to something KVM + libvirt gui
<wucke13> Is master broken?
Fare has joined #nixos
ng0 has joined #nixos
buckley310 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @veprbl to nixos-19.09-small « arrow-cpp: fix on i686-linux »: https://git.io/JewsJ
sondr3 has joined #nixos
<{^_^}> [nixpkgs] @DavHau opened pull request #73217 → update contributors documentation for nix-review → https://git.io/JewZt
<{^_^}> [nixpkgs] @filalex77 opened pull request #73218 → polybar: 3.4.0 -> 3.4.1 → https://git.io/JewZm
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/100ee02305f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
jgt1 has quit [Ping timeout: 276 seconds]
<betawaffle> how do I fix this: "The option value `systemd.network.links.10-att.linkConfig' in `/etc/nixos/att.nix' is not of type `attribute set of systemd options'."
<betawaffle> (seen while trying to upgrade my router from 18.09 to 19.09)
jco has joined #nixos
<betawaffle> it currently has linkConfig = { ARP = false; };
jco has quit [Client Quit]
jco has joined #nixos
<betawaffle> it seems like maybe some confusion between checkLink vs checkNetworkLink?
ravndal has quit [Quit: WeeChat 2.6]
Wayne has joined #nixos
<betaboon> samueldr: I'm giving porting the installer test to python a test ;)
<Wayne> Can anyone help with getting Qt to see the runtime libraries in this package? https://hasteb.in/puzowofa.swift I tried to base it on https://github.com/NixOS/nixpkgs/blob/nixos-19.09/pkgs/applications/display-managers/sddm/default.nix but I still gethttps://hasteb.in/iporataw.sql
ravndal has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @filalex77 opened pull request #73219 → ansible: 2.8.4 -> 2.9.0 → https://git.io/JewZa
drakonis has joined #nixos
Ariakenom has joined #nixos
drakonis1 has quit [Ping timeout: 246 seconds]
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @flokli merged pull request #72603 → nixos/ceph: run unprivileged, use state directories, handle non-initialized clusters without config switch → https://git.io/JegKZ
<{^_^}> [nixpkgs] @flokli pushed 5 commits to master: https://git.io/JewZP
andymandias has joined #nixos
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JewZy
<{^_^}> [nixpkgs] @aanderse merged pull request #72767 → nixos/phpfpm: fix apply global phpOptions → https://git.io/Je2cZ
Thra11_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @filalex77 opened pull request #73220 → Aria2 1.35.0 → https://git.io/JewZA
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
hyper_ch2 has joined #nixos
lecethimon has joined #nixos
drakonis_ has joined #nixos
<lecethimon> Hello, have tried nixos a few years back. Been on arch since then. What advantages does nixOS have over something like arch?
<lecethimon> And how is the availability of software?
<flokli> betawaffle: can you open an issue about that, and highlight me?
<__monty__> lecethimon: Haven't had to reach for something like the AUR since using nix.
Neo-- has joined #nixos
<betawaffle> flokli: sure, though I think i worked around it. i can add my findings to an issue
<flokli> Thanks!
<__monty__> lecethimon: Arch doesn't have the declarative configuration or the potential reproducibility nixos has. It does roll quicker unless you want to track master though.
drakonis has quit [Ping timeout: 268 seconds]
drakonis1 has joined #nixos
<lecethimon> yeah. Figured that. From what I remeber you'd have to configure and then build for something be permanenet. If just installing something and building you would lose your installed software
<lecethimon> Is this the case?
Mateon2 has joined #nixos
<evils> lecethimon: no
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 252 seconds]
Thra11_ has joined #nixos
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon2 is now known as Mateon1
hyper_ch2 has quit [Remote host closed the connection]
<evils> you can use `nix run` which downloads/builds an application once, and it sticks around in your store until garbage collected
<lecethimon> I might spin NixOS up in a vm to test a bit. I'm thinking of this or debian for my other machine.
<__monty__> I'm not sure what you're talking about with "configure and build" vs "install and build."
<__monty__> I recommend trying nixos on the hardware.
<__monty__> A vm doesn't get the point across as well imo.
<__monty__> Note that UX still needs work and the learning curve is real.
drakonis1 has quit [Ping timeout: 276 seconds]
gm152 has joined #nixos
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #nixos
logzet has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #73199 → circus: fix incompatible dependency of python-circus → https://git.io/JewYg
<{^_^}> [nixpkgs] @FRidh pushed commit from @tekeri to master « circus: fix incompatible dependency of python-circus (#73199) »: https://git.io/Jewn8
<{^_^}> [nixpkgs] @nh2 merged pull request #73210 → hotspot: use Qt mkDerivation → https://git.io/Jew36
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JewnB
logzet has joined #nixos
<lecethimon> __monty__: me neither really. Okay, I'll try it
hexa- has quit [Quit: WeeChat 2.6]
stepcut has joined #nixos
hexa- has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #73129 → fierce: 1.3.0 -> 1.4.0 → https://git.io/JeVXu
<{^_^}> [nixpkgs] @c0bw3b pushed to master « fierce: 1.3.0 -> 1.4.0 »: https://git.io/JewnE
drakonis has quit [Ping timeout: 246 seconds]
Fare has quit [Ping timeout: 246 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
gagbo has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
<evanjs> Welp. nodePackages."@angular/cli" started failing to install lately. Can somebody confirm it's not just me?
amanjeev has joined #nixos
amanjeev has quit [Remote host closed the connection]
jco has quit [Quit: WeeChat 2.6]
Chiliparrot has joined #nixos
drakonis1 has joined #nixos
Wayne has quit [Remote host closed the connection]
emmanuelrosa has joined #nixos
<nh2> lecethimon: my short opinionated comparison to Arch: Much less likely to break your computer, easier to rollback, easier to share config across multiple machines, easier to customise, easier to contribute to, better underlying fundamentals, needs more disk space, harder to learn
<nh2> lecethimon: oh, and of course, there exist stable releases you can opt into (which IMO is a big plus)
cosimone has joined #nixos
hyper_ch2 has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
hyper_ch2 has quit [Remote host closed the connection]
<lecethimon> Hmmm, I've never had any issues of updates breaking my system
<lecethimon> Well once. But still
<lecethimon> The config sharing is a big plus for me tho. Owning like 8 machines/servers
<bahamas> when installing a package in the nix-shell (`nix-shell -p python27Packages.pelican`), is there a way to pass doCheck = false?
<__monty__> lecethimon: Well, stop updating daily for whatever reason, run into a problem and get yelled at.
<bahamas> the tests are failing, so I want to disable them
<betawaffle> flokli: do you know what i'm supposed to do with the "maintainer information" section in the issue template?
<__monty__> I've had arch updates bork my kernel.
<lecethimon> lol
jgt1 has joined #nixos
hyper_ch2 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
phreedom_ has joined #nixos
m1sosoup has joined #nixos
kai_w has joined #nixos
asymmetric has joined #nixos
buckley310 has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
jgt1 has quit [Ping timeout: 268 seconds]
kp__ has quit [Quit: WeeChat 2.6]
emmanuelrosa has quit [Quit: leaving]
<asymmetric> i'm trying to run pdflatex on save on emacs, and i get: I can't find the format file `pdflatex.fmt'!
<evanjs> Hold on, lemme get the docs for this
<adisbladis> asymmetric: You need the correct texlive env
jeyj0 has joined #nixos
<asymmetric> does anyone know how to fix this? i've installed texlive with the collection-basic package
jeyj0 has quit [Remote host closed the connection]
<asymmetric> adisbladis: what do i need to do, other than installing texlive/
<evanjs> asymmetric: yeah you need one of the scheme packages
<adisbladis> asymmetric: I build my presentations using: http://ix.io/21sO/nix
<asymmetric> thank you both <3
<asymmetric> adisbladis++ evanjs++
<{^_^}> adisbladis's karma got increased to 22, evanjs's karma got increased to 3
<evanjs> scheme-medium has pdflatex, I can't remember if small does
<adisbladis> asymmetric: Here's the full shell.nix http://ix.io/21sP/nix
<adisbladis> IME you usually need a whole lot more that any scheme provides
<adisbladis> But YMMV
<evanjs> ^ yeah, depends on what you're doing
<asymmetric> what's the difference between collections and schemes?
<{^_^}> [nixpkgs] @Mic92 merged pull request #73189 → nixos/tests: fix succeed() with multiple commands → https://git.io/JewI5
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jewct
<asymmetric> scheme-small was enough for pdf generation btw
waleee-cl has joined #nixos
<kai_w> for some reason, I still have a symlink to nixos-19.03 in ~/.nix-defexpr/channels, even though I removed that channel a while ago with nix-channel... what's that about?
<adisbladis> Iirc "scheme" is more corse-grained
<adisbladis> And collections are more fine grained
hyper_ch2 has joined #nixos
<evanjs> asymmetric: ah thank you. Yeah I must've needed medium for something
<etu> asymmetric: I usually start from basic or small and add the things I need per project.
<etu> asymmetric: Saves a lot of time compared to grabbing the big ones
<hyper_ch2> how do I setup nixos (kde) so that I can access it through vnc? nixos options "vnc" doesn't return anything
<asymmetric> is there a way to see what the schemes or collections contain?
<kai_w> Huh, the channel wasn't showing in the list, and removing the alias didn't work, but removing the full name (nixos-19.03-19.03.173646.6c08aa0d57e) did.
chloekek has left #nixos ["WeeChat 2.6"]
pointfourone has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 240 seconds]
bahamas has quit [Ping timeout: 265 seconds]
<evanjs> asymmetric: you could check through here. lazy way until I dig more https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/typesetting/tex/texlive/pkgs.nix
<etu> asymmetric: was about to post that same link as evanjs++ :)
<{^_^}> evanjs's karma got increased to 4
ardumont has quit [Quit: WeeChat 2.4]
jco has joined #nixos
ardumont has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
<evanjs> I can see they're under nixpkgs.texlive.scheme-medium.pkgs but I'm not sure what to give to `nix eval` for anything meaningful. i.e. `nix eval nixpkgs.texlive.scheme-medium.pkgs.packages` doesn't give me anything but debug info
<asymmetric> ah ok, scheme-small depends on collection-basic
<{^_^}> [nixpkgs] @symphorien opened pull request #73222 → evolution-data-server: install gsettings schemas → https://git.io/JewcG
hyper_ch2 has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @alyssais pushed commit from @talyz to release-19.03 « bundler: 1.17.2 -> 1.17.3 »: https://git.io/Jewcl
<{^_^}> [nixpkgs] @alyssais pushed commit from @jonringer to release-19.09 « rust-bindgen: 0.51.0 -> 0.51.1 »: https://git.io/Jewc4
<evanjs> asymmetric: woo! `nix eval '(with import <nixpkgs> {}; (lib.forEach pkgs.texlive.scheme-small.pkgs (p: p.pname)))'`
<evanjs> that should help me in the future lol
astrall33 has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
<asymmetric> nice
<etu> > lib.forEach pkgs.texlive.scheme-small.pkgs (p: p.pname)
<{^_^}> [ <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <CODE> <C...
<etu> :D
<evanjs> etu: nooooooo XD
Ariakenom has joined #nixos
<evanjs> Good thing the bot protected us lol
<{^_^}> [nixpkgs] @DzmitrySudnik closed pull request #72782 → terraform-providers: bump versions → https://git.io/Je2zt
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixpkgs-19.09-darwin: https://git.io/JewcV
halfbit has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/2ad400e6eb0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
hyper_ch2 has quit [Remote host closed the connection]
rauno has quit [Ping timeout: 240 seconds]
jco_ has joined #nixos
ddellacosta has joined #nixos
jco has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #73223 → nixos/phpfpm: run as non root user for enhanced security → https://git.io/JewcQ
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/Jews5
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2ad400e6eb0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
hyper_ch2 has joined #nixos
<Phillemann> Haskell's "reflex" package is marked as broken, but I don't find any indication as to why or what I can do now
hyper_ch2 has quit [Remote host closed the connection]
iyzsong has quit [Ping timeout: 252 seconds]
<adisbladis> etu: Why would you use forEach when there is map
captn3m0 has joined #nixos
<catern> this is a fairly niche question, but when I add -static to the LDFLAGS of a program built with autotools, and I build it in Nix, the build directory (/build/c/.libs) gets put on RPATH and Nix fails the build after scanning for /build
<catern> but when built outside of Nix, the build dir doesn't get put on RPATH - any idea why it's happening when built in Nix?
bahamas has quit [Quit: leaving]
<evanjs> So when I'm making nodePackage PRs, do I need to update the package set? Can't find any contribution guidelines for the nodePackages set
<adisbladis> evanjs: Yes
<adisbladis> You need to.
<evanjs> adisbladis: alright, thank you!
<{^_^}> [hydra] @dasJ opened pull request #689 → Show current system load for authenticated users → https://git.io/JewCk
<evanjs> adisbladis: and I posted the original snippet, I guess it really depends on the use case but sometimes forEach feels like it makes more sense
<evanjs> Depends on your programming background, too, I think. Like I'm still not very experienced with functional programming, so while .map() typically feels okay, map in languages like haskell and nix still feels odd to me
<evanjs> adisbladis++
<{^_^}> adisbladis's karma got increased to 23
vidbina_ has joined #nixos
endformationage has joined #nixos
Soo_Slow has joined #nixos
virus_dave has joined #nixos
<Phillemann> I'm trying to add cachix to my system package set using (builtins.fetchTarball { url = "https://cachix.org/api/v1/install"; }.cachix, but it doesn't work.
<Phillemann> Never mind the syntax error there.
<Phillemann> It says "value is a string with context while a set was expected"
<{^_^}> [nixpkgs] @xrelkd opened pull request #73224 → eksctl: 0.8.0 -> 0.9.0 → https://git.io/JewCC
ardumont has quit [Quit: WeeChat 2.6]
<Phillemann> The install file seems to redirect to a nixpkgs tarball.
<tilpner> Phillemann: Try (import (fetchTarball ...) {}).cachix
bvdw has quit [Read error: Connection reset by peer]
<tilpner> I didn't try that, but that URL just redirects to a nixpkgs tarball
<Phillemann> Ah, import, of course.
<tilpner> And (import tarball {}).foo is how you usually use foo from a nixpkgs tarball
bvdw has joined #nixos
<Phillemann> That worked perfectly, thanks!
psyanticy has joined #nixos
<tilpner> Phillemann: You can also try using the cachix from your usual nixpkgs
<tilpner> There's probably a reason they're pinning it (support gets easier if everyone uses the same version)
<Phillemann> Ah, I'll try. I'm getting weird errors trying to nixos-rebuild switch.
cosimone has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 240 seconds]
cosimone has joined #nixos
h0m1 has quit [Quit: WeeChat 2.6]
sondr3 has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos
hexo has joined #nixos
<hexo> hi there, my firefox ceased to work
<hexo> i cant see any content
<mikky> hey, so I have this locally built python lib (ovirt-sdk) and I'd like to test it but I'm not sure how to add the lib to my python environment, being it system-wide or a nix-shell, venv, or whatever. I'm not very good with Python and I don't really understand what's going on in there :/
<hexo> webpage seems like its loaded but all i see is white
<hexo> the same with firefox menus
<hexo> it is there but it is invisible
jlmeeker has joined #nixos
<hexo> i have fresh installation since yesterday
<mikky> I've built the lib inside a nixpkgs git clone
cfricke has quit [Quit: WeeChat 2.6]
reallymemorable has joined #nixos
thc202 has quit [Ping timeout: 245 seconds]
thc202 has joined #nixos
<{^_^}> [nixpkgs] @evanjs opened pull request #73225 → nodePackages."@angular/cli": disable analytics → https://git.io/JewCi
kai_w has quit [Quit: Konversation terminated!]
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #73226 → cni-plugins: v0.8.2 -> v0.8.3 → https://git.io/JewCM
cyris212 has quit [Quit: ZNC 1.7.4 - https://znc.in]
mexisme has joined #nixos
cyris212 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #73227 → mkl: add scalapack libraries to output → https://git.io/JewCS
juaningan has joined #nixos
<__monty__> mikky: You have a couple options, you can write an overlay that changes your nixpkgs version of that package to the local one. Or you can use nix-shell -f 'path/to/nixpkgs' -p python ovirt-sdk. The latter might cause lots of rebuilds, especially if your checkout is too recent to be cached.
<__monty__> hexo: And you didn't change anything? Like enabling hardware acceleration?
sigmundv has joined #nixos
<hexo> i'm not sure
jlmeeker has quit [Quit: Leaving]
<hexo> i've enabled 32bit libs for steam
<hexo> not sure about hw accelleration
<hexo> this is thinkpad x240
<exarkun> by no mechanism which is obvious to me. anyone else seen anything like this or know what's going on?
<tetdim> hexo lspci
mexisme has quit [Ping timeout: 245 seconds]
<hexo> not yet installed, i'll do so after upgrade finishes
<exarkun> mikky: What do you mean by "locally built python lib" and "inside a nixpkgs git clone"?
<exarkun> Oh, __monty__ suggested a thing already.
<mikky> __monty__: I'm playing with the overlay approach now, I'll see where that gets me, thanks
<{^_^}> [nixpkgs] @symphorien closed pull request #73222 → evolution-data-server: install gsettings schemas → https://git.io/JewcG
<mikky> exarkun: "locally build inside nixpkgs git clone" basically means that I followed the "contributing" path by creating a new package in nixpkgs and I intent to submit it to nixpkgs if everything goes well - does that make sense to you?
<exarkun> mikky: I think so
<exarkun> mikky: Did you try __monty__'s suggestion? It's pretty close to what I'd suggest.
<mikky> I was able to successfully build the derivation using nix-build so now I'm just trying to figure out a way to test it
<mikky> exarkun: I'm trying it now
<__monty__> mikky: `self: super: { wire-desktop = super.callPackage ~/src/nixpkgs/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix {}; }` is an example of an overlay I use.
<mikky> __monty__: that's exactly what I have prepared now
<mikky> but I'm hitting 'Error: anonymous function at /home/miky/git/github/cptMikky/nixpkgs/pkgs/development/python-modules/ovirt-engine-sdk/default.nix:1:1 called without required argument 'buildPythonPackage''
<__monty__> You're probably missing the `super.callPackage`.
devalot has joined #nixos
<mikky> no, it's something different
<juaningan> Hi, Im struggling packaging Bisq (P2P decentralized exchange). Is a Java project with OpenJFX dependency, it compiles but crash when call SHA256_Update method in libcrypto.so.1.0.0; Tried to update libcrypto to 1.1 and still crash. So i remove completely the gnome2.gnome_vfs dependency from openjdk11 and now java binary is not linked anymore with
<juaningan> libcrypto and Bisq is working well.
<mikky> the callPakage is there but in the nixpkgs tree that part is called from within python-packages.nix (or similar)
<__monty__> mikky: Ah, yes, python, you probably need this: https://nixos.org/nixpkgs/manual/#how-to-override-a-python-package-using-overlays
<exarkun> you need a python overlay for python, yea
<mikky> I'm missing something like 'inherit buildPythonPackage'
jgt1 has joined #nixos
zupo has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
sondr3 has joined #nixos
jmeredith has joined #nixos
<juaningan> Hi, Im struggling packaging Bisq (P2P decentralized exchange). Is a Java project with OpenJFX dependency, it compiles but crash when call SHA256_Update method in libcrypto.so.1.0.0; Tried to update libcrypto to 1.1 and still crash. So i remove completely the gnome2.gnome_vfs dependency from openjdk11 and now java binary is not linked anymore with
<juaningan> libcrypto and Bisq is working well. So, how do you recommend that I merge this changes upstream? Make a local override over openjdk package? PR a conditional in upstream openjdk? Maybe open an issue to clarify why that gnome2 depenendency is still there?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @filalex77 opened pull request #73229 → pg_flame: init at 1.1 → https://git.io/JewWO
ardumont has joined #nixos
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @talyz to nixpkgs-19.03-darwin « bundler: 1.17.2 -> 1.17.3 »: https://git.io/Jewcl
<mikky> ok, got further - when I run 'nix-shell -p python37Full python37Packages.ovirt-engine-sdk' it fails on building Python2.7
<mikky> absolutely no idea why
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/91d04b9b23c (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<exarkun> It probably gives you some error output
<{^_^}> [nixpkgs] @filalex77 opened pull request #73230 → cargo-deb: init at 1.21.1 → https://git.io/JewW2
cyris212 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<mikky> yes, 'Tried to install with an unsupported version of Python. Meson requires Python 3.5.0 or greater'. The problem is it tries to build Python v2.7 but I don't understand why, everywhere I could I specified python37
cyris212 has joined #nixos
<nh2> flokli: urgh, looks like gtk hardcoded shared libraries into their meson file: https://gitlab.gnome.org/GNOME/gtk/issues/2248
<nh2> The gtk3 autotools build can still build .a files, but the meson build cannot, and gtk4 can't do it at all currently
<hexo> so, the firefox doesnt show content when it is not on primary display
* hexo bbl
<exarkun> mikky: All of the expressions involved are relevant to understanding what's happening.
genesis has quit [Ping timeout: 240 seconds]
<mikky> exarkun: note that the cmdline output is not complete - at first run there was more going on in terms of building derivations but these got built successfuly
* exarkun nods
<exarkun> I wonder what `nix show-derivation /nix/store/8cz1zlngqqr09zcc73qhs4hygifgphi7-meson-0.51.2.drv` says
<exarkun> Also I wonder what version of nixpkgs you have
<betaboon> has anyone ported tests to python which used flock ?
<mikky> nixpkgs version a5b85222ff8b419787b7901ac54625acec692788
domogled has joined #nixos
<mikky> meson show-derivation added to the gist < exarkun
<exarkun> mikky: So, I notice that meson has python 2.7 as an input
<exarkun> That seems pretty weird if Meson requires Python 3.5 or newer
pointfourone has joined #nixos
<nh2> mikky: a few things that look a bit off (not sure if they help to find the solution):
<nh2> * I think it is more correct to use `python-self.callPackage` instead of `python-super.callPackage` so that later overlays can override callPackage
<nh2> * `python37 = super.python` -- shouldn't that be `python37 = super.python37` as well?
<mikky> hold on, I've been using an outdated branch of nixpkgs
<exarkun> nh2: yea those sound like good catches to me
<exarkun> `python37 = super.python` explains why meson would be getting python 2.7 when asking for python3 (which it is afaict)
<{^_^}> [nixpkgs] @etu opened pull request #73232 → profiles/graphical.nix: Drop systemWide pulseaudio in iso → https://git.io/JewWA
sweep has joined #nixos
sweep has quit [Changing host]
sweep has joined #nixos
sweep is now known as genesis
<exarkun> What is the syntax for pointing nixpkgs at a git revision in NIX_PATH?
Ariakenom has quit [Quit: WeeChat 2.6]
<nh2> exarkun: `NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/a2d7e9b875e8ba7fd15b989cf2d80be4e183dc72.tar.gz`
<mikky> nh2: you were right! seems to be working, now I just need to test it
<exarkun> is there a way to avoid having to download the whole archive for every revision? I thought I saw something somewhere about nix using a git repo it could update for incremental changes
<mikky> exarkun: you're thinking a shallow clone?
<exarkun> not necessarily
<exarkun> I'm thinking about nix using the git protocol and having a git working tree instead of https and a tarball
<mikky> ah
<nh2> exarkun: that I don't know, but if you find how that works, definitely let me know
<lordcirth_> exarkun, you could just make a copy of the git repo and checkout the rev you want?
<nh2> exarkun: just try with git:// and check if it does anything :)
<exarkun> lordcirth_: yes, but it's more convenient to set a revision in NIX_PATH than to have to manually manage some state on the filesystem
astrall33 has quit [Ping timeout: 265 seconds]
kenran has quit [Ping timeout: 268 seconds]
<buckley310> if I have a virtual machine which is formatted with 512-byte sectors, sitting on a zfs pool with 4k sectors, is there any I/O performance penalty / write amplification? my understanding is that there is only some CPU overhead as zfs repacks the 512 operations into 4k batches
<mikky> exarkun: wouldn't having a git working tree break the stateless premise of nix?
<exarkun> mikky: I don't think it breaks it any more than /nix/store already breaks it. You build some layers on top of the state to preserve the functional properties you want.
Thra11_ has quit [Ping timeout: 240 seconds]
<mikky> buckley310: is the VM on a zvol?
<buckley310> mikky, no. raw image in a dataset
<nh2> mikky: if the tree is a clean checkout you will get the same results as when using a tarball URL. But I agree with exarkun that it's convenient to be able to ship full repros around with a single URL, and it would be convienient if the downloading of that URL could use git to download a bit faster
<mikky> buckley310: in theory you'll only hit write amp when a non 4096-rounded blocks get synced
domogled has quit [Remote host closed the connection]
sondr3 has quit [Ping timeout: 250 seconds]
drakonis has quit [Quit: WeeChat 2.6]
<mikky> nh2: you will but if I understand exarkun's idea then the working tree is going to be volatile, i.e. it gets changed every time a different checkout is requested
<exarkun> maybe instead of literally a single working tree, there's a local hardlinked clone per revision or something
<exarkun> or a single mutable working tree that is updated and exported from to create other store objects
<nh2> mikky: I think the _working tree_ would be separate per nix invocation, it would just use the same .git raw repository under the hood to avoid downloading as much as possible
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 23 commits to nixos-unstable-small: https://git.io/Jewlw
<mikky> yeah, that would make better sense
<exarkun> Anyway, the NIX_PATH docs don't make any mention of native git support so I suppose I imagined this
<exarkun> but it would be awful nice.
<mikky> exarkun: I only remember a specific commit can be requested but I don't remember any explicit git support mentioned there
<mikky> you can always write a wrapper or something
<buckley310> mikky: thing im wondering is, if the VM makes 1000 non-contiguous writes, will the host pack them up into 250 writes before it hits the disk.
drakonis has joined #nixos
<mikky> buckley310: not sure, depends on wheteher those are sync or async writes and how barriers would be utilized
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/556a169f14f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<mikky> if it's sync, I *guess* there will be no optimization
<nh2> exarkun: nix docs are often outdated, I would try it first or check the nix code before giving up :)
<buckley310> ah, ok. makes sense.
<mikky> and since you're talking VM raw image, I imagine it's opened as O_SYNC
jyp[m] has joined #nixos
<buckley310> oh :(
<buckley310> oh well
<mikky> but then again, it's just a guess. there's a lot going on under the hood in ZFS, maybe they have this covered
drakonis1 has quit [Ping timeout: 240 seconds]
<mikky> better ask in #zfsonlinux
<buckley310> ill try that
<buckley310> ty
<mikky> np
Thra11_ has joined #nixos
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa> I corrupted my Nix SQLite database. How can I reinitialize it?
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<selfsymmetric-pa> I'm on NixOS.
<exarkun> selfsymmetric-pa: I have no idea. :( But out of curiosity, how did you corrupt it?
<selfsymmetric-pa> Not sure, it was corrupted already when I did a store verification. Then I poked at it and made it worse, so I figure I should just reinitialize it.
<selfsymmetric-pa> I might be able to roll back a bit.
<selfsymmetric-pa> Not sure if that will work.
drakonis has quit [Ping timeout: 246 seconds]
selfsymmetric-pa has quit [Remote host closed the connection]
pbb has quit [Remote host closed the connection]
selfsymmetric-pa has joined #nixos
h0m1 has quit [Quit: WeeChat 2.6]
<selfsymmetric-pa> Well, I can roll back, but it doesn't bring back my DB.
<selfsymmetric-pa> This DB is just a cache, right? Doesn't have anything important in it that's not also in the filesystem?
pbb has joined #nixos
h0m1 has joined #nixos
<selfsymmetric-pa> How do I get a fresh one?
<selfsymmetric-pa> Maybe I can rerun NixOS installation on my configuration somehow?
<nh2> selfsymmetric-pa: not sure. There's `nix-store --repair`, but it goes the other way around, re-downloading store paths that are in the DB but missing in the file system.
<nh2> Also, what does your corruption look like, is there an error message?
<nh2> You could try move the sqlite file out of the way (but keeping it around in case that doesn't work) and see what happens if you `nixos-rebuild switch`. But I have never tried that, so I don't know what will happen.
xwvvvvwx- has joined #nixos
<selfsymmetric-pa> nh2: Unfortunately moving it out of the way and rebuilding gives me `error: cannot open Nix database '/nix/var/nix/db/db.sqlite'`.
shibboleth has joined #nixos
<{^_^}> #73189 (by flokli, 16 hours ago, merged): nixos/tests: fix succeed() with multiple commands
<selfsymmetric-pa> My understanding is that this database only contains metadata. It must be possible to retore.
<selfsymmetric-pa> *restore.
<betaboon> flokli: i just discovered the exact same bug on my working branch after two hours of debugging XD
<flokli> betaboon: sorry about that
<betaboon> flokli: not your fault :D
<flokli> nh2: urgh, the gtk+ looks like another huge rabbit hole to dive into ;-)
<selfsymmetric-pa> I killed it because I thought it would be possible to invalidate.
<selfsymmetric-pa> How do I regenerate `/nix/var/nix/db/db.sqlite`?
<nh2> selfsymmetric-pa: are you a programmer? If yes, the fastest way to success might be to check how the nix installer generates the DB, or whether the nix code suggests that it can run against empty db
<betaboon> flokli: I'm just trying to port the installer tests and it failed in a very weird way. thousand steps to figure out it was the succeed-function xD
<selfsymmetric-pa> nh2: Where can I find the install script?
binarymonkeyking has joined #nixos
<selfsymmetric-pa> nh2: Yes, I'm a programmer.
<selfsymmetric-pa> I can't find the source of the sqlite instructions somehow.
xwvvvvwx has quit [Ping timeout: 276 seconds]
xwvvvvwx- is now known as xwvvvvwx
<selfsymmetric-pa> I think I need to go deeper: https://nixos.org/nix/install
<{^_^}> [nixpkgs] @c0bw3b opened pull request #73234 → Sec/mp3cve → https://git.io/Jew8v
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @talyz to nixos-19.03-small « bundler: 1.17.2 -> 1.17.3 »: https://git.io/Jewcl
<selfsymmetric-pa> I tried searching `/nix/var/nix/db` on GitHub but their search sucks.a
<selfsymmetric-pa> Hopefully that treesitter stuff will make it better?
fendor has quit [Ping timeout: 265 seconds]
<__monty__> selfsymmetric-pa: I assume you've tried nix-store --verify and --repair?
<cransom> https://github.com/NixOS/nix/issues/3091 may or may not help, i don't see any definitive answer
<{^_^}> nix#3091 (by bhipple, 8 weeks ago, open): Rebuild sqlite db from scratch?
<selfsymmetric-pa> __monty__: Yes, they both depend on the DB existing unfortunately.
<selfsymmetric-pa> I was hoping they'd _repair_ it.
<__monty__> --verify --repair doesn't fix a corrupted db?
m0rphism has joined #nixos
<selfsymmetric-pa> Nope. :(
<selfsymmetric-pa> And `nix-store --init` doesn't work either.
<selfsymmetric-pa> Doesn't seem helpful.
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/91d04b9b23c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
fendor has joined #nixos
<selfsymmetric-pa> Oh okay.
<selfsymmetric-pa> Then I was able to run `nix-store --init`.
<selfsymmetric-pa> Now my DB is empty and out of sync with my config. Let's try running something...
erasmas has joined #nixos
<selfsymmetric-pa> Okay, it's building, and fetching absolutely everything from `cache.nixos.org`.
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @jonringer to nixos-19.09-small « rust-bindgen: 0.51.0 -> 0.51.1 »: https://git.io/Jewc4
<selfsymmetric-pa> That makes perfect sense so far since the store is empty.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<slabity> Hey guys, I am trying to get this set up with nixos-rebuild: https://elvishjerricco.github.io/2018/06/24/secure-declarative-key-management.html
<slabity> Unfortunately I've run into an issue. If I run `sudo nixos-rebuild` it can't access my `pass` store. But if I run `nixos-rebuild` it fails to symlink the profile due to permissions.
binarymonkeyking has quit [Remote host closed the connection]
<dhess> I'm getting this trying to run Hydra on recent nixpkgs: https://gist.github.com/dhess/ef72f4f28c1fa77a731c91a413572cd6
<dhess> Any ideas?
sigmundv has quit [Ping timeout: 276 seconds]
<slabity> Does anyone have `pass` integrated with their NixOS system?
<dhess> it happened a few weeks ago when the Perl DBD libs were updated
<elvishjerricco> slabity: Careful. It works with NixOps because the secret files don't get put in the nix store. Nixos-rebuild doesn't have any equivalent functionality, so any secrets will probably be world-readable in the nix store.
<elvishjerricco> Anyway you could change the wrapper script to su back to your user or something. Or build the system config as your user and install it as root, though that's a tad more involved than nixos-rebuild
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/79748e53e6c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<__monty__> Or just set PASSWORD_STORE_DIR et al. in the wrapper.
Ariakenom has joined #nixos
fendor has quit [Quit: Leaving]
fendor has joined #nixos
<wedens[m]> I'm getting weird "internal error: End of file from qemu monitor" errors from libvirt on VM shutdown. and virbr0 interface becomes unusable until I restart the network
<DanP[m]> How does `networking.networkmanager.appendNameservers` work? My additional nameservers are not showing in `/etc/resolv.conf` after a rebuild, and when I manually paste them in they are periodically cleared out.
drakonis has joined #nixos
<DanP[m]> `insertNameservers` doesn't appear to be sticking either
<__monty__> Regarding pass, I'd love for someone to explain why I can't get pass with the pass-otp extension installed on one mac but it works fine on another? http://ix.io/1SCF
zmacs has joined #nixos
zmacs has quit [Client Quit]
zmacs has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
xd1le has quit [Quit: leaving]
<selfsymmetric-pa> `error: while setting up the build environment: getting attributes of path '/etc/hosts': No such file or directory`
<selfsymmetric-pa> I don't remember deleting this.
<selfsymmetric-pa> Oh it's a symbolic link but it doesn't point to anything anymore?
<selfsymmetric-pa> Someone mind telling me what theirs points to?
<selfsymmetric-pa> I can try to fix it manually.
<exarkun> a lot of stuff in /etc points to /etc/static
<exarkun> eg /etc/hosts is /etc/static/hosts
<selfsymmetric-pa> And thence to /nix/store. Hm.
<selfsymmetric-pa> I'm trying a repair but it already passed `checking path existence`.
<selfsymmetric-pa> Yikes.
<__monty__> I guess the repair does the other way around. Fix your store based on the database.
Ariakenom has quit [Remote host closed the connection]
<selfsymmetric-pa> Oh I can't fix it manually anyway. Read-only.
Ariakenom has joined #nixos
jgt1 has quit [Ping timeout: 240 seconds]
<selfsymmetric-pa> `error: file 'nixpkgs/nixos' was not found in the Nix search path`
<selfsymmetric-pa> Weird, my `$NIX_PATH` looks good.
jgt1 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72742 → twa: 1.8.0 -> 1.9.1 → https://git.io/Je2Lf
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Jew4l
xeji has joined #nixos
<selfsymmetric-pa> My `nix-channel` is good too.
Shoubit has quit [Quit: Leaving]
xeji has quit [Client Quit]
gxt has joined #nixos
<evanjs> Bah. lorri user service is acting up, again. Any thoughts? config -- https://github.com/evanjs/nixos_cfg/blob/9709a7e6c976d9ddfbb57314251b5687c9acffaf/config/new-modules/lorri.nix
<evanjs> It's dying trying to process repos using the nixpkgs-mozilla overlay via fetchTarball
<evanjs> e.g. moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
Shoubit has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<evanjs> ... wtf why is it working now...
jgt1 has quit [Ping timeout: 246 seconds]
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa> Okay, back to this: `error: while setting up the build environment: getting attributes of path '/etc/hosts': No such file or directory`
<selfsymmetric-pa> That's no fun.
<deni> does anyone have any clue how it's possible that nix-build for my haskell project is working fine but nix-shell and then `cabal new-build` inside is giving me an error saying: `error, called at libraries/containers/Data/Map/Internal.hs:610:17 in containers-0.6.0.1:Data.Map.Internal`
<deni> it's not even starting to compile my code...it just errors out before it does anything
<__monty__> Sounds like cabal is crashing.
<evanjs> Okay, got it. It's because I stopped the user service and ran lorri daemon manually. collecting garbage with the service up put me back into a broken state
<evanjs> "unpacking \'https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz\'...", "tar (child): gzip: Cannot exec: No such file or directory",
<selfsymmetric-pa> My `/etc/hosts` is pointing to a no-longer-existing file. How do I ask NixOS to regenerate it?
<evanjs> is the error I keep getting. Though gnutar is in the path, which is included in the unit's ENVIRONMENT... etc
<cransom> selfsymmetric-pa: /run/current-system/activate can do it, or you can also pluck the right line out of it.
<kumikumi> When looking at .nix files in the nixpkgs repository, I'm seeing a lot of 'description' and 'example' fields with almost human readable text in them. Are they used to generate some sort of documentation? Can I view it somehow?
<selfsymmetric-pa> cransom: Thanks for the suggestion! That script ran, but did not change my error.
<selfsymmetric-pa> I'll take a look at it more deeply.
<cransom> do you have an /etc/static/hosts?
<selfsymmetric-pa> cransom: I do, but it is a symlink that points at a non-existent file in /nix/store.
gxt has quit [Ping timeout: 260 seconds]
<kumikumi> ...Also, if not, then what part of the system is making use of those strings?
<selfsymmetric-pa> Hm. `Died at /nix/store/vn1xs9s2akf79y1pbya2qldydbf2b22m-setup-etc.pl line 23.`
<evils> kumikumi: you mean like this? https://nixos.org/nixos/options.html it's also available as `man configuration.nix`
<cransom> selfsymmetric-pa: /etc/hosts is a link to /etc/static/hosts , so if you fix the link, it still will be empty. if you are trying to get network up to recover, you can make an empty file
<selfsymmetric-pa> cransom: Good suggestion, I'll try that.
gxt has joined #nixos
<betaboon> samueldr: you around ?
<kumikumi> evils: maybe that was it, thanks
<samueldr> definitely not asquared, betaboon
<betaboon> xD how about acubed ?
<selfsymmetric-pa> `touch: cannot touch '/nix/store/3l3yjgmzrrrhxb5zfr830nnnyqb54rj1-etc-hosts': Read-only file system`
<exarkun> selfsymmetric-pa: Maybe you just want to take your system configuration and rebuild the whole system with it it from a rescue environment (live cd or whatever)
<deni> __monty__: sounds like it.... :/
<betaboon> samueldr: i think I'm done porting the installer tests to python test-runner. but i based that on my refind branch. not pushed yet. anything against basing that off the refind branch ?
<selfsymmetric-pa> exarkun: Yeah I think I might need to if this doesn't work.
<selfsymmetric-pa> Looks like I'm making it farther now. Thanks cransom!
<samueldr> as I think you're thinking, yes, it should be its own self-contained commit/PR, is that it, betaboon?
<selfsymmetric-pa> cransom++
<{^_^}> cransom's karma got increased to 2
<samueldr> looked into fixing the initial EFI boot or left this for someone else / a later time?
<betaboon> samueldr: ok so self-contained it is. just have to remember (aka write in issue) that the refind branch needs changes after the installer branch is merged.
domogled has joined #nixos
<samueldr> I think if you keep the same exact commit object as your first commit object on the refind branch, things should work out
MinceR_ is now known as MinceR
<samueldr> (and at the very least, be self-explanatory for a further rebase)
<betaboon> samueldr: no did not work on the initial efi boot yet. maybe tomorrow. just followed your comment and did the python-test-runner port first XD
<samueldr> good, no pressure, was mostly curious
<samueldr> though, now that I'm thinking about it... we probably *still* want the first boot as bios, with install as removable
<samueldr> well, an additional test
<samueldr> because we want to know if for any reason it fails to work as expected
<samueldr> though, it could also be tested by removing the use of the nvram in the tests
<Izorkin> Mic92: php error build with external mysqli=mariadb.connector-c-v3.1. With mariadb.connector-c v2.3.7 nornal build. Need return version 2.3.7 ?
<betaboon> samueldr: i gues i would vote for an additional test. bios-mode-install and efi-mode install should both be tested seperately i guess
<samueldr> yes, that's what I meant
selfsymmetric-pa has quit [Ping timeout: 252 seconds]
domogled has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @betaboon opened pull request #73237 → nixos/tests/installer: port to python → https://git.io/JewBv
<betaboon> samueldr: mind taking a look ? :)
<samueldr> looking
<asymmetric> on a friend's machine, the grub boot entries don't update on nixos-rebuild boot
<betaboon> i havent ran all of the installer tests locally yet
<asymmetric> any idea what it could be?
domogled has joined #nixos
kuznero has joined #nixos
<kuznero> Hi All!
<thefloweringash> asymmetric: unmounted /boot ?
rauno has joined #nixos
<betaboon> samueldr: just pushed some more changes. just had to correct the whitespacing in `createPartitions` python code. as the linter that is being run during tests complained :/
<kuznero> Can someone please help me understand `system.userActivationScripts`. I was thinking about creating some symlinks under `~/.config` for a given user. I have a feeling it works for any user in the system instead of a specific user.
m1sosoup has quit [Quit: Leaving]
<asymmetric> thefloweringash: it's mounted, /dev/nvme0n1p1 on /boot type vfat (rw,...)
<nh2> flokli: urgh, no checking of return codes of external programs, neither in the old bash code nor in the new Python code https://gitlab.gnome.org/GNOME/gtk/commit/3fa28ffd92ea77da5e20842fbc621bd0a9fec557
<evils> kuznero: does this clear something up? https://nixos.org/nixos/options.html#system.useract
Thra11_ has quit [Ping timeout: 240 seconds]
<deni> ok figured out my error.... cabal was crashing inside nix repl because the cabal file had a rogue flag in there ... still the error could be better.
<kuznero> evils, not exactly - I saw it first. But what's unclear is from the context of which specific user systemd will run it? From any user that is configred/logged-in?
<evils> kuznero: i'm not actually familiar with the option, but the description says they're run when you run nixos-rebuild, i assume that's the only time they're run
<kuznero> evils, that actually makes sense. And then I hope it runs as a specific user. Will check that, thanks!
cosimone has joined #nixos
Chiliparrot has joined #nixos
cosimone has quit [Client Quit]
cosimone has joined #nixos
<evils> anyone know how to get this pattern matching / expansion to get passed correctly? `preFixup = '' wrapGApp "$out/bin/!(*.kiface)" '';`
domogled has quit [Ping timeout: 240 seconds]
rauno has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
Thra11_ has joined #nixos
<betaboon> FRidh: on the installer-tests pythonDict stuff. you mean like using `json.loads` combined with `builtins.toJSON`, right ?
lassulus_ has joined #nixos
domogled has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
ambro718 has joined #nixos
<nh2> jtojnar: commit 41c575b6 - "meson: use plain buildtype - This should allow us to inherit optimization/striping from stdenv"
<nh2> It seems this hides the actual intent of what you want to build from meson, so whatever the package author has coded for that will not be run.
<nh2> Is this good?
<nh2> Currently key meson packages like gtk3 build with `--buildtype=plain`; the only reason they have `-O2` at all is because hardening flags turn them on.
<nh2> If we want stdenv to set such things, shouldn't we make stdenv set `mesonBuildType` accordingly?
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
<ambro718> Anyone tried enabling kernel CONFIG_PREEMPT (full kernel preemption) on 19.09? It caused my system to fail to boot with kernel backtraces clearly related to this, it may or may not be related to NVidia driver.
halfbit has quit [Ping timeout: 276 seconds]
wildtrees has joined #nixos
wildtrees has quit [Max SendQ exceeded]
<{^_^}> [nixpkgs] @rycee pushed 2 commits to staging: https://git.io/JewB9
wildtrees has joined #nixos
<jtojnar> nh2 I thought stdenv builder having full control over compiler flags is what we want
warbo has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #73234 → libmad, mpg321: fix four CVE → https://git.io/Jew8v
halfbit has joined #nixos
<kumikumi> I'm trying to fix my grub resolution. On a normal linux I would edit /etc/default/grub and add a few lines such as GRUB_GFXMODE=2560x1440x24 and GRUB_GFXPAYLOAD_LINUX = "keep". How to do the equivalent in NixOS?
<kumikumi> I've been looking at https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/loader/grub/grub.nix and can't make any sense out of it
wildtrees has quit [Client Quit]
wildtrees has joined #nixos
<evils> kumikumi: sounds like you want this https://nixos.org/nixos/options.html#gfx
<kumikumi> oh, never noticed the payload option there, thanks again
<{^_^}> [nixpkgs] @c0bw3b merged pull request #68338 → Update trousers to latest, use regular openssl → https://git.io/JeJFe
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @reanimus to master « trousers: 0.3.13 -> 0.3.14 »: https://git.io/JewBA
<warbo> hello, I'm trying to debug derivation X (a test suite) which is a dependency of another derivation Y. I'd like to build X directly (via nix-build -E '...', nix repl, etc.) without having to build Y, but I can't find a reference to a .drv for X; only a path like "/nix/store/...-X" in the build script for Y.
rtjure has quit [Quit: rtjure]
<warbo> is there a way to access dependencies which only appear inside strings (e.g. do they appear in some special attribute, etc.)?
chloekek has joined #nixos
ldlework_ is now known as ldlework
<warbo> I've tried running 'nix-store -q --deriver' on that path, but it says 'path is not valid' (I assume since it's not been built yet)
<{^_^}> [nixpkgs] @globin pushed 4 commits to structured-attrs: https://git.io/JewBh
<evils> warbo: would `nix why-depends` be of use?
<clever> warbo: try `nix-store --query --tree /nix/store/foo.drv`
jb55 has joined #nixos
<{^_^}> [nixpkgs] @markuskowa merged pull request #73116 → [r19.09] gdal: add patch for CVE-2019-17545 → https://git.io/JeVKs
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to release-19.09: https://git.io/JewRU
<warbo> clever: thanks, that seems to bring it up (in the worst case I can grep for the name)
fendor has quit [Remote host closed the connection]
<clever> warbo: i tend to |less, then /search and follow the lines up
<warbo> evils: I've not seen why-depends before; although it seems to need 2 paths
<clever> warbo: you are asking it, why does a depend on b
<{^_^}> [nixpkgs] @WilliButz opened pull request #73239 → prometheus-blackbox-exporter: 0.15.1 -> 0.16.0, disable tests → https://git.io/JewRL
<l33[m]> I need to delivery a 5 min lighting talk in nixos... is it possible
<l33[m]> Any got any slides i could deliver in 5 mins lol
<lordcirth_> l33[m], depends, how much does your audience know?
<l33[m]> Impossible mission
Bryophyllum has joined #nixos
<lordcirth_> If the audience is familiar with normal Linux package management, you could probably pull it off
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @reanimus to release-19.09 « trousers: 0.3.13 -> 0.3.14 »: https://git.io/JewRm
<l33[m]> Lol
jgeerds_ has joined #nixos
<Bryophyllum> Hi! I'd like to wrap binaries, such as Firefox, in firejail. How do I reference a binary name in my configuration.nix in conjunction with this option: https://nixos.org/nixos/options.html#firejail+wrapped ?
<{^_^}> [nixpkgs] @markuskowa merged pull request #73096 → drawio: 12.1.7 -> 12.2.2 → https://git.io/JeVzo
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JewRs
<srhb> Bryophyllum: eg "${pkgs.hello}/bin/hello"
<srhb> Bryophyllum: or better yet, "${lib.getBin pkgs.hello}/hello"
<{^_^}> [nixpkgs] @filalex77 opened pull request #73240 → licensor: init at 2.0.0 → https://git.io/JewRC
<{^_^}> [nixpkgs] @markuskowa merged pull request #72973 → home-manager:2019-10-23 -> 2019-10-29 → https://git.io/Jea9r
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/JewRl
<{^_^}> [nixpkgs] @FRidh opened pull request #73241 → nixos boot test: replace pythonDict with toJSON → https://git.io/JewRB
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<Bryophyllum> srhb: Thanks for your reply. Unfortunately, I must be doing something terribly wrong because I get syntax errors. `programs.firejail.wrappedBinaries = { "${lib.getBin.pkgs.firefox-wayland}/firefox" };`
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
<srhb> Bryophyllum: The {} indicates that it's an attributeset, so you'd want something like
<srhb> Bryophyllum: programs.firejail.wrappedBinaries = { firefox-wayland = "${lib.getBin pkgs.firefox-wayland}/firefox"; };
<srhb> Bryophyllum: That is, it's a key value set (attribute set) -- so each value (RHS) goes with a key (LHS).
leotaku has joined #nixos
fendor has joined #nixos
Thra11_ has quit [Ping timeout: 240 seconds]
shibboleth has quit [Quit: shibboleth]
<Baughn> ...well, I think I broke Nix.
<Baughn> Not sure how.
hexo has quit [Ping timeout: 240 seconds]
stepcut has quit [Remote host closed the connection]
<Bryophyllum> srhb: I had to add "lib" on the beginning of my .nix file, and while it progressed building a new generation further, it error'd out on another syntax error, though. "value is a function while a set was expected"
stepcut has joined #nixos
<clever> Bryophyllum: which line does it point to?
<srhb> Bryophyllum: Are you sure you didn't accidentally replace the space with a dot again?
<clever> Baughn: thats a known bug (and fixed in master)
<clever> Baughn: it happens if you have more channels then :'s in $NIX_PATH
<Baughn> ...so, always?
<srhb> Baughn: export NIX_PATH=:::::$NIX_PATH -- easy!
<Baughn> I guess I'll get the fix in a couple days, then. Couldn't find it when searching.
<srhb> Repeat ad nauseam
<clever> Baughn: by default, you have 1 channel and 4 elements in NIX_PATH, so it works
<srhb> ;-)
<clever> Baughn: its on the nix issue tracker, and i think it was under `nix run`, both run and search are broken
<Baughn> I have 2 channels and 1 element in NIX_PATH. :P
<clever> Baughn: add one more element to NIX_PATH and it should work
<Bryophyllum> srhb: The line that contains --> `firefox-wayland = "${lib.getBin pkgs.firefox-wayland}/firefox";`
<srhb> Bryophyllum: That looks right to me.
<srhb> Bryophyllum: The reason I asked as above is because that is the exact error you'd get if you wrote `lib.getBin.pkgs.firefox-wayland` instead of `lib.getBin pkgs.firefox-wayland`
<Bryophyllum> srhb: Have changed to `firefox-wayland = "${pkgs.firefox-wayland}/bin/firefox";` and it's worked
<srhb> Good good.
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-unstable-small: https://git.io/Jew4l
chreekat has quit [Ping timeout: 276 seconds]
Thra11_ has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #73242 → mariadb-connector-c: 3.1.4 -> 3.1.5 → https://git.io/JewRA
chreekat has joined #nixos
<catern> what's the best way to change CFLAGS for all packages at once? specifically I want to do -march=something for every package
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c64e9dadfe4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<nh2> jtojnar: hmm, maybe it is right. The meson docs call it "no extra build flags are used, even for compiler warnings, useful for distro packagers and other cases where you need to specify all arguments by yourself" which really does support the intent. I'm just worried that people will write `if`s on the build type into their meson files
<nh2> flokli: I PR'd fixed static builds to gtk4 meson: https://gitlab.gnome.org/GNOME/gtk/merge_requests/1172#note_645634
exfalso has joined #nixos
<nh2> exfalso: welcome
kenran has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
<{^_^}> [nixos-hardware] @asymmetric opened pull request #131 → intel: add intel-media-driver → https://git.io/Jew0O
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @volth opened pull request #73244 → perlPackages.LWPUserAgentDNSHosts: init at 0.13 → https://git.io/Jew0G
<Bryophyllum> srhb: Oh. You're right. I'm sorry ;^; I've found this in the release notes of 18.09, and realized what you'd meant: https://nixos.org/nixos/manual/release-notes.html#sec-release-18.09-highlights
<srhb> Bryophyllum: No problem at all :)
FRidh has quit [Quit: Konversation terminated!]
<srhb> catern: Usually override global bits like stdenv or mkDerivation
<srhb> catern: Maybe check adapters.nix :)
fendor has quit [Ping timeout: 276 seconds]
abathur has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « ffmpeg: fix build »: https://git.io/Jew0E
<Izorkin> ,locate nsenter
<{^_^}> Found in packages: busybox, utillinux, libuuid.bin, utillinux.bin
tilpner_ has joined #nixos
tilpner has quit [Ping timeout: 265 seconds]
<Bryophyllum> huh. Firejail do not kick in when launching firefox...
<{^_^}> [nixpkgs] @risicle opened pull request #73245 → libxslt: add patch for CVE-2019-18197 → https://git.io/Jew06
gagbo has joined #nixos
ddellacosta has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @offlinehacker merged pull request #73150 → elasticsearchPlugins: add ingest-attachment → https://git.io/JeV76
<{^_^}> [nixpkgs] @offlinehacker pushed 5 commits to master: https://git.io/Jew0M
ddellacosta has joined #nixos
kenran has quit [Ping timeout: 265 seconds]
Bryophyllum has quit [Quit: Bryophyllum]
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
Fare has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
growpotkin has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juaningan has quit [Remote host closed the connection]
mexisme has joined #nixos
exfalso has quit [Ping timeout: 240 seconds]
kuznero has quit [Remote host closed the connection]
kuznero has joined #nixos
alexherbo2 has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73216 → antibody: 4.1.2 -> 4.2.0 → https://git.io/JewG9
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JewEZ
civodul has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73137 → nixosTests.xmonad: port to python → https://git.io/JeVMa
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JewEl
mexisme has quit [Ping timeout: 240 seconds]
exfalso has joined #nixos
<asymmetric> does anyone use nginx's webdav module?
domogled has quit [Quit: domogled]
<asymmetric> the docs say "it should be enabled with the --with-http_dav_module configuration parameter", which i presume it means it's a parameter to pass to the nginx binary?
<clever> asymmetric: is that a flag for nginx itself, or the nginx configure script?
<asymmetric> clever: i'm not sure actually.. do you have a gut feeling?
<multun> it's a configure script parameter
<clever> asymmetric: then you want to add it to the configureFlags with an override
shibboleth has joined #nixos
<clever> asymmetric: https://github.com/cleverca22/nixos-configs/blob/master/rtmp.nix is how i enabled rtmp in nginx
<hodapp> weird, 'nixos-rebuild switch --upgrade' is failing due to clang & LLVM
exfalso has quit [Ping timeout: 240 seconds]
<clever> hodapp: what was the full output when it failed?
<{^_^}> [nixpkgs] @jonringer merged pull request #71705 → pythonPackage.jsonlines: init at 1.2.0 → https://git.io/JeRdp
<{^_^}> [nixpkgs] @jonringer pushed commit from @sondr3 to master « pythonPackage.jsonlines: init at 1.2.0 »: https://git.io/JewEP
Chiliparrot has joined #nixos
<tilpner_> asymmetric: Did you check if it's already enabled?
<hodapp> removed clang_7 from systemPackages but I think something else is including it
<clever> hodapp: it loosk like irony-server is broken, simplest option is to disable/remove that
<asymmetric> tilpner_: lol you're right, it is :D
fendor has joined #nixos
<hodapp> clever: ahh, good to know
tilpner_ is now known as tilpner
<clever> hodapp: and you only need the --upgrade once, even if it fails, the channels are still updated
<hodapp> just ran it twice from force of habit after editing my config
<{^_^}> [nixpkgs] @jonringer closed pull request #73219 → ansible: 2.8.4 -> 2.9.0 → https://git.io/JewZa
<clever> hodapp: behind the scenes, all --upgrade does, is run `nix-channel --update` for you
<{^_^}> [nixpkgs] @markuskowa merged pull request #73240 → licensor: init at 2.0.0 → https://git.io/JewRC
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JewE9
fenedor has joined #nixos
<hodapp> it was easier to press up-arrow twice and hit enter than to remove the --upgrade :P
<clever> hodapp: nixos and nix-channel have seperate generations, so its not entirely atomic
<clever> and nixos-rebuild --rollback wont undo --upgrade fully
Thra11_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to master « calls: fix build »: https://git.io/JewEH
<{^_^}> [nixpkgs] @jonringer merged pull request #72974 → Add the missing pyjson5 module → https://git.io/Jea99
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JewE7
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71622 → installer: use sddm in plasma5 → https://git.io/JeRac
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JewEN
mexisme has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #73187 → ceph: fixes → https://git.io/Jewkj
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JewEh
fragamus has joined #nixos
tmplt has joined #nixos
<tmplt> Is it possible to import /etc/nixos/configuration.nix and somehow get all options set in that file? A `import ./configuration.nix` yields a lambda instead.
<rnhmjoj> could someone check out PR #73183?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/73183 (by rnhmjoj, 22 hours ago, open): monero: 0.14.1.0 -> 0.15.0.0 [backport]
drakonis_ has joined #nixos
<infinisil> tmplt: Not really, what do you need this for?
earendil[m] is now known as gregor-alexandru
<exarkun> infinisil: wait, why not? just call the lambda with the right args and inspect the return value.
<tmplt> infinisil: automating an installation ISO. Disk setup/mounting is done, but I want to automatically set some options in configuration.nix before installation. Users, network, etc.
bvdw has quit [Read error: Connection reset by peer]
drakonis has quit [Ping timeout: 245 seconds]
<tmplt> the actual modifications can be done with builtins.[to|from]JSON and jq, I just need the actual expression
gkmngrgn has joined #nixos
bvdw has joined #nixos
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<infinisil> exarkun: And how do you get the right args? What about `mkIf`'s and other module system shenanigans? It just doesn't really work well
<exarkun> infinisil: Somehow NixOS manages to do it. At worst, do everything it does.
<exarkun> At best, refactor its implementation to make the relevant pieces more easily reusable and then reuse them. :)
<tmplt> infinisil: it doesn
<infinisil> tmplt: Can you write a separate file with your modifications and include it with `imports`?
<exarkun> It would be kind of nice if NixOS took the whole pile of configuration that it consumed, though, and splatted it out somewhere easily inspectable.
<infinisil> exarkun: If you do that, you get what `import <nixpkgs/nixos> {}` does, aka the result of the module system evaluation
<exarkun> infinisil: That's why you'd have to do the refactoring
<infinisil> But that doesn't allow you to focus on a single file (at least not easily)
<infinisil> exarkun: What's there to refactor?
<exarkun> It's entirely likely that I'm not talking about what tmplt wants
<tmplt> infinisil: I suppose, yeah. It's only for some slight modifications to the configuration of the automatically generated one (via nixos-generate-config)
<exarkun> but instead something that I want that's vaguely similar to someone squinting :)
hexo has joined #nixos
<infinisil> exarkun: NixOS allows you to inspect values already with `(import <nixpkgs/nixos> {}).config.*`, do you not mean that?
ckauhaus is now known as ckauhaus[afk]
<exarkun> infinisil: I dunno, I might. I thought there were some caveats with that... but I can't remember what they were supposed to be.
* infinisil can't remember any :)
<hodapp> wut. just saw a bunch of "-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib" and the like scroll by
<shapr> screaming into the void
<infinisil> hodapp: Nix Sto REEEEEEEEEEEEEE
<hodapp> yet nothing has that actual path... and the build still was fine
leotaku has quit [Ping timeout: 240 seconds]
<infinisil> It's some trickery to avoid runtime dependencies
<hodapp> huh
mexisme has quit [Ping timeout: 265 seconds]
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos
<tmplt> Is it possible to add an import via `nixos-install --option`?
<{^_^}> [nixpkgs] @jonringer opened pull request #73247 → python3Packages.uvloop: 0.13.0 -> 0.14.0 → https://git.io/Jewuu
<{^_^}> [nixpkgs] @jonringer opened pull request #73248 → python3Packges.sqlalchemy: disable mem tests on darwin → https://git.io/Jewua
<{^_^}> [nixpkgs] @jonringer merged pull request #72940 → python3Packages.google_cloud_vision: fix tests → https://git.io/Jeaag
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.google_cloud_vision: fix tests »: https://git.io/JewuV
<{^_^}> [nixpkgs] @jonringer merged pull request #73127 → python3Packages.datasette: 0.29.3 -> 0.30.2 → https://git.io/JeVXT
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.datasette: 0.29.3 -> 0.30.2 »: https://git.io/Jewuo
<infinisil> tmplt: Hm, how about writing a `configuration.nix` just containing `{ imports = [ ./user-conf.nix ./hardware-configuration.nix ]; <custom stuff>; }` and you move the original configuration.nix to user-conf.nix
<tmplt> infinisil: ooh, that could work
<tilpner> tmplt: Does NIXOS_EXTRA_MODULE_PATH=$PWD/foo.nix nixos-install work for you?
<infinisil> Ah and leave out the hardware-configuration.nix because it's already imported from configuration.nix
wildtrees has quit [Ping timeout: 268 seconds]
NoctisLabs has quit [Quit: WeeChat 2.6]
rardiol has joined #nixos
<tmplt> tilpner: never heard of that envvar before, but I'll try both approaches
<aanderse> oh boy so i probably haven't fired up steam in a few weeks
<aanderse> launch and get this (again): Error: You are missing the following 32-bit libraries, and Steam may not run
<tilpner> tmplt: See nixos/lib/eval-config.nix:30
<infinisil> tilpner: Neat, haven't seen this one either
NoctisLabs has joined #nixos
<infinisil> Though it's not as permanent as doing some file shuffling
leotaku has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @jonringer to nixpkgs-19.09-darwin « rust-bindgen: 0.51.0 -> 0.51.1 »: https://git.io/Jewc4
kuznero has quit [Quit: Leaving]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/79748e53e6c (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @jonringer merged pull request #72928 → pythonPackages.wurlitzer: add missing python2 dependencies → https://git.io/Jeaz9
<{^_^}> [nixpkgs] @jonringer pushed to master « pythonPackages.wurlitzer: add missing python2 dependencies »: https://git.io/JewuD
<slabity> How do other people manage their passwords for their nixos configurations? I've been trying to get `nixos-rebuild` to use `pass`, but it has not been going well
<{^_^}> [nixpkgs] @aanderse closed pull request #54348 → kak-lsp: init at 6.0.1 → https://git.io/fhuGA
<slabity> And I'd prefer not going back to generating a dozen password files and pointing configs to them
<adisbladis> slabity: Passwords for what?
<{^_^}> [nixpkgs] @c0bw3b opened pull request #73249 → bgpdump: 2017-09-29 -> 1.6.0 → https://git.io/JewuH
<adisbladis> Why do you have passwords in your configs?
<adisbladis> Other than the obvious unix passwords..
<{^_^}> [nixpkgs] @aanderse merged pull request #73108 → steam: Add libva to chrootenv → https://git.io/JeVaA
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jewu7
<slabity> adisbladis: Everything that has a config option for a password? They're all over the place
<slabity> Including Unix passwords
<tilpner> I think I've seen someone drawing passwords at eval from pass with extra-builtins
<{^_^}> [nixpkgs] @wamserma opened pull request #73250 → guake: add missing dependency on setuptools → https://git.io/Jewu5
<{^_^}> [nixpkgs] @jtojnar pushed to master « calls: 2019-10-09 → 2019-10-29 »: https://git.io/Jewud
<tilpner> Can't find a link though
inkbottle has quit [Ping timeout: 265 seconds]
<infinisil> Not recommended!
<{^_^}> [nixpkgs] @aanderse closed pull request #73157 → steam: add libva as a dependency, otherwise steam doesn't start anymore → https://git.io/JeVNz
<infinisil> Allowing builtins.exec is evil and shouldn't be used even for that
<slabity> tilpner: That's what I'm going, but it doesn't seem to work with anything except NixOps
<tilpner> infinisil: Other than complicating your setup for eval, why?
jco_ has quit [Quit: WeeChat 2.6]
<slabity> Not recommended
<infinisil> tilpner: For one, you can't allow only one invocation of builtins.exec, meaning enabling the --unsafe-blablabla allows any Nix code you evaluate to run any code on your machine
tmplt has quit [Remote host closed the connection]
<elvishjerricco> infinisil: Thats what nix-plugins is for. You get to control what has access to exec
<tilpner> infinisil: "If the extra-builtins-file exists, it is imported and passed a set containing at least the importNative and exec primops, even if allow-unsafe-native-code-during-evaluation is false, and the result is available as extraBuiltins"
inkbottle has joined #nixos
<infinisil> Ah I see
<infinisil> I kind of assumed it would be done with the flag
drakonis has joined #nixos
<elvishjerricco> But yea, pass at eval time is something to avoid without a NixOps-like key management feature
<slabity> Regardless, it still only works with NixOps
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73251 → nixos/slim: remove → https://git.io/Jewup
<tilpner> I should not that I haven't used either
<tilpner> *note
<slabity> I'm looking for a more general solution for nixos, homemanager, etc
<elvishjerricco> Which, granted, it'd be sweet if nixos-rebuild had something for this
<{^_^}> [nixpkgs] @jtojnar pushed 55 commits to staging-next: https://git.io/Jewuh
<{^_^}> [nixpkgs] @jtojnar pushed 56 commits to staging: https://git.io/Jewzv
<elvishjerricco> slabity: You could set up a systemd service that runs pass and puts keys in places. You'd need to familiarize yourself with systemd-ask-password though, and GPG doesn't really like to take passwords from automated sources, so this would be rough
<infinisil> Hm, some rebuild wrapper that encrypts all secrets, deploys the encrypted secrets with nix, then has something to unlock them on the running machine perhaps?
<adisbladis> slabity: My solution so far in a few instances have been to use git-crypt and have a secrets.nix file with all secrets inside
<gchristensen> ideally secrets can be rotated without a `nixos-rebuild switch` action
fendor has quit [Remote host closed the connection]
<elvishjerricco> adisbladis: So you have your secrets put in the nix store, where they're world-readable?
<slabity> evlishjerricco: Would that actually solve the issue? My problem is getting the password secrets at build-time
<{^_^}> [nixpkgs] @eraserhd opened pull request #73252 → fop: builds on all platforms → https://git.io/JewzJ
<adisbladis> elvishjerricco: Only when unavoidable.
<elvishjerricco> slabity: I'm suggesting not doing that, but getting the secrets at runtime
<adisbladis> Also I do the same for initialHashePassword
<elvishjerricco> slabity: It'd have the added benefit of addressing gchristensen's concern about rotating keys without rebuilding
<adisbladis> Secrets dont belong in plain text
<adisbladis> Keys dont belong on disk
<slabity> Sounds like password management in Nix is a bit messy...
<gchristensen> Nix doesn't do secret management
<elvishjerricco> slabity: Not any moreso than any other distro
<adisbladis> slabity: It's equally messy as anything else
<gchristensen> by definition, since Nix's store is 100% world readable
<{^_^}> [nixpkgs] @risicle opened pull request #73253 → [r19.03] gdal: add patch for CVE-2019-17545 → https://git.io/JewzL
<gchristensen> I consider secrets to be state
<adisbladis> ++
<slabity> Sounds like "stateless" password management in Nix is a bit messy...
<adisbladis> Programmers against (the) state
<gchristensen> under the consideration of secrets being state, there is no stateless state management :{
<slabity> I want my stateful systems to be stateless though. It's not fair
<infinisil> We all already have state though
<infinisil> Our NixOS configuration files
fenedor is now known as fendor
<slabity> I can't just put my passwords in my NixOS configuration though...
<adisbladis> slabity: What passwords though
<slabity> And thus the circular issue of how to manage my passwords
<adisbladis> Is there another way?
<adisbladis> Passwords are a flawed concept and should be avoided
<adisbladis> If possible
<infinisil> By NixOS config I don't mean only configuration.nix, but everything around it too
<infinisil> Like wrapper/deployment scripts, everything you'd have in your config repo
<infinisil> And secrets should be part of that too (although hidden from the public)
<slabity> Okay, I get in an ideal world passwords are bad. But the world isn't ideal and I need to use passwords
<gchristensen> it sounds like we've gotten to meta for slabity and they're just tring to do their job or whatever
<slabity> Oh no, not my job. This is personal stuff
fragamus has joined #nixos
<adisbladis> slabity: I've mostly managed to avoid it for quite some time, everything that can be authenticated with keys are for example
<adisbladis> I'm genuinely curious if it's possible to not use passwords for your use cases
<slabity> My use case is being able to verify authenticity of a person using nothing but a keyboard attached to the computer
<slabity> If you can think of a way to not use passwords, then by all means let me know :P
<adisbladis> slabity: Right, using PAM?
<slabity> Oh. Didn't think of that
<slabity> I wonder if I can write a PAM module to allow `nixos-rebuild` to access my `pass` store
gkmngrgn has quit [Ping timeout: 246 seconds]
<slabity> Or to allow my user to run nixos-rebuild without sudo
<adisbladis> You don't have to store the plain text password in your config
<adisbladis> Store the hash
<infinisil> I thought even having hashed passwords in your /nix/store isn't ideal
<infinisil> Though not sure why that would be the case
<adisbladis> infinisil: I trust sha512 (and mkpasswd adds a salt) :)
<slabity> I am already using `hashedPassword`. `initialHashedPassword` isn't really a better option
<adisbladis> slabity: They are equivalent
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<infinisil> Although, I guess the problem is that hashed passwords can be brute forced without having access to the thing where you would normally enter it
<{^_^}> [nixpkgs] @markuskowa merged pull request #72456 → btrbk: 0.28.3 -> 0.29.0 → https://git.io/JegOW
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jewzs
<slabity> That seems more if you want `mutableUsers = true`
<gchristensen> with sha256 / sha512 you just have to race somebody finding a collision with making the password useless. so make sure you rotate your passwords once every billion years or so.
Fare has quit [Ping timeout: 265 seconds]
<adisbladis> Hmm, interesting.
<adisbladis> I thought the default tmpfs size was always 50% of ram
<clever> adisbladis: yeah, if a size isnt specified, the kernel defaults the size to 50% of ram
<adisbladis> clever: But my / ends up being 3G unless I specify the size O.o
<clever> adisbladis: is / actually a tmpfs? what is the full output of `mount` ?
<clever> adisbladis: and `free -g` ?
<adisbladis> Yes, / is a tmpfs mount
<adisbladis> free -g: http://dpaste.com/0T7V576
<adisbladis> I remounted it with a larger size already, so mount wont be that interesting
<gchristensen> adisbladis: I guess you don't mind lots of your rambeing used by the fs
<adisbladis> gchristensen: Nope :)
<clever> adisbladis: 94gig of ram!?
<adisbladis> clever: Yeah?
<adisbladis> :)
<clever> adisbladis: there must be an upper limit on tmpfs, that ive never seen, due to lack of insane hardware :P
<{^_^}> [nixpkgs] @Moredread opened pull request #73255 → mediathekview: 13.2.1 -> 13.5.0 → https://git.io/Jewzc
<adisbladis> I mean.. I guess so too
<adisbladis> It's the first time I see this behaviour
Fare has joined #nixos
<adisbladis> clever: But I'd like to find anything to figure out why that was the case
<clever> adisbladis: kernel source is your best option
<{^_^}> [nixpkgs] @markuskowa merged pull request #72534 → include-what-you-use: 0.12 -> 0.13 → https://git.io/Jewz8
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jewz4
<slabity> Compression
<adisbladis> clever: I wonder if thats a rabbit hole I want to go down...
<clever> mm/shmem.c
<clever> 3431 ->>>>>>>->>>>>>>->>>>>>>pr_err("tmpfs: Bad mount option %s\n", this_char);
chloekek has quit [Ping timeout: 276 seconds]
<clever> adisbladis: pretty sure its this file
<clever> 3367 ->>>>>>>->>>>>>>if (!strcmp(this_char,"size")) {
<clever> 3369 ->>>>>>>->>>>>>>->>>>>>>size = memparse(value,&rest);
<clever> 3370 ->>>>>>>->>>>>>>->>>>>>>if (*rest == '%') {
<clever> adisbladis: you can explicitely set `size=60%` and it will figure things out on its own
<clever> 102 static unsigned long shmem_default_max_blocks(void)
<clever> 104 ->>>>>>>return totalram_pages / 2;
<clever> adisbladis: it also has a nr_blocks= mount option, which just bypasses the byte->block conversion
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> 3619 ->>>>>>> * Per default we only allow half of the physical ram per
<clever> 3620 ->>>>>>> * tmpfs instance, limiting inodes to one per page of lowmem;
<clever> 3621 ->>>>>>> * but the internal instance is left unlimited.
lukash_ is now known as lukash_|away
<clever> adisbladis: i dont see any sign of a 3gig limit, what happens if you just mount a new tmpfs to an empty dir?
<adisbladis> clever: It becomes 50% of ram
tmplt has joined #nixos
<clever> adisbladis: nixos must be setting an upper limit somewhere
<tmplt> infinisil-m: tilpner: both approaches worked! thanks
<adisbladis> clever: I can't find it... And it's not like it's a real problem or anything
<adisbladis> Just curious
<clever> adisbladis: how is it booting? netboot image?
<adisbladis> clever: Nope, regular systemd-boot from local disk
shibboleth has quit [Quit: shibboleth]
<clever> adisbladis: why is / a tmpfs then?
<adisbladis> clever: Because I want the system to be stateless
<clever> adisbladis: ah, so youve set fileSystems."/" = { fsType = "tmpfs"; }; ?
<adisbladis> Yes
<lordcirth_> adisbladis, if you have a nice config for building a stateless install, I'd be curious to see it
<{^_^}> [nixpkgs] @cptrodolfox opened pull request #73256 → dotenv: fix broken package and updated megaparsec → https://git.io/Jewzo
<{^_^}> [nixpkgs] @Moredread opened pull request #73257 → maintainers: add key for moredread → https://git.io/JewzX
<lordcirth_> adisbladis, thanks!
<adisbladis> lordcirth_: And then my $HOME has symlinks to persistent store https://github.com/adisbladis/nixconfig/blob/master/home-adisbladis-nixpkgs/home.nix#L22
<adisbladis> For things I want to be stateful
<adisbladis> But state is opt-in
<lordcirth_> Ah, I was wondering how you'd do that
<adisbladis> gchristensen is doing similar things but with zfs snapshots
<lordcirth_> Where is the hardware-configuration.nix itself kept? Is it applied by nixops remotely?
<adisbladis> lordcirth_: I deploy all my systems with nixops, even locally
<lordcirth_> adisbladis, neat. So where do you edit & store the configs?
spacetato has joined #nixos
spacetato has quit [Client Quit]
<adisbladis> lordcirth_: Mostly in /etc/nixos (which is also a symlink, just in case I need to nixos-rebuild if ssh breaks or something)
<lordcirth_> adisbladis, symlink into the zfs under /nix?
<adisbladis> Yep
<lordcirth_> You made an extra "state" directory under there?
<lordcirth_> I think I would probably have made a separate zfs filesystem (same pool) for state
<adisbladis> lordcirth_: Yeah, not all machines using the same setup uses zfs
<slabity> Of course... It's so simple
<slabity> I'll just use NixOps for everything
<adisbladis> ^_^
<slabity> Why would I use `nixos-rebuild` if NixOps has key-management
<gchristensen> lordcirth_: I do that too
<adisbladis> gchristensen: Btw, do you know if nixops can skip creating it's own ssh keys?
<gchristensen> adisbladis: I don't think it can
<lordcirth_> adisbladis, so, you declare this link, and then you can call 'environment.etc."nixos".source <thingy>' and it makes a symlink?
<adisbladis> lordcirth_: Yeah, the output of `pkgs.runCommand ...` is a symlink :)
<adisbladis> gchristensen: :(
<adisbladis> That's always something I found terrible with nixops... Should fix that.
<gchristensen> agreed
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<slabity> We should just deprecate nixos-rebuild for nixops.
<clever> adisbladis: nixops creating its own keys, is backend dependant
<lordcirth_> You mean when using nixos on localhost, it generates ssh keys and uses ssh to localhost?
<lordcirth_> nixops*
<clever> adisbladis: for aws, nixops creates an aws keypair, and relies on the scripts in the ami to embed it into /root/.ssh/authorized_keys
<slabity> It's the only reasonable conclusion I can come to
<clever> adisbladis: for other backends, nixops adds it to the nixos config
<gchristensen> oh you were saying something else.
hasan has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #73128 → python3Packages.websockets: 8.0.2 -> 8.1 → https://git.io/JeVX0
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.websockets: 8.0.2 -> 8.1 »: https://git.io/Jewz7
Thra11_ has joined #nixos
<adisbladis> clever: Still though. I don't want keys not residing in dedicated hardware.
<lordcirth_> key management is always a concern
lassulus has quit [Ping timeout: 268 seconds]
<clever> adisbladis: in the case of the aws backend, if you simply edit /root/.ssh/authorized_keys, the keys nixops is managing will cease to be of value
<clever> adisbladis: but if your on a none backend, youll need to edit the python to make it behave more like aws
<{^_^}> [nixpkgs] @bjornfor merged pull request #73252 → fop: builds on all platforms → https://git.io/JewzJ
<{^_^}> [nixpkgs] @bjornfor pushed commit from @eraserhd to master « fop: builds on all platforms »: https://git.io/Jewgf
lassulus has joined #nixos
<lordcirth_> Anyone using dm-integrity or dm-verity on NixOS? I installed a VM with it's root on a dm-integrity block device, was surprisingly easy
wildtrees has joined #nixos
hasan is now known as hasanzia
hasanzia has quit [Quit: Textual IRC Client: www.textualapp.com]
hasanzia has joined #nixos
tmplt has quit [Quit: leaving]
hasanzia has quit [Client Quit]
taylorm has joined #nixos
<taylorm> Has anyone ever got NIXUI to work?
drakonis has quit [Quit: WeeChat 2.6]
shreyansh_k has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
tpanum- has joined #nixos
evanjs has joined #nixos
tpanum has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #73250 → guake: add missing dependency on setuptools → https://git.io/Jewu5
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JewgZ
<{^_^}> [nixpkgs] @c0bw3b merged pull request #73213 → arrow-cpp: fix tests not being run on linux → https://git.io/JewGm
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Jewgc
<rardiol> Is someone successfully running plasma/KDE on wayland? I try and it and I get "qt.qpa.plugin: Could not load the Qt platform plugin "wayland-org.kde.kwin.qpa" in "" even though it was found."
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixpkgs-19.09-darwin: https://git.io/JewgC
selfsymmetric-mu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #73123 → caffeine-ng: fix paths in desktop files → https://git.io/JeViu
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @symphorien to master « caffeine-ng: fix paths in desktop files »: https://git.io/Jewg4
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d493b97b265 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<evanjs> Anybody have an idea of how I can get pass working there? Like the pass from _my_ user ..
mexisme has quit [Ping timeout: 240 seconds]
<evanjs> I mean in the shell I could do it with sudo, but ..
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
taylorm has quit [Remote host closed the connection]
fusion809 has quit [Remote host closed the connection]
<slabity> evanjs: I just spent a few hours trying to figure that out. No luck
<slabity> I'm just switching to use NixOps everywhere as that can access my user's password-store
<evanjs> hey wait that's an idea
<evanjs> I could just put it in my external folder (secrets folder based on infinisils config)
<evanjs> forgot I had that... lol
lassulus has quit [Ping timeout: 268 seconds]
wildtrees has quit [Ping timeout: 276 seconds]
lorimer has joined #nixos
<evanjs> Woo! thanks, that helped me remember I had something in place for that.
<evanjs> slabity++
<{^_^}> slabity's karma got increased to 6
romildo has joined #nixos
<evanjs> Much cleaner, too... I ought to standardize that in my config
<{^_^}> [nixpkgs] @B4dM4n opened pull request #73259 → cargo-udeps: init at 0.1.5 → https://git.io/JewgE
lassulus has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to master « guake: clean up »: https://git.io/Jewgu
__monty__ has quit [Quit: leaving]
mexisme has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @markuskowa merged pull request #72500 → drumkv1: 0.9.10 -> 0.9.11 → https://git.io/JegWH
<{^_^}> [nixpkgs] @markuskowa pushed 3 commits to master: https://git.io/JewgV
<{^_^}> [nixpkgs] @jacereda opened pull request #73260 → yabai: init at 2.1.2 → https://git.io/Jewgw
<romildo> I used to update the deepin packages in nixpkgs with the command 'nix-shell maintainers/scripts/update.nix --argstr path deepin' but it is not working anymore. Has something changed on how updating works? Any clues?
<{^_^}> [nixpkgs] @markuskowa merged pull request #72472 → dblatex: 0.3.10 -> 0.3.11 → https://git.io/Jegsp
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Jewgo
shreyansh_k has quit [Quit: Konversation terminated!]
<jtojnar> romildo any errors?
<jtojnar> seems to work for me
<romildo> jtojnar, no errors. Standard output/error messages: http://dpaste.com/1E9HDNW
Soo_Slow has joined #nixos
erasmas has quit [Quit: leaving]
tilpner_ has joined #nixos
<jtojnar> romildo probably building still?
drakonis has joined #nixos
<jtojnar> though I get "Going to be running update for following packages" immediately after "building '/nix/store/x5i3a05133xmxb5mv0pvyvsyah6kyhx6-packages.json.drv"
tilpner has quit [Ping timeout: 240 seconds]
lassulus has quit [Ping timeout: 246 seconds]
<romildo> jtojnar, the nix-shell command just terminated without any further messages.
drakonis_ has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #73200 → perlPackages.LogDispatchFileRotate: init at 1.36 → https://git.io/JewYM
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JewgX
ng0 has quit [Ping timeout: 260 seconds]
lassulus has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #73207 → perlPackages.CDB_File: init at 0.99 → https://git.io/JewO0
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JewgM
tilpner_ has quit [Ping timeout: 268 seconds]
tilpner_ has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #73204 → perlPackages.CacheKyotoTycoon: init at 0.16 → https://git.io/JewOU
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/JewgD
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> My internet connection is well and truly hosed. Anyone have a troubleshooting guide that works well for them?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #73168 → btrfs-progs: 5.2.2 -> 5.3.1 → https://git.io/JeVhQ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JewgS
Chiliparrot has joined #nixos
<selfsymmetric-mu> For some reason the NixOS live installer isn't booting for me so I might have bigger problems.
ng0 has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
abathur has quit [Ping timeout: 268 seconds]
<gchristensen> what model computer?
<selfsymmetric-mu> I'm at "network is unreachable" but my ethernet port is blinking. Pretty much square one.
<selfsymmetric-mu> gchristensen: I'm using a Lenovo P50.
<infinisil> selfsymmetric-mu: Can you ping the router?
<infinisil> Got anything in `ip route`?
<infinisil> What about `ifconfig`
<selfsymmetric-mu> infinisil: All I have is a ten-finger interface.
<infinisil> These are the things I usually start with
<selfsymmetric-mu> So it's going to take me some time to type.
<selfsymmetric-mu> I have one line in `ip route`.
<selfsymmetric-mu> Anyone have a troubleshooting guide?
<selfsymmetric-mu> I don't know how to answer questions like "can you ping the router" reliably; I'd rather run through the obvious steps somewhere before asking questions here, otherwise I think I'm likely to exhaust you.
<selfsymmetric-mu> I _think_ no, though.
<selfsymmetric-mu> I tried to ping the only interface in `ip route` and it told me if I wanted to broadcast.
<selfsymmetric-mu> That seems wrong.
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
<selfsymmetric-mu> I can't get the live CD to work.
<selfsymmetric-mu> I tried the graphical and minimal installer.
<selfsymmetric-mu> One of them dumped me into grub, the other one didn't work at all.
<selfsymmetric-mu> I'm about four hours into this.
<samueldr> weird, considering they use the exact same grub setup
<selfsymmetric-mu> It's extremely concerning.
<infinisil> selfsymmetric-mu: Do you have a different machine to test the live cd stick?
<selfsymmetric-mu> infinisil: I do.
stepcut has quit [Remote host closed the connection]
<selfsymmetric-mu> The behavior is different but the result is the same. The stick doesn't work.
<selfsymmetric-mu> Maybe I'm installing it wrong.
<samueldr> is the lenovo p50 a recent laptop, like new model released within the last 6-12 months or so?
<selfsymmetric-mu> samueldr: It is not.
<infinisil> selfsymmetric-mu: Can you create a new live stick from the other machine?
<samueldr> this at least closes one avenue for troubleshooting
<monokrome> Hmm... Seems like nixos-hardware uses servies.throttled at least in the Lenovo X1 code. Does anyone know what that setting is replaced with on latest nixos versions?
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
alexherbo2 has quit [Read error: Connection reset by peer]
<selfsymmetric-mu> The sha is good.
<monokrome> I ran `nix-channel --update` and it broke my `nixos-rebuild switch --upgrade`
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<infinisil> > nixos.options.services.throttled
<{^_^}> { _definedNames = <CODE>; enable = <CODE>; extraConfig = <CODE>; }
<infinisil> monokrome: It seems to still exist in master
<selfsymmetric-mu> I'm trying again. I think maybe I copied to the partition instead of the whole disk.
<selfsymmetric-mu> Maybe that's what's wrong.
<infinisil> Ah yeah, iso's contain the partition table themselves
xkapastel has joined #nixos
* monokrome is confused
<monokrome> Is this the right channel?
alexherbo2 has joined #nixos
<monokrome> Seems it doesn't exist when I update that channel
<samueldr> for the previous stable release, yes
<infinisil> monokrome: Always mention the error
<selfsymmetric-mu> infinisil++
<infinisil> It's hard to debug without knowing what went wrong :)
<{^_^}> infinisil's karma got increased to 159
<selfsymmetric-mu> I'm in the installer.
astrall33 has joined #nixos
<monokrome> I did mention the error, but I can paste it if you think that will help
<monokrome> error: The option `services.throttled' defined in `/nix/var/nix/profiles/per-user/root/channels/nixos-hardware/lenovo/thinkpad/x1/6th-gen' does not exist.
alexherbo27 has joined #nixos
<infinisil> You did? I'm not seeing it in my backlog
alexherbo2 has quit [Ping timeout: 265 seconds]
<monokrome> monokrome | Hmm... Seems like nixos-hardware uses servies.throttled at least in the Lenovo X1 code. Does anyone know what that setting is replaced with on latest nixos versions?
mexisme has joined #nixos
<infinisil> That doesn't include the actual error though
<samueldr> the throttled service was introduced to master in June
<monokrome> You said mention the error, not paste it directly :)
<samueldr> it's not part of the 19.03 release
<samueldr> though it should be part of the (current) stable 19.09 release
<monokrome> oh
<monokrome> maybe nix-hardware got updated w/ things beyond what is in 19.03
<samueldr> might be a good idea to upgrade :)
<monokrome> thanks samueldr
<monokrome> will try updating to 19.03
<monokrome> will try updating to 19.09 *
<samueldr> since anyway 19.03 is likely to not receive any updates
astrall33 has quit [Read error: Connection reset by peer]
<samueldr> it's now past the best effort date for backports
<infinisil> Just generally it's much easier for people who want to help when they immediately see the actual error
<infinisil> Association of error -> solution perhaps :)
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 40 commits to nixos-unstable-small: https://git.io/Jew2J
Ariakenom has quit [Quit: Leaving]
<infinisil> Also, I've often seen people conclude things from errors that weren't accurate, then ask questions based on these conclusions, X/Y problem style
mexisme_ has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/52774319e0c (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
sigmundv has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
hlolli has joined #nixos
jgeerds_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @adisbladis opened pull request #73261 → treewide: Remove libGLU_combined → https://git.io/Jew2L
Fare has quit [Ping timeout: 268 seconds]
<selfsymmetric-mu> Okay, machine is wiped and NixOS is freshly installing. Progress.
<selfsymmetric-mu> If I can boot to it then I'll port over my real configuration and see if that works.
m0rphism has quit [Ping timeout: 252 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
alexherbo27 has quit [Ping timeout: 240 seconds]