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,
domogled has quit [Quit: domogled]
<mehlon> how do I clear all downloaded sources from nix?
<mehlon> they were downloaded incorrectly so I want them to download again
<{^_^}> [nixpkgs] @marsam opened pull request #75728 → docker-credential-helpers: init at 0.6.3 → https://git.io/JeQSY
<genesis> on soulseekqt, i'd fixed with desktop-file-edit
<{^_^}> [nixpkgs] @jonringer merged pull request #72353 → python3packages.stytra: init at 0.8.26 → https://git.io/Jezgb
<{^_^}> [nixpkgs] @jonringer pushed 6 commits to master: https://git.io/JeQSO
sondr3 has quit [Quit: WeeChat 2.6]
<qyliss> mehlon: how were they downloaded? What function?
<qyliss> (And how were they incorrect?)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75729 → makeDesktopItem: add desktop file validation → https://git.io/JeQS3
<mehlon> well it's fetchFromGithub but the .git dir is missing and also there's no submodules
<mehlon> so I changed the fetchsubmodules setting but that didn't update the source
Ariakenom has quit [Read error: Connection reset by peer]
<qyliss> Did you remember to change the sha256?
<mehlon> hmm
<qyliss> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<worldofpeace> 👍️
<mehlon> guess that makes sense
Henson has joined #nixos
<mehlon> thanks that did the trick
<DigitalKiwi> worldofpeace: nice
<b42> ,tofu-vim
<{^_^}> <esc>52i0<esc>
<worldofpeace> DigitalKiwi: it used to have a doCheck instead of fileValidation, but it doesn't use mkDerivation anymore on master.
Chiliparrot has joined #nixos
<infinisil> Okay so, this one-line patch allows fetchFromGitHub to not use the old hash if the owner/repo/rev changes: https://paste.infinisil.com/R__xZjOGOI.diff
<infinisil> Is there any reason we wouldn't want to do that? It's such a common pitfall
<infinisil> In short: It changes the name of the derivation from "source" to "source-${owner}-${repo}-${rev}"
<samueldr> all source uses a static name to re-use source FODs IIRC
<infinisil> re-use from where?
<samueldr> not sure
<samueldr> but there was a reason for all source (not only github) to be named "source"
<infinisil> Yeah I heard something like this too, but I could never really understand it
<qyliss> infinisil: wouldn't changing that mean you'd have to change every use of fetchFromGitHub?
<qyliss> or does changing the name not affect the sha256?
<infinisil> qyliss: Nope, hashes stay the same
<qyliss> oh, cool
<samueldr> but it wouldn't be able to fine xxx-y+1 with the new old hash
<samueldr> to find*
slack1256 has joined #nixos
<infinisil> No idea what you mean
<infinisil> What's "it"? What's the "new old hash"?
<samueldr> given source xxx-1 with hash 00001, when you naïvely change the version to 2, xxx-2, it'd search for xxx-2 with hash 00001, wouldn't find it, dowload with the new version number (or revision for github fetcher) and then barf on different hash
<infinisil> That sounds like exactly what we want no?
<samueldr> yes, exactly, I was re-stating the result
<infinisil> Ah
dsx has quit [Remote host closed the connection]
<kolbyjcrouch> Is there anyway to remove a string from a variable in nix? I know how to add onto NIX_CFLAGS_COMPILE or configureFlags, but is there a way to remove elements from them?
<simpson> Depends on which flag you want to remove. Sometimes it's easier to find whatever inserts the offending flag, and disable that feature. What are you working on?
<kolbyjcrouch> simpson: I'm trying to add a compiler flag to CFLAGS/CXXFLAGS to every package, and then manually remove certain flags from derivations that are broken with them.
<simpson> kolbyjcrouch: Huh. Which flag? Some flags are really not for every package, while some packages really are broken for any custom flags.
<kolbyjcrouch> simpson: I know how to add the flags I want to everything, but to remove them I'd have to override the whole variable for each offending package.
fragamus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
noudle has quit []
<samueldr> good history diving there infinisil
dsx has joined #nixos
<kolbyjcrouch> simpson: I wanted to mess around with LTO the same way gentooLTO does. it basically adds a lot of flags to everything, then uses a blacklist file to remove certain flags from packages they break.
<infinisil> So, the given reason is to have all fetchers return the same store path
<infinisil> But I wonder why that matters
mbrgm has joined #nixos
<simpson> kolbyjcrouch: Fixing broken packages is a form of messing around. You hoped to have a working environment, it sounds like?
<infinisil> niksnut mentions to see domenkozar[m]'s talk from nixcon 2017, but the link is dead, so I can't see it
<evils> infinisil: so i don't have 2 copies of a 5gb repo of 3D models because one was fetched from launchpad, even though it's the same rev?
<infinisil> evils: Why would you use two different fetchers to download the same thing is my question then
slack1256 has quit [Remote host closed the connection]
<evils> infinisil: because kicad moved their repos
<samueldr> infinisil: it would be that talk https://www.youtube.com/watch?v=dlRuMdm6pRU
<infinisil> evils: That's a *very* rare case though
<samueldr> though I have no idea when in the talk this is touched upon
<infinisil> He said slide 8
<infinisil> I'll try to find it..
<kolbyjcrouch> simpson: No not necessarily. Fixing the package itself from breaking with lto or -Ofast etc is out the scope of what I'm trying to do. gentooLTO already has a good list of which packages are broken with certain flags. I just wanted to emulate that in nix.
<samueldr> infinisil: the link in that comment is good for me
<DigitalKiwi> what's lto?
<samueldr> though it's a different video
<samueldr> I can cross-reference though I think
<simpson> DigitalKiwi: Link-Time Optimization. Here, likely referring to a specific cluster of GCC flags and features.
<infinisil> samueldr: I think it's https://youtu.be/dlRuMdm6pRU?t=368
<simpson> kolbyjcrouch: You could do a hilarious and horrible hack where you put it onto stdenv, and then have packages mark themselves broken on LTO-using stdenv.
<simpson> But it really does depend on whether you want this to go upstream, whether you want this to build a complete NixOS configuration, etc.
<DigitalKiwi> simpson: oh, ty
<samueldr> infinisil: yes
<kolbyjcrouch> simpson: I think setting several variables for each flag and then concatenating them together for the generic override, then overriding CFLAGS/CXXFLAGS and concatenating only non-broken ones for certain derivations might work.
<samueldr> that's about the same time
<infinisil> Hm okay, we can solve the ./. problem by using `builtins.path { path = ./.; name = "foobar"; }`
<infinisil> And similarly we can set the name in all other cases
<infinisil> That seems like a small price to pay for people not always having to remember to change their sha256's
<infinisil> (the price being constant: setting the name once for all important things in nixpkgs)
<infinisil> So there is indeed a problem with doing this, but I think the wrong solution was chosen
<jared-w> Anyone have luck getting simple-hydra working? I'm assuming that all I should need to do is make a blank, vanilla, 19.09 nixos and just copy-pasta the example and voila, hydra?
<infinisil> Or the less-ideal solution
qualiaqq has joined #nixos
<gchristensen> infinisil: the new CA path proposal fixes this too actually with no effort
<gchristensen> because the name would be removed from the equation
<jared-w> gchristensen: CA path proposal?
<{^_^}> rfcs#62 (by regnat, 4 days ago, open): [RFC 0062] Content-addressed paths
Rusty1 has joined #nixos
<gchristensen> maybe try this one, jared-w https://github.com/peti/hydra-tutorial
bhipple_ has joined #nixos
<mehlon> ugh
<mehlon> turns out nix automatically removes .git
<infinisil> gchristensen: Yeah I thought of that too earlier
<infinisil> Though I wonder how long it takes to be accepted!
<jared-w> gchristensen: that one hasn't been updated since 2016 (which is fine, I just don't know if that means "possibly broken on a recent nixos version" or not)
<gchristensen> I find delivering an RFC with working code to help grease wheels
<gchristensen> jared-w: not sure, but it is the one I followed when I was doing it last :)
<jared-w> Fair enough. I'll look through it if this next try doesn't do it for me. I knew declarative configuration wasn't going to magically make things easier, but I was hoping to need less lengthy, error-prone, manual/tedious copy+pasta style walkthroughs. Can't have your cake and eat it too I suppose :p
<gchristensen> declarative config often does help, but the trouble is hydra is rarely configured so the crufty bits are rarely exercised to make them go away
jluttine has quit [Ping timeout: 240 seconds]
<jared-w> yeah, that's true. I'm just used to more "modern" devops situations where people look at you weird if you can't get everything setup with one button hands-off
<jared-w> Of course, that's because tearing down and rebuilding your infrastructure repeatedly to make it "work better" is pretty common... So there's something to be said for "people almost never ever have to configure their hydra multiple times"
tbenst_ has quit [Ping timeout: 250 seconds]
<kolbyjcrouch> Anyone know how to get non-prefixed binutils in a pkgsCross stdenv? Some packages I'm trying to build are failing because they don't respect $AR from env.
<{^_^}> [nixpkgs] @veprbl opened pull request #75730 → texlive: provide a working pygmentex executable → https://git.io/JeQSQ
<Orbstheorem> Hello, can somebody give me a hand? :)
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Orbstheorem> I'm trying to get started with reflex (haskell). But building from nixpkgs fails :( `nix-store --realise "$(nix-instantiate '<nixpkgs>' -A haskellPackages.reflex)"`
<Orbstheorem> I'm looking at `hackage-packages.nix` and the apparently missing dependencies are listed, I don't understand why cabal can't find them :( (my build log: https://paste.gnugen.ch/raw/SaVV
<Orbstheorem> (Nixos 19.09)
gustavderdrache has quit [Quit: Leaving.]
<Orbstheorem> I'm trying to get the build logs from hydra, but it's not responding (:
<{^_^}> [nixpkgs] @veprbl pushed to release-19.09 « herwig: 7.1.5 -> 7.1.6 »: https://git.io/JeQSF
thc202 has quit [Ping timeout: 250 seconds]
viric has quit [Read error: Connection reset by peer]
viric_ has joined #nixos
bhipple_ has quit [Quit: Lost terminal]
bhipple_ has joined #nixos
gkmngrgn has quit [Ping timeout: 240 seconds]
<jared-w> Orbstheorem: are you using the reflex platform?
bhipple__ has joined #nixos
Chiliparrot has joined #nixos
<Orbstheorem> jared-w: No, I'm trying build reflex-vty. I tried using work-on on reflex platform without luck :(
<{^_^}> [nixpkgs] @cdepillabout opened pull request #75731 → Stack2cabal no longer broken → https://git.io/JeQ9J
<{^_^}> [nixpkgs] @cdepillabout closed pull request #75731 → Stack2cabal no longer broken → https://git.io/JeQ9J
<jared-w> we have a stack2cabal? How does that even work?
<{^_^}> [nixpkgs] @cdepillabout opened pull request #75732 → haskellPackages.stack2cabal: mark unbroken → https://git.io/JeQ9T
cjay- has joined #nixos
<jared-w> ah it just adds new-build support for git repos; nifty
vld has joined #nixos
mehlon has quit [Remote host closed the connection]
<jared-w> Orbstheorem: hmm, I'm also getting a failure if I try work-on for reflex-vty
Lears has joined #nixos
<jared-w> "called with unexpected argument 'buildToolDepends'"
gustavderdrache has joined #nixos
[Leary] has quit [Read error: No route to host]
<cjay-> I think I found a bug with redshift, though I'm not entirely sure if it's a real bug or just a consequence of how nixos works. I installed redshift-plasma-applet without directly installing redshift. The applet behaved strangely, it could only make the screen darker and darker. It seems to work correctly after I installed redshift explicitly.
<jared-w> cjay-: did you install the applet through the "normal" plasma method?
infinee has joined #nixos
vld has quit [Ping timeout: 246 seconds]
<cjay-> jared-w: installed with nix-env and then added to the taskbar via the gui
<jared-w> ah okay
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<cjay-> on second thought, it might have to do with me logging out and back in, after the screen got too dark. maybe it was that which "fixed" it
<jared-w> It's a straight build of the applet itself. So, since the applet doesn't install redshift for you, neither does this. If you have redshift installed, though, then it'll work fine.
<Orbstheorem> jared-w: I had a similar problem with redshift if I don't run it as a daemon
<jared-w> (unless I'm reading the package file horribly wrong)
<Orbstheorem> (which I now use to temporarily make my screen redder, by SIGSTOPPING the daemon ^^)
<jared-w> Orbstheorem: does running ./try-reflex inside the reflex-platform directory work?
<cjay-> weird, I thought I had seen redshift being installed as a dependency
<cjay-> the applet on its own can't make the screen darker, can it?
<Orbstheorem> jared-w: running ./try-reflex in reflex-platform works for me
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/a1a07025899 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<jared-w> It's a function input, but I don't see it in buildDepends anywhere. Which, admittedly, seems odd to me. Especially since the screen darker thing happened... idk how that works
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeQ9z
<jared-w> the applet could be independently controlling brightness since redshift doesn't do that by itself?
<pie__> given that i cant seem to be able to properly start firefox RAM-limited by a cgroup, could i somehow run firefox in a container instead?
captn3m0- has quit [Ping timeout: 240 seconds]
<jared-w> Orbstheorem: I think I've narrowed it down to the haskell generic-builder not supporting buildToolDepends that's getting passed to it somehow?
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @ericdallo opened pull request #75733 → clj-kondo: 2019.11.07 -> 2019.12.14 → https://git.io/JeQ9D
<Orbstheorem> jared-w: reflex-platform/default.nix:379 overrides cabal with buildToolDepends
<jared-w> pie__: if I want to run some weird crap in a container, Jess has probably already done it: https://github.com/jessfraz/dockerfiles
<Orbstheorem> pie__: You may wanna take a look at firejail first :)
Chiliparrot has quit [Ping timeout: 252 seconds]
NoctisLabs has quit [Quit: WeeChat 2.6]
NoctisLabs has joined #nixos
<pie__> Orbstheorem: hm
<keithy[m]> Hi guys, still on my first outing with nixos... the machine I am using has a broadcom wireless, but is refusing, asking for useFree to be set in the config. However I thought I would just override the kernelModules list to remove "wl" and extraModulePackages: [], no dice?
<clever> keithy[m]: all list based options are additive, so nixos will add the lists together, rather then removing things
<{^_^}> [nixpkgs] @cdepillabout merged pull request #75732 → haskellPackages.stack2cabal: mark unbroken → https://git.io/JeQ9T
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JeQ9x
<clever> keithy[m]: have you tried turning on allowUnfree in configuration.nix?
<keithy[m]> not yet, lol
<{^_^}> [nixpkgs] @veprbl opened pull request #75734 → herwig: 7.1.6 -> 7.2.0 → https://git.io/JeQ9j
fragamus has joined #nixos
CMCDragonkai has joined #nixos
<CMCDragonkai> In Nix, is there a way to use environment variables at a evaluation time? Or is `NIX_PATH` the only thing that can be used?
<clever> > builtins.getEnv
<{^_^}> <PRIMOP>
fragamus has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
oida has quit [Remote host closed the connection]
<jared-w> hah, got simple-hydra working. I must've screwed up some small thing somewhere else before trying it; running it in a clean VM worked great (pinging gchristensen in case you're curios)
oida has joined #nixos
<gchristensen> yay :) glad to hear it
<jared-w> using krops to remotely configure because nixops doesn't work on macOS. niv for dependency management of random sources. And simple-hydra to spin up the hello-world hydra server. Very happy with it. Now to go break it all tomorrow trying to get the next steps working... heh
<clever> jared-w: why does nixops not work on macos?
<jared-w> *squints* hmm... actually I take that back. I had previously attempted to use morph
<jared-w> which more or less does "nix-build + copy-to-server" and I was trying to use it with hydra definitely doesn't work on macos
<clever> jared-w: and thats basically what nixops does, nix-build + nix-copy-closure
<jared-w> right. So I think I assumed nixops wouldn't work for me because I wanted to use it with hydra and potentially other "builds on linux only" derivations
<clever> jared-w: nixops needs a linux build machine configured in /etc/nix/machines
<jared-w> ah, good point; I forgot about that. I now have _two_ different options to waste my time on tomorrow. Redoing the hello world with nixops + build slave or breaking the hello world with trying to get it to do some more complicated things. Either way, should be fun :)
<jared-w> I mean, looking at https://medium.com/@zw3rk/provisioning-a-nixos-server-from-macos-d36055afc4ad, I can even use docker for the build slave, which seems wildly obvious in retrospective...
<clever> jared-w: if your nix install is setup in a single-user mode, nixops can automatically configure the remote machine to be the build machine
<clever> jared-w: this will generate a bash script (darwin bash) that runs the darwin qemu, and then boots linux nixos within it
<clever> but it also has the bootstrap issue, of needing a linux build machine to make the inner nixos
<clever> jared-w: https://github.com/NixOS/nixops/issues/984 is about fixing nixops to use the remote machine automatically
<{^_^}> nixops#984 (by cleverca22, 1 year ago, open): update the automatic build slave functions under darwin
<jared-w> oooh, noice
<clever> gchristensen: should i maybe edit the title of that now?
<angerman> clever: that still means you *need* a linux machine somehow :D
<angerman> jared-w: glad if that article did provide any utility.
cyris212 has quit [Ping timeout: 265 seconds]
<clever> angerman: but if your deploying with nixops, it will first create a linux machine, either in the cloud or virtualbox (depending on the backend of choice)
<jared-w> angerman: it provided plenty! Even if it's just "oh yeah you can use docker too y'know".
<clever> angerman: and it can then use that remote machine, to build itself
<jared-w> clever: I have access to a vm farm running ovirt
<jared-w> but I don't have access to the API of it and can't assume that, so I don't know if I can get nixops to automagically make VMs for me
<angerman> clever: can I setup a linux virtualbox vm with no bootstrapping requirements?
<gchristensen> clever: please do :)
<clever> angerman: i believe the nixops virtualbox backend starts with a vbox app file, that has a base nixos pre-installed
captn3m0- has joined #nixos
<jared-w> Although, honestly, even if I have to hit "create from template" 10 times it's not the end of the world if everything else follows from there
<angerman> clever: that would be sufficient then yes.
cyris212 has joined #nixos
<clever> gchristensen: and github wont let us sweep that under the rug! lol
captn3m0 has quit [Ping timeout: 265 seconds]
<jared-w> Would be super nice if I just pointed it to a VM and it could nuke the hard drive and install nixos on the VM for me
<gchristensen> clever: ehh, it is okay :) it shows an open mind :)
<clever> jared-w: and thats where https://github.com/NixOS/nixops/issues/1189 comes in!
<{^_^}> nixops#1189 (by cleverca22, 17 weeks ago, open): plan for supporting custom partition layouts and custom FS's on any backend
<jared-w> awesome!
<jared-w> NixOps will be almost fully usable in just a few short years then ;)
<lovesegfault> gchristensen: Can you kick off hydra so I can wake up to an unstable release? :P
<jared-w> lovesegfault: sudo break-the-build-maybe.sh? :p
<clever> jared-w: my basic plan with the 1189 issue, is that you would have a pre-built kexec tar, and nixops will just upload it to a target running any version of linux
<lovesegfault> jared-w: god as my witness we will see an unstable release
<clever> jared-w: or for virtualbox, it could just be a slight variant of the installer iso
viric_ has quit [Read error: Connection reset by peer]
<jared-w> ah perfect, that would be great
<jared-w> One step closer to re-inventing terraform in nix :p
<gchristensen> lovesegfault: I can, but unfortunately "unstable" doesn't tell me what job to kick :P
viric has joined #nixos
<lovesegfault> gchristensen: trunk-combined
<gchristensen> ah, nixos-unstable
<lovesegfault> I fixed the NAT failure yesterday
<lovesegfault> and the aarch64 sd-image the night before :P
spwx has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
<spwx> Hello, new nixos user here, I have read the nixos manual, but i was wondering if anyone here has set up spice-vdagentd to work with sway?
<spwx> I have this in my configuration.nix: services.spice-vdagentd.enable = true;
<spwx> but everytime i try to run: spice-vdagent -d -x i get the following error: spice-vdagent[3087]: connect /var/run/spice-vdagentd/spice-vdagent-sock: No such file or directory
h0m1 has quit [Ping timeout: 245 seconds]
<jared-w> Does it work when not using sway?
jluttine has joined #nixos
h0m1 has joined #nixos
<spwx> jared-w: I haven't tried another manager
<spwx> i suppose ill install gnome and give it a go
<spwx> was really hoping i could find another solution
<dansho> ,locate gnu/stubs-32.h
<{^_^}> Found in packages: zig, glibc_multi.dev
<jared-w> spwx: I don't think the manager is the issue, but there might be some odd configuration in spice-vdagentd that is breaking for one reason or another
<jared-w> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/spice-vdagentd.nix oh, this is actually way simpler than I thought it'd be
<jared-w> what does "systemctl status spice-vdagentd" say?
o1lo01ol1o has quit [Remote host closed the connection]
<spwx> not running....
<spwx> wanted by graphical huh
<jared-w> betcha that's the problem :)
<spwx> thanks!
<spwx> jared-w: that was it
<jared-w> https://nixos.wiki/wiki/Sway might wanna check this out and see if your configuration is missing a non-obvious thing or two
<{^_^}> #57602 (by primeos, 39 weeks ago, open): sway: Optimal NixOS integration
<{^_^}> [nixpkgs] @nh2 opened pull request #75736 → srt: 1.4.0 -> 1.4.1 → https://git.io/JeQHX
<{^_^}> [nixpkgs] @nh2 opened pull request #75737 → elogind: 241.3 -> 241.4 → https://git.io/JeQH1
qubasa_ has joined #nixos
<jwaksbaum[m]> Following up on an earlier issue: I am trying to use linuxPackages_custom to run a custom kernel with custom config on NixOS. I'm getting errors, and I think I have a minimal example. Running nix-instantiate on tiny.nix gives me the error:
<jwaksbaum[m]> error: attribute 'dev' missing, at /nix/store/da5i5y6vm0z538a17yfczwwkf0q592bd-source/pkgs/os-specific/linux/amdgpu-pro/default.nix:14:42
jbaum98 has joined #nixos
<spwx> jared-w: yea its weird, once i start that service, i still have to manually start spice-vdagent... think im just gonna install gnome as well and see how stuff there works.
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @nh2 merged pull request #75677 → glog: Add upstream patch to fix tests with musl. → https://git.io/JeQB4
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JeQHM
qubasa has quit [Ping timeout: 252 seconds]
migralito has joined #nixos
<jared-w> if it works great out of the box, all you need left to do is figure out where the systemd integration is going wrong, since that's the only "difference"
felixfoertsch has joined #nixos
<Orbstheorem> How do you decide which packages are built on hydra? In particular, why is haskellPackages.xmonad-spotify built but not haskellPackages.reflex?
<jared-w> Orbstheorem: package sets are the magic that makes the hydra spawn its heads
spwx has quit [Quit: WeeChat 2.6]
<Orbstheorem> jared-w: I don't understand how that answers my question :)
<Orbstheorem> For project nixpkgs, I thought all top level packages were built ^^
<jared-w> erm, I swear I was going to follow that up with the real explanation and then I got distracted
<Orbstheorem> That's a cool attention span xD
felixfoertsch23 has quit [Ping timeout: 265 seconds]
<jared-w> yeah the TV is on and my wife's watching Fuller House and I have a severe inability to focus when a TV is on; it's a problem :p
<jared-w> anyways, the package might be disabled
<jared-w> or if a sub dependency is failing, it won't try to bulid
migralito has quit [Ping timeout: 260 seconds]
* Orbstheorem just realised that it may not be reachable from top-level
bvdw has quit [Quit: Ping timeout (120 seconds)]
bvdw has joined #nixos
<jared-w> haskellPackages is a bit odd in that regard
<Orbstheorem> If a sub dependency fails, it should still be in the “Still failing jobs” list, right?
<clever> Orbstheorem: i believe so
<Orbstheorem> Okay ^^
<Orbstheorem> Does all of hackage make it into hackage-packages?
<clever> yes
<clever> even some acme things are in there
<Orbstheorem> Thanks ^^
<clever> i suspect acme-everything has a special exception to ignore it
<jared-w> clever: but that package is _essential_ to my workflow!
<clever> > haskellPackages.acme-realworld.meta.description
<{^_^}> "Primitives for manipulating the state of the universe"
<clever> jared-w: i think this one is of more use
<jared-w> Beauty. How have I never seen this one before?
<clever> jared-w: i got bored one day, and read the docs for every single acme package :P
<jared-w> lol, that'll do it
EdLin has joined #nixos
<Orbstheorem> Is there a json API to get result from the latest eval for a given project? I would like to curl hydra.nixos.org/magic/nixpkgs | jq '.filter("failed"==true)' ...
<jwaksbaum[m]> clever: not sure if you remember, but you were helping me yesterday with my issue with linuxPackages_custom. i have the system available now, can you help me debug?
<clever> jwaksbaum[m]: sure, let me read the paste above...
<jared-w> Orbstheorem: so I can't find the exact thing that causes reflex to not show up, but I can't find it in nixpkgs anywhere
<jared-w> Or, well, in the hydra at least
<jwaksbaum[m]> clever: cool sorry, wasn't sure if you read every message
<Orbstheorem> jared-w: Yeah, I think it's may not be reachable from top-level/all-packages.nix
<jared-w> I suspect there might not be a strong motivation to get reflex in there correctly because reflex-platform has a huge amount of tooling around it and nix integration and it's just so much easier to use that than to try and dump all of that into nixpkgs somewhere
<lovesegfault> Can someone take a look at this: https://github.com/NixOS/nixpkgs/pull/74896
<{^_^}> #74896 (by lovesegfault, 1 week ago, open): gebaar-libinput: init at 0.0.5
<Orbstheorem> jared-w: That's... not a reason not to upstream?...
<{^_^}> [nixpkgs] @jonringer merged pull request #75642 → python3Packages.nipype: fix build, add missing dependencies → https://git.io/JeQky
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JeQHx
<clever> jwaksbaum[m]: lets start by readiing line 14 of amdgpu-pro/default.nix
<{^_^}> [nixpkgs] @jonringer opened pull request #75738 → python3Packages.mypy: 0.740 -> 0.750 → https://git.io/JeQHj
<clever> 14 kernelDir = if libsOnly then null else kernel.dev;
<clever> jwaksbaum[m]: its trying to read kernel.dev, to get the headers
<Orbstheorem> Also not upstreaming reflex platforms' hacks causes `callCabal2nix` not to work...
<jared-w> Orbstheorem: They haven't even upstreamed to hackage regularly
<clever> jared-w: checking nixpkgs...
<Orbstheorem> time to dig into reflex-platform's hacks...
vld has joined #nixos
bhipple has quit [Ping timeout: 265 seconds]
bhipple_ has quit [Ping timeout: 268 seconds]
<Orbstheorem> Fun fact, I don't need reflex-platform, just reflex :(
bhipple__ has quit [Ping timeout: 268 seconds]
bhipple has joined #nixos
bhipple_ has joined #nixos
bhipple__ has joined #nixos
vld has quit [Ping timeout: 246 seconds]
<CMCDragonkai> Given that `builtins.fetchGit` works at evaluation time and can use the user's SSH keys. How can I use `pkgs.fetchgit` to use use SSH keys that only the root user has access to? Is there a way so that only the nix-daemon can see these keys?
<CMCDragonkai> I'm thinking of putting keys in `/run/keys` and only owned by root.
<CMCDragonkai> But what else is needed?
<clever> CMCDragonkai: you want pkgs.fetchgitPrivate, which needs some funky stuff with your ssh agent, and then any derivation downloading something can make use of your keys
<CMCDragonkai> clever: that no longer exists
EdLin has quit [Quit: WeeChat 2.6]
<CMCDragonkai> clever: even if it did, the fetchGitprivate seemed to make use of an agent to try to get keys, but I'm not actually interested in using my own personal keys, I want there to be keys that only the root user/nix daemon has access to.
<{^_^}> nix#1256 (by cleverca22, 2 years ago, open): ssh agent forwarding
<CMCDragonkai> clever:
<clever> CMCDragonkai: root being a requirement actually makes some of it simpler
<CMCDragonkai> clever: sorry, the fetchgitPrivate was removed in this commit
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c5f385d7eef (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<clever> CMCDragonkai: youll either need to continue using builtins.fetchgit, or re-add fetchgitPrivate and run socat like in my gist
<clever> CMCDragonkai: any method not using an agent, involves the keys being world-readable in /nix/store/
<CMCDragonkai> doesn't nixops make use of `/run/keys`
<CMCDragonkai> and that can exist in `nix.sandboxPaths`?
<clever> CMCDragonkai: nixops will copy keys there, but no build within the machine can read it
<clever> CMCDragonkai: sandboxPaths exposes it to EVERY SINGLE BUILD
<CMCDragonkai> yea that's fine, i'm putting this in a CI environment
<CMCDragonkai> and its sole purpose is to build things
<CMCDragonkai> and thus has a SSH key for that machine
<clever> CMCDragonkai: and why cant you use builtins.fetchGit?
<CMCDragonkai> to prevent users of the CI system from accessing the key
<CMCDragonkai> the key should only be available to the CI system itself
<CMCDragonkai> not the people submitting jobs to the CI system
<clever> CMCDragonkai: nix-build -E 'with import <nixpkgs> {}; runCommand "name" {} "cat /run/keys/ohgodno"'
<clever> CMCDragonkai: boom, your now screwed
o1lo01ol1o has joined #nixos
<CMCDragonkai> therefore fetchgitPrivate is the only way to do this?
drewr has joined #nixos
<clever> yeah, fetchgitPrivate supports an ssh agent, so you can keep the key itself secure within the agent
<clever> any attacker could still connect to the agent, and make use of it, until you boot them out, but they cant copy the secret itself
<clever> CMCDragonkai: nix-build -E 'with import <nixpkgs> {}; runCommand "name" {} "ssh -O IdentityAgent=/tmp/hax ssh user@host rm -rf /"'
<clever> and depending on what the key can do, they could still wreak havoc :P
o1lo01ol1o has quit [Remote host closed the connection]
<CMCDragonkai> in your example here 2:35 PM <clever> and depending on what the key can do, they could still wreak havoc :P
<CMCDragonkai> what is `/tmp/hax`?
<clever> CMCDragonkai: /tmp/hax is a unix socket, that socat will listen on
<CMCDragonkai> what is the reason for using socat here?
<clever> CMCDragonkai: every time something connects to it, socat will open a socket to $SSH_AUTH_SOCK, and forward the traffic over
<clever> CMCDragonkai: if ssh-agent detects you connecting from the "wrong" user, it thinks its malicious, and refuses to do anything
<{^_^}> [nixpkgs] @nh2 merged pull request #75737 → elogind: 241.3 -> 241.4 → https://git.io/JeQH1
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/JeQQZ
<clever> CMCDragonkai: socat acting as a proxy, will blame everything on root, and ssh-agent has an exception to let root in, so `sudo ssh foo` can use your agent, even though root isnt you
<CMCDragonkai> was this the proper way of using fetchgitPrivate, or were you doing something special in addition to fetchgitPrivate
NoctisLabs has quit [Quit: WeeChat 2.6]
<clever> CMCDragonkai: fetchgitPrivate never documented how to use the ssh-auth-sock, and this is the only way i found that works
neildaemond has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @nh2 pushed to srt-1.4.1 « srt: 1.4.0 -> 1.4.1 »: https://git.io/JeQQn
<{^_^}> [nixpkgs] @nh2 pushed 0 commits to srt-1.4.1: https://git.io/JeQQC
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75588 → amazon-ecs-cli: add darwin → https://git.io/JeHKK
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQQl
<CMCDragonkai> clever: Another alternative I was exploring is the use of token URIs, this means switching the fetch URL to https instead, and making use of an environment variable. But this has to happen only in the CI environment, whereas on Dev environments, it would be preferable to keep using `builtins.fetchGit` so they can reuse the dev's ssh key.
drakonis1 has quit [Quit: WeeChat 2.6]
ninegrid has quit [Ping timeout: 268 seconds]
drakonis has quit [Ping timeout: 252 seconds]
drakonis has joined #nixos
remirol has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 250 seconds]
lorimer has quit [Ping timeout: 240 seconds]
LLED2_2 has joined #nixos
LLED2_3 has quit [Ping timeout: 265 seconds]
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
LLED2_2 has quit [*.net *.split]
bhipple__ has quit [*.net *.split]
captn3m0- has quit [*.net *.split]
jluttine has quit [*.net *.split]
elibrokeit has quit [*.net *.split]
Henson has quit [*.net *.split]
kleisli has quit [*.net *.split]
fresheyeball has quit [*.net *.split]
orivej has quit [*.net *.split]
eri has quit [*.net *.split]
Izorkin has quit [*.net *.split]
grumble has quit [*.net *.split]
nixy has quit [*.net *.split]
mounty has quit [*.net *.split]
ZeDestructor has quit [*.net *.split]
lukash_|away has quit [*.net *.split]
Guanin has quit [*.net *.split]
peanutbutter144 has quit [*.net *.split]
betaboon has quit [*.net *.split]
ToxicFrog has quit [*.net *.split]
evanjs has quit [*.net *.split]
lord| has quit [*.net *.split]
lunik14 has quit [*.net *.split]
xqsl has quit [*.net *.split]
hyper_ch has quit [*.net *.split]
kcalvinalvin has quit [*.net *.split]
rembo10 has quit [*.net *.split]
MinceR has quit [*.net *.split]
drainful has quit [*.net *.split]
judson_ has quit [*.net *.split]
Gohla has quit [*.net *.split]
silver_hook has quit [*.net *.split]
octe has quit [*.net *.split]
orbekk has quit [*.net *.split]
buckley310 has quit [*.net *.split]
Acou_Bass has quit [*.net *.split]
dirkx has quit [*.net *.split]
dirkx_ has quit [*.net *.split]
grw has quit [*.net *.split]
betawaffle has quit [*.net *.split]
nbp has quit [*.net *.split]
Sargun has quit [*.net *.split]
cjay- has quit [*.net *.split]
aleph- has quit [*.net *.split]
njd has quit [*.net *.split]
catern has quit [*.net *.split]
bastion-tester has quit [*.net *.split]
RustyRobot has quit [*.net *.split]
dsg has quit [*.net *.split]
kisonecat has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
v0|d has quit [*.net *.split]
drozdziak1 has quit [*.net *.split]
rprospero has quit [*.net *.split]
mrlizard has quit [*.net *.split]
vk3wtf has quit [*.net *.split]
Arahael has quit [*.net *.split]
sheenobu has quit [*.net *.split]
shyim has quit [*.net *.split]
pjan has quit [*.net *.split]
multun has quit [*.net *.split]
jeaye has quit [*.net *.split]
j4m3s__ has quit [*.net *.split]
Raito_Bezarius has quit [*.net *.split]
marcusr has quit [*.net *.split]
ajp_ has quit [*.net *.split]
ddima__ has quit [*.net *.split]
ptrcmd has quit [*.net *.split]
ornxka has quit [*.net *.split]
kwork has quit [*.net *.split]
dooms has quit [*.net *.split]
iMatejC has quit [*.net *.split]
mfernandez has quit [*.net *.split]
ivegotasthma has quit [*.net *.split]
HedgeMage has quit [*.net *.split]
joko has quit [*.net *.split]
kaychaks has quit [*.net *.split]
monokrome has quit [*.net *.split]
mupf has quit [*.net *.split]
locallycompact has quit [*.net *.split]
disasm has quit [*.net *.split]
Intensity has quit [*.net *.split]
linuus has quit [*.net *.split]
hodapp has quit [*.net *.split]
mrus has quit [*.net *.split]
dev3 has quit [*.net *.split]
kriztw has quit [*.net *.split]
pemeunie1 has quit [*.net *.split]
heath has quit [*.net *.split]
umachan has quit [*.net *.split]
klys has quit [*.net *.split]
swistak35 has quit [*.net *.split]
adamCS has quit [*.net *.split]
switchy has quit [*.net *.split]
danderson has quit [*.net *.split]
o1lo01ol1o has joined #nixos
<jwaksbaum[m]> clever: now i'm not so sure my example is relevent because, for example, even linuxPackages won't instantiate without error. it seems boot.kernelPackages lazily accesses certain attributes and some of them are broken
<clever> jwaksbaum[m]: *looks*
gustavderdrache has quit [Quit: Leaving.]
<clever> nix-repl> linuxPackages.kernel.dev
<clever> «derivation /nix/store/x17x6xj4bfdqj06p39bxlclyk8j2xxx6-linux-4.19.87.drv»
<jwaksbaum[m]> point taken, i'm sorry. i appreciate all your help!
<clever> nix-repl> linuxPackages.amdgpu-pro
<clever> «derivation /nix/store/g190nly76iwc6fzvf1xaww2adqmk7bl8-amdgpu-pro-17.40-4.19.87.drv»
<clever> the attr in question works on unstable
halfbit has joined #nixos
<clever> jwaksbaum[m]: oh, which kernel package do you actually want to build?
<jwaksbaum[m]> clever: a custom kernel distributed over a few files that uses linuxPackages_custom
<clever> jwaksbaum[m]: just the kernel?
<clever> jwaksbaum[m]: try `nix-build tiny.nix -A kernel` ?
<jwaksbaum[m]> clever: sorry, i want to use it as the kernel of my system, so whatever is required for boot.kernelPackages
<jwaksbaum[m]> clever: the kernel itself builds right now, just not something else in the linuxPackages set
<clever> jwaksbaum[m]: can you pastebin the entire configuration.nix file?
<jwaksbaum[m]> clever: it's distributed across many files. i'll try to pare it down to a minimal example
<{^_^}> [nixpkgs] @jonringer opened pull request #75739 → python3Packages.bottleneck: 1.2.1 -> 1.3.1 → https://git.io/JeQQD
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
o1lo01ol1o has quit [Remote host closed the connection]
<pie__> clever: oh you know why rebuild wasnt giving much output?
o1lo01ol1o has joined #nixos
<pie__> it was doing rebuild boot instead of rebuild switch.
<clever> pie__: thatll do it!
<pie__> clever: so at least two things have been clarified today
<pie__> also got a solution to why my firefox cgroup limiting wasnt working! x)
<clever> i need to restart chrome tonight...
<pie__> heh
AFKRozy23 has quit [Remote host closed the connection]
<clever> i tried to replug the headset to fix a weird latency thing it tends to get after a lot of uptime
<clever> and pulse lost the ability to see the headset
<clever> and if i restart pulse, chrome looses audio capture entirely
<wedens[m]> anyone knowledgeable in linux audio can give some pointers? https://github.com/NixOS/nixpkgs/issues/73531
<{^_^}> #73531 (by wedens, 4 weeks ago, open): USB sound card is not detected after updating 19.09 channel
<pie__> clever: aw.
<pie__> clever: tried looking for any bug tracker issues or would you just rather stick to restarting chrome
<clever> pie__: its been like this for years
<pie__> "this is fine"
<pie__> i should get JACK
<{^_^}> [nixpkgs] @jonringer opened pull request #75740 → python3Packages.jaraco_text: 3.1 -> 3.2.0 → https://git.io/JeQQN
<CMCDragonkai> clever: do you know what `fetchgitLocal` is for?
<clever> CMCDragonkai: not really, i think builtins.fetchGit replaced it anyways
<pie__> brb, rebooting
<pie__> hopefully my system isnt bricked
pie__ has quit [Quit: pie__]
<lovesegfault> Can someone (clever) show me an example default.nix for a python app?
switchy has joined #nixos
<clever> lovesegfault: i try to avoid python :P
<lovesegfault> :P
<{^_^}> [nixpkgs] @alyssais opened pull request #75741 → linux-libre: update automatically; fix build → https://git.io/JeQQx
<CMCDragonkai> clever: is there a way to make `builtins.fetchGit` always get the latest commit on every evaluation?
<CMCDragonkai> the nix manual says you can do this but disabled in pure evaluation mode
<CMCDragonkai> but i tried this
<CMCDragonkai> and it doesn't do it
<clever> CMCDragonkai: there is a cache to speed things up
<clever> CMCDragonkai: but if your in a ci context, shouldnt you have an env var that says which rev to use?
<CMCDragonkai> clever: this is a different situation now
<CMCDragonkai> clever: in the nix manual it says `builtins.fetchGit { url = "..."; ref = "master"; }` should always get the latest commit
<CMCDragonkai> but that'sn ot true, because if you fetchthe first time
<CMCDragonkai> subsequent evaluations result in the same thing
<CMCDragonkai> even if master has changed in the mean time
<clever> CMCDragonkai: what if you `--option tarball-ttl 60` ?
<CMCDragonkai> where does that option go?
<CMCDragonkai> i was trying it out in nix repl
<clever> CMCDragonkai: by default, nix will cache the result of the impure fetches for 1 hour, and not check again until that hour has expired
<clever> CMCDragonkai: the above flag, changes it to 1 minute
<CMCDragonkai> oh
<CMCDragonkai> `warning: ignoring the user-specified setting 'tarball-ttl', because it is a restricted setting and you are not a trusted user`
<clever> thats a bug, ignore it
<CMCDragonkai> yea i saw that wwarning before somewhere else and somebody else told me it was spurious
<CMCDragonkai> ok so there's an "impure cache" for impure fetches
<CMCDragonkai> and the option that controls this is tarball-ttl?
<CMCDragonkai> for all kinds of impure fetches?
<CMCDragonkai> or just for `fetchGit`?
<clever> [nix-shell:~/apps/kernel/build]$ ls ~/.cache/nix/gitv2/
<clever> [nix-shell:~/apps/kernel/build]$ ls ~/.cache/nix/tarballs/
<clever> CMCDragonkai: i think its for all 3 of the impure fetch functions, fetchurl, fetchTarball, and fetchGit
<CMCDragonkai> that option shouldbe better named!
<clever> it was named before fetchGit existed
<{^_^}> [nixpkgs] @jonringer opened pull request #75742 → python3Packages.odo: disable due to dask incompatibility → https://git.io/JeQ7I
<{^_^}> [nixpkgs] @jonringer opened pull request #75743 → python3Packages.dask: 2.6.0 -> 2.9.0 → https://git.io/JeQ7t
mexisme_ has quit [Ping timeout: 276 seconds]
mexisme_ has joined #nixos
dsg has joined #nixos
<jwaksbaum[m]> clever: thanks for your help, i found the issue was in my own configuration. Thanks again for your prompt responses and sorry for wasting your time.
<lovesegfault> how do I get my default.nix to use nixpkgs?
<clever> jwaksbaum[m]: what was the issue?
<lovesegfault> I thought it was { pkgs, ... }: ...
<lovesegfault> but it complains pkgs is not a thing
<lovesegfault> error: cannot auto-call a function that has an argument without a default value ('pkgs')
<clever> ,callPackage lovesegfault
<{^_^}> lovesegfault: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<lovesegfault> clever: That's annoying though, can't it just callPackage itself
<clever> lovesegfault: it cant
<jwaksbaum[m]> clever: my configuration was failing various assertions. It was only after wrapping it in things like recueseAttrs or linuxPackagesFor that the other errors happened. Not being able to instantiate the whole set was a red herring. Fixing the config itself to enable for example rpi filter, and then just using the result of linuxPackages_custom fixed it.
NoctisLabs has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer opened pull request #75744 → python3Packages.starfish: disable due to incompatible dependencies → https://git.io/JeQ7n
bvdw has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #75745 → python3Packages.streamz: disable kafka tests → https://git.io/JeQ7c
vld has joined #nixos
jbaum98 has quit [Quit: Connection closed for inactivity]
NoctisLabs has quit [Quit: WeeChat 2.6]
vld has quit [Ping timeout: 265 seconds]
kolbycrouch has joined #nixos
<kolbycrouch> Why do I get "output '/nix/store/*-stdenv-linux' is not allowed to refer to the following paths: /nix/store/*-musl" when I tried to override pkgs.coreutils for pkgs.pkgsMusl.coreutils in a mkDerivation?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
NoctisLabs has joined #nixos
<MichaelRaskin> kolbycrouch: the stdenv code doesn't want to have references to the glibc of the wrong stage or something like that, so it limits what runtime dependencies are allowed.
<MichaelRaskin> You seem to have done something this check does not like
<kolbycrouch> MichaelRaskin:Hmm, maybe I can disable this check? I've combed through nixpkgs and haven't found anything about it though.
halfbit has quit [Ping timeout: 268 seconds]
<MichaelRaskin> pkgs/stdenv/linux/default.nix allowedRequisistes specification
<{^_^}> [nixpkgs] @jonringer opened pull request #75746 → pythonPackages.weboob: add futures dependency → https://git.io/JeQ7g
pie_ has joined #nixos
georgew has left #nixos [#nixos]
Rusty1 has quit [Quit: Konversation terminated!]
nixy37 has quit [Quit: The Lounge - https://thelounge.chat]
nixy37 has joined #nixos
<pie_> anyone know how to fix https://bpaste.net/show/5NO62 on unstable?
<pie_> my wifi drivers seem to be borked regardless of kernel version
<pie_> rolling back does work but i dont know what changed
<pie_> actually hold on, i thought firmwareLinuxNonfree hasnt changed, but i confused myself
<pie_> ah. that might be the culprit.
<pie_> I guess I can try downgrading that to the one on stable
<pie_> bbiab
<pie_> clever: bad thing about rare reboots, everything is broken when you do reboot :P
<clever> pie_: and thats why i never reboot! lol
<kolbycrouch> MichaelRaskin: After looking at, It seems like it should work with musl via override. It complains about attr too even though its in allowedRequisites.
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #75747 → pango: fix darwin build → https://git.io/JeQ7D
fusion809 has quit [Remote host closed the connection]
<pie_> clever: i try not to...
pie_ has quit [Ping timeout: 276 seconds]
gerschtli has quit [Quit: WeeChat 2.6]
gerschtli has joined #nixos
[Leary] has joined #nixos
<DigitalKiwi> clever: switch me computers :|
<clever> 00010be8 <printf_core>:
<clever> 10be8: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr}
<clever> 10bec: ed2d8b04 vpush {d8-d9}
<clever> [ 3.396318] potentially unexpected fatal signal 4.
Lears has quit [Ping timeout: 252 seconds]
<clever> [ 3.416539] pc : [<00010bec>] lr : [<00012458>] psr: 80000010
<clever> 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP
<clever> DigitalKiwi: are you sure you want mine? lol, it cant even printf!
<DigitalKiwi> i'll just print with my windows computer
<DigitalKiwi> (is joke)
<{^_^}> [nixpkgs] @jonringer closed pull request #75747 → pango: fix darwin build → https://git.io/JeQ7D
<DigitalKiwi> almost all of my reboots are either because of a kernel segfault, or initiate a kernel segfault
<DigitalKiwi> so by reboot i mean i have to hold the power button :|
<clever> DigitalKiwi: in my case, its having a panic, on bootup, because pid 1 failed with SIGILL
mexisme_ has quit [Ping timeout: 276 seconds]
<DigitalKiwi> can't reboot if you never boot *taps head*
sjkelly1 has quit [Remote host closed the connection]
pie_ has joined #nixos
Acou_Bass has joined #nixos
lord| has joined #nixos
bhipple_ has quit [Remote host closed the connection]
bhipple has quit [Remote host closed the connection]
<keithy[m]> im struggling to get an old mac imac circa 2008 to boot with nixos.
<pie_> clever: turns out its not a version problem. i think the firmware isnt being found for some reason. after some reverse engineering of nixpkgs; i created /lib/firmware and put the iwlwifi firmwares in there and a manual reload of the kernel module worke
<pie_> so either the firmware isnt added to the config as it should be or something is screwy in stage1, apparently firmwares are loaded by the kernel in stage1 afaict
<pie_> clever: also the new nixos-option is sooooo goooooood
<pie_> compared to the old one its amazing
<pie_> well its probably like two months old at this point but my configuration was so broken it was hard to update :P
<pie_> oh you know what
<pie_> i bet the problem is i removed "not-detected.nix" from my config
<pie_> its what seems to set enableredistributablefirmware
<keithy[m]> it was booting directly into fedora, but nixos instructions didnt help
<clever> pie_: ls /run/current-system/firmware
rauno has quit [Ping timeout: 250 seconds]
<pie_> clever: oh. also yeah its empty
<pie_> clever: so what actually goes in there
<pie_> how would i know to check that directory
<pie_> is that remnants of stage1 or what
<clever> [clever@amd-nixos:~/apps/nixpkgs-hasura]$ ls /run/current-system/firmware/iwlwifi-* -l
<clever> lrwxrwxrwx 1 root root 111 Dec 31 1969 /run/current-system/firmware/iwlwifi-1000-3.ucode -> /nix/store/pxdhpx9mllm8rsmi2y21qbzpyaawiw33-firmware-linux-nonfree-2019-10-22/lib/firmware/iwlwifi-1000-3.ucode
<clever> lrwxrwxrwx 1 root root 111 Dec 31 1969 /run/current-system/firmware/iwlwifi-1000-5.ucode -> /nix/store/pxdhpx9mllm8rsmi2y21qbzpyaawiw33-firmware-linux-nonfree-2019-10-22/lib/firmware/iwlwifi-1000-5.ucode
<pie_> im kind of happy i kind of managed to figure something out by myself though
<clever> pie_: one of the modprobe or udev config files says to look there
<pie_> clever: right, i dont know where those are
<pie_> clever: remember me asking several times about modprobe crap? i still dont know how to work it
<clever> nixos/modules/services/hardware/udev.nix: echo -n "${config.hardware.firmware}/lib/firmware" > /sys/module/firmware_class/parameters/path
<pie_> clever: i figures /lib/firmware is hardcoded into iwlwifi or something. its configurable?
<Orbstheorem> I find funny there's a NixOS logo in the pinephone image x)
<clever> pie_: when a driver wants to load firmware, it tosses the filename down to udev
<pie_> clever: oh....
<clever> pie_: udev is then responsible for finding the file, and given the kernel a copy
<pie_> clever: LFS?
<clever> pie_: lfs?
<pie_> clever: do you know this from doing LFS? (i happen to have gotten an lfs thread while googling(
palo1 has joined #nixos
<clever> pie_: i know this, because i manually reverse engineered, and then implemented firmware handling, in bash, to get wifi in the initrd, lol
<clever> pie_: back when i was playing around with initrd's in gentoo
<pie_> oh. 'xD
<pie_> with all the crazy stuff people put in initrd im not sure why an initrd even exists
bahamas has joined #nixos
<pie_> just directly go into linux
<clever> pie_: the main job of the initrd, is to let you customize which modules get loaded at boot, without having to compile the kernel again
<clever> pie_: so you can do things like add zfs to the initrd, to deal with root on zfs, without rebuilding a new kernel
<pie_> hm
<bahamas> I have this shell.nix file https://bpaste.net/show/MA2PU. can anyone remind me how do I change it so I'm actually dropped in a shell where those packages are installed in ghc?
<{^_^}> [nixpkgs] @jonringer opened pull request #75749 → python3Packages.gym: disable due to missing dependencies → https://git.io/JeQ5G
<clever> bahamas: thats giving you a shell suitable for building ghcWithPackages, not using the result of a built ghcWithPackages
palo has quit [Ping timeout: 252 seconds]
palo1 is now known as palo
<pie_> clever: so the point of the initrd is to enable making scripts that do IO, so kernel modules can be loaded?
<clever> bahamas: you must create another derivation, and add ghcWithPackages to the buildInputs of it
<clever> pie_: the scripts are more just a way to load the modules, and configure other stuff to mount the real root
<pie_> bahamas: mkShell is a shorthand for the above ^
<pie_> clever: well ok
kvda has joined #nixos
<pie_> at least i can say i learned something from shooting myself in the foot
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
<pie_> not sure if it was worth it
zupo has joined #nixos
kvda has joined #nixos
kvda has joined #nixos
kvda has quit [Changing host]
<lovesegfault> clever: for future reference, pypi2nix is wonderful
<MichaelRaskin> kolbycrouch: note that this is not about _any_ coreutils, it is about the specific-stage coreutils
<MichaelRaskin> clever: I think when I was using my own bash replacement for udev, firmware loading was OK-ish documented in the kernel docs
<clever> MichaelRaskin: maybe i just didnt read the docs back then, lol
<clever> MichaelRaskin: currently, i'm deaing with FPU exceptions on bootup
<bahamas> clever: pie_ I made it work. thanks!
<pie_> i finally installed direnv
<pie_> do i want to do any config on it or does it more or less work out of the box
<bahamas> but before I found the solution I hit a gotcha. why did this https://bpaste.net/show/DGWCG cause the error: "cannot coerce a function to a string"?
MichaelRaskin has left #nixos [#nixos]
janneke_ has joined #nixos
<clever> bahamas: nix doesnt use , to seperate list items, so [ function value ] is a list with 2 elements, not 1, which can lead to confusing errors
<clever> bahamas: you must wrap line 15 in ( and )
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #nixos
kvda has joined #nixos
kvda has quit [Changing host]
janneke has quit [Ping timeout: 245 seconds]
<bahamas> clever: ah, that makes sense. I went around it by assigning the return value to a variable and putting that in the list
<bahamas> thanks!
<bahamas> I'm curious. is there any way I could have done that strictly from the command-line without using a file? my goal was to have a nix-shell with a different version of time, but I had to disable tests, because they were failing
<clever> bahamas: basically, just shove that entire string into -p
<clever> bahamas: such as...
<clever> nix-shell -p '(haskellPackages.override { overrides = super: self: { time_1_9_2 = haskell.lib.dontCheck super.time_1_9_2; }; }).ghcWithPackages (ps: with ps; [ time_1_9_2 typed-process ])'
<clever> i think that would do the same thing
<clever> nix-shell -p '(haskellPackages.override { overrides = self: super: { time_1_9_2 = haskell.lib.dontCheck super.time_1_9_2; }; }).ghcWithPackages (ps: with ps; [ time_1_9_2 typed-process ])'
<clever> and once you get self and super the right way around, time_1_9_2 doesnt exist on my nixpkgs
<bahamas> clever: yes, that works. I think I'll make an alias, because that's hard to remember. thank you!
EdLin has joined #nixos
<clever> bahamas: thats generally what shell.nix files are for, commit shell.nix to git, and just blindly nix-shell every time
mexisme_ has joined #nixos
is_null_ has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #75725 → pythonPackages.pdfminer: 20181108 -> 20191020 → https://git.io/JeQMh
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/JeQ5S
is_null has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #75750 → python3Packages.mesa: 0.8.6 -> unstable-2019-12-09 → https://git.io/JeQ57
<Gopal-M> how would I include a wrapper's PATH in a systemd service?
<symphorien> systemd.services.foo.path = [ pkgs.foo ];
<Gopal-M> I'm trying to do an rclone mount using a systemd service but it isn't able to find `fusermount`. if I include `pkgs.fuse`, it fails with: "fusermount: operation not permitted"
<Gopal-M> but the `fusermount` in /run/wrappers/bin is able to do mounts
<Gopal-M> symphorien: yeah, I tried that but I'm talking about a wrapper here
<symphorien> .path = [ "/run/wrappers/" ]; I expect
<Gopal-M> oh
<Gopal-M> shit
<Gopal-M> I never thought of that
vld has joined #nixos
<Gopal-M> let me try
rardiol has quit [Ping timeout: 250 seconds]
<Gopal-M> Fatal error: failed to mount FUSE fs: fusermount: exec: "fusermount": executable file not found in $PATH
<Gopal-M> i get this
<Gopal-M> I think I have to include `pkgs.fuse` too then?
<Gopal-M> didn't work, says "mount helper error: fusermount: mount failed: Operation not permitted"
<symphorien> can you check the actual definition of PATH with systemctl cat foo.service ?
<symphorien> if you include pkgs.fuse, the non-setuid fusermount will shadow the one in /run/wrappers/bin
<symphorien> so you should leave it out
o1lo01ol1o has quit [Ping timeout: 250 seconds]
vld has quit [Ping timeout: 268 seconds]
<Gopal-M> oh! for some reason, the first entry is `/run/wrappers/bin/bin`
<Gopal-M> I think it appends the bin
<Gopal-M> fixed
<Gopal-M> thank you so much <3
<symphorien> the reason is that when you add pkgs.fuse, it will add ${pkgs.fuse}/bin to PATH
<aterius> I'm having some trouble understanding the default.nix in https://github.com/gilligan/nix-neovim-nightly. When I update the shas to point at nixpkgs master (instead of the fork) and to the latest neovim with niv, the binary output by nix-build points to a very an older version of neovim rather than the one provided by the overlay...
<Gopal-M> one more thing, why do I have to do: ${pkgs.rclone}/bin/rclone in ExecStart?
<Gopal-M> when `pkgs.rclone` is already in $PATH
<symphorien> systemd requires absolute paths in ExecStart
<Gopal-M> otherwise it says: "executable not found at /no-such-path"
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Gopal-M> so if I were to refer to fusermount, I'd have to hardcode /run/wrappers/bin/fusermount ?
<symphorien> it will ignore custom paths
<symphorien> yes
<Gopal-M> alright
<Gopal-M> I was thinking if I could refer to the wrapper somehow to
<Gopal-M> too*
smatting has joined #nixos
smatting has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/cfc23a2904c (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
rauno has joined #nixos
dansho has quit [Ping timeout: 250 seconds]
fendor has joined #nixos
fendor has quit [Client Quit]
stears_ has quit [Quit: WeeChat 2.6]
philr has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/cfc23a2904c (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
m0rphism has joined #nixos
<keithy[m]> it worked!
<keithy[m]> no pain no gain I guess
asheshambasta has joined #nixos
zupo has joined #nixos
<asheshambasta> I've been unable to get Alsa and PA to work correctly on 19.09 (and probably others too); If I reboot my system and run, say csound, which I think talks to PA; none of the other applications can connect to PA: I get a "Connection refused" in the logs.
<keithy[m]> Hi, I tried a ./result/bin/run-server-vm and got a... gtk initialization failed ... does it assume a graphical environment?
<asheshambasta> these are the errors from PA in the logs: https://gist.github.com/asheshambasta/575f0b834505c6bef83b3a2bf71115d7
<asheshambasta> knowing nothing about PA and Alsa, I'm assuming some application is causing PA to spawn again? If so; why?
asheshambasta has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Client Quit]
pjan has joined #nixos
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
lopsided98 has joined #nixos
stears has joined #nixos
cjpbirkbeck has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #75751 → conmon: v2.0.7 -> v2.0.8 → https://git.io/JeQbr
<{^_^}> [nixpkgs] @saschagrunert opened pull request #75752 → cri-tools: 1.16.1 -> v1.17.0 → https://git.io/JeQb6
zupo has joined #nixos
cjpb has joined #nixos
cjpbirkbeck has quit [Ping timeout: 268 seconds]
pjan has quit [Ping timeout: 246 seconds]
pjan_ has joined #nixos
ftzm has joined #nixos
chloekek has joined #nixos
karetsu has joined #nixos
Tucky has joined #nixos
cfricke has quit [Ping timeout: 265 seconds]
cfricke has joined #nixos
smatting has joined #nixos
jgt has joined #nixos
eon` has joined #nixos
<{^_^}> [nixpkgs] @curiousleo opened pull request #75753 → lorri: add git to daemon path → https://git.io/JeQNZ
<{^_^}> [nixpkgs] @andir merged pull request #75710 → spamassassin: 3.4.2 -> 3.4.3 → https://git.io/JeQXn
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JeQNc
<{^_^}> [nixpkgs] @andir merged pull request #75711 → [19.09] spamassassin: 3.4.2 -> 3.4.3 → https://git.io/JeQXc
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/JeQNC
<{^_^}> [nixpkgs] @andir merged pull request #74498 → go_1_13, grafana-6.5.1: backport to 19.09 → https://git.io/JeXbj
<{^_^}> [nixpkgs] @andir pushed 6 commits to release-19.09: https://git.io/JeQNW
<{^_^}> [nixpkgs] @curiousleo opened pull request #75754 → lorri: add git to daemon path → https://git.io/JeQN2
cjpb2 has joined #nixos
cjpb has quit [Ping timeout: 250 seconds]
<pie_> is there something like environment.etc but for putting files anywhere on the filesystem
vld has joined #nixos
joshuagl has joined #nixos
veske has joined #nixos
veske has quit [Client Quit]
vld has quit [Ping timeout: 246 seconds]
veske has joined #nixos
<symphorien> depending on where, systemd-tmpfiles.d might do the trick
bahamas has quit [Ping timeout: 268 seconds]
<pie_> im currently fighting with this hack to get VMs to have my config :P https://bpaste.net/show/YBSVA
Chiliparrot has joined #nixos
<pie_> which might actually work i just realized ive been building the wrong files probably
<pie_> or not
<pie_> im not sure but it seems like it isnt even running the script
asheshambasta has joined #nixos
<pie_> yeah what the heck its not even showing up in /run/current-system/activate
hmpffff has joined #nixos
<pie_> its definitely getting evaluated though
<{^_^}> [nixpkgs] @jbedo opened pull request #75755 → manta: init 1.6.0 → https://git.io/JeQxY
lsix has joined #nixos
bahamas has joined #nixos
Aleksejs has quit [Quit: Goodbye]
Aleksejs has joined #nixos
thc202 has joined #nixos
fendor has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
captn3m0 has joined #nixos
`_ has joined #nixos
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeQxH
<{^_^}> [nixpkgs] @markuskowa merged pull request #75720 → gpxlab: init at 0.7.0 → https://git.io/JeQ1P
locallycompact has joined #nixos
klys has joined #nixos
betawaffle has joined #nixos
kriztw has joined #nixos
ddima_ has joined #nixos
ornxka has joined #nixos
ptrcmd has joined #nixos
heath has joined #nixos
cjay- has joined #nixos
ptrcmd has joined #nixos
ptrcmd has quit [Changing host]
drozdziak1 has joined #nixos
HedgeMage has joined #nixos
sheenobu has joined #nixos
xqsl has joined #nixos
danderson has joined #nixos
Sargun has joined #nixos
heath has joined #nixos
heath has quit [Changing host]
rprospero has joined #nixos
grw has joined #nixos
tdeo has joined #nixos
dirkx has joined #nixos
MinceR has joined #nixos
pemeunier has joined #nixos
nbp has joined #nixos
joko has joined #nixos
HedgeMage has joined #nixos
HedgeMage has quit [Changing host]
mrlizard has joined #nixos
swistak35 has joined #nixos
bastion-tester has joined #nixos
Guanin has joined #nixos
dev3 has joined #nixos
j4m3s__ has joined #nixos
Henson has joined #nixos
vk3wtf has joined #nixos
mounty has joined #nixos
hodapp has joined #nixos
orbekk has joined #nixos
ToxicFrog has joined #nixos
dooms has joined #nixos
elibrokeit has joined #nixos
LLED2_2 has joined #nixos
marcusr has joined #nixos
MinceR has quit [Changing host]
MinceR has joined #nixos
Izorkin has joined #nixos
iMatejC has joined #nixos
octe has joined #nixos
disasm has joined #nixos
multun has joined #nixos
jluttine has joined #nixos
lukash_ has joined #nixos
mupf has joined #nixos
rembo10 has joined #nixos
Raito_Bezarius has joined #nixos
aleph- has joined #nixos
njd has joined #nixos
mrus has joined #nixos
marcusr has quit [Changing host]
marcusr has joined #nixos
jeaye has joined #nixos
v0|d has joined #nixos
Arahael has joined #nixos
ajp has joined #nixos
jeaye has joined #nixos
jeaye has quit [Changing host]
tdeo has quit [Changing host]
tdeo has joined #nixos
eri has joined #nixos
kleisli has joined #nixos
kwork has joined #nixos
Gohla has joined #nixos
judson has joined #nixos
nixy has joined #nixos
orivej has joined #nixos
peanutbutter144 has joined #nixos
ivegotasthma has joined #nixos
skatista has joined #nixos
hyper_ch has joined #nixos
ThatOtherGuy has joined #nixos
betaboon has joined #nixos
evanjs has joined #nixos
drainful has joined #nixos
kisonecat has joined #nixos
adamCS has joined #nixos
silver_hook has joined #nixos
kcalvinalvin has joined #nixos
ZeDestructor has joined #nixos
monokrome has joined #nixos
__monty__ has joined #nixos
linuus has joined #nixos
catern has joined #nixos
umachan has joined #nixos
captn3m0 has quit [Ping timeout: 252 seconds]
<asheshambasta> so, I'm using Stack (Haskell) with its nix option pointing to a .nix file. I'd like to think that Stack evaluates this nix expression and runs all stack commands (ghci etc.) within a nix-shell (or equivalent).
janneke_ is now known as janneke
<asheshambasta> How do I let this environment spawned by stack connect to PulseAudio running on the system?
<elvishjerricco> asheshambasta: I don't remember if Stack uses a --pure nix-shell or not but I'd wager that'd break pulseaudio
<elvishjerricco> Not sure on that
<asheshambasta> the strange thing is; I can run cmds that need to connect to PA to play sound from the cli and also from `nix-shell -p csound --command csound -odac somesound.csd`
<asheshambasta> elvishjerricco: it does; if I run the repl and play sound from Haskell the first thing that accesses PA after a reboot, PA daemon seems to die afterward.
<asheshambasta> AFAIR; it can no longer acquire a DBus related resource (a name or something)
shabius has quit [Ping timeout: 276 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sigmundv has joined #nixos
<asheshambasta> so that was the issue: the nix.pure = false fixes this. And this caused PA to break indeed.
civodul has joined #nixos
domogled has joined #nixos
sigmundv has quit [Remote host closed the connection]
psyanticy has joined #nixos
qualiaqq has quit [Remote host closed the connection]
<asheshambasta> an interesting point from a NixOS newbie: is this a leak in the isolation provided by nix-shell? For example; I can alter system state from within it?
<{^_^}> [nixpkgs] @veprbl merged pull request #75734 → herwig: 7.1.6 -> 7.2.0 → https://git.io/JeQ9j
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JeQpd
<asheshambasta> but then again; nix-shell doesn't really provide isolation of system state; but merely of packages, right?
<clever> asheshambasta: yeah, thats why i tend to avoid `stack --nix build`, its just an impure build in .stack-work
<clever> asheshambasta: i prefer using nix-build to build everything, and that properly sandboxes everything
<elvishjerricco> At the cost of incremental builds
<clever> you can get incremental builds for a single package at a time
<asheshambasta> I'd like to go all nix instead of using stack
<{^_^}> [nixpkgs] @marsam merged pull request #75727 → pango: fix build on darwin → https://git.io/JeQyB
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQhZ
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75751 → conmon: v2.0.7 -> v2.0.8 → https://git.io/JeQbr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeQhl
<Shoubit> If you really want incremental builds (beyond the package level) there's Bazel+Nix
Makaveli7 has joined #nixos
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « gcc7: 7.4.0 -> 7.5.0 »: https://git.io/JeQh0
cosimone has joined #nixos
aminechikhaoui has joined #nixos
sigmundv has joined #nixos
<__monty__> asheshambasta: As long as you have a shell.nix that provides everything you can still use cabal to get sub-package incremental builds. (lorri+direnv+shell.nix makes for an amazing development setup)
shabius has joined #nixos
bahamas has quit [Ping timeout: 245 seconds]
cfricke has quit [Quit: WeeChat 2.6]
cjpb2 has quit [Quit: Quitting now.]
gkmngrgn has joined #nixos
mexisme_ has quit [Ping timeout: 245 seconds]
mexisme_ has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
grumble has joined #nixos
<{^_^}> [nixpkgs] @Mic92 closed pull request #74726 → linux_latest-libre: remove due lack of maintenance → https://git.io/Je1id
vld has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<chrisaw> When using a FHS (chroot) environment for a package is there a standard set of fonts recommended? Packaging vmware workstation and all text is squares (i.e. missing font.)
patrol02 has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
opthomasprime has quit [Remote host closed the connection]
zupo has joined #nixos
bahamas has joined #nixos
<patrol02> Hi! Does anyone know how to set/update gnome3 settings (such as background image, theme, etc.) in configuration.nix? I have tried "extraGSettingsOverrides" but it doesn't seem to change anything...
<karetsu> patrol02: I have that set up in my home-manager overlay, do you need it as a system-wide setting?
pie_ has quit [Ping timeout: 245 seconds]
EdLin has quit [Quit: WeeChat 2.6]
zupo has quit [Ping timeout: 245 seconds]
<patrol02> karetsu: I only have one user, it's a laptop, so whatever is easier. I only want to be able to change these settings through the conf file. Thanks, looking at your conf!
ddima_ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jonringer merged pull request #75745 → python3Packages.streamz: disable kafka tests → https://git.io/JeQ7c
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.streamz: disable kafka tests »: https://git.io/JeQjF
bahamas has quit [Ping timeout: 245 seconds]
<patrol02> karetsu: I don't quite understand how it works... Is that `gtk` record is being used somewhere to configure GTK? I don't see `gtk.fonts` as NixOS options
<Shoubit> patrol02, it's home-manager, which has its own set of options https://github.com/rycee/home-manager
<{^_^}> [nixpkgs] @marsam merged pull request #74896 → gebaar-libinput: init at 0.0.5 → https://git.io/JeM9w
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7eJ
patrol02 has quit [Remote host closed the connection]
tsrt^ has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
cfricke has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
zupo has quit [Client Quit]
zupo has joined #nixos
zupo has quit [Client Quit]
magneticduck has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
asheshambasta has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-license: 0.2.0 -> 0.3.0 »: https://git.io/Je7e8
asheshambasta has joined #nixos
vld has quit [Ping timeout: 276 seconds]
ng0_ has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
ng0_ is now known as ng0
jophish has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @filalex77 opened pull request #75756 → coredns: 1.3.1 -> 1.6.6 → https://git.io/Je7eD
knupfer has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
<chrisaw> Is it possible to set a files suid bit inside an FHS environment?
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-tree: 0.26.0 -> 0.27.0 »: https://git.io/Je7eQ
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
CMCDragonkai has quit [Quit: Connection closed for inactivity]
bahamas has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
noudle has joined #nixos
erictapen has joined #nixos
<{^_^}> [nixpkgs] @gilligan opened pull request #75757 → Make python interpreters manylinux aware → https://git.io/Je7v5
cosimone has quit [Quit: Terminated!]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
karetsu has quit [Quit: WeeChat 2.6]
bahamas has joined #nixos
travelion has joined #nixos
captn3m0 has joined #nixos
rardiol has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-geiger: 0.7.3 -> 0.9.0 »: https://git.io/Je7fd
zarkone has joined #nixos
`_ has quit [Ping timeout: 276 seconds]
bahamas has quit [Ping timeout: 248 seconds]
knupfer has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.6]
knupfer has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
bahamas has joined #nixos
<{^_^}> [nixpkgs] @filalex77 opened pull request #75758 → insomnia: 7.0.3 -> 7.0.5 → https://git.io/Je7Jq
orivej has quit [Ping timeout: 246 seconds]
Mateon3 has joined #nixos
rauno has quit [Ping timeout: 268 seconds]
pie_ has joined #nixos
Mateon1 has quit [Ping timeout: 276 seconds]
Mateon3 is now known as Mateon1
bahamas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @markuskowa merged pull request #75752 → cri-tools: 1.16.1 -> v1.17.0 → https://git.io/JeQb6
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/Je7Ja
commande1 has joined #nixos
commande1 has quit [Client Quit]
philr has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @alyssais merged pull request #75322 → buildSkawarePackage: pass through extra args → https://git.io/JeSEG
<{^_^}> [nixpkgs] @alyssais pushed to master « buildSkawarePackage: pass through extra args »: https://git.io/Je7JK
<worldofpeace> chrisaw: it it's the file it can't ever be in the nix store
<chrisaw> worldofpeace: Sorry, I should clarify - I know we can't set suid bits on actual files but even the wrapper fails inside a FHS environment.
dingenskirchen has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #75753 → lorri: add git to daemon path → https://git.io/JeQNZ
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Je7JD
cfricke has joined #nixos
<chrisaw> worldofpeace: I think I've explained the issue a bit better here: https://discourse.nixos.org/t/porting-vmware-workstation-to-nixos/5122 :)
<gchristensen> I have a wonderfully strange problem where my mouse stops mousing until I click a mouse button. anyone seen this before?
<__monty__> Aggressive palm detection strategy?
stears has quit [Ping timeout: 276 seconds]
Chiliparrot has joined #nixos
vld has joined #nixos
stears has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<LnL> who invented all these .profile, .bashrc, ... files and why is it so complicated
johnw has quit [Quit: ZNC - http://znc.in]
dingenskirchen has quit [Quit: dingenskirchen]
cosimone has joined #nixos
Neo-- has joined #nixos
dingenskirchen has joined #nixos
dingenskirchen has quit [Client Quit]
<gchristensen> __monty__: it is a trackball :)
<etu> Mmmm, trackballs...
* etu upgraded to MX Ergo at work recently
dingenskirchen has joined #nixos
<simpson> gchristensen: I've used trackballs for like a decade, and have not ever seen this problem. I'm usually using Logitech, though, which has fantastic driver support. (Currently holding an Elecom Deft)
<gchristensen> it only happens sometimes
travelion has quit [Ping timeout: 248 seconds]
<gchristensen> and isn't limited to trackballs, but also my rollermouse red and other USB devices
<simpson> Like, roll the ball, but no cursor movement or waking? It's super-curious.
<simpson> Ooh, interesting. That's probably a hint.
<gchristensen> right, no mouse input is accepted at all until I click a button
dingenskirchen has quit [Remote host closed the connection]
<LnL> I've had keyboard weird lag problems before but turns out that was just the receiver that was too far away
<grw> hi, does anyone have dota2 working in steam with navi gpu?
<grw> i have tried new kernel, new mesa, always just hangs as soon as it start
<{^_^}> [nixpkgs] @grahamc merged pull request #75754 → lorri: add git to daemon path → https://git.io/JeQN2
dingenskirchen has joined #nixos
<adisbladis> grw: Hangs are to be expected on Navi GPUs still :/
o1lo01ol1o has joined #nixos
<grw> adisbladis: :(
<adisbladis> grw: I'm curious though, can you paste me your dmesg output?
<adisbladis> Or `journalctl`
<Henson> gchristensen: is your USB input device being put to sleep?
<grw> nothing in dmesg
<gchristensen> Henson: hmm, not sure
<grw> nothing even in steam/dota log.. just no game
<adisbladis> grw: I wanna see if it's the same bug I've experienced
<adisbladis> grw: Only the game hangs or your entire X session?
<gchristensen> Henson: I didn't see anything in dmesg when I clicked to unstuck it
<grw> just the game, i can switch workspae and kill it ok
<zarkone> could it be batteries of mouse? sorry if already asked
jco has joined #nixos
<gchristensen> no, everything is wired
<jco> Hello!
<jco> I'm trying to use cachix to cache this nix environment : https://sebsauvage.net/paste/?3b63698b66f88062#imld1KGLSH0eia9Qepcx25vIbuuKYakexIvRhYOv/mc=
<adisbladis> grw: Right, then we're talking about different hangs
<adisbladis> Yay?
<jco> but when I nix-build it can't find a src directory
<{^_^}> [nixpkgs] @alyssais merged pull request #75433 → kakoune: 2019.07.01 -> 2019.12.10 → https://git.io/Je9Yf
<{^_^}> [nixpkgs] @alyssais pushed commit from @Luflosi to master « kakoune: 2019.07.01 -> 2019.12.10 »: https://git.io/Je7UO
<grw> adisbladis: i had some problem before which did show up in dmesg before but i copied some patch from mesa bugzilla and it seemed to go away
<adisbladis> grw: Which mesa version are you on?
dingenskirchen has quit [Quit: dingenskirchen]
<grw> something about 'flip hangs'
<grw> adisbladis: 19.3.0
dingenskirchen has joined #nixos
<grw> i wanted to try 20 but i could not get to compile 32bit.. "undefined refeences to __divmoddi4"
<adisbladis> grw: Hm? You bumped it locally then I guess?
<roberth> jco: your stdenv.mkDerivation call is missing a `src` argument. If you don't want to unpack a source, use `unpackPhase = "";`
<grw> adisbladis: yes, can share my tree if you want to try
<grw> i did not make PR since i think 19.3 is 'development release'
<Henson> gchristensen: use dmesg to figure out what USB ID your mouse has. Say it's 2-5. Then type "cat /sys/bus/usb/devices/2-5/power/level" and see what it says.
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<jco> roberth: thanks, I'll try this, also I just did : cachix push lambdaman /nix/store/jg3jy0cxvvwn5kvymsk3f1bkkhn0957p-lambda-man
o1lo01ol1o has joined #nixos
<jco> which was the location of the compiled environment in the nix store, but thanks!
<roberth> jco: looks good
<jco> also I had a problem with regarding the version of nixpkgs used : for this enviromnment I used a pinned version of nixpkgs.unstable
<jco> while it worked on nixos-19.09, it failed on nixos-unstable
<adisbladis> grw: That's OK
<adisbladis> grw: I also have a tree with 19.3.0 :)
<jco> let me find which problem it was
andreas303 has quit [Ping timeout: 260 seconds]
andreas303 has joined #nixos
<grw> adisbladis: the recommendation on bugzilla for "fewest hangs" (lol) is mesa 20 with llvm 10.. maybe i will try to package this
<grw> did you try?
fusion809 has joined #nixos
<adisbladis> Nope, I didn't
<adisbladis> grw: Do ping me for a review :)
<grw> heh.. seems a big task and i wont manage it, but will ping if i do :)
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ehmry opened pull request #75761 → gubbi-font: init at 1.3 → https://git.io/Je7Uz
<asheshambasta> __monty__: mind sharing your setup a bit?
o1lo01ol1o has joined #nixos
<roberth> jco: usually cachix on nixos-unstable breaks due to untested changes in pkgs.haskellPackages, which is why we recommend pinning or using something like nix-env -iA cachix -f https://cachix.org/api/v1/install
<__monty__> asheshambasta: Sure, this is what I'm using for this year's AoC for example, http://ix.io/24B8
<jco> roberth: good to know, however it wasn't cachix at fault, just a linkage error with the ocaml libraries
<__monty__> asheshambasta: Just requires nix and lorri are installed and gives me an environment with ghc/cabal/ghcid/fast-tags and a couple dependencies.
<__monty__> asheshambasta: lorri updates the environment in the background if I change shell.nix and it let's me avoid a nix-shell so I can work in fish rather than bash.
<jco> which is surprising because the environment is the same no matter on which version of nixos the host system is
Rusty1 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
ddellacosta has joined #nixos
o1lo01ol1o has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
ftzm has quit [Ping timeout: 250 seconds]
ftzm has joined #nixos
swapgs has quit [Ping timeout: 246 seconds]
<jco> so on nixos unstable the error is /nix/store/cck34jmmlzi3rwvnl39c0bxyb6c22mb9-ocaml-findlib-1.8.1/nix-support/setup-hook: ligne 9: createFindlibDestdir : variable sans liaison
<jco> "variable without linkage"
<jco> while on stable it works
<jco> and I'm using a pinned version of nixos unstable in the environment
Makaveli7 has quit [Quit: WeeChat 2.7]
swapgs has joined #nixos
swapgs has quit [Changing host]
swapgs has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #75616 → mate.mate-session-manager: 1.22.2 -> 1.22.3 → https://git.io/JeHAO
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/Je7Tf
m4ts_ has quit [Quit: bye]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
eacameron has joined #nixos
jco has quit [Ping timeout: 246 seconds]
jco has joined #nixos
gilligan_ has joined #nixos
m4ts has joined #nixos
m4ts has quit [Client Quit]
m4ts has joined #nixos
ng0_ has joined #nixos
Ariakenom has joined #nixos
<Ariakenom> what's the difference between python36 and python36Full?
<Taneb> I think python36Full includes the Tkinter stuff
ng0 has quit [Ping timeout: 260 seconds]
mexisme_ has joined #nixos
zupo has joined #nixos
halfbit has joined #nixos
<exarkun> Anybody at all using development mode for a Python project with Nixpkgs?
ng0_ is now known as ng0
mexisme_ has quit [Ping timeout: 246 seconds]
zupo has quit [Ping timeout: 268 seconds]
erictapen has quit [Ping timeout: 268 seconds]
boogiewoogie has joined #nixos
Chiliparrot has joined #nixos
gustavderdrache has joined #nixos
<Ariakenom> Taneb: ok
<Ariakenom> is it easy to do freeipa like things with nixos? im following some company instructions
<simpson> exarkun: I think that I had had it working once upon a time. Preferable, IMO, is going to the desired working tree and then using nix-shell to overlay the nixpkgs expression into the working tree. (ISTR this is due to special nix-shell hooks in our Python subsystem.)
isHavvy has joined #nixos
kiwi_8 has joined #nixos
<exarkun> It seems like you need to do more than that to get many projects to work, though. Any project that uses the `src/` layout, for example?
<FRidh> exarkun: with many projects is not really possible; all deps are expected to be in the nix store. All you can do is set PYTHONPATH yourself to point to alternative locations
kiwi_8 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eonpatapon opened pull request #75762 → sonata: fix runtime error → https://git.io/Je7kL
<gustavderdrache> is there a way to encourage nix to spread the contents of an image created with buildLayeredImage? the last layer is getting 73 store paths copied into it, and i want to separate some in order to get a little better layer sharing behavior between some variations
<exarkun> FRidh: I don'
<gchristensen> gustavderdrache: what is your maxLayers set to?
<gustavderdrache> whatever the default is
<gchristensen> increase it :) maxLayers = 120
<exarkun> FRidh: I don't follow. Aren't deps always expected to be in the nix store, for projects implemented in any language? And that doesn't seem like much of a constraint given one has bought into the Nix philosophy.
Havvy has quit [Ping timeout: 250 seconds]
<exarkun> Is it related to the behavior of not procesing .pth files during the build stage?
<gustavderdrache> gchristensen: magic!
<gchristensen> :)
<FRidh> exarkun: you want development mode for multiple projects, at the same time, right? That means you need to express that somewhere, that those packages would be installed impurely. That means these dependencies need to be overridden with a reference to the impure version
<gchristensen> should probably just make 100 the default, or something
<gustavderdrache> that's what the manual says it is
<exarkun> FRidh: I might settle for a development mode for just one project to start with.
<gchristensen> oh
<gchristensen> how prescient of me
<{^_^}> [nixpkgs] @andir closed pull request #75757 → Make python interpreters manylinux aware → https://git.io/Je7v5
<gustavderdrache> it looks like the manual and the code are out of sync
acarrico has quit [Ping timeout: 252 seconds]
<gchristensen> weird
<gchristensen> oh no
<gchristensen> d'oh :)
<gchristensen> would you mind sending a PR correcting that, setting 24 to 100?
<{^_^}> [nixpkgs] @andir opened pull request #75763 → python: remove _manylinux.py → https://git.io/Je7kc
zarkone has quit [Ping timeout: 245 seconds]
ng0 has quit [Remote host closed the connection]
ng0 has joined #nixos
<evanjs> https://nixos.wiki/wiki/Linux_kernel#make_menuconfig - any thoughts on how to convert this to a lorri-able shell.nix?
zupo has joined #nixos
boogiewoogie has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo opened pull request #75764 → sierra-gtk-theme: 2019-05-07 -> 2019-12-16 → https://git.io/Je7ka
zarkone has joined #nixos
ftzm has quit [Ping timeout: 246 seconds]
boogiewoogie has joined #nixos
joshuagl has quit [Ping timeout: 246 seconds]
fendor has quit [Quit: Leaving]
m4ts has quit [Ping timeout: 245 seconds]
waleee-cl has joined #nixos
m4ts has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #75762 → sonata: fix runtime error → https://git.io/Je7kL
<{^_^}> [nixpkgs] @teto pushed commit from @eonpatapon to master « sonata: fix runtime error »: https://git.io/Je7kK
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @teto merged pull request #75746 → pythonPackages.weboob: add futures dependency → https://git.io/JeQ7g
<{^_^}> [nixpkgs] @teto pushed commit from @jonringer to master « pythonPackages.weboob: add futures dependency »: https://git.io/Je7kP
<{^_^}> [nixpkgs] @emilazy opened pull request #75765 → whipper: 0.9.0 -> 0.9.1.dev7+g9e95f06 → https://git.io/Je7kX
logzet has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #75742 → python3Packages.odo: disable due to dask incompatibility → https://git.io/JeQ7I
<{^_^}> [nixpkgs] @teto pushed commit from @jonringer to master « python3Packages.odo: disable due to dask incompatibility »: https://git.io/Je7ky
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @nomeata opened pull request #75766 → js_of_ocaml: 3.4.0 -> 3.5.2 → https://git.io/Je7kF
logzet has quit [Ping timeout: 248 seconds]
endformationage has joined #nixos
vika_nezrimaya has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75542 → ameba: 0.10.1 -> 0.11.0 → https://git.io/JeHv9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7kp
gilligan_ has quit [Quit: Leaving]
<Ankhers> Is there a way yet, or maybe a competing tool, for nixops to be easily useable from multiple machines?
MmeQuignon has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<lordcirth__> Ankhers, like, sharing the state db?
<Ankhers> lordcirth__: Yes. I have 3 different computers that I use on a regular basis and would love to have them synced with nixops.
<Ankhers> Sorry, that wording my be wrong. I do not want the computers themselves synced. I just want an easy way to make my deployments from any of my machines.
<lordcirth__> Hmm. Well, you can always ssh from one to the other. Alternatively, you could put the DB on a network mount, but you might need to be careful with locking
<lordcirth__> At some point there will probably be support for using SQL connections rather than a local SQLite file
<exarkun> Ankhers: have you seen morph
<Ankhers> exarkun: I have not.
<exarkun> Ankhers: it's kinda like nixops except without a local database
<jared-w> Is there a deprecation plan for pkgs.fetchgit now that we have builtins.fetchGit? I've seen things like "DONT USE THE PKGS FUNCTION" popping up in readmes which is why I ask
<Ankhers> exarkun: Do you have a link to that?
<exarkun> yep, that
<Ankhers> Thanks!
<jared-w> Ankhers: I've been heavily doing various ops like things with nix the past few weeks, so I have all the fun things open in different browser tabs lol
<jared-w> https://github.com/nix-community/awesome-nix this is a good resource for various third party projects that work with nix
<Ankhers> So Morph, currently, only works with existing machines? I can't have it create an AWS/GCE/Whatever machine like nixops?
<jared-w> I'm particularly fond of niv for streamlining the whole "let myThingSrc = fetch '...' " pattern
<Ankhers> Thanks for that. I will take a look through that repo?
<{^_^}> [nixpkgs] @a-rodin opened pull request #75767 → vector: enable rdkafka feature → https://git.io/Je7IL
<{^_^}> [nixpkgs] @rycee merged pull request #75765 → whipper: 0.9.0 -> 0.9.1.dev7+g9e95f06 → https://git.io/Je7kX
<{^_^}> [nixpkgs] @rycee pushed commit from @emilazy to master « whipper: 0.9.0 -> 0.9.1.dev7+g9e95f06 »: https://git.io/Je7It
<jared-w> Yes, morph doesn't provision, it only manages. I'm fine with separating provisioning from management since the former is significantly harder than the latter
<Ankhers> Fair enough. I just wanted to make sure I was reading that properly.
<jared-w> yup!
Ariakenom has quit [Quit: WeeChat 2.6]
<jared-w> I've personally been using krops over morph recently because morph only works on linux and I'm trying to make a setup that can deploy from macos/*nix to nixos VM(s) with minimal hassle
<jared-w> krops is essentially a fancy rsync + run some nix commands
<Ankhers> lorri looks interesting too. I am going to have to dig through that repository.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ariakenom has joined #nixos
<Ariakenom> I suppose you cant run freeipa on nixos?
<Ankhers> exarkun, jared-w: Thanks for the help. You've given me some stuff to dig through.
<Christian[m]3> yeah, lorri + niv is quite fun
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « zoom-us: 3.5.330166.1202 -> 3.5.336627.1216 »: https://git.io/Je7Ic
boogiewoogie has quit [Ping timeout: 252 seconds]
<jared-w> Christian[m]3: lorri + niv is probably my favorite setup for dev so far. Absolutely killer in terms of getting all your dependencies lined up; it's as reliable as containers for me but far far faster and more ergonomic
<jared-w> I'm still working through my configuration.nix and slowly ripping out everything not related to essential non-development stuff. I want to push all of that down into per repo setup
<{^_^}> [nixpkgs] @filalex77 opened pull request #75768 → hydroxide: init at 0.2.11 → https://git.io/Je7I8
<{^_^}> [nixpkgs] @softinio opened pull request #75769 → Add new vim plugins 3 → https://git.io/Je7I4
chloekek has quit [Quit: WeeChat 2.6]
<jared-w> The only thing that annoys me about it is there's no easy way to DRY out per-repo setup without making that repo somehow coupled to your personal environment... At least that I've found
<lordcirth__> I love "nixops check". It does seem to take a long time, though.
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux-testing: 5.5-rc1 -> 5.5-rc2 »: https://git.io/Je7Iu
<catern> is there an easy way to build an installation binary tarball containing a patched version of Nix? I just tried building it with release.binaryTarball from the Nix repo, but it looks like install-multi-user doesn't pass shellcheck, so the build fails...
acarrico has joined #nixos
dbmikus_ has quit [Ping timeout: 248 seconds]
dansho has joined #nixos
<{^_^}> [nixpkgs] @alyssais merged pull request #75741 → linux-libre_latest: update automatically; fix build → https://git.io/JeQQx
<{^_^}> [nixpkgs] @alyssais pushed 3 commits to master: https://git.io/Je7IV
growpotkin has joined #nixos
Guanin has quit [Remote host closed the connection]
<jared-w> catern: does this do the trick? https://github.com/nix-community/nixos-generators
Guanin has joined #nixos
vika_nezrimaya has quit [Ping timeout: 276 seconds]
joshuagl has joined #nixos
sondr3 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #75758 → insomnia: 7.0.3 -> 7.0.5 → https://git.io/Je7Jq
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je7Ii
lsix has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @alyssais pushed to master « linux-libre.updateScript: fix attr in commit msg »: https://git.io/Je7ID
<catern> jared-w: no, that's for NixOS, not the binary tarball for installing Nix on non-NixOS, which is at http://nixos.org/nix/install (linked from http://nixos.org/nix )
<jared-w> ah whoops, read your thing wrong
boogiewoogie has joined #nixos
jco has quit [Quit: WeeChat 2.6]
MightyJoe has quit [Ping timeout: 268 seconds]
cyraxjoe has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @eraserhd opened pull request #75770 → weechat: Fix build on Darwin (TCL fix also) → https://git.io/Je7IF
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c2ef0cee28a (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
bahamas has joined #nixos
<elvishjerricco> I'm curious. With `users.users.<name?>.cryptHomeLuks`, what happens when you login with an SSH key? Are you prompted for a decryption key on login anyway, or do you have an empty home directory?
stears has quit [Quit: WeeChat 2.6]
<boogiewoogie> hey, I'm still having some issues, mostly with games, on current (and younger) 19.09. none of these happen on latest 19.03, which I'm therefore still keeping a generation of (so it's not a biggie yet). I've compiled what I thought might be useful here: https://hastebin.com/efitugesom.
sigmundv has quit [Ping timeout: 246 seconds]
<boogiewoogie> The issues don't seem very connected to me, but then again I'm not at all competent to conclude such a thing. Yet I'm curious about what's going on and would of course love to see them fixed for future nixos builds. :)
<{^_^}> [nixpkgs] @volth opened pull request #75771 → far2l: 2018-07-19 -> 2018-12-14 → https://git.io/Je7LT
<boogiewoogie> maybe it's just my system though, which I deem unprobable because of determinism and it working on 19.03 for me? but I'd still be interested, of course, if any of you can reproduce this. :)
<evanjs> okay I was seriously overthinking shell.nix-ing the linux kernel. just needed `pkgs.mkShell { nativeBuildInputs = [ pkgconfig ncurses flex bison ]; } and that works fine
fendor has joined #nixos
<{^_^}> [nixpkgs] @babariviere closed pull request #74939 → insomnia: 7.0.3 -> 7.0.5 → https://git.io/JeDI7
<{^_^}> [nixpkgs] @jonringer merged pull request #75750 → python3Packages.mesa: 0.8.6 -> unstable-2019-12-09 → https://git.io/JeQ57
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.mesa: 0.8.6 -> unstable-2019-12-09 »: https://git.io/Je7L8
o1lo01ol1o has quit [Remote host closed the connection]
<ddima> boogiewoogie: it might make sense to open an issue in the nixpkgs repo for each of those problems.
fendor__ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75769 → Add new vim plugins → https://git.io/Je7I4
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/Je7Lw
gxt has joined #nixos
fendor is now known as fendor___
fendor__ is now known as fendor
<boogiewoogie> ddima: okay, yeah, I didn't want to flood the issues in case it's just an obvious, easy-to-fix thing.. but you're probably right :p
Ariakenom has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
zarkone has quit [Ping timeout: 248 seconds]
<ddima> boogiewoogie: I mean, might be, but could also just get lost in the irc backlog if nobody is around who is into gaming on linux ;)
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<boogiewoogie> ddima: good point :)
<jared-w> Hmm, dumb question, but if I have a configuration.nix that starts with { config, ...}: , how do I see what config is?
<jared-w> normally I'd just import it with nix repl but config doesn't have a default argument, so it's obtained from somewhere. Is it from <nixpkgs>?
<Shoubit> jared-w, '<nixpkgs/nixos>'
<{^_^}> [nixpkgs] @woffs opened pull request #75772 → nncp: init at 5.2.1 → https://git.io/Je7L7
cosimone has quit [Quit: Terminated!]
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #75773 → gegl_0_4: add patch for test timeouts → https://git.io/Je7Lp
<{^_^}> [nixpkgs] @Ma27 pushed to master « cargo-raze: 0.2.8 -> 0.2.10 »: https://git.io/Je7tU
<jared-w> ah, okay. So configuration is inherently tied to the system and I can't completely remove reliance on <nixpkgs> then
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @equirosa opened pull request #75775 → croc: 6.4.6 -> 6.4.7 → https://git.io/Je7tt
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @alyssais pushed to release-19.09 « linux-libre_latest: 16794 -> 17112 »: https://git.io/Je7tq
o1lo01ol1o has quit [Remote host closed the connection]
boxscape has joined #nixos
fendor has quit [Ping timeout: 250 seconds]
vld has quit [Ping timeout: 248 seconds]
vld has joined #nixos
werner291 has joined #nixos
smatting has quit [Ping timeout: 252 seconds]
bahamas has quit [Quit: Lost terminal]
boogiewoogie has quit [Remote host closed the connection]
fendor has joined #nixos
boogiewoogie has joined #nixos
vld has quit [Ping timeout: 252 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c2ef0cee28a (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
mexisme_ has joined #nixos
ixxie has joined #nixos
nornagon has quit [Read error: Connection reset by peer]
nornagon8 has joined #nixos
mexisme_ has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @eraserhd closed pull request #75770 → weechat: Fix build on Darwin (TCL fix also) → https://git.io/Je7IF
mehlon has joined #nixos
<mehlon> heya, is anyone here using a rpi2 b+ with nixos?
<mehlon> cause I was trying to setup nix on it but none of the caches on the wiki worked
dingenskirchen has quit [Quit: dingenskirchen]
vld has joined #nixos
stzsch has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/Je7tM
<{^_^}> [nixpkgs] @peti closed pull request #75587 → R: 3.6.1 -> 3.6.2 → https://git.io/JeHw5
<{^_^}> [nixpkgs] @peti closed pull request #75010 → R: Update CRAN and bioconductor packages → https://git.io/JeDPg
<exarkun> mehlon: rpi2 isn't aarch64 but #nixos-aarch64 may still know more about it
<{^_^}> [nixpkgs] @equirosa opened pull request #75777 → vim: 8.1.2407 -> 8.2.0013 → https://git.io/Je7t5
<exarkun> mehlon: fwiw I think maybe I recall hearing that armv7l wasn't reliably being built anymore, so the caches won't have any recent versions of anything
dingenskirchen has joined #nixos
<mehlon> oh
<mehlon> eh I guess I'll have to just use another distro
<mehlon> or get a new pi...
<mehlon> by the way, how is cross-compilation on nix?
<genesis> :D
<mehlon> is it easy? does it work well?
<genesis> the little i test, it's not as easy as real stuff like openembedded
<exarkun> It's kind of doable
<exarkun> depending on what you're compiling
<mehlon> last time I tried to cross compile on linux I used a chroot into alpine, with qemu user emulation
<exarkun> nixpkgs does some of the hard stuff for you
<exarkun> but not all of it
<mehlon> (easier than getting gcc to do it)
<exarkun> fwiw, recently, I went with nix on one of my rpi projects and raspbian on another
<exarkun> nix was harder to set up but has proven easier to maintain so far
boogiewoogie has quit [Remote host closed the connection]
<mehlon> which model for nix?
opthomasprime has left #nixos [#nixos]
<mehlon> exarkun: what pi did you install nix on?
Thra11 has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Je7qm
<{^_^}> [nixpkgs] @grahamc opened pull request #75778 → docker examples: Drop unneeded contents list → https://git.io/Je7q3
boogiewoogie has joined #nixos
asheshambasta has quit [Ping timeout: 246 seconds]
<duairc> aaaagh
chloekek has joined #nixos
zupo has joined #nixos
<duairc> If I disable network.useDHCP, then my initrd networking doesn't work
<duairc> How could that be? It's statically configured
<{^_^}> [nixpkgs] @grahamc opened pull request #75779 → dockerTools.buildLayeredImage: update maxlayers from 24 to 100 to match documentation → https://git.io/Je7qW
<duairc> I need to disable network.useDHCP to continue using systemd-networkd but that's a separate issue for now
<lovesegfault> worldofpeace: https://hydra.nixos.org/build/108422657
<lovesegfault> failing
<mehlon> huh, maybe some other setting is affected by it?
<duairc> I guess I'll just grep the nixpkgs source for useDHCP and see what it affects
<{^_^}> [nixpkgs] @grahamc opened pull request #75780 → dockerTools: the API has basically never changed → https://git.io/Je7qR
<{^_^}> [nixpkgs] @veprbl merged pull request #75730 → texlive: provide a working pygmentex executable → https://git.io/JeQSQ
<{^_^}> [nixpkgs] @veprbl closed pull request #55933 → texlive.combine: allow dependencies for python scripts → https://git.io/fh5wp
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/Je7qE
<{^_^}> [nixpkgs] @peti pushed 5 commits to t/mailman: https://git.io/Je7qu
dx_ has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #75781 → dockertools.buildLayeredImage: remove implementation detail layers → https://git.io/Je7qz
<{^_^}> [nixpkgs] @peti opened pull request #75782 → Update mailman, postorius, and hyperkitty to their respective latest versions → https://git.io/Je7qV
lovesegfault has quit [Ping timeout: 276 seconds]
hmpffff has quit [Quit: nchrrrr…]
kalipso has joined #nixos
<duairc> It seems that my ip= line may never have had any effect and that it was using dhcp all along
<exarkun> mehlon: 1 and 3 b+
<duairc> And also that my ip= line is wrong
Chiliparrot has joined #nixos
knupfer has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #75783 → pythonPackages.casbin: init at 0.8.3 → https://git.io/Je7qr
knupfer has quit [Remote host closed the connection]
orivej has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
cosimone has joined #nixos
knupfer has joined #nixos
<jared-w> Is there a reason hydra from nixpkgs basically duplicates the entire release.nix file inside the hydra repo?
<{^_^}> [nixpkgs] @grahamc merged pull request #75778 → docker examples: Drop unneeded contents list → https://git.io/Je7q3
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Je7q7
<srhb> jared-w: nixpkgs is not allowed to import nix expressions from external derivations.
dingenskirchen has quit [Remote host closed the connection]
<srhb> jared-w: (which any sort of fetching would be)
gkmngrgn has quit [Ping timeout: 246 seconds]
<jared-w> ah, so then the better question is why does hydra's release.nix file mostly duplicate the upstreamed nix file instead of overriding it?
asheshambasta has joined #nixos
<srhb> jared-w: Yes, you could argue that. The hydra nixpkgs jobsets do get nixpkgs fed in via the hydra input mechanism, so that would be doable.
<srhb> I think the answer to that is mostly convenience -- being able to develop Hydra in isolation.
puffnfresh has quit [Ping timeout: 268 seconds]
gnidorah has joined #nixos
<srhb> jared-w: Questions like that inevitably lead to "nix expressions from disparate sources don't compose well" -- which is part of the motivation for proposed solutions like nix flakes.
<gnidorah> hi. what do you think? #68301
<{^_^}> https://github.com/NixOS/nixpkgs/pull/68301 (by gnidorah, 14 weeks ago, open): cdesktopenv: init at 2019-11-30
<jared-w> srhb: I had flakes in the back of my head and suspected it would lead to that at some point :)
puffnfresh has joined #nixos
<srhb> jared-w: Sneaky. :-)
jgeerds has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
dx_ has quit [Read error: Connection reset by peer]
dansho_ has joined #nixos
dansho_ has quit [Client Quit]
<{^_^}> [nixpkgs] @charles-dyfis-net opened pull request #75784 → sqlite-sqldiff: init at 3.30.0 → https://git.io/Je7mc
kalipso has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eraserhd opened pull request #75785 → weechat: Fix build on Darwin (includes TCL fix) → https://git.io/Je7ml
scasc has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosimone has quit [Quit: Quit.]
<jared-w> Nice. If I make an overlay that overrides hydra with the git hydra and use callPackage on its release.nix file, I can do that instead of manually copying over any changes. Probably terrible, but it works surprisingly well :p
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cosimone has joined #nixos
jonreeve[m] has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #75780 → dockerTools: the API has basically never changed → https://git.io/Je7qR
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Je7mu
<{^_^}> [nixpkgs] @grahamc merged pull request #75779 → dockerTools.buildLayeredImage: update maxlayers from 24 to 100 to match documentation → https://git.io/Je7qW
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/Je7mz
<jonreeve[m]> Can anyone get KMail to work?
orivej has quit [Ping timeout: 245 seconds]
eraserhd has quit [Quit: WeeChat 2.6]
drakonis has joined #nixos
Chiliparrot has joined #nixos
eraserhd has joined #nixos
dbmikus_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #74562 → pick-colour-picker: init at unstable-2019-10-11 → https://git.io/Je1LN
<{^_^}> [nixpkgs] @jonringer pushed commit from @mkg20001 to master « pick-colour-picker: init at unstable-2019-10-11 »: https://git.io/Je7mo
asheshambasta has quit [Ping timeout: 246 seconds]
<jonreeve[m]> I posted a question here about kmail, too: https://unix.stackexchange.com/questions/556911/how-do-i-set-up-kmail-in-nixos
dmitryolyenyov[m has joined #nixos
dx_ has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
erictapen has joined #nixos
dbmikus__ has joined #nixos
asheshambasta has joined #nixos
dbmikus_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nix] @edolstra pushed 21 commits to flakes: https://git.io/Je7mP
eraserhd has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @jonringer pushed commit from @bignaux to master « rasm: init at 0.116 »: https://git.io/Je7mM
<{^_^}> [nixpkgs] @jonringer merged pull request #73518 → rasm: init at 0.117 → https://git.io/JeooI
<{^_^}> [nixpkgs] @chkno opened pull request #75787 → nixos/nixos-option: "See also configuration.nix manpage" in nixos-option manpage → https://git.io/Je7mD
<{^_^}> [nixpkgs] @FRidh pushed 129 commits to staging-next: https://git.io/Je7mS
erasmas has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 139 commits to staging: https://git.io/Je7mH
sigmundv has joined #nixos
doublex__ has joined #nixos
dbmikus has joined #nixos
doublex_ has quit [Ping timeout: 250 seconds]
jco has joined #nixos
zeta_0 has joined #nixos
dbmikus__ has quit [Ping timeout: 268 seconds]
<jco> Hello! I'm trying to use gnome maps on i3, but I get "failed to execute: 'gapplication lauch org.gnome.Maps'
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c337a7423bc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<jco> Error "the execution of the gapplication failed (no such file or directory)"
<jco> anyone has faced this issue?
<zeta_0> could someone paste the link to nixos haskell infrastructure, i can't seem to find it
rardiol has quit [Ping timeout: 268 seconds]
mehlon has quit [Quit: Quit]
<evils> jco: what channel is this from?
psyanticy has quit [Quit: Connection closed for inactivity]
<eacameron> Is there a way to configure `NIX_PATH=nixpkgs=X` such that `X` is effectively something like `(import some/file.nix {}).attr`or must I put that in a file and point to that
<catern> eacameron: you basically want to set things up so that "import <nixpkgs>" does an import-from-derivation, right?
<arcnmx> afaik it needs to be in a file though it's worth noting those kinds of things can break imports like <nixpkgs/nixos>
<eacameron> catern: Yes
hmpffff has joined #nixos
<catern> I don't know of a way to do that, sorry
<infinisil> Since NIX_PATH is used with imports, you have to have some file
<catern> but I've wanted to do it as well
philr has joined #nixos
<infinisil> eacameron: Use-case?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
rardiol has joined #nixos
mexisme_ has joined #nixos
<arcnmx> I do that on my system as a kind of way of preapplying configs/overlays/etc. to nixpkgs in a deterministic way but it's fairly ugly.
levdub has joined #nixos
<eacameron> Build tool. I already have a nixpkgs pinned but I have some user-specified-code that sometimes uses `<nixpkgs>` and I can't change it. I happen to be in a nix-shell --pure when building their stuff though so I want to just pin NIX_PATH to my pin and make their <nixpkgs> use it.
nek0 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<infinisil> eacameron: There is a hack to change NIX_PATH from within Nix, would that help?
<eacameron> ... probably
nek0 has joined #nixos
<arcnmx> scopedImport that overrides import..!
<infinisil> Hm although if there are alternatives this probably shouldn't be used
<catern> this is why one should take packages as an argument instead of using <nixpkgs> everywhere
<infinisil> arcnmx: Yes something like that :)
<infinisil> I needed to use this hack for something with nixops: https://github.com/Infinisil/system/blob/master/deploy/eval/default.nix#L14-L16
halfbit has quit [Ping timeout: 246 seconds]
<infinisil> Well, I just wanted the nix-instantiate & co. commands to work with the correct nixpkgs without having to specifiy it every time
gkmngrgn has joined #nixos
gkmngrgn has quit [Client Quit]
<arcnmx> infinisil: I mean if you just shadow/change nixPath you still have to worry about the path thing so :p
<{^_^}> [nixpkgs] @puckipedia opened pull request #75788 → cups-dymo: fix build → https://git.io/Je7YO
<{^_^}> [nixpkgs] @dtzWill closed pull request #73561 → gcc7: 7.4.0 -> 7.5.0 → https://git.io/Jeo73
<infinisil> arcnmx: I'm thinking maybe if there is a nixpkgs already in nix code this could be used
<catern> infinisil: have a default argument like pkgs ? import <nixpkgs> {} then
<infinisil> Oh
<infinisil> No you're right, still need a path
wildtrees has joined #nixos
<infinisil> catern: For my code there?
cfricke has joined #nixos
<infinisil> arcnmx: Oh and here's a more complete hack description: https://github.com/NixOS/nixpkgs/commit/62a6eeb1f3da0a5954ad2da54c454eb7fc1c6e5d
eraserhd has joined #nixos
cosimone has quit [Quit: Quit.]
<catern> infinisil: well you said "Well, I just wanted the nix-instantiate & co. commands to work with the correct nixpkgs without having to specifiy it every time"
<infinisil> catern: Problem is, it's not my code that's importing <nixpkgs>
<danderson> somewhat weird question: is there an easy way to use the nix test infrastructure to test random other things?
<infinisil> arcnmx: !
<danderson> specifically, I have a project that would really benefit from "spin up a bunch of VMs with a declarative config and run some test script"
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @mkg20001 opened pull request #75789 → ettercap: fix pango not finding hb.h from harfbuzz → https://git.io/Je7YB
<elvishjerricco> danderson: Yea look into NixOS tests. Pretty sure they're described in the manual: https://nixos.org/nixos/manual
jgt1 has joined #nixos
domogled has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 276 seconds]
<elvishjerricco> Doesn't appear to be in the manual but I think there's a way to do the test script in python instead of perl
<lovesegfault> worldofpeace, gchristensen: This seems like a spurious failure: https://hydra.nixos.org/build/108422657
halfbit has joined #nixos
<lovesegfault> Can someone restart the test?
<danderson> elvishjerricco: I know how the tests work for nixos itself. Wondering how to make it work for random other things, rather than nixos itself
<elvishjerricco> danderson: Oh. Wouldn't you just issue the desired commands to the vm in the test script?
<{^_^}> [nixos-weekly] @noteed opened pull request #109 → Add nix-notes, a collection of short notes about Nix, each contributing to the same virtual machine image → https://git.io/Je7Yu
shibboleth has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
phreedom has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
phreedom has joined #nixos
gxt has joined #nixos
ghutzriop has joined #nixos
<evils> jco: it seems to work for me from unstable, can you try that?
<danderson> elvishjerricco: not sure how I'd do that without having to import all of the nixos repository into my own unrelated git repo. Maybe it's just failure of the imagination though, I could definitely see that :)
gxt has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer opened pull request #75791 → errbot: fix darwin tests → https://git.io/Je7YK
<{^_^}> [nixpkgs] @costrouc opened pull request #75792 → python3Packages.aiokafka: init at 0.5.2 → https://git.io/Je7YX
<catern> infinisil: wow, that's lame. I've never used nixops, and to see that it has such low code quality makes me not want to use it, either!
mehlon has joined #nixos
<mehlon> how do you manually compile a package from the repository?
<lordcirth__> I wasn't following, what is so bad about the nixops code?
<lordcirth__> mehlon, in the root of nixpkgs, nix-build -A pkgname
<mehlon> so I need to clone the git repo first?
shyim has joined #nixos
<lordcirth__> mehlon, it's one way. Do you want to build from stable channel?
<mehlon> that would require switching the git branch, right?
<lordcirth__> I think you can specify a tarball over https as well?
`_ has joined #nixos
`_ has quit [Remote host closed the connection]
ghutzriop has quit [Quit: Leaving]
<mehlon> so when you do nix-build, can you then 'install' the package?
drakonis has quit [Ping timeout: 246 seconds]
fpletz has quit [Remote host closed the connection]
mehlon has quit [Quit: Quit]
fpletz has joined #nixos
Ariakenom has quit [Quit: Leaving]
fpletz has joined #nixos
fpletz has quit [Changing host]
<srhb> danderson: Well, while you can import the test infrastructure directly, you don't win much. They really are NixOS vms, and as such rely on NixOS modules (and as such rely on nixpkgs...)
<hodapp> could someone try installing fping, and seeing what 'fping localhost' says?
<srhb> hodapp: unreachable unless I tell it to bind to lo
fendor has quit [Quit: Leaving]
fendor___ is now known as fendor
dingenskirchen has joined #nixos
cosimone has joined #nixos
asheshambasta has quit [Ping timeout: 276 seconds]
<hodapp> srhb: weird. from another host (non-NixOS) it works
<hodapp> srhb: what about 'fping google.com' or the like?
<cransom> does `fping -4 localhost` behave any differently?
<hodapp> nope.
<hodapp> nor fping 127.0.0.1
<cransom> are you in a container where localhost doesn't exist?
dx_ has quit [Ping timeout: 265 seconds]
<srhb> I have to bind to specific (correct) interfaces for it to work, no matter the host, it seems.
<srhb> So presumably it's doing something silly on my system re. interfaces.
<hodapp> cransom: no. 'ping' works fine for all that I am trying
<{^_^}> [nixpkgs] @jappeace opened pull request #75794 → cut-the-crap: Add automated video editing for streamers at 1.0.0 → https://git.io/Je7Ol
<ekleog> ,tell dx_: if you're also `oldandwise`, I'd suggest you reconnect under that nick, I've left you an answer here with {^_^}
<{^_^}> ekleog: I'll pass that on to dx_:
<hodapp> 'binding to specific interface (SO_BINTODEVICE): Operation not permitted' if I try with '-I lo'
<cransom> fping requires root because it's icmp. if it's not a system installed fping, try it as root
<srhb> Yeah, other systems might have it suid I guess
<srhb> Which would explain the disparity.
<hodapp> oh, so perhaps ping is suid and fping isn't?
<srhb> hodapp: Right. Well, suid requires nixos support
<srhb> hodapp: (They can't exist in the Nix store)
<srhb> hodapp: So presumably a NixOS module adds ping to security.wrappers
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<srhb> But not fping (unless you do it yourself)
<cransom> (my fping has a wrapper set)
<hodapp> I don't see suid with 'ls -l' or the like on 'ping'
<{^_^}> [nixpkgs] @jonringer merged pull request #75792 → python3Packages.aiokafka: init at 0.5.2 → https://git.io/Je7YX
<{^_^}> [nixpkgs] @jonringer pushed commit from @costrouc to master « python3Packages.aiokafka: init at 0.5.2 »: https://git.io/Je7OR
<srhb> hodapp: How did you check?
<hodapp> ls -l `which ping`
<cransom> unless your fping is in `/run/wrappers/bin/`, it's guaranteed to not be suid if you installed it with nix
<srhb> hodapp: getcap $(which ping)
cfricke has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @jonringer merged pull request #75744 → python3Packages.starfish: disable due to incompatible dependencies → https://git.io/JeQ7n
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.starfish: disable due to incompatible dependencies »: https://git.io/Je7O0
<srhb> hodapp: Looks like it's more specific than just blanket suid.
<hodapp> cransom: it is there
dsiypl4 has joined #nixos
<srhb> hodapp: You can do the same to fping with security.wrappers
<srhb> hodapp: see eg `nix eval --json -f '<nixpkgs/nixos>' config.security.wrappers.ping`
zupo has joined #nixos
judson_ has joined #nixos
leotaku has quit [Ping timeout: 265 seconds]
<jco> evils: I still get the same error. Do you have the gnome desktop installed alongside i3?
<jco> I'll try this
judson has quit [Remote host closed the connection]
ng0 has quit [Remote host closed the connection]
<evils> jco: nope, just i3 here
<jco> evils: oh it works from the terminal
<jco> but not from rofi
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #75795 → Port NixOS tests to python → https://git.io/Je7O6
hmpffff has quit [Quit: nchrrrr…]
jco has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @jonringer opened pull request #75796 → python3Packages.fpylll: fix arch tests → https://git.io/Je7OS
Neo-- has quit [Ping timeout: 248 seconds]
scasc has quit [Ping timeout: 248 seconds]
ng0 has joined #nixos
lovesegfault has quit [Ping timeout: 252 seconds]
lovesegfault has joined #nixos
Thra11 has quit [Ping timeout: 276 seconds]
kvda has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @costrouc opened pull request #75797 → python3Packages.aiorun: init at 2019.11.1 → https://git.io/Je7Od
kvda has quit [Client Quit]
kleisli has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @tobim opened pull request #75798 → Pkgs static/arrow → https://git.io/Je73s
civodul has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #75799 → public-inbox: init at 1.2.0 → https://git.io/Je73H
<{^_^}> [nixpkgs] @Ma27 opened pull request #75800 → nixos/iwd: add `networks` and `interfaces` option → https://git.io/Je73F
<sshow> I deployed to a machine using nixops and the password for both my user and root disappeared. as in; /etc/shadow shows blank passwords. what to do?
ng0 has quit [Quit: Alexa, when is the end of world?]
MmeQuignon has quit [Quit: WeeChat 2.6]
ng0 has joined #nixos
zupo has joined #nixos
<sshow> I'm not sure how to re-deploy. Hand-editing /etc/shadow on an offline disk does not work
<gchristensen> can you reboot it and access the console?
<sshow> yeah
<gchristensen> you should be able to roll back at the bootloader
<sshow> oh. that's right. awesome :)
<sshow> thanks
<gchristensen> :)
vld has quit [Ping timeout: 245 seconds]
Henson has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<{^_^}> [nixpkgs] @timokau opened pull request #75801 → ecl: fix build with libffi 3.3 → https://git.io/Je7sG
<{^_^}> [nixpkgs] @jonringer opened pull request #75802 → Revert "python: gym: 0.15.3 -> 0.15.4" → https://git.io/Je7sn
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jonringer closed pull request #75749 → python3Packages.gym: disable due to missing dependencies → https://git.io/JeQ5G
<infinisil> Say I have a symlink `foo -> /nix/store/xxx-foo`. Now I can't just change foo/bar/baz, since that path is immutable. What's the best way to do it anyways?
<infinisil> Like, move/copy the files around the simplest way such that I can change foo/bar/baz
gnidorah has quit [Quit: Connection closed for inactivity]
<lordcirth_> infinisil, like, something is looking inside 'foo' for a fixed path './bar/baz', and the stuff in nix store doesn't work that way?
<infinisil> lordcirth_: Nah, in my case I need to change some files inside foo to be different
<lordcirth_> infinisil, ah. So you make a new 'foo' derivation, and change the symlink to point to it.
<lordcirth_> (normally handled automatically)
<infinisil> I don't really want to create a new derivation, but in any case I need to have some bash to copy all subdirs to that path or so
erictapen has quit [Ping timeout: 245 seconds]
<lordcirth_> infinisil, what are you trying to accomplish?
<infinisil> The nicest way to achieve that!
<infinisil> I mean I can do it with some bash, but
<infinisil> It's like bar/baz/qux/qurx/florp in my case
<lordcirth_> No, I mean what derivation is 'foo' and why do you need to change it?
<infinisil> Doesn't matter at all trust me, but if you want to know, it's a crystal library collection where a library has hardcoded static libraries which I need to change to nix-compiled ones
<infinisil> And the libraries are just fetched with a github fetch, no compilation
<lordcirth_> Hardcoded static libraries, at absolute paths?
<infinisil> Nah, relative in the library
<lordcirth_> Ok, so there's some root derivation, and the dependencies need to show up inside it?
<infinisil> Like, the actual .a files are included
<infinisil> Ahh whatever, I'm just gonna try to write the bash I need
<lordcirth_> You should be able to modify the root derivation such that it contains symlinks to the .a's
<craige> If anyone has any current, public examples of a NextCloud deployment, I'd be pretty grateful. Mine's currently stuck on postgres permissions and I"m unsure if it's me, a bug or something else :-)
nornagon8 is now known as nornagon
hmpffff has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
lovesegfault has quit [Ping timeout: 268 seconds]
<infinisil> Okay this seems to work: cp -rL foo foo2 && rm foo && mv foo2 foo && chmod +w -R foo
lovesegfault has joined #nixos
<infinisil> A bit wasteful since it makes a copy of everything but oh well
deadvader[m] has joined #nixos
philr has quit [Ping timeout: 245 seconds]
dbmikus has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @fooker opened pull request #75803 → kresd: Unified listen declarations → https://git.io/Je7GV
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
drakonis has joined #nixos
jgeerds has quit [Ping timeout: 268 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gchristensen> I'd appreciate testers for https://github.com/NixOS/nixpkgs/pull/75781
<{^_^}> #75781 (by grahamc, 4 hours ago, open): dockertools.buildLayeredImage: remove implementation detail layers
tilpner_ has joined #nixos
tilpner has quit [Ping timeout: 276 seconds]
lovesegfault has quit [Ping timeout: 265 seconds]
<sshow> Rolling back does not seem to restore passwords
<gustavderdrache> gchristensen: give me... 3-5 business days for this git clone to complete :)
lovesegfault has joined #nixos
<drakonis> do a shallow clone
<gustavderdrache> i never remember those exist when i need it
<gchristensen> gustavderdrache: you should already have it cloned
<{^_^}> [nixpkgs] @jonringer merged pull request #75797 → python3Packages.aiorun: init at 2019.11.1 → https://git.io/Je7Od
<{^_^}> [nixpkgs] @jonringer pushed commit from @costrouc to master « python3Packages.aiorun: init at 2019.11.1 »: https://git.io/Je7Zf
<drakonis> you can create a branch with the pr
<drakonis> it will pull only the commits
<pie_> what was the function for building qt packages?
<pie_> or is that not needed anymore?
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nixpkgs] @burke opened pull request #75804 → ruby-modules: parse build_flags correctly → https://git.io/Je7ZU
<gustavderdrache> gchristensen: there are some steps between where i am and where i want to be that i'm missing
jgeerds has joined #nixos
jgeerds has quit [Remote host closed the connection]
<pie_> wait what
<pie_> To use another deriver instead of stdenv.mkDerivation, use mkDerivationWith:
<pie_> Use mkDerivation instead of stdenv.mkDerivation. mkDerivation is a wrapper around stdenv.mkDerivation which applies some Qt-specific settings. This deriver accepts the same arguments as stdenv.mkDerivation; refer to Chapter 6, The Standard Environment for details.
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #75763 → python: remove _manylinux.py → https://git.io/Je7kc
<{^_^}> [nixpkgs] @andir pushed 2 commits to staging: https://git.io/Je7Zs
<pie_> theres another mkderivation...?
<drakonis> wait why
sondr3 has quit [Quit: WeeChat 2.6]
<arcnmx> hm, what's responsible for deleting efi loader entries / kernel / initrd / etc?
<pie_> ok that documentation is not entirely clear i think
<pie_> that mkDerivation probably only exists if you use libsForQt5.callPackage
ixxie has quit [Ping timeout: 250 seconds]
gustavderdrache has quit [Quit: Leaving.]
cmacrae has joined #nixos
<{^_^}> [nixpkgs] @timokau merged pull request #75801 → ecl: fix build with libffi 3.3 → https://git.io/Je7sG
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/Je7ZB
<gchristensen> is there a very cheap way to determine if some process is listening to a microphone?
lovesegfault has quit [Ping timeout: 248 seconds]
<cmacrae> Hey people o/ If I have a list of strings, how can I "template" this out in a multiline string to include each element? Something like ''for i in arr { "thing: ${i} "}''
<cmacrae> I'm aware it wouldn't look like this, it's just the best way I feel I can express what I mean :)
<gchristensen> > lib.concatMapStringsSep "\n" (i: "thing: ${i}") [ "foo", "bar" ]
<{^_^}> error: syntax error, unexpected ',', at (string):271:56
<gchristensen> > lib.concatMapStringsSep "\n" (i: "thing: ${i}") [ "foo" "bar" ]
<{^_^}> "thing: foo\nthing: bar"
<cmacrae> <3
<cmacrae> Thank you! That's so cool
<cmacrae> gchristensen++
<{^_^}> gchristensen's karma got increased to 184
<gchristensen> you're welcome!
lovesegfault has joined #nixos
<arcnmx> oh hm, seems like it's whatever installs them to begin with, but it tries installing first so if it's out of space it just gets stuck forever
lovesegfault has quit [Client Quit]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c337a7423bc (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
boogiewoogie has quit [Remote host closed the connection]
chloekek has quit [Ping timeout: 248 seconds]
abrar has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
<infinisil> gchristensen: Regarding the microphone thing, I'd imagine an `lsof` on the device node
bvdw has joined #nixos
cosimone_ has joined #nixos
cosimone has quit [Ping timeout: 250 seconds]
<sshow> gchristensen++
<{^_^}> gchristensen's karma got increased to 185
mexisme_ has quit [Ping timeout: 245 seconds]
erasmas has quit [Quit: leaving]
jgeerds has quit [Ping timeout: 248 seconds]
<dansho> ,locate xreader
<{^_^}> Found in packages: firejail, zafiro-icons, moka-icon-theme, paper-icon-theme, iconpack-obsidian, papirus-icon-theme, numix-icon-theme-circle, numix-icon-theme-square
lukash_ is now known as lukash_|away
dsiypl4 has quit [Ping timeout: 245 seconds]
cmacrae has quit [Remote host closed the connection]
lovesegfault has joined #nixos
cmacrae has joined #nixos
fendor has quit [Read error: Connection reset by peer]
cmacrae has quit [Client Quit]
eacameron has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 268 seconds]
CptCaptain has joined #nixos
<CptCaptain> What's the difference between python38 and python38Full?
buckley310 has joined #nixos
<CptCaptain> The description doesn't talk about it nor does the nix file seem to mention it
<gchristensen> python*Full is python but with X11 support / GUI toolkits
sjkelly1 has joined #nixos