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
reallymemorable has quit [Quit: reallymemorable]
HugoDaniel has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #80565 → nixos/tinydns: use local dns server to fix test → https://git.io/JvBET
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/JvBw3
chloekek has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #80567 → [20.03] nixos/tinydns: use local dns server to fix test (backport) → https://git.io/JvBEY
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to release-20.03: https://git.io/JvBwn
<{^_^}> [nixpkgs] @marsam merged pull request #80081 → satysfi: 0.0.3 -> 0.0.4 → https://git.io/JvlTJ
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvBwc
<{^_^}> [nixpkgs] @marsam merged pull request #80557 → cvs_fast_export: 1.50 -> 1.51 → https://git.io/JvBBC
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvBwE
phirsch has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #79921 → gti: 1.6.1 -> 1.7.0 → https://git.io/JvWe4
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvBww
HugoDaniel has joined #nixos
butterthebuddha has quit [Quit: Textual IRC Client: www.textualapp.com]
bogdb has quit [Quit: Leaving]
HugoDaniel has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #79768 → yadm: 2.3.0 -> 2.4.0 → https://git.io/JvCJT
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvBwy
<{^_^}> [nixpkgs] @Ma27 opened pull request #80582 → nixos/nixpkgs: add override/merging capabilities from the module system to the `nixpkgs.config` option → https://git.io/JvBwd
jgeerds has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #80583 → du-dust: 0.4.4 -> 0.5.0 → https://git.io/JvBrT
<{^_^}> [nixpkgs] @marsam merged pull request #79795 → you-get: 0.4.1388 -> 0.4.1403 → https://git.io/JvCmF
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvBrL
<newuser99> Normally, the way I can tell whether my files are broken is by running nix-shell and it'll tell me. Is there a way to find out whether my files are broken using lorri?
mbrgm_ has joined #nixos
werner291 has quit [Quit: werner291]
ng0 has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @marsam opened pull request #80584 → terraform: 0.12.20 -> 0.12.21 → https://git.io/JvBr8
sbetrium has quit [Quit: sbetrium]
ng0 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<{^_^}> target/lorri#324 (by curiousleo, 2 weeks ago, open): Event stream: follow-up
HugoDaniel has joined #nixos
sbetrium has joined #nixos
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #80417 → waybar: 0.9.0 -> 0.9.1, fix build → https://git.io/Jv4BV
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JvBri
<{^_^}> [nixpkgs] @Ma27 closed pull request #78458 → date: init at v2.4.1 → https://git.io/Jvqnx
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos
drakonis has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JvBrF
jluttine_ has quit [Ping timeout: 245 seconds]
turona has quit [Ping timeout: 272 seconds]
erictapen has quit [Ping timeout: 255 seconds]
drakonis_ has quit [Ping timeout: 240 seconds]
turona has joined #nixos
erictapen has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #80527 → bazel-remote: 2020-01-29 -> 1.0.0 → https://git.io/JvBq1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvBok
thc202 has quit [Ping timeout: 245 seconds]
jluttine_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80585 → graylog: 3.2.0 -> 3.2.1 → https://git.io/JvBo8
erictapen has quit [Ping timeout: 260 seconds]
drakonis has quit [Ping timeout: 240 seconds]
Rusty1 has quit [Remote host closed the connection]
drakonis has joined #nixos
maddo has quit [Quit: See ya]
<{^_^}> [nixpkgs] @fpletz merged pull request #80394 → [20.03] Backport riot updates → https://git.io/Jv4GV
<{^_^}> [nixpkgs] @fpletz pushed 4 commits to release-20.03: https://git.io/JvBoA
<{^_^}> [nixpkgs] @fpletz merged pull request #80393 → [19.09] riot-web: add config overrides for privacy → https://git.io/Jv4G2
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to release-19.09: https://git.io/JvBox
pjan has quit [Quit: さようなら]
pjan has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvBKm
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80435 → python: decorator: fix Python 2 build → https://git.io/Jv4a5
<{^_^}> [nixpkgs] @jonringer pushed commit from @xfix to master « pythonPackages.decorator: fix Python 2 build »: https://git.io/JvBKC
<{^_^}> [nixpkgs] @Ma27 pushed to master « riot-web: 1.5.9 -> 1.5.10 »: https://git.io/JvBKB
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « riot-web: 1.5.9 -> 1.5.10 »: https://git.io/JvBKu
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.09 « riot-web: 1.5.6 -> 1.5.10 »: https://git.io/JvBKo
noudle has quit []
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80586 → gtkwave: 3.3.103 -> 3.3.104 → https://git.io/JvBKM
acarrico has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #80545 → argocd: Fix build flags → https://git.io/JvBCE
<{^_^}> [nixpkgs] @kalbasit pushed commit from @shahrukh330 to master « argocd: Fix build flags (#80545) »: https://git.io/JvBKH
<{^_^}> [nixpkgs] @Ma27 pushed to master « riot-web: add myself as maintainer »: https://git.io/JvBK7
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80587 → i3: 4.17.1 -> 4.18 → https://git.io/JvBK5
orivej has joined #nixos
newuser99 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #80334 → Gnome 3.34.4 → https://git.io/Jv8SN
<{^_^}> [nixpkgs] @worldofpeace pushed 21 commits to master: https://git.io/JvBKN
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80588 → hevea: 2.32 -> 2.33 → https://git.io/JvBKA
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80589 → [20.03] GNOME 3.34.4 (minor rebuild) → https://git.io/JvB6v
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80590 → grilo: 0.3.11 -> 0.3.12 → https://git.io/JvB6J
<{^_^}> [nixpkgs] @Frostman opened pull request #80591 → starship: 0.36.0 -> 0.36.1 → https://git.io/JvB6s
Fare has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « geogebra: 5-0-570-0 -> 5-0-573-0 »: https://git.io/JvB6n
Ukari has joined #nixos
newuser99 has joined #nixos
<{^_^}> [nixpkgs] @JeffLabonte opened pull request #80592 → brave: 1.3.115 -> 1.3.118 → https://git.io/JvB6R
waleee-cl has quit [Quit: Connection closed for inactivity]
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 272 seconds]
<GrimSleepless> Hello guys! Who would be able to review my PR for brave $80592?
h0m1 has quit [Ping timeout: 272 seconds]
<GrimSleepless> PR #80592 *** ?
<{^_^}> [nixpkgs] @worldofpeace opened pull request #80594 → Gnome updates staging → https://git.io/JvB6a
<{^_^}> https://github.com/NixOS/nixpkgs/pull/80592 (by JeffLabonte, 3 minutes ago, open): brave: 1.3.115 -> 1.3.118
<GrimSleepless> It is a version change and a sha256sum change fairly simple
h0m1 has joined #nixos
<newuser99> What did I do wrong? https://bpaste.net/BIBA
some_nick has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 149 commits to staging-next: https://git.io/JvB6M
<{^_^}> [nixpkgs] @worldofpeace pushed 150 commits to staging: https://git.io/JvB6D
mexisme has joined #nixos
<amanjeev> Do you think it will make sense to "Last updated" date for each package listed when you search for a package. For example, https://nixos.org/nixos/packages.html?attr=jetbrains.clion&channel=nixos-19.09&query=clion ? Or we are ok going to git repo to check?
<some_nick> I tried installing nixos on a computer with an amd Ryzen 5 3400g apu and I'm not able to use two monitors. The hdmi port works but not the displayport. Any ideas of how to fix this?
casaca has quit [Quit: leaving]
Soo_Slow has joined #nixos
<Ashy> some_nick: can you boot an Ubuntu live USB and test that quickly?
<Ashy> also, are they 4k monitors? maybe 1 4k monitor is the max res for a 3400g?
<Ashy> I'm curious about this as I'm planning a 3400g build soonish
drakonis has quit [Ping timeout: 248 seconds]
<some_nick> Ashy yeah ubuntu works. They're not 4k monitors!
<{^_^}> [nixpkgs] @jonringer opened pull request #80595 → python: execute pythonImportsCheckPhase in subshell → https://git.io/JvBiT
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #80585 → graylog: 3.2.0 -> 3.2.1 → https://git.io/JvBo8
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvBiL
notgne2 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<some_nick> Do multiple monitors require special configuration or should it be working out of the box? I see some config parameters related to multiple monitors under 'services.xserver.xrandrHeads
drakonis has joined #nixos
notgne2 has joined #nixos
<Ashy> they don't need anything special on my machines, tried gnome or kde?
drakonis_ has quit [Ping timeout: 272 seconds]
<clever> some_nick: for me, it just works in xfce4-display-settings
<clever> but the settings only take effect after login, so the login screen is a little wonky
Fare has joined #nixos
<cole-h> Does anybody here use pacman on NixOS? I saw that there's a package for it, but wanted to know how well it actually works.
<cole-h> `pacman -F` + `nix-locate -w 'path'` are a fantastic pairing for finding missing headers/binaries/what have you, so I'd love for it to still work when I (eventually) switch over
<lovesegfault> cole-h: I doubt it's meant to be used as a real pkg manager
<cole-h> Of course not
<cole-h> As long as `pacman -F` functions properly, that would be a great boon (to me, at least)
drakonis1 has joined #nixos
<bhipple> If you give me an example cmd I can try running it on NixOS
<newuser99> What did I do wrong? The Python environment doesn't have access to the all the dependencies. https://bpaste.net/BIBA
<bhipple> pacman -F python
<bhipple> (could not find or read directory: /var/lib/pacman/)
<bhipple> error: failed to initialize alpm library
<bhipple> ^ Doesn't look promising :)
<cole-h> RIP.
<bhipple> but from what I find `nix-index` / `nix-locate` is all you really need
<newuser99> or, How do I go about diagnosing this?
<cole-h> Only thing I dislike is all those results that actually aren't what I want lol
<cole-h> The ones surrounded in parens... bleh
<pbb_> Hi, is it possible to add a new top-level attribute to the NixOS module system that I can access from any other NixOS module by adding it to the module parameters?
<cole-h> Though `--top-level` does filter most of those away
<pbb_> In my case I want to pass some external sources as a variable into my NixOS config derivation, and I would like to have access to them via a sources attribute
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80596 → hpx: 1.4.0 -> 1.4.1 → https://git.io/JvBi8
drakonis1 has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80597 → gptfdisk: 1.0.4 -> 1.0.5 → https://git.io/JvBi0
drakonis1 has joined #nixos
<cole-h> bhipple++ Thanks for testing that though :^)
<{^_^}> bhipple's karma got increased to 4
drakonis1 has quit [Quit: WeeChat 2.7]
some_nick has quit [Remote host closed the connection]
kleisli has quit [Ping timeout: 260 seconds]
wiml has quit [Quit: wiml]
reallymemorable has joined #nixos
<newuser99> I do `nix-build` and it makes a `result/bin/myscript`. How do I make the bin/ directory get added to PATH?
<pbb_> newuser99: are you on NixOS or on another distribution using Nix?
<newuser99> pbb_ ubuntu
<pbb_> Then probably "nix-env -i result/"
<cole-h> `nix-env -i -f default.nix` (or whatever its name is)
reallymemorable has quit [Client Quit]
<pbb_> yeah that works too
<iqubic> Is there some way for me to figure out what name I need to pass in to Home Manager's xsession.pointerCursor.name option? I'm trying to use the Bitata Dodgar Blue from pkgs.bibata-extra-cursors.
<cole-h> Unless you want to use home-manager, in which case you could create an overlay for it
<cole-h> (this assumes your system is set up properly and sources the setup script)
reallymemorable has joined #nixos
<iqubic> Bibata Extras repo is here: https://github.com/KaizIqbal/Bibata_Extra_Cursor
<cole-h> iqubic: `man home-configuration.nix` and search for `xsession.pointerCursor`
<iqubic> I've done that already.
phirsch has quit [Read error: Connection reset by peer]
<iqubic> And it doesn't really help me identify the proper name.
<cole-h> The docs make it sounds like you need to specify the package with `xsession.pointerCursor = { package = ...; name = ...; };` or something similar
<iqubic> Correct.
<cole-h> `defaultCursor` is "The default cursor file to use within the package."
<iqubic> I'm using "package = pkgs.bibata-extra-cursors;"
mexisme has quit [Ping timeout: 240 seconds]
<cole-h> Tried `ls`ing the derivation's directory and finding the cursor file?
<iqubic> No.
<cole-h> That's what `defaultCursor` (seems to) want, so try that maybe?
<cole-h> And if still nothing, try asking in #home-manager as well
<iqubic> Right. But it's not defaultCursor that I need to set. It's name.
<newuser99> cole-h: https://bpaste.net/HWRA how do I get the bin/ dir added to the nix-shell's PATH?
drakonis1 has joined #nixos
<newuser99> or, get that script on the nix-shell's PATH
<cole-h> newuser99: Look up :-)
<cole-h> 19:18 cole-h │ `nix-env -i -f default.nix` (or whatever its name is)
<cole-h> `nix-env --install --file default.nix` is the long hand, if that clues you in to what it's actually doing ;)
<newuser99> cole-h: I just want it installed into the nix-shell, not everywhere
<cole-h> add `let org = pkgs.callPackage ./org.nix { };` and put `org` in your `buildInputs`?
<newuser99> cole-h: which buildInputs is that?
gustavderdrache has left #nixos [#nixos]
drakonis1 has quit [Ping timeout: 258 seconds]
kloenk has quit [Remote host closed the connection]
swflint has quit [Ping timeout: 252 seconds]
justanotheruser has joined #nixos
kloenk has joined #nixos
swflint has joined #nixos
mexisme has joined #nixos
<newuser99> cole-h: sweet, thanks!
kleisli has joined #nixos
nuncanada has quit [Ping timeout: 265 seconds]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80599 → krb5: 1.17 -> 1.18 → https://git.io/JvBPm
felixfoertsch23 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80600 → jruby: 9.2.9.0 -> 9.2.10.0 → https://git.io/JvBPZ
felixfoertsch has quit [Ping timeout: 265 seconds]
xkapastel has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @ryantrinkle opened pull request #80601 → nixos/printers: allow supplying raw ppd file → https://git.io/JvBPi
<cole-h> What's the unquoted homepage URL RFC again?
ryantrinkle has joined #nixos
<cole-h> Ah, 45
reallymemorable has quit [Quit: reallymemorable]
<tnks> I just ran `nix verify --all` and saw `[7523 paths verified, 241 untrusted]`. Are the untrusted packages just part of life? Or is it reasonable to expect all packages to be trusted?
<iqubic> So, I have an issue here. I'm trying to run "home-manager --switch" to rebuild my new HM config. I'm getting this error: The option `services.lorri' defined in `/home/avi/.config/nixpkgs/home.nix' does not exist.
<iqubic> That contridicts this online list of options: https://rycee.gitlab.io/home-manager/options.html#opt-services.lorri.enable
* gchristensen looks left ... looks right ...
alexherbo2 has quit [Ping timeout: 255 seconds]
<iqubic> Oh, but "man home-configuration.nix" pulls up a similar list, but lacks that configuration option. So I think I need to update home-manager somehow.
Fare has quit [Ping timeout: 240 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @cole-h opened pull request #80602 → rls: add llvm to buildInputs → https://git.io/JvBXk
mexisme has quit [Ping timeout: 258 seconds]
<iqubic> So, I don't know what the issue is here.
<{^_^}> [nixpkgs] @eraserhd opened pull request #80603 → plan9port: fix linker flags for macosx → https://git.io/JvBXY
<cole-h> iqubic: Tried... updating home-manager?
<iqubic> Yes.
<cole-h> I've got it in my config and it works fine: https://paste.rs/YmS.jpg
<cole-h> Also, shouldn't it be `home-manager switch`, not `--switch`?
<iqubic> Yeah.
<iqubic> I was running `home-manage switch`
<iqubic> Alright... turns out that I needed to be running the unstable version of home-manager.
mrus has joined #nixos
<iqubic> So all I had to do was switch channels, update channel, and then it all works.
drakonis_ has quit [Remote host closed the connection]
drakonis_ has joined #nixos
<newuser99> I can do `myOrgEnv = import ./../modules/org;` and then `nix-env -iA nixpkgs.myOrgEnv`. That successfully installs the package. But when I try putting `home.packages = [pkgs.myOrgEnv ] ` it says that entry `is not of type `package'.`
<newuser99> How can I make it work?
<clever> newuser99: what does the default.nix return?
<clever> newuser99: if you eval `myOrgEnv` in `nix repl '<nixpkgs>'` what is the type?
<newuser99> clever: lambda @ path/default.nix
<newuser99> looks like I can do `myOrgEnv = self.pkgs.callPackage (import ./../modules/org) {};` and that works
<clever> newuser99: you dont need the import, callPackage imports for you
<clever> newuser99: you likely want myOrgEnv = self.callPackage ../modules/org {};
zeta_0 has joined #nixos
phirsch has joined #nixos
<newuser99> ah cool
<{^_^}> [nixpkgs] @zowoq opened pull request #80604 → gitAndTools.gh: fix authentication → https://git.io/JvB1L
chagra has joined #nixos
chagra_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #78897 → pythonPackages.scs: init at 2.1.1 → https://git.io/JvOyt
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.scs: init at 2.1.1 »: https://git.io/JvB10
endforma1 has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80605 → libreswan: 3.29 -> 3.30 → https://git.io/JvB1w
chagra has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Ping timeout: 255 seconds]
mexisme has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #80606 → ocamlPackages.dum: cleaning → https://git.io/JvB1D
tilcreator has quit [Quit: ZNC 1.7.5 - https://znc.in]
tilcreator has joined #nixos
Soo_Slow has quit [Quit: Soo_Slow]
<{^_^}> [nixpkgs] @domenkozar pushed 0 commits to hydraBump: https://git.io/JvB1b
<{^_^}> [nixpkgs] @domenkozar pushed 0 commits to nix-upgrade: https://git.io/JvB1N
<{^_^}> [nixpkgs] @domenkozar pushed 0 commits to binaryCaches-default: https://git.io/JvB1A
<habbah> "psql" results in "psql: FATAL: database "habbah" does not exist
<habbah> "psql -U postgres" results in "psql: FATAL: Peer authentication failed for user 'postgres'"
<habbah> how do I get around this?
NoctisLabs has quit [Quit: WeeChat 2.7]
Maxdamantus has quit [Ping timeout: 268 seconds]
NoctisLabs has joined #nixos
Diagon has joined #nixos
Diagon has quit [Remote host closed the connection]
phirsch has quit [Quit: phirsch]
<clever> habbah: you have to either `sudo -u postgres psql` or configure postgres to allow your user to authenticate using unix sockets
<{^_^}> [nixpkgs] @alyssais merged pull request #79680 → virglrenderer: 0.7.0 -> 0.8.1 → https://git.io/JvcuA
<{^_^}> [nixpkgs] @alyssais pushed to master « virglrenderer: 0.7.0 -> 0.8.1 »: https://git.io/JvBMs
Fare has joined #nixos
<{^_^}> [nixpkgs] @jtojnar closed pull request #80590 → grilo: 0.3.11 -> 0.3.12 → https://git.io/JvB6J
<{^_^}> [nixpkgs] @jtojnar closed pull request #80573 → gjs: 1.58.4 -> 1.58.5 → https://git.io/JvB2n
Maxdamantus has joined #nixos
Maxdamantus has joined #nixos
Maxdamantus has quit [Changing host]
drakonis_ has quit [Quit: Leaving]
NoctisLabs has quit [Quit: WeeChat 2.7]
phirsch has joined #nixos
<zeta_0> hello there, i am using visidata to view the data of a csv file, but i cannot figure out how to get it to copy a whole link? the links cut off at ...
<{^_^}> [nixpkgs] @domenkozar pushed to haskell-updates « configuration-ghc-8.8.x: fix eval »: https://git.io/JvBMR
<zeta_0> clever: hello again, a while back you helped me setup ssh-agent and gpg-agent. anyways gpg-agent seems to automate gpg password pretty well, but for ssh i keep having to manually type my password every time, which is a hassle, any tips?
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<zeta_0> ok, i think i am going to call it a day, later everyone
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<newuser99> Is there a tool for converting between nix values and json/yaml/etc?
<bhipple> There are builtins to read/write JSON in Nix
<bhipple> see the manual. Unfortunately there is no equivalent for YAML
bhipple has quit [Remote host closed the connection]
<newuser99> ah nice, thanks
cole-h has quit [Ping timeout: 240 seconds]
<newuser99> Having loaded a json object into an attr set, how do I convert the attr set into a string that I can use toFile on?
work_ has quit [Quit: Connection closed for inactivity]
<newuser99> toString needs a __toString but I'm guessing there's a builtin for this case
xkapastel has quit [Quit: Connection closed for inactivity]
<newuser99> toPretty looks promising
mmlb has joined #nixos
palo1 has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
<newuser99> oh that's xml, not nix
Fare has quit [Ping timeout: 240 seconds]
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to cus-broken: https://git.io/JvBDU
hoijui has joined #nixos
mmlb has quit [Ping timeout: 255 seconds]
mmlb has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80595 → python: execute pythonImportsCheckPhase in subshell → https://git.io/JvBiT
<{^_^}> [nixpkgs] @jonringer pushed to staging « python: execute pythonImportsCheckPhase in subshell »: https://git.io/JvBDl
<{^_^}> [nixpkgs] @jtojnar merged pull request #80456 → nixos/fish: fix completions patch → https://git.io/Jv4XX
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JvBDa
<iqubic> ,locate dunstify
<{^_^}> Couldn't find in any packages
gxt has quit [Ping timeout: 240 seconds]
<clever> iqubic: 2020-02-18 00:32:56< clever> justan0theruser: you must put (dunst.override { dunstify = true; }) into your shell instead
<iqubic> Ah. Cool. Thanks.
zupo has joined #nixos
<{^_^}> [nixpkgs] @equirosa opened pull request #80607 → croc: 6.4.10 -> 6.4.11 → https://git.io/JvBD1
hyper_ch_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
kloenk has quit [Ping timeout: 272 seconds]
kloenk has joined #nixos
hyper_ch has joined #nixos
<{^_^}> [nix] @tbsmoest opened pull request #3368 → .dir-locals.el: Set additional lambda indentation to zero → https://git.io/JvBDH
johnny101m has quit [Ping timeout: 248 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/43a775649ce (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
johnny101m2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80608 → libfilezilla: 0.19.3 -> 0.20.0 → https://git.io/JvBDF
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/9fef2ce7cfb (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nekroze has joined #nixos
<nekroze> hi all, I am writing some custom options and am setting some default stuff in the config block with "mkDefault" however when I try to use the value of that option from "config" input at the top of the file I am not getting the value but a set that appears to define the override option. How do I get my custom options to collapse this down to the final value?
cole-h has joined #nixos
veske has joined #nixos
veske2 has joined #nixos
ixxie has joined #nixos
c0c0 has joined #nixos
chimay has joined #nixos
leothrix has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
leothrix has joined #nixos
chimay has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @xavierzwirtz opened pull request #80609 → mssql-server: init at 15.0.4003.23-3 → https://git.io/JvByr
<{^_^}> [nixpkgs] @FRidh merged pull request #73819 → Multithreaded perl on darwin → https://git.io/Je6Gj
<{^_^}> [nixpkgs] @FRidh pushed commit from @knl to staging « perl: Enable threading on darwin »: https://git.io/JvByK
lovesegfault has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @xavierzwirtz opened pull request #80610 → azuredatastudio: init at 1.15.1 → https://git.io/JvByS
kaliumxyz has joined #nixos
cole-h has quit [Ping timeout: 240 seconds]
johnny101m2 has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9fef2ce7cfb (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
nekroze has quit [Remote host closed the connection]
philr has joined #nixos
<CMCDragonkai> I have a service that I'm writing a custom nixos module for. This service has a command that can be executed multiple times to create multiple instances of it. What is the right way to create the nixos config with the number of instances specified? Also the same service can be ran multiple times with different options as well.
m0rphism has joined #nixos
<sshow> CMCDragonkai: maybe a named systemd service, where you start them off with `systemctl start myservice@option1.service`, where e.g. option1 might be a reference to a config file
<CMCDragonkai> Sure, but I want to know how best to write the nixos module config to express this
<CMCDragonkai> For example... `systemd.services.? = { ... }`, should I generate multiple of these instances
<CMCDragonkai> ```
<CMCDragonkai> ```
<CMCDragonkai> systemd.services.MyService2 = { ... };
<CMCDragonkai> systemd.services.MyService1 = { ... };
zupo has joined #nixos
<CMCDragonkai> How would the nixos module options be structured though? 1 service option for multiple instances at the end?
Havvy has quit [Quit: Computer Restarted or Restarting IRC]
jmeredith has quit [Quit: Connection closed for inactivity]
Tucky has joined #nixos
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @mmahut pushed 0 commits to revert-63973-master: https://git.io/JvBSV
ris has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
Naptra has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #57876 → fx_cast: init at 0.0.5 → https://git.io/fjv7y
<{^_^}> [nixpkgs] @domenkozar pushed 8 commits to master: https://git.io/JvBS7
<newuser99> How do I see the help of a function in nix repl?
johnny101m has joined #nixos
dansho has quit [Ping timeout: 240 seconds]
<angerman> newuser99: I don't think you can.
<newuser99> oof
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @fgaz opened pull request #80611 → pt2-clone: init at 1.06 → https://git.io/JvB9O
<{^_^}> [nixpkgs] @fgaz opened pull request #80612 → ft2-clone: init at 1.09 → https://git.io/JvB9s
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80613 → lyx: 2.3.4 -> 2.3.4.3 → https://git.io/JvB9l
maddo has joined #nixos
Chiliparrot has joined #nixos
fendor has joined #nixos
<fgaz> Is there a way to check the endianness in meta.platform?
<{^_^}> [nixpkgs] @ikervagyok opened pull request #80614 → Lammps → https://git.io/JvB9g
<{^_^}> [nixpkgs] @gebner merged pull request #80576 → elan: upgrade cargo fetcher and cargoSha256 → https://git.io/JvBa6
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JvB92
<{^_^}> [nixpkgs] @primeos opened pull request #80615 → chromium: 80.0.3987.106 -> 80.0.3987.116 → https://git.io/JvB9w
remirol has joined #nixos
lorimer has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
chloekek has joined #nixos
gxt has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
NoctisLabs has joined #nixos
<fgaz> bennofs: but how can I use that in meta.platforms?
o1lo01ol1o has quit [Remote host closed the connection]
<fgaz> Oh wait, it doubles as a predicate somehow… I think
<fgaz> No it doesn't... so I should filter platforms.all somehow
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
<fgaz> Found it, stdenv.lib.systems.inspect.predicates.isLittleEndian
orivej has joined #nixos
o1lo01ol1o has quit [Ping timeout: 260 seconds]
thc202 has joined #nixos
cr4y1 has joined #nixos
<CMCDragonkai> if a package provides multiple systemd units
<CMCDragonkai> and we use `systemd.packages [ pkgs.somepackage ];`
<CMCDragonkai> how do we override the individual units
cr4y1 has quit [Client Quit]
<CMCDragonkai> and what about template untis?
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @ikervagyok opened pull request #80617 → Slurm: improve RDMA capability → https://git.io/JvBHr
slyfox has quit [Ping timeout: 260 seconds]
civodul has joined #nixos
<srk> CMCDragonkai: you can change override it via systemd.units."somename.service"
<srk> > config.systemd.units
<{^_^}> attribute 'systemd' missing, at (string):281:1
<CMCDragonkai> most things seem to explain using `systemd.services.<name> = { ... }`
<CMCDragonkai> srk: is that name then the name of the unit file
<CMCDragonkai> ?
<CMCDragonkai> if the service unit file was `abc.service`
<CMCDragonkai> then is it `systemd.services.abc = { ... }`
<srk> depends if you want to override NixOSes service definition or just a unit
<CMCDragonkai> also regarding "overriding", apparently ExecStart is additive
<Taneb> Is there a standard way to satisfy build tools that expect there to be a home directory but don't much care what's in it?
<Taneb> I'm doing "mkdir fakehome; export HOME=fakehom"
<CMCDragonkai> srk: it is a custom package that has custom service files
<CMCDragonkai> srk: and i need to "override" options on the `ExecStart`
Makaveli7 has quit [Quit: WeeChat 2.7]
<CMCDragonkai> srk: so `serviceConfig.ExecStart = ...;` is meant to override the entire `ExecStart`? Or is it also additive?
<srk> CMCDragonkai: I think in that case it is better to create appropriate services via systemd.services
<Taneb> The nixpkgs manual seems to do it in three different ways...
<srk> not sure if you can override ExecStart of the existing unit
phirsch has quit [Ping timeout: 255 seconds]
<Taneb> "export HOME=$PWD", "HOME=$TMPDIR"; "export HOME=$(mktemp -d)"
<srk> HOME=/homeless-shelter ? :)
<Taneb> srk: the thing I'm using writes to the HOME directory, and later reads what it wrote back
andymandias_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
<srk> you can mkdir it as well
logzet has joined #nixos
<srk> it doesn't matter if it's /something or mktemp as build is isolated and what's not copied to $out is discarded anyway
KeiraT has quit [Remote host closed the connection]
KeiraT has joined #nixos
werner291 has joined #nixos
wavirc22 has joined #nixos
toppler` is now known as toppler
f0i[m] has joined #nixos
mojjo has joined #nixos
f0i has left #nixos [#nixos]
newuser99 has quit [Remote host closed the connection]
<mojjo> how can I eval a nix expression that does not result in a derivation.. Something like `nix-eval '1+1' # -> 2`
<mojjo> (not from inside `nix repl`)
<srk> nix-instantiate --eval -E '2+2'
<mojjo> nice, thx!
<srk> nix eval '(1+2)'
<srk> mojjo: better ^^
<tilpner_> srk: Is it? AFAIK the nix CLI is still unstable, and the parentheses are a weird hack
tilpner_ is now known as tilpner
<niksnut> the parentheses are gone on the flakes branch
cosimone has joined #nixos
<niksnut> you now have to say 'nix eval --expr "1+2"'
<srk> haha lol, didn't realize it doesn't work without parentheses
<srk> niksnut: cool
<tilpner> That's much better, an extra flag instead of cramming two separate modes into one via weird syntax!
<niksnut> yes
philr has quit [Ping timeout: 255 seconds]
<niksnut> fwiw the reason for the parentheses is that it allowed combining different kinds of installables, e.g.: nix run nixpkgs.hello '(with import <bla>; foo.override { ... })'
<niksnut> so you can't do that anymore
<{^_^}> [nixpkgs] @rileyinman opened pull request #80618 → iosevka: disable update check in build → https://git.io/JvBQn
werner291 has quit [Remote host closed the connection]
<CMCDragonkai> a question about `nixos-rebuild` and `-I nixpkgs=./pkgs.nix`
<CMCDragonkai> this overrides the search path with `nixpkgs`
<CMCDragonkai> set to a file that exports the whole package set
<CMCDragonkai> the build succeeds but there's this error
<CMCDragonkai> `/nix/store/x7hj5hp24flxbx6jnnws5rnjs31g0ybw-bash-4.4-p23/bin/bash: /etc/nixos/pkgs.nix/nixos/modules/installer/tools/get-version-suffix: Not a directory`
<tilpner> I get that too, it should be harmless
sigmundv has joined #nixos
<CMCDragonkai> tilpner: you're also using `-I nixpkgs=./pkgs.nix`
<CMCDragonkai> ?
<tilpner> You can work around it, if you really want to
<tilpner> The trick is to: mkdir nixpkgs; mv pkgs.nix nixpkgs/default.nix
<CMCDragonkai> tilpner: why does that solve the problem?
<tilpner> And then -I nixpkgs=$PWD/nixpkgs
<{^_^}> [nixpkgs] @edolstra pushed to release-19.09 « nixUnstable, nixFlakes: Update to latest »: https://git.io/JvBQC
<tilpner> It doesn't by itself, but now your <nixpkgs> is a directory, not a file
<tilpner> So you can place the file it expects, where it expects it
<CMCDragonkai> it tries to use the actual script `$nixpkgs/nixos/modules/installer/tools/get-version-suffix`
<CMCDragonkai> how does putting `pkgs.nix` into `nixpkgs` directory allow that part of the script to run?
<tilpner> Yes, you can place that now, because now your <nixpkgs> is a directory again
<CMCDragonkai> oh you mean
<CMCDragonkai> for me to actually copy that file
<CMCDragonkai> into that directory
<CMCDragonkai> for me to manually do this
<CMCDragonkai> `get-version-suffix`
<tilpner> Not necessarily, let me check
<tilpner> It runs that script with bash, so you can place an alternative bash script at that location, which resolves the version number differently
<tilpner> Presumably, you have pinned your nixpkgs sources somewhere, so you would use that to get the revision
<CMCDragonkai> hmm i'm afraid of that its accepted that <nixpkgs> is meant to point to a directory
<CMCDragonkai> will there be problems in the future?
__monty__ has joined #nixos
<tilpner> Yes, there will be
<tilpner> You can work around those too
<tilpner> At the cost of your setup becoming so weird that nobody can help you debug it
iyzsong-x has joined #nixos
iyzsong has quit [Ping timeout: 240 seconds]
<tilpner> But the only other thing you really need is nixpkgs/nixos/default.nix
veske has joined #nixos
veske2 has joined #nixos
<CMCDragonkai> tilpner: yea because of <nixpkgs/nixos> paths used everywhere
<tilpner> Some profiles you find in the wild (or from nixos-generate-config) also use <nixpkgs/...> in imports
<tilpner> That will be a problem, and you'll have to either provide them, or fix the imports
mexisme has joined #nixos
<tilpner> You can replace those imports with { modulesPath, ... }: { imports = [ "${modulesPath}/foo" ]; }
vidbina has joined #nixos
zupo has joined #nixos
<CMCDragonkai> hmm it seems for nixos at least, `<nixpkgs>` is expected to be a directory, and also it's expected that this directory is at least the original main nixpkgs, or a forked representation
<gordon> Hi. I’m still new to Nix, and since I used a bunch of scripts in my previous system, i’m trying to package those. So I did the python part (https://github.com/gordonzola/mbsync_tools), the repository builds in a venv, but when i write my derivation, I have a python error "ERROR: Could not find a version that satisfies the requirement SecretStorage (from mbsync-tools==0.1.0) (from versions: none)"
<gordon> i’m trying to understand how `buildPythonPackage` works differently than `python setup.py install`
mexisme has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @sorki opened pull request #80619 → ipmicfg: 1.29.0-181029 -> 1.30.0-190710 → https://git.io/JvBQy
<tilpner> CMCDragonkai: Correct, but it works well enough for me. I expect to have to rediscover the whole thing when flakes land, so I've stopped changing things for now
<gordon> oh. It works after adding my python dependencies in the derivation
<CMCDragonkai> tilpner: how will flakes affect nixos modules?
<tilpner> CMCDragonkai: I haven't played with them yet, but AFAICT (and correct me if I tell wrong) our pinning will become unnecessary thanks to flake.lock
o1lo01ol1o has joined #nixos
<tilpner> CMCDragonkai: nix-channel will be replaced by that, and there'll be no need for "<nixpkgs> is not an actual nixpkgs tree", or so I hope
<tilpner> CMCDragonkai: I don't have the time to redo my setup right now, but if you're just setting it up for the first time, you might as well give flakes a try?
kleisli has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @xfix opened pull request #80620 → [r20.03] pythonPackages.decorator: fix Python 2 build → https://git.io/JvBQQ
<{^_^}> [hydra] @edolstra pushed 8 commits to master: https://git.io/JvBQp
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « delft/flake.lock: Update »: https://git.io/JvB7f
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Remove redundant system.configurationRevision »: https://git.io/JvB7U
<{^_^}> [nixpkgs] @primeos pushed to master « rav1e: 0.3.0 -> 0.3.1 »: https://git.io/JvB7k
<emily> 10:05 <tilpner> You can replace those imports with { modulesPath, ... }: { imports = [ "${modulesPath}/foo" ]; }
<emily> hm, is this "best practices"? :|
<{^_^}> [nixpkgs] @marsam merged pull request #80591 → starship: 0.36.0 -> 0.36.1 → https://git.io/JvB6s
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvB7q
loyon[m] has joined #nixos
<tilpner> emily: No, this is a workaround
<CMCDragonkai> tilpner: do you have any idea why `nixos-rebuild switch -I nixpkgs-overlays=/etc/nixos/nixpkgs-overlay/overlays.nix` doesn't work?
<CMCDragonkai> I tested it with `nix repl -I nixpkgs-overlays=...`
<CMCDragonkai> and the overlay applied
<CMCDragonkai> not sure why rebuild switch doesn't apply it?
<gordon> now i’m trying to add my derivations to the system. I created a git repository (https://github.com/gordonzola/nixpkgs), but i still don’t really understand how I should add it to the system. `nix-channel` doesn’t seem to support git, so it won’t find the nixexpr.tar.bz2. What should I do to make my packages available system-wide?
jojojojojo has quit [Remote host closed the connection]
jojojojojo has joined #nixos
<tilpner> CMCDragonkai: Uh oh, you need to apply those manually
<CMCDragonkai> i thought that the overlay would be applied automatically and i could use custom `pkgs.*`
loyon[m] is now known as ircfreenodenetlo
<CMCDragonkai> inside the `configuration.nix`
<tilpner> CMCDragonkai: In your nixpkgs/default.nix, interpret <nixpkgs-overlays> and pass them to nixpkgs while importing
<tilpner> CMCDragonkai: Well, it depends on how you exactly you do the pinning
<emilazy> tilpner: I guess "ideally" <foo/bar> should work even if foo is a .nix file dierctly?
<emilazy> *directly?
gxt has quit [Ping timeout: 240 seconds]
<tilpner> CMCDragonkai: What did you put in nixpkgs/nixos/default.nix?
<emilazy> meaning, like... `import¯¹ ((import <foo>).bar)`, or something.
<CMCDragonkai> tilpner: I've gone back to what I had before
<emilazy> if you get what I mean.
<CMCDragonkai> tilpner: which was `nixpkgs=./nixpkgs`
<CMCDragonkai> and `./nixpkgs` is the actual nixpkgs repo
sigmundv has quit [Ping timeout: 240 seconds]
<tilpner> emilazy: I guess that might work, import^-1 might just be unsafeGetAttrPos in this particular case
<tilpner> CMCDragonkai: And you're passing both with -I to nixos-rebuild?
<CMCDragonkai> the only way i was able to get the `<nixpkgs-overlays>` working in configuration.nix was with reevaluating pkgs like this
<CMCDragonkai> pkgs = import <nixpkgs> {
<CMCDragonkai> };
<CMCDragonkai> overlays = import <nixpkgs-overlays>;
<CMCDragonkai> config.allowUnfree = true;
<CMCDragonkai> tilpner: yes, i was passing both
<CMCDragonkai> tilpner: like this
<CMCDragonkai> sudo nixos-rebuild switch -I nixpkgs=./nixpkgs -I nixpkgs-overlays=/etc/nixos/nixpkgs-overlay/overlays.nix
<CMCDragonkai> how weird
<tilpner> Oh, right
<tilpner> Use nixpkgs.overlays instead
<CMCDragonkai> what do you mean?
<tilpner> I've never used <nixpkgs-overlays>, but I think it might only apply when importing <nixpkgs>, not when importing <nixpkgs/nixos>
<CMCDragonkai> but i need the overlay applied for `environment.systemPackages`
<CMCDragonkai> as in i need the overlay applied at the point of evaluating the `configuration.nix
<tilpner> Yes, so use nixpkgs.overlays instead
dm9 has joined #nixos
<CMCDragonkai> tilpner: why doesn't `nixpkgs.overlays` just default to using `<nixpkgs-overlays>` if it is specified in NIX_PATH?
<emily> tilcreator: right, but I mean you could make <foo/bar> desugar to that directly
<emily> er, tilpner: sorry
<tilpner> emily: No, you can't
<CMCDragonkai> this whole part in the manual seems to be missing information, as in what is this `overlays.nix` file, and where to put it
<CMCDragonkai> > Because overlays that are set in NixOS configuration do not affect non-NixOS operations such as nix-env, the overlays.nix option provides a convenient way to use the same overlays for a NixOS system configuration and user configuration: the same file can be used as overlays.nix and imported as the value of nixpkgs.overlays.
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):281:31
<CMCDragonkai> I'm using this now: `nixpkgs.overlays = import <nixpkgs-overlays>;`
<CMCDragonkai> tilpner: just to confirm, the `$NIX_PATH` doesn't change until you reboot right?
<CMCDragonkai> cause it doesn't change when i try to do what this is saying https://nixos.wiki/wiki/Overlays
<tilpner> emily: You can't translate every <foo/bar> to import^-1 ((import <foo>).bar), not without changing nixpkgs entirely. There is no rule that makes sure <foo> will evaluate to an attrset with a bar attribute
<emily> tilpner: er, right.
<tilpner> emily: So it would have to be some weird fallback, and I don't think that's worth the complexity
<emily> tilpner: I guess what I want is for <foo/bar> to be an actual module path and for Nix modules to work filesystem-hierarchically like that.
<emily> I expect it on my desk by Monday, thanks.
<tilpner> CMCDragonkai: The option nix.nixPath only takes effect if you login again
<tilpner> CMCDragonkai: Other means of changing NIX_PATH may take effect immediately
sigmundv has joined #nixos
Synthetica has joined #nixos
iyzsong has joined #nixos
iyzsong-x has quit [Ping timeout: 240 seconds]
<alexarice[m]> Does anyone know why haskell packages seem to be compiled twice?
<Taneb> alexarice[m]: they're compiled both without and with library profiling
<alexarice[m]> Taneb: is there a way to disable one of them?
<alexarice[m]> just takes a long time
<Taneb> alexarice[m]: haskellPackages.lib.disableLibraryProfiling, I think
<alexarice[m]> Taneb: thanks Taneb++
<{^_^}> Taneb's karma got increased to 14
lsix has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #59414 → lumo 1.9.0 -> 1.10.1 plus darwin support → https://git.io/fjm8d
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JvB5G
linarcx has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/71be729a58e (from 21 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
wavirc22 has quit [Ping timeout: 255 seconds]
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80622 → nextcloud: 18.0.0 -> 18.0.1 → https://git.io/JvB5l
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
domogled has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #80584 → terraform: 0.12.20 -> 0.12.21 → https://git.io/JvBr8
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvB5E
<CMCDragonkai> what exactly is `nixpkgs.pkgs` for?
<etu> It's to separate packages from "other things"
<etu> Like library functions etc
<CMCDragonkai> that still doesn't make sense to me
<ikwildrpepper> yeah, its also not the case, as it includes everything
<etu> Hmm
<etu> Maybe it's so you can pass pkgs to a function then? Just so you have a name to pass
<ikwildrpepper> is it perhaps related to overylays?
erictapen has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Client Quit]
drakonis has quit [Ping timeout: 258 seconds]
peelz has joined #nixos
<alexarice[m]> I think if you use callPackage on a function that has an argument "pkgs" then it can pass the whole package set in
Yaniel has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80623 → networkmanager: 1.22.6 -> 1.22.8 → https://git.io/JvB51
<etu> alexarice[m]: Yeah, that's probably the correct reason.
CMCDragonkai has quit [Quit: CMCDragonkai]
<{^_^}> [nixpkgs] @Ma27 merged pull request #80587 → i3: 4.17.1 -> 4.18 → https://git.io/JvBK5
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvB59
<{^_^}> [nixpkgs] @Mic92 pushed to master « r2: 4.2.0 -> 4.2.1 »: https://git.io/JvB5Q
v88m has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
Neo-- has joined #nixos
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80624 → mygui: 3.2.2 -> 3.4.0 → https://git.io/JvBdv
CMCDragonkai has joined #nixos
Ukari has quit [Remote host closed the connection]
Ukari has joined #nixos
waleee-cl has joined #nixos
mojjo has quit [Remote host closed the connection]
sigmundv has joined #nixos
<peelz> Does anybody why several kernel modules fail to compile on Linux 5.x? (due to do_gettimeofday) https://termbin.com/mcy3
<Taneb> (found by googling "do_gettimeofday" then clicking some links in a bug report somwhere)
turona has quit [Ping timeout: 272 seconds]
<peelz> hmm
<peelz> Well that sucks. A lot of things are breaking because of that change
turona has joined #nixos
<peelz> some people can't use nvidia drivers on linux 5, according to this issue: https://github.com/NixOS/nixpkgs/issues/57062
<{^_^}> #57062 (by SchrodingerZhu, 49 weeks ago, open): nvidia building failure for linux 5
<peelz> but I'm using nvidia drivers on 5.4 just fine hmm
<{^_^}> [nixpkgs] @aanderse merged pull request #80568 → phpPackages.pdo_oci: init → https://git.io/JvBE4
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to release-20.03: https://git.io/JvBd4
<peelz> Taneb: this patch doesn't seem to be related
psyanticy has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #77620 → netalyzr: service no longer exists as of 2019-03 → https://git.io/JvJOg
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvBdV
<Taneb> peelz: :/
Yaniel has joined #nixos
acarrico has quit [Ping timeout: 260 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @unode opened pull request #80625 → pysam: 0.15.3 -> 0.15.4 (patching a failing test) → https://git.io/JvBdQ
fusion809 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @edolstra pushed to flakes « fetchTree: Use a feature flag »: https://git.io/JvBdd
CodeWarrior has quit [Remote host closed the connection]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [rfcs] @edolstra closed pull request #54 → [RFC 0054] Support levels and tiers → https://git.io/JeclJ
asbachb has joined #nixos
<asbachb> Hej! Is it normal that Gparted in graphical iso is unable to create any filesystem?
HugoDaniel has quit [Ping timeout: 260 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @edolstra merged pull request #80454 → [19.09] nixos/release-combined; migrate constituents list to strings → https://git.io/Jv4X0
<{^_^}> [nixpkgs] @edolstra pushed 3 commits to release-19.09: https://git.io/JvBFv
apeyroux has quit [Remote host closed the connection]
<qubasa_> Does someone know how to package compilers under nixos? If so I would like to ask for some help ^^
magnetophon has joined #nixos
Tucky has quit [Quit: WeeChat 2.7]
apeyroux has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/883bd18b64c (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @edolstra pushed to release-19.09 « nixos/release-small.nix: Remove hydraJob »: https://git.io/JvBFs
<{^_^}> [nixpkgs] @peterhoeg merged pull request #80428 → dbus-broker: 21 -> 22 → https://git.io/Jv4z2
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/JvBFG
philr has joined #nixos
<asymmetric> how do i use clang to build a non-nixified program in a nix-shell?
<asymmetric> is adding clang to the shell's buildInputs enough?
<asymmetric> i don't think the advice to change stdenv to clangStdenv is relevant in that case right?
Tucky has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #80627 → bazel-buildtools: 0.29.0 -> 1.0.0 → https://git.io/JvBFR
<{^_^}> [nixpkgs] @mweinelt opened pull request #80628 → s-tui: migrate to python3 → https://git.io/JvBF2
<__monty__> asbachb: I don't see why it shouldn't be able to. Probably wouldn't have been included if it's useless : )
<__monty__> qubasa_: Quickest way to an answer is just to ask your question.
<{^_^}> [nixpkgs] @ryantm merged pull request #80558 → eternal-terminal: 6.0.5 -> 6.0.6 → https://git.io/JvBRT
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvBFw
<woffs> f216b03 needs to be included in 20.03 to fix tigervnc, I guess
<asbachb> __montey__: seems that it does not open up with root rights as default.
<qubasa_> __monty__: I am packaging a custom clang compiler and the binary works fine but the discovery of libraries does not work
acarrico has joined #nixos
asbachb has left #nixos [#nixos]
<__monty__> That sounds normal. In nix all dependencies should be explicit. Otherwise they're impurities.
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
<peelz> How can I make an overlay for config.boot.kernelPackages.<module> ?
<{^_^}> [nixpkgs] @ryantm merged pull request #80502 → ephemeral: 6.2.0 -> 6.2.1 → https://git.io/JvBes
Arahael has joined #nixos
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvBFA
<qubasa_> __monty__: Well yes but no, the compiler has to find the currently available packages in <glibc>/include for example
<{^_^}> [nixpkgs] @ryantm closed pull request #79899 → dcmtk: 3.6.5 -> 3.6.5+_20191213 → https://git.io/JvC5W
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @grahamc opened pull request #80629 → alacritty: Correct xdg-open behavior → https://git.io/JvBFh
<{^_^}> [nixpkgs] @grahamc opened pull request #80630 → alacritty: Correct xdg-open behavior → https://git.io/JvBFj
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #80597 → gptfdisk: 1.0.4 -> 1.0.5 → https://git.io/JvBi0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JvBbf
linarcx has quit [Quit: WeeChat 2.7]
linarcx has joined #nixos
onixie has joined #nixos
Arahael has quit [Ping timeout: 255 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/JvBbY
<{^_^}> [nixpkgs] @zowoq opened pull request #80631 → gitAndTools.gh: 0.5.5 -> 0.5.6 → https://git.io/JvBbO
<{^_^}> [nixpkgs] @zowoq closed pull request #80604 → gitAndTools.gh: fix authentication → https://git.io/JvB1L
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to release-19.09: https://git.io/JvBbs
<{^_^}> [nixpkgs] @xfix opened pull request #80632 → python/aiohttp: Remove pytest-timeout dependency → https://git.io/JvBbG
<{^_^}> [nixpkgs] @lheckemann reopened pull request #33661 → nixos/system: socket unit restart logic → https://git.io/vNqrR
shabius_ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 13 commits to release-20.03: https://git.io/JvBbl
shabius has quit [Ping timeout: 240 seconds]
bvdw has quit [Read error: Connection reset by peer]
<onixie> Hi, I created a PR to fix a trivial bug in NixOps. https://github.com/NixOS/nixops/pull/1225 Can someone help me review and merge it? Thanks
<{^_^}> nixops#1225 (by onixie, 6 days ago, open): Fix wrong exception on SSH master connection failure
bvdw has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
HugoDaniel has joined #nixos
<{^_^}> [nixops] @edolstra merged pull request #1225 → Fix wrong exception on SSH master connection failure → https://git.io/JvlTR
<{^_^}> [nixops] @edolstra pushed 2 commits to master: https://git.io/JvBbo
<niksnut> onixie: thanks, merged!
<{^_^}> [nixpkgs] @xfix opened pull request #80633 → [r20.03] Backport tigervnc fix → https://git.io/JvBbK
<onixie> niksnut: Cool. Thank you.:]
Arahael has joined #nixos
veske2 has joined #nixos
veske has joined #nixos
domogled has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @grahamc merged pull request #80629 → alacritty: Correct xdg-open behavior → https://git.io/JvBFh
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/JvBbS
fendor has joined #nixos
ggp0647` has quit [Quit: ZNC - https://znc.in]
ggp0647 has joined #nixos
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to release-19.09: https://git.io/JvBbN
<{^_^}> [nixpkgs] @woffs opened pull request #80634 → tigervnc: fix compatibility with xorgserver 1.20.7 → https://git.io/JvBNe
LysergicDreams has quit [Ping timeout: 268 seconds]
ryantrinkle has quit [Ping timeout: 258 seconds]
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e2b4abe3c8f (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
veske has joined #nixos
veske2 has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #80630 → alacritty: Correct xdg-open behavior → https://git.io/JvBFj
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to release-20.03: https://git.io/JvBNC
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #80635 → bazel: fix build on darwin → https://git.io/JvBN8
domogled has joined #nixos
<{^_^}> [nixpkgs] @xfix opened pull request #80636 → pythonPackages.can: remove pytest-timeout check input → https://git.io/JvBND
<{^_^}> [nixpkgs] @Ma27 pushed to glibc231 « gcc7: fix build w/glibc-2.31 »: https://git.io/JvBNQ
werner291 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #80602 → rls: add llvm to buildInputs → https://git.io/JvBXk
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvBAf
reallymemorable has joined #nixos
chloekek has quit [Quit: WeeChat 2.7]
aaa_ has joined #nixos
<aaa_> Hi, how can I change this http://dpaste.com/1SYD14Y to use "let unstable = import <nixos-unstable> {}; in { ... }" and then use unstable rustc/cargo ?
<aaa_> Like using unstable.rustup
<ikwildrpepper> aaa_: the example already uses unstable right? what do you want to do exactly?
justanotheruser has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
<ikwildrpepper> aaa_: or do you mean something like this: let nixpkgs = fetchTarball channel:nixos-unstable; unstable = import nixpkgs {}; in unstable.rustc
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @xfix opened pull request #80637 → [r20.03] cargo-update: 1.5.2 -> 2.5.0 → https://git.io/JvBA4
jmeredith has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
noudle has joined #nixos
onixie has quit [Remote host closed the connection]
remirol is now known as lorimer
<{^_^}> [nixpkgs] @romildo opened pull request #80638 → mojave-gtk-theme: 2019-12-12 -> 2020-02-20 → https://git.io/JvBAi
fendor has quit [Remote host closed the connection]
fendor has joined #nixos
cosimone has quit [Quit: Terminated!]
gustavderdrache has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
veske2 has quit [Quit: This computer has gone to sleep]
apeyroux has quit [Remote host closed the connection]
Fulgen has quit [Read error: Connection reset by peer]
dm9 has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @smaret opened pull request #80640 → gildas: 20200101_a -> 20200201_a → https://git.io/JvBxf
<{^_^}> [nixpkgs] @ikervagyok opened pull request #80641 → ucx: init at 1.7.0 → https://git.io/JvBxI
Fulgen has joined #nixos
apeyroux has joined #nixos
slyfox has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/af8fe52461c (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
nuncanada has joined #nixos
inkbottle has quit [Ping timeout: 255 seconds]
zebrag has joined #nixos
Ukari has quit [Remote host closed the connection]
Ukari has joined #nixos
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80642 → pax-utils: 1.2.4 -> 1.2.5 → https://git.io/JvBxA
trulsa has quit [Quit: ZNC - http://znc.in]
trulsa has joined #nixos
nihh has joined #nixos
trulsa has quit [Client Quit]
ryantrinkle has joined #nixos
vidbina has quit [Ping timeout: 258 seconds]
<nihh> Hi I am confused as to why my computer wants to build pandas (python package) and not just fetch it from some binary cache? E.g.: nix-shell -p "python3.withPackages (ps: [ ps.pandas ])"
Fulgen has quit [Quit: ZNC 1.6.3 - http://znc.in]
<gchristensen> hmmm kresd is taking 20% cpu for some reason
orivej has quit [Ping timeout: 240 seconds]
vidbina has joined #nixos
andreas303 has quit [Ping timeout: 240 seconds]
trulsa has joined #nixos
<andi-> gchristensen: continously? If so you might want to talk to vcunat on gitter
<{^_^}> [nixpkgs] @timokau pushed 0 commits to revert-50521-qt-cf-private: https://git.io/JvBpV
trulsa has quit [Client Quit]
andreas303 has joined #nixos
<gchristensen> andi-: yeah
<gchristensen> good idea
<andi-> anything on the logs?
trulsa has joined #nixos
<gchristensen> nothing
<gchristensen> literally nothing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80643 → ocrmypdf: 9.5.0 -> 9.6.0 → https://git.io/JvBpr
trulsa has quit [Remote host closed the connection]
<andi-> meh, been running it for years by now and never had that kind of issue (but much worse ;-))
<hexa-> mrmcd issues were urghs :D
<tilpner> gchristensen: Enable verbose mode, otherwise it logs hardly anything
<andi-> hexa-: those were nothing :P
trulsa has joined #nixos
<gchristensen> will do
<tilpner> gchristensen: Add verbose(true) for that
<hexa-> andi-: compared to unbound they made me sad :p
trulsa has quit [Remote host closed the connection]
trulsa has joined #nixos
<andi-> ...
<andi-> unboun monoculture
<hexa-> not true, dnsmasq is all the rage
trulsa has quit [Client Quit]
* gchristensen should go fix all the red errors from nixos-rebuild
trulsa has joined #nixos
<nihh> ø
Fulgen has joined #nixos
<andi-> hexa-: 💔
trulsa has quit [Client Quit]
<{^_^}> [nixpkgs] @knl opened pull request #80644 → niv: reduce the closure side when using the executable → https://git.io/JvBpy
linarcx has quit [Ping timeout: 260 seconds]
* hexa- goes looking for amor emoji
trulsa has joined #nixos
<{^_^}> [nixpkgs] @xfix opened pull request #80645 → cmake_2_8: fix build → https://git.io/JvBp5
trulsa has quit [Client Quit]
nftrl has joined #nixos
johnw has joined #nixos
trulsa has joined #nixos
reallymemorable has joined #nixos
<nftrl> ø
nihh has quit [Remote host closed the connection]
chimay has joined #nixos
nihh has joined #nixos
aszlig has joined #nixos
nftrl has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Frostman opened pull request #80646 → hugo: 0.64.1 -> 0.65.1 → https://git.io/JvBhb
ddellacosta has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
endforma1 has joined #nixos
<{^_^}> [nixpkgs] @woffs closed pull request #80634 → tigervnc: fix compatibility with xorgserver 1.20.7 → https://git.io/JvBNe
zupo has joined #nixos
hoppfull has joined #nixos
<{^_^}> [nixpkgs] @pacien opened pull request #80648 → riot-desktop: 1.5.9 -> 1.5.10 → https://git.io/JvBjl
linarcx has joined #nixos
magnetophon has quit [Remote host closed the connection]
<hoppfull> I'm trying to understand how to properly use NixOS. There seems to me to be three levels of environments. The first is the environment described in configuration.nix which describes the OS. Everyone has access to what's described there always. The next level is with nix-env, which seems to be tied to users. The third level seems to be in the shell
<hoppfull> with nix-shell and nix-build. Setting up a development environment at the shell level is attractive but some build tools has some global state that doesn't seem possible to limit to the shell. For example, say I installed a global package with npm (I know I can avoid this by installing as a dev dep), then other shells using npm would get access to
<hoppfull> that global package as well. Is it possible to prevent this? Or should I set up a dev environment on the user level and then just change user?
<hoppfull> nix-env can produce profiles but are they removed when invoking gc?
<gordon> you should avoid to use npm packages directly, and create nix derivations that can use npm themselves. This way, even with nix-shell, you’d specify your dependencies, that would be available in your shell, in your case your derivation representing your npm package
<gordon> hoppfull | nix-env can produce profiles but are they removed when invoking gc? < no, because those packages are present in profile generations that still exist (even if you’re on a newer generation). The garbage collector only removes unreferenced data
<hoppfull> gordon: ok, so say I have a database installed on multiple profiles, they would all share the same state?
<hoppfull> Am I thinking wrong about this? Because I could just go with docker but I want to give nix a shot.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<simpson> hoppfull: What is "a database"? What can be installed in profiles/environments are the *binaries*, the tools themselves. That is not the same as running services, like starting a database binary with a given database state.
<hoppfull> If I use npm I can install all dev dependencies locally and if I upgrade a dependency version, I just push to my repo and my team mates will automatically use the new compiler, linter, formatter whatever.
drakonis has joined #nixos
<simpson> hoppfull: There are similar techniques using Nix; in particular, direnv and nix-shell can be combined to give an experience that includes auto-reloading of tools.
<simpson> The concept that must be let go of, I think, is *installation*.
<hoppfull> simpson: ok
nihh_ has joined #nixos
<Profpatsch> the Pandoc binary is 130MB; I wonder if we can make a statically compiled stripped-down version that’s fixed to Markdown as input and only a few MB big
zupo has joined #nixos
<hoppfull> Also, is it correct that nix-shell doesn't have access to other channels than nixos? Like nixpkgs-unstable
<{^_^}> [nixpkgs] @Infinisil merged pull request #80620 → [r20.03] pythonPackages.decorator: fix Python 2 build → https://git.io/JvBQQ
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to release-20.03: https://git.io/JvReJ
<simpson> Yeah. Channels are part of the system and user configuration, not part of each individual Nix invocation. They're passed to Nix via $NIX_PATH. One can customize which nixpkgs is used in their shell.nix; lemme find an example.
<hoppfull> simpson: Thank you, very cool
nihh has quit [Ping timeout: 240 seconds]
<simpson> hoppfull: Here I use basic (but surprising) Nix to pin nixpkgs at a point in time, and load its packages and library for usage: https://github.com/monte-language/typhon/blob/master/nix-support/typhon.nix#L1-L9
<tilpner> hoppfull: To be confusing, nix-shell can have access to any channel you want
<tilpner> hoppfull: It will look up <nixpkgs> in NIX_PATH, which is not a channel
<evanjs> How might I import a kernel's extraConfig/structuredConfig into a new kernel config? I can only manage overriding it so far
<hoppfull> tilpner: aha, so I have to include it in NIX_PATH?
<tilpner> hoppfull: Well, what do you want to do?
<tilpner> nix-shell -I nixpkgs=channel:nixos-unstable -p hello
<tilpner> That will make hello from nixos-unstable available in a new shell
mexisme has joined #nixos
<tilpner> -I effectively adds to NIX_PATH
nschoe has quit [Ping timeout: 255 seconds]
<hoppfull> tilpner: I want to avoid having a long readme explaining how to set up a dev environment. I want to be able to clone repo and open a shell inside it and have everything you need to get going. If we need to upgrade to a newer linter, compiler etc, it should be defined in the repo such that everyone use the same versions.
orivej has joined #nixos
<tilpner> hoppfull: No problem, just fetch nixos-unstable in your shell.nix
<tilpner> hoppfull: let unstable = import (builtins.fetchTarball "channel:nixos-unstable") {}; in ...
<simpson> hoppfull: The way I've set up my repository above is one particular way to do this. When combined with an .envrc (which I don't include for safety reasons) with `use nix` and etc., direnv will incant nix-shell, which will load default.nix, which will build all of the tools and local stuff in the repository, and put it into the environment.
<simpson> nix-build is used to do builds of the main artifacts.
<{^_^}> [nixpkgs] @Frostman opened pull request #80649 → snmp_exporter: 0.15.0 -> 0.17.0 → https://git.io/JvRe3
<tilpner> hoppfull: Or pin it to a specific version of unstable, which is a better idea
<hoppfull> interesting
<simpson> hoppfull: You've mentioned npm, which is a hateful and selfish tool when it comes to package management. I hear that the best strategy there (but not one I've used personally) is to use nix-shell to load npm and all of the build tools, but then to use a local npm sandbox to build your specific project.
mexisme has quit [Ping timeout: 240 seconds]
fresheyeball has joined #nixos
<fresheyeball> good [local time of day] folks!
<hoppfull> I mentioned npm but it's not a huge problem. stack is a little bit wierder. It can integrate with nix somehow and haskell-ide-engine seems to have its own instructions on how to work with nix. Then there is postgresql and pgadmin. Right now I start the database with docker which is nice because I can easily clear everything by just restarting the
<hoppfull> image.
<fresheyeball> I turned on distributed builds linking my current workstation to the build slave in my basement
Mateon1 has quit [Remote host closed the connection]
Mateon1 has joined #nixos
<fresheyeball> and everything was working perfectly. Very satisfying to see all my hardware get used at once for something
<fresheyeball> but now, I have a problem
<fresheyeball> while distributed builds still work in most cases
kaliumxyz has quit [Ping timeout: 268 seconds]
<fresheyeball> for some reason one of my nix-builds just hangs
nihh_ has quit [Quit: Leaving]
<fresheyeball> copying path '/nix/store/b3zxdyhp140gz0xixwnfhcmhsmd8jnmy-hashable-1.2.7.0' to 'ssh://goldwater'...'
<hoppfull> I'm hoping there is a nugget of information that gives me the ability to always contain a dev environment in a repo without hoping that the specific tool has some integration instructions predefined.
<fresheyeball> goldwater is the name of the build slave
<fresheyeball> it just sits there like that
<fresheyeball> how can I debug this?
<simpson> hoppfull: Docker should be available, if you need to smooth your transition.
<gchristensen> fresheyeball: can you SSH to the remote builder?
<fresheyeball> gchristensen: yes
kaliumxyz has joined #nixos
<fresheyeball> I can do both pre-reqs in the docs
<evanjs> clever: ^ any idea how I can accomplish that kernel config import stuffs? I figured extending the first linuxPackages set I made and then overriding the kernel would work but ...
<fresheyeball> I can ssh to it both as my account and as root
<evanjs> wait.. is overrideAttrs + // {} all I need?
<fresheyeball> I can ping the nix store as either account as well
<gchristensen> fresheyeball: on the remote builder, do you see the connection which nix has made?
<hoppfull> simpson: Yeah, that was plan B. I wanted to give nix a chance but I fear nix isn't designed to do what I want.
<simpson> hoppfull: But, like, mostly it's about either having Nix set everything up for you, or having direnv set everything up for you, or something along those lines. The combination is quite potent.
<hoppfull> simpson: thanks for the help!
<fresheyeball> gchristensen: what do you mean?
jakobrs has joined #nixos
<evanjs> like structuredExtraConfig = o.structuredExtraConfig // { more_options }
orivej has quit [Ping timeout: 258 seconds]
<evanjs> that... seems to work?
<gchristensen> fresheyeball: well Nix has just run `ssh goldwater nix-store ...` can you see that nix-store?
<simpson> hoppfull: TBH what you want is probably wrong and horrible. That's how humans are. And, worse, no human really understands computers. So the best that we can do is to try to convince the software that we have that our desires are reasonable.
<fresheyeball> gchristensen: yes that works
<fresheyeball> ssh goldwater nix-store --version
<hoppfull> simpson: I'm going to look up direnv. At first I thought it was just a mechanism to automatically load nix-shell with the local environment but maybe it can do more.
<gchristensen> fresheyeball: no, do you see the one which Nix is currently running
<fresheyeball> root@dunlap> ssh goldwater nix-store --version ~
<fresheyeball> nix-store (Nix) 2.3
<hoppfull> simpson: I'm definitely open to the fact that I'm trying to achieve the wrong thing.
<fresheyeball> gchristensen: I don't understand what you are asking
<simpson> hoppfull: It's very possible to do almost all of this with direnv and Nix. Starting Pg, even, could be done with direnv. The main problem is the entire concept of doing Web development in a box, IMO, when the Web is such a non-hermetic and integrated environment.
<clever> evanjs: probably
<gchristensen> fresheyeball: the nix daemon is currently running nix-store on goldwater. can you see it in the process list?
shafox has joined #nixos
<fresheyeball> gchristensen: if I ssh into goldwater
<fresheyeball> and run systemctl status nix-daemon.service
<fresheyeball> it shows it's running
<gchristensen> what is the name machine are you running nix-build on?
<fresheyeball> dunlap is the name of my workstation where I issued the command
<gchristensen> are dunlap and goldwater nixos?
<evanjs> clever: ahh so close. Doesn't look like I can do that for extraConfig... which make sense IIUC
<fresheyeball> yes both computers are nixos
<gchristensen> fresheyeball: is dunlap connecting to goldwater over SSH as the root user?
<fresheyeball> I just ran systemctl restart nix-daemon.service on goldwater, and the problem persists
<evanjs> the structuredExtraConfig bit seems to work fine, though
<fresheyeball> gchristensen: I believe so, like I said distributed builds are currently working for most things
<gchristensen> fresheyeball: you're still misunderstanding my questions, so I'm getting as much information as possible to make my actual question more clear
<fresheyeball> gchristensen: fair
nschoe has joined #nixos
<gchristensen> fresheyeball: in your SSH log on goldwater, do you see evidence of root logging in?
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/271528b9345 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iqubic has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
phaebz has joined #nixos
zupo has joined #nixos
<fresheyeball> gchristensen: https://gitlab.com/snippets/1943271
<fresheyeball> that is the bottom of the sshd log on goldwater durring a hung build
cole-h has joined #nixos
<gchristensen> fresheyeball: okay, so it looks like, then, that nix-daemon on dunlap is connecting to goldwater as the "nix-ssh" user?
<evanjs> On another, more generic note, is there an easy way to query attributes I would normally be able to override? in this case, structuredExtraConfig, extraConfig, etc
<fresheyeball> gchristensen: I am not sure about that
<fresheyeball> the nix-ssh user is being used for substitution
<evanjs> Can't figure out how I would query them from the repl or etc (if it is possible)
<fresheyeball> but the build is going over root I think
<phaebz> When booting from USB I am put into GRUB, manual says it should boot straight to nixos. USB stick dd'ed and UEFI boot.
<gchristensen> fresheyeball: what does your /etc/nix/machines file contain?
<fresheyeball> gchristensen: goldwater x86_64-linux - 1 3 nixos-test,benchmark,big-parallel,kvm
<jakobrs> phaebz: That sounds like the manual is wrong. I've always booted into GRUB when using USB.
<gchristensen> okay, then it is probabl yconnecting over root. if you cancel your build on dunlap, run journalctl -fu sshd on goldwater, and start a new build on dunlap do you see nix connecting as root?
<fresheyeball> sec
<jakobrs> phaebz: *After* choosing the entry in GRUB, you're logged in directly. (as in, without needing a password)
<phaebz> Ah I should say it boots to GRUB but instead of having boot options, just the "grub>" prompt is shown
<fresheyeball> gchristensen: https://gitlab.com/snippets/1943273
<jakobrs> Oh. that sounds worse.
<fresheyeball> this is the all the sshd logs triggered by runing nix-build on dunlap
<jakobrs> Try running `dd` again.
<{^_^}> [nixpkgs] @Frostman opened pull request #80650 → grafana: 6.6.1 -> 6.6.2 → https://git.io/JvRvf
<gchristensen> looks promising, fresheyeball, I think it is connecting as root.
<phaebz> ok
<gchristensen> fresheyeball: okay, now I can clarify the earlier question.
ryantrinkle has quit [Ping timeout: 260 seconds]
<gchristensen> fresheyeball: nix-daemon on dunlap is running `ssh goldwater nix-store ...`. on goldwater, that `nix-store` is being run as the `root` user which causes nix-store to skip the nix-daemon, and run the build right there.
<gchristensen> fresheyeball: on goldwater, do you see in the process tree the root user having logged in over SSH, running nix-store?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phaebz` has joined #nixos
cr4y1 has quit [Ping timeout: 258 seconds]
phaebz has quit [Read error: Connection reset by peer]
Fulgen has quit [Quit: ZNC 1.7.5 - https://znc.in]
<fresheyeball> gchristensen: it's hard to tell
<fresheyeball> I see root with nix-store many many times
<fresheyeball> hard to tell if a new one popped up
erasmas has joined #nixos
<gchristensen> what are they all doing?
<fresheyeball> all different stuff
fendor has quit [Remote host closed the connection]
<fresheyeball> nix-store --serve --write
<gchristensen> building?
<fresheyeball> gchristensen: is there a way to sort htop by most recently spawned?
<gchristensen> dunno
<cole-h> Is there a way to use a single NixOS module from master rather than nixos-unstable? Especially one that applies a `.patch`? Is adding `master` as a channel and using `<master/nixos/modules/programs/fish.nix>` all that's needed?
<gchristensen> does it look like they're building?
<clever> fresheyeball: does that nix-store have any child proccesses? `ps -eH x`
<clever> fresheyeball: does its pid appear in the args of any other process?
opthomasprime has joined #nixos
<gchristensen> fresheyeball: but anyway, it sounds to me like it is getting stuck because your remote is building as many things as it can, and your system is having to wait for build slots
<fresheyeball> gchristensen: but if I build other things it works fine
<fresheyeball> can I kill all nix things on goldwater?
<fresheyeball> see a clean slate?
<gchristensen> sure
<fresheyeball> how to do?
<fresheyeball> reboot?
shafox has quit [Remote host closed the connection]
<gchristensen> up to you :)
<fresheyeball> gchristensen: do you have a recommendation other than rebooting?
<gchristensen> sometimes I'll `pkill nix-store`
<gchristensen> I have a unit file being provided by «systemd.packages = [ package ];» and I want to disable it. can I just do systemd.services.the-service-name.enable = false; ?
<{^_^}> [nixpkgs] @cole-h opened pull request #80651 → [20.03] Backport `rls: add llvm to buildInputs` → https://git.io/JvRvZ
<{^_^}> [nixpkgs] @jonringer merged pull request #80636 → pythonPackages.can: remove pytest-timeout check input → https://git.io/JvBND
<{^_^}> [nixpkgs] @jonringer pushed commit from @xfix to master « pythonPackages.can: remove pytest-timeout check input »: https://git.io/JvRvC
<fresheyeball> ok it appears no nix-store processes are running
shafox has joined #nixos
ng0 has joined #nixos
<fresheyeball> running the build on dunlap spawned one nix-store process on goldwater
<fresheyeball> nix-store --serve --write
<fresheyeball> and that's it gchristensen
<fresheyeball> if I run pkill nix-store on goldwater
<fresheyeball> the build on dunlap get's unstuck with error: interrupted by the user
<fresheyeball> gchristensen: I did pkill on both nix-store and nix-build
<fresheyeball> then ran from dunlap
<fresheyeball> no nix-build get's spawned
<fresheyeball> the build appears to hang on dunlap
<infinisil> cole-h: Yeah mostly, you should also disable the old module though, with `disabledModules = [ "programs/fish.nix" ]`
<fresheyeball> and we get one nix-store --serve --write process on goldwater
<fresheyeball> I am rebooting goldwater now
<fresheyeball> there is a ton of hung nix stuff on here
phaebz`` has joined #nixos
<cole-h> infinisil++ Thanks, I'll suggest that to them.
<gchristensen> anything in dmesg?
<{^_^}> infinisil's karma got increased to 217
ryantrinkle has joined #nixos
<jakobrs> How do I prevent closing the lid from disconnecting wifi? I tried setting `networking.networkmanager.powersave` to `false` but it didn't work.
phaebz`` has quit [Read error: Connection reset by peer]
<fresheyeball> gchristensen: it's still rebooting I tink
phaebz`` has joined #nixos
phaebz` has quit [Ping timeout: 258 seconds]
grp has joined #nixos
v88m has joined #nixos
Fare has joined #nixos
captn3m0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
zupo has joined #nixos
<grp> hi. I know I can normally find the pkg a file belongs to by just following the symlinks to the store, but I've found an exception to the rule and I've yet to find a way. The file in question is nixos-rebuild. there's no such package
<cole-h> infinisil: And just to be super clear: using the module from that specific channel will also use that channel's tree (e.g. the patch used will be from that channel and not from nixos-unstable)?
<{^_^}> [nixpkgs] @jonringer merged pull request #80637 → [r20.03] cargo-update: 1.5.2 -> 2.5.0 → https://git.io/JvBA4
<{^_^}> [nixpkgs] @jonringer pushed commit from @filalex77 to release-20.03 « cargo-update: 1.5.2 -> 2.5.0 »: https://git.io/JvRvF
<jakobrs> grp: realpath $(which nixos-rebuild)
<infinisil> cole-h: If you mean the pkgs from that channel, the answer is no. Only the module itself will be used from there. To use some pkgs from that channel you need to use overlays or so in addition
<fresheyeball> gchristensen: rebooting seems to have solved it
<fresheyeball> good enough for me, but I would rather understand
<gchristensen> cool
sgrunert has joined #nixos
<fresheyeball> anything else I should check?
<fresheyeball> how to check dmesg
<gchristensen> I would have checked dmesg before rebooting
<cole-h> infinisil: Alright, thanks. Then I won't suggest that and just let them wait for unstable to be bumped ;)
<grp> jakobrs: /nix/store/11dm9ivx65mb2adavbsws5qqzh4bpqjl-nixos-rebuild/bin/nixos-rebuild This is indeed what I'd do (and did), but there's no nixpkgs.nixos-rebuild
<gchristensen> I'm going to leave that up to you as a learning exercise :)
<fresheyeball> yeah I got your message to late
<fresheyeball> ok :)
<infinisil> cole-h: Alright :)
<fresheyeball> thanks!
<fresheyeball> gchristensen: while I got you one question (docs are not helping me)
<fresheyeball> how can I build locally by default?
<fresheyeball> right now it seems nix prefers goldwater to dunlap
<fresheyeball> and it should be the opposite
jakobrs has left #nixos ["WeeChat 2.7"]
sgrunert has quit [Remote host closed the connection]
sajfa has joined #nixos
ambro718 has joined #nixos
<sajfa> how can I build the OVA image?
sigmundv has quit [Ping timeout: 240 seconds]
vidbina has quit [Ping timeout: 240 seconds]
<sajfa> I mean, the one that is being build for the download page, but I would like to build it locally for master
captn3m0 has joined #nixos
<grp> cole-h: I see.. tools.nix seems to be a definition imported from a module... no wonder there was no nixpkg
<sajfa> nix-build -A config.system.build.virtualBoxOVA -I nixos-config=$(pwd) --argstr system x86_64-linux
<sajfa> this doesn't work for me at all
<{^_^}> [nixpkgs] @jonringer merged pull request #80651 → [20.03] Backport `rls: add llvm to buildInputs` → https://git.io/JvRvZ
<{^_^}> [nixpkgs] @jonringer pushed commit from @cole-h to release-20.03 « rls: add llvm to buildInputs »: https://git.io/JvRfG
<{^_^}> [nixpkgs] @vbgl merged pull request #80148 → coqPackages.coq-ext-lib: 0.10.3 -> 0.11.1 → https://git.io/Jvloi
<{^_^}> [nixpkgs] @vbgl pushed commit from @Ptival to master « coqPackages.coq-ext-lib: 0.10.3 -> 0.11.1 »: https://git.io/JvRfR
c0c0 has quit [Quit: WeeChat 2.6]
phaebz``` has joined #nixos
<aaa_> ikwildrpepper, when I use this http://dpaste.com/0MY25ZN, and I enter nix-shell, my rustup --version is 1.21.1, but I would like the unstable one.
phaebz`` has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #80269 → mps-youtube: 0.2.8 -> unstable-2020-01-28 → https://git.io/Jv8W3
<{^_^}> [nixpkgs] @jonringer pushed commit from @k0ral to master « mps-youtube: 0.2.8 -> unstable-2020-01-28 »: https://git.io/JvRfo
<cole-h> aaa_: Not sure I understand. The `nixos-unstable` rustup is 1.21.1.
orivej has joined #nixos
<cole-h> In fact, the latest version of rustup is 1.21.1
<aaa_> which rustc version is included in there ?
<aaa_> whereis rustc
<aaa_> rustc: /nix/store/a8l6xs8i3k3y359cf5064ly91x4ms3g5-rustup-1.21.1/bin/rustc /nix/store/yyl29jvkh92r0s7sa418kwsiwgkd3gdp-system-path/bin/rustc
<aaa_> I basically want to have rustc 1.41, regardless of how I get it.
<cole-h> Try `rustc --version`
<cole-h> AFAICT, the latest available rust version from `nixos-unstable` is 1.41.0, so you should be good.
<aaa_> # rustc --version
<aaa_> error: command failed: 'rustc'
<sajfa> $ nix-build -A config.system.build.virtualBoxOVA -I nixos-config=modules/installer/virtualbox-demo.nix
<sajfa> error: file '/home/sajfa/repo/nixpkgs/nixos/tests/vde1.ctl/.10858-00000' has an unsupported type
<sajfa> any idea what is happening here?
<cole-h> aaa_: You'll need to uncomment `rustc` in your `buildInputs`
<aaa_> This /nix/store/a8l6xs8i3k3y359cf5064ly91x4ms3g5-rustup-1.21.1/bin/rustc is actually a symlink :
<aaa_> lrwxrwxrwx 1 root root 6 Jan 1 1970 /nix/store/a8l6xs8i3k3y359cf5064ly91x4ms3g5-rustup-1.21.1/bin/rustc -> rustup
<aaa_> cole-h, the problem is that that first entry found in PATH is that symlink to rustup
<cole-h> Then comment out `rustup` ;-) You shouldn't need it on Nix anyways. It's for downloading and updating Rust versions, which we manage with Nix.
<cole-h> Unless I'm misunderstanding something (which is entirely possible)
<aaa_> Ok done that, now the version of rustc is 1.40.0, not 1.41
<aaa_> I'm using unstable.rustc
<aaa_> in buildInputs
<cole-h> Have you updated your channels recently?
<aaa_> cole-h, thank you, works now :)
<aaa_> I needed to update the channels.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cole-h> Yep, I don't think they update automatically.
noudle has quit []
nschoe has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @vbgl opened pull request #80652 → [20.03] lean: 3.4.2 -> 3.5.1 → https://git.io/JvRJ3
gagbo has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #80631 → gitAndTools.gh: 0.5.5 -> 0.5.6 → https://git.io/JvBbO
<{^_^}> [nixpkgs] @jonringer pushed commit from @zowoq to master « gitAndTools.gh: 0.5.5 -> 0.5.6 »: https://git.io/JvRJW
Fare has quit [Ping timeout: 240 seconds]
<sajfa> nix-build '<nixpkgs/nixos>' -A config.system.build -I nixos-config=nixos/modules/installer/virtualbox-demo.nix
<sajfa> well this works, but how do I build it but with the nixos as master?
orivej has quit [Ping timeout: 258 seconds]
<sajfa> like not <nixpkgs> but -I nixpkgs=$(pwd)?
<qyliss> you keep '<nixpkgs/nixos>' and additionally say -I nixpkgs=$PWD
<qyliss> Or alternatively, nix-build ./nixos
<sajfa> thank you))
<sajfa> oh no
<sajfa> that doesn't work
<sajfa> error: file '/home/sajfa/repo/nixpkgs/nixos/tests/vde1.ctl/.10858-00000' has an unsupported type
<sajfa> this is an odd error
Fare has joined #nixos
<sajfa> I get this same error on master wit hnix-build ./nixos
<sajfa> can you maybe try? maybe it's broken master
<sajfa> nix-build '<nixpkgs/nixos>' -A config.system.build -I nixos-config=nixos/modules/installer/virtualbox-demo.nix -I nixpkgs=$PWD
<sajfa> this command
<sajfa> nah, same error on release-19.09 branch
<sajfa> I guess this is not how to build an OVA image
<{^_^}> [nixpkgs] @vbgl opened pull request #80654 → trv: remove at 0.1.3 → https://git.io/JvRJK
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jackneill has quit [Remote host closed the connection]
zupo has joined #nixos
drakonis1 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
sajfa has quit [Ping timeout: 260 seconds]
drakonis has quit [Ping timeout: 272 seconds]
drakonis1 has quit [Ping timeout: 272 seconds]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #80551 → [20.03] tigervnc: fix compatibility with xorgserver 1.20.7 (backport) → https://git.io/JvBlw
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to release-20.03: https://git.io/JvRUm
<{^_^}> [nixpkgs] @hlolli opened pull request #80655 → release-20.03-cherry-pick: lumo Merge pull request #59414 from hlolli/lumo-bump → https://git.io/JvRUG
Tucky has quit [Ping timeout: 258 seconds]
ardumont has quit [Ping timeout: 272 seconds]
drakonis has quit [Ping timeout: 240 seconds]
stites has joined #nixos
<stites> hey all! I'm trying to overwrite a systemd ExecStart script -- is this something I can do?
phaebz``` has quit [Read error: Connection reset by peer]
<qyliss> stites: set systemd.services.<name>.serviceConfig.ExecStart
phaebz``` has joined #nixos
<qyliss> if it's being set by another module already, and you want to override it, you'll have to use lib.mkForce
casaca has joined #nixos
<stites> niiice! that's exactly what I needed!
<stites> thank you!
drakonis1 has joined #nixos
orivej has joined #nixos
ardumont has joined #nixos
<mikky> so I have this Go package (traefik) which is built using `buildGo112Package` and I need to overlay it (newer version) and build it using `buildGo113Package`. I know how to override the version but I'm stuck with forcing build113
drakonis1 has quit [Ping timeout: 248 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
drakonis1 has joined #nixos
drakonis1 has quit [Client Quit]
growpotkin has joined #nixos
o1lo01ol1o has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
doublex_ has joined #nixos
drakonis has quit [Client Quit]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.9.13 -> 1.9.14 »: https://git.io/JvRUp
doublex__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @xfix closed pull request #80633 → [r20.03] Backport tigervnc fix → https://git.io/JvBbK
phaebz``` has quit [Read error: Connection reset by peer]
<noonien> hello folks
<noonien> is there any tutorial i can give a nix newbie to learn how to build stuff using nix?
<drakonis> n
mexisme has joined #nixos
<{^_^}> [nixpkgs] @lheckemann opened pull request #80656 → bluez-alsa: 2.0.0 -> 2.1.0 → https://git.io/JvRTq
<{^_^}> [nixpkgs] @brettlyons opened pull request #80657 → Add ripgrep, fzf, fzf-vim as notational-fzf-vim dependency → https://git.io/JvRTm
chloekek has joined #nixos
hoppfull has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/104e6306cc7 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
newuser99 has joined #nixos
<Philonous> I have 2 machines, both have the same channels, I ran nix-channel --update on both, but when I run »nix-shell -p keepassxc« one of them fetches the closure from cache, the other tries to build it and fails
<Philonous> How can I fix this?
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to glibc231: https://git.io/JvRT2
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 6 commits to glibc231: https://git.io/JvRTK
johnny101m has quit [Ping timeout: 240 seconds]
iqubic has joined #nixos
Fulgen has joined #nixos
<sehqlr[m]> noonien: There's the Nix Pills, which are on the nixos.org site
johnny101m2 has joined #nixos
mexisme has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80658 → python37Packages.azure-core: 1.2.1 -> 1.2.2 → https://git.io/JvRTD
<newuser99> I have `nix-repl> base` -> `{ home = { ... }; manual = { ... }; programs = { ... }; }` How can I expand the "..." to see what's inside?
opthomasprime has left #nixos [#nixos]
ris has joined #nixos
<sehqlr[m]> > newuser99: I have `nix-repl> base` -> `{ home = { ... }; manual = { ... }; programs = { ... }; }` How can I expand the "..." to see what's inside?
<sehqlr[m]> try base.home or similar
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):281:19
<newuser99> sehqlr[m]: is there a way to expand all of it?
<Philonous> Never mind, figured it out. Turns out I didn't have the same channels after all
<sehqlr[m]> Not that I'm aware, Nix is a lazy language, so not everything gets evaluated
<sehqlr[m]> you could do something like a map to get all the attrs, but I don't know how to do that off the top of my head
<gustavderdrache> you can use the :p command
<sehqlr[m]> ooo, TIL
<newuser99> nice
<gustavderdrache> nix-repl> [{ x = 1; }] ==> prints [ { ... } ]
<gustavderdrache> nix-repl> :p [{ x = 1; }] ==> prints [ { x = 1; } ]
alexherbo24 has joined #nixos
Ariakenom has joined #nixos
alexherbo2 has quit [Ping timeout: 255 seconds]
alexherbo24 is now known as alexherbo2
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80659 → python27Packages.bsddb3: 6.2.6 -> 6.2.7 → https://git.io/JvRTh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80660 → python27Packages.braintree: 3.58.0 -> 3.59.0 → https://git.io/JvRkf
aditsachde has joined #nixos
Ariakenom has quit [Ping timeout: 255 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<newuser99> Why is this causing recursion and how can I fix it? https://bpaste.net/LHJQ
<{^_^}> [nixpkgs] @xfix opened pull request #80661 → [r20.03] kdepim-runtime: Remove obsolete patch to fix compilation → https://git.io/JvRks
aditsachde is now known as DenseComet
DenseComet is now known as aditsachde
<{^_^}> [nixpkgs] @drewrisinger opened pull request #80662 → pythonPackages.qiskit-aer: init at 0.3.4 → https://git.io/JvRkG
philr has quit [Ping timeout: 240 seconds]
<aditsachde> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
aditsachde has quit [Remote host closed the connection]
aditsachde has joined #nixos
mexisme has joined #nixos
shafox has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80663 → plantuml: 1.2020.0 -> 1.2020.1 → https://git.io/JvRkw
HugoDaniel has quit [Ping timeout: 258 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #80562 → common-updater-scripts: Handle errors in src hashing → https://git.io/JvB09
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/JvRkr
<{^_^}> [nixpkgs] @jtojnar pushed 0 commits to cus-broken: https://git.io/JvRko
mexisme has quit [Ping timeout: 265 seconds]
aditsachde has quit [Remote host closed the connection]
phaebz``` has joined #nixos
asbachb has joined #nixos
Ariakenom has joined #nixos
phaebz``` has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
<asbachb> Hej. Anyone installed broadcom-wl wireless driver? I cannot find the package ._.
bvdw has quit [Read error: Connection reset by peer]
alexherbo2 has quit [Ping timeout: 260 seconds]
bvdw has joined #nixos
noudle has joined #nixos
<clever> asbachb: how did you search for it?
nuncanada2 has joined #nixos
<clever> asbachb: what exact file is it trying to load? it should say that in dmesg
mexisme_ has quit [Ping timeout: 240 seconds]
nuncanada has quit [Read error: Connection reset by peer]
<asbachb> clever: On arch I had broadcom-wl driver. Trying to find the specific chipset
nuncanada3 has joined #nixos
johs has quit [Ping timeout: 240 seconds]
<clever> asbachb: if you boot nixos on the machine with that wifi card, what does dmesg say?
<asbachb> BMC43a0
drakonis_ has joined #nixos
johs has joined #nixos
zupo has joined #nixos
<asbachb> ah. hold on a sec.
asbachb has left #nixos [#nixos]
asbachb has joined #nixos
zupo has quit [Client Quit]
kiloreux has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
Thra11 has joined #nixos
nuncanada2 has quit [Ping timeout: 272 seconds]
<asbachb> mh or does it load the driver...
<{^_^}> [nixpkgs] @bjornfor merged pull request #80663 → plantuml: 1.2020.0 -> 1.2020.1 → https://git.io/JvRkw
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « plantuml: 1.2020.0 -> 1.2020.1 »: https://git.io/JvRIe
kleisli has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
<clever> asbachb: do you see the card in `ip link` ?
psyanticy has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has joined #nixos
<kiloreux> How can I cache nix sources also? Stuff like `https://github.com/NixOS/nixpkgs/archive/commit.tar.gz` that I always download.
<asbachb> clever: Yeah. I do. Sorry for that.
<kiloreux> It's not getting cached along with other derivatives. Why not?
<clever> asbachb: and if you try to `ip link set IF up`, what happens?
<jared-w> kiloreux: do you have a sha256 for it? If you don't have a sha for the link, it'll redownload after nix's internal timer expires (which defaults to an hour)
<clever> kiloreux: nix isnt aware of things it depends on at IFD time, you have to make a derivation that downloads the url, and nix-build it
<jared-w> if you do, it can check the sha and see if it needs to download it again (which it will if it doesn't match)
<clever> kiloreux: this lets me `nix-build release.nix -A ifd-pins` to make a single drv that depends on all of those sources
<clever> and as long as that result symlink exists, and your using sha256's, nix can reuse the products
<jared-w> clever: tbh I feel like I've already gotten enough use out of that thing that it'd be worth its weight to be in the lib somewhere
<kiloreux> I actually already have a sha256 for it. with fetchTarball. And I have it baked into my machine images. But sometimes it will still download stuff from Github.
<clever> jared-w: the api is somewhat similar to the initrd and system-tarball stuff, so maybe something more like those would be suited for nixpkgs/lib
<kiloreux> The image I am talking about is an AMI of course.
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<jared-w> kiloreux: definitely do the ifd pin thing then. I needed that to build some stuff in a ultra sandboxed environment a few days ago
<kiloreux> I actually use nix-env in my environment. along with buildEnv
HugoDaniel has joined #nixos
asbachb has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
ATuin has joined #nixos
domogled has joined #nixos
<kiloreux> ANd this was working until a few days back.
<kiloreux> I am wandering also what could have broke it.
<peelz> how can I find a package by its sha256 hash?
chimay has quit [Ping timeout: 240 seconds]
<clever> peelz: nix needs both a name and a sha256, to compute the $out path
HugoDaniel has quit [Ping timeout: 260 seconds]
<peelz> ah
<peelz> well I can't find anything beginning with the sha256 hash in /nix/store
<peelz> also it looks like the hash in /nix/store is too short to be sha256
<peelz> or are they truncated?
<simpson> Zooming out a bit, what are you trying to do and how is it that you only have the hash but not the name?
<peelz> oh just trying to see if I have the package downloaded already
drakonis_ has quit [Ping timeout: 240 seconds]
<clever> peelz: the hash in /nix/store/hash-name, is a truncated hash of both the sha256 and the name, and some other strings
<clever> peelz: the simplest option is to just call pkgs.fetchurl with the name and sha256 again, and look at the path it produced
andreas303 has quit [Remote host closed the connection]
<peelz> clever: ah okay thanks
mexisme_ has joined #nixos
Fulgen has quit [Quit: ZNC 1.7.5 - https://znc.in]
drakonis has quit [Ping timeout: 240 seconds]
andreas303 has joined #nixos
<kiloreux> clever, do you have any other ideas on how to cache everything into a machine image from nix? Except the way I am doing it.
<clever> kiloreux: simplest option is to avoid IFD at all costs, then you know exactly what your reading
Fulgen has joined #nixos
zupo has joined #nixos
<gchristensen> +1 good choice
<newuser99> Why is this causing recursion and how can I fix it? https://bpaste.net/LHJQ
waleee-cl has joined #nixos
iqubic has quit [Remote host closed the connection]
<kiloreux> clever, How can I apply IFD to such expression? https://gist.github.com/kiloreux/8ff84e17c82ad22dda650ea9702b011e Please pardon my ignorance in nix language. The example seemed a bit complicated.
<{^_^}> [nixpkgs] @vcunat pushed to master « lkl: fixup build after PR #78994 »: https://git.io/JvRIM
<clever> kiloreux: lines 2 and 7 are IFD, if you want things cached better, you must move the result of both fetchTarball calls into a let block, and then reference them in the output of something
<clever> kiloreux: the mkPins function i linked to can generate that output, just pass it the path to both nixpkgs
drakonis_ has joined #nixos
monkeys has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @lsix merged pull request #80613 → lyx: 2.3.4 -> 2.3.4.3 → https://git.io/JvB9l
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvRI7
Ariakenom has quit [Ping timeout: 240 seconds]
<kiloreux> > you must move the result of both fetchTarball calls into a let block, and then reference them in the output of something
<{^_^}> error: syntax error, unexpected ID, expecting '{', at (string):281:64
<kiloreux> clever, How can I achieve such thing?
Fare has quit [Ping timeout: 255 seconds]
<clever> kiloreux: first, move them into a let block: https://gist.github.com/cleverca22/6983c3c7a20b382dc2dc699a45e78645
Ariakenom has joined #nixos
<clever> kiloreux: then add mkPins and pass it the things, (refresh the gist)
mexisme has joined #nixos
drakonis_ has quit [Ping timeout: 260 seconds]
mexisme_ has quit [Ping timeout: 268 seconds]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « can-utils: fixup build after PR #78994 »: https://git.io/JvRIj
<kiloreux> clever, Thank you very very much. I will take it for a spin.
mexisme has quit [Ping timeout: 255 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
Baughn has quit [Ping timeout: 260 seconds]
Baughn has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80664 → python37Packages.aioresponses: 0.6.2 -> 0.6.3 → https://git.io/JvRLY
<AmandaC> So, https://bugs.freedesktop.org/show_bug.cgi?id=111805https://bugs.freedesktop.org/show_bug.cgi?id=111805 mentions a "drmtip" branch, is that packaged by NixOS, or has it been merged to master, or similar? I'm getting some pretty frequent issues with i915 lately. Currently building against linuxPackages_5_5 but not sure if it'll work, and I'm not very in-touch with the kernel scene
Ariakenom has quit [Ping timeout: 240 seconds]
<samueldr> we are not packaging drmtip, though it's interesting to know it seems to have a fix for the issue
<samueldr> hopefully it'll come soon in stable versions
<samueldr> though, the current recommendation, coming for 20.03, is to use the previous LTS, 4.19 with intel GPUs... though that is not possible for all machines
domogled has quit [Quit: domogled]
<samueldr> I figure relatively recent hardware could have issues with the older LTS
<AmandaC> Hrm. I'm on 4.19 at the moment, and stil getting issues
kiloreux_ has joined #nixos
dansho has joined #nixos
<AmandaC> IT's not a straight-up hang, but eventually anything using opengl will just crash, and refuse to come back up with "i915: input/output error"
<samueldr> oh
<samueldr> sorry, I assumed it was the issue that's been common starting ~5.2/5.3
<AmandaC> It's like a less-volatile version of that
<samueldr> in that case I don't know
mexisme has joined #nixos
<AmandaC> I'm not sure if my CPU is dying somehow, or if a lite-version of the hang in 5.3/5.3 ended up in a patch release of the 4.19 line
<{^_^}> [nixpkgs] @ryantm merged pull request #80548 → anydesk: 5.5.1 -> 5.5.2 → https://git.io/JvBW3
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvRLW
kiloreux has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #80643 → ocrmypdf: 9.5.0 -> 9.6.0 → https://git.io/JvBpr
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvRL8
mexisme_ has quit [Ping timeout: 258 seconds]
leah2 has quit [Remote host closed the connection]
drakonis has joined #nixos
o1lo01ol1o has joined #nixos
johnw has quit [Remote host closed the connection]
leah2 has joined #nixos
<gchristensen> I'm working on a Python application packaged with python3Packages.buildPythonApplication, and during setuptoolsBuildPhase I get ModuleNotFoundError: No module named 'setuptools'. I added setuptools to buildInputs / propagatedBuildInputs but still get this error. this is using a nixos-unstable-small from the last few days
<gchristensen> does this ring any bells for anyone?
<gchristensen> interestingly, my application doesn't use setuptools at all.... hrm
tjg1 has joined #nixos
mexisme has quit [Ping timeout: 258 seconds]
Fare has joined #nixos
leah2 has quit [Remote host closed the connection]
leah2 has joined #nixos
drakonis has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
HugoDaniel has joined #nixos
<das_j> hmm, is there a way to get a stdenv for aarch64 on my x64 machine?
<das_j> I need this to build OVMF for an aarch64 VM
drakonis has quit [Ping timeout: 248 seconds]
linarcx has quit [Ping timeout: 260 seconds]
srid-irccloud has joined #nixos
srid-irccloud is now known as srid`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80665 → poco: 1.9.4 -> 1.10.1 → https://git.io/JvRti
srid` is now known as srid
srid has quit [Changing host]
srid has joined #nixos
srid has joined #nixos
<{^_^}> [flake-registry] @edolstra pushed to master « blender-bin: Add missing subdir attribute »: https://git.io/JvRtX
mexisme has joined #nixos
ambro718 has quit [Ping timeout: 260 seconds]
botrbot has joined #nixos
civodul has joined #nixos
grp has quit [Ping timeout: 265 seconds]
Neo-- has quit [Ping timeout: 240 seconds]
chagra has joined #nixos
<{^_^}> [nixpkgs] @netixx opened pull request #80666 → grafana: made phantomjs2 optionnal → https://git.io/JvRq4
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80667 → python37Packages.aiorun: 2020.1.3 -> 2020.2.1 → https://git.io/JvRq0
hoijui has quit [Ping timeout: 240 seconds]
Ariakenom has joined #nixos
srid is now known as srid--
srid[m] has joined #nixos
<{^_^}> [nixpkgs] @fkstef opened pull request #80668 → rainloop: 1.13.0 -> 1.14.0 → https://git.io/JvRqo
aaa_ has quit [Quit: Leaving]
drakonis has joined #nixos
Ariakenom has quit [Client Quit]
ATuin has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @lsix merged pull request #80660 → python27Packages.braintree: 3.58.0 -> 3.59.0 → https://git.io/JvRkf
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvRqy
AWizzArd has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
botrbot has left #nixos [#nixos]
<AWizzArd> I typed `nix-env -iA nixpkgs.haskell.compiler` and this triggered a download of several things. I aborted this via Ctrl+c. How can I remove the files and directories that have been created so far via this command?
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @r-ryantm to release-20.03 « ephemeral: 6.2.0 -> 6.2.1 »: https://git.io/JvRq9
<{^_^}> [nixpkgs] @wucke13 opened pull request #80669 → webdis: init at 0.1.7 → https://git.io/JvRqd
<{^_^}> [nixpkgs] @lsix merged pull request #80659 → python27Packages.bsddb3: 6.2.6 -> 6.2.7 → https://git.io/JvRTh
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvRqb
<symphorien> nix-collect-garbage, AWizzArd
drakonis has quit [Ping timeout: 272 seconds]
zupo has joined #nixos
zeta_0 has joined #nixos
<AWizzArd> symphorien: ok thx, will try that
<{^_^}> [nixpkgs] @jonringer merged pull request #80667 → python37Packages.aiorun: 2020.1.3 -> 2020.2.1 → https://git.io/JvRq0
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.aiorun: 2020.1.3 -> 2020.2.1 »: https://git.io/JvRqp
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80670 → python37Packages.ckcc-protocol: 0.8.0 -> 1.0.0 → https://git.io/JvRqj
<AWizzArd> symphorien: seems to have worked, thx
tjg1 has quit [Quit: DON'T KEEP CALM AND FUCK THIS. FUCK THAT. FUCK YOU. FUCK OFF.]
maddo has quit [Quit: See ya]
<AWizzArd> Is a Nix channel a little bit like "distribution version"? I.e. a set of software that is supposed to work together, within this version?
zupo has quit [Client Quit]
drakonis has joined #nixos
jgeerds has joined #nixos
<{^_^}> [nix] @edolstra pushed to flakes « Restore subdir support in registries »: https://git.io/JvRmL
HugoDaniel has quit [Ping timeout: 240 seconds]
philr has joined #nixos
AmandaC has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @aszlig opened pull request #80671 → nginx: Fix ETag patch to ignore realpath(3) error → https://git.io/JvRm0
<{^_^}> [nixpkgs] @mweinelt opened pull request #80672 → weechat: 2.7 -> 2.7.1 → https://git.io/JvRmz
<{^_^}> [nixpkgs] @mweinelt opened pull request #80673 → [20.03] weechat: 2.7 -> 2.7.1 → https://git.io/JvRmy
reallymemorable has quit [Quit: reallymemorable]
<LnL> gchristensen: does the project have a setup.py?
<{^_^}> [nixpkgs] @zowoq opened pull request #80674 → gitAndTools.gh: 0.5.6 -> 0.5.7 → https://git.io/JvRm9
lsix has quit [Quit: WeeChat 2.6]
lsix has joined #nixos
lsix has quit [Client Quit]
ixxie has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mweinelt opened pull request #80675 → weechat: 2.7 -> 2.7.1 → https://git.io/JvRmA
AmandaC has joined #nixos
kiloreux_ has quit [Remote host closed the connection]
inkbottle has joined #nixos
zebrag has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #80641 → ucx: init at 1.7.0 → https://git.io/JvBxI
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JvRYJ
Jackneill has joined #nixos
erasmas has quit [Quit: Lost terminal]
drakonis has quit [Ping timeout: 240 seconds]
Naptra has quit [Ping timeout: 258 seconds]
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
maddo has joined #nixos
stites has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
fleaz has joined #nixos
megfault has joined #nixos
teto has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #80571 → [19.09] mariadb: fix darwin build → https://git.io/JvBzG
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to release-19.09: https://git.io/JvRY2
teto has quit [Client Quit]
andi- has quit [Remote host closed the connection]
<{^_^}> [flake-registry] @edolstra pushed to master « subdir -> dir »: https://git.io/JvRYa
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/JvRYV
Thra11 has quit [Quit: WeeChat 2.7]
andi- has joined #nixos
Fare has quit [Ping timeout: 240 seconds]
logzet has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80676 → python27Packages.filebytes: 0.10.0 -> 0.10.2 → https://git.io/JvRYS
lsix has joined #nixos
lsix has quit [Client Quit]
noudle has quit []
lsix has joined #nixos
lsix has quit [Client Quit]
lsix has joined #nixos
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @jonringer merged pull request #80658 → python37Packages.azure-core: 1.2.1 -> 1.2.2 → https://git.io/JvRTD
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.azure-core: 1.2.1 -> 1.2.2 »: https://git.io/JvRYA
<{^_^}> [nixpkgs] @jonringer merged pull request #80670 → python37Packages.ckcc-protocol: 0.8.0 -> 1.0.0 → https://git.io/JvRqj
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.ckcc-protocol: 0.8.0 -> 1.0.0 »: https://git.io/JvRYx
lsix has quit [Client Quit]
risson has quit [Quit: pouet]
drakonis has joined #nixos
philr has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @stigtsp opened pull request #80677 → rt: fix build error → https://git.io/JvROT
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
drakonis has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #80678 → azure-cli: 2.0.81 -> 2.1.0 → https://git.io/JvROW
drakonis has joined #nixos
h0m1 has quit [Ping timeout: 240 seconds]
judson_ has quit [Ping timeout: 268 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80679 → python27Packages.nbval: 0.9.4 -> 0.9.5 → https://git.io/JvRO0
iqubic has joined #nixos
erictapen has quit [Ping timeout: 255 seconds]
erictapen has joined #nixos
daGrevis has quit [Quit: daGrevis]
daGrevis has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/686274ea62c (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @jonringer merged pull request #80320 → steamPackages.chrootenv: add file command → https://git.io/Jv8oY
<{^_^}> [nixpkgs] @jonringer pushed to master « steamPackages.chrootenv: add file command »: https://git.io/JvROy
Fare has joined #nixos
reallymemorable has joined #nixos
erictapen has quit [Ping timeout: 258 seconds]
drakonis has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samueldr opened pull request #80680 → runInLinuxVM: Ensure tools requiring /etc/passwd works → https://git.io/JvROj
drakonis has joined #nixos
tertl3 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #79997 → poppler: 0.84.0 -> 0.85.0 → https://git.io/JvWwG
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/JvR3J
mexisme has quit [Ping timeout: 258 seconds]
andi- has quit [Quit: WeeChat 2.7.1]
andi- has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #80672 → weechat: 2.7 -> 2.7.1 → https://git.io/JvRmz
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JvR3s
<{^_^}> [nixpkgs] @andir merged pull request #80673 → [20.03] weechat: 2.7 -> 2.7.1 → https://git.io/JvRmy
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-20.03: https://git.io/JvR3G
<{^_^}> [nixpkgs] @andir merged pull request #80675 → [19.09] weechat: 2.6 -> 2.7.1 → https://git.io/JvRmA
<{^_^}> [nixpkgs] @andir pushed 3 commits to release-19.09: https://git.io/JvR3Z
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
mexisme has joined #nixos
ryantrinkle has quit [Ping timeout: 240 seconds]
evanjs has joined #nixos
<zeta_0> rycee: has support for vscodium improved in nixos-stable in home.nix or it can only be installed in nixos-unstable, it did not work a couple of weeks ago? https://rycee.gitlab.io/home-manager/options.html#opt-programs.vscode.package
<{^_^}> [nixpkgs] @r-ryantm opened pull request #80681 → python27Packages.nbsphinx: 0.5.0 -> 0.5.1 → https://git.io/JvR3E
<Arahael> After a power failure, I noticed that the AC 9560 wifi I have became extremely unreliable... When I investigated, I discovered that I was running a new kernel, which makes sense - the forced reboot resulted in me running an updated kernel. I then updated to the latest nixos (20.03), and the latest kernel but the problem remained...
<Arahael> I've taken advantage of nixos's generations to select an older build (which is freaking awesome!), but now I'm wondering: How can I run the latest nixos but keep this older kernel - alternatively, how should I investigate this wifi issue?
srid-- has quit [Quit: Connection closed for inactivity]
reallymemorable has quit [Quit: reallymemorable]
<Arahael> So far it seems to only reliable on 4.19.69, the slightly newer kernel 4.19.80 is unreliable, and the latest 5.x series is similarly unreliable. :(
<amanjeev> Why do only some of the Jetbrains packages give me "unfree" error. I have the "nixpkgs.config.allowUnfree = true;" set already and clion, goland and webstorm install just fine.
<andi-> arahael: likely reporting it upstream to the stable developers is the best long term fix. Short term you can import the kernel from a previous nixpkgs generation by setting `boot.linuxPackages` to something from a previous channel version
<amanjeev> but idea-ultimate, pycharm-pro do not
<andi-> amanjeev: because the pro and ultimate are unfree (e.g. require a license)
<Arahael> andi-: My suspicion or gut feeling is it's a non-free firmware issue, how do I rule that out?
<zeta_0> zeta waits patiently for a response
<cole-h> If you have a home-manager question, your best bet is -> #home-manager
<andi-> arahael: you could also rollback to a previous linux-firmware version?
<cole-h> (It's also generally considered rude to ping people for help; just ask your question and if/when somebody has an answer, they will help you)
maddo has quit [Quit: See ya]
judson has joined #nixos
<zeta_0> apologies, it is just a quick question
<cole-h> Aren't they all ;)
<Arahael> andi-: I'm not really sure how I'd do that - do I use an overlay for that or can I select a particular version in the same way as the kernel?
<qyliss> arahael: boot.kernelPackages
<Arahael> qyliss: My assumptioni s that the boot.kernelPackages is "just" the kernel - it's not also including the non-free firmware, isn't it?
<qyliss> oh, right
<qyliss> I think it includes more than that
<superbaloo> how would someone sign data in nix?
orivej has quit [Ping timeout: 255 seconds]
<qyliss> Because there's a distinction between linux and linuxPackages
<superbaloo> (signing a kernel for secureboot)
<Arahael> qyliss: Hmm, quite likely - but I still suspect that the non-free firmware is separate. :)
<cole-h> Does NixOS support secureboot? I was under the impression it didn't.
<superbaloo> I'm not sure how nixos has to "support" secureboot
<superbaloo> it's merely a signature that's checked by the uefi
<Arahael> andi-: I'll check it out anyway - if it's purely a kernel issue, then just using a previous kernelPackage should do the trick and effectively rules out the firmware as an issue.
<samueldr> if you want to support it properly, all artifacts that will be touched, so, kernel, initramfs, need to be signed, too, at build time
<superbaloo> yeah, no
<samueldr> otherwise you're still left with a wide open gap
<Arahael> superbaloo: I assume that a chain of trust is involved, too.
<superbaloo> you can build a single efi with kernel + initramfs
<superbaloo> and sign that
mexisme has quit [Ping timeout: 240 seconds]
<qyliss> there's a PR for that
<superbaloo> I got the efi built, I just don't know how to inject the keys really
<{^_^}> #53901 (by grahamc, 1 year ago, open): WIP: Sign systemd boot EFI images for secure booting.
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]