worldofpeace changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
lsix has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #73084 → llvm_7: disable failing test on armv6l → https://git.io/JeVRv
marler8997__ has quit [Read error: Connection reset by peer]
marler8997__ has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
genesis has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @flokli to nixos-19.09-small « nixos/redis: fix merging »: https://git.io/JeV8O
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @flokli to nixpkgs-19.09-darwin « nixos/redis: fix merging »: https://git.io/JeV8O
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/107e2b7b29f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/107e2b7b29f (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
jgt has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
gxt has joined #nixos
MichaelRaskin has quit [Ping timeout: 245 seconds]
<eyJhb> Doesn't YouCompleteMe work for Go? `ERROR - No semantic completer exists for filetypes: ['go']`?
Hindsight44 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 268 seconds]
lsix has quit [Quit: Leaving]
o1lo01ol1o has joined #nixos
<vika_nezrimaya> How to pass a Referer header in pkgs.fetchurl?
<vika_nezrimaya> curlOpts seems to not work properly on arguments with spaces
<vika_nezrimaya> I have literally no idea how to escape it properly
<vika_nezrimaya> do I need to make my own builder for this?...
o1lo01ol1o has quit [Remote host closed the connection]
<vika_nezrimaya> Oh wow nginx seems to accept headers without space after colon! problem solved :3 now I can have a declarative wallpaper
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixpkgs-19.03-darwin: https://git.io/JeV4p
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/675884ffb1d (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
o1lo01ol1o has quit [Ping timeout: 265 seconds]
shibboleth has joined #nixos
<red[m]> Okay, so nixexpr is kicking my behind.
Rusty1 has joined #nixos
halfbit has quit [Ping timeout: 250 seconds]
<exarkun> mysteriously this python package can no longer import half of its own modules during checkPhase
<exarkun> after switching to a marginally newer nixos-unstable
<exarkun> when clearly _bytesjson exists
alexherbo2 has quit [Ping timeout: 240 seconds]
Fare has joined #nixos
alexherbo2 has joined #nixos
Havvy has joined #nixos
haisheng has joined #nixos
mbrgm_ has joined #nixos
lopsided98 has quit [Ping timeout: 240 seconds]
mbrgm has quit [Ping timeout: 252 seconds]
mbrgm_ is now known as mbrgm
betawaffle has quit [Quit: Oh noes, my ZNC!]
<haisheng> I got error with `nix-shell`: error: value is a function while a set was expected, at /Users/haishengwu/Downloads/haskell/haste-compiler/shell.nix:1:1
betawaffle has joined #nixos
lopsided98 has joined #nixos
jluttine has quit [Ping timeout: 240 seconds]
<red[m]> QuickQ: I'm opening a PR against a module and afaict modules don't have maintainers? Who should I tag (other than the person who did the previous commit?)
jgt has joined #nixos
<{^_^}> [nixpkgs] @groodt opened pull request #73085 → fluxctl: 1.13.3 -> 1.15.0 → https://git.io/JeV0f
<{^_^}> [nixpkgs] @redvers opened pull request #73086 → nixos/httpd: module fixes enableUserDir (attendum to #72789) → https://git.io/JeV0T
wildtrees has quit [Quit: Leaving]
detran has quit [Ping timeout: 240 seconds]
<samueldr> looking at the previous committers is the right thing to do, red[m]
detran has joined #nixos
<samueldr> maybe look at the relevant packages too
Fare has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 252 seconds]
Fare has joined #nixos
<red[m]> samueldr: the other biggest contributor to the package is edolstra so I don't really want to tag him ;-)
<samueldr> depends on if it was recent, I guess, maybe it is fine if it is still something he's using
<__red__> well, it's apache so not exactly the most trivial of packages ;-)
<evanjs> How do I get outPaths for a script? e.g. zlibPath=$(nix-instantiate --eval -E 'with import <nixpkgs> {}; builtins.toPath (zlib.outPath + "/lib/libz.so.1")') returns something but passing it directly to patchelf doesn't seem to work
<evanjs> i.e. it's a string
<infinisil> __red__: Oh tag aanderse, I think he's interested in making the httpd module better
<__red__> yup - he was who I tagged
<evanjs> And gives me something like "/nix/store/gpszqcy0xi0lavbbjdq82zkkjp3jbp2a-bzip2-1.0.6.0.1-bin/lib/libbz2.so.1" => not found
<__red__> I also want to talk to him about something else he's suggested doing that I want to make sure he makes optional :-)
<evanjs> I do wonder if I should just put it in a shell.nix or something
o1lo01ol1o has joined #nixos
<clever> eyJhb: 90% of the time, you dont want toPath
<clever> > "${zlib}/lib/libz.so.1"
<{^_^}> "/nix/store/m1qb538b5ic2j822zyjyj5h3i04lyca0-zlib-1.2.11/lib/libz.so.1"
<clever> eyJhb: thats all you needed
<clever> eyJhb: if you run ls -lh, does that file actually exist?
jedai42 has quit [Ping timeout: 264 seconds]
<evanjs> clever: yes it's there. derp. forgot I don't need outPath though
<evanjs> I initially didn't have toPath but was trying to get rid of the quotes
shibboleth has quit [Quit: shibboleth]
gagbo has quit [Ping timeout: 265 seconds]
gagbo has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeV0R
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 26 commits to nixos-unstable-small: https://git.io/JeV0E
<evanjs> Mmkay got it. Just put it all in a shell hook and it works fine 😝
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ac8d8508781 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @aanderse merged pull request #73086 → nixos/httpd: module fixes enableUserDir (attendum to #72789) → https://git.io/JeV0T
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/JeV02
o1lo01ol1o has quit [Remote host closed the connection]
<lordcirth> samueldr, I started building aarch64 using your cross-system repo
<samueldr> and? :)
o1lo01ol1o has joined #nixos
evil-olive has quit [Quit: Ping timeout (120 seconds)]
<lordcirth> And it's still compiling :P
<lordcirth> 2-core VM
<samueldr> :) could take some time
tdeo has quit [Ping timeout: 268 seconds]
<lordcirth> It's been an hour now, I will reboot the VM with 4 cores
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
slack1256 has quit [Remote host closed the connection]
jgt has joined #nixos
jluttine has joined #nixos
evil-olive has joined #nixos
tdeo has joined #nixos
tdeo has joined #nixos
tdeo has quit [Changing host]
<evils> anyone here particularly familiar with WrapGAppsHook? i need to wrap 1 of several binaries
jgt has quit [Ping timeout: 252 seconds]
Ariakenom has quit [Quit: Leaving]
iyzsong has joined #nixos
jluttine has quit [Ping timeout: 265 seconds]
Ariakenom has joined #nixos
<DigitalKiwi> paging worldofpeace
Ariakenom has quit [Remote host closed the connection]
thc202 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @MetaDark opened pull request #73087 → textlab: init at 1.6.0 → https://git.io/JeV0M
<lordcirth> samueldr, I believe you said earlier that I would need a mainline kernel?
<samueldr> either of the BSP kernel (booh) or a mainline kernel with appropriate patches (to be found)
ris has quit [Ping timeout: 276 seconds]
jluttine has joined #nixos
<samueldr> likely you could track the source of the manjaro one
<samueldr> (which is based on mainline)
dsx has quit [Quit: dsx]
<lordcirth> samueldr, hmm. If I do get a kernel derivation working, say based on manjaro, how would one help push it upstream? A patched derivation in nixpkgs, or just wait for the patches to land in mainline?
<samueldr> it will never be accepted upstream in nixos, the patches are likely to land soon in mainline once written up :)
dsx has joined #nixos
gentauro has quit [Read error: Connection reset by peer]
<samueldr> but said patches can be documented on the NixOS on ARM pages on the wiki
<samueldr> (can and will)
gentauro has joined #nixos
selfsymmetric-pa has joined #nixos
mexisme has joined #nixos
h0m1 has quit [Ping timeout: 276 seconds]
<lordcirth> Ok, cool
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.03-small: https://git.io/JeV4p
h0m1 has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/675884ffb1d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mexisme has quit [Ping timeout: 276 seconds]
<lordcirth> samueldr, the uboot build outputs: "CONFIG_OF_EMBED is enabled. This option should only be used for debugging purposes."... etc. Does that matter?
tdeo has quit [Quit: Quit]
<samueldr> I don't know :)
<samueldr> let's look at the docs
evil-olive has quit [Ping timeout: 265 seconds]
<lordcirth> Also, if I use nixpkgs master, bash doesn't build
xkapastel has quit [Quit: Connection closed for inactivity]
o1lo01ol1o has quit [Remote host closed the connection]
<samueldr> been a couple months since I last checked whether cross-system works
<lordcirth> Actually no, it's "/nix/store/0mjqs0y4af5fnhy1cb4bnh1b1spxnvk8-groff-1.22.4-aarch64-unknown-linux-gnu.drv"
<lordcirth> The error is /nix/store/zavn4np1jvm79f0rafkv0p1mrag09qkz-bash-4.4-p23/bin/bash: ar: command not found
<samueldr> ah :)
<lordcirth> Just a missing dependency?
<samueldr> sounds more like something is not aware of cross-compilation
<samueldr> ar would not be named "ar" but something else I think with cross-compilation
<samueldr> something like aarhc64-linux-gnu-ar maybe
<lordcirth> ah, I see
<lordcirth> Perhaps I should try unstable instead of master?
<samueldr> yeah, so you don't have to care too much about CONFIG_OF_EMBED for now, but it looks like the clean way is using CONFIG_OF_SEPARATE, which is the only way accepted for mainline
<samueldr> I always go with unstable rather than master, if only for more artifacts in the cache
<samueldr> but here not sure it will matter that much
* samueldr looks
evil-olive has joined #nixos
tdeo has joined #nixos
tdeo has joined #nixos
tdeo has quit [Changing host]
o1lo01ol1o has joined #nixos
davidak has quit [Quit: Leaving]
jgt has joined #nixos
<lordcirth> Still trying to wrap my head around sd-image.nix
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 15 commits to nixos-19.09: https://git.io/JeVEL
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/107e2b7b29f (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<samueldr> lordcirth: looks like https://github.com/NixOS/nixpkgs/pull/70500/files broke ar cross-compilation
<samueldr> there was a patch about ar, looking into it
<lordcirth> Cool, thanks!
<samueldr> yeah, the patch especially references how this is for cross-compilation https://github.com/NixOS/nixpkgs/commit/4f3c8178b8e5eef920c31b030cd89591deb2417d
<Sisyphe[m]> hi there ! has anyone worked with Nix and ROS ?
bsima has quit [Quit: ZNC 1.7.3 - https://znc.in]
pinkmutt has joined #nixos
<pinkmutt> hello
sb0 has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #73088 → groff: Fix cross-compilation → https://git.io/JeVEZ
<samueldr> lordcirth: ^
o1lo01ol1o has joined #nixos
pinkmutt has quit [Quit: leaving]
<samueldr> you could `curl -LO https://github.com/NixOS/nixpkgs/pull/73088.patch | git apply` in your nixpkgs checkout to test it
<{^_^}> #73088 (by samueldr, 45 seconds ago, open): groff: Fix cross-compilation
<samueldr> my branch was rebased to an earlier commit, so working from the branch directly is maybe not the best solution :)
slack1256 has joined #nixos
<samueldr> oops, curl -L, not curl -LO
felixfoertsch23 has joined #nixos
<samueldr> restarted the build, will see if it fails on something else
<lordcirth> samueldr, neat!
felixfoertsch has quit [Ping timeout: 245 seconds]
<samueldr> 'twas easy, the work was already done, just had to replay the same work on top of the newer groff release
bsima has joined #nixos
mexisme has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
gagbo has quit [Remote host closed the connection]
gagbo has joined #nixos
jgt has joined #nixos
jgt has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
haisheng has left #nixos ["ERC (IRC client for Emacs 26.1)"]
o1lo01ol1o has joined #nixos
<{^_^}> [nix-pills] @DavHau opened pull request #121 → Dav hau patch 1 → https://git.io/JeVEr
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<contrun[m]> How long does it take for a patch already merged in nixpkgs to appear in unstable channel?
laalf has joined #nixos
<contrun[m]> https://github.com/NixOS/nixpkgs-channels hasn't been updated for a while.
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @lodi opened pull request #73089 → libco-canonical: v19.1 -> v20 → https://git.io/JeVEM
<clever> ,howoldis contrun[m]
<contrun[m]> clever: awesome. thanks
<lordcirth> samueldr, build failed a while later; make: *** No rule to make target 'install'. Stop.
<samueldr> on what?
<lordcirth> In /nix/store/ig0bsk29l8rl5qvqy53n2n8gmnwib2m4-perl5.30.0-XML-Parser-2.46-aarch64-unknown-linux-gnu.drv
<samueldr> hm
<samueldr> will soon see, I think
<lordcirth> (Do we *really* need perl5?)
<samueldr> probably
<samueldr> it's part of the build closure of a bunch of things
<lordcirth> I might experiment with shrinking stdenv at some point
Fare has quit [Quit: Leaving]
endformationage has quit [Ping timeout: 240 seconds]
<lordcirth> Getting further with -k
<worldofpeace> evils: it's in the nixpkgs manual.
<samueldr> just continuing to plow through over stuff that's broken, lordcirth :)
<worldofpeace> evax: dontWrapGApps = true; and in preFixup wrapGApp if you're on master.
<lordcirth> samueldr, may as well get some done while working on the rest
<samueldr> lordcirth: looks like XML-Parser is the only other issue
<lordcirth> samueldr, Would it be practical to add cross-compile tests for packages that are likely to break?
<samueldr> it sure would be useful
<samueldr> there was high level talks lately about maybe doing such a thing
<samueldr> (and other related things
<rotaerk> hmm, I've never used UEFI before. I'm trying to understand how to setup dual-boot between nixos and windows 10. windows 10 is installed, and it created a boot partition. should I ... overwrite that from linux, or create a second boot partition? when I used BIOS, I basically *replaced* whatever boot partition windows created and put GRUB in the new one ...
<samueldr> lordcirth: looks like you can git revert 076dc17149af60635d52621e3a2a341af046af2e to unstick yourself until a real fix is found
<lordcirth> Cool, thanks
<samueldr> not 100% confirmed to go to the end with that revert, but it unstuck that issue
<lordcirth> Well, I'll leave the -k build running for now
<lordcirth> Any idea why a minor version bump broke perl5? I guess I might need to dig into the source
<samueldr> perl is perfectly fine
<samueldr> it's XML-Parser that's broken :)
<samueldr> a perl... package? well, whatever name they use for their thingies
<{^_^}> [nixpkgs] @jonringer pushed commit from @groodt to master « fluxctl: 1.13.3 -> 1.15.0 »: https://git.io/JeVuT
<{^_^}> [nixpkgs] @jonringer merged pull request #73085 → fluxctl: 1.13.3 -> 1.15.0 → https://git.io/JeV0f
jgt has joined #nixos
<evils> worldofpeace: maybe i'm overlooking something, but that says nothing about only wrapping 1 of several binaries
lovesegfault has quit [Quit: WeeChat 2.6]
<worldofpeace> evils: it doesn't, I believe we overlooked documenting manually wrapping.
<evils> i've seen explicit use of WrapGApps, but that seems to not work as intended for kicad
jb55 has quit [Ping timeout: 260 seconds]
drakonis has quit [Quit: WeeChat 2.6]
jgt has quit [Ping timeout: 246 seconds]
iyzsong has joined #nixos
<evils> actually, kicad as is on master uses wrapGApp, but with #72813 it breaks, setting `dontWrapGapps = false;` fixes the launcher and breaks everything else, manually adding XDG_DATA_DIR to that command fixes it again, but adds the path twice
<{^_^}> https://github.com/NixOS/nixpkgs/pull/72813 (by matthuszagh, 4 days ago, open): kicad: python2 -> python3
<samueldr> hmmm... gobject-introspection being brought into polkit and/or udisks is going to be an issue for cross-compilation :/
<samueldr> gobject-introspection seems to not play nicely with the cross-compilation stuff currently, will need to circle back later
<evils> worldofpeace: jup, that's basically what kicad currently does
<samueldr> likely an issue for mobile-nixos too
<samueldr> it needs both a build-time python and run-time python AFAICT
<worldofpeace> evils: this is because it's missing things buildInputs
<evils> worldofpeace: yea so i recently fixed this issue in mattermost-desktop, where `gtk` is in buildInputs, but with kicad, `wxGTK` is already an input, which i would think includes `gtk`
<worldofpeace> If you read https://nixos.org/nixpkgs/manual/#ssec-gnome-hooks, it explains that all wrapGAppsHook does it set environment variables with values collected by other setup hooks. in particular, with gsettings, the glib setup hook needs to be ran to populate the environment variable GSETTINGS_SCHEMAS_PATH so it can prepend it to XDG_DATA_DIRS.
drakonis has joined #nixos
<worldofpeace> wxGTK is complied with gtk, but it needs glib and gtk in buildInputs because it depends on their setup-hooks being ran
<worldofpeace> So the solution is to add wxGTK.gtk and glib to buildInputs
<worldofpeace> we use wxGTK.gtk attribute because it'll point to the correct gtk version, either gtk2 or gtk3, depending on if wxGTK was overriden with withGtk2 = true or false.
<evils> trying now
<{^_^}> [nixpkgs] @contrun opened pull request #73092 → keepassxc: add additional cmake options → https://git.io/JeVum
<evils> btw, is there a good reason wxGTK30 defaults to `withGtk2 = true;`?
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
Thra11 has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #73089 → libco-canonical: v19.1 -> v20 → https://git.io/JeVEM
<{^_^}> [nixpkgs] @jonringer pushed commit from @lodi to master « libco-canonical: v19.1 -> v20 »: https://git.io/JeVuO
<slack1256> evils: Read the commit that introduced that change?
<slack1256> It can something that made sense long ago.
<slack1256> can be
<worldofpeace> no idea, I've reviewed a PR today having an issue with that. gtk2 needs to go so I'd love a PR to change it to gtk3. not familar with wx widgets though.
<worldofpeace> I opened https://github.com/NixOS/nixpkgs/issues/73091 for the gnome docs issue.
<{^_^}> #73091 (by worldofpeace, 14 minutes ago, open): Gnome nixpkgs documention doesn't explain manual wrapping
<evils> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 44
<worldofpeace> no karma needed. I co-authored the docs :D
<evils> worldofpeace++
<{^_^}> worldofpeace's karma got increased to 45
<rotaerk> hmm I think I've figured out the answer to my question
mexisme has quit [Ping timeout: 276 seconds]
<lopsided98> I've been meaning to upstream this
ddellacosta has quit [Ping timeout: 276 seconds]
<lopsided98> actually that is an older version, no changes are needed except "withGtk2 ? false": https://github.com/lopsided98/nixpkgs/commit/18b0638d40518699e8224b1d8a61f3ae8540b04f
<evils> lopsided98: did it break anything?
mexisme has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<lopsided98> wxPython also needed to be configured to use GTK3
Thra11 has joined #nixos
abathur has quit [Ping timeout: 276 seconds]
<lopsided98> I tried running nix-review, but ran into issues - I might try it again now
<lopsided98> There might also be runtime/UI breakage for certain applications
mexisme has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
jedai42 has joined #nixos
Ninlives has joined #nixos
<Ninlives> Can I override a drv's stdenv with a stdenv produced by override the original stdenv? i.e. `self: super: { pkg = super.pkg.override { stdenv = super.pkg.stdenv.overrde { ... }; } ;}`, but this will not work because the `super.pkgs.stdenv` is not overrideable
dsx has quit [Quit: dsx]
ddellacosta has quit [Ping timeout: 240 seconds]
jedai42 has quit [Ping timeout: 265 seconds]
joehh has quit [Remote host closed the connection]
slack1256 has quit [Remote host closed the connection]
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @groodt opened pull request #73093 → protolock: 0.14.1 -> 0.15.0 → https://git.io/JeVuC
felixfoertsch has joined #nixos
jgt has joined #nixos
Acou_Bass has quit [Ping timeout: 268 seconds]
slack1256 has joined #nixos
ddellacosta has joined #nixos
jgt has quit [Ping timeout: 246 seconds]
Ninlives has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixos-unstable-small: https://git.io/JeVuu
Acou_Bass has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8496f9556c3 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Ninelives has joined #nixos
<Ninelives> Is there any example of using `extraSandboxProfile` ?
leungbk has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<evils> worldofpeace: seems like i don't need to pass glib and gtk, `gsettings-desktop-schemas-3.34.0` doesn't get added to XDG_DATA_DIRS but everything still works. regardless, `gtk+3-3.24.12` gets added twice, is that normal?
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
slack1256 has quit [Remote host closed the connection]
Ninelives has quit [Remote host closed the connection]
<leungbk> I'm trying to write derivations for some emacs packages. I am trying to obtain a sha256 hash for a package with an existing declaration to make sure I understand how to do everything. The command `nix-hash --type sha256 --flat --base32 railgun.el` gives me a different hash from what exists in the nixpkgs repo. Is that not the right command? I've also tried hashing the git repo for that existing package, but the hash I produced had more
<leungbk> characters than what is in the repo.
ddellacosta has joined #nixos
fusion809 has joined #nixos
ddellacosta has quit [Ping timeout: 268 seconds]
<wedens[m]> leungbk: I think the hash is computed over nar archive
<wedens[m]> in fetchgit
<leungbk> wedens[m]: I see, thanks.
leungbk has quit [Quit: ERC (IRC client for Emacs 26.3)]
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
jgt has joined #nixos
evanjs has joined #nixos
<wedens[m]> leungbk: one important detail - the hash doesn't include .git directory
jgt has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 391 commits to staging-next: https://git.io/JeVuA
<rotaerk> hrm, nixos-generate-config generated it wrong >_>
<rotaerk> oh dammit, somehow I mounted the wrong thing to /mnt/boot
<rotaerk> ah... I mounted /dev/disk/by-label/EFIBOOT to /mnt/boot, but that pointed to something different from what I expected
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @veprbl closed pull request #72997 → Remove sqlite patch from sqlite-replication as it's incompatible → https://git.io/Jeax2
kleschenko has joined #nixos
ddellacosta has quit [Ping timeout: 276 seconds]
palo1 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging « gst-plugins-base: use fetchpatch for better hash stability »: https://git.io/JeVzt
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
fling is now known as swiftshader
<{^_^}> [nixpkgs] @vcunat pushed commit from @delroth to staging-19.09 « gst-plugins-base: apply patch for CVE-2019-9928 »: https://git.io/JeVzY
kleschenko has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat closed pull request #70284 → [19.09] gst-plugins-base: apply patch for CVE-2019-9928 → https://git.io/JecYl
<{^_^}> [nixpkgs] @jonafato opened pull request #73094 → zulip: init at 4.0.0 → https://git.io/JeVz3
jgt has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
<rotaerk> hmm is there a package with a bigger font than 12x22
<rotaerk> console font *
<rotaerk> even 12x22 is pretty tiny on my laptop's monitor
dansho has joined #nixos
gkmngrgn has quit [Quit: WeeChat 2.6]
ddellacosta has joined #nixos
knupfer has joined #nixos
<sphalerite> rotaerk: terminus, hang on
<sphalerite> rotaerk: i18n.consoleFont = "${pkgs.terminus_font}/share/consolefonts/ter-128n.psf.gz";
<rotaerk> thanks!
<sphalerite> if that's still not big enough, you can use 32 instead of 28
<{^_^}> [nixpkgs] @danieldk opened pull request #73096 → drawio: 12.1.7 -> 12.2.2 → https://git.io/JeVzo
ddellacosta has quit [Remote host closed the connection]
noudle has joined #nixos
<{^_^}> [nixpkgs] @andrew-d opened pull request #73097 → gvisor: init at 2019-11-08 → https://git.io/JeVzh
<rotaerk> yep, 32 works great
ddellacosta has joined #nixos
Heirlung has quit [Quit: ZNC - http://znc.in]
jgt has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @alyssais merged pull request #73025 → rust-bindgen: 0.51.0 -> 0.51.1 → https://git.io/JeVIM
<{^_^}> [nixpkgs] @alyssais pushed commit from @jonringer to master « rust-bindgen: 0.51.0 -> 0.51.1 »: https://git.io/JeVgJ
knupfer has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
knupfer has quit [Client Quit]
knupfer has joined #nixos
jgt has quit [Ping timeout: 276 seconds]
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #73071 → [19.09] melpa-packages: 2019-10-25 → https://git.io/JeVWp
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to release-19.09: https://git.io/JeVgm
<{^_^}> [nixpkgs] @alyssais closed pull request #72934 → libsass: 3.6.1 -> 3.6.3 → https://git.io/JeVgZ
<rotaerk> what terminal emulator do you guys use?
<rotaerk> I've just been using xterm; wonder if I should try something else
<sphalerite> Only the guys? In any case, I use alacritty+tmux
<rotaerk> "guys" is gender neutral in this case :P
<rotaerk> thanks
<sphalerite> I'd like to have a setup based on dtach or similar one day, where I have multiple alacrittys (alacritties?) open and use my window manager for the tiling
<sphalerite> and ideally, the layout gets saved Somehow™ and restored if my graphical session exits
<sphalerite> but for now tmux is good enough
Heirlung has joined #nixos
<gyroninja> Is there a way to make a service depend on wireguard being up?
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<sphalerite> gyroninja: yes, but that depends on your definition of "up"
<sphalerite> you can make it depend on the interface being configured, but not on it being connected
<sphalerite> since wireguard is stateless
mexisme has joined #nixos
<gyroninja> Well right now the bind is failing with "Cannot assign requested address"
<gyroninja> and then right after it there are logs about wireguard being loaded
<gyroninja> right now my server has a 0/2 success rate in starting correctly due to that
wikiemol has joined #nixos
<gyroninja> luckily the machine does not need to restart often, but it still would be nice to not have to manually restart the service
idf has joined #nixos
<wikiemol> Hello, I am going through the Nix Pills tutorial here https://nixos.org/nixos/nix-pills/enter-environment.html, and I tried to follow the step of running `nix-env -i man` but I get the error `error: selector 'man' matches no derivations`, what could be going on?
<adisbladis> systemd.services..after = [ "wireguard-wg0.service" ];
<adisbladis> gyroninja: systemd.services.your-service.after = [ "wireguard-wg0.service" ];
<adisbladis> Should do the trick
mexisme has quit [Ping timeout: 268 seconds]
<gyroninja> adisbladis: Would you happen to know how to just concat that, since after is already defined from the module in nixpkgs?
<gyroninja> or cons it
<adisbladis> gyroninja: You can just set that in your configuration.nix :)
<adisbladis> gyroninja: The NixOS module system merges all the options
<gyroninja> Oh, it will automatically merge mine and the module?
<adisbladis> Yes
<gyroninja> thanks
<raboof> when I want to start a shell.nix with 'python with pyserial' but also some other mkShell features, how do I do that? https://nixos.org/nixpkgs/manual/#python shows how to create a shell.nix with *just* python, but my nix-fu isn't strong enough to combine that with the other styles ;)
<raboof> (specifically I also want some additional dependencies to be installed and add a shellHook that patchelf's some binaries)
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JeVgF
<eyJhb> clever: not sure which dir I should check it in
<eyJhb> But vim-go provides me with autocomplete atm
<adisbladis> raboof: http://ix.io/21gb/nix
<{^_^}> [nixpkgs] @vcunat merged pull request #72054 → gdal: add patch for CVE-2019-17545 → https://git.io/JeESX
<raboof> adisbladis: wow so simple :D - I'll PR that to the docs I guess :D
wikiemol has quit [Remote host closed the connection]
<eyJhb> ANy way to repair/supress `collision between `/nix/store/w16n1hxldjwv501vvlgd0i9q9ljlqkgz-gnupg-2.0.30/share/gnupg/help.cs.txt' and `/nix/store/2055v2i8i2q2i3yij8gy5ga1bx9mw2gj-gnupg-2.2.17/share/gnupg/help.cs.txt'`?
wikiemol has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72995 → lightstep-tracer-cpp: 0.8.1 -> 0.11.0 → https://git.io/Jeaxm
<{^_^}> [nixpkgs] @c0bw3b pushed to master « lightstep-tracer-cpp: 0.8.1 -> 0.11.0 »: https://git.io/JeVgp
xkapastel has joined #nixos
<sphalerite> eyJhb: remove the old one if possible, otherwise give one of the two higher priority
knupfer has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
<eyJhb> sphalerite: now I just need to figure out which module causes this - ``/nix/store/7x486sv5zmvpn2mqqi3jlxv5cp7km9pm-python3-3.7.5-env/include/python3.7/structmember.h' and `/nix/store/0sjparzwnm0d0cgxqyd5ylzp56hhqrjc-python3-3.7.5-env/include/python3.7/structmember.h'` :(
<eyJhb> (gnu is fixed)
<{^_^}> [nixpkgs] @bjornfor merged pull request #72981 → Fix allowUnfreePredicate example following the introduction of pname. → https://git.io/Jea5c
<{^_^}> [nixpkgs] @bjornfor pushed commit from @Zimmi48 to master « doc: fix allowUnfreePredicate example following the introduction of pname »: https://git.io/JeVgh
<eyJhb> `grep -ir1 python` -> https://termbin.com/az6u (overlays/blender.nix is NOT imported)
<eyJhb> Not sure if it is Python, or Python package
<kuznero[m]> Hi All!
knupfer has joined #nixos
<kuznero[m]> Is there any way in the context of a single derivation to change current users path? Is it a good idea?
<{^_^}> [nixpkgs] @phi-gamma opened pull request #73098 → ncmpc: optionally use pcre → https://git.io/JeV2m
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging-19.09: https://git.io/JeV23
<eyJhb> Precise same md5sum of them both...
jgt has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed commit from @JohnAZoidberg to staging-19.03 « libtiff: Patch CVE-2019-7663 (PR #72092) »: https://git.io/JeV2n
<eyJhb> Found the issue sphalerite. Is there any good way, to have two separate .nix file, which both does python.withPackages... ? So that the two merge together
lorimer has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-unstable-small: https://git.io/JeV2c
jgt has quit [Ping timeout: 250 seconds]
lorimer has joined #nixos
wikiemol has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/5e70be026ee (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @raboof opened pull request #73099 → documentation: drop double 'the' → https://git.io/JeV20
jgt has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to staging: https://git.io/JeV2g
<{^_^}> [nixpkgs] @vcunat merged pull request #72092 → libtiff: Patch CVE-2019-7663 → https://git.io/JeEA8
<raboof> adisbladis: aah now I get it - I tried this before but put the env directly into the `buildInputs`, which would have worked if I had put parentheses in the right place :D
jgt1 has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
MichaelRaskin has joined #nixos
idf has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @vcunat pushed commit from @raboof to master « documentation: drop double 'the' »: https://git.io/JeV2i
<{^_^}> [nixpkgs] @vcunat merged pull request #73099 → documentation: drop double 'the' → https://git.io/JeV20
mexisme has quit [Ping timeout: 252 seconds]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to release-19.09: https://git.io/JeV2M
<{^_^}> [nixpkgs] @vcunat merged pull request #72189 → [r19.09] openmpt123: 0.4.1 -> 0.4.9, addressing CVE-2019-17113 → https://git.io/JeuEL
<{^_^}> [nixpkgs] @raboof opened pull request #73100 → documentation: show combining python35.withPackages and mkShell → https://git.io/JeV2D
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ArdaXi has quit [Ping timeout: 246 seconds]
ArdaXi has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JeV2d
<{^_^}> [nixpkgs] @vcunat merged pull request #72278 → keepalived: 1.4.2 -> 1.4.5, patch CVE-2018-19115 → https://git.io/Jeuhv
kaliumxyz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vcunat pushed commit from @risicle to release-19.09 « keepalived: patch CVE-2018-19115 (PR #72278) »: https://git.io/JeV2F
<{^_^}> [nixpkgs] @vcunat pushed commit from @risicle to release-19.03 « keepalived: patch CVE-2018-19115 (PR #72278) »: https://git.io/JeV2b
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #73101 → luaPackages.pulseaudio: 0.1 -> 0.2 → https://git.io/JeV2N
hoijui has joined #nixos
idf has joined #nixos
chloekek has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
mexisme has quit [Ping timeout: 250 seconds]
alexherbo2 has joined #nixos
thc202 has joined #nixos
noudle has quit []
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 6 commits to nixos-19.03: https://git.io/JeVa3
<{^_^}> [nixpkgs] @doronbehar opened pull request #73103 → imapfilter: 2.6.13 -> 2.6.14 → https://git.io/JeVaZ
<{^_^}> [nixpkgs] @veprbl merged pull request #72804 → facetimehd-firmware: 1.43_4 -> 1.43_5 → https://git.io/Je2iK
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JeVac
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/675884ffb1d (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> [nixpkgs] @doronbehar opened pull request #73104 → sequoia: 0.10.0 -> 0.11.1 → https://git.io/JeVaE
<{^_^}> [nixpkgs] @doronbehar opened pull request #73105 → sequoia: 0.10.0 -> 0.11.1 → https://git.io/JeVau
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JeVgm
knupfer has quit [Ping timeout: 245 seconds]
<Miyu-saki> sphalerite: Aaaaa. Would have been nice if I had free time.
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8e3698fee4b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<colemickens> Does someone have a parameterized systemd example they like?
<colemickens> I have an rclone mount driven with a systemd unit, but now I want to have multiple.
<colemickens> I could do this myself by looping with Nix, but maybe instead I should use systemd's method for making a unit reusable multiple times instead? I'm guessing someone might have an example nixos module to point me at for inspiration.
vidbina_ has joined #nixos
mexisme has joined #nixos
glasserc has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
UndefinedIsNotAF has quit [Ping timeout: 240 seconds]
genesis has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
jedai42 has joined #nixos
<notgne2> I can't seem to get Vulkan working on my R7 260x
<notgne2> it works fine with the proprietary NVidia drivers, and I don't have any other AMD cards to test on (besides another R7 260x variation, which also doesn't work of course)
mexisme has joined #nixos
vidbina_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @pasqui23 opened pull request #73106 → nixos/users:added users.allowLoginless → https://git.io/JeVa5
<adisbladis> notgne2: You might want to try this PR https://github.com/NixOS/nixpkgs/pull/72999
<{^_^}> #72999 (by adisbladis, 1 day ago, open): mesa: 19.2.1 -> 19.2.3 (and associated fixes)
<{^_^}> [nixpkgs] @pasqui23 closed pull request #73082 → nixos/users:added users.allowLoginless option → https://git.io/JeVBr
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @contrun opened pull request #73107 → dnsproxy: init at 0.20.0 → https://git.io/JeVad
bvdw has joined #nixos
<adisbladis> Also pushed the same commts cherry-picked on master to my nixpkgs fork in the branch mesa-19_2_3-master
<adisbladis> Warning: You need to build _a lot_ of packages to try this out.
<notgne2> adisbladis: I can give that a try, is there a proper/simple way of applying this? currently I'm on 19.09 but can switch to unstable if required
GiGa has joined #nixos
GiGa has joined #nixos
GiGa has quit [Changing host]
<notgne2> I assume setting the fork as my nix channel probably a bad idea as I'll lose the sortof "protection" the nix channels offer of not updating until builds pass iirc
<GiGa> Howdy folks.
<adisbladis> Unless you need it short-term I suggest waiting
knupfer has joined #nixos
<GiGa> I've been having problems in the unstable branch for some time - don't ever seem to be able to do an update without some dependencies failing to build.
<GiGa> Any tips?
<GiGa> I can grab log output
<adisbladis> notgne2: Even on a massive build server this takes hours to build
<adisbladis> And my system closure is not _that_ big
<adisbladis> A full nox-review took a bit more than a full night
<adisbladis> GiGa: Please pastebin your log output
<adisbladis> notgne2: Btw, how are you testing vulkan? I can try the same thing on my machine.
mexisme has quit [Ping timeout: 276 seconds]
<GiGa> adisbladis: one sec
<notgne2> vulkaninfo prints `/build/source/vulkaninfo/vulkaninfo.c:5884: failed with VK_ERROR_INITIALIZATION_FAILED`, vkcube SIGSEGVs, and DX games on Wine complain about missing GPU/drivers
chloekek has quit [Ping timeout: 265 seconds]
<notgne2> mass rebuilds probably not the best idea for me atm, I have 5 pretty capable machines online + my PC itself, but my HDD and internet are really slow so large builds still can be a nightmare
<adisbladis> notgne2: At least vulkaninfo works on my gpu (I'm on mesa 19.2.3, RX 5700XT)
<adisbladis> notgne2: Have you enabled firmware?
<{^_^}> [nixpkgs] @baldo opened pull request #73108 → steam: Add libva to chrootenv → https://git.io/JeVaA
<adisbladis> notgne2: hardware.enableRedistributableFirmware = true;
mexisme has joined #nixos
<notgne2> I don't right now but think I might've done before (I had enableAllFirmware but turned it off when facetime drivers started failing to pull)
<notgne2> I'll try that now
<GiGa> adisbladis: Due you just want the pertinant errors or the whole lot, as the latter will take ages in screen!
<GiGa> ?
<adisbladis> GiGa: Which derivations are failing?
<GiGa> adisbladis: Paste is here: https://pastebin.com/P3fznVTx
mexisme has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
Ariakenom has joined #nixos
<Miyu-saki> sde
<Miyu-saki> Whoops, wrong window.
<GiGa> Miyu-saki: Was wondering if that was "software defined environment" or something :)
<Miyu-saki> :P
mexisme has quit [Ping timeout: 246 seconds]
<GiGa> adisbladis: Interestingly I've just run "nixos-rebuild boot" and it has built OK. I made a few tweaks to the config, just looking at the differences.
<GiGa> Stopped installing packages gnome3.five-or-more, jetbrains.idea-community, smartmontools and set gnome-documents.enable = false
<GiGa> I wonder if the system was having problems building ideacommunity and Android Studio, as they're both practically the same.
mexisme has joined #nixos
jgt1 has quit [Ping timeout: 245 seconds]
<GiGa> Going to reboot and see how this update really went.
mexisme has quit [Ping timeout: 250 seconds]
<GiGa> Oh, I took out XFCE too, as I prefer Gnome 3
kenran has joined #nixos
kenran has quit [Client Quit]
<{^_^}> [nixpkgs] @aanderse closed pull request #72961 → nixos/awstats: drop module → https://git.io/Jeaob
<asymmetric> is there a way to override a module's attribute? e.g. modifying the ExecStart ?
mexisme has joined #nixos
chloekek has joined #nixos
mananamenos has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @risicle to nixpkgs-19.03-darwin « keepalived: patch CVE-2018-19115 (PR #72278) »: https://git.io/JeV2b
<kumikumi> I'm confused by this whole "Using nix in c/c++ development" thing. If I use nix-shell to manage my dependencies, how do I get my IDE to recognise them and stop complaining about my imports?
<ar> asymmetric: tried this? systemd.services.SERVICE_NAME.serviceConfig = { ExecStart = ""; };
<{^_^}> [nixpkgs] @bjornfor merged pull request #72567 → lttng-tools: 2.10.8 -> 2.11.0 → https://git.io/Jegzp
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « lttng-tools: 2.10.8 -> 2.11.0 »: https://git.io/JeVVw
<{^_^}> [nixpkgs] @doronbehar closed pull request #73105 → sequoia: 0.10.0 -> 0.11.1 → https://git.io/JeVau
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4beb94ccc00 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
GiGa has quit [Quit: Rebooting...]
<asymmetric> ar: the problem is that the attribute is then defined twice, once by SERVICE_NAME.enable and once by that line, i think
mexisme has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
<Scriptkiddi> Hey anybody an idea on fixin this issue "error: getting attributes of path '/nix/store/ajjdzjn42p0mr5b0m6fbx60mskxc70cv-unpack-channel.sh': No such file or directory", running nix-store --verify --repair produces "path '/nix/store/ajjdzjn42p0mr5b0m6fbx60mskxc70cv-unpack-channel.sh' disappeared, but it still has valid referrers!
<Scriptkiddi> warning: cannot repair path '/nix/store/ajjdzjn42p0mr5b0m6fbx60mskxc70cv-unpack-channel.sh'"
<{^_^}> [nixpkgs] @bjornfor merged pull request #72532 → kanboard: 1.2.10 -> 1.2.11 → https://git.io/JeVVK
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « kanboard: 1.2.10 -> 1.2.11 »: https://git.io/JeVV6
mexisme has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #72380 → tpm2-tools: 4.0 -> 4.0.1 → https://git.io/JezQw
<{^_^}> [nixpkgs] @bjornfor pushed commit from @lschuermann to master « tpm2-tools: 4.0 -> 4.0.1 »: https://git.io/JeVVi
<{^_^}> [nixpkgs] @bjornfor merged pull request #72318 → fmsynth: change build so it produces sound again → https://git.io/Jeznw
<{^_^}> [nixpkgs] @bjornfor pushed commit from @magnetophon to master « fmsynth: change build so it produces sound again »: https://git.io/JeVVX
ddellacosta has quit [Ping timeout: 240 seconds]
GiGa has joined #nixos
GiGa has joined #nixos
GiGa has quit [Changing host]
knupfer has quit [Ping timeout: 245 seconds]
<GiGa> Everything seems to be working so far :)
mexisme has quit [Ping timeout: 276 seconds]
asymmetric has quit [Ping timeout: 240 seconds]
<notgne2> I seem to have met with a problem, I configured a remote buildmachine, but now rebuilds crash with an `FD_SETSIZE` related error
mexisme has joined #nixos
<notgne2> removing the buildmachine would require a rebuild
<notgne2> I thought I was being clever trying to rebuild with `--build-host` set to local, but that errors as the primary shell is fish, so it errors with `fish: Unsupported use of '='. To run 'nix-store' ...etc...`
Thra11 has quit [Ping timeout: 240 seconds]
<GiGa> adisbladis: thanks for your assistance
mexisme has quit [Ping timeout: 250 seconds]
ddellacosta has joined #nixos
kleschenko has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
mexisme has joined #nixos
<DigitalKiwi> Can you do; --option builders ''
kleschenko has quit [Read error: Connection reset by peer]
silver has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
Thra11 has joined #nixos
mananamenos has quit [Remote host closed the connection]
mexisme has joined #nixos
ddellacosta has quit [Remote host closed the connection]
jgt1 has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 6 commits to nixpkgs-19.09-darwin: https://git.io/JeVwL
jgt1 has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bae4d7daa01 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
sb0 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @lejonet opened pull request #73109 → nixos/ceph: Clarify comments in tests and add source reference for the bootstraping method → https://git.io/JeVw3
ris has joined #nixos
mexisme has joined #nixos
<notgne2> DigitalKiwi: looks like that worked, thanks
<DigitalKiwi> Nice
shabius has quit [Ping timeout: 276 seconds]
chloekek has quit [Ping timeout: 240 seconds]
Soo_Slow has joined #nixos
__monty__ has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-19.09: https://git.io/JeVwW
mexisme has joined #nixos
chris__ has joined #nixos
<silver_hook> After updating to 19.09 I get this bug again: https://github.com/NixOS/nixpkgs/issues/1053
<{^_^}> #1053 (by silverhook, 6 years ago, closed): Akonadi should include MySQL as BuildInput
<chris__> Hello! Is there a way I can get the the nixpkgs commit sha used for a previous generation?
<srhb> chris__: Depends exactly how you got that nixpkgs. /nix/var/nix/profiles/system-$somegeneration-link/sw/bin/nixos-version
<srhb> That would work in most ways on NixOS
<chris__> srhb: So that gives me a string like "19.09.789.7952807791d" - how do I reference this to a commit sha?
<tilpner> 7952807791d is a commit sha prefix
<tilpner> => 7952807791daf3c60c99f10f371f732d897e3de8
<chris__> Oh right! Great thats all good then. Thanks srhb, tilpner. When you said "depends on how you got that nixpkgs" - anything worth mentioning here?
mexisme has quit [Ping timeout: 252 seconds]
<chris__> My aim is to just know that I could build a nix expression with that commit and have it "work" as it does now, in the "future".
<tilpner> You may want to pin your nixpkgs manually, instead of using channels
<srhb> chris__: say you just had a flat tarball unpacked somewhere. Nixos would have no way to know what commit was responsible for that.
mexisme has joined #nixos
<tilpner> That way, you can use git to manage the nixpkgs version, and not rely on having the old generations still present
<srhb> And yes, pinning is great. :)
mibbliosa has joined #nixos
<chris__> Makes sense, that should be fine then. And yes, I am looking to pin it - just needed to know which commit to reference.
<mibbliosa> Hi. I have a shell.nix for haskell https://pastebin.com/6JVRbMTg But I cannot get cabal new-repl to work because it hangs up on "<command line>: can't load .so/.DLL for: libz.so (libz.so: cannot open shared object file: No such file or directory)"
jgt1 has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
<mibbliosa> Any clues on how to go about fixing this would be appreciated
<chris__> mibbliosa: in your nix shell what is the output of `ldd $(which cabal)`?
aveltras has joined #nixos
<mibbliosa> I see a `libz.so.1 => /nix/store/3bfzi6w3067hbdyl15vmypjn4q6az9j6-zlib-1.2.11/lib/libz.so.1`
mexisme has joined #nixos
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
<tilpner> monotux: Hey, you can replace your entire systemd.timers dance with systemd.services.<name>.startAt
<mibbliosa> The error used to come up when building digest. But that is going after I added zlib to build inputs. But package called `JuicyPixels-3.3.4..` is giving me trouble
<{^_^}> [nixpkgs] @endocrimes opened pull request #73110 → nixos/calibre-server: Add address configuration → https://git.io/JeVwr
<chris__> mibbliosa: can you pastebin your default.nix?
<tilpner> monotux: And you only need to reference python3 in either path or ExecStart, not both
mexisme has quit [Ping timeout: 276 seconds]
<mibbliosa> chris__: default.nix https://pastebin.com/KZENT58W and cabal file: https://pastebin.com/zGAEnKF5
asymmetric has joined #nixos
<isgy[m]> does anyone have experience with installing nixos on a linode vps?
<isgy[m]> I'm having issues with networking
<isgy[m]> configuration.nix: https://hastebin.com/jucozayosu.shell
mexisme has joined #nixos
<chris__> isgy[m]: on hetzner I needed to set a default gateway + ip address manually. https://discourse.nixos.org/t/nixos-on-hetzner-cloud-servers-ipv6/221/2
asymmetric has quit [Ping timeout: 240 seconds]
<chris__> mibbliosa: could you try `nix-shell -pure`?
<chris__> mibbliosa: the following works for me: (I replaced default.nix to just reference hoogle) https://pastebin.com/raw/HN8vRtJ3
mexisme has quit [Ping timeout: 246 seconds]
Unode has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
<mibbliosa> chris__: thanks for checking. let me give a try with `--pure`
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixos-19.09-small: https://git.io/JeVwi
mexisme has quit [Ping timeout: 276 seconds]
<chris__> mibbliosa: also mentioned here https://github.com/commercialhaskell/stack/issues/2130 is that you can try adding `zlib.dev` and `zlib.out`.
<{^_^}> commercialhaskell/stack#2130 (by jagajaga, 3 years ago, closed): Stack + nix error
Unode has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bae4d7daa01 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
mexisme has joined #nixos
Unode has quit [Ping timeout: 240 seconds]
<mibbliosa> chris__: `--pure` didn't seem to fix it either. I think it has something to do with my hakyll dependency. Since stack has atleast tried to solve thise issue, I'll setup stack and give another shot.
<mibbliosa> thanks for your help chris__
<{^_^}> [nixpkgs] @aanderse closed pull request #72626 → nixos/httpd: rewrite module to support overridable virtual hosts → https://git.io/Jeg1x
<chris__> mibbliosa: no worries. good luck!
lunik1213 has joined #nixos
<ivegotasthma> how do I develop with golang on nixos?
domogled has joined #nixos
szicari has quit [Ping timeout: 268 seconds]
Unode has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
mexisme has joined #nixos
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
GiGa has quit [Quit: Leaving]
mibbliosa has quit [Remote host closed the connection]
iyzsong has quit [Read error: Connection reset by peer]
jmeredith has quit [Quit: Connection closed for inactivity]
mexisme has quit [Ping timeout: 252 seconds]
lunik1213 has quit [Quit: :x]
<Izorkin> ,locate minix/config.h
<{^_^}> Couldn't find in any packages
<{^_^}> [nixpkgs] @FRidh merged pull request #73065 → cfn-lint: propagate setuptools → https://git.io/JeVc4
<{^_^}> [nixpkgs] @FRidh pushed commit from @rtimush to staging « cfn-lint: propagate setuptools »: https://git.io/JeVwA
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @risicle to nixos-19.03-small « keepalived: patch CVE-2018-19115 (PR #72278) »: https://git.io/JeV2b
mariusz-kowalski has quit [Ping timeout: 252 seconds]
mariusz-kowalski has joined #nixos
Kritnich has quit [Quit: Bye bye.]
Kritnich has joined #nixos
mexisme has joined #nixos
hoijui has quit [Quit: Leaving]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4beb94ccc00 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @phi-gamma opened pull request #73112 → mpd: 0.20.23 -> 0.21.16 → https://git.io/JeVwh
<{^_^}> [nixpkgs] @aanderse opened pull request #73113 → nixos/httpd: support overridable virtual hosts → https://git.io/JeVwj
wikiemol has joined #nixos
<wikiemol> Hello, I am going through the Nix Pills tutorial here https://nixos.org/nixos/nix-pills/enter-environment.html, and I tried to follow the step of running `nix-env -i man` but I get the error `error: selector 'man' matches no derivations`, what could be going on?
<wikiemol> Does man not exist in the default channel anymore?
<wikiemol> `nixpkgs https://nixos.org/channels/nixpkgs-unstable` is what I get when I run nix-channel --list
<joko> Hey, is there a way to persist (as in write in configuration.nix) an instantiated systemd service? So, there is a myservice@.service file and I can do "systemctl enable myservice@myarg.service", but I would like to persist also
<chris__> ,locate bin/man
<{^_^}> Found in packages: man_db, mandoc, busybox, man-old, plan9port
<chris__> wikiemol: try one of the above :)
<wikiemol> oh! Cool thanks! Is there a command line equivalent of that locate command?
<chris__> joko: what do you mean by instantiated systemd service?
asymmetric has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<chris__> wikiemol: https://github.com/bennofs/nix-index also you could have a look at https://github.com/nix-community/awesome-nix for more nix stuff
<joko> wikiemol: would nix-env -iA nixpkgs.man work?
<wikiemol> chris__ Thank you!
<wikiemol> joko I am not sure, I am just learning Nix. But nix-env -i mandoc worked for me!
<chris__> joko: if you just want to write a unit file https://www.reddit.com/r/NixOS/comments/4gj8bc/how_to_writing_a_systemd_service/
<andi-> ,locate security
<{^_^}> Found in packages: h2, lxc, grpc, haxe, otpw, psol, ruby, sssd, zulu, chaps, jruby, linux, samba, vmime, zulu8, framac, gitlab, hadoop, shishi, bootjdk, dbeaver, fprintd, jre.jre, jupyter, ndn-cxx, openjdk, openpam, pam_u2f, pam_usb, shaarli, snapper, systemd, duo-unix, ecryptfs, haxe_3_2, pam_krb5, pam_ldap, ruby_2_3, ruby_2_4, ruby_2_6, cassandra, cgmanager, libcgroup, linux-pam, linux.dev, logstash5, openjdk11, pam_mount, pam_pgsql, and 78 more
mexisme has joined #nixos
<joko> chris__: right, there is a way to manually rewrite this, I was only wondering how one can enable declaratively blabla@.service in NixOS
leah2 has quit [Ping timeout: 250 seconds]
<chris__> joko: you just enable it like any other systemd service, unless I don't understand your question? `systemd.service.example.enable = true`
<joko> chris__: that's not right, but anyway, thanks for the effort ^_^
<joko> The enable attr is typically part of a NixOS service, not a systemd one
mexisme has quit [Ping timeout: 246 seconds]
<joko> In systemd we can have service files with the @ char in the end, that's a service template
mexisme has joined #nixos
<chris__> joko: Yes, but would that not always be available if you're doing ... Ohh I see - yes I'm not sure then.
<joko> Now I was wondering how to declaratively enable such services in NixOS
leah2 has joined #nixos
<joko> chris__: no worries and thanks again ;)
civodul has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
mexisme has quit [Ping timeout: 250 seconds]
glasserc has joined #nixos
LysergicDreams has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
FRidh has joined #nixos
mexisme has joined #nixos
chris__ has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @globin merged pull request #72794 → qtwebengine: add patch for CVE-2019-13720 → https://git.io/Je2r8
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeVrm
mexisme has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ttuegel merged pull request #71745 → libsForQt5.phonon: 4.10.3 -> 4.11.1 → https://git.io/Je0ei
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JeVrc
<{^_^}> [nixpkgs] @ttuegel merged pull request #71986 → plymouth: Add extra config field → https://git.io/JeEUc
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JeVrW
mexisme has joined #nixos
vika_nezrimaya has quit [Ping timeout: 276 seconds]
jgeerds_ has joined #nixos
chris__ has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<betaboon> is it possible that efi-vars are not available in installer-tests ? oO
mexisme has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
<chris__> Is there a way I can reference an executable path from nixpkgs package? Currently I have BSD netcat installed as well as GNU netcat. How can I reference either of them from the command line (currently it seems to default to BSD netcat)?
blahaj[m] has joined #nixos
<chris__> It seems I could use `nix repl` for this - but I'm not sure how to use nix repl un-interactively?
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72483 → [r19.09] perlPackages.libapreq2: add patch for CVE-2019-12412 → https://git.io/Jegnc
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @risicle to release-19.09 « perlPackages.libapreq2: add patch for CVE-2019-12412 »: https://git.io/JeVrK
mexisme has quit [Ping timeout: 250 seconds]
<infinisil> chris__: You could use `nix run nixpkgs.foo` to put foo in the PATH before everything else
mexisme has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/JeVrD
<{^_^}> [nixpkgs] @vcunat merged pull request #71401 → unzip: CVE-2019-13232 → https://git.io/JeBo0
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 6 commits to nixos-19.09: https://git.io/JeVwL
<chris__> infinisil: that still seems to reference the gnu netcat `nixos.necat-gnu` instead of the bsd one `nixos.netcat`?
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/bae4d7daa01 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<infinisil> chris__: Oh, the gnu one is "netcat"
<infinisil> Oh no
<infinisil> never mind
<infinisil> They're both "netcat"
<infinisil> Or not
<infinisil> chris__: netcat has the binary "nc", whereas netcat-gnu has both nc and netcat
<infinisil> So you should be able to do `nix run nixpkgs.netcat -c nc`
<chris__> infinisil: Ahh great that works, thanks!
andymandias has quit [Ping timeout: 246 seconds]
andymandias has joined #nixos
m0rphism has quit [Ping timeout: 268 seconds]
mexisme has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
m0rphism has joined #nixos
<red[m]> This is perhaps a silly question - but can hydra be used as a build system to build software for "normal"™ Linux distributions, windows et al?
<red[m]> ie - could it replace circleci or other build systems like that?
<chris__> red[m]: There is also https://hercules-ci.com/ though I'm not sure if it's related to hydra
<{^_^}> [nixpkgs] @bjornfor merged pull request #68476 → editorconfig-checker: init at 2.0.2 → https://git.io/JemcW
<{^_^}> [nixpkgs] @bjornfor pushed commit from @uri-canva to master « editorconfig-checker: init at 2.0.2 »: https://git.io/JeVoL
mexisme has quit [Ping timeout: 245 seconds]
<red[m]> thanks, I'll take a look
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72697 → xbps: 0.57 -> 0.57.1 → https://git.io/JegFd
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « xbps: 0.57 -> 0.57.1 »: https://git.io/JeVom
detran has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 16 commits to nixos-unstable-small: https://git.io/JeVo3
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/07b407743de (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72686 → verbiste: 0.1.46 -> 0.1.47 → https://git.io/Jegdg
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « verbiste: 0.1.46 -> 0.1.47 »: https://git.io/JeVon
endformationage has joined #nixos
mexisme has joined #nixos
<{^_^}> [nix] @Ma27 opened pull request #3216 → Add an optional `sha256` parameter to `builtins.fetchGit` → https://git.io/JeVo8
chris__ has quit [Quit: Lost terminal]
m0rphism has quit [Ping timeout: 265 seconds]
skrzyp has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72680 → teamviewer: 14.6.2452 -> 14.7.1965 → https://git.io/Jeg5C
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « teamviewer: 14.6.2452 -> 14.7.1965 »: https://git.io/JeVoB
mexisme has quit [Ping timeout: 246 seconds]
<skrzyp> Topic seems to be cut in half: "|| For best support,"
<Yaniel> indeed
m0rphism has joined #nixos
laudecay has joined #nixos
<wikiemol> skrzyp yeah I was wondering about that
mexisme has joined #nixos
philr has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 250 seconds]
<tilpner> worldofpeace: ^ matrix bridge bug?
chloekek has joined #nixos
mexisme has joined #nixos
<wedens[m]> nickname?
<clever> skrzyp: i checked the logs, and it never had anything after that
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @ktor to master « bcompare: 4.3.1.24438 -> 4.3.2.24472 »: https://git.io/JeVoy
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72614 → bcompare: 4.3.1.24438 -> 4.3.2.24472 → https://git.io/JegPL
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72563 → mbpfan: 2.1.1 -> 2.2.0 → https://git.io/JegzX
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « mbpfan: 2.1.1 -> 2.2.0 »: https://git.io/JeVoH
<Izorkin> how to need to merge PR #70924 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70924 (by Izorkin, 4 weeks ago, open): mariadb: remove development components
Supersonic has quit [Ping timeout: 276 seconds]
chiefgoat has joined #nixos
<wedens[m]> Izorkin: ping mariadb maintainers?
<Izorkin> no reaction
<Izorkin> thoughtpolice: ping
<{^_^}> [nixpkgs] @c0bw3b closed pull request #72568 → mopidy-iris: 3.41.1 -> 3.41.2 → https://git.io/Jeggn
aveltras has quit [Quit: Connection closed for inactivity]
Supersonic has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « mergerfs: 2.28.2 -> 2.28.3 »: https://git.io/JeVop
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72572 → mergerfs: 2.28.2 -> 2.28.3 → https://git.io/Jeggd
mexisme has quit [Ping timeout: 246 seconds]
<asymmetric> sorry for repeating my question, but i had to disconnect
<asymmetric> does anyone know if i can override a module's implementation, e.g. the ExecStart of a systemd service
<infinisil> asymmetric: Yeah, you can assign to it with mkForce
mexisme has joined #nixos
<infinisil> E.g. systemd.services.foo.serviceConfig.ExecStart = lib.mkForce "bla"
m0rphism has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @risicle opened pull request #73115 → [r19.03] jhead: add patches for CVE-2019-1010301, CVE-2019-1010302 → https://git.io/JeVKJ
acarrico has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JeVwW
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/2ce3a3d659d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
mexisme has quit [Ping timeout: 252 seconds]
<wedens[m]> Izorkin: github is less ephemeral media then irc
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeVK3
<{^_^}> [nixpkgs] @globin merged pull request #72627 → esphome: 1.13.6 -> 1.14.1 → https://git.io/JegMe
<{^_^}> [nixpkgs] @risicle opened pull request #73116 → [r19.09] gdal: add patch for CVE-2019-17545 → https://git.io/JeVKs
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
drakonis_ has joined #nixos
mexisme has joined #nixos
<asymmetric> infinisil: and can i "patch" it, as in, for example, prepend the existing ExecStart with something else?
dingenskirchen1 is now known as dingenskirchen
<infinisil> asymmetric: Nah
chloekek has quit [Ping timeout: 240 seconds]
<skrzyp> Anyway... I'm considering doing a clean NixOS install as Dom0-esque KVM hypervisor on my desktop, with several VMs having PCIe resources passed through. Has anyone tried that before?
<infinisil> asymmetric: Oh you could use ExecStartPre
<infinisil> asymmetric: Or easier with systemd.services.foo.preStart
<asymmetric> infinisil: i actually need to run whatever the ExecStart does in a different network namespace
<infinisil> Not exactly the same, but might be good enough
drakonis has quit [Ping timeout: 276 seconds]
<asymmetric> so i need to patch/override the ExecStart pre
<asymmetric> *without the pre
<skrzyp> (I've got the PCIe passthrough part already running on this machine, but I'm more interested in NixOS "fitting" in that case)
<dongcarl> Hi all, I'm wondering if someone can help me understand the 4th line here: https://github.com/fort-nix/nix-bitcoin/blob/master/shell.nix#L4
<dongcarl> what does "with import" do? and also, why the `{ }`?
<infinisil> asymmetric: Hm yeah can't do that if the module doesn't support it. Will have to change the whole line, or replace the module
<clever> skrzyp: https://gist.github.com/cleverca22/c9ba411b7dd251c781d426dea4520dc0 every time that string has been in the topic, there has never been anything after it
mexisme has quit [Ping timeout: 276 seconds]
<lordcirth> Could just be character limit? They all seem the same length
<clever> dongcarl: import is a function that will just import a nix expression, and return whatever was inside that file
<asymmetric> infinisil++
<{^_^}> infinisil's karma got increased to 158
<clever> lordcirth: yeah, but the problem has been there for a month
<adisbladis> dongcarl: `with` scopes an attribute set
wikiemol has quit [Remote host closed the connection]
<dongcarl> I'm sorry but I'm still not understanding, let me see if I can ask some good questions
<adisbladis> dongcarl: re the `{ }` nixpkgs takes an attribute set as an argument
<skrzyp> clever: And I've joined right now, after leaving in 03.2018
m0rphism has joined #nixos
<adisbladis> dongcarl: Let's add some parens for clarification :)
mexisme has joined #nixos
<dongcarl> adisbladis: so nixpkgs is a function that takes an attribute set as an argument?
<adisbladis> `import nixpkgs { }` is equivalent to `(import nixpkgs) { }`
<adisbladis> dongcarl: Yes
<adisbladis> And in turn returns an attrset with packages
<dongcarl> so wouldn't it be `import (nixpkgs {})`?
<adisbladis> dongcarl: Well, you have to import the function before you can call it :)
<clever> dongcarl: nixpkgs is a path, not a function
<adisbladis> Oh, I'm confusing myself
<infinisil> > import (<nixpkgs> {})
<{^_^}> attempt to call something which is not a function but a path, at (string):271:9
<infinisil> > (import <nixpkgs>) {}
<{^_^}> { AAAAAASomeThingsFailToEvaluate = <CODE>; AMB-plugins = <CODE>; AgdaSheaves = <CODE>; AgdaStdlib = <CODE>; CoinMP = <CODE>; DisnixWebService = <CODE>; EBTKS = <CODE>; EmptyEpsilon = <CODE>; FIL-plugi...
dansho has quit [Ping timeout: 265 seconds]
<infinisil> Function application is left-associative
<adisbladis> ^
<clever> infinisil: now you made the bot scream, lol
<infinisil> Heh
<lordcirth> AAAAAASomeThingsFailToEvaluate, lel
<dongcarl> okay so `<nixpkgs>` is a path...
<dongcarl> But I know we import attribute sets
dansho has joined #nixos
<lordcirth> And you call 'import' with that path as an argument, and import returns the contents you want?
<dongcarl> so Why are we `import <nixpkgs>`ing?
<clever> dongcarl: to bring all of nixpkgs into scope
<dongcarl> okay, so what's the "type of `(import <nixpkgs>)`?
<clever> dongcarl: function
<dongcarl> Hmmm maybe I should look at the code for nixpkgs
mexisme has quit [Ping timeout: 250 seconds]
<clever> dongcarl: <nixpkgs> refers to this file, which just returns whatever was in impure.nix
<adisbladis> dongcarl: I suggest reading https://github.com/tazjin/nix-1p , especially https://github.com/tazjin/nix-1p#with-statements and the next section
<clever> dongcarl: and impure.nix defines a function
mexisme has joined #nixos
<clever> which accepts localSystem, system, platform, crossSystem, config, overlays, and crossOverlays
<dongcarl> okay so the `import` statement works with both paths and attrs, and if it's a path, it'll transform it into an attr by reading <path>/default.nix?
<clever> dongcarl: import just parses whatever was in the given file, and returns that
<{^_^}> [nixpkgs] @doronbehar opened pull request #73117 → khard: 0.14.0 -> 0.15.1 → https://git.io/JeVK2
<dongcarl> Okay I see...
<dongcarl> I think I'm starting to get it
<dongcarl> I'll read the nix-1p document
<dongcarl> and maybe come back
<dongcarl> Thanks for your patience!
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
blaggacao has joined #nixos
Supersonic112 is now known as Supersonic
mexisme has quit [Ping timeout: 246 seconds]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
<dongcarl> whitespace has no significance except in a multi-line strings right?
<adisbladis> dongcarl: Correct
<{^_^}> [nixpkgs] @vbgl opened pull request #73118 → ocamlPackages.facile: 1.1.3 → 1.1.4 → https://git.io/JeVKi
dsx has joined #nixos
<blaggacao> I'm planning to switch to nixos to manage all my company's local machines and servers. Anyone has experience with it?
<blaggacao> - I can't really map out the implications of LDAP user Management vs git-bound declarative user management...
<blaggacao> - How would I manage ssh keys? Also for example to access a company cache server...
<blaggacao> How is nix support for Wayland / sway?
<blaggacao> As of to day, is it easy - or at least - feasible to manage a Raspberry Pi 3+ thin client farm (Call Center)?
<clever> blaggacao: 3 main ways you could manage a farm of those
<clever> blaggacao: 1: just re-image the sd card when changes happen, nix can build the whole .img file
<clever> blaggacao: 2: use nixops to deploy changes to each pi over the network
<clever> blaggacao: 3: network boot them all from a single image!
mexisme has joined #nixos
<clever> then you can just swap the image file out, hit reboot, and your updated
chiefgoat has quit [Quit: ZNC 1.7.5-rc1 - https://znc.in]
chiefgoat has joined #nixos
<blaggacao> clever: network boot is kind of slow and might churn the network. I like the nixops approach!
<clever> blaggacao: the network boot i was thinking of, downloads the entire image on bootup, and then runs from ram
<clever> so it only churns on startup or reboot
<clever> you could also have a variant, that will re-flash its own SD card, over the network, on bootup, so the card acts like a cache
<blaggacao> Yep I've played with it. It takes some extra seconds to boot and - I couldn't test - but might be problematic if 200 people all startup at once...
<clever> ive also had some issues with the boot rom netboot code, i suspect it doesnt check checksums
<lordcirth> If you do go with network boot, I would experiment with trimming the image
<lordcirth> Every package removal could add up at scale
<blaggacao> Reflashing over the network is an interesting idea :-)
<clever> blaggacao: oh yeah, and there is not-os, ive gotten the image down to ~40mb
<blaggacao> Ok, one thing is true: network boot might erase the SD degrading problem...
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @risicle to nixos-19.03 « keepalived: patch CVE-2018-19115 (PR #72278) »: https://git.io/JeV2b
<clever> and i do have it booting on rpi's, but currently without X11
mexisme has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #72878 → neomutt: add autocrypt → https://git.io/JeaZC
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeVK7
<blaggacao> clever: thanks for the link :-)
<kumikumi> 18:02 < blaggacao> Ok, one thing is true: network boot might erase the SD degrading problem...
<kumikumi> whoopsie
<kumikumi> (mouse copy paste accident)
<clever> blaggacao: with some models of rpi, the boot rom cant fully network boot on its own, but if you make an SD card with ONLY bootcode.bin and nothing else, that can patch the boot rom bugs, and the card never accepts any writes
<clever> the rpi4 also added an SPI flash chip, to solve that problem for good
<dongcarl> So after reading the nix-1p... I have more questions: I understand now that in https://github.com/fort-nix/nix-bitcoin/blob/master/shell.nix#L4, we brought all of `((import <nixpkgs>) {})` into scope... So the usage of `stdenv` and `pkgs` later in this file is because we did this?
<clever> so you can now update the boot code, without having to keep an SD card around
<blaggacao> I don't have the exact reference, but I still got 20 Pi3 in stock which do network boot as they should setting the flag on the SOC
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/4beb94ccc00 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<dongcarl> the direct usage is possible because we did this?
mexisme has joined #nixos
<clever> blaggacao: with the rpi3, you need an entry in config.txt on the sdcard, to enable network boot
<clever> blaggacao: and once enabled, it cant be disabled, but it will still support booting from sdcard
<clever> its mostly a security thing, if you turn it on after the card fell out, it will netboot, and you may not trust the local network
<blaggacao> By any chance does nix have a built-in nix-serve like component to serve those images on TFTP?
<blaggacao> That would be ridiculously convenient :-)
<clever> blaggacao: one min
<clever> nix-env -p /nix/var/nix/profiles/per-user/root/rpi3-netboot -f not-os/release.nix -A rpi_image -I nixpkgs=./nixpkgs/ --set
<clever> blaggacao: this will build whatever is in .rpi_image of release.nix, and then set rpi3-netboot to point to the result
<clever> blaggacao: it basically behaves the same as `nixos-rebuild switch`
<clever> blaggacao: i then have a symlink in my tftp root dir, that points to rpi3-netboot
<ilya-fedin> Is it possible to make package builded with crystal.buildCrystalPackage don't depend on crystal? It is just a compiler and doesn't need after packgae compilation
<clever> so when an rpi netboots, it grabs from the last build
<clever> blaggacao: now, the real magic, is that `nix-env -p /nix/var/nix/profiles/per-user/root/rpi3-netboot --rollback` can do a rollback!
<clever> blaggacao: so if i brick the netboot image, its a single command to instantly un-brick it
<clever> ilya-fedin: use `nix-store -qR ./result` and `nix why-depends ./result /nix/store/something` to figure out what it depends on, and why
<blaggacao> Oh, nice... I don't fully understand yet. But that's queued for an in-depth look.
mexisme has quit [Ping timeout: 276 seconds]
<blaggacao> clever: Do you serve just one image or can you serve on a per Mac basis?
<clever> blaggacao: behind the scenes, nixos-rebuild is just a shell script that runs `nix-env -p ... foo.nix -A bar --set`
<clever> [root@router:/tftproot]# ls -ltrh
<clever> lrwxrwxrwx 1 root root 48 Dec 11 2016 9080d9b6 -> /nix/var/nix/profiles/per-user/root/rpi3-netboot
<clever> lrwxrwxrwx 1 root root 48 Apr 7 2019 55a4377c -> /nix/var/nix/profiles/per-user/root/rpi3-netboot
<clever> blaggacao: the boot rom in the rpi, will search for a directory named after its mac addr
<clever> and i have symlinks for some macs, pointing to the rpi3-netboot profile
<clever> so i could just make a 2nd profile, and point other macs to that other profile
LysergicDreams has quit [Ping timeout: 240 seconds]
<clever> or, the nix expresion in the profile, could generate a directory for every mac in the setup, and manage them all as one unit
<blaggacao> Top
<blaggacao> Before getting deeper, I have to cache up on this in a little exercise later
<clever> another neat thing, is that if the rpi boot rom tries to netboot, it will query the tftp server for all the files
<clever> that reveals, what files its searching for
<clever> and some of those files also work on the sd card, and arent documented
<clever> so you can abuse the tftp boot, as a way to see what the bootrom is thinking, and find hidden features
<blaggacao> :-)
LysergicDreams has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
<blaggacao> That would be revers engineering broadcom's SoC? :-
<clever> [root@router:/tftproot]# ls -ltrh 9080d9b6/root.squashfs -L
<clever> -r--r--r-- 4 root root 41M Jan 1 1970 9080d9b6/root.squashfs
<clever> blaggacao: partially, your only getting a trace of what filenames it tries to read
drakonis_ has joined #nixos
<clever> blaggacao: i also have a PR open to add the entire VC4 toolchain (the gpu side of things) to nixpkgs, which can disassembly the gpu firmware
<clever> the rules say you cant share the boot rom, but nothing stops you from reading it, so you could always dump your own boot rom, and dis-assemble it
<blaggacao> clever: VC4 for RPi3? Or 4 only?
<clever> VC4 is the GPU side for all modems
<clever> models*
<blaggacao> Ah but there was some driver development by anholt for Wayland support
mexisme has joined #nixos
<clever> wayland could be done entirely on the arm side, using the dispmanx api
<clever> VC4 is more if you want to replace the gpu firmware entire with opensource
<blaggacao> Have you seen the broadcom's effort done by Anholt?
<clever> nope
<clever> when you first power on, the pi, it begins running the boot rom on the VC4 cpu
<clever> that loads bootcode.bin into the L2 cache (128kb of sram)
<clever> that then enables the dram, and loads start.elf (another VC4 binary)
<clever> that then loads kernel.img, and turns the ARM core(s) on
<ilya-fedin> clever: https://i.imgur.com/9AKUuwj.png
<ilya-fedin> What does it mean?
<clever> ilya-fedin: somewhere inside the binary of that file, is a path to the library, youll want to run strings on the binary to get the full path, crystal (the compiler) may need to be modified to be split output, so the libs are in their own output
noudle has joined #nixos
<clever> blaggacao: i was once writing v3d drivers for the rpi, they ran entirely from the arm side of things
<clever> blaggacao: it was mostly just a matter of setting a config.txt flag to disable start.elf from touching v3d, and then writing linux drivers to poke the right registers
mexisme has quit [Ping timeout: 245 seconds]
<clever> blaggacao: vc4 is a whole new beast, that ive only just recently started to play with
<blaggacao> That goes well beyond my understanding. Urgs.
<clever> blaggacao: basically, v3d is just a 3d rendering core, its highly specialized at turning textures and vertexes into 3d renderings
<blaggacao> Just to confirm: currently sway/Wayland wouldn't work on a nixos Pi3 using standard packages?
<clever> blaggacao: but vc4 is a dual-core cpu, that is heavily specialized into vector operations
<clever> blaggacao: ive not looked into the wayland stuff, so i dont know that
<blaggacao> I can tell:
<blaggacao> - I made it run on raspbian
<blaggacao> - I failed on arch linux
<blaggacao> Not sure why? and why?
acarrico has quit [Ping timeout: 245 seconds]
<ilya-fedin> clever: As far as I can see in strings, in the binary, path to the source files of the crystal libraries. It seems to be something like debug symbols. Can I somehow make nix ignore this?
<clever> ilya-fedin: you could try running strip on the binary, in a postBuild hook
mexisme has joined #nixos
lordcirth__ has joined #nixos
<blaggacao> clever: colemickens has some bleeding edge stuff here: https://github.com/colemickens/nixpkgs-wayland
<blaggacao> (if you are interested)
<clever> blaggacao: https://github.com/NixOS/nixpkgs/pull/72657 is where ive been adding vc4 support
<{^_^}> #72657 (by cleverca22, 6 days ago, open): initial implementation of vc4 cross-compile
<blaggacao> Copy that
lordcirth has quit [Ping timeout: 276 seconds]
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> blaggacao: there is a hello world example in the comments, which will print "hello world!" out the serial port, without any closed-source firmware (other then the boot rom)
<{^_^}> [nixpkgs] @MetaDark opened pull request #73119 → nodePackages.typescript-language-server: add typescript dependency → https://git.io/JeV6R
mexisme has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @robin-engineml opened pull request #73120 → nix-prefetch-docker: handle overrides correctly → https://git.io/JeV60
skrzyp has quit [Remote host closed the connection]
skrzyp has joined #nixos
Acou_Bass has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #73121 → nushell: init at 0.5.0 → https://git.io/JeV6u
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
ng0 has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
acarrico has joined #nixos
<blaggacao> On another note: I've been poking around on a possible git layout for my local machines project, I've had a closer look at https://github.com/barrucadu/nixfiles Are there any recommendations?
<clever> blaggacao: personally, i keep configuration.nix rather bare, only the stuff related to the hardware (like fs uuid's, and bootloader cfg)
<tilpner> blaggacao: I disagree with the "files" directory in there, but a separation into shared "profiles" and per-device settings has worked well for me
<clever> blaggacao: and then i do imports = [ ./machine1.nix ];
<clever> blaggacao: so i dont need to make a host symlink, the imports entry handles that
<tilpner> blaggacao: Though I have far fewer than 200 machines
<clever> machine1.nix is per-device, and each has its own entry-point
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #59105 → linux: kernel: Add linux-ck for 4.14, 4.19 and 5.0 → https://git.io/fjtvo
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #63930 → [WIP] plemora: init at 1.0.0 → https://git.io/fjo5y
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #31096 → [WIP] xandikos: init at 0.0.6 → https://git.io/vF3n3
<clever> and yeah, then i have profiles, for certain tasks, some shared, some i just want an easy off switch
Soo_Slow has quit [Quit: Soo_Slow]
<{^_^}> [nixpkgs] @matthiasbeyer closed pull request #64564 → writefreely: init at 0.10.0 → https://git.io/fjPY8
chloekek has joined #nixos
<clever> nas.nix has media-center.nix in the imports, but its currently not reused by anything else
<clever> but its also fairly cross-platform, and i could in theory shove media-center.nix onto an rpi with no changes
<blaggacao> tilpner: thanks clever thanks too
mexisme has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #73122 → pythonPackages.measurement: 2.0.1 -> 3.0.0; pythonPackages.myfitnesspal: 1.13.3 -> 1.13.4 → https://git.io/JeV66
<blaggacao> Probably a trade-off decision: ladp vs some gitops driven workflow for user and profile management. Reason: cloud and email services probably rather talk to the ldap service...
<blaggacao> But declarative gitops driven is just so much better ;-
Supersonic has quit [Ping timeout: 246 seconds]
Supersonic112 has joined #nixos
adisbladis has quit [Quit: WeeChat 2.4]
mexisme has quit [Ping timeout: 245 seconds]
<blaggacao> Guys, nix is exciting :-) I just learned about it yesterday and I'm sold. It simplifies my life, as it seems. :-)
<infinisil> ilya-fedin: Oh are you packaging invidious? I have #67664 for that
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67664 (by Infinisil, 10 weeks ago, open): Invidious: init
Supersonic has joined #nixos
Supersonic112 has quit [Ping timeout: 276 seconds]
acarrico has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<ilya-fedin> clever: strip removes most paths but not all
<ilya-fedin> infinisil: yes, I use derivation from pull request
<clever> ilya-fedin: does ldd on the binary show crystal?
<ilya-fedin> clever: no
<clever> ilya-fedin: can you pastebin the bit of strings output, that includes the offending string?
<infinisil> ilya-fedin: Ah I see
<infinisil> Yeah the current closure is rather big, would be nice to reduce this..
<ilya-fedin> http://ix.io/21jB (after strip)
<ilya-fedin> http://ix.io/21jC (before strip)
<ilya-fedin> It's `string /path/to/invidious | grep crystal`
<clever> ilya-fedin: those look like error messages pointing to lines of source in the compiler
<ilya-fedin> *strings
<clever> ilya-fedin: i think the compiler needs to be fixed, to not do that
<infinisil> I have that feeling too ^^
<ilya-fedin> And there is no way to force nix to not to depend on crystal?
<clever> to start with, split output crystal, so the source and compiler arent in the same output
<infinisil> You can do some hacky stuff yeah
<clever> ilya-fedin: nukeReferences
mexisme has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixpkgs-19.09-darwin: https://git.io/JeVit
<clever> extraBuildInputs = if win64 then [ wine nukeReferences ] else [ nukeReferences ];
bastion-tester has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> # nuke-refs will just replace all storepaths with an invalid one
<clever> nuke-refs $x
<clever> but that on its own will likely result in a binary that doesnt run
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/0bf9901ba1e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<clever> check the nuke-refs docs (or source) and try to nuke only references to crystal
bastion-tester has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 3 commits to structured-attrs: https://git.io/JeVim
bastion-tester has quit [Client Quit]
<ilya-fedin> But I have one more question, by the way ... I tried to override crystal to a newer version, but it doesn’t work out for me. Temporarily, I copied the functions that builds crystal, but I want to override the normal way (or at least somehow use the functions from let block without copying)
<ilya-fedin> This is how I tried: https://pastebin.com/F2KZZBd9
<ilya-fedin> But it doesn't work
<clever> ilya-fedin: and is that new sha256 different from the old one?
mexisme has quit [Ping timeout: 246 seconds]
cyris212 has quit [Quit: ZNC 1.7.4 - https://znc.in]
stagboot has joined #nixos
bastion-tester has joined #nixos
<clever> ilya-fedin: how does it fail?
drakonis has joined #nixos
cyris212 has joined #nixos
<ilya-fedin> clever: it just doesn't rebuild
<ilya-fedin> Like I didn't do anything
<clever> ilya-fedin: where did you put the overlay?
mexisme has joined #nixos
__Myst___ is now known as __Myst__
<ilya-fedin> `pkgs = import <nixpkgs> { overlays = [overlay]; };` in let block in default.nix with invidious dervation
<clever> ilya-fedin: can you pastebin or gist all of the files in full?
<ilya-fedin> When I replaced overrideAttrs with a copy of the code from crystal dervation, it worked, but it looks really bad
<ilya-fedin> http://ix.io/21jH
<ilya-fedin> This version works
mexisme has quit [Ping timeout: 250 seconds]
<clever> ilya-fedin: what about the full nix code for the one that doesnt work?
<ilya-fedin> http://ix.io/21jJ
<ilya-fedin> This - not
<clever> ilya-fedin: aha, crystal.buildCrystalPackage is likely to blame
<clever> ilya-fedin: that is referencing the old pre-overlay crystal
<clever> you need to figure out how buildCrystalPackage was made, and give it the new crystal
<clever> pkgs/development/compilers/crystal/crystal2nix.nix:crystal.buildCrystalPackage {
<clever> pkgs/development/compilers/crystal/default.nix: passthru.buildCrystalPackage = callPackage ./build-package.nix {
<infinisil> Oh yup, that's my fault hehe
<clever> 42 let compiler = stdenv.mkDerivation rec {
<clever> 139 passthru.buildCrystalPackage = callPackage ./build-package.nix {
<clever> 142
<clever> 141 };
<clever> 140 crystal = compiler;
<clever> so, crystal has a buildCrystalPackage, that references the original crystal
<clever> and when you change crystal, the old buildCrystalPackage remains, and refers to the old crystal
<clever> i would modify the default.nix to just expose generic and genericBinary directly
<clever> then you can call those, to make a new crystal, the same way its already doing to make a dozen versions of itself
<ilya-fedin> http://ix.io/21jK - it works!
<ilya-fedin> Thank you!
mexisme has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #73123 → caffeine-ng: fix paths in desktop files → https://git.io/JeViu
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to structured-attrs: https://git.io/JeViz
mexisme has quit [Ping timeout: 245 seconds]
adisbladis has joined #nixos
mexisme has joined #nixos
leo_ has joined #nixos
growpotkin has joined #nixos
cosimone has joined #nixos
cosimone has quit [Client Quit]
mexisme has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #73031 → crystal: 0.30.1 -> 0.31.1 → https://git.io/JeVtf
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JeViH
<dongcarl> It is possible to display a custom message if an `import` statement fails?
<{^_^}> [nixpkgs] @jonringer closed pull request #65757 → pythonPackages.soupsieve: 1.7.3 -> 1.9.3 → https://git.io/fj9gA
ardumont has quit [Ping timeout: 264 seconds]
<infinisil> dongcarl: You can check for existance of the file first with builtins.pathExists
mexisme has joined #nixos
<infinisil> And use `throw` if it doesn't
<{^_^}> [nixpkgs] @prusnak opened pull request #73124 → monero: 0.14.1.0 -> 0.15.0.0 → https://git.io/JeVip
laudecay has quit [Ping timeout: 276 seconds]
lucus16 has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 246 seconds]
<lucus16> pulseaudio.service fails to start because pulseaudio is already running :/
<lucus16> but the sockets won't work of course
Chiliparrot has joined #nixos
<lucus16> I guess something other than systemd is also starting pulseaudio
<dongcarl> infinisil: Ah thanks!
mexisme has joined #nixos
ardumont has joined #nixos
idf has quit [Quit: WeeChat 2.6]
mexisme has quit [Ping timeout: 276 seconds]
<clever> lucus16: if any client program tries to use pulse, but cant find an existing server, it will spawn its own server on the spot
cosimone has joined #nixos
<lucus16> clever: I think those fail for the same reason because nothing manages to output audio until I manually kill the rogue pulseaudio process
<{^_^}> [nixpkgs] @cko opened pull request #73126 → sablotron: remove → https://git.io/JeVP4
<clever> lucus16: is hardware.pulseaudio.enable = true; set?
<lucus16> yes
mojjo has joined #nixos
<clever> lucus16: are there audio applications running outside of the X11 session?
<lucus16> afaik, no
<lucus16> I just enabled pulseaudio and rebooted
mexisme has joined #nixos
<clever> lucus16: run pavucontrol, what does it show?
slack1256 has joined #nixos
zupo has joined #nixos
<lucus16> > Establishing connection to PulseAudio. Please wait...
<{^_^}> error: syntax error, unexpected ELLIPSIS, expecting ')', at (string):271:51
<clever> lucus16: try killing the rogue daemon, while pavucontrol is open
<{^_^}> [nixpkgs] @zimbatm merged pull request #73038 → epr: init at 2.3.0b → https://git.io/JeVmz
<{^_^}> [nixpkgs] @zimbatm pushed commit from @filalex77 to master « epr: init at 2.3.0b (#73038) »: https://git.io/JeVPE
<mojjo> does import-from-derivation not work with nixos configuration? the following works `{} // { normal config..... }` but this not: `import (pkgs.writeTextFile "my.nix" "{}") // {}` I'm getting 'infinite recursion...'
<clever> mojjo: it does work, but nixos must know the content of your nixos config, to know what the value of pkgs is
<clever> mojjo: you need to get writeTextFile from somewhere else, (import <nixpkgs> {}).writeTextFile
<worldofpeace> hey gchristensen, remember when op me to change the topic. guess matrix messed that up and the topic is cut off at `For best support,`. Can we complete that to, `For best support, please paste your configuration.nix to a pasting service when asking your question` or something shorter?
<lucus16> clever: pavucontrol is unchanged, the process is dead, presumably everything I start now will work
<clever> mojjo: also, using // on nxios config will cause more problems, your better off putting my.nix into the imports list, it will merge things a lot better
<lucus16> clever: I just wish I knew what started it
<clever> lucus16: to start with, does `ps -eH x` show which process is the parrent of pulseaudio?
<{^_^}> [nixpkgs] @jonringer merged pull request #73017 → haproxy: 1.9.8 -> 2.0.8 → https://git.io/JeVUN
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JeVP2
<lucus16> clever: The htop tree said it was pid1
<clever> lucus16: then the parent is already gone, and pid1 adopted the orphan
<lucus16> yes
<lucus16> I grepped my personal config files, but they contain no mention of pulseaudio
<clever> lucus16: if you close every application related to pulseaudio, can you stop the daemon?
<mojjo> clever nice, works well. ah ok, I thought `//` and `imports` are the same. good to know.
<lucus16> clever: stop the daemon in what way?
<clever> mojjo: // will just merge sets, so
<clever> > { foo.a = 1; } // { foo.b = 2; }
<{^_^}> { foo = <CODE>; }
<clever> > :p { foo.a = 1; } // { foo.b = 2; }
<{^_^}> { foo = { b = 2; }; }
<clever> mojjo: and foo overwrites foo, so you lost your foo.a, causing confusion!
<clever> mojjo: it also overwrites any other value, rather then merging
<clever> lucus16: try kill
<clever> ?
<lucus16> clever: well, it's already dead since the last time you asked me to kill it
<{^_^}> [nixpkgs] @zimbatm merged pull request #72939 → terraform-providers: update and improve update script → https://git.io/JeaaE
<{^_^}> [nixpkgs] @zimbatm pushed 5 commits to master: https://git.io/JeVPK
<lucus16> I have to reboot to reproduce
<lucus16> Gonna try in a VM
<clever> lucus16: try just running pulseaudio in a shell
<clever> lucus16: dont bother rebooting
mexisme has quit [Ping timeout: 246 seconds]
<lucus16> clever: pavucontrol automatically connects to that
<clever> lucus16: does audio work now?
<lucus16> yeah
<clever> lucus16: then it must be an issue with the auto-starting...
<clever> lucus16: what is inside /etc/pulse/client.conf ?
mexisme has joined #nixos
<lucus16> only `autospawn=no`
<clever> lucus16: that would be why its not auto spawning! but why...
<clever> [root@amd-nixos:~]# cat /etc/pulse/client.conf
<clever> autospawn=yes
<clever> daemon-binary=/nix/store/mfykadn8csjx10ww65ilcwgvwgnbcjff-pulseaudio-12.2/bin/pulseaudio
<clever> mine has that
<lucus16> clever: do you have pulseaudio.systemWide set?
<clever> nope
alexherbo2 has joined #nixos
<lucus16> clever: What's your stateVersion?
mananamenos has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
<lucus16> Although it doesn't seem pulseaudio does anything with it
<lucus16> :q
<clever> nix-repl> config.system.stateVersion
<clever> "20.03"
<clever> lucus16: i'm also seeing fishy things on github
<clever> on master, client.conf can only ever contain autospawn=no
<clever> it will never begin with autospawn=yes
mexisme has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #72325 → cloud-custodian: init at 0.8.45.1 → https://git.io/JezCl
<{^_^}> [nixpkgs] @jonringer pushed commit from @bhipple to master « cloud-custodian: init at 0.8.45.1 »: https://git.io/JeVPS
<clever> worldofpeace: what happened? :P
<clever> lucus16: ah, the comments say its now using socket activation
<clever> so, systemd should now be opening the socket, and when you try to connect, systemd will spawn it for you
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lucus16> clever: Yeah, and that works fine except for the rogue pulseaudio process I get at boot
mexisme has joined #nixos
<clever> lucus16: are you booting with efi or legacy?
<lucus16> efi
<worldofpeace> clever: > skrzyp Topic seems to be cut in half: "|| For best support,"
<clever> lucus16: is /boot mounted?
<clever> worldofpeace: i was refering to the commit you made to pulseaudio
<lucus16> clever: efi partition is mounted on /boot/efi though I can't imagine how this affects pulseadio
<worldofpeace> oh, let me read the logs.
<clever> lucus16: ive seen a few new nixos users, that didnt mount /boot correctly, so all reboots where effectively a rollback
<lucus16> o_0
<clever> lucus16: so all changes you made would be undone at reboot
<clever> lucus16: but it sounds like youve got boot mounted right, so thats not an issue
<lucus16> clever: I've never noticed any changed not being made, fairly sure that's not the problem
<worldofpeace> clever: yeah, we really really shouldn't be using autospawn. If there's a rogue process, maybe something is starting it outside systemd
<lucus16> worldofpeace: Yeah, I think so too, I just have no idea what
<worldofpeace> lucus16: what display manager do you use?
<lucus16> i3wm
<lucus16> oh display manager, default I guess
<worldofpeace> ah, so lightdm
<clever> lucus16: is the pulseaudio actually a rogue one? or is it the one systemd is spawning?
<clever> lucus16: systemctl --user status pulseaudio.socket ?
<lucus16> systemd logs say the service failed because pulseaudio says pulseaudio is already running
<lucus16> The socket also says it's failed with service-start-limit-hit
<clever> lucus16: if you run `systemctl status`, it shows a giant tree
<lucus16> oh wtf it was in my dotfiles after all
<lucus16> even though I grepped it
<clever> lucus16: and that tree includes what service is responsible for starting things
<lucus16> sorry ya'll, my dotfiles were the culprit
<clever> $ systemctl --user status pulseaudio.socket
<clever> Active: active (running) since Fri 2019-11-01 17:01:25 ADT; 1 weeks 0 days ago
cosimone_ has joined #nixos
<clever> worldofpeace: weird, i have both the socket, and autospawn, maybe the socket was already working before you set autospawn=no?
cosimone has quit [Ping timeout: 245 seconds]
<lucus16> now back to debugging why pulseaudio doesn't detect hdmi output
<clever> ive had the reverse issue!
<clever> 85 options snd_hda_intel enable=1,0
<clever> 84 extraModprobeConfig = ''
<clever> in my case, hdmi goes to a monitor, with no speakers
<lucus16> what does the enable=1,0 do?
<clever> and pulse semi-randomly selects that output, resulting in no audio
mexisme has quit [Ping timeout: 276 seconds]
<clever> enable=1,0 means to enable the 1st device, and disable the 2nd device
<{^_^}> [nixpkgs] @jonringer merged pull request #73081 → vim-youcompleteme: fix python interpreter → https://git.io/JeVBw
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JeVXv
<clever> so the hdmi audio just never works (on purpose)
Cale has quit [Ping timeout: 250 seconds]
dansho has quit [Ping timeout: 276 seconds]
<clever> lucus16: id say, check `/proc/asound/cards` to see if the alsa device exists first
<lucus16> aplay -l shows the hdmi output
<{^_^}> [nixpkgs] @jonringer opened pull request #73127 → python3Packages.datasett: 0.29.3 -> 0.30.2 → https://git.io/JeVXT
<worldofpeace> clever: that combination just seemed to trigger a lot of bugs, and with systemd activation it doesn't make sense to be there.
<lucus16> analog is card 0 device 0 and hdmi is card 0 device 3
mexisme has joined #nixos
<clever> worldofpeace: ive never had any issues with slim + xfce
<clever> worldofpeace: does the hdmi appear on the output devices tab of pavucontrol?
<lucus16> assuming you mean me, no.
<clever> oops
<clever> that can also happen if something was using the alsa device when pulse started
<worldofpeace> clever: I believe the issues were mainly in Gnome with gdm, and after some research, distros that patched this away couldn't reproduce the problems. A similar situation happened with flat-volumes, so I just decided it would be best.
<worldofpeace> clever: yep it does. as long as the device has the correct configuration...
pamplemousse has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<pamplemousse> hi there :)
<pamplemousse> I am giving a go at NUR, but it refuses to work, and I don't get what I am missing...
<lucus16> clever: Apparently this works: pactl set-card-profile 0 output:hdmi-stereo
<lucus16> \o/
<clever> lucus16: ah, you probably wanted to go to the configuration tab of pavucontrol, and select a profile there
<babariviere[m]> <pamplemousse "I am giving a go at NUR, but it "> hi, can you describe your issue ?
<clever> lucus16: that changes how many inputs and outputs a card has
mexisme has quit [Ping timeout: 250 seconds]
<clever> for example, my desktop soundcard has 3 physical inputs, 3 muxes to select any input, for 3 full capture channels
<clever> (mic, rear-line-in, front-line-in)
<lucus16> nice
<clever> but by default, pulseaudio only supports 1 channel of capture
drakonis1 has joined #nixos
<clever> i had to write my own config for the card, and even patch pulseaudio itself (to support multiple muxes), to make full use of it
<clever> then i had no use for it, disabled the module, and never did anything with it, lol
<pamplemousse> babariviere[m]: I have updated my `config.nix` as in https://github.com/nix-community/NUR#installation, but hit a `error: while evaluating the attribute 'buildInputs' of the derivation 'shell'` when I try to `nix-shell -p nur.repos.mic92.inxi`
<babariviere[m]> pamplemousse how did you install nur ?
<babariviere[m]> * pamplemousse how did you install nur ?
robogoat_ has quit [Ping timeout: 268 seconds]
robogoat has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
<pamplemousse> babariviere[m]: babariviere[m]: I am on NixOS, so I followed the 2nd paragraph of https://github.com/nix-community/NUR#installation
Cale has joined #nixos
<{^_^}> [nixpkgs] @Pamplemousse closed pull request #73069 → python3Packages.crypto-commons: init at unstable-2019-11-08 → https://git.io/JeVCR
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @risicle to nixos-19.09-small « perlPackages.libapreq2: add patch for CVE-2019-12412 »: https://git.io/JeVrK
gagbo has quit [Ping timeout: 240 seconds]
laudecay has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #73128 → python3Packages.websockets: 8.0.2 -> 8.1 → https://git.io/JeVX0
<babariviere[m]> pamplemousse: have you tried with another package ? can you show me your packageOverride ?
<lucus16> damn, I had a lot of random services being started from my i3 config
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/0bf9901ba1e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
gagbo has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b opened pull request #73129 → fierce: 1.3.0 -> 1.4.0 → https://git.io/JeVXu
<pamplemousse> nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
<pamplemousse> inherit pkgs;
<pamplemousse> };
<pamplemousse> woops, sorry, failed c/p...
wildtrees has joined #nixos
<babariviere[m]> and what's your version of NixOS ? I don't see why it's failing, might be an issue with the package, you should try another one
jlmeeker has joined #nixos
laudecay has quit [Read error: Connection reset by peer]
laudecay has joined #nixos
<{^_^}> [nixpkgs] @globin pushed commit from @petabyteboy to release-19.09 « qtwebengine: add patch for CVE-2019-13720 »: https://git.io/JeVXi
<{^_^}> [nixpkgs] @jonringer merged pull request #73053 → python3Packages.black: 19.03b0 -> 19.10b0 → https://git.io/JeVZ2
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JeVXP
<rotaerk> hmm my laptop's touchscreen and touchpad seem to just stop working completely after a little while
<babariviere[m]> (the issue was: packageOverrides wasn't added in ~/.config/nixpkgs/config.nix for those who have the same issue)
mexisme has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 2 commits to structured-attrs: https://git.io/JeVX7
JonReed has joined #nixos
<pamplemousse> thanks babariviere[m] !
aveltras has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
<mojjo> can derivations be json encoded? `builtins.fromJSON (builtins.toJSON pkgs.hello)` does not work...
mexisme has joined #nixos
<mojjo> or rather, can they be decoded
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
<tilpner> Why do you want that?
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72430 → brave: 0.69.128 -> 0.69.135 → https://git.io/JegLM
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « brave: 0.69.128 -> 0.69.135 »: https://git.io/JeV1U
laalf_ has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
laalf__ has joined #nixos
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @jameysharp opened pull request #73130 → deployAndroidPackage: prefer local builds → https://git.io/JeV1Y
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
laalf has quit [Ping timeout: 276 seconds]
laalf_ has quit [Ping timeout: 265 seconds]
oida has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
chiefgoat has quit [Ping timeout: 240 seconds]
<JonReed> mojjo: If you run `nix show-derivation /nix/store/<path-to-drv>.drv` then the output is going to be JSON encoded.
abathur has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « libgdiplus: fix eval »: https://git.io/JeV10
blaggacao has quit [Ping timeout: 265 seconds]
cosimone_ has quit [Quit: Terminated!]
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « openjdk{8,11,12}: fix eval »: https://git.io/JeV1z
Thra11 has quit [Quit: WeeChat 2.5]
slack1256 has quit [Remote host closed the connection]
laalf__ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
acarrico has joined #nixos
blaggacao has quit [Ping timeout: 252 seconds]
sondr3 has joined #nixos
kenran has joined #nixos
blaggacao has joined #nixos
<sondr3> question, I'm trying to override the GCC version in a shell.nix file, but I keep getting the wrong version. I have this shell.nix file https://gist.github.com/sondr3/1cc5d130777a6264a5a43421152d377b and want to use GCC9 but keep getting GCC8
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « ronn: fix eval »: https://git.io/JeV1P
ng0 has quit [Ping timeout: 260 seconds]
<rotaerk> sondr3, if you leave out gcc9, do you still have gcc8 available? what happens if you run `which gcc`
pamplemousse has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
ng0 has joined #nixos
<sondr3> rotaerk: yeah, I get the same GCC version if I leave out gcc9: `which gcc: /nix/store/5yyx688q9qxhb4ypawq7v80fm3ix27dm-gcc-wrapper-8.3.0/bin/gcc`
<{^_^}> [nixpkgs] @1000101 opened pull request #73131 → Port tests to python → https://git.io/JeV1D
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « poly2tri-c: fix eval »: https://git.io/JeV1S
jmeredith has joined #nixos
<rotaerk> I don't know if what you have is wrong or not, but here's what my shell.nix looks like: https://github.com/Rotaerk/vulkanTest/blob/master/sandbox/shell.nix
<rotaerk> I'm using pkgs.runCommand, not stdenv.mkDerivation
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « zfs: fix eval »: https://git.io/JeV1b
nornagon7 is now known as nornagon
<rotaerk> sondr3, ^
<clever> sondr3: did you try gcc9Stdenv ?
<sondr3> rotaerk: everything else is included fine, its just gcc that is the wrong version
<rotaerk> k
<sondr3> clever: yeah, that doesn't work either. Not sure why, I have gcc9 in my $PATH but in my nix-shells only gcc8
knupfer has joined #nixos
<rotaerk> what did you do exactly with the gccc9Stdenv?
<rotaerk> where'd you put it?
Okinan has joined #nixos
<sondr3> I use home-manager to manage my programs etc, and have gcc9 listed as a package I need. Outside nix-shells I get gcc 9.2.0
<rotaerk> I mean, I'm guessing you should replace stdenv with gcc9Stdenv
<rotaerk> rather than putting it in the list of packages
o1lo01ol1o has joined #nixos
<clever> sondr3: installing gcc with home-manager wont work
<sondr3> clever: ya, but it shouldn't affect anything inside a nix-shell, right?
<sondr3> rotaerk: I think I got it working with `stdenv = gcc9Stdenv` in the let block
<clever> nix-shell should get its own gcc, based on the expr
<clever> sondr3: you want gcc9Stdenv.mkDerivation
xkapastel has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
<sondr3> clever: I get a undefined variable `gcc9Stdenv` if I do that
<sondr3> oh, its because I haven't imported pkgs, using `pkgs.gcc9Stdenv` fixed it
<sondr3> okay, got it working! Thanks to both of you
<sondr3> clever++
<{^_^}> clever's karma got increased to 236
<sondr3> rotaerk++
<{^_^}> rotaerk's karma got increased to 1
<rotaerk> yay I have a karma
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #73132 → coloursum: fix darwin build → https://git.io/JeVMc
NoctisLa1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @vojta001 opened pull request #73133 → fbida: extend description → https://git.io/JeVMC
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73134 → nixosTests.plasma5: port to python → https://git.io/JeVMW
pamplemousse has joined #nixos
halfbit has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73135 → nixosTests.lightdm: port to python → https://git.io/JeVMB
<tbenst> anyone know if it's possible to disable sandboxing for *one* package in my configuration.nix?
<clever> tbenst: you first have to set sandbox=relaxed in nix.conf (configuration.nix has a flag for that)
<clever> tbenst: then you can add a special attribute to a derivation, to have it opt-out
<clever> tbenst: the bigger question, is why you need to do that
<tbenst> There's a nix package I want installed, https://github.com/kadena-io/chainweb-node, that requires network access during the test phase
o1lo01ol1o has quit [Remote host closed the connection]
<tbenst> hoping for a declarative way of doing `sudo nix-build --option sandbox false`
<tbenst> the package does not connect to internt, just to localhost, but this is blocked by sandbox unfortunately
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73136 → nixosTests.sddm: port to python → https://git.io/JeVMg
o1lo01ol1o has joined #nixos
jgt1 has quit [Ping timeout: 276 seconds]
<ilya-fedin> clever: nuke-refs only allows to exclude paths to delete, but doesn't allow to delete only one path
<tbenst> clever is __noChroot the attribute I need to set to permit network access during a build?
<clever> tbenst: i think so
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73137 → nixosTests.xmonad: port to python → https://git.io/JeVMa
jgt1 has joined #nixos
Shoubit has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 13 commits to nixos-unstable-small: https://git.io/JeVMr
shabius has joined #nixos
kenran has quit [Ping timeout: 276 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1f49029acea (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fresheyeball has joined #nixos
domogled has quit [Ping timeout: 246 seconds]
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « darwin.system_cmds: fix eval »: https://git.io/JeVMX
<fresheyeball> anyone using nix-shell of python development?
knupfer has joined #nixos
<samueldr> no one at all, it's been forbidden by dark forces since the dawn of time
<samueldr> (sorry, less rude answer) probably, likely yes, but that's likely not the answer you're looking for
<samueldr> anything in particular you're having questions or trouble about?
<jackdk> Also there is a section on using Python in the nixpkgs manual; have you read it, and if so, did it help? Also also, http://sol.gfxile.net/dontask.html
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73138 → Port xfce tests to python → https://git.io/JeVM1
<sshow> exarkun++
<{^_^}> exarkun's karma got increased to 6
andymandias_ has joined #nixos
andymandias has quit [Ping timeout: 240 seconds]
work_ has joined #nixos
domogled has joined #nixos
NoctisLabs has joined #nixos
<fresheyeball> samueldr: lol
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ozychhi has joined #nixos
<shyim> Hey, have someone an example of a nixos module in a nur repository?
<tilpner> shyim: nur.repos.tilpner.modules.duplicity
<{^_^}> [nixpkgs] @dywedir merged pull request #73132 → coloursum: fix darwin build → https://git.io/JeVMc
<{^_^}> [nixpkgs] @dywedir pushed to master « coloursum: fix darwin build »: https://git.io/JeVMb
fresheyeball has quit [Ping timeout: 265 seconds]
<shyim> thanks. I built it similar, but I am getting The option `services.frp' defined does not exists
<shyim> Do I need to prefix options from nur?
<babariviere[m]> you don't need to, just have to import your module
<babariviere[m]> in your `imports`
fresheyeball has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
zupo has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
Ralith_ has quit [Ping timeout: 276 seconds]
halfbit has quit [Ping timeout: 240 seconds]
<babariviere[m]> shyim
<shyim> @babariviere[m], thanks. Works now <3
domogled has quit [Ping timeout: 240 seconds]
<babariviere[m]> you are welcome!
<fresheyeball> hmmm I can import numpy but not cv2
<m1cr0man> Hey folks. In order to add suexec to apache, the install step needs sudo to add setuid bit to the binary. How would I handle that in nix?
<clever> m1cr0man: security.wrappers
<clever> m1cr0man: nothing in /nix/store can have setuid bits set, nixos must generate those on bootup, in a tmpfs
laudecay has quit [Ping timeout: 268 seconds]
alexherbo2 has joined #nixos
<fresheyeball> maybe I am barking up the wrong tree
ornxka has quit [Ping timeout: 240 seconds]
<fresheyeball> I want to do some object detection for a research project
<fresheyeball> and thought I could get opencv working in a nix-shell
<fresheyeball> but so far, python wont let my import cv2, but it works fine for other dependencies provided by the nix-shell
alexherbo2 is now known as alex```
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @petabyteboy to nixos-19.09-small « qtwebengine: add patch for CVE-2019-13720 »: https://git.io/JeVXi
<m1cr0man> Clever, so in order to use security.wrappers I need to stop the installer trying to setuid right?
<clever> m1cr0man: correct
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @petabyteboy to nixpkgs-19.09-darwin « qtwebengine: add patch for CVE-2019-13720 »: https://git.io/JeVXi
<m1cr0man> Right ok. Might need a patch file for that
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d47cbccd7de (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d47cbccd7de (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<fresheyeball> no idea what I changed
<fresheyeball> but everything works now
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « stdenv: buildInputs etc. has to be a list of drvs »: https://git.io/JeVDW
<{^_^}> [nixpkgs] @kragniz opened pull request #73139 → nixos/kubernetes: ensure kubelet cert contains a well-formed user → https://git.io/JeVDE
blaggacao has quit [Ping timeout: 265 seconds]
<kgz> barrucadu: ^
chloekek has quit [Ping timeout: 265 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ddellacosta has joined #nixos
blaggacao has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71416 → nixos/gnome3: add sound-theme-freedesktop → https://git.io/JeBXD
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeVD1
blaggacao has quit [Client Quit]
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72399 → AnyDesk 5.1.2 -> 5.4.1 → https://git.io/JezFh
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @azazel75 to master « AnyDesk 5.1.2 -> 5.4.1 »: https://git.io/JeVDy
drakonis_ has joined #nixos
drakonis2 has joined #nixos
lane-s has joined #nixos
drakonis2 has quit [Read error: Connection reset by peer]
drakonis2 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #72408 → transifex-client: Fix build → https://git.io/JezhC
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeVD7
drakonis1 has quit [Ping timeout: 246 seconds]
<lane-s> Soooo nixos.org is down?
jlv has quit [Remote host closed the connection]
<clever> lane-s: works for me
<wrl> up over here
<clever> lane-s: sounds like a problem for nix to solve!
<lane-s> Must be something with my dns then...
<infinisil> I can't ping it actually, but I can access the website
<clever> drakonis2: what does `dig nixos.org` return?
<clever> oops, that was for lane-s
drakonis_ has quit [Ping timeout: 245 seconds]
<lane-s> Haha I don't have `dig` and I'm not sure if I can get it until I fix this issue
<clever> lane-s: what if you try to ping it?
<infinisil> clever: Can you ping it? Because I can't
<clever> infinisil: even if you cant ping it, that will tell you the result of the dns lookup
<infinisil> clever: Yeah, but can you ping it?
o1lo01ol1o has joined #nixos
<clever> PING nixos.org (54.217.220.47) 56(84) bytes of data.
<clever> infinisil: nope
<infinisil> Yeah and that's weird
<lane-s> Getting `name or service not known`. But getting that for google as well, and I can open google in my browser.
<infinisil> Unless icmp is turned off for some reason, which would be weird too
<clever> lane-s: the browser has a dns cache
<clever> lane-s: what are the contents of /etc/resolv.conf?
<lane-s> ```
<lane-s> # Generated by resolvconfdomain localdomainnameserver 192.168.1.1nameserver fe80::1%wlp0s20f0u1options edns0```
<lane-s> haha fuck sorry
<lane-s> `# Generated by resolvconfdomain localdomainnameserver 192.168.1.1nameserver fe80::1%wlp0s20f0u1options edns0`
<clever> lane-s: i only need the lines that start with nameserver
<lane-s> nameserver 192.168.1.1
<lane-s> nameserver fe80::1%swlp0s20f0u1
<clever> lane-s: the dns server in your router may have died, try restarting it?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #73126 → sablotron: remove → https://git.io/JeVP4
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JeVDb
o1lo01ol1o has quit [Ping timeout: 250 seconds]
lane-s has quit [Remote host closed the connection]
lane-s has joined #nixos
drakonis_ has joined #nixos
jlmeeker has quit [Ping timeout: 240 seconds]
<lane-s> Yep
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.09 « nixos/gnome3: add sound-theme-freedesktop »: https://git.io/JeVDp
drakonis2 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #73059 → nixos/tinydns: port test to python → https://git.io/JeVnT
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JeVDj
<lane-s> Now pinging google / other sites works fine. For some reason just having issues with `nixos.org`
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 19 commits to nixos-unstable-small: https://git.io/JeVyf
<clever> lane-s: nixos.org blocks pings
<ilya-fedin> clever: Do you have any other ideas on how to exclude crystal from dependencies?
fusion809 has quit [Remote host closed the connection]
<lane-s> @clever Ah, well I can't access it in my browser either.
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « stdenv: fix buildInputs etc. assertion logic »: https://git.io/JeVyT
<clever> ilya-fedin: use split outputs on the crystal derivation itself, to seperate the source and libraries/binaries
numinit_ has joined #nixos
<numinit_> dumb question, how do I change /etc/issue?
thc202 has quit [Ping timeout: 245 seconds]
<clever> /home/clever/apps/nixpkgs/nixos/modules/services/ttys/agetty.nix: target = "issue";
<numinit_> not `users.motd` - that's after login
<clever> numinit_: read that nix file
<numinit_> thanks :-)
<leo_> clever: Don't you like kmscon?
<leo_> heh
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « stdenv: fix buildInputs etc. assertion logic »: https://git.io/JeVyI
<clever> leo_: i did a grep for "issue" to find where /etc/issue was made
<numinit_> aha, it's in mingetty
<numinit_> thank you
slack1256 has joined #nixos
<numinit_> was searching options for "issue"
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e8aadfe74c1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
gkmngrgn has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #73140 → nixosTests.pantheon: port to python → https://git.io/JeVys
lane-s has quit [Ping timeout: 260 seconds]
philr has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
ornx has joined #nixos
numinit_ has quit [Remote host closed the connection]
pamplemousse has quit [Ping timeout: 265 seconds]
knupfer has quit [Client Quit]
ornx is now known as ornxka
knupfer has joined #nixos
<KarelWDingeldey[> Is anyone running 389-ds on NixOS? I'm having trouble setting it up.
lane-s has joined #nixos
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: fix nested lists in *buildInputs »: https://git.io/JeVyz
<lane-s> So now it seems like I can access `nixos.org`, but now I'm getting other errors when trying to rebuild my config. I get `search path entry ..../root/channels/nixos does not exist`
<lane-s> When I do `nix-channel --list` the output is blank
omnipotententity has joined #nixos
<omnipotententity> If I'm trying to detect sqlite using cmake, and I have sqlite in my buildInputs of my shell.nix, and it still doesn't find it, then what stupid thing am I doing wrong?
<babariviere[m]> and with `sudo nix-channel --list` ?
<babariviere[m]> lane-s
<babariviere[m]> <omnipotententity "If I'm trying to detect sqlite u"> do you have pkg-config in your buildInputs ?
<slack1256> Is there a package for emacs that provides type-info or code-completion for nix files?
abathur has quit [Ping timeout: 265 seconds]
<slack1256> I am using nix-mode but it only seems to provide syntax highlighting.
<clever> omnipotententity: is pkgconfig in nativeBuildInputs ?
<fresheyeball> any advice on adding a python dep with nix via github?
<babariviere[m]> <slack1256 "Is there a package for emacs tha"> there is only syntax highlighting in my knowledge with `nix-mode`
<sshow> fresheyeball: builtins.fetchGit
<fresheyeball> sshow: I have no idea how python deps work
<lane-s> babariviere[m] Sigh, that lists the channels but then I'm back to the problem I was having before. The same error with the search path occurs, and if I try to do `nix-channel --update nixos` then I get `unable to download. Couldn't resolve host name`
<fresheyeball> can I just add the src cretaed by fetchGit as a build input?
<omnipotententity> I now have pkgconfig in my nativeBuildInputs, but it seems to not be finding it still?
<clever> omnipotententity: how is cmake being told to search for sqlite?
<sshow> fresheyeball: I guess so! I actually haven't done that myself. I used deps from nixpkgs https://blog.stigok.com/2019/11/05/packing-python-script-binary-nicely-in-nixos.html
<omnipotententity> using find_package(SQLite3)
<babariviere[m]> <lane-s "babariviere Sigh, that lists the"> it seems like you don't have a dns resolver, can you try adding `nameserver 8.8.8.8` in `/etc/resolv.conf` ?
<clever> omnipotententity: and where if find_package defined?
<omnipotententity> and I have a file under a directory named cmake called FindSqlite3.cmake that I copy-pasted from the CMake Gitlab repo
<sshow> fresheyeball: please tell me how you did it when you're done. I recently saw this one, though: https://github.com/datakurre/setup.nix
<clever> omnipotententity: what does that do inside its find_package function?
<omnipotententity> uses the functions find_path and find_library
<lane-s> babariviere[m] Ok, did that. Do I need to run any command to apply that change? Also it seems like I have some kind of dns resolver because I can browse to most websites.
<clever> omnipotententity: what do the docs say find_path and find_library are doing, to actually find things?
GlennS has quit [Quit: No Ping reply in 180 seconds.]
<babariviere[m]> <lane-s "babariviere Ok, did that. Do I n"> it will be applied immediately, I don't what you are using for networking but normally you can configure it in your configuration.nix
GlennS has joined #nixos
<lane-s> babariviere[m] Using NetworkManager. The only network related thing in my config is currently `services.networkmanager.enable = true;`. The issue is that I can't update my config without a working connection to `nixos.org` in this case right?
<omnipotententity> well, find path documentation is here: https://cmake.org/cmake/help/latest/command/find_path.html
Ralith_ has joined #nixos
prusnak has joined #nixos
<babariviere[m]> <lane-s "babariviere Using NetworkManager"> so you have internet connection but cannot connect access to nixos.org website ?
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<babariviere[m]> might be an issue in your channel url
<omnipotententity> babariviere[m], if that wiki link was to me, there doesn't seem to be anything here that I'm not doing.
<babariviere[m]> can you show me the output of `sudo nix-channel --list` lane-s
<lane-s> It seems like my system might just be kind of unstable or something. Now `nixos-rebuild-switch --upgrade` just hangs
jgeerds_ has quit [Ping timeout: 268 seconds]
<babariviere[m]> <omnipotententity "babariviere, if that wiki link w"> can you provide your error message?
<babariviere[m]> <lane-s "It seems like my system might ju"> can you update your nix-channel ? can you show me the error if not
<omnipotententity> the error message is just a link failure during compile. If you inspect the variables CMake is generating, SQLite3_INCLUDE_DIR and SQLite3_LIBRARY are both set to FOO-NOTFOUND where FOO is the variable name
<lane-s> It's currently just hanging when I try to update the `nixos` channel. Will wait a while and see what happens.
<clever> omnipotententity: nix itself, would have already put sqlite into the linkers search path
<clever> omnipotententity: so you dont have to search for sqlite, just blindly -lsqlite3
<babariviere[m]> <lane-s "nixos-hardware https://github.co"> `sudo nix-channel --update` works ?
Rusty1 has joined #nixos
<lane-s> After a while I got the same error `unable to download 'https://nixos.org/channels/nixos-19.09': Couldn't resolve host name
pie_ has quit [Ping timeout: 265 seconds]
<babariviere[m]> oh sorry I didn't see your message
<lane-s> The nameserver entry I added before seems to have been automatically removed
<lane-s> I added it again and tried updating and got the same error, and for now the entry is still there.
<babariviere[m]> a ping to nixos.org works ?
<lane-s> Maybe worth noting that I wasn't having this issue when running NixOs from the LiveUsb
<lane-s> Apparently nixos.org blocks pings, but I can access the site from by browser
<lane-s> Sometimes...
<lane-s> Like I said, kinda unstable
<babariviere[m]> oh really weird
<clever> lane-s: how stable are pings to other services?
<{^_^}> [nixpkgs] @judaew opened pull request #73142 → bettercap: 2.24 -> 2.26.1 → https://git.io/JeVSf
gxt has joined #nixos
<lane-s> @clever I'd say not very. Now it seems like they are hanging as well
fresheyeball has quit [Ping timeout: 268 seconds]
<babariviere[m]> are you using WiFi or lan ?
<babariviere[m]> DHCP or static IP ?
<lane-s> USB wifi with dhcp. DHCP is the default right?
<babariviere[m]> you may need to configure a DNS with network manager
<babariviere[m]> yes it's the default
<Sisyphe[m]> Hi, is this the right place for noob questions ?
<babariviere[m]> USB with your phone ?
<babariviere[m]> <Sisyphe[m] "Hi, is this the right place for "> hi, yes you can ask your question :)
<lane-s> Sisyphe[m] If it's not, it's not stopping me from asking them.
<lane-s> It's a USB wifi dongle
<leo_> Are there any disadvantages to dynamic imports?
<lane-s> I don't have a driver for the laptop's built-in wifi yet
<leo_> i.e builtin.import?
<Sisyphe[m]> ok thanks, I was trying to replace mkShell with buildFHSUserEnv since nix-shell takes a long time (~15s)
<babariviere[m]> <lane-s "I don't have a driver for the la"> oh, you don't have any connection issue with your browser? I am sorry for those dumb questions, I am just trying to understand where the issue can be
<Sisyphe[m]> but every python package I use is missing some dependencies (ImportError: No module named...) while no dependencies were missing when using mkShell and nix-shell --pure
<Sisyphe[m]> so does someone know how to properly include python packages with buildFHSUserEnv ?
<lane-s> No worries I'm glad to have your help. It's weird, sometimes the browser works super fast, and then sometimes it looks like it's also having DNS issues and the page never loads.
<babariviere[m]> <Sisyphe[m] "so does someone know how to prop"> can you show your $PYTHONPATH in your buildFHSUserEnv ?
<babariviere[m]> <lane-s "No worries I'm glad to have your"> do you know your DNS provider? it can be provided by your internet box
<clever> babariviere[m]: previously, the resolv.conf has 192.168.1.1
<clever> had*
<Sisyphe[m]> <babariviere[m] "can you show your $PYTHONPATH in"> I've manually set it to "/usr/lib/python2.7/site-packages/" since buildFHSUserEnv doesn't seem to update it at all
<babariviere[m]> ah yes, so it's the internet box, DNS queries are resolved by your box
prusnak has quit [Quit: leaving]
<babariviere[m]> <Sisyphe[m] "I've manually set it to "/usr/li"> aren't you using python 3 ?
<lane-s> It's all working fine on my other machine connected to the same router though
<babariviere[m]> did you check that your packages are in this directory ?
<Sisyphe[m]> <babariviere[m] "aren't you using python 3 ?"> nop python 2
<lane-s> It also seems like my computer is getting weirdly hot for not really doing anything
<Sisyphe[m]> <babariviere[m] "did you check that your packages"> yes and the packages are missing
<babariviere[m]> <lane-s "It also seems like my computer i"> if you run htop, what programs are the most resources consuming ? I know there is some issue with docker if you are using it
<omnipotententity> I also needed cmake as a build input, derp
<babariviere[m]> <Sisyphe[m] "yes and the packages are missing"> can you show me how are you adding python packages ?
<{^_^}> [nixpkgs] @flokli closed pull request #73109 → nixos/ceph: Clarify comments in tests and add source reference for the bootstraping method → https://git.io/JeVw3
<{^_^}> [nixpkgs] @nbardiuk opened pull request #73143 → chatterino2: unstable-2019-05-11 -> unstable-2019-11-02 (with qt fix) → https://git.io/JeVSq
<{^_^}> [nixpkgs] @phi-gamma closed pull request #73112 → mpd: 0.20.23 -> 0.21.16 → https://git.io/JeVwh
<{^_^}> [nixpkgs] @chessai opened pull request #73144 → vim-lsp and async.vim: init → https://git.io/JeVSm
<lane-s> My config is pretty minimal. Don't actually even have htop. I'm going to boot from usb to try to add support for my laptop's built in wifi, add htop, dnsutils, and dns config
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « firefox: fix eval »: https://git.io/JeVS3
<Sisyphe[m]> like so: buildFHSUserEnv { name = "fhs"; targetPkgs = pkgs: [ my_python_pkg ] }
prusnak has joined #nixos
<babariviere[m]> <lane-s "My config is pretty minimal. Don"> and you don't have any issue with the USB installer ? (can you easily update from it?)
gxt has quit [Ping timeout: 260 seconds]
aveltras has quit [Quit: Connection closed for inactivity]
<clever> lane-s: a: by using @clever, i dont notice it, b: it sounds like your wifi drivers may be having similar problems that i'm having
<babariviere[m]> <Sisyphe[m] "like so: buildFHSUserEnv { name "> try using `python2.withPackages`
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « weechat: fix eval »: https://git.io/JeVSW
<omnipotententity> thanks babariviere[m] and clever you two are always helping me out and I appreciate it.
bvdw has quit [Read error: Connection reset by peer]
<babariviere[m]> no problem !
<Sisyphe[m]> <babariviere[m] "try using `python2.withPackages`"> with (python27.withPackages (ps: with ps; [ my_python_pkg ])) the executables in my_python_pkg are not found
<babariviere[m]> <leo_ "Are there any disadvantages to d"> I don't think there is any
bvdw has joined #nixos
<babariviere[m]> <Sisyphe[m] "with (python27.withPackages (ps:"> and if you remove your manually set PYTHON PATH ?
ng0 has quit [Ping timeout: 260 seconds]
<Sisyphe[m]> <babariviere[m] "and if you remove your manually "> same
<lane-s> clever: Is your wifi device showing up with `ip a`? My usb wifi device shows up there, but all this wonky stuff still happens. My built-in wifi adapter doesn't show up at all.
<babariviere[m]> <lane-s "clever: Is your wifi device show"> do you have any error in `dmesg` ?
<{^_^}> [nixpkgs] @Ma27 pushed to structured-attrs « flint: fix eval »: https://git.io/JeVSR
<lane-s> babariviere[m]: So far I have had no issues from the usb installer, only when I actually boot into the installed os
<clever> lane-s: my laptop is using iwlwifi, and has had fairly flaky wifi since nixcon (when i did an upgrade)
<babariviere[m]> <lane-s "babariviere: So far I have had n"> oh so you might be missing some dependencies for your dongle
<babariviere[m]> I think you can see which driver is used with `lspci -v` and add it to your NixOS configuration
<lane-s> clever: Ah yeah mine is using iwlwifi as well.
<lane-s> clever: Although I hadn't even added that into kernel modules yet
<clever> lane-s: the source is open, so the module is always present
<lane-s> I do have a few odd things in `dmesg`
<clever> firmware may not be
<babariviere[m]> <Sisyphe[m] "same"> is pip installed ?
<clever> dmesg would show when firmware is missing
<babariviere[m]> <lane-s "I do have a few odd things in `d"> what things are odd ?
leo__ has joined #nixos
<Sisyphe[m]> <babariviere[m] "is pip installed ?"> Probably not, i'll try to add it
Shoubit has joined #nixos
<lane-s> `ITCO_wdt: can't request region for resource`. It's from `Intel TCO WatchDog Timer Driver v1.11`
<lane-s> Haven't found anything about my wifi card yet
<lane-s> I know from an identical computer that it shows up in `lspci` as `Network controller: Intel Corporation Device 2723 (rev 1a)`
<lane-s> But on debian it didn't work until I manually installed some `backport-iwlwifi` driver
<clever> lane-s: what does `lspci -nn` say?
leo_ has quit [Ping timeout: 268 seconds]
<lane-s> `Network controller [0280]: Intel Corporation Device [8086:2723) (rev 1a)
<lane-s> clever:
<Sisyphe[m]> What I cannot understand yet is why python packages listed as propagatedBuildInputs in included packages doesn't appear in /usr/lib/...
__monty__ has quit [Quit: leaving]
pie_ has joined #nixos
<babariviere[m]> lane-s : does your laptop have an Nvidia card ? (was an issue for me)
<babariviere[m]> and are you using `networking.<interface>.useDHCP` ?
<babariviere[m]> Sisyphe I may say something wrong but for your buildFHSUserEnv, I don't think propagated build inputs works, you have to use target packages
Yaniel has quit [Ping timeout: 276 seconds]
<Sisyphe[m]> <babariviere[m] "Sisyphe I may say something wron"> Oh that would explain. But retrieving all propagatedBuildInputs to put them as target inputs seems intractable, at least if I need to it manually.
<clever> lane-s: ah, thats the exact same pid as the last guy with this issue
<clever> lane-s: you need the 5.3 kernel for iwlwifi to support it
<clever> lane-s: boot.kernelPackages = pkgs.linuxPackages_latest; will get you 5.3, if your on unstable
gkmngrgn has quit [Ping timeout: 246 seconds]
Yaniel has joined #nixos
<lane-s> clever: Thanks I'll try that
<lane-s> clever: Is there a way to get it on stable or for me to switch to unstable?
<babariviere[m]> clever but how can he access internet with his browser but not with nix binaries ? that's really weird
<clever> ,unstable lane-s
<clever> lane-s: you want something like boot.kernelPackages = unstable.linuxPackages_latest;
<{^_^}> [nixpkgs] @lopsided98 opened pull request #73145 → wxGTK: use GTK 3 by default → https://git.io/JeVSS
atlas_ has joined #nixos
alex``` has quit [Quit: The Lounge - https://thelounge.chat]
lane-s has quit [Remote host closed the connection]
lane-s has joined #nixos
JonReed has quit [Remote host closed the connection]
<lane-s> Hmm now I'm unable to update `nixos-unstable`. Getting `unable to download /nixeprs.tar.bz2 URL using bad/illegal format or missing URL` and also a bunch of `couldn't connect to server`
<lane-s> Oh it's actually happening with the other channels too...
<atlas_> I'm trying to install nix on macOS Catalina. Catalina moved system-critical directories to a read-only filesystem. How can I install nix as a single-user installation at ~/nix?
<clever> atlas_: you would need to re-compile every single package from scratch
<clever> atlas_: there are directions somewhere on how to make / writable again
<atlas_> clever: really? I can't just specify a new nix location?
<clever> atlas_: all binaries have /nix/store hard-coded into them
<atlas_> clever: I can probably fix it, but it will be difficult.
<atlas_> clever: huh, ok. I'm sure that's done intentionally, right?
<{^_^}> nix#2925 (by mroi, 22 weeks ago, open): /nix will not be writable on macOS Catalina
<clever> atlas_: thats just how nix works
efriend has quit [Ping timeout: 246 seconds]
<LnL> not just nix, most other package managers like homebrew also won't be happy if you move them somewhere else
oscarvarto has joined #nixos
<babariviere[m]> <lane-s "Hmm now I'm unable to update `ni"> you may need to do your update via the nix installer
<clever> if your on nixos, the curl script to install nix wont work
<lane-s> babariviere[m]: I was trying it through the installer, but it stopped working there too. Trying a reboot
oscarvar1o has joined #nixos
<{^_^}> [nixpkgs] @hax404 opened pull request #73146 → tor-browser-bundle-bin: 9.0 -> 9.0.1 → https://git.io/JeV9T
oscarvar1o has quit [Client Quit]
oscarvarto has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 276 seconds]
oscarvarto has joined #nixos
fremmy has joined #nixos
<fremmy> helloo
endformationage has quit [Ping timeout: 268 seconds]
oscarvarto has quit [Client Quit]
fremmy has left #nixos ["WeeChat 1.9.1"]
<{^_^}> [nixpkgs] @hax404 opened pull request #73147 → backport: tor-browser-bundle-bin: 9.0 -> 9.0.1 → https://git.io/JeV9q
Xal has joined #nixos
oscarvarto has joined #nixos
<Xal> Hello! Does nixpkgs support cross-compiling for non-nixos linux systems?
<Xal> I've got a small C program I'd like to cross-compile for Raspbian/Tinycore linux.
oscarvarto has left #nixos [#nixos]
<clever> > pkgsCross.raspberryPi.hello
<{^_^}> "<derivation /nix/store/0da3qlpbrw4nidscq9b0d6sxyk97n730-hello-2.10-armv6l-unknown-linux-gnueabihf.drv>"
<clever> Xal: ^
<Xal> This works, but seems to give me a program that is using the nix dynamic linker?
<babariviere[m]> it contains all propagated build inputs :)
<clever> > pkgsCross.muslpi.hello
<{^_^}> "<derivation /nix/store/8pdfvbshxbcb9r4di64j35sg5nydyxx8-hello-2.10-armv6l-unknown-linux-musleabihf.drv>"
<clever> Xal: that uses musl-c, a static libc
<Xal> Oh! Neat!
<babariviere[m]> you can patchelf with a classic interpreter path
<Xal> That seems... hacky?
<babariviere[m]> that's hacky :p
<clever> it relies on the ld.so from the target being compatible
<Xal> Is there a way to get a dynamic linker in the standard location without patching it?
<clever> thats not much different from using patchelf
<Xal> honestly that's true
<Xal> I will probably go with musl
<lane-s> i think i'll have to give up on nixos for the time being. I will try again on my desktop later. It's just way too difficult with a computer that only has wifi, and the chicken/egg problem of needing wifi to get proper wifi drivers. Also need this computer to work by Monday...
<Sisyphe[m]> <babariviere[m] "it contains all propagated build"> Nice! I'll try that
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « treewide: *inputs are lists »: https://git.io/JeV9Y
Xal has quit [Remote host closed the connection]
<clever> lane-s: you can get an iso image, that is using 5.3 on bootup, and then use that to fix things
<babariviere[m]> <lane-s "i think i'll have to give up on "> if time is your limit, I think it's your best bet to use another OS, but you can still use nix in your other OS
m0rphism has quit [Ping timeout: 265 seconds]
<niso> lane-s: do yourselfe a favor (also for other distros) and just get a usb-ethernet dongle (saved me quite a lot of hours so far)
<clever> 2019-11-07 01:13:05< clever> rotaerk: https://hydra.nixos.org/build/105246685
<clever> 2019-11-07 01:13:37< clever> rotaerk: that is the linux 5.3 iso image, for the current build of nixos-unstable
<clever> lane-s: thats the iso with 5.3, and using kernelPackages = pkgs.linuxPackages_latest; will keep you on 5.3
<lane-s> I do use nix in mint, I was just hoping to switch to nixOs. I'm just getting worried now that I could spend the rest of the weekend configuring my system as still not be ready for work. Still tempted to try though
oscarvarto has joined #nixos
<babariviere[m]> maybe try to install it on a VM first
<babariviere[m]> after that you will be able to find a solution for your network issues
<lane-s> Yeah once I get my desktop set up I'll just install it there. Should have no network issues with a generic ethernet device and no stress about getting it set up in time for work
<maralorn> The example from "nix why-depends --help" says "nix why-depends nixpkgs.hello nixpkgs.glibc" that doesn‘t work for me "error: attribute 'nixpkgs' in selection path 'nixpkgs.hello' not found". Why? Where does it take the variable nixpkgs? I have <nixpkgs> in my NIX_PATH but nixpkgs != <nixpkgs>.
<clever> maralorn: you can also give it store paths, nix why-depends ./result /nix/store/fat-thing
leocp1 has joined #nixos
oscarvarto has quit [Client Quit]
oscarvarto has joined #nixos