gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> [nixpkgs] @fpletz pushed to master « linux: build rtw88 module »: https://git.io/Jeqip
<{^_^}> [nixpkgs] @ahiaao closed pull request #63994 → xtrap: Added missing dependencies → https://git.io/fjKY3
orivej has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @fpletz pushed to release-19.09 « linux: build rtw88 module »: https://git.io/JeqPk
<{^_^}> #67919 (by peti, 1 week ago, open): vulkan and vulkan-headers are out of sync
Ilya_G has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/565fc43440b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
thc202 has quit [Ping timeout: 264 seconds]
noudle has quit []
captn3m0- has quit [Quit: ZNC 1.7.4 - https://znc.in]
captn3m0 has joined #nixos
arahael2 has joined #nixos
arahael1 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeqXm
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to release-19.09: https://git.io/JeqXY
<infinisil> gyroninja: Thanks, done that
kvda has joined #nixos
emptyfl4sk has joined #nixos
Ilya_G has quit [Ping timeout: 240 seconds]
virus_dave has joined #nixos
emptyfl4sk has quit [Ping timeout: 240 seconds]
drakonis has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/862e91dc6bc (from 13 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
virus_dave has quit [Quit: virus_dave]
_ris has quit [Ping timeout: 268 seconds]
t58 has quit [Quit: night]
ddellacosta has quit [Ping timeout: 250 seconds]
jlv has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @aanderse opened pull request #68391 → dolphinEmu: fix broken build → https://git.io/Jeq1f
boxdot has joined #nixos
boxdot has quit [Client Quit]
eqyiel has quit [Ping timeout: 240 seconds]
eqyiel has joined #nixos
<drakonis> hmm, how do i deal with power management?
<drakonis> my cpu and gpu are running at full speed
<drakonis> its eating my battery
ddellacosta has joined #nixos
dycan has joined #nixos
mexisme has joined #nixos
<dycan> Hi all, I setup ngnix in local computer. http and https ://localhost works fine. But in my nixos CGE deployment. http shows index.html correctly. But https got ERR_TIMED_OUT. I telnet remoter_server 443. It connects. Where can I look into this problem?
m0rphism has quit [Ping timeout: 246 seconds]
<infinisil> dycan: Did you open the https port?
<kvda> Nginx logs?
<dycan> infinisil: I can telnet remote_server 443. Does that count?
<infinisil> Ah right, I somehow didn't see that
<dycan> kvda: Good advice! Let me look into the log.
Ilya_G has joined #nixos
laika___ has quit [Remote host closed the connection]
laika___ has joined #nixos
polman has quit [Ping timeout: 245 seconds]
captn3m0 has quit [Ping timeout: 245 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68377 → iasl: drop uneeded patch → https://git.io/JeqoM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jeq1i
<drakonis> so i gotta enable wifi
<drakonis> do i just turn on networking.wireless.enable?
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.09 « iasl: drop uneeded patch »: https://git.io/Jeq1X
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<selfsymmetric-mu> drakonis: I don't know if this is right but I personally say `network.networkmanager.enable = true;` and then use `nmcli` to manipulate WiFi.
<drakonis> ah and my touchpad is still borked
<drakonis> its not borked on other distributions
<drakonis> i would like to just connect so i can work from inside the system
<dycan> infinisil: https://www.yougetsignal.com/tools/open-ports/ says 443 is closed. But I allowedTCPPort 80 443.
wfranzini has quit [Remote host closed the connection]
<drakonis> oh god i cant wait for my laptop to stop running at maximum speed
<drakonis> its hot
wfranzini has joined #nixos
<drakonis> it sounds like a jet engine
<samueldr> selfsymmetric-mu: do you know about nmtui? sometimes more practical to use than nmcli :)
<samueldr> dycan: are there some firewalley things in GCE that you'd need to tweak?
<ivan> drakonis: some power-saving things that I have not tested https://gist.github.com/tokudan/9e56e81bd93052f68d7f5c57710a6c63
<samueldr> something outside of the OS
<Ralith> how can I get a nix-shell environment with lld set up as the linker? I see mention of `llvmPackages_8.lldClang` but it doesn't seem to actually be a stdenv or anything
<selfsymmetric-mu> samueldr: I haven't heard of that and would like to check it out. What's your config?
<drakonis> changing the cpu governor has improved things a little bit
<selfsymmetric-mu> samueldr: What makes it sometimes more practical? The graphical interface?
<samueldr> selfsymmetric-mu: you just need to enable network-manager, and yeah, a dialog-like interface to pick networks, and settings
<samueldr> in my case it's because my SSID has non-latin characters
<samueldr> ┻━┻ミ\(≧ロ≦\)
<samueldr> (that's the SSID)
<iqubic> Is that really the SSID you chose?
felixfoertsch has joined #nixos
<samueldr> yes
<iqubic> I didn't know SSIDs supported any unicode characters.
Ilya_G has quit [Ping timeout: 245 seconds]
felixfoertsch23 has quit [Ping timeout: 258 seconds]
<samueldr> >> Originally IEEE 802.11 defined an SSID as being up to 32 bytes, but didn’t specify how to interpret the string (US ASCII? ISO-8859-1? Some IBM/Windows “code page”? UTF8? UTF16?), nor did it state any limitation on acceptable values.
<samueldr> it's complicated
<samueldr> as expected, the standard is paywalled, si I can't look it up to confirm the quote (and see if other "fun" bytes are technically valid)
<infinisil> Lol really? How the hell did this become a standard if you can't see it for free
<infinisil> I guess people without money aren't the ones implementing it
<{^_^}> [nixpkgs] @aanderse merged pull request #68381 → oracle-instantclient: 18.1.0.0.0 -> 19.3.0.0.0 (x86_64-darwin) → https://git.io/JeqKG
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Jeq1H
<infinisil> (or people who wouldn't spend money for it)
<iqubic> can you put "\n" or "\t" in SSID names? I know space is correct.
<{^_^}> [nixpkgs] @worldofpeace opened pull request #68392 → Fix desktop tests → https://git.io/Jeq17
<iqubic> is correct means is allowed.
<drakonis> hmm is there any decent configurations that handle power management?
<iqubic> I just use the default hardware configuration on my machine. Seems to work fine for me.
<drakonis> its a laptop
<iqubic> My machine is also a laptop.
<iqubic> I only have NixOS on here.
<drakonis> which laptop?
<drakonis> i'm using an ideapad 330s with amd
<iqubic> Dell Latitude 5480 with Intel i5.
<drakonis> well there it is
<iqubic> There what is?
xkapastel has quit [Quit: Connection closed for inactivity]
<drakonis> intel
<iqubic> How does that change things?
<Ralith> is there a concise way to invoke `mkShell` with a custom stdenv?
<infinisil> Ralith: `(mkShell.override { stdenv = ...; }) { ... }` should work
<Ralith> ah, of course, thanks
dycan has quit [Ping timeout: 245 seconds]
<drakonis> my cpu keeps running at maximum speed and its pissing me off
<{^_^}> [nixpkgs] @worldofpeace pushed to staging « kexectools: fix build on i686 »: https://git.io/Jeq1p
<drakonis> its really hot
<{^_^}> [nixpkgs] @worldofpeace pushed to staging-19.09 « kexectools: fix build on i686 »: https://git.io/Jeq1j
<{^_^}> [nixpkgs] @worldofpeace closed pull request #68380 → kexectools: fix build on i686 → https://git.io/JeqKY
<evanjs> Is there an easy way to generate nix docs from a nixpkgs repo without rebuilding?
<infinisil> evanjs: you mean the nixpkgs manual?
<infinisil> If so, yes, it's just `nix-build doc`
<evanjs> Like the manual
<infinisil> And if you mean the *NixOS* manual, that's `nix-build nixos/release.nix -A manual`
<infinisil> There's like 4 different manuals, there's no "the" manual :)
<evanjs> infinisil: yes, that one. Forgot there are at least 3...
<evanjs> Right right
<evanjs> infinisil++
<{^_^}> infinisil's karma got increased to 139
<infinisil> :)
<evanjs> Yeesh, it even makes an ePub? Ugh what doesn't NixOS do.
<infinisil> There's also different targets that don't build everything
<infinisil> like manualHTML
<infinisil> Tab completion is your friend
<{^_^}> [nixpkgs] @matthewbauer opened pull request #68394 → static: disable python on macOS → https://git.io/JeqMT
emptyfl4sk has joined #nixos
laika___ has quit [Read error: Connection reset by peer]
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<drakonis> hmm
<drakonis> i got a problem
laalf has joined #nixos
<drakonis> for some reason, there's a core running at full speed all the time, so power usage is maxed out
<drakonis> this is not good
<drakonis> my ryzen isnt powering down
Ilya_G has joined #nixos
<selfsymmetric-mu> drakonis: That happened to our oven once. We nicknamed it Full Throttle.
n42 has quit [Quit: WeeChat 2.5]
<drakonis> how do you even fix that
<drakonis> this is eating my battery
<drakonis> i honestly need help here because this is bumming me out
<infinisil> drakonis: Check what it is with htop
<drakonis> nothing is
<infinisil> drakonis: Even with threads enabled?
<drakonis> which is weird
<infinisil> Press H and K in htop
<drakonis> one sec
<infinisil> And sort by CPU
<drakonis> oh god i need to turn on the laptop again
<drakonis> i can't get the touchpad to work
<drakonis> this was a terrible purchase
<drakonis> it worked on other distributions
<drakonis> but not here
Ilya_G has quit [Ping timeout: 276 seconds]
<drakonis> this is honestly pretty goddamn miserable atm
<drakonis> i still havent gotten wifi working yet so i cant work directly on the install
rople has joined #nixos
<drakonis> i'm not even booted into the system and its already heating up
<drakonis> i'm on grub
<infinisil> Yeah try to see if there's anything in htop with threads enabled
<infinisil> K shows kernel threads
<infinisil> I guess H won't matter much which shows user threads
emptyfl4sk has quit [Ping timeout: 244 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9d8e16173d0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<drakonis> this is behaving pretty badly atm because its not supposed to go crazy on grub
<drakonis> this is regrettable
rople has quit [Ping timeout: 246 seconds]
<drakonis> nope, nothing in linux is doing that
<drakonis> what the christ
rople has joined #nixos
gchrholiday has quit [Ping timeout: 252 seconds]
fresheyeball has joined #nixos
{^_^} has quit [Ping timeout: 250 seconds]
<fresheyeball> clever: you have any idea what causes this?
gchrholiday has joined #nixos
<fresheyeball> PTY allocation request failed on channel 0
<fresheyeball> for command
<fresheyeball> sudo ssh nix-ssh@mydomain.com
<drakonis> i need help :|
<fresheyeball> drakonis: what's going on?
<drakonis> my ryzen cpu on my laptop is stuck at full load and a core is maxing it out
<drakonis> so it is always hot and consuming the battery
<fresheyeball> drakonis: stop doing that
<drakonis> doing what?
<fresheyeball> runing your cpu at full load all the time
<drakonis> i'm doing nothing with my cpu
<drakonis> its doing that by default
<fresheyeball> what does top say
<drakonis> nothing useful
<drakonis> htop neither
<fresheyeball> hmm
<drakonis> this starts at grub
<drakonis> too
<drakonis> real bad stuff here
<fresheyeball> do you want to try a different kernel?
{^_^} has joined #nixos
<drakonis> uhh
<drakonis> i'm trying to get my install to work first
<fresheyeball> Idk, this is not my area
<drakonis> but i think the cpu will die before that, at this rate
<drakonis> i'm scared though
<fresheyeball> drakonis: can you paste the output of top?
<drakonis> uhh how
<drakonis> this is my desktop mind you
<{^_^}> [nixpkgs] @fabianhjr opened pull request #68396 → fira-code: 1.207 -> 2 → https://git.io/JeqMC
<drakonis> i'm trying to at least get it to boot
<fresheyeball> do you have ssh working?
<drakonis> uhh not yet
<fresheyeball> drakonis: ok
<fresheyeball> so what is the state of affairs then?
<drakonis> i can upload it to termbin
<fresheyeball> what have you done?
<fresheyeball> great
<drakonis> i'm trying to get internet in the lappy first
<drakonis> this is real bad though
<fresheyeball> why not turn that computer off until we know to do something
<fresheyeball> save the hardware
<drakonis> fuck its plasma shell
<drakonis> fucks
<drakonis> sake
<fresheyeball> haha
<drakonis> but that doesnt explain why
<fresheyeball> how did you find out?
<drakonis> its heating up
<drakonis> htop just showed it at 100%+
<fresheyeball> did killing it stop killing your cpu?
<drakonis> no still dtying
<drakonis> dying horrendously
<drakonis> or not
<drakonis> hmm
<drakonis> nevermind here we go again?
<drakonis> i'm going to make a flash drive with ubuntu
<drakonis> but jesus christ yikes
<drakonis> i think i should bump the kernel version
<drakonis> or maybe just rma the laptop, this is not normal, its happening on grub too
<fresheyeball> then I don't think ubuntu will save you
<fresheyeball> it sounds like your idle is too high or something
<drakonis> its a ryzen i suppose
<fresheyeball> drakonis: you might check the bios
<drakonis> i looked at it, doesnt look like it has anything useful
<drakonis> also acpi might be really goddamn broken in it? i dont know
<drakonis> this is bad as hell
<drakonis> alternatively, i think it is because it is plugged on the outlet?
<fresheyeball> you don't have a clock setting in the bios?
<drakonis> no
<drakonis> its a lenovo
<drakonis> lenovo ideapad 330s
<fresheyeball> so
<drakonis> this was a really bad purchase
<fresheyeball> geeze
<fresheyeball> I am sorry
<fresheyeball> can it be returned?
<drakonis> seems like when i plugged it off the outlet, it stopped going nuts, let me see
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68391 → dolphinEmu: fix broken build → https://git.io/Jeq1f
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeqM4
<drakonis> still no touchpad though
<drakonis> still on warranty
<{^_^}> [nixpkgs] @angerman opened pull request #68397 → fix wine → https://git.io/JeqMB
<kvda> ryzen is a meme i got suckered into too, but intel is bad as well now i guess
<drakonis> calling things a meme is dumb, thanks in advance
<drakonis> its a raven ridge ryzen though
<drakonis> with a vega gpu
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<fresheyeball> drakonis: https://nixos.org/nixos/options.html#synaptics.enable
<drakonis> its not plugged in, its not burning down the house anymore, seems fine now?
<drakonis> idgi tho
<kvda> don't get offended for me not liking a product you like
<drakonis> this isnt getting offended, calling things a meme is a meme
<kvda> ok you're dumb now too
<kvda> how does it feel to be stupid?
<fresheyeball> play nice kids
mexisme has quit [Ping timeout: 276 seconds]
<kvda> :)
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @aanderse to release-19.09 « dolphinEmu: fix broken build »: https://git.io/JeqME
<drakonis> its still running at semi maxed out speed though
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/ac82b1216ca (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<drakonis> this is still awful
pikajude has joined #nixos
Ilya_G has joined #nixos
<{^_^}> [nixpkgs] @angerman opened pull request #68398 → fix openssl → https://git.io/JeqMg
quiet_laika[m] has joined #nixos
<samueldr> drakonis: for the touchpad, #68312 may fix that
<{^_^}> https://github.com/NixOS/nixpkgs/pull/68312 (by mat8913, 1 day ago, merged): kernel: Enable X86_AMD_PLATFORM_DEVICE
<drakonis> nice.
<{^_^}> [nixpkgs] @angerman opened pull request #68399 → fix binutils → https://git.io/JeqM6
laika___ has joined #nixos
<drakonis> anyhow, i gotta find a way to upgrade the system to 19.09
<drakonis> to run a fresher kernel
<drakonis> probably wont do any good but worth a try?
<samueldr> the kernel updates are always backported, so you wouldn't really have a fresher kernel
<drakonis> i'm at 4.19
<samueldr> though, that said, that option will not be turned on in 19.03
<samueldr> use linuxPackages_latest
<samueldr> boot.kernelPackages = pkgs.linuxPackages_latest;
<samueldr> it may also solve other issues
<samueldr> the default kernel is always the current LTS at the time of release
<samueldr> so even on 19.09 it will be 4.19 if you don't set it to something else
<{^_^}> [nixpkgs] @angerman opened pull request #68400 → [gmp] Fix shared windows cross compilation → https://git.io/JeqM1
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68396 → fira-code: 1.207 -> 2 → https://git.io/JeqMC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeqMy
<drakonis> aight one last shot
<drakonis> i'm going to return it if i cant actually get the cpu to not fry my hands
<infinisil> Try latest kernel first?
<drakonis> on it
dycan has joined #nixos
<rople> any reasons why nix is so much faster than guix from an infrastructure standpoint?
<fresheyeball> crap
<fresheyeball> how can I rollback a nixops deloyment?
<infinisil> fresheyeball: Ya can't unless you turned on network.enableRollback
<fresheyeball> infinisil: so I set a bad value for users.defaultShell
<fresheyeball> and now I can't redeploy to fix it
<infinisil> I think you can still rollback with the normal generations on the machine though
<infinisil> Not through nixops
<fresheyeball> well I can ssh in
<fresheyeball> how can I rollback?
<infinisil> Execute /nix/var/nix/profiles/system-*-link/bin/switch-to-configuration switch
<infinisil> Replace * though
<fresheyeball> infinisil: what are these?
<fresheyeball> the generations?
<infinisil> Indeed
<fresheyeball> amazing
<fresheyeball> I had no idea
<fresheyeball> infinisil: well I am back in buisness
<fresheyeball> except my real issue persists
<fresheyeball> PTY allocation request failed on channel 0
<fresheyeball> when running sudo ssh nix-ssh@mydomain.com
dansho has quit [Ping timeout: 244 seconds]
<infinisil> Tried searching for the error?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/775b1f6daa2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<fresheyeball> I have indeed
<fresheyeball> most resources seem to think it indicates I am out pty
<fresheyeball> or that the pty directory is not mounted
<fresheyeball> but I can ssh into the box just fine
<fresheyeball> but not as nix-ssh
<infinisil> Maybe try making a brand new user, see if it's the same for that
<{^_^}> [nixpkgs] @matthewbauer pushed to man-db-default-pager « man-db: set less as default pager »: https://git.io/JeqMh
<{^_^}> [nixpkgs] @matthewbauer opened pull request #68401 → man-db: set less as default pager → https://git.io/JeqDe
Ilya_G has quit [Ping timeout: 245 seconds]
jlv has joined #nixos
ddellacosta has quit [Ping timeout: 240 seconds]
polman has quit [Ping timeout: 245 seconds]
<jlv> Any idea why running `home-manager switch` with an overlay to add a package from my local nixpkgs is gobbling all of my systems memory?
<jlv> Meaning about 40gb of memory, which seems excessive.
<infinisil> That's pretty weird, what's the overlay?
laika___ has quit [Ping timeout: 276 seconds]
<jlv> It's pretty small, I'll pastebin it
<jlv> infinisil: Here it is https://pastebin.com/YYY0D2e5
polman has joined #nixos
<jlv> The nixpkgs is just a branch with deoplete-dictionary added to vim-plugin-names (and generated vimPlugins updated)
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
<infinisil> Maybe add a bunch of -vvvvvvv's to see what it's doing
<infinisil> Won't work with home-manager though
<infinisil> You'll have to use some nix-* invocation for -v's
<clever> fresheyeball: the nix-ssh user is configured to never give a shell, and to directly run nix-store, so its more secure when the keyfile lacks a passphrase
<clever> jlv: the `import ./nixpkgs {}` is likely loading the same overlay, causing infinite recursion
<clever> jlv: you want `import ./nixpkgs { overlays = []; }`
<fresheyeball> clever: but I should be able to ssh in
<fresheyeball> I can do it with the machines where things are working
<clever> fresheyeball: are all of them on the same version of nixpkgs? are you testing with the nix-ssh user on each?
<clever> fresheyeball: https://github.com/NixOS/nixpkgs/blob/release-19.03/nixos/modules/services/misc/nix-ssh-serve.nix#L51 this line prevents allocating a tty on the nix-ssh user
<jlv> clever: I think that fixed it. Thanks :) I'm getting another error, but it never got this far before.
<fresheyeball> clever: I am not sure what you mean by on the same version of nixpkgs
<fresheyeball> but yes, I am using sudo ssh on each system
<fresheyeball> and only one it fails
<clever> fresheyeball: read the /etc/ssh/sshd_config file on each machine, how do they compare to line 51 of the above file?
<fresheyeball> they look the same
<clever> fresheyeball: can you pastebin examples of where it works and where it doesnt work?
<fresheyeball> oddly if I do a build
<fresheyeball> with --option subsituters mydomain.com
<fresheyeball> its works
<clever> fresheyeball: then its doing its job
<fresheyeball> yeah all is well actually after all
<clever> fresheyeball: i would expect there to be problems on the machines where you dont get that error
<clever> and its a problem with the server config, not the client
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
<fresheyeball> clever: somethingI should check for?
felixfoertsch has joined #nixos
<clever> fresheyeball: PermitTTY in the sshd config, for the host that has no error
dermetfan has joined #nixos
justbeingglad has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
justbeingglad has left #nixos [#nixos]
dermetfan has quit [Ping timeout: 245 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
schjetne has joined #nixos
philr has quit [Quit: WeeChat 2.5]
emptyfl4sk has joined #nixos
jlv has quit [Remote host closed the connection]
schjetne has quit [Ping timeout: 240 seconds]
emptyfl4sk has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #68389 → zbar: clean up → https://git.io/Jeqiz
<{^_^}> [nixpkgs] @jtojnar pushed 9 commits to master: https://git.io/JeqD0
wfranzini has quit [Ping timeout: 268 seconds]
debclair has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 117 commits to staging-next: https://git.io/JeqDK
<{^_^}> [nixpkgs] @jtojnar pushed 119 commits to staging: https://git.io/JeqD6
delan has quit [Read error: Connection reset by peer]
boxdot has joined #nixos
<debclair> Hello! I recently heard an opinion about NixOps "not being declarative" because of the Nix expression language being "turing complete". I wanted to know what's true about the statements and what makes NixOps declarative. If there's any literature you could recommend that would be great also.
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
<debclair> Nevermind, I found the information.
zupo has joined #nixos
mexisme has joined #nixos
debclair has quit [Quit: Leaving]
<rople> binary subsitutes explains it, guix needs them authed, whereas nix does it by default
dycan has quit [Ping timeout: 276 seconds]
Ilya_G has joined #nixos
drakonis has quit [Quit: WeeChat 2.4]
emptyfl4sk has joined #nixos
Ilya_G has quit [Ping timeout: 245 seconds]
fusion809 has joined #nixos
<fresheyeball> is there a way to tell nix not to use the source folder name in the nix-store path?
emptyfl4sk has quit [Ping timeout: 276 seconds]
<fresheyeball> if I have 2 directories with identical contents
<fresheyeball> but different names
<fresheyeball> nix rebuilds because the folder name is different
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
<jtojnar> fresheyeball: I beleive they added some function exactly for this
<jtojnar> cannot recall the name
<srhb> builtins.path
<fresheyeball> The directory contents is identical, I think it should pull from cache
<srhb> fresheyeball: No, that's not the case.
<fresheyeball> srhb: why does the source folder name matter?
<fresheyeball> can I make it not matter?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d57d9ba288e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<srhb> fresheyeball: Because it's part of the hash calculation. You can read the section on fixed-output-derivations. You cannot make it not matter.
rauno has quit [Ping timeout: 250 seconds]
<srhb> fresheyeball: That said, if you're just renaming an existing, cached thing, you'll get cache on the un-renamed one, and then the copy is cheap.
<fresheyeball> srhb: I am sying it rebuild totally
<clever> hmmm, builtins.path takes a set as the 1st argument
<fresheyeball> nix-diff shows the only difference is the source name
<srhb> Yes, one of them being a name so you can make the original name not matter.
<clever> which must contain a .path .name .filter .recursive. and .sha256
<clever> only path and name are required
<clever> and path must have no dependencies (./. is allowed, "${hello}" isnt)
<clever> so, builtins.path { name = "source"; path = ./.; }
<clever> that will behave as-if the current dir has been renamed to "source" before copying it to /nix/store/hash-source
<srhb> Which means hash is different, of course.
<srhb> fresheyeball: It's also documented just fine in the Nix manual, in case you don't want to read the source. :)
<fresheyeball> I got it working
<clever> if you force the same name in multiple places, and the contents match, then the hash should also match up
<fresheyeball> through I admit, I don't understand why this is necissary
<clever> fresheyeball: the $out hash of a derivation, is just a dumb hash of every key=value pair inside the drv
<clever> and the name of its src = /nix/store/hash-name; dir, is part of that hash
<fresheyeball> I get that it is
<fresheyeball> but not why it is
<clever> just simpler to implement that way
<clever> no attr is treated specially, they are just all hashed together
<fresheyeball> cannot refer to other paths, at
<clever> 2019-09-10 02:43:44 < clever> and path must have no dependencies (./. is allowed, "${hello}" isnt)
* clever heads off to bed
<fresheyeball> I am passing the result of builtins.path to gitignoreSource
<clever> fresheyeball: builtins.path accepts a filter argument
<clever> builtins.path { name = "source"; path = ./.; filter = something; }
<clever> which does both jobs at once
<clever> it functions identically to the filter from builtins.filterSource
<clever> you may need to patch gitignoreSource to use builtins.path instead
<fresheyeball> wow wtf
<fresheyeball> why is builtins.path so magic?
<fresheyeball> I can't compose with it in either side
<fresheyeball> I can't use its result
<fresheyeball> or filter it's input
palo1 has joined #nixos
<clever> neither one allows the inputs to be a storepath
<clever> and the whole point of the filter function, is to act before things get copied to the store
<fresheyeball> so I would think i could do
<fresheyeball> filter = gitignore.gitignoreSource []
<fresheyeball> since currying
<fresheyeball> but that is not allowed either
emptyfl4sk has joined #nixos
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
<clever> fresheyeball: where is the definition of gitignoreSource?
<fresheyeball> I see it now
<fresheyeball> I have a type error in my logic
<fresheyeball> gitignoreSource curried is Source -> Source
<fresheyeball> not Source -> Bool
<clever> yeah, you need to modify it to call builtins.path, instead of filterSource
* clever heads to bed
<fresheyeball> clever++
<{^_^}> clever's karma got increased to 198
<fresheyeball> night
<{^_^}> [nixpkgs] @bkchr closed pull request #57175 → firefox: Fixes build with rust 1.33 → https://git.io/fhh6J
<clever> almost to 200!
<{^_^}> [nixpkgs] @jtojnar opened pull request #68402 → wrapGAppsHook: add wrapGApp helper → https://git.io/Jeqyg
<{^_^}> [nixpkgs] @lilyball opened pull request #68403 → tokei: 9.1.1 -> 10.0.1 → https://git.io/Jeqy2
Ilya_G has joined #nixos
Ilya_G has quit [Ping timeout: 246 seconds]
pikajude has quit [Read error: Connection reset by peer]
hyper_ch2 has joined #nixos
pikajude has joined #nixos
pikajude has quit [Client Quit]
pikajude has joined #nixos
emptyfl4sk has quit [Ping timeout: 246 seconds]
pikajude has quit [Read error: Connection reset by peer]
pikajude has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
pikajude has quit [Read error: Connection reset by peer]
rople has quit [Ping timeout: 276 seconds]
pikajude has joined #nixos
dermetfan has joined #nixos
pikajude has quit [Client Quit]
pikajude has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #68305 → ocamlPackages.rpclib: init at 5.9.0 → https://git.io/Jeet0
<{^_^}> [nixpkgs] @vbgl pushed commit from @vyorkin to master « ocamlPackages.rpclib: init at 5.9.0 »: https://git.io/JeqSJ
wfranzini has joined #nixos
dycan has joined #nixos
dasj19 has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
rauno has joined #nixos
rsoeldner has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.4]
mexisme has quit [Ping timeout: 276 seconds]
<manveru> doesn't hydra have some way to filter out only failed jobs of a jobset?
<manveru> ah, found it, needs to complete run first i guess
emptyfl4sk has joined #nixos
<manveru> mostly just wondering which of my packages i need to make pass for the ZHF thing
FRidh2 has joined #nixos
kenshinCH has quit [Ping timeout: 245 seconds]
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
Izorkin has joined #nixos
rople has joined #nixos
veske has joined #nixos
rople has quit [Client Quit]
emptyflask has quit [Ping timeout: 244 seconds]
rople has joined #nixos
civodul has joined #nixos
cyris212 has joined #nixos
abbiya has joined #nixos
pikajude has quit [Ping timeout: 264 seconds]
nexgen2 has joined #nixos
<teto> wth with the "LightDM auto-login requires that services.xserver.desktopManager.default". Seems like the string is freeform and when I try to fix it i get stack overflow (possible infinite recursion). I just want it to work as before.
nexgen2 has quit [Remote host closed the connection]
kenshinCH has joined #nixos
Ariakenom has joined #nixos
emptyfl4sk has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @leenaars opened pull request #68405 → Blink + dependencies: update 3.0.3 -> 3.2.0 → https://git.io/JeqSV
<manveru> teto: `desktopManager.default = "none";` and `desktopManager.xterm.enable = true;`
<manveru> i think that'll be part of the release notes
<teto> manveru: the error message is not very helpful and the linked stackoverflow not inspiring https://paste.ubuntu.com/p/8jBjSxNT8g/
<{^_^}> [nix] @ivegotasthma closed pull request #2647 → corepkgs.fetchurl: comment typo → https://git.io/fh2N5
<manveru> uh... yeah, that looks pretty bad :(
<teto> seems like if the config is slightly off, it will crash https://paste.ubuntu.com/p/SgXJ7VcWkN/
<teto> I would expect services.xserver.desktopManager.xterm.enable = true; to make desktopManager.default = "none" superfluous
<manveru> i configure my WM via home-manager, not nixos, so not entirely sure
<manveru> also i don't have autoLogin set
<teto> manveru: I configure it via HM too
Chiliparrot has joined #nixos
<iqubic> I would like to configure my WM entirely in home-manager, but I'm not sure that's possible?
hyper_ch2 has quit [Remote host closed the connection]
<manveru> iqubic: it sure is
<teto> tried disabling autologin still infinite recursion
<manveru> teto: can you paste your config?
<iqubic> How is it possible to do it?
<iqubic> I'm currently using startx and a .xinitrc.
<teto> manveru: I would rather see yours :p
<manveru> i don't have my nixos config published, sorry
cfricke has joined #nixos
<manveru> is the xserver part
<iqubic> What does the autorun part do?
<manveru> it starts X
<iqubic> Also, what does CtrlAltBackspace do?
<manveru> so you can kill X with that keycombo
<tobiasBora> Hello,
<tobiasBora> I'm always confused by nix-mode (emacs)
<tobiasBora> I tried to do (use-package nix-mode :ensure t :mode "\\.nix\\'")
<tobiasBora> I have coloration, but the indent is broken.
<tobiasBora> after the "then" it does not indent anything
schjetne has joined #nixos
<manveru> indent is pretty broken, in my experience...
<manveru> i also have `:config (electric-indent-mode -1)` passed
<{^_^}> nix-mode#57 (by shlevy, 41 weeks ago, open): nix-indent-line as default nix-indent-function
<teto> manveru: thanks but even with that it still crashes, stack overflow (possible infinite recursion) . I even removed my overlays to check it wasn't that
<manveru> teto: that's why i'm asking for your config, there's clearly something non-standard going on :)
Tucky has joined #nixos
<manveru> a wrong module config shouldn't result in infinite recursion
hmpffff has joined #nixos
<teto> I tried to comment all my custom config to fallback on vanilla settings but seems useless
markus1189 has quit [Ping timeout: 268 seconds]
<manveru> you can also try running with `sudo nixos-rebuild -vvvvv` to see what nix is doing
<manveru> errr, add `switch` to that :)
<manveru> or `build`
<talyz> tobiasBora: By default, nix-mode doesn't attempt to indent correctly. If you add :config (setq nix-indent-function 'nix-indent-line) to your use-package call, it will.
<teto> manveru: I did but that just says evaluating file '/home/teto/nixpkgs/lib/sources.nix before dying
<tobiasBora> talyz: It seems that nix-indent-line does not indent the if statement, which is kind of an issue
<tobiasBora> manveru: I tried smie-indent-line, nix-indent-line and indent-relative, but none of them manage to indent both if and multiline strings correctly... any idea?
<etu> tobiasBora: Have you reported this with a small test case?
<manveru> tobiasBora: i just run nix-format-buffer with nixfmt...
<etu> tobiasBora: Because we have regression tests in nix-mode since earlier this year.
<etu> tobiasBora: (we had some before as well, but since earlier this year we have it for indentation as well)
<manveru> teto: and before that?
<tobiasBora> etu: well I can see https://github.com/NixOS/nix-mode/issues/43
<{^_^}> nix-mode#43 (by teozkr, 1 year ago, open): nix-indent-line doesn't indent if-expressions nicely
<etu> tobiasBora: Ah, good enough
<etu> Now someone just have to write the code to fix it without breaking anything ;)
<tobiasBora> manveru: and when you code you have no indentation at all?
<teto> manveru: unstable seems to build on my laptop that has a slightly different config
sigmundv has joined #nixos
<manveru> tobiasBora: i have indentation, it's not too bad usually
<tobiasBora> manveru: which mode are you using? for now smie-indent-line seems to be the best one
<manveru> i didn't choose a mode, just using spacemacs default
<tobiasBora> manveru: ok thanks
<manveru> maybe i should try that sometime :)
veske2 has joined #nixos
Makaveli7 has joined #nixos
<teto> the desktop uses nixFlake, that must be why it crashes
markus1189 has joined #nixos
johanot has joined #nixos
veske has quit [Ping timeout: 276 seconds]
<teto> how can I rebuild with an alternative nix ? nixpkgs.nix doesn't contain nixos-rebuild
<{^_^}> [nixpkgs] @leenaars opened pull request #68406 → datefudge: 1.22 -> 1.23 → https://git.io/Jeq9R
<{^_^}> [nixpkgs] @lsix merged pull request #67571 → pythonPackages.fire: 0.1.3 -> 0.2.1 → https://git.io/fjA5K
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jeq90
<johanot> teto: you could do: /path/to/other-nix/nix-build '<nixpkgs/nixos>' -A system
<manveru> i thought nixos-rebuild always uses nixUnstable
<manveru> but i guess the daemon is nixFlakes still
vonfry has joined #nixos
vonfry has quit [Client Quit]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<teto> I dunno what I did (I rebooted) but now I see a "error: cloning builder process: Invalid argument"
<teto> error: unable to start build process
<johanot> journalctl -eu nix-daemon ?
veske2 has quit [Quit: This computer has gone to sleep]
qqlq has joined #nixos
Zer000 has joined #nixos
veske2 has joined #nixos
<tobiasBora> what package do I need to get https://github.com/travisbhartwell/nix-emacs?
<tobiasBora> (on a non-nixos computer)
m0rphism has joined #nixos
<teto> johanot: the journal shows only "accepted connections"
Ariakenom has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #68407 → libnotify: use 3rd party patch to support replacing a notification → https://git.io/Jeq9a
<johanot> teto: :(
<teto> seems the message is linked with https://github.com/NixOS/nix/pull/3006, not sure if it explains the stack overflow. Will try to reboot on older generations but because of a lack of HDD, I usually don't have a lot
<{^_^}> nix#3006 (by matthewbauer, 6 weeks ago, merged): Run test to determine if sandboxing is available
<{^_^}> [nixpkgs] @leenaars opened pull request #68408 → getdns: 1.5.1 -> 1.5.2 → https://git.io/Jeq9o
joshuagl has joined #nixos
bahamas has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
veske2 has joined #nixos
dom` has joined #nixos
<teto> nevermind, that's one of my addition. switching to pristine unstable makes it go away. Sorry :'( what is strange is that I never had the problem before :/ and with the lightdm issue, I thought both were linked.
fendor has joined #nixos
__monty__ has joined #nixos
Ariakenom has joined #nixos
<dom`> I am trying to create a nixos machine on azure following the instructions here: https://nixos.org/nixos/download.html
<dom`> I assume this export SOURCE_URI="" needs to point to a real URI
<dom`> But what should it be?
dycan has quit [Remote host closed the connection]
thc202 has joined #nixos
grumble has quit [Ping timeout: 622 seconds]
<dom`> Presumably I can upgrade once I have nixos running?
aswanson has quit [Quit: WeeChat 2.4]
knupfer has joined #nixos
mexisme has joined #nixos
Yaniel has quit [Remote host closed the connection]
MichaelEden[m] has joined #nixos
<__monty__> dom`: Yeah, seems like only recently someone stepped up who was interested in maintaining the azure blob/instructions: https://github.com/NixOS/nixpkgs/issues/36262
<{^_^}> #36262 (by Rizary, 1 year ago, open): Azure version of NixOS blob
Yaniel has joined #nixos
<dom`> __monty__: thanks for the link
Okinan has quit [Quit: Konversation terminated!]
<dom`> "message": "The VHD for disk 'osdisk_0fbb5e758f' with blob https://nixosvm.blob.core.windows.net/nixosvm/osdisk_0fbb5e758f.vhd has an unsupported virtual size of 30719.390625 MB. The size must be a whole number in (MBs)."
cartwright has quit [Remote host closed the connection]
veske2 has quit [Quit: This computer has gone to sleep]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cartwright has joined #nixos
Ariakenom has quit [Ping timeout: 276 seconds]
* dom` sighs
user___ has joined #nixos
Ariakenom has joined #nixos
<__monty__> Ouch. Then I guess the only recourse would be following one of the links with instructions for creating a new vhd in that issue.
<{^_^}> [nixpkgs] @andir merged pull request #68296 → buildRustCrate: add support for renaming crates → https://git.io/JeeTb
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JeqHZ
hyper_ch2 has joined #nixos
<hyper_ch2> how can I test if my notebook/usb-c connector support DisplayPort or alt modes from the cli?
<manveru> anyone here got wasm-pack to work in a derivation?
<dom`> __monty__: I fear that is beyond my level of competence
<{^_^}> [nixpkgs] @andir opened pull request #68409 → [19.03] buildRustCrate: add support for renaming crates → https://git.io/JeqHl
<dom`> It seems I am not the first to trip over this problem: https://github.com/NixOS/nixpkgs/pull/62635#issuecomment-500181168
<__monty__> dom`: Maybe ping colemickens or ghuntley, oh I see you've commented on the issue : )
<{^_^}> [nixpkgs] @andir opened pull request #68410 → [19.09] buildRustCrate: add support for renaming crates → https://git.io/JeqHR
ee1943 has quit [Read error: Connection reset by peer]
ee1943 has joined #nixos
ThatDocsLady has joined #nixos
Ilya_G has joined #nixos
emptyfl4sk has joined #nixos
<ghuntley> @dom`: and @__monty__ have been working on nixos and nix workshops. WSL is on pause until I get some help with systemd knowledge.
hyper_ch2 has quit [Remote host closed the connection]
bahamas has quit [Ping timeout: 240 seconds]
veske2 has joined #nixos
<jschievink> what do you usually do if you're working in some upstream repo that uses bash scripts with `#!/bin/bash` shebang? patching them and remembering not to commit that change seems like a very annoying solution
<jschievink> I know that `bash script.sh` works, but here I can't do that since one script directly invoked another
felixfoertsch has quit [Ping timeout: 246 seconds]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @elohmeier closed pull request #64726 → brlaser: add supported printer model → https://git.io/fjXBz
<dom`> ghuntley: I am not doing anything with WSL
<dom`> ghuntley: I'd like to have a nixos machine on azure
<dom`> ghuntley: I can see what might be instructions on how to create a vhd but I don't understand them enough to attempt using them
psyanticy has joined #nixos
o1lo01ol1o has joined #nixos
emptyfl4sk has quit [Ping timeout: 258 seconds]
evilmonads has quit [Ping timeout: 258 seconds]
Ilya_G has quit [Ping timeout: 244 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
arianvp has quit [Quit: WeeChat 2.4]
arianvp has joined #nixos
<__monty__> jschievink: Wouldn't setting up a nix-shell help? (direnv and especially lorri can make it pretty painless.
<__monty__> )
<arianvp> why hasn't anybody come up with declarative config for weechat for nixos?
<arianvp> maybe somebody has?
<arianvp> what do you all use to configure weechat on your nixos machines?
<jschievink> __monty__: that will bring `bash` into my `PATH`, yeah, but the scripts use an explicit `/bin/bash` shebang, which isn't where that bash is located
<__monty__> Ah, patch them to use #!/usr/bin/env bash? Only explicit paths that should ever be in a shebang are /bin/sh and /usr/bin/env, imo.
Zer0xp has joined #nixos
mexisme has quit [Ping timeout: 240 seconds]
<Izorkin> Mic92: enable iptables-nft to default?
<{^_^}> [nixpkgs] @prusnak opened pull request #68411 → pythonPackages.flaky: 3.5.3 -> 3.6.1 → https://git.io/JeqQG
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Neo-- has joined #nixos
Profpatsch has joined #nixos
Profpatsch has left #nixos ["WeeChat 0.4.3"]
<Mic92> Izorkin: I don't think we should do that yet. Is it really 100% compatible with iptables?
<Mic92> It should be an option though.
mawis has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
<Mic92> Izorkin: However networking.firewall.package could default to iptables-nft if nftables is enabled.
<{^_^}> [nixpkgs] @andir merged pull request #68409 → [19.03] buildRustCrate: add support for renaming crates → https://git.io/JeqHl
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.03: https://git.io/JeqQC
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @andir merged pull request #68410 → [19.09] buildRustCrate: add support for renaming crates → https://git.io/JeqHR
<{^_^}> [nixpkgs] @andir pushed 2 commits to release-19.09: https://git.io/JeqQl
<Izorkin> Mic92: iptables-compat correct work in my home server, use libvirt and docker. If packages are built using iptables-legacy, then the firewall works with iptables-compat - there will be no conflicts?
<rauno> How can i pass package arguments with nixops/nixos config ?
<Mic92> Izorkin: packages using iptables-legacy would mess up the firewall if nftables is actually used right?
hoijui has joined #nixos
<__monty__> rauno: Usually it's just changing `pkgs.somePkg` to `(pkgs.somePkg.override { foo = pkgs.bar; snafu = true; })`.
veske2 has joined #nixos
mawis has quit [Ping timeout: 250 seconds]
o1lo01ol1o has joined #nixos
<rauno> okay __monty__ but when its installed via module ?
<alexarice[m]> rauno: use an overlay?
<Izorkin> Mic92: iptables-compat automatically converts rules to nft format. iptables-compat uses the nftables firewall.
<Mic92> Izorkin: Yeah. But is there an aquivalent for every iptables extension in nftables as well?
<Mic92> Izorkin: At some point we could switch to nftables as the backend however the question is, how the transition would look like.
bahamas has joined #nixos
bahamas has joined #nixos
mawis has joined #nixos
<Mic92> I mean there are probably people that would get upset if we break their firewall rules and they have to get in a plane to reboot their machines...
Ariakenom has quit [Ping timeout: 246 seconds]
vyorkin has joined #nixos
<Izorkin> Mic92: example my current iptables rules - https://pastebin.com/HMMxsMxN They are converted to these rules - https://pastebin.com/SQ6hKNtH
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<rauno> alexarice[m], hum okay, will try
o1lo01ol1o has joined #nixos
<alexarice[m]> rauno: I think you can use packageOverrides as well though I'm not sure how they work and overlays are easy
<Izorkin> Mic92: https://pastebin.com/Ez4gVfs9 - my firewall config.
zupo has joined #nixos
<Mic92> Izorkin: I believe you that it works for rules generated by our firewall modules, but do you know how well the other commands here work? http://ipset.netfilter.org/iptables-extensions.man.html There is `networking.firewall.extraCommands` which allow to pass arbitrary iptables commands.
<Izorkin> Mic92: not checked iptables extensions
<Mic92> Izorkin: The article mentions in the end that nft does not support all features of nftables. Hence I would propose that we first make iptables-nft optional for those who want to try and then think about the next steps.
<Mic92> I need get to work now.
<Izorkin> Mic92: Ok, not need rename iptables-legacy and iptables-compat?
<__monty__> rauno: Hmm, some modules allow you to specify the package. If that's not the case an overlay seems like a good idea.
<Mic92> Izorkin: we could rename it iptables-legacy, and have an iptables-compat package. (or a similar name)
<hyper_ch2> is nftable ready for actual usage?
grumble has joined #nixos
<Izorkin> Mic92: not need to change PR?
<rauno> alexarice[m], __monty__ seems like it works yes, havent use overlays before
<rauno> nixpkgs.overlays =
<rauno> [ (self: super:
<rauno> {
<rauno> # enable ceph and issci for libvirt
<rauno> libvirt= super.libvirt.override {
<rauno> enableCeph = true;
<rauno> enableIsci = true;
<rauno> };
<rauno> })
<rauno> ];
<rauno> oops, sorry for not using pastebin :|
<alexarice[m]> looks correct to me
<Izorkin> hyper_ch: me use nftables in virtual machines
zupo has quit [Ping timeout: 245 seconds]
<rauno>
vyorkin has quit [Remote host closed the connection]
<hyper_ch2> Izorkin: :)
<Twey> I notice that the Nix store seems to collect memory roots during running ({memory:100} -> /nix/store/8q37mq51bj1yfs1zprsv1yj134gs6488-dbus-glib-0.110) and they don't necessarily go away. Recently I'm running pretty close to my hard drive limit, and I've noticed that I frequently run out of space and have to reboot-then-GC in order to free up space to do things.
asymptotically has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
ThatDocsLady_ has joined #nixos
zupo has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
alex`` has joined #nixos
Ariakenom has joined #nixos
ng0 has joined #nixos
sellout- has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/09e633d6805 (from 43 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
sellout- has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #66404 → plan9port: use C compiler from Nix → https://git.io/fj7EO
<{^_^}> [nixpkgs] @AndersonTorres pushed 3 commits to master: https://git.io/Jeq7r
dom` has quit [Ping timeout: 246 seconds]
iyzsong has joined #nixos
zupo has quit [Read error: Connection reset by peer]
rople has quit [Quit: rople]
rople has joined #nixos
dom` has joined #nixos
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
jophish has quit [Quit: WeeChat 2.4]
virus_dave has joined #nixos
bahamas has quit [Ping timeout: 246 seconds]
virus_dave has quit [Client Quit]
init_6 has joined #nixos
veske has joined #nixos
veske2 has quit [Ping timeout: 276 seconds]
captn3m0 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
Chiliparrot has joined #nixos
polman has quit [Ping timeout: 245 seconds]
<manveru> anyone good at rust who could help with this? https://github.com/kolloch/crate2nix/issues/25
<{^_^}> kolloch/crate2nix#25 (by manveru, 27 minutes ago, open): Supporting wasm-pack
polman has joined #nixos
hoijui has quit [Quit: Leaving]
noudle has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #68325 → matcha: 2019-06-22 -> 2019-07 → https://git.io/JevGU
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JeqdZ
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
bahamas has quit [Ping timeout: 276 seconds]
shibboleth has joined #nixos
emptyfl4sk has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/f03a88e1847 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
vika_nezrimaya has joined #nixos
arianvp has quit [Quit: WeeChat 2.5]
Ilya_G has joined #nixos
arianvp has joined #nixos
<__monty__> I'm on a very resource constrained 32bit machine. Apparently there's no binary for taskell so I'm trying to at least disable tests. `(taskell.override { doCheck = false; })` fails with unexpected argument 'doCheck'. What am I doing wrong?
<makefu> __monty__: you will need to use overrideAttrs ( https://nixos.org/nixpkgs/manual/#sec-pkg-overrideAttrs )
captn3m0- has joined #nixos
<makefu> .override only lets you override parameters which are provided via callPackage. This is somewhat confusing, esp. when you do this the first time
captn3m0 has quit [Ping timeout: 246 seconds]
emptyfl4sk has quit [Ping timeout: 276 seconds]
rople has quit [Quit: rople]
rople has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/09e633d6805 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
reanimus has quit [Quit: Logging off...]
<__monty__> makefu: Ah, thanks. Always thought of override just changing an attribute in the resulting set.
gmarmstrong has joined #nixos
cfricke has quit [Quit: WeeChat 2.6]
kvda has joined #nixos
reanimus has joined #nixos
zupo has joined #nixos
fendor has quit [Ping timeout: 276 seconds]
Okinan has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
veske has joined #nixos
rople has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @primeos pushed to master « gns3Packages.{server,gui}Preview: 2.2.0rc4 -> 2.2.0rc5 »: https://git.io/JeqFG
<{^_^}> [nixpkgs] @lheckemann merged pull request #68146 → rstudio: fix build with new hunspell-dicts → https://git.io/fjjOU
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JeqFZ
bahamas has joined #nixos
<{^_^}> [nixpkgs] @manveru opened pull request #68413 → gem-config: fix gpgme → https://git.io/JeqFW
<{^_^}> [nixpkgs] @peterhoeg opened pull request #68414 → libreoffice-fresh: 6.3.0.4 -> 6.3.2.1 → https://git.io/JeqFl
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emptyfl4sk has joined #nixos
bahamas has quit [Ping timeout: 245 seconds]
Ilya_G has quit [Ping timeout: 276 seconds]
knupfer has joined #nixos
vika_nezrimaya has quit [Ping timeout: 240 seconds]
emptyfl4sk has quit [Ping timeout: 246 seconds]
Neo-- has quit [Ping timeout: 250 seconds]
orivej has joined #nixos
__monty__ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 6 commits to master: https://git.io/JeqFD
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.03: https://git.io/JeqFS
zupo has joined #nixos
shibboleth has quit [Remote host closed the connection]
abbiya has quit [Quit: abbiya]
shibboleth has joined #nixos
drakonis has joined #nixos
nobbo[m] has joined #nixos
gmarmstrong has quit [Ping timeout: 268 seconds]
Ilya_G has joined #nixos
<{^_^}> [nixpkgs] @Tomahna reopened pull request #60336 → metals: init at 0.7.2 → https://git.io/fjGLG
<{^_^}> [nixpkgs] @manveru opened pull request #68416 → sup: remove → https://git.io/JeqFj
cfricke has joined #nixos
grumble is now known as \emph{grumble}
arahael3 has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
arahael2 has quit [Ping timeout: 240 seconds]
aswanson has joined #nixos
fendor has joined #nixos
__monty__ has joined #nixos
Ariakenom_ has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
hmpffff has quit [Quit: nchrrrr…]
cfricke has quit [Quit: WeeChat 2.6]
cfricke has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed commit from Eamonn Coughlan to release-19.09 « rstudio: fix build with new hunspell-dicts »: https://git.io/JeqbN
<__monty__> Hmm, overrideAttrs (as: { doCheck = false; }) fails to prevent compiling tasty and hedgehog. Is this because a dependency also wants tests? Can I recursively set `doCheck = false` for a package?
t58 has joined #nixos
<alexarice[m]> __monty__: Is this haskell stuff?
<{^_^}> [nixpkgs] @aanderse opened pull request #68417 → moodle: 3.7.1 -> 3.7.2 → https://git.io/JeqNn
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
<__monty__> alexarice[m]: Yes, trying to do this for top-level attribute `taskell` which is a haskell package.
cfricke has quit [Ping timeout: 244 seconds]
<alexarice[m]> This doesn't answer you question really but there's a function in haskell packages for disabling tests on individual packages
<alexarice[m]> though I think it just does what you've done
npmccallum has joined #nixos
<alexarice[m]> only thing I can think of is build with `--keep-going` and disable tests on things that break
rauno has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @arnarg opened pull request #68418 → dante: add darwin support → https://git.io/JeqNo
bahamas has quit [Ping timeout: 245 seconds]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
Ilya_G has quit [Remote host closed the connection]
Ilya_G has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #68160 → ghq: Migrate to buildGoModule, ensure go 1.13 compatibility → https://git.io/fjjGE
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JeqNF
<__monty__> alexarice[m]: Thing is I don't want to expend the resources trying to even build any tests.
<{^_^}> [nixpkgs] @jtojnar closed pull request #58966 → mikutter: 3.5.14 -> 3.8.6 → https://git.io/fjLLv
<__monty__> This machine is too puny and I don't have enough patience.
<alexarice[m]> __monty__: fair enough, you could try some hacky override all haskell packages to dontCheck
<alexarice[m]> I don't know if there is a proper way
pbb has quit [Client Quit]
johanot has quit [Quit: WeeChat 2.4]
<alexarice[m]> ah that's less hacky than what I was thinking
<alexarice[m]> looks good to me
pbb has joined #nixos
<ddima> manveru: wasm-pack tries to write stuff to $HOME which is verboten (this is easier to fix), but furthermore it also tries to go and download stuff off the web, which is also forbidden, so likely it would require some patching around (or flags I am not aware of) to get it working.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68355 → skydive: remove it from nixpkgs → https://git.io/JeLYD
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeqNp
<ddima> manveru: with nix-shell you could toy around with it a bit more liberally
<__monty__> Hmm, was thinking of a smaller hammer but that'll do : )
<manveru> ddima: jup, i did that all today and yesterday :|
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @nlewo to release-19.09 « skydive: remove it from nixpkgs »: https://git.io/JeqAT
<manveru> ddima: i know the issues it causes, but not how to actually make it see the dependencies
orivej has quit [Ping timeout: 245 seconds]
<manveru> ddima: my last idea would be to somehow wrap the rustc executable and force the `--extern` flags in that way
<ddima> manveru: ahk, I thought you were unsure about the permission denieds etc.
<alexarice[m]> __monty__: I'm not sure if this will stop pulling in test dependencies. I had a similar problem a while back with some test package not building on ghcjs and the only fix was to set the package to null in the override and then disable tests
<manveru> no, i straced it, it tries to find/create the crates.io repo in $HOME
<manveru> just tried to make the example as basic as i could, as none of my attempts have worked so far
<manveru> in the worst case i'll have to just run wasm-pack manually and add the output to the repo...
<manveru> should be platform-independent anyway, right?
<__monty__> infinisil: Hmm, that hammer's *too* big. Now it's trying to build ghc. : s
<infinisil> Huh, I thought I tested that it doesn't do that
orivej has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
<infinisil> No I'm sure, it doesn't do that for me
<infinisil> __monty__: Such an overlay: https://gist.github.com/105c8d1eaca984ff5c69f9bf87d0eb8c with nixpkgs master (bd61f91fd10ee730c66b721876c728e62f23691b), and `nix-build -A haskellPackages.primitive --arg overlays '[ (import ./overlay.nix) ]'` doesn't build GHC
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<__monty__> infinisil: I'm also setting library profiling and maxbuildcores, would that make a difference?
orivej has quit [Ping timeout: 240 seconds]
growpotkin has joined #nixos
<infinisil> Remove them to see :)
<infinisil> I wouldn't think it should, because the ghc build shouldn't be overridden with such an overlay
asymptotically has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ddima> manveru: have you tried using the other path, with rustBuildPackage instead of carnix?
<ddima> manveru: I suspect it might be a bit friendlier because it has all those cargo fixups already in there
<manveru> ddima: this is with crate2nix, as cranix wouldn't even parse my dependencies without crashing
<manveru> i guess i could use rustBuildPackage... but that has issues with reproducibility, afaik
Chiliparrot has joined #nixos
<ddima> manveru: yeah, sorry meant crate2nix.
zupo has joined #nixos
veske2 has joined #nixos
veske has quit [Ping timeout: 245 seconds]
growpotkin has quit [Ping timeout: 240 seconds]
growpotkin has joined #nixos
growpotk- has joined #nixos
ng0 has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg merged pull request #68086 → ktorrent: 5.1.0 -> 5.1.2 → https://git.io/fjh3w
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/Jeqxn
virus_dave has joined #nixos
<__monty__> infinisil: Yeah, with the overlay the set of things to be built is undoubtedly bigger. Didn't see ghc at a glance with just `doCheck = false` but it's still too much building so giving up on taskell again, for now.
<ddima> manveru: dont think Im aware yet of reproducibility issues with buildRustPackage - it should still respect Cargo.lock etc, you might have to generate one first though with the deps from the submodules etc.
drewr has quit [Quit: ERC (IRC client for Emacs 26.3)]
<dhess> What's the "hip" way to convert Python projects (requirements.txt + venv) to Nix these days?
<mdash> dhess: pypi2nix works in many cases
<dhess> It's always been so hit-and-miss for me in the past
<dhess> mdash: cool thanks
<__monty__> I used buildPythonPackages mere hours hence : )
dom` has quit [Ping timeout: 245 seconds]
drewr has joined #nixos
<dhess> __monty__: you mean, just manually creating a derivation from the requirements.txt?
ng0 has quit [Ping timeout: 260 seconds]
<dhess> That's about the only successful way I've done it in the past, and it's fine for projects with not much velocity, but for actively developed projects, I'm looking for something automated.
<__monty__> Oh, the project didn't have one. Now I see the problem.
<dhess> Python packaging is such a disaster.
<dhess> Multiple simultaneous disasters, in fact.
<mdash> dhess: true :(
<__monty__> Yep, and py2 will be sorely missed.
<dhess> __monty__: oh god, that will be the mother of all disasters.
<dhess> there will be so, so many popped boxes because of that decision.
ng0 has joined #nixos
johanot has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fcd7d6ad418 (from 45 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
gentauro has quit [Read error: Connection reset by peer]
iyzsong has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
dom` has joined #nixos
qqlq has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emptyfl4sk has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bd61f91fd10 (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
qqlq has joined #nixos
dom`` has joined #nixos
<Twey> My coworker has discovered that his nix-shell is being pinned to a particular core, meaning that any builds he does in it are effectively single-threaded… is there any way to stop this happening?
<{^_^}> [nixpkgs] @vbgl merged pull request #68025 → ocamlPackages.janeStreet: init at 0.12 (for OCaml ≥ 4.07) → https://git.io/fjhkY
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JeqhL
orivej has joined #nixos
<symphorien> Twey: is is a build at evaluation time because of IFD ?
nspin has joined #nixos
<bahamas> does anyone have a nix setup for django projects? specifically, I'm interested in how to handle non-Python files like templates and static files
dom` has quit [Ping timeout: 276 seconds]
<bahamas> assuming that the python builder doesn't handle them automatically. if it does, should I just put everything in a `src` directory?
<niksnut> Twey: strange, nix-shell is supposed to reset its CPU affinity
<niksnut> you could check whether nix-shell -p hello --run 'taskset -p $$' prints ff
<dom``> also nix-shell -p azure-cli does not work so the nix / nixos / azure story is not great right now
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
growpotk- has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8a30e242181 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<{^_^}> [nixpkgs] @danielfullmer opened pull request #68419 → rtl8812au: fix build with Linux >= 5.2 → https://git.io/JeqhA
<{^_^}> [nixpkgs] @worldofpeace merged pull request #60386 → Update echoip, switch to buildGoModule → https://git.io/fjGRV
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JeqjL
misuzu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/Jeqjq
<{^_^}> [nixpkgs] @peti merged pull request #68362 → ghc: compile with DWARF support by default → https://git.io/Jeq0m
inkbottle has quit [Ping timeout: 244 seconds]
jtojnar has quit [Ping timeout: 268 seconds]
dansho has joined #nixos
<yorick> anyone know anything about buildDunePackage? I have a multiple-package project, but it can't find any of the dependencies of the one I want to build
dasj19 has quit [Quit: dasj19]
jtojnar has joined #nixos
Zer0xp has quit [Ping timeout: 240 seconds]
rudzha has joined #nixos
waleee-cl has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
bahamas has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #68420 → matrix-synapse: fix startup → https://git.io/Jeme1
noudle has quit []
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/09e633d6805 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8a30e242181 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
gspia has quit [Quit: Leaving]
Tucky has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68390 → nixos/gnome3: add gnome-shell xdg portal → https://git.io/Jeqi6
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jemv5
<{^_^}> [nixpkgs] @srhb merged pull request #68413 → gem-config: fix gpgme → https://git.io/JeqFW
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JemvF
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.09 « nixos/gnome3: add gnome-shell xdg portal »: https://git.io/Jemvb
<nspin> yorick: can you describe your problem in more detail?
<arcnmx> Hm, a question about /etc/static... if a corresponding file already exists in /etc/, will it get clobbered on a switch?
<{^_^}> [nixpkgs] @srhb pushed commit from @manveru to release-19.09 « gem-config: fix gpgme »: https://git.io/JemvA
dom`` has quit [Ping timeout: 240 seconds]
hyper_ch2 has quit [Remote host closed the connection]
virus_dave has quit [Quit: virus_dave]
emptyfl4sk has quit [Ping timeout: 246 seconds]
<srhb> arcnmx: Yep.
Mister_Magister has quit [Excess Flood]
Mister_Magister has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @johanot opened pull request #68421 → morph: 1.3.0 -> 1.3.1 → https://git.io/Jemfl
orivej has joined #nixos
<Twey> niksnut: pid 6740's current affinity mask: fff
<yorick> nspin: https://gist.github.com/yorickvP/6a078acf1df739e5a063b24014b5a961 does not build because tezos-data-encoding can't find tezos-stdlib
<Twey> niksnut: He didn't know about -p. Maybe it's just subordinate processes that are being pinned?
Neo-- has joined #nixos
logzet has joined #nixos
logzet has quit [Client Quit]
veske2 has joined #nixos
FRidh2 has quit [Quit: Konversation terminated!]
dom`` has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
virus_dave has joined #nixos
schjetne has quit [Ping timeout: 245 seconds]
Guest24 has joined #nixos
dom`` has quit [Ping timeout: 246 seconds]
dom`` has joined #nixos
dermetfan has quit [Ping timeout: 268 seconds]
<infinisil> __monty__: Ah well yeah, it needs to build a lot of packages because they got changed, the default is doCheck = false
<infinisil> __monty__: But GHC isn't part of it
<infinisil> There isn't anything to say "only don't check when it hasn't been built already"
dom``` has joined #nixos
<{^_^}> nix#2691 (by CMCDragonkai, 28 weeks ago, open): Request for `nix-build` to have a flag that disables the `checkPhase`
<{^_^}> [nixpkgs] @worldofpeace merged pull request #52580 → pythonPackages.connexion → https://git.io/fhvtK
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/JemJO
rudzha has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JemJs
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68420 → matrix-synapse: fix startup → https://git.io/Jeme1
rudzha has joined #nixos
<joko> Hey, I would like to modify a Ruby app (https://github.com/asciidoctor/asciidoctor-reveal.js), is there a tutorial to follow? For what is worth, I have managed to use the upstream gem, but I want to make some changes to its source code before using it
dom`` has quit [Ping timeout: 276 seconds]
rudzha has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @Ma27 to release-19.09 « matrix-synapse: fix startup »: https://git.io/JemJE
<joko> What I've tried so far: bundix -l to generate gemsets.nix, generate a shell.nix file with bundlerEnv, but "bundle exec rake build" inside the shell fails, mentioning "There was an error parsing `Gemfile`: There are no gemspecs at /nix/store/j0jbj8nl07sdimwm9mcn97b6wjiikgqx-gemfile-and-lockfile. Bundler cannot continue."
<manveru> joko: try just `rake build`
emptyfl4sk has joined #nixos
<joko> manveru: same error... One more hint: "Asciidoctor.js 1.5.9 requires an unreleased Opal 0.11.99.dev"
<joko> manveru: btw in https://manveru.dev/blog/show/2019-05-13/en/Ruby-Nix, mkShell should have been pkgs.mkShell :)
hmpffff has joined #nixos
<manveru> oh damn
<manveru> i'll fix that soon, making a new page atm :)
<manveru> can you paste your shell.nix?
<joko> Forgot to mention, I have used bundix 2.4.1, dunno if the new version fixes anything
<{^_^}> [nix] @edolstra pushed 6 commits to flakes: https://git.io/JemJa
<manveru> shouldn't make much difference, but you'll need to inline the `gemspec` call
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #68422 → pythonPackages.pysmt: init at 0.8.0 → https://git.io/JemJw
<joko> manveru: nothing fancy in shell.nix: https://pastebin.com/Xk8rdXZz
emptyfl4sk has quit [Ping timeout: 246 seconds]
<manveru> and replace the `gemspec` call with them
<manveru> i got a bundix v3 in the works that will fix that... but it's pretty low prio atm :|
<{^_^}> [nixpkgs] @0x4A6F opened pull request #68423 → routinator: 0.5.0 -> 0.6.0 → https://git.io/JemJD
Ariakenom_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #68424 → pythonPackages.pefile: init at 2019.4.18 → https://git.io/JemJ9
<nspin> yorick: I think that packaging each tezos-* library individually would fit better with the buildDunePackage infra.
emptyflask has joined #nixos
ardumont has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JemJQ
<joko> manveru: alright, moved them, `rake build` works, but I get no binary... anyway, I think that's because of this particular app, no worries
<joko> and also no worries for v3 :D
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #68425 → pythonPackages.itanium_demangler: init at 1.0 → https://git.io/JemJ7
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JemJF
<manveru> joko: we managed to get ruby.withPackages into 19.09 though :D
<joko> :v:
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #68426 → pythonPackages.ana: init at 0.06 → https://git.io/JemJb
vyorkin` has joined #nixos
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #68428 → pythonPackages.cooldict: init at 1.04 → https://git.io/JemJN
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #68429 → pythonPackages.mulpyplexer: init at 0.08 → https://git.io/JemJp
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<yorick> nspin: hm, trying that, it says builder for '/nix/store/ndaq50did82mrixq3lz5ar23m7cadvgh-ocaml4.07.1-tezos-stdlib-0.0.1.drv' failed to produce output path '/nix/store/flrl8rbg9aipyr3axa1pz6kzpy1130lm-ocaml4.07.1-tezos-stdlib-0.0.1'
<clever> yorick: any messages above that?
<yorick> installing, post-installation fixup, strip is ...
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<clever> yorick: sounds like it just failed to make $out
<yorick> makes sense to me, but the installphase is ${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR and I have no idea what that does
<nspin> yorick: buildDunePackage uses opaline, which is a small utility that installs OCaml packages using OPAM files.
<yorick> okay, but it doesn't install this library
<nspin> The tezos repo doesn't have OPAM files, so opaline is just a no-op.
<yorick> I see
<nspin> IIRC, you can just add empty OPAM files, and opaline work.
bahamas has joined #nixos
<yorick> .. touch src/lib_stdlib/opam?
ardumont has joined #nixos
<yorick> okay
<nspin> At the source root, try, for example` `touch tezos-stdlib.opam`
<nspin> (perhaps as postPatch)
wfranzini has quit [Remote host closed the connection]
<yorick> "Error: Too many opam files for package "tezos-stdlib":"
<nspin> yorick: Can you provide your current tezos.nix file?
erasmas has joined #nixos
v88m has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
Guest24 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Pamplemousse closed pull request #68426 → pythonPackages.ana: init at 0.06 → https://git.io/JemJb
<truby> does anyone know if there's a way to tell clang a specific gcc to use for --gcc-toolchain? i.e. which gcc to get libstdc++ from etc
<alexarice[m]> anyone have any ideas how to debug a hanging build? curl seems to be getting stuck somehow. Trying to install `nixos.nerdfonts`
<clever> alexarice[m]: nerdfonts is huge, check `vnstat -l` and see if its actually just downloading
<srhb> alexarice[m]: Worse, it's served from github iirc? And the download speed of releases of that size is usually horrible.
<alexarice[m]> ah, I am probably just impatient
lostman has joined #nixos
Ilya_G has quit [Remote host closed the connection]
<alexarice[m]> also seems I am unable to read curl output
<alexarice[m]> any workaround for getting it from github?
<lostman> Hi folks. I'm using Nix to build Qemu VMs. Is there a way to somehow get ZFS on those VMs? I want to test some ZFS use cases
<srhb> alexarice[m]: None that I know of..
schjetne has joined #nixos
rembo10 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<alexarice[m]> `vnstat` definitely thinks I'm downloading something, thanks for the help
<alexarice[m]> clever++ srhb++
<{^_^}> clever's karma got increased to 199, srhb's karma got increased to 75
Ilya_G has joined #nixos
<clever> alexarice[m]: you can also use `iftop` (it needs root) to see exactly which host is doing the traffic
veske2 has quit [Ping timeout: 245 seconds]
<alexarice[m]> I think I was more confused as my nix doesn't seem to be showing the curl output very well
rembo10 has joined #nixos
Ilya_G has quit [Ping timeout: 245 seconds]
<nspin> yorick: My bad, there are OPAM files in the tezos repo. However, after a look a the opaline source, it seems that the tezos repo layout isn't handled correctly by opaline.
Izorkin has joined #nixos
<nspin> In particular, opaline looks for .install files only in CWD: https://github.com/jaapb/opaline/blob/d5f55915ac514c9fd615348c53aa4dcaf849085e/opaline.ml#L163
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #68430 → pythonPackages.z3-solver: init at 4.8.5.0 → https://git.io/JemTY
<yorick> nspin: does the tezos repo have .install files?
<nspin> Those are generated by dune. You can see the state of the build at the point where it fails (in this case, at the very end) with the -K parameter to nix-build
<yorick> okay, great! :)
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @furrycatherder opened pull request #68431 → nixos/dnsmasq: add an option to log DNS queries → https://git.io/JemTC
<yorick> nspin: yes! that built stdlib, thanks!
<{^_^}> [nixpkgs] @AmineChikhaoui opened pull request #68432 → Ktorrent: cherry-pick 5.1.0 -> 5.1.2 update to 19.09 → https://git.io/JemTB
emptyfl4sk has quit [Ping timeout: 246 seconds]
init_6 has quit [Ping timeout: 240 seconds]
<nspin> yorick: It appears that `ln -s src/lib_stdlib/{*.opam,*.install} ` in preInstall does th trick.
<nspin> Great!
<judson_> I'm trying to write a module that piggybacks on another.
<judson_> I've got two expressions like:
<yorick> nspin: okay, now it can't find vendored dependencies
<judson_> optionsl.taskserverAcme = (builtins.removeAttrs opts.services.taskserver [...]) // {...};
<judson_> and
<clever> judson_: i think you want to use mkMerge, not //
dom``` has quit [Ping timeout: 246 seconds]
<clever> judson_: mkMerge takes a list of sets
<judson_> services.taskserver = getAttrs (subtractLists ["_definedNames"] (attrNames opts.services.taskserver)) cfg;
<judson_> mkMerge in the options?
<judson_> I can see mkMerge for the cfg
<clever> ah, not sure thats an option for options
<judson_> And I'm almost sure I'm okay with a shallow merge here.
bahamas has quit [Ping timeout: 246 seconds]
<nspin> yorick: The number of vendored deps weakens my suggestion to build each library (including the vendored ones) separately.
<judson_> But what I'm getting is The option `taskserverAcme.email' is used but not defined.
<judson_> But email is an explicit option definition.
<yorick> nspin: yeah, but I don't quite understand why it can't find any dependencies in the same project
<nspin> However, if you choose to build everything as a single derivation, you'll have to venture into the buildDunePackage/findlib infra.
dom``` has joined #nixos
<nspin> I don't either, but I'm not very familiar with OCaml in Nixpkgs.
<alexarice[m]> clever: was 2GB in the end, hope it doesn't rebuild on every update
<{^_^}> [nixpkgs] @gebner opened pull request #68433 → pythonPackages.pivy: fix build → https://git.io/JemT6
<evanjs> So I know it came up the other day, but is the weechat service sort of borked? I followed the instructions to modify screenrc, but still get "Access to session denied"
<yorick> nspin: thanks for your help!
<{^_^}> [nixpkgs] @gebner merged pull request #68433 → pythonPackages.pivy: fix build → https://git.io/JemT6
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JemTP
<Twey> niksnut: I managed to replicate his problem with this shell.nix: `nix-shell --run 'taskset -p $$'`
<Twey> On unstable
<{^_^}> [nixpkgs] @gebner pushed to release-19.09 « pythonPackages.pivy: fix build »: https://git.io/JemTX
<Twey> Seems to be related somehow to the nix-gitignore. If you set src = ./.; it stops happening
<nspin> yorick: No problem! Good luck. Parting note: the '-p' flag may have to do with dune not finding local deps.
orivej has quit [Ping timeout: 245 seconds]
Ariakenom has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @d-goldin opened pull request #68434 → qtwebkit: fixing build / reducing build log size → https://git.io/JemTF
knupfer has joined #nixos
virus_dave has quit [Remote host closed the connection]
<judson_> clever, I'm trying mkMerge anyway on options, and get value is a string while a set was expected, at <19.03>/lib/modules.nix:219:25
<clever> yeah, sounds like it wont work
drakonis has quit [Ping timeout: 276 seconds]
virus_dave has joined #nixos
seekerus3r[m] has joined #nixos
pro-src has left #nixos [#nixos]
misuzu has joined #nixos
<srhb> alexarice[m]: I keep a gc root around for the source just in case :)
Ilya_G has joined #nixos
<alexarice[m]> srhb: Is it usual to need to reboot after redoing fonts, I've messed them up pretty bad
<srhb> alexarice[m]: I couldn't say, I don't tend to mess with them a lot. I imagine rebooting would always be overkill however.
<evanjs> Hrm. Are there any guidelines for contributing to Nix documentation? e.g. What items can/should be documented? I added a module to hardware but I do not see any xml files in hardware, so is there a better place for it/does hardware documentation belong in the manual?
<srhb> (Even if it's probably easier than the minimal fix)
<evanjs> Questions like that
<alexarice[m]> I just deleted a load that I had randomly put on when I first installed but it appears some of those were definitely in use
<alexarice[m]> ah turns out `source code pro for powerline` is not part of `source code pro`
<{^_^}> [nixpkgs] @d-goldin closed pull request #68370 → hadoop: fixing builds → https://git.io/Jeqw4
<evanjs> alexarice[m]: weird. unless I'm looking at the expression wrong, it looks like extracts all fonts in the repo?
<evanjs> Wait ohhh
<evanjs> You mean just source code pro
<evanjs> Which is a part of _powerline_, but not the other way around?
MmeQuignon has joined #nixos
<alexarice[m]> I don't know I uninstalled the `powerline-fonts` package and `source code pro for powerline` seemed to leave with it
<evanjs> Right, as powerline-fonts includes source code pro, I'd assume that's what it removed
emptyfl4sk has joined #nixos
dsx has quit [Quit: reboot]
<{^_^}> [nixpkgs] @jtojnar merged pull request #68402 → wrapGAppsHook: add wrapGApp helper → https://git.io/Jeqyg
<{^_^}> [nixpkgs] @jtojnar pushed 6 commits to staging: https://git.io/JemkB
noudle has joined #nixos
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/dcdc95ce4d9 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<evanjs> Shorter question: Is there a place for hardware module documentation in any of the manuals right now? Or just services, etc?
fendor has quit [Ping timeout: 246 seconds]
emptyfl4sk has quit [Ping timeout: 246 seconds]
schjetne has quit [Ping timeout: 245 seconds]
<judson_> So, is there a way to reuse the options from another module?
<judson_> Is this just not something anyone has done?
<dom```> I am on a system where I don't have root privileges so I have used https://nixos.wiki/wiki/Nix_Installation_Guide#PRoot
<evanjs> clever: So there's a section dedicated to _quirks_. What about, say, nixpkgs/nixos/modules/hardware?
vyorkin` has quit [Remote host closed the connection]
<dom```> But I am also behind a proxy - is there some way of telling nix to use a different port
<dom```> ?
<symphorien> you can try proxychains
pikajude has joined #nixos
* dom``` has never heard of proxychains
<clever> judson_: some modules in nixpkgs, put the options into a dedicated nix file, then import it in several places
<judson_> clever, in this case I'm trying to extend a module from nixpkgs in my own config.
<clever> judson_: ah, not sure then
<judson_> There's a thing I'm finding that I do quite a lot, which is build "behavior" modules out of others.
<judson_> In this case it's a little tweak on taskserver, but it requires acme and httpd (or whatever webserver) so I'm not sure if it would suit nixpkgs.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<judson_> I've been advised to look at NUR to distribute these, and I'm considering it.
<judson_> I might just copy and paste...
<judson_> But it seems like mkOption (or the options parameter to moduleEval) does something with the options set...
<hpfr[m]> How is regular libreoffice not in the cache? My laptop is trying to build it right now :(
<srhb> hpfr[m]: Which channel?
<__monty__> hpfr[m]: I've seen this happen before. Probably because it's huge and would unnecessarily hold up channels.
<dom```> symphorien: I am slightly confused: it seems I can nix-env -i and stuff gets installed but I can't do nix-shell
<hpfr[m]> Home manager, updated a few days ago
<srhb> hpfr[m]: I mean which nixpkgs channel
jgeerds has joined #nixos
wildtrees has joined #nixos
<srhb> hpfr[m]: The big (nixos-, not small) ones should only lack libreoffice if it's actually broken, in which case building it locally won't help you.
<srhb> Unless a transient error occurred.
<symphorien> dom```: what happens when you nix-shell ?
<hpfr[m]> Nixos unstable, updated a few days ago
<symphorien> (and by the way, don't use nix-env -i without -A)
orivej has joined #nixos
<hpfr[m]> But via home manager’s channel
<hpfr[m]> srhb:
<dom```> symphorien: warning: unable to download ’https://cache.nixos.org/9pifap75pkb9ifmdqh0irn8wgc3q38s6.narinfo': SSL connect error (35); retrying in 349 ms
emptyflask has quit [Ping timeout: 245 seconds]
<__monty__> hpfr[m]: That's impossible though. The HM channel only has HM. It still uses your nixpkgs channel (usually) to get packages.
<hpfr[m]> Oh, that makes sense
<dom```> symphorien: I can nix-env -i emacs but not nix-shell -p emacs
<clever> ,-A dom```
<{^_^}> dom```: You'll usually want to use nix-env -i with -A. It's faster and more precise. See https://nixos.wiki/wiki/FAQ/nix-env_-iA for details.
<hpfr[m]> In that case, my system Nix channel is nixos unstable, updated a few days ago
<hpfr[m]> And it’s trying to build libreoffice
<symphorien> dom```: nix uses libcurl, so maybe it honors the https_proxy env variable ?
<symphorien> proxychains is more a hack than a real solution
<srhb> hpfr[m]: Please fun `nix-shell -p nix-info --run nix-info` so we can see the git revision
<srhb> er, run.
<srhb> Oh, does that even work with channels..
<srhb> I can never remember :-)
<clever> srhb: it reports the status of every channel
<srhb> I guess nix eval nixpkgs.lib.version should always work?
<clever> that would report only 1 channel
<dom```> symphorien: so nix-shell doesn't honour the https_proxy env var?
<srhb> I assume we only care about nixpkgs in this case..
<symphorien> I was just suggesting you could try
<clever> dom```: if nix-daemon is in use, then its nix-daemon's env vars that matter
<symphorien> clever: this is a single user install withing proot
<symphorien> *within
<hpfr[m]> srhb: Channels(root): “nixos-19.09pre191617.4e60699fa72”, channels(hpfr): “home-manager”
<clever> symphorien: then it should respect that env var
<waleee-cl> Noticed for the first time an expression with a list of urls to fetch the sources from. Is one of them chosen randomly?
<clever> waleee-cl: i believe it just tries them in order, until one works
<waleee-cl> clever: ok
<srhb> hpfr[m]: That's the corresponding Hydra build..
o1lo01ol1o has quit [Remote host closed the connection]
<srhb> hpfr[m]: Which looks good to me. Might you have an overlay interfering with a dependency or something like that? You can check if your output hash matches the one on Hydra
<hpfr[m]> srhb: So it should be getting from cache then
Myhlamaeus1 has joined #nixos
zupo has joined #nixos
<srhb> hpfr[m]: Yes, I can do the following: nix-store --realise /nix/store/k8mgdibpysm6cgy0rbny0n4ibbh9nh26-libreoffice-6.2.6.2
dsx has joined #nixos
<hpfr[m]> srhb: I have overlays for my kernel and keepassxc so I doubt it
<srhb> hpfr[m]: What does `nix eval nixpkgs.libreoffice.outPath` say?
<hpfr[m]> How can I check the output hash
<hpfr[m]> hash starts with kp4cpm hmmm
<srhb> hpfr[m]: at that point you may want to use nix-diff to compare your libreoffice drv with a known-clean one.
<{^_^}> [nixpkgs] @peti pushed to master « python-blessed: apply upstream patches to fix the test suite »: https://git.io/JemIJ
<{^_^}> [nixpkgs] @averelld opened pull request #68435 → nextcloud: fix deprecation warning → https://git.io/JemIU
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JemIq
<{^_^}> [nixpkgs] @jtojnar merged pull request #68416 → sup: remove → https://git.io/JeqFj
<{^_^}> [nixpkgs] @jtojnar pushed commit from @manveru to release-19.09 « sup: remove »: https://git.io/JemIO
evilmonads has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @peti opened pull request #68436 → pythonPackages.pytest: Revert "4.6.5 -> 5.1.0 in case of Python 3" → https://git.io/JemIZ
aiowej has joined #nixos
emptyfl4sk has joined #nixos
<aiowej> Hi. A year ago when I last touched my nix machine, I ran a program with nix-shell -p. Since then a new version of the program came out, which is in the nixpkgs github page, and is now using python3. When I run `nix-env -u` followed by `nix-shell -p my-program`, I still get the old version. How can I flush the old one out of my system, and only run the latest version? Many thanks
logzet has joined #nixos
logzet has quit [Client Quit]
cdepillabout has joined #nixos
<clever> aiowej: `nix-env -u` will only update things installed by `nix-env -i`, and only to the latest version in your current channel
<clever> aiowej: you first need to `nix-channel --update` to download the new package list, and probably dont need `nix-env -u`
bahamas has joined #nixos
dom``` has quit [Ping timeout: 240 seconds]
dom``` has joined #nixos
Myhlamaeus1 has quit [Remote host closed the connection]
<srhb> hpfr[m]: Well.. Now you've managed to get me worried. :-)
<srhb> I see two distinctly different libreoffice drvs producing the same output..
<evanjs> Okay, trying it out a bit, it looks like if I just put the <hardware-module>.xml file next to the nix expression, assign it via meta.doc, and build the documentation, it'll simply place it between Input Methods and Profiles. Not sure if that's random or where hardware stuff goes but *shrugs*
<evanjs> (If there were any docs in <nixpkgs/nixos/modules/hardware> I'd use those as reference
dom``` is now known as cinimod
orivej has quit [Ping timeout: 240 seconds]
dermetfan has joined #nixos
<niksnut> Twey: right, that does an import-from-derivation so it will be bound to a single CPU
<aiowej> clever: Thanks for replying. It doesn't really change anything - running `nix-channel --update` only prints "unpacking channels..." and exits. I assume it's because nix-channel --list shows no entries. So I did `nix-channel --add https://nixos.org/channels/nixos-19.03 nixos`, and am now running `sudo nixos-rebuild switch`. Doing so ironically tells me to run `nixos-rebuild` - it tells me "error: evaluation aborted with the following
<aiowej> error message: ' This version of Nixpkgs requires Nix >= 2.0, please upgrade:", followed by instructions to run `nixos-rebuild`. How can one get out of this trap?
<clever> aiowej: you want to do the --update as root, not add another channel to non-root
_ris has joined #nixos
ixxie has joined #nixos
<aiowej> clever: Thanks again for replying. `sudo nix-channel --list` shows the added entry. `sudo nix-channel --update` shows "downloading Nix expressions from 'https://releases.nixos.org/nixos/19.03/....."; and another line about downloading, and then "unpacking channels...". Thereafter running `sudo nixos-rebuild switch` gives the same error about evaluation failing with the message "This version of Nixpkgs requires Nix >= 2.0, please
<aiowej> upgrade:"
<clever> aiowej: one min
<clever> > "${unstable.nix}"
<{^_^}> "/nix/store/g6sdlmldqzsr3rhxsdw98ahakl3hg471-nix-2.3"
<aiowej> nix-env --version shows "nix-env (Nix) 1.11.14"
<clever> aiowej: do: `sudo -i`, then nix-store -r /nix/store/g6sdlmldqzsr3rhxsdw98ahakl3hg471-nix-2.3 ; PATH=/nix/store/g6sdlmldqzsr3rhxsdw98ahakl3hg471-nix-2.3/bin:$PATH nixos-rebuild boot --fast
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #68438 → conftest: 0.7.0 -> 0.12.0 → https://git.io/JemIM
<aiowej> Will that install unstable nixos? I'd prefer the stable kind - as I'm obviously not savvy enough to wing this
<aiowej> clever:
<clever> aiowej: it will install whatever version your channel is pointing to
<aiowej> Thank you
<evanjs> Okay, so better question. Rather than document how to get OpenRazer working on i3, I've noticed some services just _turn DBUS on_. If OpenRazer requires the socketActivated option on some wms, might it be appropriate to just enable the option when the openrazer hardware module is enabled?
<tokudan[m]> trying to install NixOS on a Dell XPS 13 9380 from a usb stick: I'm unable to boot the installation. i get about a second of blinking led on the usb stick, then it stops and no message on the screen. usb stick made using dd if=nixos-graphical-19.03.173476.09e633d6805-x86_64-linux.iso of=/dev/sdb bs=4096.
<__monty__> Hmm, having trouble with a python package: "Could not find a version that satisfies the requirement dbus-python>=1.1" but the dbus-python in nixpkgs is 1.2.4, surely that's >=1.1?
<digitalgrease> __monty__: is it being called with the right version of python/pip
<__monty__> digitalgrease: I'm not sure, tried both pythonPackages and python3Packages. Afaik it should be compatible with either.
zupo has joined #nixos
Raylier has joined #nixos
<aiowej> clever: Thank you for replying again. It still is failing, after running the two first commands you sent I ran the third, `nixos-rebuild boot --fast`. Then I got a hellofalong error about failing to evaluate fold something. For debugging I published the full error at https://pastebin.com/DNXEuP4s.
dermetfan has quit [Ping timeout: 244 seconds]
cdepillabout has quit [Ping timeout: 250 seconds]
<clever> aiowej: try: _NIXOS_REBUILD_REEXEC=1 PATH=/nix/store/g6sdlmldqzsr3rhxsdw98ahakl3hg471-nix-2.3/bin:$PATH nixos-rebuild boot --fast
anton has quit [Quit: The Lounge - https://thelounge.chat]
anton has joined #nixos
<aiowej> clever: with the underscore?
<clever> aiowej: yes
<aiowej> clever: getting a similar error
<clever> aiowej: can you pastebin it?
<{^_^}> [nixpkgs] @mmahut merged pull request #68421 → morph: 1.3.0 -> 1.3.1 → https://git.io/Jemfl
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JemLJ
xdccMule[8012RZ] has joined #nixos
<xdccMule[8012RZ]> Ciao belli
<clever> aiowej: thats odd, try /nix/store/g6sdlmldqzsr3rhxsdw98ahakl3hg471-nix-2.3/bin/nix-build '<nixos/nixos>' -A system && ./result/bin/switch-to-configuration boot
<{^_^}> [nixpkgs] @mmahut opened pull request #68439 → morph: 1.3.0 -> 1.3.1 → https://git.io/JemLU
<srhb> aiowej: You can also go through 18.09 first to get rid of that problem, iirc.
bahamas has quit [Read error: Connection reset by peer]
zacts has joined #nixos
<zacts> is 19.09 to be released this month
<srhb> zacts: Probably within approximately a month, no hard deadline.
<srhb> zacts: Think of the 09 as "the branchoff happens in september" :)
<srhb> (Which it has)
<zacts> ah ok
<zacts> how will I upgrade from 19.03?
<zacts> in configuration.nix
<zacts> do I just bump the listed version?
<clever> zacts: you add the new channel with nix-channel --add, as root
<zacts> oh
<srhb> zacts: The manual contains upgrade information, and there will be release notes that you should read.
<clever> zacts: dont touch stateVersion
<zacts> ok
<zacts> oh
cinimod has quit [Ping timeout: 276 seconds]
xdccMule[8012RZ] has quit [Quit: mIRC xdccMule v0.2.8.6 (0.7.5.4) [4] URL: http://xdccmule.org]
<zacts> so follow the upgrade guide
<srhb> zacts: The announcement on nixos.org is likely to contain a link, like it does right now for 19.03 :)
<aiowej> srhb: maybe that would have been a better idea... I'm totally lost about all this.
<zacts> so I do Not want to just do; s/system.stateVersion = 19.03/system.stateVersion = 19.09/ and then nixos-rebuild switch --upgrade
<zacts> it's more involved than that
ixxie has quit [Ping timeout: 244 seconds]
<srhb> zacts: Don't touch stateVersion ever. :P
<zacts> Ok :-)
<aiowej> clever: it printed a lot - building a lot of packages. Ending in "Installation finished. No error reported." so that's nice. Are there now any further steps to take to be on the lastest version of Nix, or am I now on the very edge of stable?
<zacts> hm... I wonder if I can try and test out 19.09 now before it's released
<srhb> zacts: You absolutely can. No warranty though :)
<zacts> well, if I encounter issues I can just rollback right?
<srhb> zacts: Sure, unless we broke something that breaks something for you permanently.
<zacts> oh
<srhb> Probably not, but that's testing for you :-P
<zacts> well, this isn't a crucial server. I'll just make backups.
<srhb> That sounds sensible ;-)
<clever> aiowej: you then need to reboot
<aiowej> clever: Thank you. Running `nix upgrade-nix` should not do it?
<aiowej> clever: the `nix` command is now available, unlike before
<clever> aiowej: the switch-to-configuration already changed the version of nix
<aiowej> clever: Ok. I'll reboot the computer. Cross your fingers! Thanks for helping me out
<clever> yep
<__monty__> clever: Does this mean the mac os code is missing removal of the route? http://ix.io/1UKS
<{^_^}> [nixpkgs] @gnidorah opened pull request #68440 → openxray: init at 421 → https://git.io/JemLC
<clever> __monty__: toxvpn doesnt remove the routes when a friend goes offline, but still tries to re-add them when they come back online
orivej has joined #nixos
<clever> __monty__: should be safe to ignore
<__monty__> clever: Sure but I didn't notice this on linux so far. Is it quieted there?
<clever> __monty__: i think so
shibboleth has quit [Quit: shibboleth]
<__monty__> I'll put it on the todo list : )
<{^_^}> [nixpkgs] @jonringer opened pull request #68441 → nixos/nextcloud: fix postgresql/redis test → https://git.io/JemLE
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #68442 → openjdk8: use lndir instead of single symlink to JRE → https://git.io/JemLg
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/31c575190c0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
dermetfan has joined #nixos
<aiowej> clever: when I now run my program, it is in the correct version. Thank you a _lot_ for helping me out! Nix is awesome albeit a bit jarring
cartwright has quit [Remote host closed the connection]
cartwright has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<pikajude> i know this is a dumb question, but how do i add a specific rev from the nixpkgs-channels repo as a channel?
Myhlamaeus1 has joined #nixos
<clever> pikajude: does it need to be available to nix-env, or other nix tools?
Neo-- has quit [Ping timeout: 250 seconds]
<pikajude> nix-shell and so on
<clever> pikajude: just add it to NIX_PATH
<pikajude> yeah
<pikajude> that's what I was doing, using NIX_PATH with my checkout
<clever> something=https://github.com/nixos/nixpkgs/archive/gitrev.tar.gz
<pikajude> but on this machine i basically never need to use master
<pikajude> i guess i can just use nixpkgs-unstable and have done with it
Raylier has quit [Ping timeout: 246 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
endformationage has joined #nixos
pikajude has quit [Quit: Leaving]
pikajude has joined #nixos
aiowej has quit [Ping timeout: 245 seconds]
dasj19 has joined #nixos
ThatDocsLady_ has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @d-goldin closed pull request #68382 → openjdk8: replacing jre symlinking with copy → https://git.io/JeqKF
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #66500 → warzone: 3.2.3 -> 3.3.0 → https://git.io/fj5v3
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/Jemte
jlv has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #68443 → ibus-engines.mozc: fix build → https://git.io/Jemtf
mawis has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @zimbatm opened pull request #68444 → repmgr: init at 4.4.0 → https://git.io/JemtU
<jlv> Anyone here with vim plugins experience? I've been stuck trying to get deoplete-dictionary added for a while. It looks like it cannot find some source files from deoplete. Adding deoplete as a dependency just causes more errors.
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @zimbatm merged pull request #68444 → repmgr: init at 4.4.0 → https://git.io/JemtU
<{^_^}> [nixpkgs] @zimbatm pushed to master « repmgr: init at 4.4.0 (#68444) »: https://git.io/Jemtk
<{^_^}> [nixpkgs] @ivan opened pull request #68445 → [19.09] ibus-engines.mozc: fix build → https://git.io/JemtI
<jlv> As far as I can tell, the deoplete-dictionary directory is supposed to be merged with deoplete-nvim, and only the deoplete-nvim plugin is loaded, which will then find the new source added to its directory by deoplete-dictionary, but we can't really do that in nix.
evanjs has joined #nixos
o1lo01ol1o has joined #nixos
asymptotically has quit [Remote host closed the connection]
asymptotically has joined #nixos
civodul has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jtojnar opened pull request #68446 → gnome-multi-writer: init at 3.32.1 → https://git.io/JemtG
emptyfl4sk has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @andir pushed 35 commits to staging-19.03: https://git.io/JemtZ
ixxie has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @averelld opened pull request #68447 → tensorflow-tensorboard: fix build → https://git.io/Jemtg
<{^_^}> [nixpkgs] @andir opened pull request #68448 → openssl: 1.1.1c -> 1.1.1d, openssl_1_0_2: 1.0.2s -> 1.0.2t (low severity security) → https://git.io/Jemta
<{^_^}> [nixpkgs] @andir opened pull request #68449 → [19.03] openssl_1_1: 1.1.1c -> 1.1.1d, openssl: 1.0.2s -> 1.0.2t (low severity security) → https://git.io/JemtV
<{^_^}> [nixpkgs] @andir opened pull request #68450 → [19.09] openssl: 1.1.1c -> 1.1.1d, openssl_1_0_2: 1.0.2s -> 1.0.2t (low severity security) → https://git.io/Jemtw
fendor has joined #nixos
o1lo01ol1o has joined #nixos
zupo has joined #nixos
freeman42[NixOS] has joined #nixos
cdepillabout has joined #nixos
fendor has quit [Ping timeout: 240 seconds]
freeman42[NixOS] has quit [Client Quit]
fendor has joined #nixos
psyanticy has quit [Quit: Connection closed for inactivity]
klntsky has quit [Remote host closed the connection]
<__monty__> Is there a way to make specific builds only run on a remote build host?
klntsky has joined #nixos
pittma has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<symphorien> It's called requiredSystemFeatures
fendor_ has joined #nixos
emptyfl4sk has joined #nixos
Ilya_G has quit [Remote host closed the connection]
Ilya_G has joined #nixos
<symphorien> jlv: maybe make a deoplete-with-dictionnary plugin with symlinkJoin
<__monty__> symphorien: I can just make up features?
<symphorien> Yes, they are just strings
<__monty__> Ah, great, thanks!
<symphorien> A few are "reserved" by nix (kvm) or nixpkgs (big-parallel) but otherwise you are free
<__monty__> Hmm, how are the features of the host you're starting the build on determined?
<symphorien> nix.conf
nhill has joined #nixos
<nhill> So, how would I change the config to have mpd service run under my username?
Ilya_G has quit [Ping timeout: 246 seconds]
Ilya_G has joined #nixos
virus_dave has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #68451 → cue: 0.0.3 -> 0.0.9 → https://git.io/Jemq3
o1lo01ol1o has joined #nixos
<nhill> If I put `user "nhill"` in extraConfig for mpd it complains that it's defined twice
<nhill> So I can't see where it's setting the user as `mpd` and how I would change that
<symphorien> Maybe the module changed between your nixpkgs revision and master
<nhill> symphorien: you talking to me?
<symphorien> Yes
<nhill> don't understand what you're going for
<nhill> I updated channels
<symphorien> Run nixos-version please
<nhill> 18.09.2574.a7e559a5504 (Jellyfish)
<nhill> Haven't updated yet. The problem is pulseaudio is running as my local user, but when mpd wants to output audio it fires up another pulseaudio under the mpd user
<nhill> So I have two pulseaudio daemons competing for the sound card.
<nhill> I just want to change the user of the mpd service to my local user
<symphorien> ah you are not looking at the right file
wfranzini has quit [Remote host closed the connection]
<nhill> I'm imagining it's got to just be a simple config option
<nhill> so I already tried that blindly and the build fails
<nhill> woops
<nhill> Sep 10 15:05:28 plexus mpd[29728]: exception: Letter expected
<jlv> How should I add an overlay to add or change a nested package? Such as vimPlugins, which is a set of packages instead of a package itself.
<symphorien> nhill: I don't know anything about mpd, but it looks like a syntax error in the configuration file ?
<symphorien> you can check with `systemctl cat mdp.service`, this will print the store path of the configuration file
<clever> nhill: read /etc/systemd/{system,user}/mpd.service and see what the cfg file says?
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/Jemq0
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to release-19.09: https://git.io/JemqE
<{^_^}> [nixpkgs] @FRidh closed pull request #68436 → pythonPackages.pytest: Revert "4.6.5 -> 5.1.0 in case of Python 3" → https://git.io/JemIZ
o1lo01ol1o has quit [Remote host closed the connection]
markus1189 has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
o1lo01ol1o has joined #nixos
<nhill> clever: I see `User=nhill` at the bottom... which looks fine but it won't start
<__monty__> infinisil: Can I use your overlay to assign a requiredSystemFeature to all haskell packages?
<{^_^}> [nixpkgs] @FRidh opened pull request #68452 → python.pkgs.wheelUnpackHook: propagate wheel → https://git.io/JemqV
<clever> nhill: look for ExecStart and read that
<symphorien> __monty__: unfortunately setting requiredSystemFeature changes the hash, so you must rebuild
<{^_^}> [nixpkgs] @FRidh closed pull request #68447 → tensorflow-tensorboard: fix build → https://git.io/Jemtg
dasj19 has quit [Quit: dasj19]
Ilya_G has quit [Remote host closed the connection]
<__monty__> symphorien: Yeah that sucks. But since I'm on a 32bit host I don't seem to have an alternative.
Ilya_G has joined #nixos
shibboleth has joined #nixos
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
<nhill> clever: Progress! I get a new error now:
<nhill> Sep 10 15:15:54 plexus mpd[14659]: fatal_error: Failed to set group 17: Operation not permitted
<{^_^}> [nixpkgs] @FRidh merged pull request #68432 → Ktorrent: cherry-pick 5.1.0 -> 5.1.2 update to 19.09 → https://git.io/JemTB
<{^_^}> [nixpkgs] @FRidh pushed commit from @alapshin to release-19.09 « ktorrent: 5.1.0 -> 5.1.2 »: https://git.io/JemqP
o1lo01ol1o has quit [Remote host closed the connection]
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<{^_^}> [nixpkgs] @FRidh pushed commit from @lopsided98 to master « openjdk8: use lndir instead of single symlink to JRE »: https://git.io/Jemq9
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « Revert "python.pkgs.blessed: disable failing test" »: https://git.io/JemqH
Ilya_G has quit [Ping timeout: 276 seconds]
wfranzini has joined #nixos
markus1189 has joined #nixos
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
<nhill> clever: So, when I set the user to "nhill" it somehow doesn't have permissions to set the group to "mpd"
<{^_^}> [nixpkgs] @FRidh merged pull request #68452 → python.pkgs.wheelUnpackHook: propagate wheel → https://git.io/JemqV
<{^_^}> [nixpkgs] @FRidh pushed to master « python.pkgs.wheelUnpackHook: propagate wheel »: https://git.io/JemqN
<{^_^}> [nixpkgs] @FRidh pushed to release-19.09 « python.pkgs.wheelUnpackHook: propagate wheel »: https://git.io/Jemqp
fragamus has joined #nixos
fendor_ has quit [Remote host closed the connection]
cinimod has joined #nixos
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixos-homepage] @d-goldin opened pull request #304 → hydra doc: fetching from latest successful job → https://git.io/Jemqj
<{^_^}> [nixpkgs] @nlewo opened pull request #68453 → Add the browser `next` → https://git.io/Jemmv
cinimod has quit [Ping timeout: 240 seconds]
<symphorien> nhill: you must add nhill to the mpd group
veleiro has joined #nixos
veleiro has quit [Client Quit]
<nhill> symphorien: I'm in "audio" and "mpd" groups
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
hmpffff has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
cdepillabout has quit [Quit: Leaving]
hmpffff has quit [Client Quit]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
fusion809 has quit [Remote host closed the connection]
<__monty__> Could use some help getting this python package to build: error http://ix.io/1ULn default.nix http://ix.io/1ULo
<nhill> clever: where can I find pulseaudio settings? I'll try running pulse with it's own user
v88m has joined #nixos
asymmetric has joined #nixos
<asymmetric> I’m having an issue where the window manager fails to load
<asymmetric> Upon login I get thrown into a bare graphical environment, with no windows, just a tiny terminal
<clever> nhill: that tends to have its own issues, which includes a lack of plugin support
<asymmetric> Does anyone know how to debut this?
<clever> asymmetric: you have the xterm desktop manager enabled
<nhill> clever: So, any ideas? This is really frustrating, because it should be so simple
fendor has joined #nixos
v88m has quit [Ping timeout: 245 seconds]
<asymmetric> clever: not in my configuration.nix though. I’ve enabled xfce and i3 there. That’s what’s confusing
<clever> asymmetric: its enabled by default
<clever> asymmetric: you need to set its enable to false
o1lo01ol1o has quit [Remote host closed the connection]
v88m has joined #nixos
abrar has joined #nixos
<asymmetric> clever: you were right! Do you know why it needs to be explicitly disabled, rather than just left out?
<asymmetric> clever++
<{^_^}> clever's karma got increased to 200
<clever> asymmetric: non-determinism in your filesystem
<asymmetric> Interesting. Know which file I should look at?
<clever> asymmetric: the display manager will list the contents of the dir, that has the enabled desktop managers
<clever> asymmetric: and it doesnt sort that dir listing
<clever> so the "default" varies from machine to machine, when you have multiple enabled
<clever> asymmetric: most display managers also give you a choice when you login, to pick which one you want
<asymmetric> Yeah, but the choice is ignored
<asymmetric> Now I can only boot xfce, even when I choose i3
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @ivan opened pull request #68454 → chromium: 76.0.3809.132 -> 77.0.3865.75 → https://git.io/Jemmz
Ilya_G has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #68455 → git-lfs: 2.7.2 -> 2.8.0, ensure go 1.13 compatibility → https://git.io/JemmV
fendor_ has joined #nixos
<nhill> this is when NixOS gets mega annoying compared to any other distro
<nhill> Can't even set uid/gid of a process
<clever> nhill: just set the .User of a systemd service
<nhill> clever: That's what it spits out, it just fails on startup
<nhill> clever: I get User=nhill in the service config
<clever> nhill: what exactly is mpd doing when it fails?
<clever> nhill: what is the config file for it saying to do?
fendor has quit [Ping timeout: 246 seconds]
<nhill> Sep 10 16:01:53 plexus systemd[1]: Starting Music Player Daemon...
<nhill> Sep 10 16:01:53 plexus mpd[16923]: fatal_error: Failed to set group 50: Operation not permitted
<clever> nhill: that implies that it must be ran as root
<nhill> Literally the only difference in the system config is "User=nhill"
<clever> and its trying to setup its own permissions
fragamus has joined #nixos
<clever> mpd is responsible for changing its own uid, after startup
<clever> but you didnt give it root, so it cant
lostman has quit [Quit: Connection closed for inactivity]
<nhill> clever: Okay, so how am I supposed to set the uid? Why is the config optoin there if it doesn't work
<clever> nhill: where do you see that config option? what exactly did you put into your configuration.nix?
<nhill> services.mpd = { user = "nhill" };
<nhill> and user nhill is in the mpd group
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « libipt: init at 2.0.1 »: https://git.io/Jemm9
<nhill> clever: So, I understand what you're telling me. But if that's true, then the "user" option is pointless
ng0 has joined #nixos
<clever> nhill: services.mpd.user will be written to the user field in mpd.conf
<clever> it will also be written to the systemd .service file!?
<nhill> clever: apparently yes
<clever> that might be a bug
<esclear> I have an issue with borgbackup: The job always fails with an 226/NAMESPACE status. (log and config: https://gist.github.com/esclear/7cec44ba28537cd26dcaa3ce7ad03f64).
<esclear> Can someone tell me how to solve / debug the issue?
<clever> nhill: have you read the generated mpd.conf yet?
fragamus has quit [Ping timeout: 245 seconds]
jlv has quit [Remote host closed the connection]
<nhill> clever: Can't find it in /etc
<clever> nhill: i already told you how to find it
<clever> nhill: read the .service file, look at the arguments to mpd
<clever> ExecStart = "${pkgs.mpd}/bin/mpd --no-daemon ${mpdConf}";
<nhill> clever: Yeah, I read that. You just asked about mpd.conf
<clever> it will be in the ExecStart
<clever> there will be a path to mpd.conf, in the .service file
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « libipt: fix maintainers »: https://git.io/Jemmx
asymmetric has quit [Quit: Mutter: www.mutterirc.com]
<nhill> clever: yes, it changes user to nhill in mpd.conf, but it also changes User to nhill in the service config
<clever> nhill: what is the group setting in mpd.conf?
<nhill> clever: it defaults to mpd, but it's whatever I put in my config - that works
<nhill> So, I guess it's because where setting a User in the service file that it can no longer change it's uid/gid?
<clever> nhill: try adding a systemd.services.mpd.Group = "something"; to configuration.nix
__monty__ has quit [Ping timeout: 240 seconds]
<clever> to force systemd to set the gid also
<nhill> error: The option `systemd.services.mpd.Group' defined in `/etc/nixos/configuration.nix'
<nhill> does not exist.
<clever> oops, its mpd.serviceConfig.Group
<nhill> do you mean services.mpd.serviceConfig.Group?
<clever> it must start with systemd
<clever> systemd.services.mpd.serviceConfig.Group
fendor_ has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nhill> clever: So, now everything builds... but no sound at all
<clever> nhill: does pavucontrol, is mpd connecting to it?
<nhill> clever: mpd says it connects to locahost, but pulsemixer won't even open
<clever> nhill: check ps aux | grep pulse, is there a daemon running?
<nhill> clever: there where two. I killed them both and got a respawn. Same problem
__monty__ has joined #nixos
<clever> nhill: try stopping mpd, open pavucontrol, then start mpd
Ariakenom has quit [Read error: Connection reset by peer]
jlv has joined #nixos
<jlv> Any idea where I can get a word list for a vim dictionary?
<nhill> clever: I don't have pavucontrol, just pulsemixer. pulsemixer still won't open even after killing mpd
ixxie has quit [Ping timeout: 258 seconds]
<clever> nhill: stop it with systemd, dont kill it, systemd will restart it automatically
<nhill> clever: yes, I did
<clever> nhill: are you running pulsemixer in a terminal?
<nhill> clever: yup
<clever> nhill: any errors on stdout?
<nhill> Traceback (most recent call last):
<nhill> File "/run/current-system/sw/bin/pulsemixer", line 2039, in <module>
<nhill> pulse = Pulse('pulsemixer', server)
<nhill> File "/run/current-system/sw/bin/pulsemixer", line 1935, in main
<nhill> main()
<nhill> File "/run/current-system/sw/bin/pulsemixer", line 762, in __init__
<nhill> self.iterate()
<nhill> File "/run/current-system/sw/bin/pulsemixer", line 1057, in iterate
<nhill> raise self.error
<nhill> RuntimeError: Failed to complete action: 5, 6
<clever> ,pastebin nhill
nhill has quit [Remote host closed the connection]
<clever> ,paste ?
<{^_^}> ?: Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
<clever> ah, thats what it was
jtojnar has quit [Quit: jtojnar]
<jlv> Or where is the NixOS word list, if it comes with one?
jtojnar has joined #nixos
jtojnar has quit [Remote host closed the connection]
cinimod has joined #nixos
jtojnar has joined #nixos
Ilya_G has quit [Ping timeout: 240 seconds]
cinimod has quit [Ping timeout: 244 seconds]
<monokrome> yooo
<monokrome> Does anyone else have issues w/ the kubernetes package?
<monokrome> I can't seem to install kubectl or kubernetes, it fails trying to install deps
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1fed83d3df4 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
erasmas has quit [Quit: leaving]
<monokrome> I'm on 19.03
<clever> monokrome: what error does it give?
<monokrome> sorry, I'm waiting for it to run again before I have it
<monokrome> I think maybe it's an old version?
shibboleth has quit [Quit: shibboleth]
<monokrome> can't load package: package k8s.io/kubernetes/cmd/kube-scheduler: cannot find package "k8s.io/kubernetes/cmd/kube-scheduler" in any of
<monokrome> This has been happening for a couple months
<clever> monokrome: any overlays setup?
nhill has joined #nixos
<monokrome> ya but I don't think I overlayed k8s
<nhill> clever: So, got mpd running as same user... still same problem
<monokrome> let me check
<clever> nhill: try installing and running pacucontrol
<nhill> clever: it just starts it's own pulseaudio instance stealing the card
<clever> nhill: sounds like its not getting the right env vars to connect to the daemon
<monokrome> clever: lol... yep, I had an overlay to bump the version forever ago
<monokrome> good call >.<
<monokrome> sorry lol
<nhill> clever: no difference
<nhill> clever: When I set "server 127.0.0.1" in the mpd config it doesn't connect
<clever> nhill: the pulseaudio server, not the mpd server
<nhill> clever: what else does it it need
<qubasa> Does someone know how builtins.fetchGitLocal should work?
<clever> > builtins.fetchGitLocal
<{^_^}> attribute 'fetchGitLocal' missing, at (string):264:1
<clever> qubasa: are you sure thats a thing?
<qubasa> clever: yep
<nhill> clever: giving that as a config to mpd
<qubasa> clever: pkgs/build-support/fetchgitlocal
<clever> qubasa: thats not under builtins, that under pkgs
<qubasa> ah yeah right ^^"
<clever> > pkgs.fetchgitLocal
<{^_^}> { __functor = <CODE>; override = <CODE>; overrideDerivation = <CODE>; }
<nhill> clever: I think I need to enable tcp pulseaudio module and allow connections, but I have no idea how to set pulseaudio options like this in nixos
<clever> nhill: the unix socket stuff should still work, i'm just not sure how to setup the discovery
<clever> nhill: hmmm, try adding systemd.services.mpd.Environment.DISPLAY = ":0"; ?
<{^_^}> [nixpkgs] @volth opened pull request #68456 → netcat: fix default patch to ca-bundle → https://git.io/JemYB
<nhill> clever: no existo
<nhill> clever: Environment
<clever> systemd.services.<name>.environment
<clever> nhill: lowercase e, oops
<nhill> builds, but can't play from mpd
<clever> nhill: did you get pavucontrol to open?
<nhill> clever: sure, but what difference is that supposed to make?
<{^_^}> [nixpkgs] @gebner merged pull request #67856 → fcitx: use enchant2 → https://git.io/fjpYZ
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JemYg
<clever> nhill: if you keep pavucontrol open, it will force the proper pulseaudio daemon to keep working, and give you better feedback when things are working
<nhill> clever: makes no difference
<nhill> clever: I am either able to use mpd, but it opens it's own pulseaudio... or mpd cannot play
<nhill> I restarted everything with pavucontrol open
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67882 → qolibri: 2018-11-14 -> 2019-07-22 → https://git.io/fjpZ1
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JemYa
<nhill> and I get no errors
<clever> nhill: id say give up and just manually run mpd in a shell :P
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/JemYV
<nhill> clever: I probably will, but that's so lame
<clever> nhill: the only other fix is to learn more about how mpd and pulseaudio interact, and fix it better
<nhill> clever: That's not even the real problem, the real problem is I have no idea how to configure pulse on NixOS and there's no documentation
<clever> nhill: did you look at the nixos options for pulseaudio?
<nhill> there's plenty of info online, but it all assumes you can manipulate the config files
<nhill> clever: I only found like 3
<adisbladis> There is a home-manager module
<adisbladis> You could use that, less hacky
<clever> nhill: i see more then 3 things
<clever> nhill: specifically, look at configFile, extraConfig, and extraClientConf
<clever> nhill: those let you modify the pulse config files, and follow the other guides online
<nhill> clever: yeah, but I never saw this. Everything I google just sends me to that one howto page
<nhill> I will look at this
asymptotically has quit [Quit: Leaving]
<abrar> quit
abrar has quit [Quit: WeeChat 2.4]
abrar has joined #nixos
kiwaalkjdskjdkjf has joined #nixos
jgeerds has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @ivan opened pull request #68457 → fctix-engines.mozc: fix build → https://git.io/JemY1
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
Ilya_G has joined #nixos
<nhill> clever: Jeez, what a waste of 4 hours. All fixed by simply setting systemWide
<nhill> clever: Thanks for the help though!
<nhill> It's a single user system and I'm not using any other pulse settings, so I think it'll be fine
<{^_^}> [nixpkgs] @ivan opened pull request #68458 → [19.09] qolibri: 2018-11-14 -> 2019-07-22 → https://git.io/JemYy
<{^_^}> [nixpkgs] @worldofpeace closed pull request #68458 → [19.09] qolibri: 2018-11-14 -> 2019-07-22 → https://git.io/JemYy
Ilya_G has quit [Ping timeout: 276 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
<nhill> clever: Again, thanks.
nhill has quit [Quit: leaving]
<{^_^}> [nixpkgs] @volth opened pull request #68459 → nixos/nat: create nixos-nat-{pre,post,out} in ip6tables too → https://git.io/JemYH
asymmetric has joined #nixos
asymmetric has quit [Client Quit]
asymmetric has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68434 → qtwebkit: fixing build / reducing build log size → https://git.io/JemTF
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JemYN
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @d-goldin to release-19.09 « qtwebkit: fixing build / reducing build log size »: https://git.io/JemYA
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #68460 → lazydocker: 0.7 -> 0.7.4 → https://git.io/JemYj
azdle has quit [Read error: Connection reset by peer]
<kiwaalkjdskjdkjf> hi. i installed the terminal emulators `urxvt` and `st` with nix on debian. i can't type in umlauts (öäü) in there. urxvt doesn't react at all and st writes a question mark when i type in an umlaut. what's wrong?
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/8a30e242181 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @d-goldin opened pull request #68461 → zeroc-ice-36: fix build for gcc8 → https://git.io/JemOm
Ilya_G has joined #nixos
ddellacosta has joined #nixos
growpotkin has quit [Ping timeout: 245 seconds]
growpotk- has joined #nixos
Ilya_G has quit [Ping timeout: 244 seconds]
<Zer000> I'm trying to use the haskellPackages.squeal-postgresql package in my development, but the version in nixos is 0.4 and marked as broken. I see that on hackage there is a more recent version, is there any way I can override that haskell package in my shell.nix?
fendor_ has joined #nixos
<clever> Zer000: callHackage or callHackageDirect
<Zer000> thanks clever
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68443 → ibus-engines.mozc: fix build → https://git.io/Jemtf
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JemOc
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68445 → [19.09] ibus-engines.mozc: fix build → https://git.io/JemtI
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-19.09: https://git.io/JemOC
Ilya_G has joined #nixos
<craige> How do you list only failed jobs for jobset release-19.09 on NixOS Hydra?
<craige> (or can you?)
dermetfan has quit [Ping timeout: 246 seconds]
<craige> hrm, yjink I sorted it.
xkapastel has joined #nixos
Ilya_G has quit [Ping timeout: 276 seconds]
<ddima> craige: are you looking for things to fix? if so, there is also an "evals-report" from earlier today that might help navigate additionally; https://gist.github.com/srhb/1f8be9f5c488efb5fbb96452c7814caa
<craige> Thanks ddima
Ilya_G has joined #nixos
Ilya_G has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
Ilya_G has joined #nixos
Ilya_G has quit [Read error: Connection reset by peer]
fendor_ has quit [Ping timeout: 246 seconds]
Ilya_G has joined #nixos
ddellacosta has quit [Ping timeout: 244 seconds]
dermetfan has joined #nixos
tyrion-mx has joined #nixos
<tyrion-mx> Hello, I am new to nixos, I am wondering why I get "command not found" when I try to run "gpg", given that I have "programs.gnupg.agent = { enable = true; enableSSHSupport = true; };" in my configuration.nix
Ilya_G has quit [Ping timeout: 246 seconds]
<infinisil> tyrion-mx: You did a nixos-rebuild switch?
<tyrion-mx> Yes, many time since I added that option
<Acou_Bass> did you also enable programs.gnupg as well? not sure why you'd have to but could explain it
<tyrion-mx> Not sure if it is a good way to debug the issue, but doing `nix-store -qR /nix/var/nix/profiles/system | grep gnupg` gives me two entries
<infinisil> Acou_Bass: There's no such thing to enable
<infinisil> typetetris: What's your PATH?
<Acou_Bass> ahh my mistake, misread the one you have enabled :P sorry
<Acou_Bass> hmm
<Acou_Bass> what are the two entries that command gives you?
<tyrion-mx> /nix/store/mdr2agz8y8acr77jdjwnn3d01qixl1f2-gnupg-2.2.17/nix/store/pxd7k4bgshqc8j88026shir47rn9w8iy-gnupg-2.2.17
dermetfan has quit [Ping timeout: 245 seconds]
<tyrion-mx> infinisil: /home/tyrion/.local/bin:/home/tyrion/bin:/run/wrappers/bin:/home/tyrion/.nix-profile/bin:/etc/profiles/per-user/tyrion/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
<infinisil> Looking good
<infinisil> tyrion-mx: What does nix-info output?
<infinisil> To see the version you're using
<tyrion-mx> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.2.2, nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
<infinisil> AHh, 19.03 doesn't add gpg to your PATH
<tyrion-mx> :O
<infinisil> Only since https://github.com/NixOS/nixpkgs/commit/9a6adc16190 this is done
<infinisil> So you'll have to manually do `environment.systemPackages = [ config.programs.gnupg.package ]` for now
<tyrion-mx> ah, right, that was kinda easy to understand by looking at gnupg.nix, too bad I was looking at the master version instead of 19.03
<tyrion-mx> thanks for the help
<Acou_Bass> 0,o why wouldnt it add gpg to path? just a bug? (im not running nix on desktop riight now so havent come across this issue)
<infinisil> Well the module just didn't do it
<infinisil> Acou_Bass: see the pr of the commit: https://github.com/NixOS/nixpkgs/pull/67409
<{^_^}> #67409 (by duhirsch, 2 weeks ago, merged): nixos/gnupg: Add gpg to systemPackages
<Acou_Bass> odd but cool it's been sorted :D
<tyrion-mx> An other question: what is the difference between `breeze-icons` and `kdeFrameworks.breeze-icons`?
<{^_^}> [nixpkgs] @ivan opened pull request #68463 → [19.03] chromium: 76.0.3809.132 -> 77.0.3865.75 → https://git.io/JemOb
thc202 has quit [Ping timeout: 276 seconds]
abathur has joined #nixos
emptyfl4sk has quit [Ping timeout: 240 seconds]
asymmetric has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/de71ea2b311 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
MrCCoffee has joined #nixos
mbrgm_ has joined #nixos
vonfry has joined #nixos
coderobe has quit [Read error: Connection reset by peer]
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
vonfry has quit [Client Quit]
asymmetric has joined #nixos
vonfry has joined #nixos
kvda has joined #nixos
endformationage has quit [Ping timeout: 245 seconds]
<tyrion-mx> I am using lxappearance to set the gtk theme to breeze, but I get errors that the icons are missing even though I installed the breeze-icons package
<tyrion-mx> any hints?
emptyflask has joined #nixos
<{^_^}> [nix-pills] @shepting opened pull request #116 → Spelling fix for learned. → https://git.io/Jem3m
tyrion-mx has quit [Remote host closed the connection]
Ilya_G has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @JustinLovinger opened pull request #68464 → vimPlugins.deoplete-dictionary: init at 2019-04-16 → https://git.io/Jem3Y
alex`` has joined #nixos
emptyfl4sk has joined #nixos
jlv has quit [Remote host closed the connection]
growpotkin has joined #nixos