andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2019 || For best support,
<Raito_Bezarius> otherwise try to print what is in config.isoImage.contents
<Raito_Bezarius> using the tracing library
<Raito_Bezarius> unsure if it'll succeed though
<infinisil> Okay the problem has to do with mkForce after all
<infinisil> My suspicion was correct
<infinisil> Though I'm not sure why exactly
<Raito_Bezarius> is there a bug in mkForce?
<infinisil> Nah
<Raito_Bezarius> Alright
<infinisil> The problem seems to be that system.build has a too loose type, so it doesn't actually apply the mkForce
<Raito_Bezarius> I have a strange behavior with mkForce for a sd card builder for RPi when I'm trying to override some stuff and it does not work at all
<infinisil> And unapplied mkForce's are just attrsets
<Raito_Bezarius> *ah*
<infinisil> > :p mkForce true
<{^_^}> { _type = "override"; content = true; priority = 50; }
<Raito_Bezarius> quick stupid question
<Raito_Bezarius> can someone try to execute code through > :p ?
<Raito_Bezarius> :D
<YellowOnion> trace: { _type = "override"; content = <CODE>; priority = 50; }
<infinisil> Nix code? Yes. Anything else? Nope :)
<Raito_Bezarius> infinisil: but hypothetically, I could perform an IFD and execute some shell script and add __noChroot right?
<Raito_Bezarius> YellowOnion: well you ended at the same conclusion as infinisil :p
<infinisil> Raito_Bezarius: It's running in restricted mode, so can't do IFD
vk3wtf has quit [Client Quit]
cosimone has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> infinisil: Okay that was my implicit question, is there any restriction on the what it is executing
vk3wtf has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> Raito_Bezarius: Not really, nix is rather safe to execute
<YellowOnion> Talking about targets, what I really want is a live USB for running an app, it doesn't have to be a iso with squashfs
<infinisil> Well it's not even execution really, just evaluation
<Raito_Bezarius> infinisil: it eval some Nix code, true ; but it executes some code path in the C++ world
<YellowOnion> I noticed there's a compressed ext-4 version too.
devalot has joined #nixos
<Raito_Bezarius> infinisil: was just wondering on the attack surface of Nix evaluation
aristid1 has quit [Ping timeout: 260 seconds]
<infinisil> YellowOnion: Oh, looks like you're lucky, the mkForce isn't needed
<infinisil> Because this type is not specific enough, it seems to fall back to merging options based on module ordering
jgeerds__ has quit [Ping timeout: 260 seconds]
<infinisil> This is kind of unreliable, but I guess it works in this case
<YellowOnion> I'm trying to make a linux iso that can install coreboot on ivybridge thinkpads, there's currently one that's got shitty licensing issues and is 3.6GB in size when it really doesn't need to be.
<infinisil> Raito_Bezarius: Ah I see, yeah that would be interesting, though I don't think the attack surface is very big
<Raito_Bezarius> infinisil: I definitely agree
kvda has joined #nixos
<infinisil> The worst thing anybody ever managed to do with the nix eval is to have it evaluate an expression that eats up all the RAM :2
<puck> nix evaluation can totally take up all disk space too
<YellowOnion> infinisil, what do you mean I'm lucky, I still don't know how to get it to work :P
aristid1 has joined #nixos
<infinisil> YellowOnion: Hehe, just remove the mkForce
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> puck: It's surprisingly hard to have a single simple expression do that though!
mbrgm_ has joined #nixos
<YellowOnion> infinisil, I still get errors...
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78137 → firejail: updated the homepage address → https://git.io/JvIXg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvID3
<infinisil> YellowOnion: Namely?
mbrgm has quit [Ping timeout: 272 seconds]
mbrgm_ is now known as mbrgm
<infinisil> YellowOnion: Ah, add `config` to the arguments at the top
<noonien> anyone running nixos on scaleway x86 by any chance? is the wiki up to date?
shabius_ has quit [Ping timeout: 272 seconds]
<puck> infinisil: hrmm, writing this to actually run infinitely is surprisingly hard indeed, but not impossible
drakonis has quit [Ping timeout: 248 seconds]
<YellowOnion> infinisil, which arguments? do you mean isoImage.*? because that throws even more errors...
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<YellowOnion> ohh wait I got it.
tomberek has quit [Ping timeout: 265 seconds]
shabius has joined #nixos
vk3wtf has quit [Quit: WeeChat 2.4]
xkapastel has joined #nixos
vk3wtf has joined #nixos
johnw has quit [Remote host closed the connection]
<YellowOnion> infinisil, thank you for your help.
werner291 has quit [Ping timeout: 258 seconds]
v0|d has quit [Ping timeout: 260 seconds]
<evanjs> infinisil: yeah, figured as much. hies problem earlier was just that it needs ghc _somewhere_ derr derr derr - I either need to add a shell.nix to my x/wm folder or something -- would rather not add it systemwide
<evanjs> should probably add a shell.nix + ghcWithHoogle tho
<{^_^}> [nixpkgs] @marsam opened pull request #78142 → flexget: 3.0.31 -> 3.1.10 → https://git.io/JvIDE
<infinisil> evanjs: oh hn that might be something to fix with all-hies actually
kvda has joined #nixos
<infinisil> Wrapping the hie binary with the correct ghc
<{^_^}> [nixpkgs] @marsam merged pull request #78097 → python3Packages.solo-python: 0.0.21 -> 0.0.23 → https://git.io/JvICV
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvIDu
alexherbo28 has joined #nixos
<evanjs> infinisil: yah it seemed odd to me. Unless I really do need 844 864 and 865. currently only using 844 and 865
<infinisil> evanjs: Oh no i just have these versions in my config because i need them for different projects
<evanjs> infinisil: right I figured as much. hrm
alex`` has quit [Ping timeout: 258 seconds]
alexherbo2 has quit [Ping timeout: 268 seconds]
alexherbo28 is now known as alexherbo2
<infinisil> evanjs: can you open an issue for this in all-hies?
takeda has quit [Ping timeout: 265 seconds]
alex`` has joined #nixos
<{^_^}> [nixpkgs] @vxid opened pull request #78143 → pam_gnupg: Init at 1.0 → https://git.io/JvIDy
srid has quit [Quit: Connection closed for inactivity]
turona has quit [Ping timeout: 272 seconds]
turona has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #78128 → matomo: 3.13.0 -> 3.13.1 → https://git.io/JvI6s
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvIyU
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78121 → cinnamon.cinnamon-menus: init at 4.4.0 → https://git.io/JvIr7
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvIyk
<{^_^}> [nixpkgs] @marsam pushed to release-19.09 « matomo: 3.13.0 -> 3.13.1 »: https://git.io/JvIyL
<{^_^}> [nixpkgs] @marsam merged pull request #78139 → cargo-crev: 0.13.0 -> 0.15.0 → https://git.io/JvIX1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvIyq
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78119 → cinnamon.cinnamon-translations: init at 4.4.0 → https://git.io/JvIr1
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvIym
mexisme has quit [Ping timeout: 258 seconds]
ravndal has quit [Ping timeout: 268 seconds]
sigmundv has joined #nixos
kvda has quit [Ping timeout: 240 seconds]
sigmundv__ has quit [Ping timeout: 265 seconds]
kvda has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
<evanjs> infinisil: sure. just to confirm: if I `nix-env -iA nixos.ghc` and restart emacs, all-hies works. Is all-hies supposed to provide ghc for me, or was I just missing a step by not providing my own copy of ghc?
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @mkg20001 opened pull request #78144 → cinnamon.cinnamon-settings-daemon: init at 4.4.0 → https://git.io/JvIyg
Rusty1 has quit [Remote host closed the connection]
jluttine has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvIyP
wildtrees has quit [Quit: Leaving]
mexisme has joined #nixos
fusion809 has joined #nixos
jluttine has joined #nixos
slack1256 has quit [Ping timeout: 265 seconds]
<infinisil> evanjs: Usually the nix-shell from your project would give you the ghc
<infinisil> And other binaries like cabal
<evanjs> infinisil: I figured as much :D was trying to figure out how to add a shell.nix for xmonad but wasn't sure how to approach it -- assuming it needs to be similar to your taffybar setup if it's under new-modules/x/wm
Rusty1 has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
NoctisLabs has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/JvIyb
twjt[m] is now known as twjt[m]1
<infinisil> evanjs: Yeah, I think I had it working at some point, but I think I got in trouble because of the thing that auto-imports everything under new-modules
<{^_^}> [nixpkgs] @jonringer merged pull request #77569 → doc: python: refreshing virtualenv section for venv → https://git.io/Jvfym
<{^_^}> [nixpkgs] @jonringer pushed commit from @d-goldin to master « doc: python: refreshing virtualenv section for venv »: https://git.io/JvISU
<evanjs> infinisil: yup that was my experience. infinite recursion and etc. anyway, glad to hear it's nothing wrong with all-hies! and thanks for the repo!
<infinisil> :D
ee194350 has quit [Read error: Connection reset by peer]
ee194350 has joined #nixos
<YellowOnion> why does setuptools require cariocffi?
halfbit has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #78013 → pythonPackages.flux_led: init at v0.22 → https://git.io/JvkSe
<{^_^}> [nixpkgs] @jonringer pushed commit from @colemickens to master « pythonPackages.flux_led: init at v0.22 »: https://git.io/JvISG
jluttine has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #78015 → pythonPackages.getmac: init at 0.8.2 → https://git.io/JvkSU
<{^_^}> [nixpkgs] @jonringer pushed commit from @colemickens to master « pythonPackages.getmac: init at 0.8.2 »: https://git.io/JvISn
<{^_^}> [nixpkgs] @marsam merged pull request #78124 → maintainers: add sdier → https://git.io/JvIoE
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvISc
<{^_^}> [nixpkgs] @marsam merged pull request #78123 → rofi-mpd: 2.0.0 -> 2.0.1 → https://git.io/JvIoe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvISW
tertl3 has quit [Quit: Connection closed for inactivity]
werner291 has joined #nixos
jluttine has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #78005 → flow: 0.114.0 -> 0.116.1 → https://git.io/JvkVl
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JvISR
<fuzen> Hello, is there an alternative for AdGuardHome that is easy to setup on nix-os?
sigmundv has quit [Ping timeout: 272 seconds]
<c382feb9> how do I import `buildVimPlugin2Nix` and `fetchFromGitHub` in configuration.nix?
<noonien> you can use it from pkgs i believe, or, put them in the first argument set (usually at the top of the configuration.nix file)
<noonien> where there's config, lib, stdenv, etc
<c382feb9> yeah I tried that second option
<c382feb9> noonien: but technically it isn't configuration.nix but a module in /etc/nixos that is in configuration.nix's imports = [ ... ]
<c382feb9> so it fails with attribute buildVimPluginFrom2Nix missing
<c382feb9> can I pass it as an argument into the module?
<noonien> it should work the same
<noonien> perhaps there is no buildVimPluginFrom2Nix
<noonien> does fetchFromGitHub work?
<c382feb9> idk, it's inside the buildVimPluginFrom2Nix
<c382feb9> :D
<noonien> yes, that is passed from somewhere else
<c382feb9> noonien: yes but I'm not familiar with the structure of nixpkgs
<c382feb9> I get the general idea that most .nix files are functions
<YellowOnion> what's the "linux-headers" equivalent in nixos?
<c382feb9> and things get passed from ... somewhere
<c382feb9> but the whole control flow is still a bit unclear to me<
<c382feb9> maybe I should research that
<c382feb9> looks like it's available under pkgs.vimUtils.buildVimPluginFrom2Nix in my module anyway
<noonien> i'm not very familiar myself, i have a local copy of nixpkgs, grep for what i'm looking for, and follow the path
<noonien> yes, i think that's where it is
<c382feb9> noonien: yep same but with github :)
<c382feb9> now let's find fetchFromGithub
<noonien> you should be able to just use fetchFromGitHub
<noonien> (notice the capitalization)
<c382feb9> surprise surprise, it's pkgs.fetchFromGitHub
<c382feb9> ok one more idiom in my Nix vocabulary
<c382feb9> now let's install my plugin :)
<noonien> yes, you should be able to use any package at the top of the module (where you have pkgs, lib, etc), if you prefer
justanotheruser has quit [Ping timeout: 268 seconds]
<c382feb9> noonien: maybe if I squeeze a tactical `with pkgs;` somewhere ..
<c382feb9> is the sha256 in fetchFromGitHub ignored?
euandreh has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<noonien> no, but if you specify an existing sha, an already build package with that sha will be used
<noonien> you should always set the sha to an impossible value, usually all 0s
<noonien> this way, you'll get an error, and you can put in the right value
<c382feb9> and now I have to remember it's exactly 52 zeros innit
<noonien> if you have 2 packages, and specify the same sha for both, only one will be built
<c382feb9> noonien: yep that just bit me
<c382feb9> because I had copied some hash from that generated.nix file above
<noonien> here you go: 0000000000000000000000000000000000000000000000000000
<c382feb9> so it installed the wrong package
<c382feb9> thanks </3
<{^_^}> [nixpkgs] @ryantm merged pull request #78067 → bshapr: 0.6 -> 0.7 → https://git.io/JvILA
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvISy
<noonien> yeah, i had that bit me once also, took me quite a bit to figure it out :D
<c382feb9> whoa now I have nicely highlighted pug and stylus in vim
<jackdk> yeah, i had that bit me once also, took me quite a bit to figure it out too :D
<c382feb9> it's the best for quickly hacking together browsery thingies
<c382feb9> jackdk: lol
<jackdk> it's basically a nix rite-of-passage at this point
zeta_0 has joined #nixos
h0m1 has quit [Ping timeout: 252 seconds]
<c382feb9> jackdk: still beats having to bootstrap an aur helper
<c382feb9> or add a ppa
* c382feb9 shudders
<noonien> yesh, i managed to spread nix to a few people, some of them got bit too, for me, it was with a fixed-output derivation i made myself
<jackdk> c382feb9: not wrong.
zeta_0 has quit [Client Quit]
<noonien> i personally prefer vim-plug
alex`` has quit [Ping timeout: 265 seconds]
<noonien> $HOME is more fluid for me to have it nixxed atm
h0m1 has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
justanotheruser has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/628164c58de (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<noonien> what do you guys use to encrypt personal data in for configuration.nix
qubasa_ has joined #nixos
ravndal has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
qubasa has quit [Ping timeout: 268 seconds]
selfsymmetric-mu has joined #nixos
<selfsymmetric-mu> I keep getting `error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused` in half of my rebuilds in the last few weeks. What's changed?
kvda has joined #nixos
werner291 has quit [Remote host closed the connection]
<jackdk> Last time I asked someone pointed me at an old bug. An additional rebuild should correctly switch.
kvda has quit [Client Quit]
<jackdk> selfsymmetric-mu: I think it's #72372
<{^_^}> https://github.com/NixOS/nixpkgs/issues/72372 (by flokli, 11 weeks ago, open): Activation script snippet "nix" failed
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
szicari has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @kamadorueda opened pull request #78145 → pythonPackages.pyparsing: improve tests → https://git.io/JvI9a
gustavderdrache has quit [Quit: Leaving.]
szicari has joined #nixos
kvda has joined #nixos
<selfsymmetric-mu> jackdk: That looks right, thank you. Additional rebuilds have always fixed it. It's just flaky. :/
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 265 seconds]
<fuzen> IS there any way I can prevent NixOS from configuring enp0s5? I followed the Linode guide, but it keeps trying to configuring that interface which, doesn't exist
<infinisil> fuzen: That might be networking.useDHCP, which is recommended to be turned off, see https://nixos.org/nixos/options.html#networking.usedhcp
<fuzen> I set the global to off, I'm trying to rebuild now with enp0s5.useDHCP set to false but it seems to have hanged after failing to download https://cache.nixos.org/nix-cache-info
picantest has quit [Ping timeout: 268 seconds]
<fuzen> I'll try re-installing with that set to false, don't have anything setup yet
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<fuzen> infinisil: It is still trying to run the start job with it set to false
<infinisil> You gotta be a bit more descriptive about this
<fuzen> [ *] A start job is running for /sys/sub…evices/enp0s5 (1min 7s / 1min 30s)
<fuzen> All I know about it
<wedens[m]> I've enabled `boot.loader.grub.memtest86`, but when I choose it in grub, grub menu disappears, background stays the same and there is no memtest on the screen
<infinisil> Looks like that might be systemd related
<infinisil> Not NixOS itself
<fuzen> It will timeout, and rebuild hangs due to lack there not being a network
<wedens[m]> apparently there is no memtest on default usb image either
<fuzen> The distros that Linode has pre-configured have systemd as well, so it should be something NixOS has configured by default
mexisme has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/628164c58de (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<evils> wedens[m]: efi boot?
<wedens[m]> evils: yes
<evils> that requires a different memtest, non-free
<wedens[m]> alright, how do I make it use non-free one? should I change memtest86 in an overlay?
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<evils> https://nixos.org/nixos/options.html#boot.loader.systemd-boot.memtest
<fuzen> infinisil: it looks like it is ignoring `networking.usePredictableInterfaceNames = false;` for the startup script, `ip link eth0` shows up, but its trying to configure enp0s5
<hpfr[m]> Anyone else’s alacritty start lagging significantly? It’s really weird, it opens slowly, text takes time to appear, etc. No other applications seem to be affected
<wedens[m]> evils: I'm not really willing to change the loader :) I wanted to play with nesting.children which is not supported by systemd-boot AFAIK
<evils> wedens[m]: i haven't looked further into this than that, i've just used memtest's own image when i needed it
<wedens[m]> thanks for the pointer anyway, I'll try to override it via overlay
<fuzen> Is there no way for me to get NixOS to rebuild without connecting to the internet?
<fuzen> Just trying to configure networking config, but it keeps trying to connect to cache
mexisme has quit [Ping timeout: 260 seconds]
<wedens[m]> --option substituters ""
<{^_^}> [nixpkgs] @tviti opened pull request #78146 → lispPackages: add serapeum → https://git.io/JvIHb
picantest has joined #nixos
fling has quit [Ping timeout: 240 seconds]
remirol has joined #nixos
picantest has quit [Read error: Connection reset by peer]
saltsa has quit [Quit: leaving]
picantest has joined #nixos
lorimer has quit [Ping timeout: 260 seconds]
<hpfr[m]> Just tried some other terminal emulators with nix-shell. Alacritty and kitty have the lag issue, st, urxvt, and termite do not. Is this something with GPU acceleration? I’m on Nvidia
selfsymmetric-mu has quit [Remote host closed the connection]
<hpfr[m]> This came up randomly today, I don’t think I changed anything :(
chagra_ has joined #nixos
mexisme has joined #nixos
chagra has quit [Ping timeout: 240 seconds]
<fuzen> infinisil: setting usePredictableInterfaceNames & enabling DHCPD fixed it, even though the target cannot be reached, networking works
bukkitgerman has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman has joined #nixos
mexisme has quit [Ping timeout: 272 seconds]
<hpfr[m]> Woah I actually figured it out. G-Sync was on, and for some reason alacritty doesn’t like that. X doesn’t seem to either because that monitor was stuttering. G-Sync must not have worked before a recent update with my configuration, because I never tried to enable it. That’s a bummer
remirol has quit [Read error: Connection reset by peer]
endformationage has quit [Quit: WeeChat 2.6]
ddellacosta has quit [Ping timeout: 272 seconds]
fuzen has quit [Ping timeout: 246 seconds]
mac10688 has joined #nixos
notice81cabbage[ has joined #nixos
fuzen has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
viric has quit [Ping timeout: 240 seconds]
page has quit [Ping timeout: 240 seconds]
infinee has joined #nixos
domogled has quit [Quit: domogled]
TwoNicToupper has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
mexisme has joined #nixos
bukkitgerman has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #77750 → dyncall: 1.0 -> 1.1 → https://git.io/JvUWW
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/JvI7w
drakonis1 has quit [Quit: WeeChat 2.6]
mexisme has quit [Ping timeout: 260 seconds]
<wedens[m]> ,locate libpcrecpp.so.0
<{^_^}> Found in packages: pcre-cpp
<{^_^}> [nixpkgs] @vbgl merged pull request #77661 → ocamlPackages.ocaml-migrate-parsetree: 1.4.0 → 1.5.0 → https://git.io/JvJX8
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JvI7h
chagra_ has quit [Ping timeout: 258 seconds]
chagra_ has joined #nixos
<wedens[m]> what do I do if a binary requires glibc >= 2.29?
dansho_ has joined #nixos
dansho has quit [Ping timeout: 258 seconds]
AmandaC has joined #nixos
AmandaC_ has quit [Ping timeout: 265 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/00787c3f04b (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/00787c3f04b (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @dwarfmaster opened pull request #78147 → Renamed maintainer lucas8 -> dwarfmaster → https://git.io/JvI5s
palo1 has joined #nixos
dansho_ has quit [Ping timeout: 258 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
Nheryva has joined #nixos
hyper_ch2 has joined #nixos
zupo has joined #nixos
siiky has quit [Ping timeout: 246 seconds]
Nheryva has quit [Quit: Leaving]
chiefgoat has quit [Ping timeout: 240 seconds]
m0rphism has joined #nixos
<kini> Is there a reason why `services.zfs.autoSnapshot` uses a third-party tool (https://github.com/bdrewery/zfstools/blob/master/bin/zfs-auto-snapshot) rather than the built-in `zfs-auto-snapshot` provided by the zfsonlinux project?
<tilpner> Hopefully
Chiliparrot has joined #nixos
* DigitalKiwi suspsects it has to do with what url is used
<kini> URL?
mac10688 has quit [Ping timeout: 260 seconds]
<tilpner> kini: Do you mean the zfsonlinux repo by builtin?
<tilpner> I didn't find a zfs-auto-snapshot built into standard zfs
<kini> not part of the zfsonlinux/zfs repo, but a separate repo (but by the same maintainers)
<kini> it's what Debian provides for example, dunno about other distros
<tilpner> Yes, I found that, but that's not what I would call builtin
<kini> Hmm, yes I guess it's not built-in, true. Still, it seems more "upstream" than the other one, I guess. It wouldn't matter if they had the same interface but their command line options are different. Not sure if there are also some behavioral differences.
<tilpner> Perhaps that repo didn't exist when the package was added in 2014-01-21
<kini> I gather that the reason they both have the same name is that they're both named after an original Sun tool in Solaris (?)
<kini> Ah, that could be
<tilpner> There are other snapshot managers I've seen people use with NixOS, so you can try those if you don't like zfstools
<tilpner> I agree that autoSnapshot sounds like it would use the zfsonlinux/zfs-auto-snapshot
dansho has joined #nixos
<tilpner> ...repo, but I don't know what differences there are between the two scripts
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a65f338ccbd (from 30 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<kini> It's not really that I don't like it or anything, just was a bit confused
<kini> also since I'm moving a zpool over from a debian machine I'm hoping this autosnapshot tool will use the same naming scheme etc. as the other one :)
<kini> I guess I'll find out
page has joined #nixos
<{^_^}> [nixpkgs] @nlewo merged pull request #78114 → tmuxinator: 1.1.0 -> 1.1.4 → https://git.io/JvIVb
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/JvIdw
<tilpner> kini: You can use the zfsonlinux one if you care enough and have some free time
<tilpner> kini: Start by packaging it, then see if the module needs modification to work with it. If the CLI is compatible, you might get away with an overlay and can keep using the nixpkgs module
<{^_^}> [nixpkgs] @nlewo merged pull request #77851 → saldl: init at 40 → https://git.io/JvTZr
<{^_^}> [nixpkgs] @nlewo pushed 3 commits to master: https://git.io/JvIdK
veske has joined #nixos
<DigitalKiwi> is one of them better
<DigitalKiwi> one's bash and one's ruby
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gxt has joined #nixos
gxt has quit [Remote host closed the connection]
chiefgoat has joined #nixos
mexisme has joined #nixos
TwoNicToupper has quit [Ping timeout: 258 seconds]
gxt has joined #nixos
rsoeldner has joined #nixos
chiefgoat has quit [Read error: Connection reset by peer]
<dminuoso> Im trying to use emacsWithPackages(epkgs: with epkgs; [org ox-gfm use-package pdf-tools])
<dminuoso> But the installation is aborting with error: cannot download org-20181230.tar from any mirror
<dminuoso> Is there some kind of elpa update I need to do first?
<wedens[m]> there is https://github.com/nix-community/emacs-overlay with more up to date packages, but you probably just use some old nixpkgs revision?
johnw has joined #nixos
aizuzu has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #78109 → home-assistant: add icloud support → https://git.io/JvIBO
<wedens[m]> wait, why do you even install org?
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JvIdA
<dminuoso> What do you mean "why do you even install org"
<wedens[m]> you want org version to be newer than builtin?
<dminuoso> org-mode is built-in?
<dminuoso> :o
<wedens[m]> yes it is
aizuzu has quit [Client Quit]
<wedens[m]> and even if you want to specify it in emacsWithPackages, I think you should use orgPackages.org, and not just org
<wedens[m]> (I can't be wrong though. I don't install emacs packages via Nix as I use straight.el)
<wedens[m]> * can
<DigitalKiwi> nah the first one was right. i admire the confidence!
<wedens[m]> :D
<dminuoso> Honestly I dont even want to waste my thoughts there.
<dminuoso> My underlying problem is that doc-view-mode is not kicking in.
<dminuoso> :(
<dminuoso> I've went into the "Just randomly try things until they work again"
<dminuoso> mode
Tucky has joined #nixos
<wedens[m]> doesn't sound like Nix (or org-mode, for that matter) related issue. what's wrong with doc-view-mode?
<dminuoso> Emacs is just displaying text when opening any pdf.
<wedens[m]> have you tried invoking doc-view-mode manually in that buffer?
<dminuoso> It activates a minor mode called doc-view-mode - strangely enough.
<dminuoso> The major is still fundamental
<dminuoso> doc-view-mode should change the major, shouldnt it?
<wedens[m]> yes
gagbo has joined #nixos
<wedens[m]> have you tried opening other document?
<dminuoso> Yeah, same problem
<wedens[m]> what's the resuilt of evaluating (executable-find doc-view-dvipdf-program) ?
<wedens[m]> (btw, I'd rather use pdf-tools)
<eoli3n_> Hi
<eoli3n_> when i rebuild i always have a problem with wpa_supplicant which can't restart
<eoli3n_> but i don't use any wifi on that host
<dminuoso> wedens[m]: Mmm its nil. The documentation of doc-view-mode does not state that there is a hard dependency for rendering pdfs.
<eoli3n_> i think that connman services installed wpa_supplicant
<eoli3n_> how to remove ?
<dminuoso> wedens[m]: dvipdf is if you have a dvi file that needs to be converted to a pdf first.
<dminuoso> Perhaps the emacs version I have is missing png support?
siiky has joined #nixos
<dminuoso> No, thats not it either
<dminuoso> Woah interesting. Apparently installing ghostscript did the trick.
<wedens[m]> eoli3n_: what's the output of `nixos-option networking.wireless.enable`?
<dminuoso> The documentation for doc-view-mode is just plain wrong then. :/
<wedens[m]> I was about to ask (executable-find doc-view-ghostscript-program) result ;)
<dminuoso> wedens[m]: Ah. Cheers! :)
<eoli3n_> wedens[m]: resolved by changing connman wifi backend : iwd
<eoli3n_> but thx for the command, didn't know that
<wedens[m]> dminuoso: consider using pdf-tools (from melpaPackages). it's more featureful than doc-view
<dminuoso> wedens[m]: I've had some very basic ergonomics problems, like the document not being zoomed out to fit the available screen by default
fuzen has quit [Ping timeout: 268 seconds]
turbo_MaCk has joined #nixos
<eoli3n_> in the wiki, how to find parent page ?
<eoli3n_> forget that question
zarel has joined #nixos
fuzen has joined #nixos
fuzen is now known as Guest48460
lsix has joined #nixos
chloekek has joined #nixos
domogled has joined #nixos
aveltras has joined #nixos
<siers> wedens[m], did you reply anything? my bouncer ate my messages :(
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #78148 → toot: 0.24.0 -> 0.25.0 → https://git.io/JvIbB
thc202 has joined #nixos
chagra_ has quit [Ping timeout: 268 seconds]
<siers> Can I do anything to promote my PR?
<wedens[m]> siers: no. I haven't seen your messages (riot.im failed to scroll to last unread mention)
<{^_^}> #78110 (by siers, 17 hours ago, open): rofimoji: init
<siers> I resurrcted your PR
<siers> updated it and removed you as maintainer :D I can add you back, if you wish
<siers> you hadn't added rofi as dependency!
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
chagra_ has joined #nixos
<NoctisLabs> Does anyone here use an IRC daemon and if so which one? Currently looking at using either ngircd or ircd-hybrid.
<NoctisLabs> charybdis looks like an option as well
<NoctisLabs> Actually I think that's a full on server.
<wedens[m]> siers: yeah, I probably didn't run it in isolation
<Enzime> NoctisLabs: are you looking for IRC bouncers?
<Enzime> I used to use znc, but nowadays I use weechat + glowing-bear
<wedens[m]> siers: as of maintainership, I think 1 maintainer is enough for such small package (and I don't use it much) :)
<Enzime> way easier to set up
<siers> wedens[m], :)
jeremieh has joined #nixos
<NoctisLabs> Yeah, something lightweight written in C that nix already has a module for.
civodul has joined #nixos
t3rm1nal has joined #nixos
lukash_|away is now known as lukash_
<turbo_MaCk> Does anyone know how I'm uspose to link to GL on NixOS in the right way?
<turbo_MaCk> I'm trying to build Rust project that seems to be using OpenGL but I'm getting `GLFW Error: GLX: Failed to load GLX` error.
<tilpner> NoctisLabs: IRC daemon is vague and could refer to any of server/bouncer/bot/bridge, and you might get answers for each usecase
<tilpner> (And client)
<turbo_MaCk> btw I'm using amdgpu
<arianvp> hmm
<arianvp> having a really weird problem at work
<arianvp> Collegeue installed nix; but isn't actively using it yet. but now he can not compile a C project of us anymore because ld tries to link against glibc in the nix store
chagra_ has quit [Quit: WeeChat 2.6]
<arianvp> and we have no idea how it is picking that up. and it's basically bricked his ubuntu installation because nothing compiles anymore :/
<arianvp> not in a nix-shell. so how can ld even decide to not link against the system glibc?
<arianvp> are there some ldconfig files that nix naughtily touches?
<chloekek> Given let x = import <nixpkgs> { config = ...; }; in ..., is it possible to alter the config in the body of the let binding (i.e. not in the definition of the let binding)
<chloekek> There doesn’t seem to be an overrideAttrs property on x.
vidbina_ has joined #nixos
<turbo_MaCk> arianvp: have you tried another shell session? I'm not an expert but I think LD path is is env variable - I would try to use fresh shell and if doesn't help ispect env to see what is there
<arianvp> turbo_MaCk: nothing in the shell related to nix + ld
pmyjavec has joined #nixos
<pmyjavec> Hey, just wondering if someone could tell me if there is a beta release contaning a 5.x kernel somehwere?
<turbo_MaCk> arianvp: that's weird... something has to tell linker about that glibc from nix/store.. Let me think
<turbo_MaCk> pmyjavec: Don't you mean `boot.kernelPackages = pkgs.linuxPackages_latest;`
<NinjaTrappeur> pmyjavec: pkgs.linuxPackages_5_3 on unstable
<pmyjavec> turbo_MaCk: Sorry, didn't clarify. Bootable installation media. I have a new laptop but I need 5.4 to get the Wifi drivers going.
zupo has joined #nixos
<pmyjavec> NinjaTrappeur: Ok, mauye I did something wrong. I thought I flashed 20.03 to a USB stick and it till had the 4.x kernel.
<arianvp> chloekek: I dont think it's possible :/
<CRTified> pmyjavec: you could easily build a custom installation medium :-)
<chloekek> arianvp: Bummer. Then we will make x a lambda instead.
<NinjaTrappeur> pmyjavec: my bad, I did not get the image part. Indeed, that's not the default kernel. Maybe you can try to generate an image using https://github.com/nix-community/nixos-generators (never tried personally, can't help further)
<pmyjavec> NinjaTrappeur: thanks, it's probably just easy for me to install using the Ethernets and then upgrading the kernel.
<arianvp> would be nice if it was part of the overlay. but I think it's fixed already before overlays are even are evaluated
<arianvp> chloekek: why not just do let x = import <nixpkgs>
<arianvp> instead of import <nixpkgs> {} :P
jeremieh has quit [Quit: Lost terminal]
domogled has quit [Ping timeout: 272 seconds]
<NinjaTrappeur> pmyjavec: yeah, probably
domogled has joined #nixos
<chloekek> arianvp: actually doing { getPkgs ? import ./nix/nixpkgs.nix }: let pkgs = getPkgs { config = ...; }; in ... so the caller can pass in their own nixpkgs.
<chloekek> arianvp: but usually you don’t have to pass in lambdas there since the callee doesn’t pass a config.
<chloekek> arianvp: but we need to add package overrides to add new haskell packages to haskellPackages.
Guest48460 has quit [Quit: ZNC - https://znc.in]
<turbo_MaCk> chloekek: I see this convention is being used a lot { nixpkgs ? import ./nix/nixpkgs.nix, config ? {.....} }: let pkgs = nixpkgs config;
<chloekek> Oh neat.
<turbo_MaCk> arianvp: Have you tried to specify LD_LIBRARY_PATH manually?
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #78149 → nomachine-client: 6.8.1 -> 6.9.2 → https://git.io/JvIAk
kleisli has quit [Ping timeout: 268 seconds]
alex`` has joined #nixos
Synthetica has joined #nixos
<siers> Can I promote my PR to any mergers? Because it's a fairly non-controversial and small.
dm9 has joined #nixos
fendor has joined #nixos
<turbo_MaCk> siers: usually it helps to have a review even from non commiter and cc maintainer of the package. Anyway with merge you'll need to wait for the commiter
<turbo_MaCk> siers: Otherwise people are posting PRs for review in here all the time so feel free to post link so someone can have a look
<siers> I wrote the package myself. I wouldn't mind getting comments, of course https://github.com/NixOS/nixpkgs/pull/78110
<{^_^}> #78110 (by siers, 18 hours ago, open): rofimoji: init
<siers> I almost wrote it myself, that is :D
dashkal has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Rakesh4G opened pull request #78150 → ipxe: ebf2eaf515e46abd43bc798e7e4ba77bfe529218 --> 1.20.1 → https://git.io/JvIAO
<arianvp> chloekek: I would suggest using overlays instead
<arianvp> instead of config.packageOverrides
o1lo01ol1o has joined #nixos
<turbo_MaCk> siers: Just tested it. I happen to use rofi as well... work fine for me - going to comment the PR
<siers> turbo_MaCk, thanks :)
iyzsong has joined #nixos
nek0 has quit [Remote host closed the connection]
pmiddend has joined #nixos
<pmiddend> When building a package inside the nixorg/nix Docker image, I'm getting these strange error messages: /build/env-vars: No such file or directory
<pmiddend> I'm guessing something is set up wrong there?
fuzen has joined #nixos
fuzen has quit [Client Quit]
fuzen has joined #nixos
fuzen is now known as Guest52666
mexisme has quit [Ping timeout: 260 seconds]
ThatDocsLady has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #78151 → nodePackages: update set → https://git.io/JvIAj
Guest52666 has quit [Quit: ZNC - https://znc.in]
<Raito_Bezarius> Is there any reason why a declarative spec would fail to evaluate on Hydra for a connection timeout on GitLab for example?
<Raito_Bezarius> (it's a private repo)
<Raito_Bezarius> (but the SSH keys are correctly set up AFAIK)
pmyjavec has quit [Remote host closed the connection]
<Raito_Bezarius> it seems it always fail
veske has quit [Quit: This computer has gone to sleep]
NoctisLabs has quit [Quit: WeeChat 2.7]
fuzen has joined #nixos
fuzen is now known as Guest15533
vidbina_ has quit [Ping timeout: 272 seconds]
<o1lo01ol1o> Raito_Bezarius: are there private submodules?
<{^_^}> [nixpkgs] @lsix merged pull request #66391 → Packages for the python coreapi client → https://git.io/fj78m
<{^_^}> [nixpkgs] @lsix pushed 5 commits to master: https://git.io/JvIxl
ubert has joined #nixos
<o1lo01ol1o> Raito_Bezarius: on the hydra machine: journalctl --unit hydra-queue-runner.service | tail 100
<o1lo01ol1o> what's the actual failure message?
__monty__ has joined #nixos
<ubert> hi, i'm trying to update nix-env and keep getting this error:
<ubert> error: packages '/nix/store/kmcv64cnxcrhnliqj9y82dac1fl27vzs-libressl-3.0.2-bin/bin/openssl' and '/nix/store/dr7zmgkbwz22fj91ia6dc8hvigc2vaki-openssl-1.1.1d-bin/bin/openssl' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the
<ubert> builder for '/nix/store/m51kp0643i5q35pcaxpwjb4wpy6dqd43-user-environment.drv' failed with exit code 1
<ubert> that is even with
<ubert> nix-env --set-flag priority 0 libressl && nix-env -u
<tilpner> o1lo01ol1o: Instead of tail, use -e to jump to the end and limit the number of lines: journalctl -eu hydra-queue-runner
<o1lo01ol1o> tilpner: noted, thanks
<o1lo01ol1o> tilpner++
<{^_^}> tilpner's karma got increased to 60
<{^_^}> [nixpkgs] @lsix merged pull request #78148 → toot: 0.24.0 -> 0.25.0 → https://git.io/JvIbB
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvIx2
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e48d9e68716 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
eri has joined #nixos
<{^_^}> [nixpkgs] @mmahut opened pull request #78152 → digibyte: init at 7.17.2 → https://git.io/JvIxK
veske has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #78142 → flexget: 3.0.31 -> 3.1.10 → https://git.io/JvIDE
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JvIxM
Guest15533 has quit [Quit: ZNC - https://znc.in]
doublex__ has joined #nixos
fuzen has joined #nixos
evanjs has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @taku0 opened pull request #78153 → firefox, firefox-bin: 72.0.1 -> 72.0.2, firefox-esr: 68.4.1esr -> 68.4.2esr → https://git.io/JvIxd
evanjs has joined #nixos
doublex_ has quit [Ping timeout: 260 seconds]
t3rm1nal has quit [Quit: Leaving]
cyraxjoe has quit [Quit: No Ping reply in 180 seconds.]
<Raito_Bezarius> o1lo01ol1o: not really
<Raito_Bezarius> no submodules
<Raito_Bezarius> it's french but
<Raito_Bezarius> > error fetching latest change from git repo at `git://gitlab.com/la-boussole/track-members/track.git':
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):276:47
<Raito_Bezarius> fatal: impossible de se connecter à gitlab.com :
fendor has quit [Read error: Connection reset by peer]
<Raito_Bezarius> gitlab.com[0: 35.231.145.151]: errno=Connection timed out
<Raito_Bezarius> sorry {^_^}
<Raito_Bezarius> I injected the SSH priv key in /var/lib/hydra/.ssh with proper permissions
cyraxjoe has joined #nixos
<Raito_Bezarius> o1lo01ol1o: also, here's the result of journalctl: https://0x0.st/zCAk.txt
<Raito_Bezarius> it's a single machine Hydra cluster
<clever> Raito_Bezarius: `Connection timed out` means that the ip isnt responding, its not an authentication issue
MrCoffee has joined #nixos
<Raito_Bezarius> clever: I thought it was a mystic issue because well, Hydra was able to fetch this repo to get the spec.json
<Raito_Bezarius> but it's not able to fetch it at the next step
<clever> Raito_Bezarius: where exactly are you seeing the error message? what lines are around it?
<Raito_Bezarius> evaluation error on the web interface
<Raito_Bezarius> i'm not exactly sure where I can look it
<clever> Raito_Bezarius: are you doing IFD?
<Raito_Bezarius> I have one job which can do IFD but it was never fetched AFAIK
<Raito_Bezarius> I based my setup on this: https://github.com/shlevy/declarative-hydra-example
<clever> [hydra@nas:~]$ hydra-eval-jobset hydra-example example-unstable-small
<clever> Raito_Bezarius: as the hydra user, run hydra-eval-jobset, and give it a project and jobset name
<clever> what does it output?
<Raito_Bezarius> is there a jobset name in declarative input mode?
<clever> Raito_Bezarius: yes
<clever> Raito_Bezarius: the spec.json stuff just creates a jobset called .jobsets
<Raito_Bezarius> ah, .jobsets and not jobsets
<Raito_Bezarius> thanks
<Raito_Bezarius> so it takes generally more than ~ 5 mn to evaluate
<clever> the release.nix within .jobsets should be a fast one
hyper_ch2 has quit [Remote host closed the connection]
<clever> its only purpose, is to create a json file, that describes your other jobsets
<wedens[m]> g++: error: /nix/store/faybw5875yia1sg36sv84gjvfrwn7q8f-gcc-9.2.0-lib/lib/../lib64/libstdc++fs.a: No such file or directory
<wedens[m]> which derivation do I need?
<wedens[m]> is it gcc-unwrapped? or gcc-unwrapped.lib?
<Raito_Bezarius> clever: my default.nix just output some JSON right
<Raito_Bezarius> so it blocks somewhere else I suppose
<clever> Raito_Bezarius: the eval of .jobsets should be quick then
<clever> Raito_Bezarius: which page is the error actually on?
<Raito_Bezarius> clever: /jobset/track/.jobsets#tabs-errors
<Raito_Bezarius> where track is my project identifier
<Raito_Bezarius> I got the same error as earlier, a connection timed out
<clever> Raito_Bezarius: what happens when you run `hydra-eval-jobset track .jobsets` ?
<clever> Raito_Bezarius: and can you pastebin the nix file that `.jobsets` is running?
<Raito_Bezarius> clever: the error I mentioned above was the result of the `hydra-eval-jobset track .jobsets`
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e48d9e68716 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<Raito_Bezarius> after ~ 5 mn
<clever> Raito_Bezarius: can you pastebin the spec.json file?
<Raito_Bezarius> clever: sure, http://ix.io/27Yi# for default.nix & http://ix.io/27Yj for spec.json
<Raito_Bezarius> (it's not super well written, I'm just trying to make it work for now)
<Raito_Bezarius> I tried to ssh -Tv git@gitlab.com from the Hydr amachine while being hydra user
<Raito_Bezarius> and it workde
<clever> Raito_Bezarius: is it a public or private gitlab repo?
<Raito_Bezarius> a privat eone
<{^_^}> [nixpkgs] @wedens closed pull request #76634 → zenpower: init at 0.1.5 → https://git.io/JeN1r
<Raito_Bezarius> a private one *
<clever> Raito_Bezarius: try using ssh:// instead of git://
<Raito_Bezarius> aaah
<clever> Raito_Bezarius: git:// connects over a git specific protocol, on a different port
<clever> gitlab probably has that port blocked in the firewall
<clever> hence, "connection timed out"
<Raito_Bezarius> well it fixed everything :D
<Raito_Bezarius> now I have something like
<Raito_Bezarius> ommand `nix-prefetch-git /var/lib/hydra/scm/git/63d86dfcb15c53dbedcfa121767191bbc8a968df23f3112cf60aa1b37a223811 f9c4dbdb8a1f810a8ec4f0e3f59d70a6b7ddafcd' failed with exit status 256
<clever> Raito_Bezarius: so the problem, is that hydra-eval-jobset was unable to fetch the input named src, so it couldnt even get your default.nix
<Raito_Bezarius> but I can see the repo being fetched
<fuzen> What is the proper way to configure nginx streams, I have configured it currently by wrapping the config in services.nginx.appendConfig = ''Stream { ... config ... }''; following the configuration example from https://wiki.znc.in/Reverse_Proxy#IRC. The result is my config looks super hacky (any my connections keep dropping).
<Raito_Bezarius> Yeah this I understood but I could not see how to have private keys for spec inputs
<clever> Raito_Bezarius: since the evaluator runs as `hydra` and just runs `git fetch`, it just needs keys in $HOME for `hydra`
<Raito_Bezarius> Yes it was done
<Raito_Bezarius> okay my previous error was stupid, I was in /root as hydra
<clever> ah
dashkal has joined #nixos
<clever> Raito_Bezarius: `sudo -u hydra -i` will cd into the new $HOME for you
<clever> Raito_Bezarius: if you want to see some other examples for declarative jobs, https://github.com/cleverca22/hydra-configs/tree/master/things
<clever> Raito_Bezarius: this repo contains spec.json files for many projects, and code shared between them
<Raito_Bezarius> super nice thank you clever !!
<{^_^}> [nixpkgs] @Mic92 merged pull request #76537 → Merge pull request #76537 from Izorkin/unit → https://git.io/JebrB
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JvIpG
<Raito_Bezarius> clever++
<{^_^}> clever's karma got increased to 313
<clever> Raito_Bezarius: and i got some ideas from nixdroid, on how to make the resulting json, without nixpkgs
<Raito_Bezarius> oh, I was looking for a *android stuff
<clever> Raito_Bezarius: as for why it took 5mins to fail, thats probably the timeout within git, for git://
<Raito_Bezarius> yeah makes sense
<{^_^}> [nixpkgs] @wedens opened pull request #78154 → megacmd: init at 1.1.0 → https://git.io/JvIpZ
<Raito_Bezarius> also quick question clever declInput is an attrset containing what exactly?
<Raito_Bezarius> if I pass a src git repo as input
<Raito_Bezarius> declInput will contain src as which type?
<clever> declInput is the repo spec.json came from
<clever> which lets you skip the src input entirely, if default.nix and spec.json are in the same one
<clever> though ive not played with that aspect
<Raito_Bezarius> hmm okay, but when you declare inputs in the spec.json, where are they passed?
<Raito_Bezarius> but I see okay
<clever> spec.json has all of the config for the jobset called .jobsets
<clever> what inputs to fetch, and what nix file to eval
<Raito_Bezarius> alright I understood
<clever> hydra then adds 1 more input ontop of that, declInput, which is where hydra got that spec.json from
<Raito_Bezarius> because you could have a deployment repo and a source repo
<Raito_Bezarius> I suppose
<Raito_Bezarius> or any kind of complicated setup
<clever> yeah
sigmundv has joined #nixos
<clever> Raito_Bezarius: oh, and also...
<clever> Raito_Bezarius: for each eval, hydra will list what inputs it passed to the default.nix when creating that eval
<Raito_Bezarius> yeah
<Raito_Bezarius> makes sense they're the same basically
<clever> Raito_Bezarius: hydra considers this a no-op, and its producing the exact same store-paths as before, so it didnt even create a new eval#
<Raito_Bezarius> the nixexprinput is a parameter which controls which attrset is selected for the build?
<Raito_Bezarius> you just answered with the last link :D
<clever> it can also be inputs hydra is internally generating, it seems
<Raito_Bezarius> when you have a release.nix with a { trackSrc, nixpkgs, ... }: signature
<clever> the perl script hydra-eval-jobsets, will generate a `--arg nixpkgs '{....}'` as it evals release.nix
<Raito_Bezarius> is it possible to say to hydra, use release.nix, pass my inputs properly and build all jobs in it?
<Raito_Bezarius> does it generate other --arg ?
<clever> it generates one --arg for each input
<Raito_Bezarius> perfect
<clever> with names matching the inputs
<clever> it will also generate -I foo=/bar, for each
<clever> so you can import <nixpkgs>
<Raito_Bezarius> I see
<clever> what exactly is within that set, depends on the type of the input
<Raito_Bezarius> for a git one, it's a { outPath = blabla; etc } ?
<clever> Raito_Bezarius: it will be this perl hashmap, converted into a nix set
<clever> outPath gets added somewhere along the line
<Raito_Bezarius> Alright
<clever> ah, it also explicitely tells you the type of the input
wavirc22 has joined #nixos
<clever> and the plugin can only return certain keys, its not an inteligent translation from hashmap -> set
<clever> Raito_Bezarius: this loop, then converts each input, into a --arg
<clever> or for string type inputs, --argstr
<Raito_Bezarius> Makes sense
<Raito_Bezarius> All that remains is how can I debug why is there no new jobsets after the evaluation of the default.nix?
<clever> Raito_Bezarius: if you `strace -f -e execve hydra-eval-jobset <project> <jobset>` then you can see the full translation, as it executes `hydra-eval-jobs`
<wedens[m]> can someone merge https://github.com/NixOS/nixpkgs/pull/77280 ?
<{^_^}> #77280 (by SuprDewd, 1 week ago, open): google-play-music-desktop-player: 4.6.1 -> 4.7.1
<clever> Raito_Bezarius: once .jobsets has done an eval, it will create a job, that just must then successfully build, creating a spec.json
<clever> Raito_Bezarius: hydra will then parse that, and dynamically create/disable more jobsets, which themselves need to eval
werner291 has joined #nixos
mexisme has joined #nixos
<Raito_Bezarius> i see a .jobsets:jobsets
<Raito_Bezarius> but I don't see new jobsets
<Raito_Bezarius> I guess it's due to how spec.json is generated
<{^_^}> [nixpkgs] @dtzWill opened pull request #78155 → zanshin: 2019-07-28 -> 0.5.71 → https://git.io/JvIp6
<Raito_Bezarius> anyway it's alright clever thank you a lot for everything
<Raito_Bezarius> I'll try to find the root cause myself
<Raito_Bezarius> And will bug you only if I tried everything I could
<clever> Raito_Bezarius: if you check `journalctl -f -u hydra-queue-runner`, you should see info about .jobsets:jobsets
<clever> what do you see?
<Raito_Bezarius> I see something: janv. 21 12:47:23 konpasu hydra-queue-runner[4053]: loading build 2 (track:.jobsets:jobsets)
<Raito_Bezarius> some lines then: janv. 21 12:47:23 konpasu hydra-queue-runner[4053]: marking build 2 as succeeded
<Raito_Bezarius> let me pastebin it
<Raito_Bezarius> https://0x0.st/zCmN.txt
mexisme has quit [Ping timeout: 245 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<clever> Raito_Bezarius: what about `journalctl -f -u hydra-notify` ?
tomberek has joined #nixos
<Raito_Bezarius> bingo
<Raito_Bezarius> janv. 21 12:42:13 konpasu hydra-notify[4052]: ERROR: failed to process declarative jobset track:master, {UNKNOWN}: Can't use string ("g>
<Raito_Bezarius> Can't use string ("git://gitlab.com/la-boussole/tra"...) as a HASH ref while "strict ref>
<Raito_Bezarius> (it's ssh:// in the latest version)
<clever> Raito_Bezarius: go to the build page in hydra, and on the details tab, youll find the $out for it
<clever> Raito_Bezarius: try doing `jq < /nix/store/thatfile` ?
<clever> Raito_Bezarius: oh, i see your problem
<clever> nixpkgs = "git://github.com/NixOS/nixpkgs.git ${nixpkgs-version}";
<clever> inputs = {
<Raito_Bezarius> yes
<clever> Raito_Bezarius: inputs.nixpkgs must be a set, not a string
<Raito_Bezarius> *ah*
<Raito_Bezarius> okay I got it
<clever> Raito_Bezarius: the perl that parses the json has very little typechecking
<clever> Raito_Bezarius: it tried to treat your string as a hashmap, and just exploded
domogled has quit [Quit: domogled]
sigmundv has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
* clever heads off to bed
<Raito_Bezarius> Thanks good night!
<{^_^}> [nixpkgs] @zimbatm pushed to master « nixos/zerotierone: simplify the unit »: https://git.io/JvIhD
fendor has joined #nixos
<{^_^}> [nixpkgs] @zimbatm pushed to master « vncdo: fix build »: https://git.io/JvIje
kenjis1 has joined #nixos
<{^_^}> [nixpkgs] @zimbatm pushed to master « nixos/matterbridge: fix package access »: https://git.io/JvIjv
<{^_^}> [nixpkgs] @zimbatm pushed to master « nixos-rebuild: fix the maybeSudo usage »: https://git.io/JvIjf
<{^_^}> [nixpkgs] @nh2 merged pull request #78133 → libvpx: add patches for CVE-2019-9232, CVE-2019-9325, CVE-2019-9371, CVE-2019-9433 → https://git.io/JvIiS
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to staging: https://git.io/JvIjT
Chiliparrot has joined #nixos
jhadz has joined #nixos
szicari has quit [Ping timeout: 240 seconds]
<wedens[m]> how do I make grub use memtest with EFI support?
qubasa_ has quit [Ping timeout: 240 seconds]
qubasa has joined #nixos
c382feb9 has quit [Ping timeout: 240 seconds]
vidbina_ has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 1000 commits to structured-attrs: https://git.io/JvLen
domogled has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mmahut opened pull request #78156 → vertcoin: init at 0.14.0 → https://git.io/JvLeW
hoobershaggus has joined #nixos
vidbina_ has quit [Ping timeout: 258 seconds]
turbo_MaCk has quit [Quit: WeeChat 2.7]
waleee-cl has joined #nixos
alexherbo25 has joined #nixos
alex`` has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 258 seconds]
alexherbo25 is now known as alexherbo2
<{^_^}> [nixpkgs] @virusdave opened pull request #78157 → unison-ucm 1.0.M1g-alpha -> 1.0.M1h-alpha → https://git.io/JvLer
domogled has joined #nixos
alex`` has joined #nixos
Acou_Bass has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #78158 → jetbrains-mono: 1.0.0 -> 1.0.1 → https://git.io/JvLed
Acou_Bass has joined #nixos
jhadz has quit [Remote host closed the connection]
kenjis1 has quit [Ping timeout: 248 seconds]
euandreh has quit [Ping timeout: 252 seconds]
kenjis1 has joined #nixos
avn has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @lsix opened pull request #78159 → pythonPackages.django_2_1: drop → https://git.io/JvLv3
nek0 has joined #nixos
nek0 has quit [Read error: Connection reset by peer]
work_ has joined #nixos
MrCoffee has quit [Ping timeout: 272 seconds]
nek0 has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @flokli opened pull request #78160 → nixos/buildkite: drop user option → https://git.io/JvLvg
<{^_^}> [nixpkgs] @flokli closed pull request #78140 → nixos/buildkite-agent: set StateDirectory=buildkite-agent, extend vm test → https://git.io/JvI1w
<{^_^}> [nixpkgs] @flokli closed pull request #68378 → Multiple buildkite agent support → https://git.io/Jeqo5
halfbit has quit [Ping timeout: 248 seconds]
domogled has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @zimbatm merged pull request #78160 → nixos/buildkite: drop user option → https://git.io/JvLvg
<{^_^}> [nixpkgs] @zimbatm pushed commit from @flokli to master « nixos/buildkite: drop user option (#78160) »: https://git.io/JvLvX
<{^_^}> [nixpkgs] @ryantm merged pull request #78075 → drawio: 12.4.2 -> 12.5.3 → https://git.io/JvIYe
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvLvQ
<fendor> ,locate sdl2
<{^_^}> Found in packages: codeblocks, guile-sdl2, codeblocksFull, python27Packages.pysdl2, python37Packages.pysdl2
domogled has joined #nixos
tomberek has quit [Ping timeout: 268 seconds]
vk3wtf has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @andir pushed 4 commits to master: https://git.io/JvLvh
<{^_^}> [nixpkgs] @andir merged pull request #78153 → firefox, firefox-bin: 72.0.1 -> 72.0.2, firefox-esr: 68.4.1esr -> 68.4.2esr → https://git.io/JvIxd
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #78161 → joplin-desktop: Add a desktop Item for joplin-desktop → https://git.io/JvLfe
<{^_^}> [nixpkgs] @andir opened pull request #78162 → [19.09] firefox, firefox-bin: 72.0.1 -> 72.0.2, firefox-esr: 68.4.1esr -> 68.4.2esr → https://git.io/JvLff
alex`` has quit [Ping timeout: 258 seconds]
<evanjs> fendor: ironically, SDL2 didn’t show up there, let me check to make sure that’s the right one
alexherbo2 has quit [Ping timeout: 268 seconds]
alexherbo2 has joined #nixos
<fendor> evanjs, thanks :)
Acou_Bass has quit [Ping timeout: 268 seconds]
Rusty1 has joined #nixos
Acou_Bass has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
alexherbo27 has joined #nixos
sigmundv has joined #nixos
alex`` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78163 → gjs: 1.58.3 -> 1.58.4 → https://git.io/JvLfV
<{^_^}> [nixpkgs] @andir pushed commit from @equirosa to release-19.09 « Add myself to maintainers list. »: https://git.io/JvLfw
psyanticy has joined #nixos
gustavderdrache has joined #nixos
<{^_^}> [nixpkgs] @servalcatty opened pull request #78164 → v2ray: 4.22.0 -> 4.22.1 → https://git.io/JvLfo
gkmngrgn has joined #nixos
mexisme has joined #nixos
hoobershaggus has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 272 seconds]
srid has joined #nixos
<Jarva[m]> How do you solve programs looking for files or caches and not being able to find them even though I can see they exist
mounty has quit [Read error: Connection reset by peer]
<srid> survey: what do the CLI folks here use as (persistent) IRC client?
mounty has joined #nixos
<ddima> srid: tmux+irssi.
<__monty__> Jarva[m]: From a nix-build? The sandbox doesn't allow network access.
<srid> I recently switched from emacs (gui) to neovim (cli). Since I already tmux, I'm really loving the tmux+nvim combination. Now I can have full screen terminal on my 5k screen, and be more dexterous with workspace splitting without being let down by emacs' slowness.
<srid> Gonna add IRC to that mix, hence the question.
<__monty__> srid: I like irssi as well. Others swear by weechat. Yet others stick to ERC or Circe.
<Jarva[m]> __monty__: No, for example I have node installed as a nixpkg, installing a lib puts stuff in ~/.cache and then when the script tries to call it, it says it doesn't exist
<__monty__> (I'm assuming the latter work in emacs -nw.)
<srid> Philosophically I seem to be gravitating towards small and efficient tools that do one thing well at a time. I've also switched to suckless terminal (`st`), which is plenty good enough.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78165 → glusterfs: 7.1 -> 7.2 → https://git.io/JvLJk
civodul has quit [Ping timeout: 260 seconds]
<srid> ddima: __monty__ - how do you manage nickserv password in nix config? (i'm using home-manager's irssi configuration)
ddellacosta has joined #nixos
v88m has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @mmahut reopened pull request #78107 → morph: add openssh to buildInputs → https://git.io/JvIls
srid-irssi has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<__monty__> srid: I uses SASL+ssl certs to authenticate.
<{^_^}> [nixpkgs] @andir merged pull request #78162 → [19.09] firefox, firefox-bin: 72.0.1 -> 72.0.2, firefox-esr: 68.4.1esr -> 68.4.2esr → https://git.io/JvLff
<{^_^}> [nixpkgs] @andir pushed 4 commits to release-19.09: https://git.io/JvLJs
<{^_^}> [nixpkgs] @peterhoeg opened pull request #78166 → nixos/lcd: add support for Logitech LCD [WIP] → https://git.io/JvLJc
vidbina_ has joined #nixos
srid-irssi has quit [Quit: leaving]
justanotheruser has quit [Quit: WeeChat 2.6]
srid-irssi has joined #nixos
e has quit [Quit: edk]
srid-irssi has quit [Client Quit]
srid-irssi has joined #nixos
srid is now known as srid-irccloud
srid-irssi is now known as srid
srid has joined #nixos
srid has quit [Changing host]
domogled has quit [Quit: domogled]
srsrsr has joined #nixos
<infinisil> ,dnw Jarva[m]
<{^_^}> Jarva[m]: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's in the relevant files? What's the error? This makes debugging easier and helps getting faster responses
<srsrsr> Hi !
<srid-irccloud> __monty__: there is also https://tools.suckless.org/ii/ - if you want to go more hardcore :)
<srsrsr> I'm stuck with something and did not find where to find for the error. On nixos I'm trying to install a package with opam but this one failed because it could not find the library gmp
<srid-irccloud> something I think `ii` would be more interesting with tmux panes. you can't spread irssi windows across tmux panes.
justanotheruser has joined #nixos
<srsrsr> I'm new to nixos, and a bit lost on how to search for information, if anyone could help me
<__monty__> srid-irccloud: I know. Plan9 design is super interesting. I'm not sure ii's very workable. I suspect any and all customization would be up to you and it probably involves intimacy with the irc protocol.
<srid-irccloud> i'm thinking a reflex-vty frontend to `ii` would be interesting to hack on. cf. https://old.reddit.com/r/haskell/comments/clrg1s/reflexvty_a_library_for_building_functional/
<srsrsr> thanks :)
<infinisil> ,dnw srsrsr
<{^_^}> srsrsr: Provide as much info as possible on problems. What specifically doesn't work? What command did you run? What's in the relevant files? What's the error? This makes debugging easier and helps getting faster responses
<simpson> infinisil: srsrsr used opam instead of ocamlPackages.
<srid-irccloud> nice bot
janneke has quit [Ping timeout: 248 seconds]
<__monty__> I've heard ocaml's hard to work with on nix before.
<Jarva[m]> infinisil: I've encountered it in a few scenarios where scripts try to run other scripts and they're not found. This particular one is when installing the cypress npm package, it caches the binary in ~/.cache/Cypress, when executing the script it tries to call the binary in the location but cannot find the file, when I can confirm it's existence using ls
<srsrsr> On my configuration.nix : environment.systemPackages = with pkgs; [ opam]
janneke has joined #nixos
<simpson> srsrsr: You will have to unlearn language-specific package management to some extent. I have gotten up and running with just (with ocamlPackages; [ ocaml ocamlbuild findlib ])
<__monty__> srid-irccloud: I might ping you come april : >
Chiliparrot has quit [Max SendQ exceeded]
logzet has joined #nixos
<srsrsr> on opam : opam switch create 4.07.1
<simpson> You may want to add in utop, core, etc.
<srsrsr> and I'm trying to
Chiliparrot has joined #nixos
<srsrsr> I'm trying to install conf-gmp
<__monty__> Jarva[m]: Maybe the cache isn't in the PATH? Unless the script refers to it by absolute path?
tomberek has joined #nixos
<infinisil> Jarva[m]: Run `nix-shell -p file --run "file <the executable>"`. What's the elf interpreter it gives you?
<simpson> srsrsr: The direction that you've chosen will also require gmp and other libraries in your environment whenever you want to link against them. In general, this sort of approach leads to environmental pollution.
<__monty__> : o Eco-terrorism! : )
<srsrsr> Which would be the right way to do so ?
orivej has joined #nixos
<simpson> srsrsr: If you need to build a standalone package, nixpkgs has instructions: https://nixos.org/nixpkgs/manual/#sec-language-ocaml Otherwise, try to use precisely the stuff that you need from ocamlPackages. You probably don't actually *need* opam; if all you're doing with it is choosing your versions and packages, then that's what Nix is for.
e has joined #nixos
<Jarva[m]> It's referred to by absolute path infinisil __monty__ https://hastebin.com/zohebuyife.coffeescript
srid is now known as srid-irssi
<srsrsr> simpson: thanks i'll look into that
<infinisil> Jarva[m]: ..and?
srsrsr has quit [Remote host closed the connection]
srid has joined #nixos
<__monty__> infinisil: That's in response to my question about PATH.
<infinisil> Ah
<infinisil> Well then I'm still asking for the same thing Jarva[m]
<__monty__> Jarva[m]: I'm not quite clear on how to read that output. Are you sure spawn isn't the thing that's not found?
<srid> Hello world, from suckless ii (echo this-msg > \#nixos/in) :P
srid-irssi has quit [Quit: leaving]
<DigitalKiwi> i can't get a ninja/meson to use clang it keeps finding gcc?
Acou_Bass has quit [Ping timeout: 272 seconds]
<LinuxHackerman> DigitalKiwi: are you using clangStdenv?
<wedens[m]> does ssh substituter establish new ssh connection for each derivation?
<wedens[m]> seems slow
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a7a85a015c4 (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<DigitalKiwi> LinuxHackerman: yes
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78167 → gnome3.gnome-notes: 3.34.1 -> 3.34.2 → https://git.io/JvLUD
aristid1 has quit [Ping timeout: 272 seconds]
aristid1 has joined #nixos
drakonis1 has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/333c287a4f5 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
Acou_Bass has joined #nixos
<{^_^}> [nixpkgs] @mikesperber opened pull request #78168 → nixos/doc: Rudimentary documentation for Subversion-inside-Apache HTTP. → https://git.io/JvLU7
<Valodim[m]> hmh. cups fails to find a pluggd in usb printer for me :(
<Valodim[m]> it shows up in journalctl as a printer usb device (correct model name and all), and systemd says "reached target Printer"
<Valodim[m]> but cups shows nothing
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78169 → gnome3.gnome-boxes: 3.34.2 -> 3.34.3 → https://git.io/JvLUA
pmiddend has quit [Ping timeout: 268 seconds]
<Valodim[m]> any words of wisdom?
<AmandaC> make sure you have the correct cups driver installed?
<AmandaC> ( And it's listed in the correct nixos option )
<Valodim[m]> shouldn't it at least show the printer in "add printer" as local printer, even if it doesn't have the correct driver installed?
<AmandaC> Not sure?
<srid> (Discard, wrong channel)
<Valodim[m]> that was my assumption based on seeing printers before (on other distros) where I didn't have a correct driver but it allowed me to pick any of the existing ones
gustavderdrache has left #nixos [#nixos]
bvdw has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78170 → groonga: 9.1.0 -> 9.1.1 → https://git.io/JvLTe
<Valodim[m]> should the udev rules work automatically for printer stuff? other distros use an lp group, but there seem to be no udev rules to that effect
qubasa has quit [Ping timeout: 260 seconds]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #65430 → Merge pull request #65430 from pasqui23/zbd → https://git.io/fjylf
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JvLTk
vidbina_ has quit [Ping timeout: 258 seconds]
<Valodim[m]> [CGI] cups-brf must be called as root
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78171 → gnome3.gnome-taquin: 3.34.2 -> 3.34.3 → https://git.io/JvLTY
<Valodim[m]> [cups-deviced] PID 23076 (cups-brf) stopped with status 1!
<Valodim[m]> [cups-deviced] PID 23070 (gutenprint52+usb) stopped with status 1!
<DigitalKiwi> LinuxHackerman: do you know what i'm doing wrong?
<Valodim[m]> that doesn't sound right :)
<evanjs> So is there any reason we _don't_ have a rustPackages section in nixpkgs? Seeing rust packages split between pkgs/development/tools/rust/ and pkgs/tools/package-management/ for example makes it hard to know where to put stuff
<evanjs> looked through the open issues and didn't see one... hrm
ng0_ has joined #nixos
jgeerds__ has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #78172 → mc: 4.8.23 -> 4.8.24 → https://git.io/JvLTs
werner291 has quit [Ping timeout: 268 seconds]
<evanjs> On a related note, do we currently have a way of handling cargo packages with no lockfiles when using buildRustPackage?
<evanjs> I see several cargo-lock patches in tree, but none that add it, which, yeah, makes sense...
kenjis1 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/333c287a4f5 (from 86 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
dm9 has quit [Quit: WeeChat 2.7]
<evanjs> Oh wait nevermind for this case at least. cargo-about _does_ seem to have a lockfile. Must have misread the error message...
ng0_ is now known as ng0
<{^_^}> [nixpkgs] @Mic92 merged pull request #78159 → pythonPackages.django_2_1: drop → https://git.io/JvLv3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvLTw
<evanjs> mmkay that was partly due to me not renaming the name after I copied cargo-license's default.nix, partly me not seeing that their versions aren't prefixed with "v", and partly needing to invoke hash misses....
<evanjs> Is needing to invoke hash misses something we'll always have to do when testing packages like this?
<evanjs> most definitely explaining this wrong :D
<Valodim[m]> figured it out /o/
<tyrion-mx> Hola, I am trying to configure gnome-flashback with i3. The session starts normally but after some seconds it crashes and asks me to log out. The errors are similar to what is here: https://github.com/NixOS/nixpkgs/pull/71212#issuecomment-544207775 "gnome-i3 failed to register before timeout". Can anybody help me debug this?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78173 → guitarix: 0.38.1 -> 0.39.0 → https://git.io/JvLT1
<tyrion-mx> This is what I managed to find in the logs: https://pastebin.com/P416Rr4m
halfbit has joined #nixos
zeta_0 has joined #nixos
boogiewoogie has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78174 → groovy: 2.5.8 -> 2.5.9 → https://git.io/JvLTF
<{^_^}> [nixpkgs] @vbgl opened pull request #78175 → ocamlPackages.utop: 2.4.2 → 2.4.3 → https://git.io/JvLTb
<Valodim[m]> so the printer was recognized, but assigned to the group "adbusers"
kenjis1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78176 → fplll: 5.3.1 -> 5.3.2 → https://git.io/JvLkf
wavirc22 has quit [Ping timeout: 258 seconds]
boogiewoogie has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #78177 → libieee1284: init at 0.2.11 → https://git.io/JvLkT
drakonis1 has quit [Ping timeout: 246 seconds]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @evanjs opened pull request #78178 → cargo-about: init at 0.1.1 → https://git.io/JvLkt
bgamari_ has joined #nixos
kenjis1 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ryantm merged pull request #78147 → Renamed maintainer lucas8 -> dwarfmaster → https://git.io/JvI5s
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvLks
Tucky has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @ryantm merged pull request #78078 → fanficfare: 3.13.0 -> 3.15.0 → https://git.io/JvI34
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvLkc
bgamari_ has quit [Ping timeout: 260 seconds]
kenjis1 has joined #nixos
bgamari_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78179 → gcab: 1.3 -> 1.4 → https://git.io/JvLkz
wavirc22 has quit [Ping timeout: 258 seconds]
wavirc22 has joined #nixos
jgeerds__ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78180 → gnome3.four-in-a-row: 3.34.1 -> 3.34.3 → https://git.io/JvLkV
<{^_^}> [nixpkgs] @ehmry merged pull request #78066 → assimp: 5.0.0 -> 5.0.1 → https://git.io/JvIL5
<{^_^}> [nixpkgs] @ehmry pushed commit from @r-ryantm to master « assimp: 5.0.0 -> 5.0.1 »: https://git.io/JvLkK
halfbit has quit [Ping timeout: 260 seconds]
is_null has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
fusion809 has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @hedning merged pull request #78163 → gjs: 1.58.3 -> 1.58.4 → https://git.io/JvLfV
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to master « gjs: 1.58.3 -> 1.58.4 (#78163) »: https://git.io/JvLkF
<{^_^}> [nixpkgs] @hedning merged pull request #78167 → gnome3.gnome-notes: 3.34.1 -> 3.34.2 → https://git.io/JvLUD
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to master « gnome3.gnome-notes: 3.34.1 -> 3.34.2 (#78167) »: https://git.io/JvLkx
dsx has quit [Quit: dsx]
<kraem> i've built a pkg, and is trying to rebuild it but only get a nix-store path back as a result (it doesn't build). tried deleting the result symlink and gc:ing, trying to rebuild the package again just gives me the same nix-store path back. trying to delete the explicit nix-store path i get that the symlink is censored. what am i doing wrong? https://bpaste.net/P72A
doyougnu has joined #nixos
<{^_^}> [nixpkgs] @hedning merged pull request #78171 → gnome3.gnome-taquin: 3.34.2 -> 3.34.3 → https://git.io/JvLTY
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to master « gnome3.gnome-taquin: 3.34.2 -> 3.34.3 (#78171) »: https://git.io/JvLkp
dsx has joined #nixos
ixxie has joined #nixos
<Squarism> im a little confused by nix-shell. What is its purpose? I expected a shell in a "container" defined by my default.nix.. but still I have access to all of my hosts apps etc?
knupfer has joined #nixos
<andi-> Squarism: very simplified it adjusts your environment to match whatever environment you wanted to enter.. E.g. just add a few packages to PATH, set environment vars, …
<ddima> Squarism: and there is also --pure to clean it a bit more, but it will still not make it "entirely empty except for this one tool"
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @andir merged pull request #77822 → buildRustCrate: remove custom lib path heuristic → https://git.io/JvUxQ
<{^_^}> [nixpkgs] @andir pushed 3 commits to master: https://git.io/JvLI8
zeta_0 has quit [Quit: doing a rebuild switch]
gxt has quit [Ping timeout: 240 seconds]
<clever> knupfer: what does -q --roots say as root?
[Leary] has joined #nixos
Lears has quit [Read error: No route to host]
v88m has joined #nixos
civodul has joined #nixos
chloekek has quit [Quit: WeeChat 2.6]
hpfr has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/5d6da42cf79 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
is_null has joined #nixos
werner291 has joined #nixos
<kraem> clever: was that meant for me? :)
<{^_^}> [nixpkgs] @timokau merged pull request #78176 → fplll: 5.3.1 -> 5.3.2 → https://git.io/JvLkf
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JvLIh
<clever> kraem: oops, yeah
<kraem> clever: thanks! you solved it i think. i was using the executable in that derivation.. going to try to shut it down
<clever> kraem: why do you want to run the build again?
<kraem> just wanted to make sure everything's fine before i make the PR
<clever> kraem: there is also `nix-build --check` to force a rebuild
<Valodim[m]> man, stuff like that :|
<Valodim[m]> on the plus side, my printer problem wasn't nix's fault :)
<kraem> clever: found that one and it built fine. also just wanted to see if i had went insane and misunderstood how everything's working :)
fling has joined #nixos
endformationage has joined #nixos
<clever> kraem: nix will hash all of the build directions to compute what $out should be
<clever> kraem: so if the directions havent changed, it will just reuse the previous build
hpfr has quit [Remote host closed the connection]
<kraem> yes, i was just amazed that even though i deleted the result link it wasn't gc:ed correctly
<kraem> thank you :)
pikajude has quit [Quit: ZNC 1.7.4 - https://znc.in]
pikajude has joined #nixos
<kraem> should i add myself to maintainers before creating my first PR or should i just append that in the PR?
<qyliss> Do it in the same PR, but in a seperate commit.
markus1189 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #78181 → gnugrep: 3.3 -> 3.4 → https://git.io/JvLLR
markus1189 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78182 → hwinfo: 21.67 -> 21.68 → https://git.io/JvLL0
<DigitalKiwi> do it before if you can too so on the offchance i end up git bisecting nixpkgs it won't fail about no creator :P
drakonis1 has quit [Ping timeout: 260 seconds]
<DigitalKiwi> s/creator/maintainer/
<DigitalKiwi> w/e you get it
<kraem> :)
jgeerds__ has joined #nixos
jgeerds__ has quit [Client Quit]
jgeerds has joined #nixos
takeda has joined #nixos
zeta_0 has joined #nixos
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78184 → gnome3.iagno: 3.34.3 -> 3.34.4 → https://git.io/JvLLM
turion has joined #nixos
c382feb9 has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #78185 → nginxMainline: 1.17.3 -> 1.17.8 → https://git.io/JvLLS
<turion> Can I create a nix-shell where some Node.js package is installed?
<turion> Basically, the effects of `npm install -g somepackage` should be give
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78186 → jython: 2.7.1 -> 2.7.2b2 → https://git.io/JvLLd
wildtrees has joined #nixos
fresheyeball has joined #nixos
<fresheyeball> I truely don't get it
<{^_^}> [nixpkgs] @dtzWill opened pull request #78187 → gitAndTools.hub: 2.13.0 -> 2.14.1 → https://git.io/JvLLN
<{^_^}> [nixpkgs] @andir opened pull request #78188 → buildRustCrate: support `rlib` dependency type → https://git.io/JvLLx
<fresheyeball> how can this be infinite recursion
lukash_ is now known as lukash_|away
is_null has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @kraem opened pull request #78189 → rar2fs: init at 1.28.0 → https://git.io/JvLLj
<infinisil> fresheyeball: You're missing some parens
<{^_^}> [nixpkgs] @dtzWill opened pull request #78190 → nudoku: init at 2.0.0 → https://git.io/JvLtf
<infinisil> > [ import ./foo.nix ]
<{^_^}> [ <PRIMOP-APP> /var/lib/nixbot/state/nixpkgs/foo.nix ]
<turion> Alternatively, can I do vscode-with-extensions on an extension that is not on the vscode marketplace?
<arcnmx> fresheyeball: overlays = [ (import ./overlay.nix { inherit compiler isJS; }) ]
kenjis2 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #78191 → Bump wireguard → https://git.io/JvLtk
kenjis1 has quit [Ping timeout: 260 seconds]
<fresheyeball> arcnmx: that didn't do it
<fresheyeball> same error
ixxie has quit [Ping timeout: 268 seconds]
chagra has joined #nixos
is_null has joined #nixos
boogiewoogie[m] has joined #nixos
erasmas has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Lears has joined #nixos
<c382feb9> anyone have this weird error when adding musnix as a channel where enabling it fails to find linuxPackages_4_9_rt?
[Leary] has quit [Ping timeout: 258 seconds]
srid-irccloud has quit [Quit: Connection closed for inactivity]
Shoubit has quit [Quit: Leaving]
opthomasprime has joined #nixos
ubert has quit [Remote host closed the connection]
lovesegfault has quit [Ping timeout: 260 seconds]
<DigitalKiwi> turion: yeah
<DigitalKiwi> use node2nix to get the .nix files after adding a node-packages.json
gagbo has quit [Ping timeout: 268 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
domogled has joined #nixos
<evanjs> Not up to date with android stuff on nixos, but might this be all I need after I have an android env setup? (Per the example shell on the wiki)
<evanjs> I have to wonder if I’m doing something wrong, as many of the example shells don’t mention setting ANDROID_HOME. For context, I al trying to build a gradle package.
<evanjs> gradle2nix also requires ANDROID_HOME to be set
ivar has joined #nixos
kleisli has joined #nixos
Ionut has joined #nixos
Chiliparrot has joined #nixos
<ivar> :D
<ivar> salut cateilor
Ionut has left #nixos [#nixos]
is_null has quit [Remote host closed the connection]
ThatDocsLady has quit [Quit: Leaving]
fendor has quit [Remote host closed the connection]
sigmundv has quit [Ping timeout: 272 seconds]
fendor has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
ivar has quit [Quit: muie , go Undernet]
<fresheyeball> I figured it out
<fresheyeball> its just unintuitve
veske has joined #nixos
<fresheyeball> if you run `import` in nix repl more than once
<fresheyeball> it doesn't actually reload the file
<fresheyeball> you have to leave the repl and re-enter and re-run import
<fresheyeball> to get updates
<{^_^}> [nixpkgs] @globin merged pull request #78187 → gitAndTools.hub: 2.13.0 -> 2.14.1 → https://git.io/JvLLN
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JvLql
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78192 → health-check: 0.03.04 -> 0.03.05 → https://git.io/JvLq8
veske has quit [Client Quit]
leotaku has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
leotaku has joined #nixos
fendor has quit [Ping timeout: 258 seconds]
mexisme has quit [Ping timeout: 272 seconds]
zeta_0 has joined #nixos
zeta_0 has quit [Remote host closed the connection]
hoobershaggus has joined #nixos
zeta_0 has joined #nixos
dingenskirchen has quit [Quit: dingenskirchen]
<fresheyeball> The package location glob 'lib/ghc-api-ghcjs/*.cabal' does not match any files or directories.
<fresheyeball> I don't understand why it's building the compiler at all
<fresheyeball> it should just be cached in 19.09
lsix has quit [Quit: WeeChat 2.6]
zeta_0 has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<evanjs> fresheyeball: how about `:r` in the repl?
zeta_0 has joined #nixos
zeta_0 has quit [Remote host closed the connection]
<fresheyeball> evanjs: I am onto a new issue
<evanjs> Alright lol
pmiddend has joined #nixos
<evanjs> :r is helpful if you end up needing to reload all imports in the repl, anyhow 😊
<fresheyeball> evanjs++
<{^_^}> evanjs's karma got increased to 6
<fresheyeball> learning lots today
drakonis1 has joined #nixos
chagra has quit [Ping timeout: 268 seconds]
<fresheyeball> I restructured my nix code
<fresheyeball> and now ghcjs is borked for some reason
wildtrees has quit [Ping timeout: 265 seconds]
<fresheyeball> if your run `nix-build --arg isJS true`
<fresheyeball> you will get the error if you are curious
chagra has joined #nixos
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 265 seconds]
o1lo01ol_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @kylesferrazza opened pull request #78193 → jdiskreport: cleanup and add desktop item → https://git.io/JvLmC
cosimone has joined #nixos
ambro718 has joined #nixos
cosimone_ has joined #nixos
<evanjs> set ANDROID_HOME to "${androidenv.androidPkgs_9_0.androidsdk}/libexec/android-sdk" and will see if that works
<evanjs> Docs are out of date for this stuff but only a few tweaks I can make atm with my limited knowledge of the android ecosystem on NixOS.
cosimone has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @kraem closed pull request #78189 → rar2fs: init at 1.28.0 → https://git.io/JvLLj
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78195 → homebank: 5.2.8 -> 5.3.1 → https://git.io/JvLmV
logzet has quit [Ping timeout: 260 seconds]
<fresheyeball> evanjs: who are you talking to?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5d6da42cf79 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a7a85a015c4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixpkgs] @kraem reopened pull request #78189 → rar2fs: init at 1.28.0 → https://git.io/JvLLj
chloekek has joined #nixos
lovesegfault has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78196 → jetty: 9.4.24.v20191120 -> 9.4.25.v20191220 → https://git.io/JvLmH
v88m has quit [Ping timeout: 258 seconds]
mexisme has quit [Ping timeout: 272 seconds]
<fresheyeball> ok so I found the problem
<fresheyeball> is not the same as `<nixpkgs>` when on 19.09
<fresheyeball> the <nixpkgs> version works
kaliumxyz has joined #nixos
<fresheyeball> is there a way I can find out what hash my <nixpkgs> represents so I can pin down?
<lordcirth_> fresheyeball, looks like https://github.com/NixOS/nixpkgs/releases/tag/19.09 is d5291756487d70bc336e33512a9baf9fa1788faf ?
<{^_^}> [nixpkgs] @romildo opened pull request #78198 → sane-backends: 1.0.27 -> 1.0.28 → https://git.io/JvLYn
<fresheyeball> chan: import (builtins.fetchTarball {
<fresheyeball> url = "https://github.com/NixOS/nixpkgs/archive/${chan}.tar.gz";
<fresheyeball> })
<fresheyeball> isn't that what I will get when `chan = "19.09"`?
<fresheyeball> 19.09.1292.e1843646b04
mexisme has joined #nixos
<fresheyeball> can I pin to that somehow?
<{^_^}> [nixpkgs] @spacekookie opened pull request #78199 → ###### Motivation for this change → https://git.io/JvLYR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78200 → icmake: 9.02.09 -> 9.03.01 → https://git.io/JvLY0
gustavderdrache1 has joined #nixos
hoobershaggus has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<evanjs> fresheyeball: was adding onto my stuff from earlier. myself and the void lol
<evanjs> and wishing there was a way to build w/gradle right now so I don't have to boot into Gentoo :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78201 → libjpeg_original: 9c -> 9d → https://git.io/JvLYV
gustavderdrache1 has quit [Client Quit]
o1lo01ol1o has quit [Remote host closed the connection]
hoobershaggus has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/87f88b0cad4 (from 73 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
mexisme has quit [Ping timeout: 265 seconds]
<kalbasit> How can I get nix to accept a self-signed certificate when download from a binary cache? I have a root pem that I can add to the ca-cert bundle, would that work?
zupo has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #78203 → gotools: fix the path in the setup-hook → https://git.io/JvLOL
digash has joined #nixos
hoobershaggus has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @guibou opened pull request #78204 → binutils: 2.31.1 -> 2.33.1 → https://git.io/JvLOW
<digash> what does this error means https://dpaste.org/50Ah ?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78184 → gnome3.iagno: 3.34.3 -> 3.34.4 → https://git.io/JvLLM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvLOX
mexisme has joined #nixos
<clever> ,callPackage digash
<{^_^}> digash: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<Vikingman> l
<digash> I am trying to dump package info in the xml from the .nix
<Raito_Bezarius> evanjs: actually I spent a lot of time on making gradle work in Nix
<clever> digash: the file defines a function, you must pass it the arguments it needs before it can produce the data your requesting
<Raito_Bezarius> people in the Status OS project which builds a lot of different stuff coming from a lot of pkg manager decided to roll their own gradle2nix in bash
<clever> digash: callPackage automates that
<Raito_Bezarius> evanjs: https://github.com/status-im/status-react/tree/develop/nix/mobile/android it's the most up to date android env set up I think
<Raito_Bezarius> (notably, it also works for React Native apps which is super cool)
<clever> digash: you can also `nix-instantiate --xml '<nixpkgs>' -A hello --eval --strict`
<Raito_Bezarius> I'd like to contribute back to nixpkgs some way to build arbitrary RN apps like there is some Titanium builder in the android folder
fresheyeball has quit [Quit: WeeChat 2.6]
<digash> clever: sorry, i am confused can you give me an example cmd line that would dump hello.xml
<Raito_Bezarius> But there are a lot of edge cases depending on what you do so it's a bit difficult
<digash> clever: the command above just error: getting status of '.../mxml': No such file or directory
<clever> digash: `nix-instantiate --xml '<nixpkgs>' -A hello --eval --strict`
<digash> clever: yep, that is what i try and it errors with messages above
<clever> digash: exactly as i typed it?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78206 → libhandy: 0.0.12 -> 0.0.13 → https://git.io/JvLOp
nikola_i has joined #nixos
<digash> clever: yep
<clever> digash: can you screenshot the terminal?
<nikola_i> hi i updated firefox from 64 to 69. But when i check firefox --version, i still get 64. how do i use the latest version
<nikola_i> i dont think i need to restart
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/5d6da42cf79 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<digash> clever: https://dpaste.org/2L0c
<evanjs> Raito_Bezarius: thank you, I think licensedAndroidEnv might be the biggest help to me right now :D
<clever> digash: why did --xml turn into mxml?
domogled has quit [Ping timeout: 260 seconds]
<infinisil> nikola_i: How did you upgrade? And what's `which firefox`?
<digash> clever: hmm, am i missing something mxml is repeated twice in your question?
<clever> digash: your irc client is broken, i am saying dash dash x m l
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78207 → languagetool: 4.7 -> 4.8 → https://git.io/JvL3q
<nikola_i> infinisil: i used `sudo nix-env -i nixos.firefox`. i tried it again without sudo. it shows the latest 69.0.1. i guess sudo was the problem
<Raito_Bezarius> evanjs: you're welcome, feel free to mention me if you have any question, I succesfully got some RN app being built with Nix \o/
<Raito_Bezarius> And I'm working to integrate it into a Hydra cluster
<Raito_Bezarius> Also the licensedAndroidEnv in the link I sent you is up to date for now
<digash> clever: weird, i've tried that too and it generated 2GB of output :(
<Raito_Bezarius> But I guess it makes sense to autogenerate them and I posted on the related issue in GitHub (license hashes for android env) a way to automatically regenerate them we could use
<clever> digash: try -A hello.meta
<digash> clever: https://dpaste.org/TnW5 ok, will try .meta now
<digash> clever: that works!
<digash> clever: i do not undersand it, but understanding is not required
cosimone_ has quit [Quit: Quit.]
NoctisLabs has joined #nixos
<digash> clever: thank you!
<clever> digash: your welcome
<{^_^}> [nixpkgs] @jonringer pushed commit from Farkas, Arnold to master « pythonPackages.avro-python3: 1.8.2 -> 1.9.1 »: https://git.io/JvL3l
<{^_^}> [nixpkgs] @jonringer merged pull request #77601 → python3Packages.avro-python3: 1.8.2 -> 1.9.1 → https://git.io/JvJUh
<Raito_Bezarius> clever: hmm, you remember before you've gone to bed, we discussed about Hydra and I fixed most of my issues, except when I'm passing my src through, I get: "string cannot refer to other path" with my source store path, it seems like it's not turned into a real Git input with { outPath = ⋅ ; … }, can I quickly trace the src in the generated jobset?
<clever> Raito_Bezarius: you can freely use builtins.trace within a release.nix
<Raito_Bezarius> will the output be shown in the Hydra web or in systemd logging?
<clever> Raito_Bezarius: both
<Raito_Bezarius> Nice
psyanticy has quit [Quit: Connection closed for inactivity]
<Raito_Bezarius> clever: hmm so the issue seems that trackSrc is some "/nix/store/<x>" path and cleanSource wants a path
<Raito_Bezarius> But during my tests and manually, trackSrc was a { outPath = ./. ; … } and cleanSource liked it
<clever> Raito_Bezarius: what about trackSrc.outPath?
<Raito_Bezarius> I can give it a try
<Raito_Bezarius> But it won't work in fact
<Raito_Bezarius> because Hydra gives me a string
Synthetica has quit [Quit: Connection closed for inactivity]
<Raito_Bezarius> and I expected a attrset with a outPath
wiml has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78208 → kmymoney: 5.0.7 -> 5.0.8 → https://git.io/JvL3Q
<Raito_Bezarius> I mean, it seems like all inputs are just nix store path strings, right?
<clever> Raito_Bezarius: hydra-eval-jobset will generate an attribute set for each input, using the code i previously linked
<Raito_Bezarius> Okay, I have the code under my eyes
<Raito_Bezarius> I'm going to dig and see why
<Raito_Bezarius> Thanks clever
kleisli has quit [Ping timeout: 268 seconds]
<Raito_Bezarius> Is there anything like Hoogle for Nix standard library?
<Raito_Bezarius> I'm trying to use search.nix.gsc.io but it's suboptimal for this
Chiliparrot has joined #nixos
Synthetica has joined #nixos
drakonis1 is now known as drakonis
<{^_^}> [nix] @edolstra pushed to master « Fix derivation computation with __structuredAttrs and multiple outputs »: https://git.io/JvL3F
<Raito_Bezarius> Okay I think I see my error, clever ; I'm trying to cleanSource on a derivation
<Raito_Bezarius> I try to cleanSource on my input but I guess it does not really make sense from a Nix point of view
<Raito_Bezarius> I should rather do the cleanSource on ./. I suppose?
<clever> Raito_Bezarius: yeah, thats usually best
<{^_^}> [nix] @edolstra pushed 25 commits to flakes: https://git.io/JvL3b
<{^_^}> [nixpkgs] @jonringer opened pull request #78209 → python3Packages.ppft: re-enable tests → https://git.io/JvL3x
<{^_^}> [nixpkgs] @jonringer merged pull request #77837 → python3Packages.dash: init at 1.8.0 → https://git.io/JvTIK
<{^_^}> [nixpkgs] @jonringer pushed 7 commits to master: https://git.io/JvL3p
<{^_^}> [nixpkgs] @seppeljordan opened pull request #78210 → pypi2nix: 2.0.3 -> 2.0.4 → https://git.io/JvL3h
<__monty__> Raito_Bezarius: Sadly I don't think there's anything like hoogle except for hoogle.
dansho has quit [Remote host closed the connection]
<Raito_Bezarius> clever: and now I have
<Raito_Bezarius> error: access to path '/nix/store/yf1f4dlar5z3gr4ppiivffkd8wx8g3y6-kixarfqazankhblv5l3k0vdqclj6m5mb-source' is forbidden in restricted mode
<Raito_Bezarius> __monty__: :D
dansho has joined #nixos
<clever> Raito_Bezarius: the hash-hash-source is going to be a purity problem, try adding name = "source"; to cleanSource
<Raito_Bezarius> clever: got it
<Raito_Bezarius> i'm trying
<{^_^}> [nixos-org-configurations] @edolstra pushed to master « Update nix on ceres »: https://git.io/JvLsT
<Raito_Bezarius> clever: didn't fix it
<Raito_Bezarius> huh no nevermind
<Raito_Bezarius> wrong timestamp
<Raito_Bezarius> ah it still failed
<Raito_Bezarius> for the same reason
<clever> Raito_Bezarius: one handy trick, you can run hydra-eval-jobset to force an eval, and see the errors in realtime
<clever> no timestamp issues
<Raito_Bezarius> oh nice, I was just using the web interface but it is infinitely better
<Raito_Bezarius> but how do you force-eval the generated jobset?
<Raito_Bezarius> do you just do hydra-eval-jobset project generated-jobset-name
<Raito_Bezarius> ?
<clever> Raito_Bezarius: yep
<Raito_Bezarius> okay
<clever> Raito_Bezarius: declarative jobsets is just an automated way to create a jobset, and it disables the edit/delete buttons in the gui
<clever> but the jobsets otherwise work as normal
<Raito_Bezarius> I understand, but when the declarative jobset changes, I have to rerun the .jobsets jobset in order to refresh the generated jobsets right?
<Raito_Bezarius> (anyway, it fails with restricted mode, I will try to see what could break purity)
<clever> Raito_Bezarius: only if you change the config for a jobset, or add more
<clever> Raito_Bezarius: if your just changing the release.nix, you can eval the jobset directly
<Raito_Bezarius> Alright
<Raito_Bezarius> FWIW, clever the release.nix is available here: https://gitlab.com/la-boussole/track-members/track/blob/master/release.nix
<Raito_Bezarius> I was trying to do a similar release.nix à la NixOps
<Raito_Bezarius> The line which might break purity is the line 11
cosimone has joined #nixos
<Raito_Bezarius> Otherwise, all the jobs just reuse trackPureSource which I suppose is possible (?)
<clever> Raito_Bezarius: trackPureSource is basically a no-op
<clever> Raito_Bezarius: trackPureSource = gitignoreSource minimalTrackSrc; should have the same effect
kleisli has joined #nixos
<Raito_Bezarius> You're right, I was having it because I had to debug some filter issues
<clever> not sure about the restricted mode error
<Raito_Bezarius> I can give it a try without the explicit derivation
<Raito_Bezarius> I'll try to remove the filtering then
<Raito_Bezarius> maybe it has to be a job?
<clever> Raito_Bezarius: i believe its limited to only paths specified with -I
gkmngrgn has quit [Ping timeout: 246 seconds]
<Raito_Bezarius> clever: hmm I'll try to tinker with it then
<Raito_Bezarius> it seems like w/o manual cleanSource it works
<Raito_Bezarius> but I can only infer that gitignoreSource is going to do some cleanSource at some point
<Raito_Bezarius> So I suppose I'm doing my cleanSource wrong
<Raito_Bezarius> Or is there any IFD behind cleanSource clever ?
<Raito_Bezarius> And Hydra seems to not like IFD IIRC?
<clever> Raito_Bezarius: at eval time, cleanSource will recursively copy the path, and run the nix to figure out what to include/exclude
<clever> Raito_Bezarius: hydra does technically handle IFD, but it runs the derivations at eval time, which can lead to the eval alone taking 4 hours, with zero progress
<Raito_Bezarius> hmm is there a way to avoid IFD for such cases: https://gitlab.com/la-boussole/track-members/track/blob/master/nix/npm/dynamic-node2nix.nix without having to externally regenerate node2nix artifacts files?
pmiddend has quit [Ping timeout: 268 seconds]
<Raito_Bezarius> (i know I'm asking for perfection… :D)
<clever> Raito_Bezarius: not really
<clever> but node2nix is usually fairly fast
<clever> the problem i find, is when you get haskell involved, and it decides to build 3 copies of ghc at eval time
<Raito_Bezarius> :'D
chagra_ has joined #nixos
<Raito_Bezarius> do you know if this is a limitation of Nix which can be mitigated or not in the future?
<Raito_Bezarius> (like is there any issues/proposals to limit this problem and requires some help or whatever?)
<clever> Raito_Bezarius: i would expect cleanSource to work in hydra, check github for hydra and see if any issues exist
chagra has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> I meant regarding IFD stuff & runtime dependency locking
<Raito_Bezarius> but it does not sound like there is an issue on cleanSource in the Hydra GitHub
<Raito_Bezarius> so I think I'm the one who has done something wrong
<Raito_Bezarius> clever++
<{^_^}> clever's karma got increased to 314
<Raito_Bezarius> thank you a lot again, you're amazing
sameerynho has joined #nixos
o1lo01ol1o has joined #nixos
ng0 has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> found some stuff about it: https://github.com/moretea/yarn2nix/issues/102
<{^_^}> moretea/yarn2nix#102 (by michaelpj, 33 weeks ago, closed): Use in restricted mode recently broken
doyougnu has quit [Ping timeout: 260 seconds]
<Raito_Bezarius> Okay I should use canCleanSource apparently: https://github.com/NixOS/nixpkgs/blob/master/lib/sources.nix#L160
drakonis has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @peti pushed to master « shotcut: auto-detection of VAAPI rendering is broken again »: https://git.io/JvLsA
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78169 → gnome3.gnome-boxes: 3.34.2 -> 3.34.3 → https://git.io/JvLUA
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvLsx
<clever> Raito_Bezarius: ah, never seen that before
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78180 → gnome3.four-in-a-row: 3.34.1 -> 3.34.3 → https://git.io/JvLkV
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvLsp
Thra11 has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #78179 → gcab: 1.3 -> 1.4 → https://git.io/JvLkz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvLsh
drakonis has joined #nixos
pmiddend has joined #nixos
chloekek has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> clever: it was not enough due to the nested cleanSourceWith seems like
<Raito_Bezarius> but I guess it does not matter I'll just do some composition
<Raito_Bezarius> and use one cleanSourceWith, that sounds more effective also
<clever> Raito_Bezarius: cleanSourceWith will detect if its being ran on itself, and compose the filters for you
lobre has joined #nixos
chagra_ has quit [Ping timeout: 265 seconds]
lovesegfault has quit [Ping timeout: 268 seconds]
qubasa has joined #nixos
<Raito_Bezarius> that's super cool but if I cannot just do two nested cleanSourceWith :/
chagra_ has joined #nixos
lovesegfault has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
opthomasprime has left #nixos [#nixos]
bvdw has joined #nixos
<Raito_Bezarius> clever: is there a way to dequeue some jobs which looks like stale in hydra?
<{^_^}> [nixpkgs] @schmittlauch closed pull request #77992 → michabo: mark as broken as it's abandoned by upstream → https://git.io/JvkR6
<clever> Raito_Bezarius: there is a cancel non-current builds on the admin menu
<Raito_Bezarius> perfect
<{^_^}> [nixpkgs] @worldofpeace opened pull request #78213 → Pantheon updates jan 21 → https://git.io/JvLG2
<{^_^}> [nixpkgs] @flokli merged pull request #77665 → systemd-networkd: add configuration for XFRM interfaces → https://git.io/JvJ1h
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvLGV
<Raito_Bezarius> super cool it works \o/
<hpfr[m]> I’m patching my kernel with boot.kernelPatches. One of the patches (https://github.com/linux-surface/linux-surface/blob/master/patches/4.19/0006-hid.patch) is very similar to the lines around it, which is why I think nixos-rebuild returns “Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch.” And then the whole build fails. How can I pass in a yes to the apply anyway?
chagra_ has quit [Quit: WeeChat 2.6]
Neo-- has joined #nixos
zualk has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #78190 → nudoku: init at 2.0.0 → https://git.io/JvLtf
<{^_^}> [nixpkgs] @mmahut pushed 4 commits to master: https://git.io/JvLG6
chagra has joined #nixos
nikola_ has joined #nixos
<hpfr[m]> I’ve tried looking at how the patches are applied in kernel.nix, but the option is just defined there not really used
nikola_i has quit [Ping timeout: 260 seconds]
Neo-- has quit [Ping timeout: 268 seconds]
seanparsons has quit [Read error: Connection reset by peer]
seanparsons has joined #nixos
lovesegfault has quit [Ping timeout: 272 seconds]
lovesegfault has joined #nixos
lobre has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @drewrisinger opened pull request #78214 → pythonPackages.nest-asyncio: build without tests → https://git.io/JvLGb
<shyim> Someone an idea how to reset nix-profile? My profile is broken there is a syntax error in /nix/store
chagra has quit [Ping timeout: 268 seconds]
<clever> shyim: try `nix-env --rollback`
<shyim> I have no older generation 🙈
lovesegfault has quit [Client Quit]
<clever> shyim: what is the exact error? what does `nix-env --list-generations` output?
<{^_^}> [nixpkgs] @flokli merged pull request #78134 → nixos/syncthing.nix: Sandbox the systemd service. → https://git.io/JvIi9
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvLGx
<shyim> error: syntax error, unexpected $end, at /nix/store/zcraa72676kj8m0pgbqah5g4a8l61pws-env-manifest.nix:1:1 that file is empty
<shyim> 13 2020-01-17 23:27:28 (current)
<clever> shyim: thats a common issue from an improper shutdown after a nix-env -i/e
<clever> shyim: `ls -l ~/.nix-profile` ?
zeta_0 has joined #nixos
chagra has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #78035 → pythonPackages.runway-python: 0.5.7 -> 0.5.9 → https://git.io/JvkxT
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvLZU
<shyim> .nix-profile ⇒ /nix/var/nix/profiles/per-user/shyim/profile-13-link
<clever> shyim: does it point to profile, or directly to profile-13-link?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shyim> readlink ~/.nix-profile
<zeta_0> hello there, does anyone here use xmonad by itself in nixos, i am having a problem with context menus, every time that i try to do a save, save as, or open file in applications like emacs, atom, or libreoffice it takes me to a blank white screen?
<clever> shyim: what about `ls -l`?
<shyim> # /nix/var/nix/profiles/per-user/shyim/profile-13-link
<clever> shyim: exactly as i typed it
<shyim> thats the complete output lrwxrwxrwx shyim users 52 B Tue Jan 21 22:32:35 2020  .nix-profile ⇒ /nix/var/nix/profiles/per-user/shyim/profile-13-link :D
<zeta_0> i almost forgot here is the issue: https://github.com/xmonad/xmonad/issues/210
<{^_^}> xmonad/xmonad#210 (by zeta-00, 1 day ago, open): blank white screen on save, save as, and open file in applications:
digash has left #nixos ["ERC Version 5.3 (IRC client for Emacs)"]
zualk has quit [Remote host closed the connection]
<clever> shyim: that sounds like a different buf, what does `ls -l /nix/var/nix/profiles/per-user/shyim/profile-13-link` say?
<clever> s/buf/buf/
sondr3 has joined #nixos
<shyim> lrwxrwxrwx shyim users 60 B Fri Jan 17 23:27:28 2020  profile-13-link ⇒ /nix/store/jhlvlrvzc56x567z4f5f32dwd289wjgd-user-environment
<clever> shyim: `rm /nix/var/nix/profiles/per-user/shyim/profile-13-link /nix/var/nix/profiles/per-user/shyim/profile` should completely reset the profile
<shyim> lol it works <3
<hpfr[m]> I found this https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/manual-config.nix which appears to be where the patches are applied. I can’t find a patch command or even some kind of patchFlags option, so applying patches must be completely contained in mkDerivation or something.
<zeta_0> i enabled gtk and compton but that did not solve my issue either, right now i am trying to figure out ways to troubleshoot the issue to find out what is wrong
<shyim> Thanks :)
<hpfr[m]> Can someone more familiar with Nix build paradigms suggest where I could find something to overlay?
chagra has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 260 seconds]
chagra has joined #nixos
<shyim> Do i need to do some other commands? Installed programm seems rip The file '/home/shyim/.nix-profile/bin/go' is marked as an executable but could not be run by the operating system.
<clever> shyim: `file /home/shyim/.nix-profile/bin/go` ?
<shyim> /home/shyim/.nix-profile/bin/go: symbolic link to /nix/store/l98cfjbh7dda7zrvsgy2qpaa4k9qh75i-go-1.13.6/bin/go
<clever> shyim: file /nix/store/l98cfjbh7dda7zrvsgy2qpaa4k9qh75i-go-1.13.6/bin/go
<shyim> /nix/store/l98cfjbh7dda7zrvsgy2qpaa4k9qh75i-go-1.13.6/bin/go: data
<{^_^}> [nixpkgs] @drewrisinger opened pull request #78215 → pythonPackages.dill: enable tests → https://git.io/JvLZ4
<clever> shyim: nix-store --verify-path /nix/store/l98cfjbh7dda7zrvsgy2qpaa4k9qh75i-go-1.13.6
<shyim> path '/nix/store/l98cfjbh7dda7zrvsgy2qpaa4k9qh75i-go-1.13.6' was modified! expected hash 'sha256:121q3lvvp8w3vfk0hg0a300ykci0l1ypibk91w6qvkfv2mfxw0cm', got 'sha256:1632dy39vs28hr59sazqkk4vgbx8wng2c3xgl8p72dk5narjw0yr'
<zeta_0> what is the difference between glx and xrender, the compton option defaults to glx: https://rycee.gitlab.io/home-manager/options.html#opt-services.compton.backend
<clever> shyim: more corrupt things!, your go binary got scrambled
<clever> shyim: `nix-store --repair-path /nix/store/l98cfjbh7dda7zrvsgy2qpaa4k9qh75i-go-1.13.6`
<shyim> now its working :o. lol nix-env command just downloaded it
<shyim> But very thanks :3
<clever> shyim: and then follow up with a `nix-store --verify --check-contents`
<shyim> but is the nix store not readonly. How can this break 🤔
<clever> shyim: an improper shutdown can result in data not being saved, and a failing disk can just corrupt anything
<clever> shyim: you may also want to check `smartctl -a /dev/sda`
<shyim> ok i will do :)
<{^_^}> [nixpkgs] @dywedir merged pull request #78073 → bviplus: 0.9.4 -> 1.0 → https://git.io/JvIq2
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JvLZo
<{^_^}> [nixpkgs] @dtzWill merged pull request #78192 → health-check: 0.03.04 -> 0.03.05 → https://git.io/JvLq8
<{^_^}> [nixpkgs] @dtzWill pushed 2 commits to master: https://git.io/JvLZy
fresheyeball has joined #nixos
<zeta_0> evanjs: i configured all the things they told me on the #xmonad channel, but it has still not fixed my issue, maybe this is a nix problem and i am missing something that provides that functionality
<{^_^}> [nixpkgs] @yvesf closed pull request #65523 → librecad-git: add -git version that supports qt5 → https://git.io/fjyd3
neeasade has joined #nixos
wildtrees has joined #nixos
<neeasade> hi all -- I'm packaging a simple script and am misunderstanding the installPhase
<neeasade> here is my mkDerivation: https://0x0.st/zCSc.txt
<neeasade> when I run this inside a nixos-rebuild test I see: make: *** No rule to make target 'install'. Stop.
fresheyeball has quit [Quit: WeeChat 2.6]
wildtrees has quit [Max SendQ exceeded]
kenjis2 has quit [Ping timeout: 260 seconds]
<clever> neeasade: it should give the path to a .drv file that is failing to build, what does `nix show-derivation` say about that drv?
wildtrees has joined #nixos
<neeasade> clever: thanks -- from there I see a builder -- default-builder.sh
<neeasade> with: source $stdenv/setup; genericBuild
<clever> neeasade: you almost never need a builder.sh file
<neeasade> (is that what I should be looking for?)
<clever> neeasade: does it list an installPhase?
<neeasade> no
<clever> neeasade: then its not using what you put into the pastebin
<clever> neeasade: can you paste the configuration.nix file?
<neeasade> sure, sec
<neeasade> clever: ah I'm looking at the wrong thing -- a copy of the expression not used in configuration.nix
<neeasade> thanks for `nix show-derivation`
<neeasade> til
<zgrep> Strange question, is there a way to temporarily apply a configuration.nix-like file to the current running system? Such that it doesn't show up as a new generation, or anything, just a temporary thing. My particular use case is temporarily making my laptop a DHCP server to play with an external device.
<clever> zgrep: nixos-rebuild test should do that
<neeasade> now I get something interesting -- error: undefined variable 'out' at /etc/nixos/expr/default.nix:19:52
<clever> neeasade: you want $out not ${out}
<zgrep> clever: Mm! Right, thanks!
<neeasade> clever: ty you're the best -- the other thing I had to do was fully specify $out/pb, not just $out
shabius_ has joined #nixos
pmiddend has quit [Ping timeout: 265 seconds]
trevthedev has joined #nixos
<trevthedev> hi all! so i just got an mSATA ssd, and i was wondering if i could just delete my swap and boot partitions, then put those along with a root partition onto the SSD then resize my HDD to fit my /home partition. i'm unsure if that would work
shabius has quit [Ping timeout: 258 seconds]
<trevthedev> i'd have to run nixos-install ofc, but i'm worried that it's going to format or delete my /home directory. i backed up the most imporant things, but i don't really want to go through reinstalling all of my games on steam for example, haha
<Raito_Bezarius> trevthedev: is your /home on another partition?
<Raito_Bezarius> if yes, you could just unmount it during the process (?)
<trevthedev> it's on the same as /
<trevthedev> so i'm unsure how that'll play out
<{^_^}> [nixpkgs] @samueldr opened pull request #78216 → uboot: 2019.10 -> 2020.01 → https://git.io/JvLns
<Raito_Bezarius> i'm not a nix expert, but I think it's not going to touch it because nix responsbility is to set some symlinks and manage /nix
<Raito_Bezarius> my 2cents would be: if you don't set a new user account right away
is_null has joined #nixos
<Raito_Bezarius> it'll never touch your /home/$you
<Raito_Bezarius> because it has no need to do that
<Raito_Bezarius> and /home is not a symlink to /nix/store/<x> AFAIK
<trevthedev> it's not a symlink, no
<Raito_Bezarius> otherwise if you're really curious
<Raito_Bezarius> what filesystem is running on /?
<zeta_0> hmm, whenever i go to emacs and press the tab buttons file and open file and press enter a couple of times it opens up a pdf, so i'm guessing that xmonad is not drawing the context menu that shows the files?
<trevthedev> ext4
<trevthedev> or sorry
<Raito_Bezarius> ah if you were running btrfs or zfs
<Raito_Bezarius> you could have been able to just take a snapshot or stuff like this
<trevthedev> sda1 is /boot, sda2 is swap, and sda3 is /
<Raito_Bezarius> but wait
<Raito_Bezarius> you're having a new SSD right?
<trevthedev> would like to just do sda1 as /boot, sda2 as swap, sda3 as /, and sda4 as /home
<trevthedev> yup
<Raito_Bezarius> so you'll have /dev/sda and /dev/sdb
<trevthedev> ye
<Raito_Bezarius> why not just install nixos on /dev/sdb first without any user accounts?
<Raito_Bezarius> then you resize /dev/sda once you confirmed everything was fine
<Raito_Bezarius> then you create the user account in configuration.nix without mounting /dev/sda
<trevthedev> i'm unsure of the effects of that, what would that do to benefit me? I'm installing it onto the SSD anyway, i just was going to move my config over and install, then resize
<Raito_Bezarius> trevthedev: if you never use /dev/sda it'll never "corrupt" your home partition
<trevthedev> issue is that there isn't a home partition, i need to go ahead and make one
<Raito_Bezarius> it's not really mandatory AFAIK
<Raito_Bezarius> you could fit everything on /dev/sdb if you wish
<trevthedev> i can't xd
<Raito_Bezarius> why?
<trevthedev> the ssd is 128gib, hdd is 750gib
<Raito_Bezarius> but do you want /home to take 750 GiB ?
<trevthedev> yes
<Raito_Bezarius> so you don't care, you can just install nixos on /dev/sdb without ever mounting your home partition during the process
<Raito_Bezarius> and then afterwards, you resize, you create the user account without mounting, then you add in hardware-config the endpoint to /home
<trevthedev> again that's what im doing, but i need to first actually make the home partition. i dont have one.
<Raito_Bezarius> and everything is connected ™
<clever> trevthedev: id say the simplest option, is to boot the nixos livecd, format and mount sdb1 to /mnt, and then mount sda4 to /mnt/home
<clever> trevthedev: and then procede with the install as normal
<trevthedev> wouldn't that keep the other partitions in the HDD though?
<Raito_Bezarius> it does not matter
<Raito_Bezarius> you can erase them after
<clever> trevthedev: once you confirm the new disk can boot, you can delete the old stuff
<Raito_Bezarius> and resize /dev/sda4
<trevthedev> true
<trevthedev> but
<trevthedev> sda3(not 4 in this case, i dont have an sda4) has /, not /home
<trevthedev> there is no /home partition
<Raito_Bezarius> and?
<Raito_Bezarius> ah
<Raito_Bezarius> right
pie_ has joined #nixos
<clever> trevthedev: ah yeah, youll want to move /mnt/home/home/trevthedev to /mnt/home/trevthedev after you mount it
<trevthedev> i guess yea
<trevthedev> wouldn't it be easier to just change the partition to only /home? issue is that i don't know how to do that, haha
chagra has quit [Ping timeout: 258 seconds]
<Raito_Bezarius> the sda3 ?
<trevthedev> ye
<clever> trevthedev: thats basically all `move /mnt/home/home/trevthedev to /mnt/home/trevthedev` is doing, once you delete the other stuff
<Raito_Bezarius> just remove everything except /home
<trevthedev> Raito_Bezarius good point lol
<Raito_Bezarius> and move it like clever says
pie_[bnc] has quit [Quit: No Ping reply in 180 seconds.]
<trevthedev> welp, am about to go ahead and do this. wish me luck(might somehow magically screw things up despite following directions just fine XD), will be afk until logging in on mobile
<Raito_Bezarius> clever: sorry to bug you again, do you know if patchShebangs can fail?
<Raito_Bezarius> trevthedev: do a backup
Guest41 has joined #nixos
<trevthedev> can only backup so much
Guest41 has quit [Excess Flood]
<trevthedev> i don't have any other drives to backup to
<clever> Raito_Bezarius: dont think it can really fail, but it can not do what you want
<Raito_Bezarius> trevthedev: backup the most critical files at least
<trevthedev> so i just kinda compressed my work data and sent it to myself over telegram XD
<Raito_Bezarius> clever: i have some npm script and I ran patchShebangs and it still complains with /usr/bin/env: bad interpreter: no such file or directory
habbah has quit [Ping timeout: 245 seconds]
<trevthedev> worst case scenario i just have to reinstall all of my games and i lose my dwarf fortress worlds, haha
<Raito_Bezarius> trevthedev: tarsnap can help you
<clever> Raito_Bezarius: is the script actually being patched?
<Raito_Bezarius> unsure, it works locally using nix-build ; but on Hydra it is failing
trevthedev has left #nixos ["WeeChat 2.6"]
pie_[bnc] has joined #nixos
pie_[bnc] has joined #nixos
pie_[bnc] has quit [Changing host]
<clever> Raito_Bezarius: is your sandbox enabled?
habbah has joined #nixos
<Raito_Bezarius> it is relaxed
<Raito_Bezarius> locally it is disabled
<clever> Raito_Bezarius: thats why
<clever> Raito_Bezarius: /usr/bin/env doesnt exist when the sandbox is on
<Raito_Bezarius> *ah*
<Raito_Bezarius> damn
<Raito_Bezarius> so I suppose the canonical way to fix this is to properly patch the script
knupfer has quit [Ping timeout: 248 seconds]
trevthedev has joined #nixos
<clever> it sounds like the script is never actually being patched
pie_ has quit [Quit: pie_]
<trevthedev> Aye, am on mobile now
<trevthedev> Time to do this lol
LouisDK has joined #nixos
<Raito_Bezarius> clever: patchShebangs follows symlinks or not?
<LouisDK> Does anyone know why chromium does have "enableParallelBuilding" enabled? Asking because I don't have a machine atm powerful enough to build it without it taking days.
<clever> Raito_Bezarius: not sure, never tried it on a symlink
<trevthedev> Okay so to clarify. I install NixOS onto the SSD, and then after the install is done I somehow specify the /home is in the hard drive? I assume I need to use hardware.nix for that?
<Raito_Bezarius> clever: gonna read the source code, thanks
<{^_^}> [nixpkgs] @dtzWill merged pull request #76767 → spectral: unstable 2019-08-30 -> 817, olm: cmake+clean → https://git.io/JexeS
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/JvLnz
<Raito_Bezarius> trevthedev: you shouldn't if you just mount and use nixos-generate-config
<clever> trevthedev: if you mount your home partition to /mnt/home, nixos-generate-config will put the right entry into hardware-configuration.nix for you
<Raito_Bezarius> it'll pick up paths, filesystems, UUID automatically
<trevthedev> Ah right
kvda has joined #nixos
ambro718 has quit [Quit: Konversation terminated!]
<Raito_Bezarius> okay I see thanks clever
kreisys has quit [Read error: No route to host]
<{^_^}> [nixpkgs] @MarcFontaine opened pull request #78217 → gavrasm: init at 4.5 → https://git.io/JvLnr
alexherbo27 has quit [Quit: The Lounge - https://thelounge.chat]
alex`` has quit [Quit: WeeChat 2.7]
<trevthedev> So during mounting process, I run `mount /dev/sda3 /mnt/home`, correct? I just want to verify lol
<trevthedev> Or couldn't I just delete sda1 and sda2 then resize, then mount that "sda1"?
ddellacosta has quit [Quit: WeeChat 2.2]
neeasade has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Raito_Bezarius> you could too
<clever> trevthedev: you could do that resizing first, but then there is no undo
<clever> trevthedev: also make sure to save anything in /etc that may be of value
<trevthedev> wym no undo? Like I wouldn't lose all my data would I?
<trevthedev> I don't have anything in /etc that I wrote personally besides my config itself ^^
<clever> trevthedev: more, that if your new ssd doesnt boot, you cant just go back to the old one, if the old /boot is toast
<trevthedev> Ah. But would I lose the data in my home directory if I did that though
<clever> trevthedev: only if you delete the partition home is on
<trevthedev> Alright
ddellacosta has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
<trevthedev> For some reason I can't resize the /dev/sda3? It's not mounted or anything, I deleted the other partitions which gives me 2GiB more, and I tried to resize for that and it just won't let me, haha.
<trevthedev> It's just 2GiB I suppose lol
<{^_^}> [nixpkgs] @jonringer merged pull request #78214 → pythonPackages.nest-asyncio: build without tests → https://git.io/JvLGb
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.nest-asyncio: build without tests »: https://git.io/JvLnF
<clever> trevthedev: does it give an error?
<trevthedev> I dunno, I'm not gonna write that. Just gonna keep the older partitions XD
<trevthedev> Yeah, says that the max size is a specific number, that number is exactly the same size as the home dir is currently.
<clever> trevthedev: how are you resizing it?
<trevthedev> cfdisk, haha. Would use fdisk but I'm hyper anxious so I'd end up accidentally hitting the wrong thing or something and not noticing, haha
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> trevthedev: what does `fdisk -l /dev/sda` report?
Guest41tttt has joined #nixos
Guest41tttt has quit [Excess Flood]
Guest41tttt has joined #nixos
<trevthedev> Can't show results, but gives a number of bytes larger than cfdisk said I can write. I'm just gonna not worry about it.
<clever> trevthedev: why cant you pastebin?
<trevthedev> I could actually yeah, I'm just going to keep the extra partitions to be safe though.
LouisDK has quit [Remote host closed the connection]
ixxie has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.2]
gustavderdrache has joined #nixos
<trevthedev> Ha, so I failed to set LoaderSystemToken EFI Variable, because there's "no space on the device". Yet sdb1 isn't full at all
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/JvLcR
<clever> trevthedev: efi variables arent on sdb1
<trevthedev> Oh?
<clever> trevthedev: efi variables are in /sys/firmware/efi/efivars
<trevthedev> Nothing else is full either besides /dev/root and /dev/loop0
o1lo01ol_ has joined #nixos
<trevthedev> For whatever reason running the install again fixed it? But now it throws the error "Failed to test system token validity: no data available"
<clever> trevthedev: double-check `efibootmgr -V` and see if it looks good
<trevthedev> says version 17
pankaj__ has joined #nixos
<clever> trevthedev: oops, -v
<trevthedev> It has a ton of BOOT00xx and then hardware stuff along with venmsg, boot order, etc everything seems in order.
<clever> trevthedev: and is the one at the start of bootorder, matching up with the uuid of your new /boot?
o1lo01ol1o has quit [Ping timeout: 265 seconds]
<trevthedev> no clue how to check, sorry. The boot order number is 006
<trevthedev> 0006*
<clever> trevthedev: and there should be a boot0006 line
<trevthedev> Where?
nikola_ has quit [Ping timeout: 260 seconds]
<clever> trevthedev: in the output from `efibootmgr -v`
<trevthedev> Yes, that's where I got the 0006 from
<clever> trevthedev: what does bootorder say?
<trevthedev> A command called bootorder, or just the output of efibootmgr -v?
<clever> trevthedev: the bootorder line from `efibootmgr -v`
<trevthedev> 0006
<trevthedev> That's where I got the 0006 from ^^
<clever> trevthedev: and then compare the uuid of boot0006, with `blkid /dev/sdb1`
<trevthedev> YYUD is 6423-1FB9
<trevthedev> UUID*
<clever> do they match?
<trevthedev> no
<clever> can you pastebin the output from both>
<trevthedev> Sure thing
ddellacosta has joined #nixos
<trevthedev> 0x0.st/zCSt.txt
<trevthedev> and for efibootmgr, 0x0.st/zCSv.txt
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #78219 → chromium: enable parallel building → https://git.io/JvLcX
<clever> trevthedev: that says that the top priority for booting, is your cdrom
<clever> you want to look at the next entry in bootorder
<clever> trevthedev: looks like that bios is just completely ignoring the os, youll just have to reboot and see what happens
<trevthedev> nothing in bootorder matches 6423-1FB9 though
<trevthedev> Hmm
<trevthedev> Alright
<clever> uefi is a giant mess
<clever> the design can be very powerful
<clever> then vendors go and screw up the implementation :P
<trevthedev> Fair enough, haha
<clever> i have seen cases where it refuses to even boot linux
<clever> because the bios is hard-coded to the filename windows used
<clever> you had to rename the .efi file ot match windows
<trevthedev> ah
<trevthedev> Well, that didn't change much
<trevthedev> UUID of sdb1 is just different
<trevthedev> 6423-1FB9
<clever> does it boot from sdb1?
is_null has quit [Read error: Connection reset by peer]
<trevthedev> It will once the OS is installed, or at least that's the idea
<trevthedev> sda1 is /boot
__monty__ has quit [Quit: leaving]
fendor has joined #nixos
o1lo01ol_ has quit [Ping timeout: 260 seconds]
pankaj__ has quit [Quit: Leaving]
<zeta_0> someone from the #haskell channel helped fix my issue, it turns out that my file selection dialogs would render to big, that is why it looked like a blank white screen
<trevthedev> I reformatted the partition, I think I just formatted it wrong last time lol
<trevthedev> Nope,. "failed to set LoaderSystemToken EFI Variable: no space left on device"
o1lo01ol1o has joined #nixos
m0rphism has quit [Ping timeout: 260 seconds]
<zeta_0> i think i need to change the GTK pixel px size to permanently fix this, but when i got to the files in /home/zeta/.config/gtk-3.0 , they are read only
<trevthedev> OH I KNOW
<trevthedev> Ha I'm dumb
<{^_^}> xmonad/xmonad#210 (by zeta-00, 1 day ago, open): blank white screen on save, save as, and open file in applications:
xelxebar has quit [Ping timeout: 240 seconds]
<trevthedev> Done!
xelxebar_ has joined #nixos
qubasa_ has joined #nixos
<evanjs> zeta_0: maybe services.xserver.dpi or similar? can't really tell just from that
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78220 → m4rie: 20150908 -> 20200115 → https://git.io/JvLCT
<evanjs> if it is dpi, this site might help -- http://dpi.lv/
<trevthedev> `mv /home/home home/`
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/87f88b0cad4 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nix] @edolstra pushed to flakes « Fix GitHub test »: https://git.io/JvLCk
<{^_^}> [nixpkgs] @marsam merged pull request #78158 → jetbrains-mono: 1.0.0 -> 1.0.1 → https://git.io/JvLed
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvLCI
ng0 has joined #nixos
ng0 has joined #nixos
ng0 has quit [Changing host]
qubasa has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #78064 → mutagen: init at 0.10.2 → https://git.io/JvIIp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvLCL
<Raito_Bezarius> clever: for some reason, I tried the "reproduce locally" feature on Hydra
<Raito_Bezarius> I set up the same sandbox level on both machines
<Raito_Bezarius> and it build locally but not on Hydra :D
<Raito_Bezarius> the patchShebangs worked locally and picked up the script
<Raito_Bezarius> but on Hydra it never does
<hpfr[m]> I put fetchFromGitHub in the arguments in my configuration.nix and I get attribute missing when I try to use it, is there something else I have to pass in?
<Raito_Bezarius> hpfr[m]: what are you passing?
<Raito_Bezarius> ah
<clever> Raito_Bezarius: do they both produce the same $out?
<clever> hpfr[m]: you want pkgs.fetchFromGitHub
<{^_^}> [nixpkgs] @marsam merged pull request #78071 → diffoscope: 133 -> 135 → https://git.io/JvItx
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvLCq
sondr3 has quit [Quit: WeeChat 2.7]
<zeta_0> evanjs: i have already set the dpi(after doing some calculations) to correctly scale with my monitor, so i don't want to change it, i thought those selection dialogs are related to GTK?
<{^_^}> [nixpkgs] @marsam merged pull request #78170 → groonga: 9.1.0 -> 9.1.1 → https://git.io/JvLTe
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvLCm
<hpfr[m]> Thanks!
<Raito_Bezarius> clever: is there an easy way to inspect the $out on hydra?
<Raito_Bezarius> ah
<Raito_Bezarius> /nix/store
<Raito_Bezarius> yes
<Raito_Bezarius> exactly same output store paths
<clever> Raito_Bezarius: try `nix-store -r /nix/store/foo.drv --check`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78221 → libpst: 0.6.72 -> 0.6.74 → https://git.io/JvLCO
<Raito_Bezarius> error: some outputs of '/nix/store/5430r8jm7rpfb1a55lw48l493hinz6zb-node_track-0.0.1.drv' are not valid, so checking is not possible
<Raito_Bezarius> clever:
<Raito_Bezarius> because I suppose the postInstall was not fully executed
Guest41 has joined #nixos
<clever> Raito_Bezarius: try `nix-store --delete /nix/store/foo` then just plain `nix-store -r /nix/store/foo.bar`
<Raito_Bezarius> I should the derivation right?
<Raito_Bezarius> +delete
<clever> Raito_Bezarius: delete the $out, then -r the drv
<Raito_Bezarius> okay
mexisme has quit [Ping timeout: 268 seconds]
jgeerds has quit [Ping timeout: 272 seconds]
<Raito_Bezarius> clever: same failure on Hydra
trevthedev has quit [Remote host closed the connection]
<Raito_Bezarius> the patching step pick up no scripts
<Raito_Bezarius> same failure as on the Hydra I meant
<Raito_Bezarius> and it seems like the target script is indeed executable but is not picked up by patchShebangs
<clever> Raito_Bezarius: then you had a previous non-sandboxed build still in your /nix/store, and didnt reproduce anything locally
Guest41tttt has quit [Quit: Textual IRC Client: www.textualapp.com]
trevthedev has joined #nixos
<Raito_Bezarius> okay this could be the answer then
<Raito_Bezarius> i'll garbage collect and will pause work on it for now, thank you clever
kleisli has joined #nixos
Synthetica has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #78222 → m4ri: 20140914 -> 20200115 → https://git.io/JvLCu
zeta_0 has quit [Quit: rebuilding]
<{^_^}> [nixpkgs] @marsam merged pull request #76216 → asciidoctorj: 2.1.0 -> 2.2.0 → https://git.io/JvLCa
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvLCV
cosimone has quit [Ping timeout: 245 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3bf9cc3154c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @jonringer merged pull request #78145 → pythonPackages.pyparsing: improve tests → https://git.io/JvI9a
<{^_^}> [nixpkgs] @jonringer pushed commit from @kamadorueda to staging « pythonPackages.pyparsing: improve tests »: https://git.io/JvLCi
fosskers has joined #nixos
<fosskers> Hi there
<{^_^}> [nixpkgs] @jonringer merged pull request #78012 → pythonPackages.denonavr: init at 0.7.10 → https://git.io/Jvkyx
<{^_^}> [nixpkgs] @jonringer pushed commit from @colemickens to master « pythonPackages.denonavr: init at 0.7.10 »: https://git.io/JvLCX
<fosskers> I'd like to be able to represent `nix-env -i certbot -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixpkgs-unstable.tar.gz` in my `/etc/nixos/configuration.nix`. Is that possible?
<fosskers> To be clear, I want to install the unstable (newest) version of that just that package.
<{^_^}> [nixpkgs] @jonringer merged pull request #78011 → pythonPackages: add `plexauth`, `plexapi`, `plexwebsocket` → https://git.io/JvkyN
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JvLC1
<fosskers> Otherwise, I'm pinned to stable.
<{^_^}> [nixpkgs] @jonringer merged pull request #78111 → fluidasserts: 20.1.22554 -> 20.1.28253 → https://git.io/JvI26
<{^_^}> [nixpkgs] @jonringer pushed commit from @kamadorueda to master « fluidasserts: 20.1.22554 -> 20.1.28253 »: https://git.io/JvLCM
mexisme has joined #nixos