andi- 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/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
m0rphism has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @lopsided98 opened pull request #85338 → G2o update → https://git.io/JfvAv
mmlb has quit [Quit: The Lounge - https://thelounge.github.io]
mmlb has joined #nixos
hoplaahei has quit [Ping timeout: 258 seconds]
joe__ has joined #nixos
<{^_^}> [nixpkgs] @hdclark opened pull request #85339 → Ygor: init at 20200415.1 → https://git.io/JfvAW
<clever> curl: (22) The requested URL returned error: 403 Forbidden
<clever> seems like gradle is broken on nixpkgs master
<niso> clever: works with https
<clever> oh!
<clever> [clever@amd-nixos:~/apps/ghidra]$ nix-prefetch-url https://services.gradle.org/distributions/gradle-2.6-bin.zip
<clever> niso: yep, that bypasses the problem
<clever> wait a second
<clever> "~/.nixpkgs/gradle.nix" 39L, 1271C written
<clever> why is it there? lol
<clever> > gradle
<{^_^}> "<derivation /nix/store/vlwff8vpslfjwq57mh7zkcz3cb9bxlfw-gradle-5.6.4.drv>"
<clever> 127 gradle = pkgs.callPackage ./gradle.nix {};
<clever> dang old overlays! lol
<clever> > gradle.src.urls
<clever> but nixpkgs master does still have the same bug!
<niso> i'm kinda wondering why packages still use http. do you think a PR would be accepted which replaces all http links with https (if possible)?
<{^_^}> [nixpkgs] @xrelkd opened pull request #85340 → sniffglue: init at 0.10.1 → https://git.io/JfvAu
<clever> niso: that could fail if the server doesnt have https up yet
<clever> niso: would need to fire a HEAD request to every single url in every package, and try on both http and https
<niso> clever: which was my intention (thus the if-possible)
<niso> guess i'll give it a try and submit a PR
<{^_^}> [nixpkgs] @Ma27 opened pull request #85341 → hydra: 2020-04-07 -> 2020-04-16 → https://git.io/JfvA2
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfvAw
thc202 has quit [Ping timeout: 256 seconds]
<zeta_0> hey guys, i was finally able to get this shell.nix working(with some workarounds), but when i tried to integrate it with the haskell.nix infrastructure, i kept getting syntax errors thrown, if you don't mind taking a look , thanks in advance: https://www.reddit.com/r/NixOS/comments/g20vga/integrating_haskellnix_alternative_infrastructure/
<zeta_0> it's probably something simple that i missed, but, nix's syntax error detection isn't that descriptive sometimes
<simpson> It's telling you where the error was, as well as what was wrong. The former is probably more important. Check your braces, brackets, and parens.
<gchristensen> error: The option `systemd.services.vault.unitConfig.After' has conflicting definitions, in `/nix/store/ff62ngs5rmrf1xa6kizgzr7rgpdc2gnm-nixexprs.tar.xz/nixos/modules/system/boot/systemd.nix' and `/home/grahamc/projects/github.com/grahamc/network/network.nix'. ... hrm
xO1 has joined #nixos
<das-g[m]> Why does bumping the git version (e.g. https://github.com/NixOS/nixpkgs/pull/85277 or https://github.com/NixOS/nixpkgs/pull/85263) cause that many rebuilds? Is it re-building every package that uses Git for fetchings its source code?
<{^_^}> #85277 (by jamesottaway, 17 hours ago, open): git: 2.25.1 -> 2.25.3
<{^_^}> #85263 (by jamesottaway, 20 hours ago, open): git: 2.25.1 -> 2.26.1
<gchristensen> not what it fetches, no
<gchristensen> probably cargo or something
b42 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « nextcloud*: add `passthru.tests` to reference VM-tests »: https://git.io/JfvAh
<das-g[m]> I'm trying `nixpkgs-review pr 85263` right now and it indeed seems to hardy actually compile anything and fetch most stuff from cachix
b42 has joined #nixos
<zeta_0> simpson: i tried other ways which made more sense, but syntax errors were thrown, this was the only way i was able to remove the syntax errors, i'll try moving the haskell infrastructure section to before the with pkgs line to see if that will work: https://dpaste.org/yHZp
<gchristensen> das-g[m]: I don't know who put it in to cachix or why
<cole-h> Could run it with `--option substituters 'https://cache.nixos.org'` to prevent cachix from popping up
<das-g[m]> err, I mean cache.nixos.org
<qy[m]1> TOFU is a lot more annoying with a "cannot commit from an unclean tree" restriction
<qy[m]1> you have to commit, then build, then update the hash, then amend commit, then build again
<gchristensen> truth, qy[m]1
growpotkin has quit [Ping timeout: 258 seconds]
<freeman42x[m]> trying to install Restream chat using appimage-run but I am getting following error: "AppImage is not executable". any ideas?
growpotkin has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2ef110ae64a (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
reallymemorable has quit [Quit: reallymemorable]
sigmundv__ has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b67bc34d4e3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/142afb8942e (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
pbogdan has quit [Ping timeout: 256 seconds]
<Yaniel> what's the proper way to write a /etc/drirc in nixos?
ris has quit [Ping timeout: 256 seconds]
<teto> Yaniel: environment.etc."drirc".source =
<cole-h> ^
<cole-h> or `.text = ''some\nlines\nhere'';`
markus1189 has joined #nixos
freeman42x has left #nixos ["Leaving"]
markus1199 has quit [Ping timeout: 256 seconds]
joe__ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @xrelkd opened pull request #85343 → rshijack: init at 0.3.0 → https://git.io/Jfvxb
<qy[m]1> arc: how janky are you finding it using your weechat module in home-manager?
<qy[m]1> i'm considering it, but hesitant, cause i like to change things in weechat settings a lot
<arcnmx> dunno, it works for me, but I also don't tweak settings all that much?
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85301 → spago: 0.14.0 -> 0.15.1 → https://git.io/Jfval
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jfvxx
<arcnmx> it does reload them without needing to restart weechat though, so there's that
<qy[m]1> hmm
<est31> how can I get virtualenv on nix os?
marsh has quit [Ping timeout: 256 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b67bc34d4e3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
nikola_i has quit [Quit: Connection closed for inactivity]
<est31> getting error: undefined variable 'virtualenv' at ...
<est31> python37Packages.virtualenv works...
marsh has joined #nixos
niso has quit [Remote host closed the connection]
<qy[m]1> arc: related questions: what aren't you happy about with the PR as of now? it looks mergeable :p and, what do you think of a service module that optionally uses weechat in abduco, or weechat-headless, as a systemd service?
<qy[m]1> cause currently i'm running a manual weechat headless service, cause i don't like the screen thing nixpkgs's module does, and also it'd be a nice compliment to your programs module
<arcnmx> it felt lacking in organization, documentation... Seems a bit messy. But mostly drafted as WIP because I was looking for opinions on whether the design and decisions it makes were reasonable?
<arcnmx> a service would probably make sense to me, though I don't use abduco or even screen myself at this point. weechat-headless seems like a better generic approach, though I've never used it myself
<freeman42x[m]> HexChat sound notifications are not working under NixOS 19.09 and Pidging sound and popup notifications are not working either. I think 19.09 broke some notifications from working. Slack notifications do work though
<qy[m]1> andi-: i see you have an effort too, did that end up going anywhere
<{^_^}> [nixpkgs] @xrelkd opened pull request #85344 → eksctl: 0.16.0 -> 0.17.0 → https://git.io/JfvpM
h0m1 has quit [Ping timeout: 246 seconds]
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #85310 → cfdg: 3.2_2 -> 3.
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jfvp9
captjakk has quit [Remote host closed the connection]
h0m1 has joined #nixos
<kalbasit> gchristensen: question regarding lorri. My project has a shellHook that symlink files in the repo and lorri is not able to run it because the cd to the project dir is no such file or dir. Do you know why's that? Is lorri building the env in some sandbox?
<{^_^}> [nixpkgs] @nh2 closed pull request #85300 → AgdaStdlib: 1.1 -> 1.
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nh2 merged pull request #85309 → chirp: 20200213 -> 2020040
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jfvpb
<{^_^}> [nixpkgs] @nh2 merged pull request #85297 → bibclean: 3.03 -> 3.0
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jfvpp
<freeman42x[m]> anyone had luck connecting chrome plasma-browser-integration under nixos?
captjakk has joined #nixos
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #85292 → acpica-tools: 20200110 -> 2020032
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jfvhv
<freeman42x[m]> after updating to 20.03 Alt + F2 no longer does anything
felixfoertsch has quit [Ping timeout: 246 seconds]
felixfoertsch23 has joined #nixos
felixfoertsch23 is now known as felixfoertsch
reallymemorable has joined #nixos
<clever> freeman42x[m]: i find you sometimes need ctrl+alt+f2
<clever> i havent figured out why its different half the time, and why some of the text consoles look diff
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8c3b765bc63 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @nh2 merged pull request #85283 → smarty3: 3.1.34 -> 3.1.3
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JfvhZ
<{^_^}> [nixpkgs] @xrelkd opened pull request #85346 → tinygo: 0.12.0 -> 0.13.0 → https://git.io/Jfvh8
<{^_^}> [nixpkgs] @zowoq opened pull request #85347 → megatools: 1.10.2 -> 1.10.3 → https://git.io/Jfvhu
<kalbasit> is there a way my shell.nix can know if lorri is evaluating it?
<clever> kalbasit: check if lorri is setting any odd vars when it runs nix?
<kalbasit> clever: I'm trying to browse the code, but I'm not rust savvy :(
<energizer> i have `glances` installed with home-manager's home.packages, and i'm using the hm nixos module. How come `nix why-depends /run/current-system/sw $(which glances)` -> '/nix/store/4ckvsd8ggd7ngpxw1gcfa9ic6sv61wy5-system-path' does not depend on '/nix/store/l710dvlpyrk68r6lhiw099n2ndpzyg2a-home-manager-path'? How does the nixos module work if it's not part of the /run/current-system?
<qy[m]1> it sets $name to lorri-wrapped-project-nix-shell
<qy[m]1> ..that one's easier to just check practically than read the code
<qy[m]1> it creates a home-manager-<user>.service
<qy[m]1> that then does the home-manager part of the initialization
<clever> energizer: run why-depends on current-system, not current-system/sw
<zeta_0> how strange, now this nix-shell actually works without any errors thrown: https://dpaste.org/Nm7M
<energizer> clever: aha
<zeta_0> now that i have this shell.nix file working, could you guys give me a couple tips on using haskell.nix? i've never used it before: https://github.com/input-output-hk/haskell.nix
<energizer> does nixos run `systemctl --user start foo.service` for my user services?
pamplemousse has quit [Ping timeout: 264 seconds]
<energizer> or does it just enable them so that they'll start on reboot
<{^_^}> [nixpkgs] @marsam merged pull request #85344 → eksctl: 0.16.0 -> 0.17.0 → https://git.io/JfvpM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfvhQ
<{^_^}> [nixpkgs] @marsam merged pull request #85335 → podman: 1.8.2 -> 1.9.0 → https://git.io/JfvFH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfvhd
<freeman42x[m]> Windows key is also broken on 20.03, does not open the KDE menu
<energizer> why is home-manager a service?
<{^_^}> [nixpkgs] @marsam merged pull request #85302 → chromedriver: 80.0.3987.16 -> 81.0.4044.69 → https://git.io/JfvV7
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfvjk
<{^_^}> [nixpkgs] @nh2 merged pull request #85273 → otfcc: 0.9.6 -> 0.10.
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JfvjI
<peelz> energizer, do you mean the systemd "home-manager-USERNAME.service" services?
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
<contrun[m]> Why's so special about glibc. I am encountering various error message like `/home/e/.nix-profile/bin/quaternion: /nix/store/xhpwab5kavygbr1fswawmdyqvmn3wa4i-glibc-2.27/lib/libm.so.6: version `GLIBC_2.29' not found (required by /nix/store/w5icjhg59mi6hqvrzmv8vmfmf83174i3-flac-1.3.3/lib/libFLAC.so.8)`. How can we make glibc like any other dynamic libraries? I mean we can build a closure of one package with all its dependent
<contrun[m]> packages including libc.
aw has joined #nixos
<peelz> energizer: I would assume it's for the home-manager side effects, like applying the Gtk/Qt theme when activating a new configuration, etc.
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @das-g opened pull request #85348 → ili2c: 5.0.0 -> 5.0.8 → https://git.io/JfvjC
<kandinski> what's the nixos way to load git-completions so it's available for utility git scripts like ~/bin/git-dostuff ?
<energizer> peelz: oh ,maybe i just misunderstood. there is no home-manager.service unit
<peelz> energizer: I didn't really read the above messages so idk what you were talking about. I just assumed you were talking about the `home-manager-USERNAME.service` units :P
teto has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nh2 merged pull request #85261 → notejot: 1.6.0 -> 1.6.3 → https://git.io/Jfvmg
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jfvjz
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2d55f9c01a2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @jtojnar opened pull request #85349 → meson: 0.53.2 → 0.54.0 → https://git.io/JfvjH
<{^_^}> [nixpkgs] @nh2 merged pull request #85196 → blugon: 1.12.0 -> 1.12.1 → https://git.io/JfeCs
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jfvj7
<{^_^}> [nixpkgs] @WithoutCaps opened pull request #85350 → Fix: ulauncher paths finding → https://git.io/Jffes
bqv has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @das-g opened pull request #85351 → chromedriver: 80.0.3987.16 -> 81.0.4044.69 → https://git.io/Jffe4
<{^_^}> [nixpkgs] @marsam opened pull request #85352 → fira-code: 3 -> 3.1 → https://git.io/Jffea
hoplaahei has joined #nixos
Guest30 has joined #nixos
zaeph1 has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
waleee-cl has quit [Quit: Connection closed for inactivity]
evertedsphere has joined #nixos
<Guest30> How can I write a function to turn `a` into `config` in here https://gist.github.com/LEXUGE/ecdf28ef051e29cdc6d94af4ab205b00
zaeph has quit [Ping timeout: 256 seconds]
<Guest30> I found no function to "merge two" attrsets in `lib.attrsets`
<evertedsphere> anyone know how I can use a personal github token with `niv` to bypass the silly rate-limiting when i do so much as a niv init
<{^_^}> nmattia/niv#62 (by leotaku, 46 weeks ago, open): github rate limit is hit pretty quickly
<cole-h> "FWIW now using git sources (`niv add git -n foo git@github.com...`) should help."
<cole-h> Might help
<evertedsphere> yes i've done that with updates but how do i /init/ niv that way
<{^_^}> [nixpkgs] @das-g opened pull request #85353 → chromedriver: 78.0.3904.70 -> 81.0.4044.69 → https://git.io/JffvW
<freeman42x[m]> any idea how I could debug why system sounds and notifications are not working under NixOS? they stopped working at some point and rolling back to previous NixOS did not fix the issue. Having this issue with HexChat and Pidgin, works fine with Slack
<evertedsphere> are you in the audio group
<freeman42x[m]> evertedsphere: how do I check if I am?
<freeman42x[m]> but why wouldboth sound AND popup notifications both be broken? is there a system that manages both?
Darkmatter66_ has joined #nixos
ddellacosta has quit [Ping timeout: 256 seconds]
Darkmatter66 has quit [Ping timeout: 258 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<raboof> are you rebooting between rollbacks? it's painful, but (afaics) it's possible something changed but a running program wasn't restarted to remain in sync with the rest of the system.
<raboof> Might be dbus-related? (but that's a bit of a shot in the dark)
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
domogled has quit [Quit: domogled]
bqv has joined #nixos
yuken_ has joined #nixos
yuken has quit [Ping timeout: 256 seconds]
bqv has quit [Client Quit]
yuken_ has quit [Ping timeout: 256 seconds]
yuken has joined #nixos
bqv has joined #nixos
orivej has joined #nixos
yuken_ has joined #nixos
yuken has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/a438aed5a6c (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
yuken_ has quit [Excess Flood]
yuken has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85352 → fira-code: 3 -> 3.1 → https://git.io/Jffea
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « fira-code: 3 -> 3.1 »: https://git.io/Jfffq
<{^_^}> [nixpkgs] @jonringer merged pull request #85258 → netdata: 1.21.0 -> 1.21.1 → https://git.io/JfvUy
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/Jfffm
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.ibis: 1.2.0 -> 1.3.0, fix tests »: https://git.io/JfffO
<{^_^}> [nixpkgs] @jonringer merged pull request #83827 → python3Packages.ibis: 1.2.0 -> 1.3.0, fix tests → https://git.io/Jv5te
mounty has joined #nixos
<{^_^}> [nixpkgs] @srhb merged pull request #83984 → kubernetes: 1.17.3 -> 1.18.0 → https://git.io/JvdlW
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/Jfffs
mctl has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #85353 → chromedriver: 78.0.3904.70 -> 81.0.4044.69 → https://git.io/JffvW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to release-20.03: https://git.io/JfffG
asheshambasta has joined #nixos
<hyper_ch> I have a problem with one of my nixos servers... for some reasons it keeps caching a wrong ip address for a dyn. domain.... I did restart the server, I restarted the router, restart nscd.... yet still the same. the router fetches the right address though
<hyper_ch> also weird, /etc/resolv.conf has entires: 127.0.0.53 and edns0..... however in the configuration.nix I have nameservers = [ "127.0.0.1" "10.10.10.1" "8.8.8.8" "8.8.4.4" ];
<srhb> hyper_ch: That's probably systemd-resolved
<hyper_ch> where am I going wrong?
mctl has joined #nixos
<srhb> hyper_ch: Check resolvectl to see the config of the 127.0.0.53 resolver
<hyper_ch> ok, that seems to be the case... but how do I empty that cache?
<srhb> hyper_ch: Before doing that, maybe try checking each of the upstream resolvers in there to see if they're giving the "wrong" response
<srhb> hyper_ch: Given proper TTL, the issue shouldn't really be cache relate
<hyper_ch> srhb: it's a dyn domain
<hyper_ch> I even reboot the server - whcih should clear cache IMHO
<srhb> With a long TTL?
<hyper_ch> no, 1h ttl
<hyper_ch> but it's been longer than that
<srhb> So, try looking up the domain on each of the upstream resolvers and your systemd-resolved and determine which one has a wrong TTL
<srhb> systemd-resolve --flush-caches should suffice, but that shouldn't be necessary, if TTL propagates correctly.
<hyper_ch> thx, I'll check
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<hyper_ch> now it's working again. thx
<hyper_ch> btw, I need now some new hdds... anyone has experience with toship x300 10-14TB?
mctl has quit [Ping timeout: 258 seconds]
hoplaahei has quit [Ping timeout: 240 seconds]
<peelz> is it possible to make a list option with default entries, but also let the user choose whether to discard or merge with the defaults?
palo1 has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
drakonis has joined #nixos
<srhb> peelz: That's what priorities do
<peelz> srhb: but I'm not sure how to do that here
<srhb> peelz: However, I think it's usually cleaner for the user to copy the default value at normal priority, eg config.myList = options.myList.default ++ [myvalues]
<srhb> That's explicit and non-magical, imo.
<peelz> hmm
icey_ has joined #nixos
<peelz> how would you use priorities to have the `.default` merge?
<srhb> The alternative is, say, for the user to use mkOptionDefault (og mkOverride 1500) -- or for the module to set the value at default priority in config instead of options.$foo.default
<srhb> But now the user has a problem if they ever want to get rid of the default values, having to use mkForce.
<peelz> it's unlikely that the user would want to remove the default values, but I'd rather have it as an option than hardcode it in
<srhb> It's up to you to determine which is the better UX. imho, explicit copying of the default value is the path of least surprise in many cases.
<srhb> peelz: Maybe you want to split it into two values then.
<peelz> hmm not in this case
iceypoi has quit [Ping timeout: 240 seconds]
<srhb> peelz: One that the user is expected to normally modify to add values, one which should not normally be touched unless they really want to get rid of the default vals
<peelz> actually, I could make the extra entry a boolean switch
<srhb> Or that.
<peelz> srhb: is it possible to have a list double as an attrSet? or is that too much magic for the nix language?
<srhb> peelz: Uh, what are you thinking exactly? An either type?
<peelz> actually nvm it wouldn't make sense
<peelz> I was thinking of something like `options.$foo.javaFix.enabled = true;` but you can also do `options.$foo = [ ... ];`
<peelz> but you'd need operator overloading for this or something like that...
<srhb> peelz: There are no types, so either could do that. But I'd seriously ponder whether you really want it. :)
<peelz> srhb: I don't think I do haha -- just thinking out loud
<peelz> srhb: what I want is probably something like `config.$foo.rules.javaFix.enable = true` and `config.$foo.extraRules = [ ... ]`
isHavvy has joined #nixos
<srhb> peelz: Sounds plausible. One should always try to keep the number of options down if at all possible.
<srhb> But that is a common pattern
<peelz> makes sense
<peelz> srhb++
<{^_^}> srhb's karma got increased to 101
zaeph1 is now known as zaeph
jlv has joined #nixos
bqv has quit [Ping timeout: 252 seconds]
Havvy has quit [Ping timeout: 260 seconds]
<jlv> Is it possible to pull in a specific value using `with`. Something like `with lib (mkDefault);` to only pull in `mkDefault`?
bqv has joined #nixos
<peelz> jlv: `let inherit (lib) mkDefault; in ...`
Intensity has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/74946536fe4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Intensity has joined #nixos
<jlv> peelz: That would do it :) I was so focused on `with` that I forgot I could just use `let`.
<peelz> jlv :)
chagra_ has joined #nixos
<jlv> Is using `mkDefault` like `{ ... }: mkDefault { a.b = ... }` unsupported? It doesn't throw an error, but it looks like some attributes are silently disappearing. In particular, any attribute with a `<name>` acts as if it isn't set.
chagra has quit [Ping timeout: 240 seconds]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
bqv has quit [Quit: WeeChat 2.8]
<sphalerite> jlv: if there are any higher-priority settings for whatever contains the <name>, they'll erase the mkDefault-ed one
drakonis has quit [Quit: WeeChat 2.8]
<sphalerite> jlv: you'll need to push your mkDefaults further down in the tree if you want them to share the "space". What are you actually trying to achieve with this?
captjakk has quit [Ping timeout: 258 seconds]
bqv has joined #nixos
<andi-> qy[m]1: what effort?
<jlv> sphalerite: I'm refactoring my machine configurations and added a number of default settings to share between machines. I thought I could simplify the default files by using a single `mkDefault` like `{ ... }: mkDefault { a = ..., b = ..., c = ... }`, instead of many like `{ a = mkDefault ..., b = mkDefault ..., c = mkDefault ... }`.
<{^_^}> [nixpkgs] @srhb opened pull request #85354 → kubernetes: 1.18.0 -> 1.18.1 → https://git.io/JffJu
relaxmax has joined #nixos
cole-h has quit [Quit: Goodbye]
<sphalerite> jlv: unfortunately not as simply as that — because when the modules are merged, only the ones with the same priority are considered
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/JffJ2
drakonis_ has joined #nixos
dustinm has quit [Quit: Leaving]
dustinm has joined #nixos
<jlv> sphalerite: Well, looks like I'll be using a lot of `mkDefault`. I guess I need an `mkDefault` at the deepest level of each option, for what I want.
<{^_^}> [nixpkgs] @worldofpeace pushed 7 commits to release-20.03: https://git.io/JffJK
mallox has joined #nixos
ATuin has joined #nixos
revtintin has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83742 → multimc: 0.6.7 -> 0.6.11 → https://git.io/Jv7WK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JffJX
dustinm has quit [Ping timeout: 264 seconds]
<peelz> my `nix repl` gets extremely jank when it comes to line-wrapping long expressions... is that a known bug?
rauno has joined #nixos
cfricke has joined #nixos
<srhb> peelz: I remember seeing that before, but no longer have it, or it's not reproducible as often for me. Try 2.3.4
<peelz> srhb: I'm on nixos-19.09. Should I pull pkgs.nix from unstable?
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dkudriavtsev to release-20.03 « multimc: 0.6.7 -> 0.6.11 »: https://git.io/JffJj
<srhb> peelz: Actually I don't see any commits that might directly influence it. Perhaps it's a libeditline change.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85228 → sequeler: 0.7.4 -> 0.7.9 → https://git.io/Jfe6l
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JffUT
captjakk has joined #nixos
<srhb> 0285a20b48e2f72a5592371009a08993d040037b perhaps
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/b67bc34d4e3 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<peelz> srhb: ah, that could be it
vika_nez` has quit [Ping timeout: 264 seconds]
<peelz> will try
dustinm has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85284 → system-syzygy: Fix invalid desktopFile arguments → https://git.io/JfvBt
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JffUl
captjakk has quit [Ping timeout: 260 seconds]
gxt_ has quit [Remote host closed the connection]
<peelz> srhb: is there a better way of doing this: nix-shell --pure -E 'with import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"; }) {}; nix'
<peelz> it's kinda long lol
<srhb> What's long?
gxt_ has joined #nixos
<srhb> Oh sorry
<peelz> :P
<peelz> srhb: actually, it's not even finding `nix` in that shell... huh
jbox has joined #nixos
<srhb> nix run -f channel:nixos-unstable nix -c nix repl
<peelz> is there no `-f` for nix-shell?
<peelz> -I ?
<srhb> No, but you can probably use -I
<peelz> right right
<jbox> where can I find the code style for nix?
<peelz> srhb: same problem occurs with 2.3.4
<jbox> like tabs vs spaces, etc
<srhb> peelz: OK, sounds like you should open an issue then. :)
<jbox> I looked in nixpkgs' CONTRIBUTING.md
<peelz> srhb: I'm thinking it could be a terminal or a shell issue. I'm using a patched zsh version that's supposed to alleviate text reflow issues... could that be the cause?
<energizer> (ideally)
<jbox> energizer: thank you!
<jbox> heck yeah it's in Rust too
<peelz> srhb: zsh shouldn't have any consequence on the behavior of `nix repl`, right?
<srhb> peelz: I'm loath to guess, really. All I know is that I used to experience it often, and now I either don't ever or don't as often.
<peelz> srhb: huh, weird
<srhb> peelz: fwiw I also use zsh, but I don't remember patching it in any fun ways.
<jbox> srhb: thank you, that's just waht I needed :)
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85338 → g2o: unstable-2019-04-07 -> 20200410 → https://git.io/JfvAv
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JffU5
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @lopsided98 to release-20.03 « g2o: fix log limit exceeded error in Hydra »: https://git.io/JffUx
Ariakenom has joined #nixos
rardiol has quit [Ping timeout: 265 seconds]
cfricke has quit [Quit: WeeChat 2.8]
Naptra has joined #nixos
<peelz> srhb: ok now I can't reproduce it... wtf?
<srhb> peelz: Yeah... :P
<peelz> srhb: all I did was change the terminal size. HMM
<peelz> srhb: OH. It happens when the terminal gets resized. I need to press CTRL+L to "reset"/fix it
<srhb> peelz: You're right, I can reproduce that.
<{^_^}> [nixpkgs] @saschagrunert closed pull request #82995 → kubernetes: v1.17.3 -> v1.17.4 → https://git.io/JffT0
<peelz> srhb: should that be reported on the nix project or nixpkgs?
<peelz> srhb: I'm writing an issue for NixOS/nix
<srhb> peelz: Yeah, nix makes sense, and maybe you'll get pointed to editline. It's a start anyway :)
zaeph has quit [Ping timeout: 258 seconds]
<peelz> srhb: the weird part is that the bug in the asciinema occured without resizing while running `nix repl`
jlv has quit [Remote host closed the connection]
<peelz> * shown in the asciinema
mexisme has joined #nixos
domogled has joined #nixos
cfricke has joined #nixos
zaeph has joined #nixos
<{^_^}> [nixpkgs] @ehmry merged pull request #85315 → cjdns: 20.5 -> 20.
<{^_^}> [nixpkgs] @ehmry pushed commit from @r-ryantm to master « cjdns: 20.5 -> 20.6 »: https://git.io/JffTS
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3abf820bc1c (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
domogled has quit [Ping timeout: 256 seconds]
zaeph has quit [Ping timeout: 256 seconds]
zaeph has joined #nixos
<energizer> does hydra not build R packages?
<{^_^}> [nixpkgs] @ehmry opened pull request #85355 → Overlay tests → https://git.io/JffTx
captjakk has joined #nixos
Darkmatter66 has joined #nixos
m0rphism has joined #nixos
lsix has joined #nixos
<energizer> domenkozar[m]: the "create" button is grayed out, not sure how to sign up https://i.imgur.com/STZsj4V.png
<freeman42x[m]> trying to fix a broken nixpkg: https://gist.github.com/razvan-flavius-panda/ed833d569aefef1ff98e503e3129116a I was told that I need to make an override inside configuration-ghc-8.6.x.nix to fix it. could someone guide me on how to do that?
Darkmatter66_ has quit [Ping timeout: 265 seconds]
nckx has quit [Quit: Updating my Guix System — https://guix.gnu.org]
nckx has joined #nixos
jbox has quit [Ping timeout: 252 seconds]
<peelz> srhb: how do I get the current NixOS version on my machine? (including the channel hash?)
captjakk has quit [Ping timeout: 265 seconds]
<peelz> srhb: oh nvm -- I should've checked the manpage for nix-channel: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.nixpkgsVersion'
<peelz> lol
<domenkozar[m]> <energizer "domenkozar: the "create" button "> energizer: did you type or copy the name?
<energizer> domenkozar[m]: i typed "hello" in the box
jbox has joined #nixos
<domenkozar[m]> browser?
<peelz> srhb: create the issue: https://github.com/NixOS/nix/issues/3500
<{^_^}> nix#3500 (by LouisTakePILLz, 12 seconds ago, open): nix repl rendering breaks after resizing terminal
<peelz> *created
<energizer> domenkozar[m]: chromium Version 81.0.4044.92 (Developer Build) (64-bit)
zupo_ has joined #nixos
zeenk has joined #nixos
Guest66686 is now known as Khetzal
Guest30 has quit [Quit: Connection closed]
cr4y1_ has joined #nixos
zaeph has quit [Ping timeout: 256 seconds]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
<domenkozar[m]> energizer I'll take a look
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/33496aa3a6f (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<energizer> domenkozar[m]: it works when i'm incognito so it's probably caused by some browser extension i have
<energizer> domenkozar[m]: so i can work around it. if nobody else mentions an issue i wouldnt worry about it :)
civodul has joined #nixos
xensky has quit [Ping timeout: 240 seconds]
opthomasprime has joined #nixos
opthomasprime has left #nixos [#nixos]
xensky has joined #nixos
zaeph has joined #nixos
<peelz> is there a lib method for filtering out internal attributes (like `_module`)?
<peelz> or should I just filter out everything that starts with an underscore?
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85308 → futhark: stop wrapping the executable → https://git.io/Jfv6n
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JffI8
<{^_^}> [nixpkgs] @ehmry merged pull request #85314 → chromaprint: 1.4.3 -> 1.5.
<{^_^}> [nixpkgs] @ehmry pushed commit from @r-ryantm to staging « chromaprint: 1.4.3 -> 1.5.0 »: https://git.io/JffI4
dermetfan has joined #nixos
<peelz> is there a way to define the string coercion behavior of an attrset?
<peelz> instead of erroring out with "cannot coerce a set to a string"
turion has joined #nixos
<peelz> is there some magic attr you can give to an attrset? e.g. `{ _tostring = self: "${self.a}=${self.b}; }` ?
revtintin has quit [Ping timeout: 240 seconds]
arjen-jonathan has joined #nixos
knupfer has joined #nixos
<ikwildrpepper> peelz: no
M-Gregoire495 has joined #nixos
<peelz> :/
<ikwildrpepper> peelz: you'd need to call the function when wanting to convert a attrset to a string
<peelz> aight, I'll do that
<ikwildrpepper> curious, how would you coerce the attrset to a string, if the function is part of the attr set?
smatting has joined #nixos
<peelz> ikwildrpepper: why not? the tostringification logic is defined by the function :P
<peelz> `myAttrSet._tostring myAttrSet`
<ikwildrpepper> but then you'd get a string that is not actually the attrset
<ikwildrpepper> anyway, not important, was just curious how you'd implement it ;)
<peelz> oh, I'm just trying to encapsulate the logic in the set rather than have it elsewhere
<energizer> ikwildrpepper: you'd have the builtin stringification look at the _toString attribute to get the function, and call the function on the attrset
<ikwildrpepper> peelz: you can still to that, I guess by ust implementing a generic to_string function that implements the attribute (that you would filter out for onverting to string)
evertedsphere has quit [Ping timeout: 260 seconds]
<ikwildrpepper> peelz: something like: to_string = attrs: attrs.to_string (builtins.removeAttrs attrs "to_string"
<ikwildrpepper> to_string rec { a = "asd"; to_string = attrs: "1${a}"; }
<ikwildrpepper> "1asd"
rauno has quit [Remote host closed the connection]
revtintin has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 341 commits to staging-next: https://git.io/JffIN
jco has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 281 commits to staging: https://git.io/JffIA
thc202 has joined #nixos
<{^_^}> [nixpkgs] @uri-canva opened pull request #85356 → bazel_latest: 2.1.0 -> 3.0.0 → https://git.io/JffIj
<typetetris> When using gpg I get a `Key generation failed: No pinentry` error, but I have `pinentry-curses`in my environment. At least at the shell I can call pinentry
<typetetris> What do I need to do, to get it working?
revtintin has quit [Ping timeout: 250 seconds]
<evils> typetetris: on unstable, i believe it should suffice to have `programs.gnupg.agent.enable = true;` set
<typetetris> I will try that
cfricke has quit [Quit: WeeChat 2.8]
revtintin has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0f920b05cbc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
mctl has joined #nixos
sigmundv__ has joined #nixos
icetan has quit [Quit: authenticating]
icetan has joined #nixos
<freeman42x[m]> I run into this ssh issue during nix-build and not sure what to do: https://stackoverflow.com/q/61245686/750216
revtintin has quit [Ping timeout: 240 seconds]
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
revtintin has joined #nixos
gxt_ is now known as gxt
<{^_^}> [nixpkgs] @kampka opened pull request #85358 → trilium: 0.40.5 -> 0.40.7 → https://git.io/Jfft3
<freeman42x[m]> how can I tell all the options `fetchgit` has? I would like to set a folder under that repository where the cabal build needs to be done, since running it in root is wrong
__monty__ has joined #nixos
<srk> ,nix
<{^_^}> srk: Did you mean hnix?
<{^_^}> Haskell re-implementation of Nix https://github.com/haskell-nix/hnix
<immae> Come’on {^_^} you don’t know what is nix?
<srk> almost..
<srk> ,builtins
seku has joined #nixos
<{^_^}> builtins defined
<srk> freeman42x[m]: ^ look for builtiins.fetchGit
snicket has joined #nixos
<{^_^}> nix defined
revtintin has quit [Ping timeout: 264 seconds]
<evils> freeman42x[m]: sounds like you want `preBuild = "cd ./build"; unless you meant branch instead of directory
Neo-- has quit [Ping timeout: 250 seconds]
<srk> ,nix = Nix language and tooling https://nixos.org/nix/ https://github.com/nixos/nix #nix-lang
<{^_^}> nix redefined, was defined as https://nixos.org/nix/
<NobbZ[m]> freeman42x do it like this: `src = fetchgit {...}/folder`
<evils> NobbZ[m]++ nice
<{^_^}> NobbZ[m]'s karma got increased to 1
<jbox> I want to change my XDG user environment variables (change things like $XDG_CONFIG_HOME) via configuration.nix. Do I have to just use pkgs.writeTextFile for .profile?
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jbox> Is there a more elegant way to do this?
<energizer> jbox: home-manager
<NobbZ[m]> Probably `home-manager`
<jbox> oh, I didn't realize home-manager does that
<jbox> thank you
<NobbZ[m]> `home.sessionVariables` is what you want I think.
<{^_^}> [nixops] @adisbladis opened pull request #1284 → Remove remnants of pre-poetry2nix plugins → https://git.io/JfftQ
<{^_^}> [nixpkgs] @primeos opened pull request #85360 → chromium: 81.0.4044.92 -> 81.0.4044.113 → https://git.io/Jfft7
<peelz> jbox: `xdg.configHome = "~/.config";`
<hyper_ch> yey, just got message that new mainboard, cpu and ram were sent :) maybe I'll get it before the weekend
<NobbZ[m]> Though `home-manager` also has `xdg.*`
fendor has joined #nixos
<freeman42x[m]> evils: fetchgit does not have a preBuild, it has postFetch but cabal build still seems to run in root, even though I do: postFetch = "cd lambdabot-trusted";
<evils> freeman42x[m]: i mean change to the directory you want to be in after fetching, but i'm not familiar with cabal, i was referring to mkDerivation's `preBuild` phase and hoping whatever you're using has a direct equivalent
ashkitten has quit [Quit: WeeChat 2.8]
<freeman42x[m]> NobbZ: I tried what you said but it threw an error when used with fetchgit: https://i.imgur.com/wAGq7v3.png
<NobbZ[m]> Yeah, seems I misremembered stuff. In the linked discourd thread, I have wrapped in doublequotes and interpolation.
<benny> what's the nixos equivalent to the /etc/rc.local of the days of yore? (I want to set a procfs value after bootup)
vidbina_ has joined #nixos
ashkitten has joined #nixos
<kraem> globin: do you have time to look at this? :) https://github.com/NixOS/nixpkgs/pull/85064 if it's not wanted i'll close it :)
<{^_^}> #85064 (by kraem, 3 days ago, open): exa: include patch to group dir symlinks with regular dirs
devhell has quit [Ping timeout: 246 seconds]
knupfer has quit [Ping timeout: 265 seconds]
<freeman42x[m]> NobbZ: tried with fetchFromGitHub and it still does not work: https://i.imgur.com/ELn3ouV.png
mexisme has quit [Quit: WeeChat 2.7.1]
captjakk has joined #nixos
<NobbZ[m]> Well, you still don't have the doublequotes…
<evils> `src = "$(pkgs.fetchgit {}}/folder";`
devhell has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/342eaba9ebb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0f920b05cbc (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/342eaba9ebb (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
captjakk has quit [Ping timeout: 256 seconds]
<freeman42x[m]> evils: NobbZ still having issues: https://i.imgur.com/fLuoVnP.png
<NobbZ[m]> You can't use a single quote like that, strings are either in single-double-quotes or double-single-quotes. In general it might be easier to read/follow if you do the `fetchX` in a `let` and then only use that variable in the interpolation.
mexisme has joined #nixos
<turion> The PR I worked on (Canon printer drivers has already been done to completion by someone else:
<{^_^}> #65469 (by terlar, 37 weeks ago, open): cnijfilter: add 3.80
<freeman42x[m]> NobbZ: why can I not use single quotes inside double quotes? I do not understand what to do
<turion> symphorien reviewed it, but it seems like noone merged it? What's missing?
<NobbZ[m]> freeman42x:
<NobbZ[m]> Nix does not have singlequoted strings. Its invalid syntax.
cr4y1_ has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
<NobbZ[m]> Though you can safely use doublequotes in the interpolation.
revtintin has joined #nixos
<asheshambasta> if I'd like to see where nixpkgs.haskellPackags.xmonad is defined, where do I need to look in the nixpkgs repo?
<Izorkin> Error runnig test - nix-build nixos/tests/php/unit.nix - cannot coerce a function to a string - https://pastebin.com/CwZEFRYQ How to correct write - "root": "${testdir}/web",
<freeman42x[m]> NobbZ: evils this is working for me https://i.imgur.com/RaMxonk.png thank you NobbZ++ evils++
<{^_^}> NobbZ's karma got increased to 1, evils's karma got increased to 6
<turion> asheshambasta: As an easy approach, just use github search
<evils> asheshambasta: pkgs/development/haskell-modules/hackage-packages.nix
reactormonk has joined #nixos
<srk> asheshambasta: nix edit nixpkgs.haskellPackages.xmonad
<turion> srk: Mind blown
<reactormonk> I've tried to build a derviation in the repl via :b - but it failed. How can I display the full error log?
<NobbZ[m]> freeman42x: please use single-double-quotes. double-single-quotes should be used only for multiline strings. Also the code will be easier to read if you use a let-binding.
<asheshambasta> srk: holy wow
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JffqP
<srk> right? :)
maddo has joined #nixos
<freeman42x[m]> NobbZ: how does `use single-double-quotes` look like? let-binding for what?
<srk> > pkgs.haskellPackages.xmonad.meta.position
<{^_^}> "/var/lib/nixbot/nixpkgs/master/repo/pkgs/development/haskell-modules/hackage-packages.nix:265823"
ebopp has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #85361 → fd: 7.5.0 -> 8.0.0 → https://git.io/JffqS
ebopp has quit [Client Quit]
SanchayanMaity has joined #nixos
ebopp has joined #nixos
<SanchayanMaity> Hello. We use nix agent in Jenkins CI declarative pipeline for a Haskell project. In this project, running of one of the HSpec tests is dependent on the setting of an environment variable. If the environment variable is set (which I would like to set in CI), the one of the available hspec test will be skipped. Is there a way to set an environment variable during run of nix-build?
<srk> you could override the respective phase (checkPhase?)
ebopp has quit [Client Quit]
<{^_^}> [nixpkgs] @vcunat pushed 7 commits to release-19.09: https://git.io/Jffmq
<srk> checkPhase = ''PATH+=":$PWD" git-annex test''; or even reuse original and prefix with $ENVVAR
pbogdan has joined #nixos
hmpffff has joined #nixos
<NobbZ[m]> freeman42x: single-double-quotes look like `"`. Those you already have around the string. You can do `"${"foo"}"`, this is totally fine syntax wise.
<{^_^}> [nixpkgs] @Ma27 pushed to master « nixos/doc: fix database-setup example for matrix-synapse »: https://git.io/JffmZ
<{^_^}> [nixpkgs] @vcunat pushed 132 commits to staging-20.03: https://git.io/Jffm4
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « nixos/doc: fix database-setup example for matrix-synapse »: https://git.io/JffmB
<turion> SanchayanMaity: If I understand correctly you can also set environment variables in an attribute set
mctl has quit [Ping timeout: 264 seconds]
<turion> Like { MY_ENV_VAR = "foo"; my_pkg = callPackage ...; }
<turion> It has been recommended to use builtins.fetchGit always when referring to some nix source, and nixpkgs.fetchgit/fetchGithub else?
ebopp has joined #nixos
ebopp has quit [Client Quit]
mctl has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
pbogdan has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
thc202 has quit [Ping timeout: 252 seconds]
<SanchayanMaity> Trying to look at both the suggestions now
<{^_^}> [nixpkgs] @Profpatsch merged pull request #85105 → skalibs: 2.9.2.0 -> 2.9.2.1 → https://git.io/Jvj0O
<{^_^}> [nixpkgs] @Profpatsch pushed to master « skalibs: 2.9.2.0 -> 2.9.2.1 »: https://git.io/JffmH
thc202 has joined #nixos
o1lo01ol1o has joined #nixos
pbogdan has joined #nixos
justanotheruser has quit [Ping timeout: 246 seconds]
chagra_ has quit [Ping timeout: 256 seconds]
<Profpatsch> betaboon: coming back to your question, here’s how we call the nixos configuration from terraform: http://dpaste.com/1S1VW53
<Profpatsch> The config.custom stuff is all options I’ve defined in the nixos config that are then filled on the terraform side
<{^_^}> [nixpkgs] @dasJ closed pull request #84951 → samba: Fix path to krb5kdc → https://git.io/Jvhl5
<Profpatsch> You can even use the module system’s types to restrict e.g. the private keys :
ebopp has joined #nixos
<Profpatsch> secret.sslCertificatePrivkey = lib.mkOption {
<Profpatsch> description = "path to ssl private key file";
<Profpatsch> type = lib.types.strMatching "^/var/keys/.*$";
<Profpatsch> };
ebopp has quit [Client Quit]
<betaboon> Profpatsch: thanks for coming back to that question. i got to that solution this morning after sleeping on it as well. i think i just got a little confused, as i am using terranix to generate the terraform configuration thus i am in nix all the way XD
<Profpatsch> yeah, if you have additional generation steps that makes it harder.
<betaboon> works out fine so far
<Profpatsch> our tf isn’t complicated/big enough to use stuff like terranix.
<Profpatsch> But I hear that many companies have tens of thousands of lines of hcl, it might make sense then
<betaboon> feels quite nice to have the expressiveness of nix-language to generate the rest.
<Profpatsch> good thing the tf developers are grounded enough to provide a json-format as alternative to HCL.
<Profpatsch> makes integration so much easier.
<betaboon> ye
<Profpatsch> I’m really happy with terraform, so much stuff you don’t have to care about and a straight-forward conceptual design.
<Profpatsch> though I’m fairly certain we haven’t seen the final form of such a system yet.
<{^_^}> [nixpkgs] @dasJ opened pull request #85362 → samba: Switch back to builtin Heimdal Kerberos → https://git.io/JffYY
<betaboon> i have been using nixops so far. but i felt the urge to try switching to terraform for quite a while. might migrate my nixops deployments to using terraform at some point
<betaboon> terraform + terraform-nixos-provider + terranix realy feels like a good setup atm
<Profpatsch> It’s sane to centralize the logic of all these integrations to a centrally agreed-on system, because the amount of person-years needed to write them is staggering
<Profpatsch> Maybe nixops should use terraform as backend
* Profpatsch hasn’t looked at nixops enough, so that statement might have been nonsensical
<betaboon> Profpatsch: i had that talk with gchristensen a while ago and a good point: switching nixops to using terraform would break existing deployments.
<manveru> i like terranix+morph :)
<betaboon> manveru: can you share an example of how you use that ? i was interested in that setup
<manveru> they both have examples already... all you have to do is plug in your hostname that terraform deployed into morph config
<{^_^}> [nixpkgs] @prusnak opened pull request #85363 → jitsi-meet-electron: 2.0.0 -> 2.0.2 → https://git.io/JffYr
Ariakenom has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @ju1m opened pull request #85364 → stig: fix checkPhase → https://git.io/JffYo
<manveru> the trickiest part was getting nixos-infect to run on the hetzner server after deploy i think?
Ariakenom has joined #nixos
jco has quit [Ping timeout: 246 seconds]
<betaboon> manveru: so you're setting `deployment.targetHost` to be the machines created with terraform ?
<manveru> yeah
<manveru> well, there's no targetHost
<manveru> this is not nixops :)
<betaboon> manveru: and then you do a 2-stepped process, like doing `terraform apply` first and `morph build` second?
<manveru> jup
<manveru> like `morph deploy --keep-result --upload-secrets --timeout 30 --every 1 ./cluster.nix switch`
<simpson> Ericson2314: Regarding https://news.ycombinator.com/item?id=22885573 do you have good suggestions, or perhaps notes, on how languages could more tightly integrate with Nix/nixpkgs?
<simpson> I'm both interested because I want to apply those ideas to Monte, and also because it would be good to start measuring how suitable the various popular languages are for this sort of demo.
podfinkx has joined #nixos
<manveru> and the `cluster.nix` is like `{ network = { ... }; "my.host" = { pkgs, ... }: { imports = [ ... ]; }; }`
<Ericson2314> simpson: Intensional store and ret-cont recursive Nix (though I hope to make big some modifications to my RFC)
<betaboon> manveru: thanks for the input tho. :)
<manveru> ah, it does have targetHost
<Ericson2314> simpson: Also, I just had a new idea for "early producing output"
<manveru> i just use the attrname
<Ericson2314> that works really well with both
gxt has quit [Remote host closed the connection]
<betaboon> manveru: targetHost seems to default to that. i was looking for the scenario where the hostname is not resolvable to ip
zupo has joined #nixos
gxt has joined #nixos
<Ericson2314> basically, if all the data is going to be content addressed anyways, use recursive nix to add arbitrary content-addressed store paths to store, and assign then to outputs as you go
<Ericson2314> Then wen the build exits, it checks that all your outputs have been assigned one, and everything you added is rooted by one of your outputs
<{^_^}> [nix] @domenkozar pushed to more-pos « pass Pos to forceValue to improve infinite recursion error »: https://git.io/JffOY
<Ericson2314> this allows derivations that "fork" without silly impurities
<{^_^}> [nix] @domenkozar opened pull request #3502 → pass Pos to forceValue to improve infinite recursion error → https://git.io/JffOs
<betaboon> manveru: is there a way to reference the ip of a host within the configuration of another ?
<Ericson2314> ret-cont recursive nix how have manual derefing (caller control) rather than callee-control as I have it today, except with this new "add to store and return" model, when it can return `drv!output` to kick off dynamically many rounds of building
<manveru> betaboon: if you use https://github.com/tweag/terraform-provider-nixos you can write out a ip mapping
<betaboon> manveru: currently I'm using that provider, but what would i need morph for then? oO
<manveru> betaboon: granted, it's not as convenient as nixops, but way faster :)
<manveru> to split the provisioning and deployment into two phases
<manveru> you don't want to run terranix/terraform everytime you deploy, do you?
<betaboon> manveru: why wouldnt i ? oO
<manveru> i guess yours changes a lot more than mine then :)
<manveru> i haven't touched the terraform config in months
<podfinkx> Hello!! 👋️ I am new to nixos. I have a problem for a couple of hours and I cant resolve, I appreciate any help you can throw at me. I have a installation running with root encryption but I also want to be able to unlock the disk via ssh (with dropbear) the thing is that machine is in a vlan and I cannot find a way to put a static ip address with vlan tagging on boot.initrd.kernelParams
<betaboon> manveru: when using the terraform-provider-nixos it will just deploy the machines and not do anything else if that's all that changed
<manveru> finding out that nothing changed still takes time
<betaboon> manveru: yeah that is true. not acceptable to you?
<manveru> but i guess if you have it fully CD, it doens't matter that much to you :)
<manveru> i trigger my deploys from a makefile, so time matters
<betaboon> manveru: ah yeah XD
<manveru> anyway, with this approach you can just as well use nixops with `none` targets and skip the provisioning stage :)
Ariakenom has quit [Ping timeout: 256 seconds]
turion has quit [Quit: Leaving.]
<manveru> i'm just trying to keep my iteration times as fast as possible, so reducing the amount of code evaluated in each step is important
<betaboon> manveru: true. all of that :) so many different aproaches and soft-qualities to fulfil :)
Ariakenom has joined #nixos
iyzsong has joined #nixos
<qyliss> I can I override environment.etc to remove a file?
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @immae opened pull request #85365 → Fix postRun in acme certificate being ran at every run → https://git.io/JffO1
<{^_^}> [nixpkgs] @immae opened pull request #85366 → Fix postRun in acme certificate being ran at every run → https://git.io/JffOy
pbb has quit [Ping timeout: 272 seconds]
pbb has joined #nixos
<simpson> Ericson2314: Interesting. I'm not sure how to integrate those into language design, TBH; maybe I'm too used to seeing traditional language-specific package managers as useless.
<Ericson2314> simpson: well in the meantime, we can go for the still-difficult goal of making sure the compilers and standard libraries are always in separate derivations
relaxmax has quit [Ping timeout: 256 seconds]
<Ericson2314> Only C/C++ and Clang do that correctly today, sadly
Darkmatter66 has quit [Ping timeout: 256 seconds]
<simpson> Sure. Just, like, what are the big dreams? I already not only did that for Monte, but also made each module separately built; the stdlib gets regenerated incrementally module-by-module, like one would expect in a civilized environment.
<podfinkx> can I add a vlan manually to the initrd with boot.initrd.network.postCommands ?
Darkmatter66 has joined #nixos
<gchristensen> podfinkx: are there not existingNixOS options to manage vlans?
<Ericson2314> simpson: OK module by module is the goal
<Ericson2314> do you use IFD for that?
<podfinkx> @gchristensen not for the stage 1 of boot as I see
<Ericson2314> does your language have types or other things that allow comparing interfaces?
<gchristensen> interesting
<podfinkx> gchristensen I dont really know I'm very new to nixos, thats why I'm asking
<{^_^}> [nixpkgs] @Ma27 merged pull request #85361 → fd: 7.5.0 -> 8.0.0 → https://git.io/JffqS
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jff3G
<Ericson2314> simpson: if you have any sort of static configuration language in monte like CPP or rust's #[cfg] you want https://ckaestne.github.io/TypeChef/
<manveru> doesn't idris or some language like it use nix already?
<Ericson2314> simpson: also check out https://people.mpi-sws.org/~skilpat/papers/kilpatrick-thesis-nov-2019-publication.pdf and combine with the above for proper composition of modules without type errors
<podfinkx> gchristensen: I tried with boot.kernelParams without luck, something like boot.kernelParams = ["ip=192.168.20.10::192.168.20.1:255.255.255.0:eth0.20:off"];
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @elseym pushed commit from @bachp to release-20.03 « unifiStable: 5.12.35 -> 5.12.66 »: https://git.io/Jff3c
o1lo01ol1o has joined #nixos
<podfinkx> gchristensen: I have a normal vlan configured when the system is booted but I'm trying to unlock my root disk via ssh and cant reach the server because is not in the correct vlan....
<gchristensen> podfinkx: yeah, I'm sorry, I can't help further right now -- but you might be on to something doing it in postCommands
<{^_^}> [nixpkgs] @romildo merged pull request #85304 → common-updater: add update script to all-packages → https://git.io/Jfvrf
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/Jff3l
iyzsong- has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iyzsong has quit [Ping timeout: 256 seconds]
<podfinkx> gchristensen: well I guess I'm gonna try that. thanks.
<simpson> Ericson2314: Monte is dynamically typed, so that we don't need to bother with any of the hard stuff you're thinking of. We just batch-compile modules, mapping each source file to an artifact file. When it gets fast enough, we'll use static linking to combine modules into applications, somewhat like Go, I guess?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
hlavaty has joined #nixos
<Ericson2314> simpson: OK. There is just less to be done for dynamic languages because virtually no analysis can be done except for on the whole program, so what you have is probably quite close to the local optimum
<simpson> Ericson2314: That is not just acceptable, but desirable. We're late-binding. What would be interesting is some way to put the equivalent of a Smalltalk image into the Nix store somehow. Not exactly like that, but that's the sort of equivalent to doing static typechecking from within Nix.
<simpson> I've sketched a design for some of this. Imagine e.g. a REPL that has some commands that let it import stuff from the Nix store and also export back to the store, just like traditional saving and loading from disk. Interleaving these saves and loads could lead to e.g. notebooks which are incrementally built with Nix.
<Ericson2314> yes the saving and loading ting, but within derivations, was the sort of thing I was mention before
<Ericson2314> with the purity restrictions of recursive + nix plus cannot perform nix builds
kyren has joined #nixos
FRidh has joined #nixos
<simpson> No worries. We just won't do that.
<{^_^}> [nixpkgs] @peterhoeg opened pull request #85367 → nix-prefetch: 0.3.0 -> 0.3.1 → https://git.io/Jff3H
ebopp has joined #nixos
ebopp has quit [Quit: leaving]
ebopp has joined #nixos
podfinkx has quit [Quit: podfinkx]
cosimone has joined #nixos
<asheshambasta> say I'd like to override the source of a Haskell package derivation, using https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/lib.nix#L306, am I on the right track with something on the lines of: https://gist.github.com/asheshambasta/59f3877f5837c1daa10797d5cc1d7338 where I'm trying to fetch a more recent tarball, swapping out the SRC of the build and attempting to build from that.
<asheshambasta> (this gives cabal specific errors where the cabal file is not found, making me suspect that the build is happening at the "wrong" place in the dir.)
o1lo01ol1o has joined #nixos
<asheshambasta> (also with patches not overriden, this causes errors in patchfiles not found)
<asheshambasta> (with further strengthens my suspicions)
<{^_^}> [nixpkgs] @alyssais opened pull request #85368 → modules/systemd: don't install home.conf example → https://git.io/Jffsf
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/dd46307a5fc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
arjen-jonathan has quit [Ping timeout: 272 seconds]
arjen-jonathan has joined #nixos
syd has joined #nixos
<syd> Is there a way to pass through options to nixos-build for the nix-build?
<gentauro> anybody know how I can install `go-1.13` with the current stabel channel? (`nixos https://nixos.org/channels/nixos-19.09`)
Neo-- has joined #nixos
<srhb> gentauro: It's called go_1_13 if you're asking for the package name
<{^_^}> [nixpkgs] @primeos pushed to master « google-chrome-{beta,dev}: Fix one substituteInPlace pattern »: https://git.io/Jffsw
<gentauro> srhb: thx :)
<gentauro> `nix-env -qaP | grep go_1_13 => nixos.go_1_13 go-1.13.8`
<gentauro> I think I was searching with `go-1.13` :(
sisqu has joined #nixos
sisqu has left #nixos [#nixos]
<{^_^}> [nixpkgs] @immae opened pull request #85369 → Add an option to re-use private keys for lego certificates → https://git.io/JffsH
captjakk has joined #nixos
<{^_^}> [nixpkgs] @immae opened pull request #85370 → Update the release documentation → https://git.io/JffsF
syd has quit [Quit: Connection closed]
zupo has joined #nixos
heijligen has joined #nixos
captjakk has quit [Ping timeout: 265 seconds]
ebopp has quit [Quit: leaving]
ebopp has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JffGI
teto has joined #nixos
remirol has joined #nixos
Desetude has joined #nixos
lorimer has quit [Ping timeout: 265 seconds]
Desetude has quit [Client Quit]
<{^_^}> [nixpkgs] @Mic92 opened pull request #85371 → tmpfiles: load user-defined entries first → https://git.io/JffGO
Desetude has joined #nixos
chagra_ has joined #nixos
Desetude has quit [Client Quit]
wolke has quit [Quit: ZNC 1.7.5 - https://znc.in]
ATuin has quit [Ping timeout: 240 seconds]
relaxmax has joined #nixos
fendor has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/900b58e4eed (from 73 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
wolke has joined #nixos
Desetude has joined #nixos
Neo-- has quit [Ping timeout: 256 seconds]
Naptra has quit [Remote host closed the connection]
Naptra has joined #nixos
jakobrs has joined #nixos
<jakobrs> the pepperflash package appears to be broken?
<jakobrs> NIXPKGS_ALLOW_UNFREE=1 nix-shell -p 'chromium.override { enablePepperFlash = true; }'
<jakobrs> errors with a 404 when trying to download flash_player_ppapi_linux.x86_64.tar.gz
Jackneill has quit [Ping timeout: 256 seconds]
<etu> jakobrs: Yep, if you want to go searching for another mirror, that would be great. Otherwise you could write an issue about it.
<jakobrs> I'll do so later
ATuin has joined #nixos
<jakobrs> How do I override the config.nix file?
<jakobrs> I mean, from nix-build
<jakobrs> flashplayer (the one firefox uses) is also broken
<jakobrs> etu: Found the new location
<jakobrs> 344 has been replaced with 363
<etu> So new version where they have dropped the path to the old one, great
<etu> jakobrs: Then it should be fairly straightforward to update the package to use the newer version :)
<jakobrs> I'll do that as soon as possible
Neo-- has joined #nixos
<etu> jakobrs: Perfect, thanks :)
Jackneill has joined #nixos
domogled has joined #nixos
<gentauro> iirc somebody in here showed me how to search for a specific command (I think it was `clear` which is in `ncurses`). Now I need to find out where `which` is ...
* gentauro I forgot to write it down :(
<etu> ,locate bin which
<{^_^}> Found in packages: which, toybox, busybox, debianutils
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.33.0 -> 1.33.1 »: https://git.io/JffZo
softaman has joined #nixos
<softaman> > builtins.isNull test
<{^_^}> false
<softaman> but why do I get this in my nix repl:
<softaman> nix-repl> builtins.isNull testerror: undefined variable 'test' at (string):1:17
<gentauro> ,locate bin which
<gentauro> ,locate bin which
<{^_^}> Found in packages: which, toybox, busybox, debianutils
<gentauro> etu: does it only work here in IRC? :)
<gentauro> or can I do it from my NixOS box :)
peelz has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #85372 → [20.03] signal-desktop: 1.33.0 -> 1.33.1 (backport) → https://git.io/JffZy
<etu> > pkgs.nix-index.meta.description
<{^_^}> "A files database for nixpkgs"
<etu> gentauro: That will give you nix-locate that can be used to search
<etu> gentauro: More info here: https://github.com/bennofs/nix-index
<softaman> > if test == null then "yes" else "no"
<{^_^}> "no"
<softaman> well, I get undefined variable 'test'
<softaman> how come?
<softaman> in nix repl
<srk> > test
<{^_^}> { override = <CODE>; overrideDerivation = <CODE>; result = <CODE>; }
<srk> ^^
<softaman> shit
<softaman> > if test666 == null then "yes" else "no"
<{^_^}> undefined variable 'test666' at (string):296:4
<softaman> ok, so my question is - how can I test if test666 is set or null?
domogled has quit [Ping timeout: 256 seconds]
<softaman> > builtins.isNull test666
<{^_^}> undefined variable 'test666' at (string):296:17
<softaman> something like buildins.isSet?
<srk> not sure if there's test for defined variable but you can check for existing attr via hasAttr
<softaman> hmm like how?
<softaman> > builtins.isAttr test666
<{^_^}> attribute 'isAttr' missing, at (string):296:1
<softaman> > builtins.isAttrs test666
<{^_^}> undefined variable 'test666' at (string):296:18
peelz has joined #nixos
<srk> > builtins.hasAttr "test" { test = 2; }
<{^_^}> true
<softaman> but what if test is not set?
<softaman> that doesn't help me much in that case
<softaman> I know Nix do some merging, if there a way, I define test = false and then merge it with any possible outside test? or that won't work
<{^_^}> [nixpkgs] @primeos pushed to master « gitRepo: 2.5 -> 2.6 »: https://git.io/Jffnn
<softaman> in other words, I do not know if my variable test666 is set or not, but I want to evaluate both
<softaman> if not set OR null do this other than
<softaman> sorry, not sure if that is clear
<{^_^}> [nixos-homepage] @garbas pushed to plasma5-rename « Update news.xml »: https://git.io/JffnC
<sphalerite> softaman: generally speaking, you don't. What are you trying to achieve?
<gentauro> etu: do you know how much HD I need to use for the `nix-index` tool? (still ongoing)
<sphalerite> gentauro: ~25MiB
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<softaman> sphalerite: so, upstream has a set of functions and nixpkgs in their repository, I'm importing it as set of functions in my config.nix, in this config.nix I want to have a variable to overrite something
<softaman> sphalerite: but, that variable, is for downstream users and don't have to be set all the time
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85332 → Revert "nixos/acme: Fix allowKeysForGroup not applying immediately" → https://git.io/Jfv7h
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jffng
<{^_^}> [nixpkgs] @worldofpeace merged pull request #85333 → [20.03] Revert "nixos/acme: Fix allowKeysForGroup not applying immediately" → https://git.io/Jfv5l
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jffn2
<{^_^}> [nixos-homepage] @garbas pushed to plasma5-rename « bolding some words »: https://git.io/Jffna
<softaman> so I want to find out, depending if someone imports my repository and in their repository uses a feature , they can set a variable to enable it
<sphalerite> softaman: you can define a function with an optional argument maybe? (I'm still not entirely sure what your code looks like concretely, but…)
<sphalerite> > ({ enableX ? false }: if enableX then "x enabled" else "x not enabled") {}
<{^_^}> "x not enabled"
<sphalerite> > ({ enableX ? false }: if enableX then "x enabled" else "x not enabled") { enableX = true; }
<{^_^}> "x enabled"
<softaman> can I also use this within the attribe set
<softaman> my variable is like config.rust.enable-nightly ? false?
<softaman> but I already immport config hm
<softaman> maybe config { rust.enable-nightly ? false }
Neo-- has quit [Ping timeout: 256 seconds]
<softaman> heh, no, it doesn't allow that
<jakobrs> If I'm writing a commit that modifies multiple derivations, should I list all of the derivations in the commit message, or should I split it into multiple commits?
<Izorkin> etu: in latest php updates not loaded pdo_mysql in nginx-unit. Cheking with this test - https://pastebin.com/NvExNEe4
evertedsphere has joined #nixos
waleee-cl has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
<betaboon> when using lorri, can i somehow add a binary cache just for a single project ?
<b42> > lib.recursiveUpdate { rust.enable-nightly = false } { rust.enable-nightly = "YEAH" }
<{^_^}> error: syntax error, unexpected '}', expecting ';', at (string):296:51
<b42> > lib.recursiveUpdate { rust.enable-nightly = false; } { rust.enable-nightly = "YEAH"; }
<{^_^}> { rust = <CODE>; }
<b42> huh
<gentauro> etu: running `nix-index` takes all the bandwith so I fall of `IRC` :o
reallymemorable has joined #nixos
softaman has quit [Remote host closed the connection]
reallymemorable has quit [Client Quit]
<srk> > let x = lib.recursiveUpdate { rust.enable-nightly = false; } { rust.
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):297:1
<srk> oop
<srk> > let x = lib.recursiveUpdate { rust.enable-nightly = false; } { rust.enable-nightly = "YEAH"; }; in lib.traceValSeq x
<{^_^}> { rust = { enable-nightly = "YEAH"; }; }
cr4y1 has quit [Remote host closed the connection]
Neo-- has joined #nixos
reallymemorable has joined #nixos
<b42> always fighting laziness and semicolons:D
cr4y1 has joined #nixos
<srk> I wish there was $ instead of () :D
<etu> Izorkin: Oh, that is because unit gets the base package because it requires the .dev output -- and we don't have the .dev output on the full package
<etu> Izorkin: I think this PR *may* be able to resolve that, but I'm not sure: https://github.com/NixOS/nixpkgs/pull/85026 -- I'm not the author of it.
<{^_^}> #85026 (by talyz, 4 days ago, open): [WIP] php.buildEnv: Make the exported php package overridable
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has quit [Remote host closed the connection]
zupo has joined #nixos
<{^_^}> [nixpkgs] @jakobrs opened pull request #85373 → flashplayer: 32.0.0.344 -> 32.0.0.363 → https://git.io/JffcQ
<jakobrs> etu: ^
o1lo01ol1o has joined #nixos
zupo has quit [Client Quit]
gustavderdrache has joined #nixos
<manveru> betaboon: you could make a custom nix.conf for that project, and set NIX_CONF_DIR in direnv or something
<betaboon> manveru: ouh. thats what i was looking for. thank you :)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/dd46307a5fc (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<gentauro> etu: is there a nice way to `wrap` the output?
<gentauro> ,locate bin which
<gentauro> , locate bin which
<gentauro> ,locate bin which
<gentauro> so it reminds of:
<gentauro> `14:33 < {^_^}> Found in packages: which, toybox, busybox, debianutils`
<etu> jakobrs: It's better to split the commits and prepend each commit with the attribute name
<etu> jakobrs: If possible that is
podfinkx has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<jakobrs> I just looked in git log to see what the previous such commit was named
<jakobrs> 423a8b9
iyzsong- has quit [Quit: ZNC 1.7.1 - https://znc.in]
<etu> gentauro: I'm not sure, it's most probably possible. But it was quite a while ago I used nix-index... I mostly find my way around with "nix search" nowadays, but that doesn't search for specific things so it's not the same thing.
o1lo01ol1o has joined #nixos
<gentauro> etu: fair enough. The good thing is that I kind find binaries ;)
<gentauro> etu: thx for the help
<gentauro> (how do I give you karma?)
<gentauro> etu: karma +1
<manveru> gentauro++
<{^_^}> gentauro's karma got increased to 1
<gentauro> gentauro--
<gentauro> etu++
<{^_^}> etu's karma got increased to 14
<manveru> don't be so self-decrementing :)
<ldlework> hah
<gentauro> manveru: I don't deserve it ;)
<etu> gentauro: Try to increase your own karma and see what happens ;)
<gentauro> gentauro++
<{^_^}> gentauro's karma got decreased to 0
<gentauro> etu: thx :D
<gentauro> etu: does it go negative (now I'm really tented to do it again) xD
<etu> 🤷
* gentauro let see if they chose `int` vs `uint` :)
<seku> negative could be fun. maybe a buffer underflow?
<infinisil> aszlig++
<{^_^}> aszlig's karma got increased to -665
<seku> xD
<immae> wow how did he get so low?
<manveru> he always was that low
<manveru> benefit of being a demon :)
<immae> ahh it’s a demon
<gentauro> infinisil: xD
<gentauro> seku: if it was unsigned, you could get a HUGE karma with just a simple `--` ;)
<{^_^}> [nixpkgs] @lheckemann opened pull request #85374 → gnupg: use libusb1 → https://git.io/JffC6
<jakobrs> If I use four dashes, will I lose 2 karma?
<podfinkx> if there a way to add vlan tagging on the boot.initrd?
Desetude has quit [Quit: WeeChat 2.8]
<infinisil> jakobrs: "nick++++" parses as the nick "nick++" ++
<infinisil> But "nick++" isn't a valid nick, so it wouldn't do anything :)
<jakobrs> {^_^} nick's karma got increased to 2
<infinisil> Hehe
<infinisil> {^_^}++
<{^_^}> {^_^}'s karma got increased to 174
<jakobrs> Too bad su doesn't work in irc
<jakobrs> What decides what packages go in /run/current-system/kernel-modules/lb/modules/5.3.2?
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.erm_xmpp: 0.3+20180112 -> 0.3+20200317 »: https://git.io/JffCx
nschoe has joined #nixos
<esclear> Is it possible to override the JDK installed alongside an eclipse distribution built here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/eclipse/default.nix ?
<esclear> I'm trying to update eclipse-scala-sdk to a newer version, however it depends on jdk8 and doesn't work with newer versions.
<esclear> Is it possible to apply an override there, similarly to what is possible within the .nixpkgs/config.nix with the package overrides?
<Mic92> jakobrs: boot.extraModulePackages
<jakobrs> Do I have to add packages to extraModulePackages even if they're already in kernelPackages?
<Mic92> jakobrs: kernelPackages is different. It's the main package set that provides the kernel version as well.
<jakobrs> But it already provides the module I'm looking for
<jakobrs> yet I still had to add it to extraModulePackages
<Mic92> jakobrs: ok. in that case you just need to load the module
<jakobrs> sudo modprobe <module> didn't work before I added it to extraModulePackages
<jakobrs> I assume not every package from kernelPackages is added by default
<Mic92> jakobrs: what did you add exactly?
<jakobrs> v4l2loopback
<Mic92> jakobrs: ok. This package is not upstream in the kernel, but a package maintained in nixpkgs. https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/programs/sysdig.nix#L12
remirol is now known as lorimer
<Mic92> config.boot.kernelPackages sets the package sets to use for our module
<Mic92> including the kernel
<Mic92> boot.extraModulePackages will actually install those extra modules.
<jakobrs> That makes sense
samrose has joined #nixos
<jakobrs> Which packages/modules are added by default then?
<gentauro> why don't I have `qtdeploy` in my nix-shell? https://github.com/therecipe/qt/wiki/Deploying-macOS-to-macOS#nix-deployment
<gentauro> I tried to search for the binary with `nix-index` and `nix-locate` :|
<Mic92> jakobrs: I am not aware of non-upstream kernel packages enabled by default. So it should be only the actual kernel upstream packages. However you might pick up modules when using: nixos-hardware.
<Mic92> or other modules
<jakobrs> yes, makes sense.
<{^_^}> [nixpkgs] @bhipple merged pull request #84448 → node-problem-detector: init at 0.8.1 → https://git.io/JvND4
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JffW8
s1341 has joined #nixos
<Mic92> gentauro: I also cannot find it. Maybe it got vanished over time.
zupo has joined #nixos
<gentauro> Mic92: :(
captjakk has joined #nixos
<Mic92> gentauro: First you should find the corresponding upstream package that should contain it.
podfinkx has quit [Quit: podfinkx]
<Mic92> esclear: yes. (eclipse.override { jdk = jdk8; }) should work
<Mic92> use packagesOverrides
<gentauro> Mic92: `nix-index && nix-locate qtdeploy` gives empty. So no packages in 19.09 has that tool :(
<esclear> Mic92: So where would that go in the eclipse/default.nix file?
linarcx has joined #nixos
<Mic92> gentauro: Yes. But some source in qt should provide it, if we have it packaged you could check what is wrong with our build process. It could be also the case that upstream has moved it to a new repository that we have not packaged yet.
captjakk has quit [Ping timeout: 256 seconds]
<Mic92> esclear: ah you want to do the change in nixpkgs itself?
<esclear> Yes. Since eclipse-scala-ide doesn't work with newer versions, this would make more sense. Otherwise all users would have to make a manual override as well.
<Mic92> esclear: let me check the source more closely
<betaboon> lopsided98: thanks for all the effort on nix-ros-overlay. just tried it out. works for me. will help alot :)
<Mic92> esclear: change `import ./build-eclipse.nix {...}` to `callPackage`. Than you can do `buildEclipse.override { jdk = jdk8;}` for the scala-ide case.
<Mic92> Does this make sense?
<esclear> I think so.
dhkl has joined #nixos
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
knedlsepp has joined #nixos
jakobrs has quit [Quit: WeeChat 2.8]
<knedlsepp> Hi! I was wondering if somebody might know if it's possible to run some command inside a docker container as part of `nix-build`?
SanchayanMaity has quit [Quit: leaving]
<infinisil> knedlsepp: Got more context?
vidbina_ has quit [Ping timeout: 258 seconds]
<knedlsepp> infinisil: I've got a hydra setup that verifies that my code builds in a nixified environment. However I do need to verify that the same code also runs inside a docker container provided by somebody else. I'd really love to be able to leverage my existing hydra instance for that instead of setting up another CI server.
<evils> ,locate gnat
<{^_^}> Found in packages: vim, glib.dev, vimHugeX, gnatsd.bin, vimPlugins.ale, bash-completion, neovim-unwrapped
<adisbladis> evils: Iirc we don't have gnat
* evils cries
<knedlsepp> That's why I was hoping to be able to write some nix expression that would build and run my code inside of a docker container as part of a nix-build.
<adisbladis> I tried adding it back some time last year.. But I can't remember why it was so difficult..
<{^_^}> [nixpkgs] @lbpdt opened pull request #85375 → [20.03] node-problem-detector: init at 0.8.1 → https://git.io/Jff8J
<evils> adisbladis: know if we have a compatible ada compiler? (i'm trying to build coreboot)
<lewo> knedlsepp: that's not really convenient to use, but we could start Docker in a VM
<infinisil> ^ that sounds like an idea that should work
<lewo> becuase I don't think runc is working in our sandbox
<adisbladis> evils: Nope :/
<adisbladis> I was also trying to build coreboot
ebopp has quit [Ping timeout: 256 seconds]
<evils> adisbladis: what did you end up doing?
<adisbladis> Not me, I was helping a friend.
<adisbladis> But he ended up using a Docker container
<adisbladis> :/
<adisbladis> :(
sputny[m] has left #nixos ["User left"]
<lewo> in a vm in the nix sandbox ? :/
<evils> i'll probably end up using an ubuntu VM, if i get my pi set up to flash the SPI flash (which nixos doesn't seem to support atm either)
<knedlsepp> lewo infinisil: Thanks for the tip!
linarcx has quit [Quit: WeeChat 2.8]
<infinisil> knedlsepp: Note that you'll probably want to use something like `(import <nixpkgs/nixos/lib/testing-python.nix> { system = builtins.currentSystem; }).makeTest { machine = { <NixOS config of the machine> }; testScript = <python script to run>; }`
<infinisil> For the python script you can look into nixpkgs/nixos/tests for examples
<knedlsepp> infinisil: Thx. That will get me started a lot faster :-)
ebopp has joined #nixos
<JJJollyjim> @pkolloch:matrix.org: hey, the last crate2nix commit has the wrong url structure
<JJJollyjim> there should be a /crate/ at the start
<lewo> knedlsepp: and to run a docker container, we can look into https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/docker-tools.nix
chagra_ has quit [Ping timeout: 264 seconds]
knedlsepp has quit [Remote host closed the connection]
knedlsepp has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
chagra_ has joined #nixos
knedlsepp has quit [Remote host closed the connection]
reallymemorable has joined #nixos
<evils> btw, is there an official stance on packaging development environments (for example a set of dependencies to build coreboot (which `coreboot-utils` doesn't seem to be)) in nixpkgs?
<gchristensen> usually you would usually just package `coreboot`, and then `nix-shell -A coreboot` will put you in to the environment used to build coreboot
<evils> gchristensen: i would expect that to either provide a built coreboot image (not particularly useful), or drop you into the source code (and build environment) of coreboot, which needs to be mutable
<gchristensen> `-p` would put you in an environment with the built coreboot image, `-A` puts you in to the build environment of coreboot, with the tools and environment set up, where you can then `cd` to your source directory and build and work with
<evils> gchristensen: so that would then just provide a shortcut to `nix-shell -p m4 -p bison -p flex -p zlib -p gnat`?
<gchristensen> evils: you know how you can make write `stdenv.mkDerivation { ... }` and `nix-shell` to get inside that shell?
<gchristensen> evils: you know how you can make write `stdenv.mkDerivation { ... }` to ./default.nix or ./shell.nix and `nix-shell` to get inside that shell?
numkem has joined #nixos
<evils> gchristensen: i'm aware but not familiar with that
<evils> would that drop you into a mutable version of the source?
<gchristensen> it doesn't automatically get you source
<gchristensen> but if you have `src = fetchurl { ...` the env var $src will be set to that
<evils> wouldn't a mkShell be more useful then, and have a `cd $src` shellHook?
codygman has quit [Ping timeout: 250 seconds]
<evils> and would that src be mutable?
reallymemorable has quit [Quit: reallymemorable]
codygman has joined #nixos
<gchristensen> no, it doesn't do that sort of magic
<gchristensen> you have to unpack your own source and make it mutable
<numkem> Is there a release page somewhere for when we can expect 20.03 to land?
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JffRY
<{^_^}> [nixpkgs] @primeos merged pull request #85372 → [20.03] signal-desktop: 1.33.0 -> 1.33.1 (backport) → https://git.io/JffZy
Ariakenom has quit [Ping timeout: 256 seconds]
<evils> numkem: not sure what you mean, the main page will probably show the new release and the nixos manual will have a new release notes section
<{^_^}> [nixpkgs] @vcunat pushed to release-19.09 « git: 2.23.1 -> 2.23.2 (CVE-2020-5260) »: https://git.io/JffRB
<immae> (I think he meant an agenda / what is blocking for release / ...)
<numkem> ^^ that :)
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @yegortimoshenko merged pull request #85004 → nixos/stage-1: check secret paths before copying → https://git.io/JvhDo
<{^_^}> [nixpkgs] @yegortimoshenko pushed 3 commits to master: https://git.io/JffRu
reallymemorable has joined #nixos
<immae> I’d say https://github.com/NixOS/nixpkgs/labels/1.severity%3A%20blocker + the related discourse topic should contain some information about it but it might not be easy to extract information from it
<gchristensen> afaik we're on the final stages: marking broken packgaes broken and release note finishes
<evils> some centralized information on the progress sounds like a good idea, it's hard to get an idea of what's going on
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/900b58e4eed (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<gchristensen> yeah
<gchristensen> each release is smoother than the last :)
<gchristensen> https://www.youtube.com/channel/UC3vIimi9q4AT8EgxYp_dWIw there have been 3 go / no-go meetings with public recordings
<{^_^}> [nixpkgs] @jtojnar pushed to staging « gst_all_1.gstreamer: fix build »: https://git.io/JffRr
<evils> btw, is there a summation of the release history somewhere? i seem to recall seeing something before, but made my own, https://hastebin.com/nugorofuye.apache
<numkem> gchristensen: that's great news, can't wait for it to be released!
<infinisil> I'm surprised 20.03 is already there
<infinisil> Even though it's not released yet
<{^_^}> [nixpkgs] @vcunat pushed commit from @jamesottaway to release-20.03 « git: 2.25.0 -> 2.25.3 »: https://git.io/JffRF
<{^_^}> [nixpkgs] @vcunat pushed 8 commits to release-20.03: https://git.io/JffRh
reallymemorable has quit [Quit: reallymemorable]
<evils> infinisil: i suppose it's nice to get a rendered view of those release notes
ilikeheaps has quit [Ping timeout: 256 seconds]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<gchristensen> infinisil: that seems like a mistake
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
<catern> is there any kind of NixOS config option for creating a /lib64/ld-linux.so?
<catern> I know about buildUserFHS, steam-run, etc, I'm just curious
<adisbladis> catern: No, it was decided against.
<catern> adisbladis: that sounds like there was a concrete decision somewhere? is there a mailing list thread or github issue or something?
<gchristensen> sure, but the long-and-short is it moves us away from the goals of NixOS
<catern> obviously this option shouldn't be on by default
jeromelanteri has joined #nixos
<{^_^}> #69057 (by volth, 30 weeks ago, merged): add config.environment.ld-linux
<catern> cool, thanks
<adisbladis> You can start there
<adisbladis> Eelco reverted that PR
<{^_^}> #78798 (by matthewbauer, 11 weeks ago, closed): [wip] nixos/lsb.nix: init
itsme5n__ has joined #nixos
Desetude has joined #nixos
<gchristensen> "gosh, this module gives me a serious case of queasy stomach" looking at it again -> still true :')
reallymemorable has joined #nixos
<catern> cool, this is exactly what I was looking for
numkem has quit [Ping timeout: 264 seconds]
reallymemorable has quit [Client Quit]
<gchristensen> adisbladis: it might be interesting to make a label for issues like that of "design-decision"
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @yegortimoshenko pushed commit from @emilazy to release-20.03 « nixos/stage-1: check secret paths before copying »: https://git.io/Jff02
<betaboon> Profpatsch: did you ever find a solution for https://github.com/tweag/terraform-nixos/issues/20 ? happens to me too
<{^_^}> tweag/terraform-nixos#20 (by Profpatsch, 17 weeks ago, open): deploy_nixos: ssh ControlPersist keeps connection open until timeout
reallymemorable has joined #nixos
<Desetude> gchristensen: With the setup you recently blogged about, I'm curious if you bother with small things like adding the user to the sudo lectured directory
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging-next: https://git.io/Jff06
<{^_^}> [nixpkgs] @vcunat merged pull request #85263 → git: 2.25.1 -> 2.26.1 → https://git.io/JfvmS
<{^_^}> [nixpkgs] @vcunat closed pull request #83210 → git: 2.25.1 -> 2.26.0 → https://git.io/Jvyt9
<catern> thanks for the links to the issues, very helpful
<{^_^}> [nixpkgs] @vcunat closed pull request #85277 → git: 2.25.1 -> 2.25.3 [security] → https://git.io/JfvZD
itsme5n__ has left #nixos [#nixos]
<{^_^}> [nixpkgs] @jtojnar opened pull request #85378 → webkitgtk: 2.28.0 → 2.28.1 → https://git.io/Jff0A
Ariakenom has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85379 → doxygen: 1.8.17 -> 1.8.1
Ariakenom has joined #nixos
cole-h has joined #nixos
captjakk has joined #nixos
numkem has joined #nixos
RexHackbro[m] has joined #nixos
dhess has joined #nixos
ATuin has quit [Ping timeout: 256 seconds]
<dhess> In latest Hydra on master/nixpkgs-unstable, I'm getting errors trying to check out private repos given project configurations that worked fine prior to (I think) 0f5c38feed3044845d3ab7378a6d81a1f34b93da
<dhess> They look like this: error: "'git+file://git@github.com:foo/bar.git' is not a valid URL"
<dhess> Any suggestions on how to fix that? I'm not sure where the git+file URL scheme comes from as these are projects specified in Hydra as "Declarative input type: Git checkout" with value "git@githuc.com/foo/bar.git"
<dhess> /githuc.com/github.com/ obvs
<{^_^}> [nixpkgs] @filalex77 opened pull request #85380 → packet-cli: init at 0.0.6 → https://git.io/JffE0
<ikwildrpepper> dhess: I had the same today, try switching to a welformed URL for now: ssh://git@github.com/foo/bar.git
<ikwildrpepper> dhess: I've created an issue for it already
<ikwildrpepper> dhess: although, not 100% sure it is the same issue, it should only happen when using fetchGit
<ikwildrpepper> dhess: although, not 100% sure it is the same issue, it should only happen when using builtins.fetchGit
<ikwildrpepper> oops (sorry for the duplicate)
erasmas has joined #nixos
<{^_^}> [nix] @edolstra pushed to master « fetchMercurial: Use inputFromAttrs() »: https://git.io/JffE7
<hyper_ch> --> "Cherry-picked onto release-20.03 branch: f2d4179" --> this means it gets included into 20.03?
<cole-h> Yes.
opthomasprime has joined #nixos
<hyper_ch> nice
Fawaz_052 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2ee6b5ce7c3 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [rfcs] @Ericson2314 closed pull request #40 → [RFC 0040] "Ret-cont" recursive Nix → https://git.io/fh9ui
opthomasprime has quit [Remote host closed the connection]
Ariakenom has quit [Quit: WeeChat 2.7]
Fawaz_052 has quit [Remote host closed the connection]
aleph- has quit [Quit: WeeChat info:version]
numkem has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos
pamplemousse has joined #nixos
zupo has joined #nixos
aleph- has joined #nixos
zupo has quit [Client Quit]
Desetude has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @das-g opened pull request #85381 → WIP: sky: 2.1.7369 -> 2.1.7520 → https://git.io/Jffzm
ddellacosta has joined #nixos
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos
Desetude has joined #nixos
zupo has joined #nixos
hlavaty has quit [Remote host closed the connection]
<emily> does anyone use flakes for their NixOS system config and/or can anyone point to any resources for doing so?
<{^_^}> [nixpkgs] @bhipple merged pull request #85375 → [20.03] node-problem-detector: init at 0.8.1 → https://git.io/Jff8J
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.03: https://git.io/Jffzi
NickHu has joined #nixos
nek0 has quit [Remote host closed the connection]
<qy[m]1> emily: off the top of my head, myself, vika_nezrimaya, drakonis as of yesterday, and a few others who's name i forget
reallymemorable has quit [Quit: reallymemorable]
nek0 has joined #nixos
<NickHu> Would anyone kindly have a look at https://github.com/NixOS/nixpkgs/pull/76998? It's been awaiting a merge for months now and it's a very simple change
<{^_^}> #76998 (by jflanglois, 14 weeks ago, open): profile-sync-daemon: fix psd-overlay-helper paths
<qy[m]1> my repo is github:bqv/nixos. vika's is https://gitlab.com/vikanezrimaya/nix-flake, don't know if drak's is online
<emily> ok, that's a lot more than previous times I've asked :)
<emily> just reminded of https://github.com/nrdxp/nixflk too
<emily> thanks for the pointers
<emily> shame I probably can't move off niv entirely (unless there's a nice way to synthesize flakes for third-party dependencies that don't support them yet?)
<qy[m]1> yeah, mine's forked from that, technically
<qy[m]1> np
<qy[m]1> there is, look at mine
<qy[m]1> i do that for emacs-overlay
<qy[m]1> in most cases i prefer a flake but at least with emacs-overlay it's tiny and mostly trivial so i import it as a non-flake
<emily> cool, thanks!
<Profpatsch> betaboon: Nope, I think I just Ctrl+c after a while
<betaboon> Profpatsch: this is somewhat annoying xD
<emily> er, so you do it with emacs-overlay or you don't do it with emacs-overlay?
<Profpatsch> But maybe if you comment, the Gods will hear our pleas :)
rardiol has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<qy[m]1> i do
<qy[m]1> cause emacs-overlay isn't a flake
<qy[m]1> (and isn't likely to be soon, apparently :p)
`_ has joined #nixos
domogled has joined #nixos
chloekek has joined #nixos
drakonis_ has joined #nixos
<emily> right
<qy[m]1> in the case of home-manager, there's a community-maintained flake branch, and both nur and nixpkgs have a flake.nix merged already
<emily> was just not sure what "with emacs-overlay ... i import it as a non-flake" meant
ris has joined #nixos
<qy[m]1> inputs.emacs = { url = "github:nix-community/emacs-overlay"; flake = false; };
<qy[m]1> that's what i meant
<qy[m]1> the implementation currently allows you to import things without a flake.nix
<qy[m]1> just treats them as normal repos
<betaboon> Profpatsch: might look into it some time and then comment :)
M-Gregoire495 has quit [Quit: The Lounge - https://thelounge.chat]
<emily> ah, I see
domogled has quit [Client Quit]
<emily> ok, didn't realize that was supported
M-Gregoire495 has joined #nixos
<emily> I was thinking more writing your own flake.nix for an external dependency and then using that, which I guess depends on whether you're forced to use url or can use a local path
<emily> but that should work as a stopgap, thanks
<qy[m]1> np
bukkitgerman8608 has quit [Ping timeout: 264 seconds]
puck has left #nixos ["I HIT CTRL+W AGAIN"]
puck has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra closed pull request #3384 → JSONSax: register JSONState with GC → https://git.io/Jv2wU
<{^_^}> [nix] @edolstra pushed 6 commits to master: https://git.io/Jffgq
luna has joined #nixos
drakonis has joined #nixos
<luna> Hello everyone. If I wanted to learn how to add a package to nixpkgs, what should I read for that?
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Patryk27 opened pull request #85382 → Netris → https://git.io/JffgZ
drakonis_ has quit [Read error: Connection reset by peer]
<luna> Thank you, cole-h!
drakonis has quit [Ping timeout: 240 seconds]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85383 → ephemeralpg: 2.9 -> 3.
bukkitgerman8608 has joined #nixos
<JJJollyjim> hi all - is it possible to provide an input to a derivation that doesn't become part of its hash?
<JJJollyjim> i.e. something where i'm guaranteeing that while it will change over time, that wouldn't affect the output anyway
<JJJollyjim> (to avoid rebuilds)
<cole-h> If it doesn't affect the output, why is it an input?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/16477d764f3 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<JJJollyjim> cole-h: it's something append-only: by the time i'm using it, no future changes will affect the input
<JJJollyjim> **affect the output
<JJJollyjim> does that make sense?
<cole-h> Not to me, no (sorry). What exactly are you trying to provide as input?
devhell has quit [Ping timeout: 260 seconds]
<JJJollyjim> i feel like i see hints that this is possible, but i might be confusing impure evaluation with impure building
ub[m] has joined #nixos
jco has joined #nixos
<michaelpj> I don't think you can do this. You could do what I think you want if we had a content-addressed store: then you could e.g. write a derivation for the (unvarying) summary of your (varying) input, and then although the summary would rebuild, it would produce something with the same content and so not trigger further rebuilds
devhell has joined #nixos
<JJJollyjim> hmm yeah makes sense thanks
<{^_^}> [nixpkgs] @matthewbauer pushed to release-20.03 « build-bazel-package: fix linkopt flags »: https://git.io/Jff2z
fusion809 has joined #nixos
<qy[m]1> could i get some eyes on https://github.com/NixOS/nixpkgs/pull/84004 again? guix 1.1 has been released (which actually fixed a few issues) so i've updated it
<{^_^}> #84004 (by bqv, 2 weeks ago, open): guix: init at 1.1.0
<cole-h> qy[m]1: Your IRC name changes like every time I see you lol
<qy[m]1> currently starting guix-daemon on my system to see if i can get stuff to work
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85384 → dkimpy: 1.0.2 -> 1.0.
<qy[m]1> haha
<qy[m]1> sorry
<qy[m]1> the matrix irc bridge is something that should be burnt in a dumpster fire, honestly
<cole-h> qy[m]1: I think last time this came up, didn't you (or someone else) say that guix can no longer share store with Nix?
knupfer has quit [Quit: knupfer]
<cole-h> If so, `shareNixStore`, `storeDir` and `stateDir` probably need to be changed or removed (from the actual guix drv)
<qy[m]1> yep, which is why this has that flag turned off by default
<{^_^}> [nix] @edolstra pushed 14 commits to flakes: https://git.io/Jff2A
knupfer has joined #nixos
<qy[m]1> this is targeting having both stores running
<qy[m]1> ah ok
<qy[m]1> i mean shareNixStore should probably go, but the other two may still prove useful
<cole-h> Fair; if they stay, though, the values should probably be changed...
<qy[m]1> oh good lord
<qy[m]1> yes, they should
<cole-h> Also I think that the longDescription for guix is pretty useless... "It includes a virtual machine image" -- does the drv actually? "GNU Guix is a functional package manager for the GNU system, and is also a distribution thereof." -- but we don't care about the distribution, just the package manager
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qy[m]1> heh, fair point, i just copied that from the site
<dhess> ikwildrpepper: thank you! (Sorry, was in a meeting)
<dhess> ikwildrpepper: link to the issue?
<cole-h> qy[m]1: Where did you copy it from? I can't find that wording anywhere on `guix.gnu.org`... :P
<qy[m]1> strange, they may have changed it for 1.1
<qy[m]1> that is where i got it from
asbachb has joined #nixos
<cole-h> Then even more reason to drop it! Haha
nschoe has quit [Quit: Leaving]
<benny> how do I run a small bash scripts on every boot in NixOS? (/etc/rc.local is where SysV had it)
<dsal> The modern way is to write a systemd unit.
abathur has joined #nixos
<benny> found this: https://nixos.wiki/wiki/NixOS:extend_NixOS, thanks dsal
captjakk has quit [Remote host closed the connection]
<qy[m]1> i've actually just updated my system to use tty8 for irc instead of screen, heh
captjakk has joined #nixos
ixxie has quit [Ping timeout: 240 seconds]
ixxie has joined #nixos
shibboleth has joined #nixos
captjakk has quit [Ping timeout: 260 seconds]
ilikeheaps has joined #nixos
<{^_^}> [nixpkgs] @takikawa opened pull request #85385 → racket: use --enable-useprefix configure flag. → https://git.io/JffVc
dhkl has quit [Quit: WeeChat 2.8]
dhkl has joined #nixos
M-Gregoire495 has quit [Quit: The Lounge - https://thelounge.chat]
drakonis has joined #nixos
M-Gregoire495 has joined #nixos
philr_ has quit [Ping timeout: 260 seconds]
podfinkx has joined #nixos
drakonis1 has quit [Ping timeout: 250 seconds]
zupo has joined #nixos
<podfinkx> somebody can help me with a problem I'm having unlocking my root partition (luks encrypted) via ssh on boot?
<podfinkx> nvm
<emily> qy: your flake seems to do all the importing of things from dependencies in flake.nix; does accessing dependencies from individual profiles/modules (so that I can e.g. import dependencies only on some hosts, or reference a path inside a dependency in a NixOS module) still require the old specialArgs = { ... } hacks to pass it into the NixOS config, or do flakes integrate with this in some way?
drakonis1 has joined #nixos
<qy[m]1> emily: there's no special method for that, afaik, so yeah
<{^_^}> [nix] @edolstra pushed to flakes « Fix »: https://git.io/Jffwv
<qy[m]1> <{^_^} "[nix] @edolstra pushed to flakes"> :D
podfinkx has quit [Quit: podfinkx]
podfinkx has joined #nixos
<Izorkin> etu: please help to rewrite php script - rewrite https://www.php.net/manual/ru/function.posix-setuid.php#37289 Need to correct check nginx unit-php isolation
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85387 → gifski: 0.10.2 -> 0.10.
lsix has quit [Quit: WeeChat 2.8]
c0c0 has quit [Ping timeout: 264 seconds]
jco has quit [Ping timeout: 252 seconds]
lsix has joined #nixos
c0c0 has joined #nixos
bqv has quit [Ping timeout: 256 seconds]
bqv has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85384 → dkimpy: 1.0.2 -> 1.0.
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « dkimpy: 1.0.2 -> 1.0.4 »: https://git.io/JffwX
asheshambasta has quit [Ping timeout: 272 seconds]
<emily> qy: that kinda sucks because one of the things I was hoping to fix is how my specialArgs = { inherit sources; } Niv stuff breaks nixos-option/etc. because of the extra arg :(
<emily> though I guess if stuff is flakes-aware it should get injected properly anyway
podfinkx has quit [Read error: Connection reset by peer]
podfinkx has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85388 → python27Packages.foxdot: 0.8.5 -> 0.8.
dhkl has quit [Ping timeout: 264 seconds]
turion has joined #nixos
lopsided98 has quit [Remote host closed the connection]
lunik1 has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
lopsided98 has joined #nixos
jlv has joined #nixos
<Desetude> Is there an equivalent to environment.etc where I can set files to be linked to /var?
<jlv> Can I add a function to `lib`, like I can add a package to `pkgs` with an overlay?
<jlv> Or for that matter, if there a recommended way to distribute a function for use in multiple module files?
captjakk has joined #nixos
<sonercirit[m]> is it possible to use a git repo for nix channel?
<sonercirit[m]> I want to use master
<jlv> sonercirit[m]: `nixos-unstable` is actually the subset of master that successfully builds.
luna has quit [Quit: Leaving]
relaxmax has quit [Ping timeout: 264 seconds]
<sonercirit[m]> yeah but it's behind for 3 days and I want to try some things in VM
<gchristensen> ,which-channel sonercirit[m]
<gchristensen> ^ has some info you should know
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
<sonercirit[m]> I know the channels and how they work in general
lsix has quit [Quit: WeeChat 2.8]
<gchristensen> yeah but the important part is the validation and safety
<sonercirit[m]> yeah but it's a disposible VM :D
<gchristensen> okay
<gchristensen> then sure you can just point NIX_PATH=nixpkgs=/path/to/a/git/echkcout
<sonercirit[m]> should I delete the unstable channel before doing that?
turion has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @bhipple merged pull request #85363 → jitsi-meet-electron: 2.0.0 -> 2.0.2 → https://git.io/JffYr
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jffrt
evanjs has joined #nixos
<sonercirit[m]> btw thx for the help gchristensen :)
<jbox> how can I see the options for a given package?
hellstorm has joined #nixos
isHavvy has quit [Ping timeout: 240 seconds]
<emily> qy: I guess this also means no easy way to plumb flake overlays into the nixpkgs-overlays NIX_PATH entry so that the nix tools can access all the overlays from the system config's flake deps?
hellstorm has left #nixos [#nixos]
<emily> qy: (currently I do this which is niv-specific https://gist.github.com/emilazy/24e92c3e495559c08189e3894165241a)
lunik1 has quit [Quit: :x]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Havvy has joined #nixos
koleesch has joined #nixos
<qy[m]1> oh, so in my repo i have a configuration.nix which acts as the conduit for all the stuff that should be compatible
<qy[m]1> it should automatically add all the overlays in /overlays, plus in my case all the custom ones i added to flake.nix
lunik1 has joined #nixos
Darkmatter66 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #85389 → mpc-qt: 18.08 -> 2019-06-09 → https://git.io/Jffr2
<pbogdan> is it possible to specify `nix.nixPath` if I want to append to the default value?
<emily> qy: nothing in overlays/ seems to depend on any flake input though
<qy[m]1> emily: ftr that only functions properly if you have the flake mounted at /etc/nixos. i do that by having the flake symlink itself to /run/current-system/flake, and having /etc/nixos be a symlink to that
justanotheruser has joined #nixos
<emily> (whereas I want e.g. "${inputs.nixpkgs-mozilla}/rust-overlay.nix" in both nixpkgs.overlays and the NIX_PATH nixpkgs-overlays)
<{^_^}> [nixops] @grahamc merged pull request #1284 → Remove remnants of pre-poetry2nix plugins → https://git.io/JfftQ
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/Jffra
<emily> I can probably attempt the current JSON serialization trick to flakes, just wanted to check there wasn't anything nicer I could do with the functionality
turion has joined #nixos
glittershark has joined #nixos
<turion> Why isn't there a bot that runs nixpkgs-review on any PR? Or is there?
<qy[m]1> heh, yeah. i think you'll be mostly relying on fudging it until it works, there, i don't think there's anything overly clean, though the issue there isn't particularly flakes (ignoring the compatibility shim), it's just the architecture i'm using
Havvy has quit [Ping timeout: 256 seconds]
<gchristensen> turion: ofborg does most of what nixpkgs-review does. expanding its scope to do more of the builds might could be done, but capacity potentially becomes a problem
<turion> gchristensen: Ah ok. So does ofborg somehow label those reviews where someone should manually run this
<gchristensen> no
<turion> Or what exactly is "most of what nixpkgs-review" does?
podfinkx_ has joined #nixos
<gchristensen> sorry, I can't discuss this right now -- perhaps someone else can fill in
captjakk has quit [Remote host closed the connection]
<turion> Thanks :)
captjakk has joined #nixos
<turion> I read that ofborg reuses evaluation output, that's of course useful. But the heavy load is probably compiling a changed package, right? Is that what nixpkgs-review does on top of ofborg?
growpotkin has joined #nixos
<qy[m]1> cole-h: i can't see why i'd done that because i've been rebasing so much i think the old commits are just lost now :p
podfinkx has quit [Ping timeout: 256 seconds]
podfinkx_ is now known as podfinkx
captjakk_ has joined #nixos
dckc has quit [Ping timeout: 265 seconds]
glittershark has quit [Read error: Connection reset by peer]
dckc has joined #nixos
captjakk_ has quit [Remote host closed the connection]
Darkmatter66 has joined #nixos
endformationage has joined #nixos
captjakk_ has joined #nixos
captjakk_ has quit [Remote host closed the connection]
captjakk_ has joined #nixos
revtintin has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @cgevans opened pull request #85392 → ipe: fix Qt wrapping → https://git.io/JffoT
dhkl has joined #nixos
captjakk has quit [Ping timeout: 264 seconds]
<esclear> How bad is something like `pkg.override { gtk3 = gtk2; }`? I personally dislike it, but it seems like the least invasive solution for the problem at hand.
Havvy has joined #nixos
podfinkx_ has joined #nixos
podfinkx has quit [Ping timeout: 264 seconds]
podfinkx_ is now known as podfinkx
abathur has quit [Quit: abathur]
<{^_^}> [nixpkgs] @bfortz opened pull request #85393 → babashka: 0.78 -> 0.85 → https://git.io/JffoG
<gchristensen> esclear: pretty intense :)
<gchristensen> turion: that is really great. r-ryantm has a big advantage in that it can control its own throughput
<esclear> gchristensen: definitely, but hey, it works :P Nah, I don't really like it myself.
podfinkx has quit [Remote host closed the connection]
podfinkx has joined #nixos
<ldlework> When I try to install mathematica-11.3.0, I get: attribute 'mathematica-11'
<ldlework> missing
asbachb has quit [Ping timeout: 240 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
pbogdan has joined #nixos
<ldlework> Not sure why this is happening..
FRidh has quit [Ping timeout: 256 seconds]
<ldlework> is it a packaging bug?
<srk> > pkgs.mathematica11
<{^_^}> "<derivation /nix/store/11myqkbm61wvs48nxb660m37wdyxxs6n-mathematica-11.3.0.drv>"
<srk> > pkgs.mathematica
<{^_^}> "<derivation /nix/store/hdy69bflm44l62kiky0nnyd3flg1np57-mathematica-12.1.0.drv>"
FRidh has joined #nixos
<ldlework> hrm
<ldlework> thanks
Dagger2 is now known as Dagger
klntsky has quit [Ping timeout: 240 seconds]
<ldlework> Is there a way to add a file to the store with an arbitrarily supplied hash?
captjakk_ has quit [Remote host closed the connection]
<ldlework> Guessing not but figured I'd ask.
HellSt0rm has joined #nixos
captjakk has joined #nixos
<infinisil> You mean you want to be able to add an arbitrary file under e.g. the sha256 hash 0000..0000?
klntsky has joined #nixos
jlv has quit [Ping timeout: 240 seconds]
<ldlework> infinisil: yeah... :X
<qy[m]1> dare i ask why
<ldlework> ....no
<ldlework> :D
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
<ldlework> i think i can override the package to expect a different hash I think
<infinisil> ldlework: Check the nix-store man page, section `--verify`
<qy[m]1> i do wonder why we even bother making rules if it's oh so inevitable that someone will break them :p
pbogdan has joined #nixos
pbogdan has quit [Remote host closed the connection]
zupo has joined #nixos
dhkl has quit [Ping timeout: 258 seconds]
<ldlework> Can remind me how to get the sha of a current store path?
<symphorien> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
domogled has joined #nixos
captjakk has quit [Ping timeout: 250 seconds]
pbogdan has joined #nixos
podfinkx has quit [Quit: podfinkx]
invra has quit [Quit: WeeChat 2.3]
turion has quit [Ping timeout: 265 seconds]
<energizer> ldlework: are you asking how to get the sha256 of a file?
zupo has quit [Client Quit]
jb55 has quit [Quit: jb55]
HellSt0rm has quit [Ping timeout: 260 seconds]
jb55 has joined #nixos
relaxmax has joined #nixos
<energizer> nix-hash --type sha256 /path
domogled has quit [Ping timeout: 250 seconds]
Naptra has quit [Quit: Leaving]
<dhess> ugh Hydra is so so broken right now
<dhess> This my new least favorite error message of all time: "error: unexpected EOF reading a line"
<qy[m]1> you probably want --base32 too
<dhess> super helpful.
<qy[m]1> :D
<drakonis1> vague errors are the best
<drakonis1> wait until you find hexadecimal errors
koleesch has quit [Ping timeout: 260 seconds]
<qy[m]1> i'm sorry?
<drakonis1> windows has those kinds of errors
<drakonis1> like error 0xffffff
<samueldr> dhess: there may be two reason why this is showing up
endocrimes has quit [Quit: running from the computers]
<drakonis1> imagine running into this really vague error without internet
<samueldr> dhess: but first, is this on your locally installed instance or the nixos.org one?
<samueldr> dhess: at some point in a refactor errors stopped being transmitted back to the log, this commit fixes it https://github.com/NixOS/hydra/commit/7889aef7927f61c1aaa54d1afcfe564b7bc69005
<samueldr> not sure if it's released, and if you have it already
invra has joined #nixos
<samueldr> the other reason could be nix having a bad time and ending up in a stack overflow or similar
<{^_^}> [nixpkgs] @tollb opened pull request #85395 → [20.03] flashplayer: 32.0.0.330 -> 32.0.0.363 → https://git.io/Jff6e
zeenk has quit [Quit: Konversation terminated!]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
zupo has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
turion has joined #nixos
codygman has quit [Read error: Connection reset by peer]
peelz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zakkor opened pull request #85396 → upwork: init at 5.3.3-883 → https://git.io/Jff6l
peelz has joined #nixos
codygman has joined #nixos
<{^_^}> [nixpkgs] @esclear opened pull request #85397 → eclipse-scala-sdk: 4.4.1 -> 4.7.0 → https://git.io/Jff6R
<kalbasit> trying to debug lorri re-evaluating too much. `RUST_LOG=lorri=debug RUST_BACKTRACE=1 lorri watch` is not printing debug logs, am I missing something?
captjakk has joined #nixos
Maxdaman1us has joined #nixos
<jbox> how can I declare packages from both nixos-19.09 and nixpkgs-unstable?
<cole-h> If you have a service for it setup, might want to stop it and try again kalbasit
<cole-h> ,unstable jbox
<cole-h> Have you seen this jbox ^
<kalbasit> cole-h: I did already
<cole-h> kalbasit: What if you set the log level to trace?
<kalbasit> cole-h: should I expect the debug log stdout or is there some file?
<cole-h> No clue, sorry. Just brainstorming at this point.
domogled has joined #nixos
<jbox> cole-h: no, I haven't. Thank yuou! This is just what I needed :)
Maxdamantus has quit [Ping timeout: 258 seconds]
<cole-h> Hope it helps
<kalbasit> trace did not help :(
seku has quit [Quit: Connection closed]
<cole-h> What exactly is the problem, aside from evaluating too much, and when do you notice it?
jakobrs has joined #nixos
<jakobrs> Just to be clear, adding a package to boot.extraModulePackages does not load it on boot, right?
captjakk has quit [Ping timeout: 260 seconds]
<kalbasit> cole-h: with one terminal open, running `ls` over and over again does not trigger re-evaluation. However, if I have two terminals open side by side running `ls` in one terminal causes the other to re-evaluate
<kalbasit> cole-h: I fixed a similar issue before integrating lorri where Direnv was watching a dir instead of a file. Wondering if I hit this bug again for some reason
<energizer> i have `nixpkgs.overlays = [myOverlay];` and i can use the overlayed packages in my config, but i'm not able to access them in `nix repl '<nixpkgs>'`. the `overlays` variable is []. why is that?
<{^_^}> [nixpkgs] @seqizz opened pull request #85398 → g933-utils: init at 0.13 → https://git.io/Jff6X
<kalbasit> so I want to see what is Lorri watching
<manveru> kalbasit: it's possible that your shell prompt is calling git, and your sources are relying on the .git dir somehow?
<manveru> i had that happen a lot...
<kalbasit> manveru: not that I know of, but I can check for that
<manveru> anyway, there is #lorri as well :)
jakobrs has quit [Client Quit]
<kalbasit> oh cool, I'll ask there as well. Thanks!
<manveru> you can use `lorri watch -vvv` i think
<kalbasit> manveru: I don't see a -v` option. Using lorri 1.0.0
<esclear> While I'm at it opening pull requests: Could anyone review my PR https://github.com/NixOS/nixpkgs/pull/70487 from may? The package is still up-to-date but not merged.
<{^_^}> #70487 (by esclear, 27 weeks ago, open): xflr5: init at 6.47
<manveru> kalbasit: it's not documented
domogled has quit [Ping timeout: 258 seconds]
<esclear> s/may/october/
<kalbasit> manveru: `error: Found argument '-v' which wasn't expected, or isn't valid in this context`
<manveru> hmm
<manveru> i definitely used that in the past
peelz has quit [Ping timeout: 240 seconds]
jco has joined #nixos
cr4y1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @cgevans opened pull request #85399 → tensorflow-bin_2: fix tensorboard dependency → https://git.io/Jff65
<energizer> i am confused. `$ nixos-option nixpkgs.overlays` -> `Value: [ <LAMBDA> ]`, but `nix-repl> overlays` -> `[ ]`. Why is nixpkgs.overlays populated in the first case but empty in the second case?
<{^_^}> [nixpkgs] @Ma27 merged pull request #85341 → hydra: 2020-04-07 -> 2020-04-16 → https://git.io/JfvA2
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/Jff6A
Maxdaman1us is now known as Maxdamantus
<colemickens> Getting cold feet about home-manager again.
<colemickens> Think I'd be better off just symlinking certain dirs to the store or something
<energizer> colemickens: what problems do you foresee?
<colemickens> I don't like the constant tension of "do I use the nixos module or the HM module"
<{^_^}> [nixpkgs] @jonringer merged pull request #85388 → python27Packages.foxdot: 0.8.5 -> 0.8.
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.foxdot: 0.8.5 -> 0.8.7 »: https://git.io/Jffif
<energizer> i use the HM stuff as much as possible, because i want my configuration to be localized to my user.
<{^_^}> [nixpkgs] @Ma27 pushed to master « grocy: 2.6.2 -> 2.7.0 »: https://git.io/Jffit
<pbogdan> energizer: see https://nixos.wiki/wiki/Overlays for what's happening with overlays, it also has an example of how to pass `nixpkgs.overlays` down to tools like nix repl
<energizer> for me so far the only times i wish i could use HM but had to resort to systemwide have been fonts.fonts and services.syncthing
<{^_^}> [nixpkgs] @jonringer merged pull request #85312 → pythonPackages.configshell: 1.1.27 -> 1.1.28 → https://git.io/JfvXa
<{^_^}> [nixpkgs] @jonringer pushed commit from @ajs124 to master « pythonPackages.configshell: 1.1.27 -> 1.1.28 »: https://git.io/JffiY
<turion> It would be so cool if there was a bot that pings maintainers of broken haskell packages
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85400 → gnustep.make: 2.7.0 -> 2.8.
<turion> Sometimes they're fixed on stackage but broken on nixpkgs, and one only finds out by accident
<{^_^}> [nixpkgs] @jonringer merged pull request #85313 → pythonPackages.rtslib: 2.1.71 -> 2.1.72 → https://git.io/JfvX6
<{^_^}> [nixpkgs] @jonringer pushed commit from @ajs124 to master « pythonPackages.rtslib: 2.1.71 -> 2.1.72 »: https://git.io/JffiW
peelz has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #85402 → nixosTests.php.httpd: init → https://git.io/Jffil
lpsmith_ is now known as lpsmith
<{^_^}> [nixpkgs] @rycee pushed commit from @esclear to master « eclipse-scala-sdk: 4.4.1 -> 4.7.0 »: https://git.io/Jffiz
<{^_^}> [nixpkgs] @rycee closed pull request #85397 → eclipse-scala-sdk: 4.4.1 -> 4.7.0 → https://git.io/Jff6R
<srk> turion: there's a lot of space for improvement, feel free to contribute :)
<srk> turion: wanted to roll a bot for updating upper bounds recently
<qy[m]1> oh, hey, could someone please fetch this from master into nixos-unstable: https://github.com/NixOS/nixpkgs/commit/d2ba3fba695ee009f9fe90e5517aefe9645c2184
<qy[m]1> i've been wondering why it's not working for ages
<qy[m]1> nevermind, it's there?
<Desetude> Are there any functions that take in a script source and then store the script and return the path of it?
<qy[m]1> ${} :p
<infinisil> Desetude: pkgs.writeShellScript
peelz has quit [Remote host closed the connection]
peelz has joined #nixos
<Desetude> infinisil: Great, tyvm
<qy[m]1> that takes text, not a file, right?
<qy[m]1> guess i misunderstood...
<infinisil> Yeah
<Desetude> yea sorry I meant text/string
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @turion opened pull request #85403 → haskell simple-affine-space: Disable test suite → https://git.io/JffiQ
ultranix has joined #nixos
ixxie has quit [Ping timeout: 260 seconds]
ixxie has joined #nixos
<ultranix> what's the options for per project organization using nix? I just found 'niv' but ive heard of direnv and remember there were some others that made use of direnv
<emily> qy: um, just checking... does nix flake list also include edolstra/nix-warez for you? :')
<emily> wonder if that's some hardcoded default
<NobbZ[m]> niv and direnv serve different purposes
fresheyeball has joined #nixos
<qy[m]1> emily: ahahah, yes, it does
<qy[m]1> that's not hardcoded, it's fetched from the nix registry
<qy[m]1> (which IS hardcoded)
<emily> oh, I see
<emily> I was assuming local flakes would be listed differently
<emily> I can't tell if the version pinnings from my system config's flake.lock are actually applying to nix run nixpkgs#...
<qy[m]1> not sure they would be, i don't think that command uses the system flake
captjakk has joined #nixos
<qy[m]1> at least in my experience it tends to fetch it
<emily> right
<emily> wonder if there's any way to achieve that, since I kind of assume my nixpkgs is pinned system-wide...
<qy[m]1> well, the way would probably be to just refer to it through your flake
<qy[m]1> if you have your flake mounted at /etc/nixos for example, you should be able to use /etc/nixos#blah
<emily> mhm, I guess I can just manually re-export everything
<emily> what would blah be for nixpkgs.hello there? I assume I'd just have to include nixpkgs in the outputs or similar?
<emily> (or is there some way of accessing the inputs that I'm missing?)
<emily> sorry for all the questions :)
<qy[m]1> yeah, presumably you could just plumb through the nixpkgs you're using for your system, but there might also be a way to get at it through .#nixosConfigurations.<hostname>.config
<emily> I guess inherit (nixpkgs) legacyPackages should do most of the job
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85404 → gnustep.base: 1.26.0 -> 1.27.
<emily> I'm not sure I can get used to typing '~/etc/nixos#' over 'nixpkgs.' though...
<emily> nix flake add talks about some kind of "user flake registry" that seems like I could use it to do what I want, but I guess it's even more undocumented than the rest of flakes
<emily> oh it's documented in a gist!
<qy[m]1> there might be a nicer solution using the user flake registry stuff
<qy[m]1> i'm not entirely sure how that works, never used it :D
mallox has quit [Quit: WeeChat 2.8]
<qy[m]1> yeah
<emily> https://gist.github.com/edolstra/40da6e3a4d4ee8fd019395365e0772e7#nix-ui I guess I just need to, um, make my system activation script generate a user flake registry >_>
seanparsons has quit [Read error: Connection reset by peer]
<qy[m]1> ahah
seanparsons has joined #nixos
<qy[m]1> heh, neat. yeah
<evertedsphere> ultranix: niv is really good, lorri is a nice nix-specific wrapper over direnv that works v well with niv
<evertedsphere> niv + lorri, when it Just Works, is a lot of fun
<ultranix> lorri is the other i was thinking of
<ultranix> thank you
<ultranix> i'm trying to explore nix expressions, what's the best way to see what 'config' is for example, given a something like pkgs = import <nixpkgs> {}
<emily> this is almost a solution: environment.etc."nix/flakes-registry.json".source = ./flake.lock;
<emily> unfortunately, I think there's a race condition with nix updating ./flake.lock itself :(
<energizer> ultranix: nix repl '<nixpkgs>'
<energizer> config
<ultranix> thanks! I learned this in nix pills but forgot
jeromelanteri has quit [Quit: Leaving]
<emily> er, s/flakes-registry/registry/
<qy[m]1> <emily "unfortunately, I think there's a"> ahah oh god
<{^_^}> [nix] @matthewbauer opened pull request #3506 → Add --include-ifd option to nix-instantiate → https://git.io/JffPD
<emily> turns out there's actually a fancy typed option, nix.registry
arjen-jonathan has quit [Ping timeout: 256 seconds]
<emily> but I'm not sure if you can access the fancy typed version of a flake.lock from within flake.nix? so I'm not sure it's actually usable
jlv has joined #nixos
<qy[m]1> so there is. you could probably quite hapily pass the path to the system nixpkgs through to that option
vxidd has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #85360 → chromium: 81.0.4044.92 -> 81.0.4044.113 → https://git.io/Jfft7
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JffP7
<qy[m]1> at the end of the day all a flake is is a store path, so you could set it
<qy[m]1> (i might do this too)
<jlv> What is the right way to add a function for use in multiple module files? I could add it to `pkgs` with an overlay, but that feels wrong. I would prefer to add it to `lib`, but I don't know how to.
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-20.03: https://git.io/JffPF
<emily> qy: not sure what you mean by that, the flake.lock format is fairly elaborate and pins git revs rather than paths
<emily> and the store paths the flakes machinery itself clones for flake sources don't work as flakes in the registry because they have no .git :(
<emily> i.e. you can't: nix flake add nixpkgs /nix/store/...-source
<qy[m]1> ah, damn.
<qy[m]1> there might be enough information left at the flake.nix stage
<energizer> jlv: you could use an overlay or just import your function from the file its defined in, but i'm not sure if overlaying stuff on non-top-level nixpkgs attrs is recommended?
<qy[m]1> you should be able to access nixpkgs.rev from flake.nix, maybe reconstruct it?
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<qy[m]1> alternatively, use that rev to just clone it with leaveDotGit :')
<qy[m]1> plenty of terrible solutions :D
<emily> oh, nix.registry supports { flake = input.foo; }
<emily> so I guess I can do a gross map over flake.lock
<emily> oh actually I can just work with inputs directly, ok this isn't so bad :3
<qy[m]1> oh, yeah, that's what i was thinking originally
<qy[m]1> lol
<{^_^}> [nixpkgs] @primeos opened pull request #85405 → [19.09] chromium: 81.0.4044.92 -> 81.0.4044.113 (backport) → https://git.io/JffPh
ultranix has quit [Remote host closed the connection]
<vxidd> Hello everyone, I am trying to "manually" write a autoconfig file to my firefox installation in the nix store from my configuration.nix file. My question is, can I use something like ${pkgs.firefox}"/lib/firefox/default/autoconf.js".writeText = '' from my config file?
<emily> qy: I think it's as simple as: nix.registry = mapAttrs (id: flake: { from = { type = "indirect"; inherit id; }; inherit flake; }) inputs;
<emily> (if you pipe inputs down to your nixos config)
<emily> this also means nix run self#... is the current system which feels nice
<jlv> energizer: Can I use an overlay to add to `lib`? As in `{ lib, pkgs, ... }: { ... }`. I thought I could just add to `pkgs` with an overlay.
<qy[m]1> emily: wonderful. that should actually be really useful...
<qy[m]1> yeah
<energizer> jlv: you could, but i havent seen people do that. maybe they do, idk
<emily> system flake:nixpkgs path:/nix/store/59d7mfjrz4r7j5wcqxmdk7ls2d355pif-source?lastModified=1587051150&rev=9af165370683b8f3e735dffbeca21a10bbfc224f
<emily> looks good ^_^
<jlv> energizer: How would I do that?
<qy[m]1> awesome
<qy[m]1> yeah i'll steal that before i forget
<emily> qy: looks like this also lets you do (getFlake "foo") in pure eval mode, because they no longer reference impure git refs
<emily> so you can use it to plumb deps to overlays implicitly as well
<energizer> jlv: `lib = super.lib // {myfoo = 5;};` would work. idk why you'd do that instead of just using your own name tho
<qy[m]1> ah ok, yeah
<jlv> energizer: Oh, is `pkgs.lib` the same as the `lib` argument in a module like `{ lib, ... }: { ... }`?
<energizer> jlv: yes
evertedsphere has quit [Ping timeout: 258 seconds]
<emily> jlv: generally in nixpkgs, the arguments all map to pkgs.*
<emily> in { lib, stdenv, fetchFromGitHub, hello }, all of those correspond to the corresponding pkgs attribute
<emily> callPackage fills them in
<jlv> emily: I guess I didn't put together that the arguments for a module function are the same as those for a package function.
relaxmax has quit [Ping timeout: 258 seconds]
<freeman42x[m]> does cabal2nix use information from cabal.project? I need to add a dependency there to a GitHub repository
<emily> it's callPackages all the way down ^^
<srk> freeman42x[m]: it doesn't but it works in shell. to provide the dep you can use overlay or pass it from default.nix
<srk> ,haskell freeman42x[m]
c0c0 has quit [Ping timeout: 265 seconds]
<energizer> jlv: some parts of nixpkgs define their own callPackage that add more attrs. for example, pkgs.python3Packages.callPackage includes all the python3Packages, so that requests.nix can take `{python, urllib3}:` or whatever
<freeman42x[m]> srk: so there is no way to generate nix code from cabal.project which would nix build those dependencies?
<dhess> samueldr: it's our own Hydra
<freeman42x[m]> srk: found this: https://github.com/sboosali/project2nix but I would use it as a last resort
<dhess> samueldr: the error occurs when pulling from a private repo. I'm also getting this new error, preceding the "EOF reading a line" error:
<dhess> error: "invalid Git branch/tag name '*'"
<samueldr> dhess: if you have the commit I linked, then I would think it could be nix failing in an unexpected way, but I'm not a pro at hydra
<dhess> this is all new in the last nixpkgs-unstable update
<{^_^}> [nixpkgs] @eadwu opened pull request #85406 → sourcehut: 2020.04.16 → https://git.io/JffXP
<samueldr> ah, though that error before the EOF error would be the real error
<srk> freeman42x[m]: don't think so - what I'm doing is I have all my deps in overlays and only use cabal.project when I need to work on multiple packages (so cabal build recompiles changes of the listed packages as well)
<samueldr> so you at least have the real error to work from
<dhess> well the EOF error has been happening for a few weeks now, actually
<dhess> the "invalid Git branch/tag name" error is new
<samueldr> (I can't help that much more from here)
cosimone has quit [Read error: Connection reset by peer]
cosimone_ has joined #nixos
pamplemousse has quit [Remote host closed the connection]
<gnxlxnxx[m]> Could someone tell me how do I launch a bash script from a systemd service?
cr4y1 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8262ecd369c (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<srk> > nixos.config.systemd.services.ihaskell.serviceConfig.ExecStart
<{^_^}> attribute 'ihaskell' missing, at (string):296:1
<{^_^}> [nixpkgs] @eadwu opened pull request #85407 → pep8-naming,sqlalchemy-utils: 2020.04 1 → https://git.io/Jff1L
<dhess> Appears this might be a Nix issue, not hydra
<freeman42x[m]> srk: do you have any example of nix you are using for building a project which has at least 1 github dependency specified inside cabal.project?
<jlv> energizer, emily: It looks like `lib` may not be the same as `pkgs.lib`. I added my function in an overlay to `lib`. It works when called like `pkgs.lib.myfunc`, but is not found when called like `lib.myfunc`.
<energizer> jlv: then my understanding is incomplete
<srk> freeman42x[m]: no. not using that functionality
<srk> freeman42x[m]: only for localy checked out repositories
<tokudan> ,locate git-svn
<{^_^}> Found in packages: mr, gitAndTools.gitSVN, gitAndTools.gitFull
<{^_^}> [nixpkgs] @nh2 merged pull request #85387 → gifski: 0.10.2 -> 0.10.
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jff12
pbogdan has quit [Ping timeout: 240 seconds]
reallymemorable has quit [Quit: reallymemorable]
<{^_^}> [nixpkgs] @killercup opened pull request #85408 → plexamp: init → https://git.io/Jff1N
knupfer has quit [Ping timeout: 265 seconds]
chloekek has quit [Ping timeout: 256 seconds]
turion has quit [Ping timeout: 272 seconds]
snicket has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to release-20.03: https://git.io/JffMk
reallymemorable has joined #nixos
<{^_^}> [nixpkgs] @tollb opened pull request #85409 → [19.09] flashplayer: 32.0.0.330 -> 32.0.0.363 → https://git.io/JffML
pamplemousse has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #85410 → fetchurl: don’t run ‘postFetch’ on hashed-mirrors → https://git.io/JffMO
snicket has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
c0c0 has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
snicket has quit [Remote host closed the connection]
snicket has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85396 → upwork: init at 5.3.3-883 → https://git.io/Jff6l
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JffM0
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4f86f06bf9e (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
orivej has joined #nixos
<DigitalKiwi> plz like and retweet it helps my ego
pbogdan has joined #nixos
marsh has quit [Ping timeout: 260 seconds]
<colemickens> not on twitter but boy do I love that
marsh has joined #nixos
<colemickens> you did good, it looks really great
<cole-h> Seems like you should change your handle -> NixKiwi :P
<DigitalKiwi> i don't have a nixos avatar :D
<cole-h> Yet
<energizer> nix repl is telling me "cannot coerce a set to a string", how do i look at the set?
<cole-h> What are you trying to run?
<energizer> i have some value in the repl, i want to learn about what's in it
dermetfan has quit [Ping timeout: 240 seconds]
Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
<energizer> maybe it's saying there's nothing in it because there was an error in constructing it,
Mrmaxmeier has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #85409 → [19.09] flashplayer: 32.0.0.330 -> 32.0.0.363 → https://git.io/JffML
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-19.09: https://git.io/JffMx
cosimone_ is now known as cosimone
snicket has quit [Ping timeout: 240 seconds]
<drakonis1> ah swell, i'm getting segfaults when doing flake checks bqv
snicket has joined #nixos
<freeman42x[m]> getting this error on cabal build: `cabal: The pkg-config package 'zlib' is required but it could not be found.` do I need to run it under nix-shell or what is the solution?
vxidd has quit [Remote host closed the connection]
<drakonis1> is this because you set up the flake registry?
<freeman42x[m]> I tried running `cabal build` inside `nix-shell -p zlib` and it gives same error
cosimone has quit [Quit: Quit.]
<elvishjerricco> Where does nix store the build sandbox while building a derivation? If it's in /tmp, it'd be neat to disable sync writes on my /tmp mount considering its persistence should in theory not matter. It'd be especially interesting to see how that affects build times with Nix, since I'm sure lots of build processes do unnecessary sync writes in the sandbox.
snicket has quit [Ping timeout: 240 seconds]
chagra_ has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 258 seconds]
snicket has joined #nixos
ericsagnes has quit [Ping timeout: 265 seconds]
jco has quit [Quit: WeeChat 2.7]
<freeman42x[m]> is this a correct command to run? `nix-shell -p zlib.dev zlib.out` from my understanding it should fix: `cabal: The pkg-config package 'zlib' is required but it could not be found.`
cr4y1 has quit [Ping timeout: 256 seconds]
chagra_ has joined #nixos
snicket has quit [Ping timeout: 240 seconds]
snicket has joined #nixos
ericsagnes has joined #nixos
<cole-h> What happens if you add `pkg-config` as well?
erasmas has quit [Quit: leaving]
Maxdaman1us has joined #nixos
<freeman42x[m]> how come I can't find foobar2000 in nixpkgs?
<Yaniel> isn't it windows-only
peelz has quit [Ping timeout: 260 seconds]
<cole-h> That's what I thought
Maxdamantus has quit [Ping timeout: 256 seconds]
<Yaniel> > View more screenshots foobar2000 is an advanced freeware audio player for the Windows platform.
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):297:1
<Yaniel> uhh what
<cole-h> "foobar2000 is a freeware audio player for Microsoft Windows, iOS and Android developed by Peter Pawłowski."
<Yaniel> yea there are mobile versions
<freeman42x[m]> weird, now I get: `<command line>: can't load .so/.DLL for: libz.so (libz.so: cannot open shared object file: No such file or directory)` for `nix-shell -p zlib.dev zlib.out pkg-config` or `nix-shell -p zlib.dev zlib.out`. I probably changed something since I asked the question
<freeman42x[m]> > "foobar2000 is a freeware audio player for Microsoft Windows, iOS and Android developed by Peter Pawłowski.", haha, sorry, derp moment. Went to alternativeto and forgot to filter for linux
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):296:109
reallymemorable has quit [Quit: reallymemorable]
<freeman42x[m]> I was looking for a better player than clementine which keeps moving the scroll position in the playlist without even playing...
<Yaniel> freeman42x[m]: you probably want 0xdeadbeef
<ornxka> what does -> mean in nix language
__monty__ has quit [Quit: leaving]
<Yaniel> that's pretty close to fb2k as far as I know
<ornxka> in https://nixos.org/nix/manual/#chap-writing-nix-expressions example 15.1 it uses -> in some asserts
<Yaniel> personally I have been using cantata
vika_nezrimaya has joined #nixos
<freeman42x[m]> for NixOS: Rhythmbox, Audacious, or... ?
<cole-h> "Logical Implication" (last one in the table)
<Yaniel> clementine started to get a bit too laggy after 2000 tracks
reallymemorable has joined #nixos
Maxdaman1us has quit [Ping timeout: 260 seconds]
<maddo> jump on the memetrain, and use emacs as a music player
<maddo> like I do
<cole-h> I use mpd + cantata myself
* maddo runs
Maxdamantus has joined #nixos
<Yaniel> I used to have mpd separately but that got into some problems with permissions so I switched to a cantata-managed mpd
<Yaniel> after realizing that I never really used any other interface anyway
<freeman42x[m]> Yaniel: cheers, will give 0xDEADBEEF a try
<Yaniel> I did not like it, but I haven't used fb2k much
<Yaniel> also the icons were broken when I tried it :D
smatting has quit [Ping timeout: 256 seconds]
<maddo> never heard of cantata really
<maddo> I switched to EMMS after I was pretty much disappointed with ncmpcpp
<Yaniel> I was a bit sceptical at first but it has turned out to be quite nice
<maddo> it's all mpd but it's very different in terms of UX
<Yaniel> most of the time I want my music player to work like iTunes (used to work)
<Yaniel> i.e. shuffle entire library but have the option to queue up tracks (both as immediately next and at the end of the up next queue)
<ornxka> cole-h: thanks mate
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f2d4179af38 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @anmonteiro opened pull request #85411 → bs-platform: 7.2.0 -> 7.3.1 → https://git.io/JffD7
Desetude has quit [Quit: WeeChat 2.8]
<Yaniel> (if someone can recommend other players that support this please do tell -- in cantata it only sort of happens to work)
xO1 has quit [Ping timeout: 256 seconds]
<ornxka> i use sonata with system-managed mpd
<ornxka> it works rather well
kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #nixos
zeta_0 has joined #nixos
<freeman42x[m]> Yaniel: were these the broken buttons? https://i.imgur.com/ylLgBu3.png the totally unimportant buttons to stop a song for example? xD
<Yaniel> exactly those
<Yaniel> a purely cosmetic issue
<Yaniel> also I see you are a person of culture
<vika_nezrimaya> I'm amazed at how Nix can bake ISO images for NixOS
<vika_nezrimaya> Creating an install media has never been simpler
<energizer> i dont like the name ./result/ because it's a normal-enough name that I wouldn't want to gitignore it. Is it possible to have nix-build use a different output name?
<vika_nezrimaya> nix-build -o result
<energizer> oh nice
<vika_nezrimaya> nix build -o result works too!
<gchristensen> vika_nezrimaya: yup. and same technique can make images AWS, GCE, Azure, and netboot images for bare metal
<cole-h> Those broken buttons should be fixed if it uses wrapGAppsHook
<vika_nezrimaya> gchristensen: netboot, hmmmm :3
<Yaniel> it does have wrapGAppsHook in nativeBuildInputs
<Yaniel> it also calls wrapProgram, should it be using some different variant?
<cole-h> freeman42x[m]: Are you on NixOS?
<Yaniel> like qt applications have wrapQtProgram
<cole-h> If on non-NixOS, you need to add to XDG_DATA_DIRS. See this commit on home-manager: https://github.com/rycee/home-manager/commit/d06bcf4c970e45fa260e992d96160b48712504e6
<cole-h> It doesn't know to look in `/nix/...` or `~/.nix-profile/share` for the icons, so it uses the default (and looks broken)
philr_ has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zeta_0> hello there, sometimes this shell.nix works and sometimes it throws an error, why is that? https://dpaste.org/Nm7M , i'm using the exact same shell.nix file that i was using this morning, i've never encountered something like this before?
<zeta_0> it's the same one that i posted this morning on #nixos: https://logs.nix.samueldr.com/nixos/2020-04-16#;zeta
<zeta_0> have any of you encountered an issue like mine before?
ixxie has quit [Ping timeout: 260 seconds]
jlv has quit [Remote host closed the connection]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
fendor has quit [Quit: Leaving]
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/Jffy8
phreedom has quit [Ping timeout: 240 seconds]
invra has quit [Quit: WeeChat 2.3]
sigmundv__ has quit [Read error: Connection reset by peer]
invra has joined #nixos
sigmundv__ has joined #nixos
phreedom has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « Hide progress bar on exit »: https://git.io/Jffya
maddo has quit [Quit: See ya]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
abathur has joined #nixos
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
ent has quit [Ping timeout: 256 seconds]
datakurre has quit [Ping timeout: 272 seconds]
liff has quit [Ping timeout: 272 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « nix flake show: Support apps »: https://git.io/JffyX
pbogdan has quit [Remote host closed the connection]
pbogdan has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger opened pull request #85412 → python3Packages.cirq: fix test failures (ZHF) → https://git.io/JffyM
drakonis_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<freeman42x[m]> I installed Rhythmbox and even though the GUI launches the controls are stuck or don't do stuff, can't even open a folder of music
<jtojnar> any errors when you try to run it in console?
<nh2> DigitalKiwi: that's sick, bring it to next Nixcon! How long did that take
<DigitalKiwi> i started in september
<DigitalKiwi> but i've had a lot of other projects too
<nh2> DigitalKiwi: also photograph it in a full dark room on dark background, then we can have it as a wallpaper
<freeman42x[m]> Jan Tojnar: lots of warninsg `dconf-WARNING` but no errors
<DigitalKiwi> it has taken a few hundred hours though and all of my money a few times :D
drakonis has quit [Ping timeout: 256 seconds]
<DigitalKiwi> and it made me find a bug in kicad that has caused evils to spend hundreds of hours on that :P
<jtojnar> freeman42x: what is the message after the colon?
<gchristensen> DigitalKiwi++
<{^_^}> DigitalKiwi's karma got increased to 9
<nh2> DigitalKiwi: what a cool project. I was thinking to say you could run be some Nixcon side workshop to build some but in a few hundred hours prople will probably not complete that :D
<DigitalKiwi> i could make another one a lot faster and a lot cheaper
<DigitalKiwi> if anyone would like one *cough*
<DigitalKiwi> a lot of the time was figuring out wtf i was doing and waiting on parts and stuff
<DigitalKiwi> there were a lot of tools i wanted/needed, a lot of parts i had to buy in bulk and only used a few of (some of which i didn't use)
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5eb6f1ed448 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @drewrisinger opened pull request #85413 → [20.03] python3Packages.cirq: fix test failures (ZHF) → https://git.io/Jffyh
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<freeman42x[m]> Jan Tojnar: don't know, I uninstalled it. I tried Audacious and it's very good
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 246 seconds]
wildtrees has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JffSn
<freeman42x[m]> what is the fullpath for the .fish file mentioned here? https://i.imgur.com/s37Yfuj.png
abathur has quit [Ping timeout: 256 seconds]
<jtojnar> it will be in ~/.local/share or ~/.config
snicket has quit [Ping timeout: 240 seconds]
<jtojnar> the latter
ebopp has quit [Quit: leaving]
<{^_^}> [nixpkgs] @globin pushed 6 commits to structured-attrs: https://git.io/JffSl
<jtojnar> freeman42x actually, I have it in ~/.config/fish/functions/fish_prompt.fish
abathur has joined #nixos
<freeman42x[m]> yeah, it's not there, it's in https://i.imgur.com/LVd7cSa.png
<energizer> is there a way to convert a running linux system into nixos over ssh?
<energizer> or should i just not bother, and use a usb instead
drakonis has quit [Read error: Connection reset by peer]
reallymemorable has quit [Quit: reallymemorable]
<notgne2> energizer: there's a yes but the yes is harder than the kindof sometimes
drakonis has joined #nixos
<notgne2> there's a few tools to take a running OS and turn it into NixOS, but personally I use clever's kexec
drakonis_ has joined #nixos
reallymemorable has joined #nixos
<pie_[bnc]> clever: any way to find out what a traceVal is hanging on?
<freeman42x[m]> I am pretty sure this is not what they wanted me to put in that empty file... https://i.imgur.com/EoRLMTo.png
drakonis has quit [Ping timeout: 250 seconds]