worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<mmlb[m]> Hey all, I'm having issues with my openvpn service config all of a sudden. I'm running nixos-unstable and I tried updating yesterday and all of a sudden my `up = "...";` script is causing an error with the following error message: "cannot coerce a list to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/services/networking/openvpn.nix:16:18" and if I try changing it to `up = [ "..." ];` the error
<mmlb[m]> changes to: The option value `services.openvpn.servers.admin.up' in `/etc/nixos/openvpn.nix' is not of type `strings concatenated with "\n"'
<mmlb[m]> any clues for me?
<{^_^}> #97438 (by pbogdan, 1 day ago, merged): nixos/openvpn: path now requires conversion to a string
<mmlb[m]> infinisil: welp :/ thanks. My github-search-fu totally failed me
<{^_^}> [nixpkgs] @Infinisil pushed commit from @pbogdan to release-20.09 « nixos/openvpn: path now requires conversion to a string »: https://git.io/JUCfA
<juliusdeane> how would I go about installing MATLAB on nixos? it's proprietary and doesn't seem to be in nixpkgs.
<{^_^}> #56887 (by tycho01, 1 year ago, open): package request: Matlab
koh has joined #nixos
<CyberManifest> can Matlab be gotten from Wolfram ?
<CyberManifest> is there a Wolfram package ?
<juliusdeane> simpson: tsym, I'll give it a whirl
<{^_^}> [nixpkgs] @ajs124 opened pull request #97612 → firefox-esr-68: drop → https://git.io/JUCJf
<juliusdeane> CyberManifest: I don't think wolfram and matlab are related
<juliusdeane> maybe you're thinking of mathematica?
<CyberManifest> juliusdeane: yeah I was mistaken
mariatsji has joined #nixos
<CyberManifest> juliusdeane: you can itnterface them though
<juliusdeane> haha I tried the default linux installer already
<juliusdeane> it's definitely clueless about how things work on nixos lol
alchemist___ has joined #nixos
mariatsji has quit [Ping timeout: 244 seconds]
alchemist___ has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 258 seconds]
<CyberManifest> juliusdeane: can you do an install on nixos as you would similar to arch? I don't use NixOS so I'm not familiar ... but if you can then this may be helpful: https://wiki.archlinux.org/index.php/MATLAB
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
stiell has quit [Ping timeout: 258 seconds]
alchemist___ has joined #nixos
Blackraider has left #nixos ["WeeChat 2.7.1"]
<alchemist___> I just received a wifi usb adapter and I really don't know how to make it work on nixos
<juliusdeane> CyberManifest: not quite. Unlike arch, the paths to everything aren't what a normal linux program would expect, which is part of the reason why we need special nix configurations
stiell has joined #nixos
<juliusdeane> alchemist___: what type is it?
<alchemist___> juliusdeane: It's a TP-link and the model is TL-WN821N
<CyberManifest> juliusdeane: can things not be repackaged in nix fashion ?
<samueldr> sure, but proprietary things are messy
<juliusdeane> exactly
<CyberManifest> yes arch found a way
<juliusdeane> alchemist___: this might be of use, idk: https://github.com/NixOS/nixpkgs/pull/82032
<samueldr> arch still is mostly FHS, so it's not close to being as foreign as NixOS would be
<{^_^}> #82032 (by Ralith, 26 weeks ago, merged): linuxPackages.rtl88x2bu: init at 2020-03-05
<CyberManifest> samueldr: FHS ?
<samueldr> juliusdeane: I guess you'll need to grep for patchelf and autopatchelf in Nixpkgs for some clues :|
<samueldr> even more
<CyberManifest> samueldr: ah
<samueldr> it's LSB compliant!
<samueldr> (for which FHS is a criteria IIRC)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JUCJR
<CyberManifest> samueldr: so nixOS develops it's own standards or it's also FHS compliant?
<samueldr> well, not exactly LSB-compliant, but much closer
<CyberManifest> elf binaries ?
<samueldr> ELF binaries are standard binaries on many platforms, including Linux
<CyberManifest> so including NixOS
<samueldr> NixOS doesn't have a "standard" equivalent to the FHS, hard to explain, but if needed you sometimes can fake an FHS-like structure
<samueldr> e.g. steam-run does it
<CyberManifest> samueldr: so something similar to BusyBox ?
<samueldr> what?
<samueldr> busybox implements parts (all?) of the POSIX commands, like coreutils does
<samueldr> they're not really relevant to FHS
<samueldr> FHS is, strictly speaking, the way directories are structures, and their use
<{^_^}> [nixpkgs] @drewrisinger opened pull request #97613 → verilog: cleanup → https://git.io/JUCUU
<Jake[m]> Is there a way to disable lvm2 on NixOS?
<CyberManifest> right, so NixOS is FHS compliant or FHS-like, similar to how Linux is POSIX compliant where BusyBox is POSIX-like compliant
<CyberManifest> ?
<samueldr> not at all
<CyberManifest> Not at all FHS compliant ?
<samueldr> you'll have to read more about what POSIX defines (multiple things) to see where it fits, and what busybox and coreutils are
<CyberManifest> so it's not really GNU/Linux ?
<samueldr> you're getting concepts awfully mixed here
<CyberManifest> I know what BusyBox, and coreutils are
<samueldr> NixOS does not respect the FHS, by design
Blackraider has joined #nixos
Blackraider has quit [Remote host closed the connection]
<CyberManifest> so it isn't fairly GNU/Linux certified
<samueldr> I'm not sure you do considering you're getting the FHS mixed up with Busybox, and there is no reason to
<infinisil> Jake[m]: It's "enabled" by default?
jumper149 has quit [Quit: WeeChat 2.9]
<infinisil> What does that mean?
<CyberManifest> samueldr: I do analogy comparisons to comprehend other new things
<simpson> The FSF doesn't certify many distros; https://en.wikipedia.org/wiki/GNewSense is the only one, I think. We meet RMS's definition of GNU/Linux, *when* a GNU userland is used. So it's the user's choice as to whether they'll have GNU/Linux or a custom userland.
<samueldr> GNU/Linux certified is not really a thing
<Jake[m]> infinisil: It's enabled in the sense that `lvm2-activation.service` is a dependency of `systemd-udev-settle.service`, and it gives me a message when I boot `lvm2-activation-generator: lvmconfig failed`
<Jake[m]> I'm tryna make my computer start up fast
<CyberManifest> only that userland fails with proprietary mess where other user lands succeed
<CyberManifest> adoption of standards makes sense
<CyberManifest> pave your own path and you pay the price
<{^_^}> [nixpkgs] @superherointj opened pull request #97614 → nixos/dmidecode: added recommended patches → https://git.io/JUCUi
zeta_0 has quit [Quit: rebooting]
Darkmatter66 has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3b50998b4fa (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<infinisil> Jake[m]: `disabledModules = [ "tasks/lvm.nix" ];` seems to do it
<kandinski> I don't know what I did and how I did it, but it seems I've managed to break nix: https://termbin.com/a5vq
<Jake[m]> infinisil: you freaking rock
<infinisil> :)
<infinisil> Jake[m]: Btw I recommend looking at `systemd-analyze plot > plot.svg; firefox plot.svg` to see what's slowing boot down
alchemist___ has quit [Remote host closed the connection]
<Jake[m]> Yeah that's how I grew suspicious of udev settling
<Jake[m]> We'll see how it shakes out after I rebuild and reboot.
<kandinski> Advice appreciated.
<infinisil> ,fancyUninstall kandinski
<{^_^}> kandinski: Fancy way to uninstall packages, needs fzf installed: nix-env -q | fzf | xargs -I{} nix-env -e {}
<{^_^}> infinisil: Did you mean fancy-uninstall?
<infinisil> Maybe try that
<kandinski> infinisil and {^_^}, thanks!
cript0nauta has joined #nixos
zeta_0 has joined #nixos
alchemist___ has joined #nixos
Darkmatter66 has joined #nixos
ddellacosta has quit [Quit: WeeChat 2.8]
maier has joined #nixos
alchemist___ has quit [Remote host closed the connection]
CyberManifest has quit [Quit: Leaving...]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97608 → lxpanel: fix build by switching to gdk-pixbuf-xlib → https://git.io/JUcjC
alchemist___ has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JUCTz
maier has quit [Ping timeout: 246 seconds]
<alchemist___> juliusdeane: so I installed the driver as mentionned in the issue you linked. I see my current wifi adapter (the one my laptop has) but the usb one is not listed as a network interface
<{^_^}> [nixpkgs] @wkral opened pull request #97615 → jwt-cli: fix build → https://git.io/JUCTo
vifon has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 27.1]
dbmikus has quit [Ping timeout: 264 seconds]
Darkmatter66 has quit [Ping timeout: 258 seconds]
Darkmatter66 has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
<Rusty1> alchemist___: lsusb sees it ok?
h0m1 has quit [Ping timeout: 240 seconds]
<alchemist___> So i used to see it but now the output of lsub is weird: https://ibb.co/NyCQvNd
h0m1 has joined #nixos
<alchemist___> I added `boot.extraModulePackages = with config.boot.kernelPackages; [ rtl8192eu ];` to my config since i did lsusb for the first time... Idk if it messed some stuff up
Darkmatter66 has quit [Quit: ZNC 1.7.5 - https://znc.in]
<Rusty1> 2357:0107 is the adapter
<Rusty1> does lsmod show the driver ?
<alchemist___> well it's weird, when i plug and unplug the adapter, the list lsusb outputs doesn't change...
<Rusty1> see if dmesg says anything useful
CyberManifest has joined #nixos
jtmcx has joined #nixos
alchemist___ has quit [Remote host closed the connection]
alchemist___ has joined #nixos
juliusdeane has quit [Remote host closed the connection]
<Rusty1> try nixpkgs.linuxPackages.rtl8192eu
<alchemist___> Rusty1: so doing `lsmod | grep rtl8192eu` doesn't show anything
<alchemist___> Rusty1: do you mean that I install it as a package and not as an extraModulePackage?
zeta_0 has joined #nixos
<zeta_0> is it possible to get a file back the way it was on a previous generation ?
<Rusty1> try that instead i suppose alchemist___
jonringer has quit [Ping timeout: 256 seconds]
<zeta_0> i forgot to make a copy of my xmonad.hs config, so i'm trying to get my old config file back, any tips ?
<alchemist___> Rusty1: ok i'll try that! Thanks for bearing with me! I'm not used to hardware problems haha
alchemist___ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @drewrisinger opened pull request #97617 → python3Packages.nmigen: fix build → https://git.io/JUCIW
<{^_^}> [nixpkgs] @worldofpeace closed pull request #97588 → hackage2nix: remove hsmagick → https://git.io/JUcdZ
<{^_^}> [nixpkgs] @worldofpeace merged pull request #82564 → jasper: delete from nixpkgs. → https://git.io/JviZg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JUCIB
jonringer has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger closed pull request #94343 → python3Packages.more-itertools: 8.3.0 -> 8.4.0 → https://git.io/JJaqk
superherointj has quit [Quit: Leaving]
Darkmatter66 has joined #nixos
justanotheruser has joined #nixos
jonringer has quit [Ping timeout: 258 seconds]
zeta_0 has quit [Remote host closed the connection]
CyberManifest is now known as cyberjunkie_
jonringer has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #96092 → nixos/modules/security/rngd: Disable by default → https://git.io/JUfTd
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/JUCLX
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.09: https://git.io/JUCLD
<{^_^}> [nixpkgs] @lf- opened pull request #97618 → nixos/caddy: fix overwriting of tls settings in config → https://git.io/JUCLj
<{^_^}> [nixpkgs] @drewrisinger opened pull request #97619 → python3Packages.pyfakefs: disable on python 2.7 → https://git.io/JUCtJ
cyberjunkie_ is now known as CyberManifest
jonringer has quit [Ping timeout: 260 seconds]
rajivr has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger opened pull request #97620 → python3Packages.parso: disable on python 2.7 → https://git.io/JUCtc
<Cadey> how do i get mount.9p in nixos?
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gv has joined #nixos
<Cadey> ah i don't need it, an error message lied
jonringer has joined #nixos
ransom has joined #nixos
ransom has quit [Client Quit]
Pwnna has quit [Quit: Bye]
ransom has joined #nixos
Pwnna has joined #nixos
knerten1 has joined #nixos
jtmcx has quit [Ping timeout: 246 seconds]
proofofkeags has joined #nixos
knerten has quit [Ping timeout: 258 seconds]
<Graypup_> anyone know how to get peer auth working with the postgres module?
<{^_^}> [nixpkgs] @jonringer merged pull request #97283 → Fix paperless and other Python pkgs → https://git.io/JUGgN
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JUCqO
<Graypup_> is this docs just complete bold faced lies?
<Graypup_> wtf
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
spacefrogg has joined #nixos
pjt_tmp has joined #nixos
o1lo01ol1o has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
<lordcirth> Steam can't launch Dead Cells - it complains about a ton of missing libraries. Anyone run into this? https://nixos.wiki/wiki/Steam doesn't say much
o1lo01ol1o has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<xe4> I am trying to follow along with https://www.tweag.io/blog/2020-05-25-flakes/ and when I add experimental-features = nix-command flakes to ~/.config/nix/nix.conf I get warnings when I use nix, "warning: unknown setting 'experimental-features'"
<xe4> also "nix shell" doesn't work for me, but "nix-shell" does
<lordcirth> xe4, you need nix unstable
<lordcirth> xe4, on nixos, configuration.nix: nix.package = pkgs.nixUnstable;
<xe4> thanks lordcirth. if I type "nix-channel --list" I see "nixpkgs https://nixos.org/channels/nixpkgs-unstable"
moet has joined #nixos
<lordcirth> nixpkgs-unstable doesn't use nix unstable by default
<xe4> oh you were not referring to a channel
<{^_^}> [nixpkgs] @drewrisinger opened pull request #97621 → python3Packages.pytest-timeout: 1.3.3 -> 1.4.2 → https://git.io/JUCqK
<xe4> is it possible to install nix unstable for mac os?
moet has quit [Read error: Connection reset by peer]
jonringer has quit [Ping timeout: 246 seconds]
<lordcirth> xe4, I think it's the package "nixFlakes"
maier has joined #nixos
<xe4> "nix-env -i nixFlakes" returns "error: selector 'nixFlakes' matches no derivations"
<lordcirth> Try nixUnstable
maier has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #97619 → python3Packages.pyfakefs: disable on python 2.7 → https://git.io/JUCtJ
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « python3Packages.pyfakefs: disable on py2.7 »: https://git.io/JUCqH
<{^_^}> [nixpkgs] @jonringer merged pull request #97617 → python3Packages.nmigen: fix build → https://git.io/JUCIW
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « python3Packages.nmigen: fix build »: https://git.io/JUCqp
<xe4> that's it. thank you lordcirth
<lordcirth> xe4, great!
kroh has joined #nixos
<{^_^}> [nixpkgs] @lf- opened pull request #97622 → nixos/postgresql: fix inaccurate docs for authentication → https://git.io/JUCmT
cript0nauta has quit [Remote host closed the connection]
<Graypup_> it's just bold faced lies. I figured out why the lies got introduced though, so I guess we can get it fixed
cript0nauta has joined #nixos
koh has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #97623 → grpc: 1.31.0 -> 1.32.0 → https://git.io/JUCmm
CMCDragonkai has quit [Quit: CMCDragonkai]
<pjt_tmp> I have a question about...I guess package refactoring?
<{^_^}> [nixpkgs] @drewrisinger opened pull request #97624 → [20.09]: python3Packages.nmigen: fix build → https://git.io/JUCm4
Guest23234 is now known as zolk3ri[m]
<pjt_tmp> There's a package I want to compile for aarch64, armv6l and a few other platforms
<nbathum> Graypup_: nice find
<pjt_tmp> but it has emacs as a dep. Like the whole thing.
<pjt_tmp> For the sole purpose of providing an editor plugin
<pjt_tmp> So I guess I'm mainly asking: is that the right way to do it? Because it sure don't feel right
<lordcirth> pjt_tmp, build dep, runtime dep, or both?
<{^_^}> [nixpkgs] @drewrisinger opened pull request #97625 → [20.09] python3Packages.pyfakefs: disable on py2.7 → https://git.io/JUCmw
<pjt_tmp> lordcirth: how do I determine that? nix-store -R somethingsomething?
<{^_^}> [nixpkgs] @marsam opened pull request #97626 → cointop: 1.4.6 -> 1.5.4 → https://git.io/JUCmP
moet has joined #nixos
<moet> occasionally my system will refuse to sleep. instead, if i close the lid, it cycles between sleep and wake states indefinitely.. how can i find out what is waking up the computer?
<lordcirth> moet, wake events should be logged in dmesg
proofofkeags has quit [Ping timeout: 260 seconds]
<moet> lordcirth: ah.. ok, i was looking in journalctl and not finding things.. i'll check dmesg
<moet> is there a standard string to look for?
<lordcirth> I don't remember
<lordcirth> journalctl should include dmesg output, though
<moet> hmm..
Supersonic112 has joined #nixos
<{^_^}> [nixpkgs] @endgame opened pull request #97627 → aws-sam-cli: fix version bounds → https://git.io/JUCmF
pjt_tmp has quit [Ping timeout: 256 seconds]
pjt_tmp has joined #nixos
<pjt_tmp> moet: hold on, I've woke my device recently. I think I can find the string
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
<pjt_tmp> moet: look for something like "ACPI: Waking up from system sleep state 64"
<pjt_tmp> also did I miss anything? I disconnected for a minute
<moet> pjt_tmp: that's super helpful.. i'll look around those ACPI wake messages for the cause.
<moet> pjt_tmp: you didn't miss anything
<lordcirth> Trying to run Dead Cells; ldd shows that it requires libhl.so, and there is libhl.so in the same directory. I tried patchelf --replace-needed, with both the relative and absolute path. Anything else I can try?
<lordcirth> steam-run gives a more helpful error but doesn't work
<lordcirth> Hmm, LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. steam-run ./deadcells starts but fails due to lack of steam connection
<lordcirth> Setting steam_appid.txt seems to work!
cript0nauta has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #97628 → shadowsocks-rust: 1.8.16 -> 1.8.17 → https://git.io/JUCOR
<{^_^}> [nixpkgs] @marsam merged pull request #97424 → skktools: 1.3.3 -> 1.3.4 → https://git.io/JUnOv
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JUCOS
<{^_^}> [nixpkgs] @marsam merged pull request #97212 → libfido2: 1.4.0 -> 1.5.0 → https://git.io/JUsPX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JUCOF
<{^_^}> [nixpkgs] @Mic92 merged pull request #96991 → nixos/installer: enable sshd by default → https://git.io/JUOZ0
<{^_^}> [nixpkgs] @Mic92 pushed 4 commits to master: https://git.io/JUCON
CMCDragonkai has joined #nixos
<CMCDragonkai> Hi
<CMCDragonkai> I have 2 Monitors and 2 GPUs
<CMCDragonkai> Previously I had connected both monitors to the first GPu
<CMCDragonkai> Multimonitor setup worked
<{^_^}> [nixpkgs] @Mic92 pushed to release-20.09 « nixos/installer: enable sshd by default »: https://git.io/JUC3e
<CMCDragonkai> But now I connected the second monitor to the second GPU
mariatsji has joined #nixos
<CMCDragonkai> The second monitor doesn't automatically update. And says there's no signal.
<CMCDragonkai> The `xrandr` command doesn't show that there's a second monitor. But `nvidia-settings` shows that there is a second monitor but it's disabled.
<CMCDragonkai> What's the right way to enable the second monitor and make them share the same X screen, rather than creating a whole new X screen for the second monitor on NixOS?
cript0nauta has joined #nixos
<jasom> How can I install a 64-bit version of wine?
<jasom> /nix/store/x8gh3kw8srfwf6k36rcz9hh8snf5nc6m-wine-5.0/bin/.wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked
<CMCDragonkai> Because xrandr doesn't even show the second monitor. I'm thinking the NVIDIA 2nd GPU is not even enabling it.
<lordcirth> jasom, do you need 64bit wine, or just a 64bit WINEPREFIX? Have you tried creating a prefix with WINEARCH=win64 ?
<jasom> lordcirth: I need a 64 bit WINEPREFIX, when I try WINEARCH=win64 it tells me it's a 32 bit prefix, even with a fresh directory
mariatsji has quit [Ping timeout: 272 seconds]
<jasom> lordcirth: e.g. this results in claiming a 32-bit installation: rm -rf ~/newwineprefix mkdir ~/newwineprefix; WINEARCH=win64 WINEPREFIX=$HOME/newwineprefix wine foo.exe
<jasom> I assume that's because wine is a 32-bit executable, but I may be wrong
<jasom> lordcirth: and if I take a pre-existing win64 prefix I get: "wine: '/home/aidenn/.wine' is a 64-bit installation, it cannot be used with a 32-bit wineserver."
orivej has quit [Ping timeout: 265 seconds]
evanjs has quit [Ping timeout: 256 seconds]
<ldlework> It works. But if I add `rust` to the buildInputs, I get:
<ldlework> error: while evaluating the attribute 'buildInputs' of the derivation 'babel' at /home/ldlework/tmp/emacs-js-test/shell.nix:4:3:
<ldlework> ...................?
<ldlework> Is this a bug in Nix?
<Mic92> ldlework: try rustc and cargo instead of rust
<ldlework> yeah but what's with that error?
<lordcirth> ldlework, was it literally ..... ?
<ldlework> Oh I didn't paste the error
<ldlework> cannot coerce a set to a string, at /home/ldlework/tmp/emacs-js-test/shell.nix:4:3
<Mic92> ldlework: it's not a package, its an attrset.
<Mic92> In hindsight this should have been not named rust to avoid confusion.
<ldlework> oh so nixpkgs.rust is a thing, just not a package
<Mic92> I think I can fix this
CMCDragonkai has quit [Remote host closed the connection]
<ldlework> that's the spirit
<ldlework> ah go
evanjs has joined #nixos
o1lo01ol1o has joined #nixos
moet has quit [Read error: Connection reset by peer]
<ldlework> got it
CMCDragonkai has joined #nixos
moet has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
pjt_tmp has quit [Ping timeout: 265 seconds]
pjt_tmp has joined #nixos
steve-chavez has quit [Quit: WeeChat 2.4]
o1lo01ol1o has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rusty1 has quit [Quit: WeeChat 2.3]
<Mic92> ldlework: this looks more entangled than I hope. This would be a non-trival refactoring
<Mic92> infinisil: is there a way to print a warning if someone tries to use an attrset as a package?
<Mic92> we have a rust attrset but it is not the rust compiler
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #97629 → [20.09] clpeak: fix build → https://git.io/JUCsW
maier has joined #nixos
<Ke> Mic92: sometimes I wonder, if packages must be in the same set as all the auxiliary functions
<Mic92> Ke: probably not.
<Mic92> But I have not the time right now to do this refactoring
<Ke> right now obviously any changes would break many people's configs obviously
<Ke> that too
maier has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @treed opened pull request #97630 → rpm: add openmp on darwin → https://git.io/JUCs6
kreyren_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl pushed to release-20.09 « coqPackages.paramcoq: init at 1.1.2 for Coq 8.12 »: https://git.io/JUCsS
kreyren_ has joined #nixos
<notgne2> is there some way of using `nix repl` without any of the logging or the header? `nix-instantiate` doesn't seem to do building. I'm just trying to get the result of a Nix expression as JSON (it is not a derivation, but does contain derivations)
<notgne2> is the best way just to wrap the output in a dummy derivation and use `nix-build`?
sangoma has joined #nixos
kalbasit_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #97485 → nodejs-14_x: 14.9.0 -> 14.10.0 → https://git.io/JUcJd
<{^_^}> [nixpkgs] @marsam pushed 2 commits to staging: https://git.io/JUCsA
noogie has quit [Read error: Connection reset by peer]
drewr has quit [Ping timeout: 244 seconds]
<samueldr> notgne2: most likely yes
palo1 has joined #nixos
veleiro has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #97631 → nixos/nginx: remove option enableSandbox → https://git.io/JUCGL
sangoma has quit [Read error: Connection reset by peer]
palo has quit [Ping timeout: 265 seconds]
palo1 is now known as palo
noogie has joined #nixos
<{^_^}> [nixpkgs] @ryantm opened pull request #97632 → nixos/jitsi-meet: add docs → https://git.io/JUCGq
<notgne2> I guess `--quiet | tail -n '+3' | head -n '-1' | sed 's/\x1b\[[0-9;]*m//g' | jq -r` is also technically an option
<veleiro> are filesystem reads blocked during nixos-rebuild or how does that work?
<veleiro> I never imagined such a thing would affect infrastructure but i may have forgotten
<Ke> veleiro: the old stuff never goes away, only some symlinks change
<Ke> but yes, I sometimes wonder, how magically it works even then
<samueldr> notgne2: the issue is that you're using it assuming a usage that's not prescribed :)
<samueldr> notgne2: so it might work _for now_ :D
<samueldr> veleiro/Ke, the magic all happens with switch-to-configuration, at the very end of nixos-rebuild if needed, and if requested
<veleiro> so the difference between build/switch/boot/test etc?
<veleiro> when you run a program, its of the generation that is currently activated
sangoma has joined #nixos
<veleiro> that's not hard to understand for me
<samueldr> build only builds, no switching; switch builds, switches, and adds to boot menu; boot builds, and adds to boot menu; test builds and switches
<Ke> samueldr: but someone could have written software that constantly rereads it's configs and gets a missmatch between it'
<Ke> its config files that have different generations
<veleiro> but im not sure what blocking filesystem reads would provide for an
<veleiro> immutable system
<notgne2> well, services are managed by NixOS too so that can often be prevented
<samueldr> the /run/current-system symlink changes in one fell swoop, but yeah, services can be messy
<notgne2> and I think wherever possible, configurations are given via CLI arguments pointing to a Nix store rather than using `/etc`
<Ke> but if your service uses config directly from the /nix/store and not via symlinks you'll always be fine
<samueldr> yeah
<samueldr> it's a case-by-case problem
<veleiro> hmm i havent had any problems with this
<notgne2> I wonder if maybe some weird chroot magic can be done to make all applications point to the Nix store for configuration even if they don't like it
sangoma has quit [Read error: Connection reset by peer]
<notgne2> you could of course also patch the software but that's a lot more difficult
<{^_^}> [nixpkgs] @marsam opened pull request #97633 → opencv: enable videoio on darwin → https://git.io/JUCGR
<Ke> veleiro: the update of the symlinks is still quite a speedy operation, so you'll be unlikely to hit the intermediate state anyway
<veleiro> so services are restarted, but when could they be messy?
<samueldr> it definitely sounds like a case of YAGNI, and when you'll need it, then you implement in a way that is better suited to the service
<veleiro> when they dont restart immediately on rebuild?
<veleiro> i sorta see that
otulp has joined #nixos
<Ke> I think there is some variable that describes whther things are restarted on a switch
<Ke> things like d-bus in general can not be updated without reboot
<veleiro> this conversation stemmed from mutable vs immutable systems
<veleiro> and i have until now assumed nixos to be immutable
<Ke> it is not impossible for someone to program a nasty program that would just not play nice with nixos service management, I believe
<veleiro> like a container is the only immutable system? that's boring
<samueldr> store paths are, but the system is implemented on top of mutating as close as possible to the root of the FS as convenient
<samueldr> and well, state is not immutable :)
<Ke> veleiro: well in any case I have rootfs on tmpfs and only a few non-volatile paths for myself
<Ke> there is runtime state, but it's not persistent
<Ke> and then there is immutable state and some state that use case needs, maybe eg. home is on persistent mutable mount
<Ke> not all my hosts even need a persistent home
<veleiro> i dont undestand enough about the state part, do you mean user/program files?
<veleiro> i think so
<veleiro> so when an app has new state after switching, but the old state is what is modifying
<veleiro> what happens?
<veleiro> user files (as ive seen) are still present in /var (postgres or whatever)
<veleiro> is that what the system.stateVersion is for?
<Ke> well basically when you install packages they just end up as static data in /nix/store, when you enable them as service some things get symlinked or otherwise referred to from the root
<Ke> references can be things like wrapper scripts or just string references in configs
<Ke> or the symlinks
<Ke> I guess studying your rootfs might give you a best idea
<Ke> and indeed some software wants to have state on disk, normally nixos does not manage that too much, I believe
<veleiro> is this and "unsolved issue" or something that is accepted as a fault?
<Ke> I think that's maybe a bit philosophical question
<Ke> stateVersion manages some incompatibilities and maybe migrations, I believe, never had to use it myself
<Ke> sometimes I had related issues, but I mostly just fixed it by deleting old state, as the old state was not of value
<Ke> like we had nscd caches that were incompatible or some symlinks that were created by old version of systemd
<Ke> in those cases having tmpfs rootfs helps a lot
<Ke> because you can ignore old state that you do not explicitly want to preserve
mariatsji has joined #nixos
maier has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #97589 → nifticlib: 2.0.0 -> 3.0.1 → https://git.io/JUcdP
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JUCZ2
<veleiro> hmm
graf_blutwurst has joined #nixos
mariatsji has quit [Ping timeout: 246 seconds]
alp_ has joined #nixos
<veleiro> so when you run a program on some generation, but you rebuild switch
<veleiro> that program is still running on the old generation, correct?
<veleiro> maybe that's even something ive never understood on many distros
moet has quit [Read error: Connection reset by peer]
<dminuoso> veleiro: Maybe, maybe not.
<veleiro> explaining nix and nixos is like explaining bitcoin to people in 2014
<dminuoso> veleiro: In general it's impossible to say, but systemd units are shut down at least afaik.
<veleiro> so if its a service, its restarted etc
<dminuoso> Otherwise, programs remain alive
<{^_^}> [nixpkgs] @vbgl opened pull request #97634 → ocamlPackages.ptmap: 2.0.4 → 2.0.5 → https://git.io/JUCZA
<dminuoso> Right
waleee-cl has quit [Quit: Connection closed for inactivity]
<veleiro> exactly
saschagrunert has joined #nixos
<veleiro> so systemd programs would KILL if they were restarted
<veleiro> that's something ive seen and understand
<dminuoso> veleiro: Think of it as a feature that we dont just restart your program.
<colemickens> well the units are stopped, swapped, and then the units are restarted with their updated store paths to new binaries.
<dminuoso> It's because we don't have to. It's no trouble having two or more simulatenous programs.
<colemickens> but like, firefox isn't restarted.
<colemickens> And not all services auto-restart, but most do if you change their config.
eliumir has joined #nixos
<veleiro> dminuoso: thats a very good point
<veleiro> there could be 1000s systemd units of the same program
<dminuoso> Well in case of systemd units its different
<dminuoso> Because they are *named*
sangoma has joined #nixos
<dminuoso> And they usually occupy shared resources
<dminuoso> That is, we cant sensibly distinguish them with hashes like we can in the nix store
<dminuoso> That is, we expect `systemctl status postgresql` to make sense anywhere, and it uses the shared resource of the listening port.
<dminuoso> Perhaps there was ways to make this work with linux namespaces, this might be interesting to explore. But at the end, this is the design choice made by nixos.
<dminuoso> (Or actually, not namespaces, but rather by attaching these services to a bridge, and then having some declarative way of re-exposing services)
<dminuoso> Similar to how docker networking works
<veleiro> it sounds to me that its more the fault of the apps than the system itself
<dminuoso> I wouldn't call it a "fault".
<dminuoso> But yeah.
mariatsji has joined #nixos
<dminuoso> Most systemd units tend to run things that must be reachable by some means. To discover them, you'd have to uniquely find them on a port, or maybe via some configuration under /etc
<dminuoso> (Or maybe a unix domain socket that is always located under a conventional path inside /run)
alp_ has quit [Ping timeout: 272 seconds]
<dminuoso> So there can only be one such service running at any time.
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/159760a9553 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<veleiro> hmm interesting, thanks for the explanation
<veleiro> i'm very convinced by nix about how to approach things
<dminuoso> :)
<veleiro> i was just thinking about the super attachement to systemd though
<veleiro> obviously there's guix
<dminuoso> The main difficulty in explaining nix/nixos to people is similar to how explaining pure, declarative and lazy functional programming languages is difficult to traditional imperative programmers.
<veleiro> if i try to explain haskell to others, its a lost cause
<{^_^}> [nixpkgs] @danieldk merged pull request #97545 → knightos-mkrom: unstable-2020-06-11 -> 1.0.2 → https://git.io/JUcod
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JUCn8
<dminuoso> Well, Haskell is not necessarily hard to explain, but it takes experience to teach well.
<veleiro> but lazy evaluation makes perfect sense when evaluating the state of an OS
<dminuoso> I found teaching Haskell to my coworkers works well enough.
<dminuoso> Some aren't comfortable enough to write algorithms in a declarative fashion yet, but they can certainly read them at least.
<dminuoso> It depends on who you are talking to, and why they are listening to you.
<dminuoso> If it's just to convince "random java fanatic" that Haskell is great, that's a conversation I'd skip.
<veleiro> well you can create haskell's type of pure functionality in many languages right?
<veleiro> so its just a guide
<dminuoso> Hardly
<veleiro> but it makes more sense for the state of an OS
<dminuoso> I mean, the main thing that I find majorly annoying and frustrating in nix, is the lack of a type system.
<dminuoso> In a pure functional lazy setting, having an expressive and rigid type system is really important to me.
<veleiro> can you give an example of the lack of a type system?
<dminuoso> nix simply has none.
<dminuoso> Not sure what example you want
<veleiro> so nix has no types? maybe ive never noticed
<sphalerite> nix has two type systems I can think of.
<dminuoso> You haven't noticed you aren't able to write `let x = 1 : Int; int ...` ?
<dminuoso> err
<dminuoso> Drop the `t` at the end of int there. Bad muscle memory. :p
<sphalerite> 1) the language built-in one, which doesn't have any rules for declaring the type of something and can't be checked statically
<sphalerite> 2) the module system.
<veleiro> nope, but i see what you mean
<sphalerite> (the nixos module system)
<sphalerite> Of course, whether they're good type systems is another question :D
<cole-h> The module system is genius, tbh. Who came up with it, again?
<sphalerite> nbp
<cole-h> nbp++
<{^_^}> nbp's karma got increased to 0b11
<dminuoso> sphalerite: Well, a type system with just a single uni type is arguably not very useful. :)
<cole-h> It's not as good as actual types a la Rust and Haskell, but it's an OK substitution, IMO
<sphalerite> dminuoso: I'd argue it isn't that.
<dminuoso> cole-h: Sure, the nixos module type system is better than nothing. :)
aborsu has joined #nixos
<dminuoso> But at the end it's just runtime tagging. The second you start doing higher order shenanigans, it becomes less than helpful.
<sphalerite> dminuoso: it does define which operations can be performed on which types of values. The trouble is that it can't be checked statically.
<dminuoso> But anyway, didn't want to start a rant here, it's a well known fact. And I know there's work being done on adding a proper type system to nix.
<sphalerite> The manual describes a bunch of types informally in a haskell-like way :D
<veleiro> dminuoso: have not heard the rant. i want to know everything fyi
<dminuoso> sphalerite: When I say a type system, then I mean it in the traditional type theoretic sense. This dynamic runtime tagging and checking is *not* a type system.
<sphalerite> not sure that type system stuff is still happening.
<dminuoso> In that sense anyhow.
<cole-h> Yeah, I don't think it's still happening in the sense that man hours are being put into it...
<dminuoso> And I dont want to argue about "what is a type system", just accept my definition for the purpose of this discussion, that should end it quickly. :
<sphalerite> https://github.com/regnat/ptyx is this what you mean by "work being done on adding a proper type system to nix."?
<dminuoso> That seems to be one of the attempts.
<sphalerite> because my impression is that that was a bachelor's thesis project and basically stopped at the bachelor's thesis
<sphalerite> are you aware of any more recent/active attempts?
<dminuoso> I think I've seen another, but I dont recall the details
<colemickens> bqv: there are links to a guide/tutorail at the bottom. I'm going to just build a VM with their Nix and see how it goes. I don't really quite understand IPLD or Nix internals well enough yet to grok everything. :S
<veleiro> so what do you mean by module system? a type of derivation?
<dminuoso> veleiro: nixos modules are to nixos, as nix files are to nix expressions, roughly.
<dminuoso> Every time you use some options like `services.foo = 1;`, those options and their behaviors are defined in a nixos module
<bqv> colemickens: my bad, apparrently my web reader chopped that off
<veleiro> thanks for the explanation
sputny has joined #nixos
<bqv> colemickens: my issue may have been trying to build using the flake.nix, rather than release.nix
pjt_tmp has quit [Ping timeout: 260 seconds]
lotharn has quit [Ping timeout: 256 seconds]
domogled has quit [Quit: domogled]
lotharn has joined #nixos
mallox has joined #nixos
<bqv> This is exciting, though. I'm tempted to use my main store for it
<bqv> Nix is reproducible, after all
<bqv> I have a spare machine for it but it's slightly incapacitated
cybrian has quit [Ping timeout: 256 seconds]
o1lo01ol1o has joined #nixos
<bqv> colemickens: actually, using this might be how that machine broke, if it one day accidentally worked and did corrupt the store :D
<{^_^}> [nixpkgs] @vcunat pushed to master « knot-dns: libbpf is Linux-only »: https://git.io/JUCcw
<cptrbn> Is it possible to build an ARM7 image from macOS (with nix-build), or do I need to fire up a VM? Trying to make a custom headless image for a RPi2
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #81132 → cmigemo: init at 1.3e → https://git.io/JvuSo
<{^_^}> [nixpkgs] @gebner pushed 3 commits to master: https://git.io/JUCci
<{^_^}> [nixpkgs] @gebner merged pull request #97596 → nixos/qt5ct: do not require qtstyleplugins → https://git.io/JUcAn
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JUCcH
cybrian has joined #nixos
<{^_^}> [nixpkgs] @gebner pushed to release-20.09 « nixos/qt5ct: do not require qtstyleplugins »: https://git.io/JUCcQ
cr4y1 has joined #nixos
alp_ has joined #nixos
zupo has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #97607 → electron-cash: 4.0.14 -> 4.1.0 → https://git.io/JUcjT
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUCCH
stiell has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @zowoq merged pull request #97615 → jwt-cli: fix build → https://git.io/JUCTo
<{^_^}> [nixpkgs] @zowoq pushed commit from @wkral to master « jwt-cli: fix build »: https://git.io/JUCWk
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @zowoq pushed commit from @wkral to release-20.09 « jwt-cli: fix build »: https://git.io/JUCWt
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/26c98e742f2 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
cjpbirkbeck has quit [Read error: Connection reset by peer]
cole-h has quit [Quit: Goodbye]
stiell has joined #nixos
lopsided98 has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @ryneeverett opened pull request #97636 → [20.09] lxpanel: fix build by switching to gdk-pixbuf-xlib → https://git.io/JUCW2
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #97637 → [20.09] Fix paperless and other Python pkgs → https://git.io/JUCWV
stiell has joined #nixos
lopsided98 has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #97586 → qutebrowser: use qt515 → https://git.io/JUc5X
<{^_^}> [nixpkgs] @petabyteboy pushed to master « qutebrowser: use qt515 (#97586) »: https://git.io/JUCW9
<{^_^}> [nixpkgs] @dotlambda closed pull request #69423 → zulip-desktop: init at 4.0.0 → https://git.io/JeGB1
<mariatsji> nix-instantiate -I https://releases.nixos.org/nixpkgs/nixpkgs-20.09pre242495.3c0e3697520/nixexprs.tar.xz --eval -E "with import <nixpkgs> {}; lib.attrNames haskell.compiler"
<mariatsji> this outputs a different set of compilers on my mac vs a colleagues linux - how can that be?
graf_blutwurst has quit [Remote host closed the connection]
civodul has joined #nixos
karantan has joined #nixos
dbmikus has quit [Ping timeout: 264 seconds]
fendse has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
<karantan> I have several .nix configuration files which I include in configuration.nix. I one file (extra-configuration.nix) I define custom php package and I add it to the `environment.systemPackages`. I also set this custom php package ( named "phpPackage") to be used for phpfpm ("services.phpfpm.phpPackage = phpPackage;").
<karantan> Then in the second file where I have WordPress, Apache and phpfpm settings I configure phpfpm pools. But the problem is that it's not using my custom php package. Instead it's using default php 7.3.
<karantan> What am I doing wrong?
jb55 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryneeverett opened pull request #97638 → lxpanel: 0.9.3 -> 0.10.0 → https://git.io/JUClw
dbmikus has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
stiell has quit [Ping timeout: 260 seconds]
stiell has joined #nixos
konobi_ has joined #nixos
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @marius851000 opened pull request #97640 → libreoffice-qt: fix compilation → https://git.io/JUC84
konobi has quit [Ping timeout: 265 seconds]
konobi_ is now known as konobi
graf_blutwurst has joined #nixos
<graf_blutwurst> Hi everyone, did anyone elses xfce just kill itself? I can't even open up some setting managers anymore and the font is throughly screwed up
jonringer has joined #nixos
<{^_^}> [nixpkgs] @marius851000 opened pull request #97641 → [20.09] instead: 3.3.1 -> 3.3.2; fix compilation → https://git.io/JUC8a
alexherbo2 has joined #nixos
fendse has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iqubic has quit [Ping timeout: 244 seconds]
dbe2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nix-pills] @agam opened pull request #154 → Follow redirects when installing via `curl` → https://git.io/JUC4o
xd1le has joined #nixos
<graf_blutwurst> "“xfce4-appearance-settings” terminated by signal SIGSEGV (Address boundary error)" that's a yaiks
joebobjoe has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
<joebobjoe> hi is there a nix package for https://www.qemu.org/docs/master/interop/qemu-img.html ?
jb55 has joined #nixos
dbmikus has joined #nixos
malook has joined #nixos
<{^_^}> [nixpkgs] @NinjaTrappeur merged pull request #97526 → nixos/ejabberd: Fix tests → https://git.io/JUc0v
<{^_^}> [nixpkgs] @NinjaTrappeur pushed 2 commits to master: https://git.io/JUC4F
joebobjoe has quit [Client Quit]
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to release-20.09 « chromium: 85.0.4183.83 -> 85.0.4183.102 »: https://git.io/JUCBT
cr4y1 has quit [Read error: Connection reset by peer]
dbmikus has quit [Ping timeout: 240 seconds]
dbe2 has joined #nixos
dermetfan has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
cr4y1 has joined #nixos
jonringer has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
graf_blutwurst has joined #nixos
<{^_^}> [nix-pills] @rnhmjoj merged pull request #154 → Follow redirects when installing via `curl` → https://git.io/JUC4o
<{^_^}> [nix-pills] @rnhmjoj pushed 2 commits to master: https://git.io/JUCBB
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<graf_blutwurst> oh `fc-match` doesn't find anything anymore. uff how does that work in nixos?
<Mic92> It does for me
o1lo01ol1o has quit [Remote host closed the connection]
<Mic92> I have a cache in ~/.nix-profile/lib/fontconfig/cache
<Mic92> I think it is maintained by home-manager
thc202 has joined #nixos
<graf_blutwurst> hmm interesting. I'll check home-managers default font config. maybe i killed it on accident because i have no font configs in home-manager
ris has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @erictapen closed pull request #97563 → [20.09] haskellPackages.hakyll: fix build → https://git.io/JUcy4
<steveeJ> I worked around the recent font issue by switching to nixos-20.03-small and a brutal `rm -rf ~/.cache/fontconfig`
<graf_blutwurst> uff I got it going again with `fonts.fontconfig.enable = true;` and a fc-cache -f to rescan now i got a mono font available again
<graf_blutwurst> thanks for the tip Mic92
graf_blutwurst has quit [Remote host closed the connection]
graf_blutwurst has joined #nixos
<{^_^}> [nixpkgs] @kampka opened pull request #97643 → Kops → https://git.io/JUCRa
maxdevjs has quit [Ping timeout: 272 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @stigtsp opened pull request #97644 → CODEOWNERS: add stigtsp to perl → https://git.io/JUCRA
Poscat[m] has quit [Quit: Idle for 30+ days]
toto[m] has quit [Quit: Idle for 30+ days]
marcus[m] has quit [Quit: Idle for 30+ days]
johnazoidberg[m] has quit [Quit: Idle for 30+ days]
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #97645 → Update weather → https://git.io/JUC0e
kaliumxyz has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @zowoq merged pull request #97566 → [20.03] go: 1.13.12 -> 1.13.15, 1.14.4 -> 1.14.8 → https://git.io/JUcSk
<{^_^}> [nixpkgs] @zowoq pushed 8 commits to staging-20.03: https://git.io/JUC0f
ptotter[m] is now known as ptottermtemp
<{^_^}> [nixos-org-configurations] @garbas merged pull request #121 → Update planet-feeds.nix → https://git.io/JUcrt
<{^_^}> [nixos-org-configurations] @garbas pushed 2 commits to master: https://git.io/JUC0m
ptottermtemp is now known as ptotter[m]
<eyJhb> I know this is not a NixOS question, but if I wanted to import home-manager as a path, wouldn't a cloned repo and doing `imports [ ./path/to/home-manager/default.nix ];` not work? I am getting `anonymous function at /state/home/projects/nixos/nixus-setup/channels/home-manager/default.nix:1:1 called with unexpected argument 'name', at
<eyJhb> /nix/store/f67pixsmrh2zdj6qax25w2a69hf98ml5-source/lib/modules.nix:228:8`
<hyper_ch2> finally 2x 16TB drives have arrived :)
__monty__ has joined #nixos
o1lo01ol1o has joined #nixos
sigmundv has joined #nixos
sangoma has quit [Ping timeout: 258 seconds]
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @erikarvstedt opened pull request #97647 → maintainers/build: skip packages that don't evaluate → https://git.io/JUCEV
justanotheruser has quit [Ping timeout: 246 seconds]
Thra11 has joined #nixos
sangoma has joined #nixos
malook has quit [Quit: malook]
<ldlework> Can anyone help me think about how to make a derivation that essentially pops out a script that wrap emacs such that it has a number of binaries on its path?
voidcontext has quit [Ping timeout: 258 seconds]
voidcontext has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<makefu> ldlework: there is writeShellScript and you can create your path PATH=${pkgs.makeBinPath [ my-binaries ]}
<ldlework> isn't there some kind of "makeBinPath" so I only have to add one path to the wrapped program's path?
cr4y1 has quit [Read error: Connection reset by peer]
<ldlework> and some kind of makeWrapper helper
cr4y1 has joined #nixos
<ldlework> can't quite figure it out from the docs
<makefu> there is makeWrapper as well
<qyliss> wrapProgram $out/bin/hello --prefix PATH : ${lib.makeBinPath [ foo bar ]}
cr4y1 has quit [Read error: Connection reset by peer]
<pbogdan> ldlework: maybe something like this `runCommand "emacs-script" nativeBuildInputs = [ makeWrapper ]; } "mkdir -p $out/bin; makeWrapper ${emacs}/bin/emacs $out/bin/emacs-script --prefix PATH : ${lib.makeBinPath [ hello ]}"`
cr4y1 has joined #nixos
<ldlework> pbogdan: neat, thanks a lot I will explore this
<pbogdan> yw
<{^_^}> [nixpkgs] @immae opened pull request #97648 → [20.09] ejabberd: fix failing tests → https://git.io/JUCzK
<ldlework> pbogdan: it seems emacsWithPackages already does this
<ldlework> the native packages I add to it seem to be accessible by emacs
<{^_^}> [nixpkgs] @doronbehar merged pull request #96867 → zoom-us: 5.1 -> 5.2 → https://git.io/JUqxY
<ldlework> oh maybe that was direnv
<{^_^}> [nixpkgs] @doronbehar pushed 4 commits to master: https://git.io/JUCzD
<ldlework> hmm seems it was
<ldlework> darn!
spudly- has joined #nixos
spudly- has joined #nixos
spudly- has quit [Changing host]
eoli3n_ has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spudly has quit [Ping timeout: 256 seconds]
spudly- is now known as spudly
<ldlework> pbogdan: hmm, doesn't runCommand make an $out/bin/thing as per its second argument?
<ldlework> You are then also outputting a $out/bin/thing with makeWrapper
<ldlework> Is that right?
pbb has quit [Ping timeout: 246 seconds]
<ldlework> hmm
pbb has joined #nixos
<pbogdan> iirc it can produce any arbitrary outputs, the first arg is just the name of the derivation
orcus- has joined #nixos
orcus has quit [Ping timeout: 240 seconds]
dbmikus has joined #nixos
<{^_^}> [nixos-homepage] @garbas pushed to fix-netlify « update github actions »: https://git.io/JUCgV
<{^_^}> [nixos-homepage] @garbas opened pull request #523 → Fix broken netlify deployment → https://git.io/JUCgo
eoli3n_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @immae opened pull request #97649 → nagios: fix build → https://git.io/JUCgy
alp_ has quit [Remote host closed the connection]
dbmikus has quit [Ping timeout: 258 seconds]
alp_ has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JUCg9
<{^_^}> [nixpkgs] @primeos merged pull request #97561 → rav1e: 0.3.3 -> 0.3.4 → https://git.io/JUcDV
<{^_^}> [nixos-homepage] @garbas merged pull request #523 → Fix broken netlify deployment → https://git.io/JUCgo
<{^_^}> [nixos-homepage] @garbas pushed 2 commits to master: https://git.io/JUCgb
<{^_^}> [nixos-homepage] @garbas pushed 0 commits to fix-netlify: https://git.io/JUCgx
superherointj has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « chromium: update.py: Keep the channel order consistent »: https://git.io/JUC2v
<{^_^}> [nixpkgs] @felschr opened pull request #97650 → gnomeExtensions.dash-to-panel: 38 -> 39 → https://git.io/JUC2f
tmaekawa has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
dbmikus has joined #nixos
karantan has joined #nixos
<ldlework> Is there an easy way to throw a directory of files into a store package?
<ldlework> eh runCommand will do, nm
dbmikus has quit [Ping timeout: 256 seconds]
<immae> ldlework: even simpler, "${/path/to/directory}" will work too
<immae> (if you want to keep the same layout as the directory of course)
<ldlework> yeah lol
maier has quit [Ping timeout: 240 seconds]
teto has joined #nixos
alp_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JUCag
maier has joined #nixos
alp_ has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #96574 → rs-git-fsmonitor: init at 0.1.3 → https://git.io/JULWb
<{^_^}> [nixpkgs] @teto pushed commit from @SuperSandro2000 to master « gitAndTools.rs-git-fsmonitor: init at 0.1.3 (#96574) »: https://git.io/JUCai
gaston20 has joined #nixos
gaston20 has quit [Remote host closed the connection]
aborsu has quit [Quit: aborsu]
<{^_^}> [nixpkgs] @zowoq opened pull request #97651 → go_1_14: 1.14.8 -> 1.14.9 → https://git.io/JUCab
<{^_^}> [nixpkgs] @zowoq opened pull request #97652 → go: 1.15.1 -> 1.15.2 → https://git.io/JUCaN
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 256 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @saschagrunert opened pull request #97653 → go: 1.15.1 -> 1.15.2 → https://git.io/JUCVn
karantan has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @zowoq opened pull request #97654 → conmon: 2.0.20 -> 2.0.21 → https://git.io/JUCVX
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 260 seconds]
karantan has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
zupo has quit [Ping timeout: 256 seconds]
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
zupo has joined #nixos
bvdw has quit [Quit: The Lounge - https://thelounge.chat]
bvdw has joined #nixos
cr4y1 has quit [Read error: Connection reset by peer]
cr4y1 has joined #nixos
hyper_ch2 has quit [Ping timeout: 258 seconds]
hyper_ch2 has joined #nixos
czer00 has quit [Read error: Connection reset by peer]
sangoma has joined #nixos
kolaente_ has joined #nixos
<kolaente_> Has anyone else here seen issues with nix-collect-garbage and btrfs lately? As in, every time I try to run it it crashes and my root partition gets mounted as read only
<kolaente_> And I'm not really sure how to debug this
<Ke> very first of all, check kernel log with dmesg command
<Ke> I use btrfs and I can assure you, this is not normal
<kolaente_> Ke: I get "unable to find ref byte nr 14772121600 parent 0 root 5 owner 18540358 offset 0" and a bunch of debug output
<Ke> kolaente_: are you using quotas or some other dangerous substances
<kolaente_> Not that I'm aware of
<Ke> anyway that's almost 100% certainly not a nixos issue
<Ke> you can run btrfs check --readonly from some recovery media, but it all depends on how much time you want to spend reporting this issue to btrfs devs
<Ke> easiest solution to get on with your life is possibly just recover files and reinstall
<kolaente_> Probably yeah
<kolaente_> Good thing that's easy with nix
<kolaente_> I also thought about a hardware issue but that seems unlikely since the ssd that's running my installation is only four months old
<Ke> nowadays btrfs check --repair occasionally fixes corruptions, but you might just want to reinstall anyway
sangoma has quit [Read error: Connection reset by peer]
rprije has quit [Ping timeout: 265 seconds]
<Ke> kind of, right now many people think that modern btrfs mostly corrupts due to faulty hw. but I have seen no quantitative proof of that
tmaekawa has quit [Quit: tmaekawa]
<Ke> this is only, if you stay with the safe features, like not quota
tmaekawa has joined #nixos
kolaente_ has quit [Ping timeout: 244 seconds]
kolaente_ has joined #nixos
tmaekawa has quit [Client Quit]
kolaente_ has quit [Client Quit]
<ldlework> How do you escape things like ${RED} in a nix string that is actually bash?
<lassulus> ''${RED}
acarrico has quit [Ping timeout: 256 seconds]
<lassulus> if its inside a '' multiline string
<qyliss> ''${RED} in a '' string, or \${RED} in a " string
civodul has quit [Quit: rebooting Emacs...]
<ldlework> thx
civodul has joined #nixos
sangoma has joined #nixos
<damjan> what's the practise for nixpkgs pull requests, do I squash rebase improvements while it's reviewed, or is the pull request squashed at the end?
<ldlework> What's the shortest one-liner for someone to try out a nix derivation stored on github?
<{^_^}> [nixpkgs] @peterhoeg opened pull request #97656 → nixos/nfs: fix permissions → https://git.io/JUCrp
superherointj has quit [Quit: Leaving]
<fgaz> damjan: unless it's a complex patch I just do commit --amend
<ldlework> It's kind of too bad you can't point this at any old derivation, https://github.com/matthewbauer/nix-bundle
<ldlework> But the thing you wanna bundle has to be part of nixpkgs.
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #97657 → sm64ex: unstable-2020-06-19 -> unstable-2020-09-09 → https://git.io/JUCos
<ldlework> oh shit it's working
<qyliss> damjan: up to you
<qyliss> But most people IME squash as they go
<fgaz> Idlework: you can always use an overlay
<Mic92> ldlework: with flakes it becomes easier: https://github.com/mlvzk/manix/#nix-with-flakes-enabled
<ldlework> I figured out how to point it at local derivation
alexherbo23 has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo23 is now known as alexherbo2
dbmikus has joined #nixos
sangoma has quit [Read error: Connection reset by peer]
<damjan> https://nixos.org/manual/nixpkgs/stable/#submitting-changes-hotfixing-pull-requests ok this says to ammend the commit - which equals to rebasing
<eyJhb> vifon: Someone in here will be a lot more qualified to answer it :p
xd1le has quit [Remote host closed the connection]
<vifon> So, hello everyone. I'd like to stay on the stable channel but include one package from unstable. I've added the unstable channel as nixos-unstable. I've prefixed my configuration.nix with "let unstablePkgs = <nixos-unstable>; in" (after the arguments of course) and then I included unstablePkgs.$PACKAGE in my environment.systemPackages.
xd1le has joined #nixos
dbmikus has quit [Ping timeout: 265 seconds]
<vifon> This is the error:
<vifon> error: value is a path while a set was expected, at /etc/nixos/configuration.nix:49:16
<eyJhb> I have the {} suggestion in your let, which might make the difference
<pbogdan> vifon: try unstablePkgs = import <nixos-unstable> {};
Blackraider has joined #nixos
Blackraider has quit [Remote host closed the connection]
<ldlework> If I have a default.nix derivation, how do I start a nix-shell such that the package is built and available?
Blackraider has joined #nixos
<vifon> error: attempt to call something which is not a function but a path, at /etc/nixos/configuration.nix:7:20
<vifon> pbogdan: ↑
<pbogdan> hrmm, might help if you could pastebin relevant parts of your config
W1lkins has quit [Quit: Bye]
<pbogdan> that's missing `import` in front of <nixos-unstable>
evalexpr has joined #nixos
<vifon> Oh…
maxfield has joined #nixos
<eyJhb> vifon: My reaction exactly
<vifon> pbogdan: What could go into the second import argument, out of curiosity?
evalexpr has quit [Client Quit]
<vifon> It seems to have worked. Thank you!
gustavderdrache has joined #nixos
cptrbn has quit [Ping timeout: 260 seconds]
<pbogdan> yw, as for the args I believe anything that's accepted here https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/impure.nix#L15-L78
Blackraider has quit [Remote host closed the connection]
<vifon> Huh, so the @ argument may be used either way?
Blackraider has joined #nixos
<vifon> args@{…} or {…}@args, that is.
<vifon> TIL
evalexpr has joined #nixos
dbmikus has joined #nixos
Blackraider has quit [Remote host closed the connection]
Blackraider has joined #nixos
sangoma has joined #nixos
Blackraider has quit [Remote host closed the connection]
fendor has joined #nixos
dbmikus has quit [Ping timeout: 240 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
lordcirth has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @saschagrunert closed pull request #97653 → go: 1.15.1 -> 1.15.2 → https://git.io/JUCVn
evalexpr has quit [Remote host closed the connection]
Rusty1 has joined #nixos
evalexpr has joined #nixos
evalexpr has quit [Remote host closed the connection]
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
evalexpr has joined #nixos
evalexpr has quit [Client Quit]
evalexpr has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 is now known as knupfer
acarrico has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #97628 → shadowsocks-rust: 1.8.16 -> 1.8.17 → https://git.io/JUCOR
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUC6u
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @flokli opened pull request #97658 → systemd: 246 -> 246.4 → https://git.io/JUC6V
fendor has quit [Remote host closed the connection]
eliumir has quit [Ping timeout: 245 seconds]
karantan has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #97626 → cointop: 1.4.6 -> 1.5.4 → https://git.io/JUCmP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JUC6P
superherointj has joined #nixos
karantan has quit [Client Quit]
alp_ has quit [Ping timeout: 272 seconds]
arjen-jonathan has quit [Ping timeout: 244 seconds]
alp_ has joined #nixos
cosimone has joined #nixos
karantan has joined #nixos
<exarkun> I'm using the nix-shell interpreter trick with a line like this: #! nix-shell -i python -p "python.withPackages (ps: [ ps.treq ])"
<exarkun> but I need a more complicated expression
<exarkun> I tried writing helper.nix containing: (import <nixpkgs> { }).python.withPackages (ps: [ ps.treq ])
<exarkun> and changing the #! to: #! nix-shell -i python helper.nix
mallox has quit [Quit: WeeChat 2.9]
<exarkun> this evaluates but doesn't actually produce a correct python environment
<exarkun> what gives
<exarkun> (`treq` is not importable in the resulting execution context)
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #97660 → ryujinx: 1.0.5160 -> 1.0.5320 → https://git.io/JUCiI
<{^_^}> [nixpkgs] @hannesweisbach opened pull request #97661 → opencascade: enable macOS build and add features → https://git.io/JUCiw
orivej has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #97662 → tectonic: 0.1.12 -> 0.1.15 → https://git.io/JUCiy
tarruda has quit [Ping timeout: 260 seconds]
tarruda has joined #nixos
<{^_^}> [nixpkgs] @kevincox merged pull request #97592 → chrony: Create state directory with correct owner. → https://git.io/JUcFM
<{^_^}> [nixpkgs] @kevincox pushed 2 commits to master: https://git.io/JUCPt
sangoma has quit [Ping timeout: 260 seconds]
alp_ has quit [Ping timeout: 246 seconds]
ransom has joined #nixos
sangoma has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
philr has quit [Ping timeout: 260 seconds]
proofofkeags has joined #nixos
civodul has joined #nixos
acarrico has quit [Ping timeout: 264 seconds]
hiro99 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #97649 → nagios: fix build → https://git.io/JUCgy
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JUCXO
sangoma has quit [Read error: Connection reset by peer]
hyper_ch2 has quit [Ping timeout: 240 seconds]
hyper_ch2 has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @kyle-bookbub opened pull request #97663 → Kw test pythons → https://git.io/JUCX2
<{^_^}> [nixpkgs] @kyle-bookbub closed pull request #97663 → Kw test pythons → https://git.io/JUCX2
alexherbo2 has quit [Ping timeout: 256 seconds]
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @immae opened pull request #97664 → [20.09] nagios: fix build → https://git.io/JUCXd
CyberManifest has quit [Quit: Leaving...]
CyberManifest has joined #nixos
sangoma has joined #nixos
mlen has quit [Ping timeout: 240 seconds]
sangoma has quit [Read error: Connection reset by peer]
<siraben> Why is RUST_SRC_PATH = "${pkgs.rustChannels.nightly.rust-src.outPath}/lib/rustlib/src/rust/src"; not working to set RUST_SRC_PATH?
<siraben> This worked before; RUST_SRC_PATH = "${latest.rustChannels.stable.rust-src}/lib/rustlib/src/rust/src";
<siraben> but for nightly it seems different
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
nixbitcoin has quit [Remote host closed the connection]
nixbitcoin has joined #nixos
ericdmoore[m] has joined #nixos
fendor has quit [Read error: Connection reset by peer]
emilsp has quit [Quit: bye]
Acou_Bass has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed 10 commits to master: https://git.io/JUC1P
amir has quit [Ping timeout: 264 seconds]
czer00 has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 9 commits to release-20.09: https://git.io/JUC1X
Acou_Bass has joined #nixos
hyper_ch has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #97625 → [20.09] python3Packages.pyfakefs: disable on py2.7 → https://git.io/JUCmw
<{^_^}> [nixpkgs] @gebner pushed 2 commits to release-20.09: https://git.io/JUC1M
emilsp has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-20.03: https://git.io/JUC1S
hyper_ch has joined #nixos
hyper_ch2 has quit [Read error: Connection reset by peer]
fendor has joined #nixos
hyper_ch2 has joined #nixos
amir has joined #nixos
<grfn> I remember there being a thing in stdenv somewhere that is "dylib" on darwin and "so" on linux...
<grfn> but I can't find
<grfn> it
sangoma has joined #nixos
<grfn> ah, targetPlatform.extensions.sharedLibrary
mlen has joined #nixos
jaen has joined #nixos
<siraben> I get something like this: Unable to find libstd under RUST_SRC_PATH. N.B. RUST_SRC_PATH variable needs to point to the *src* directory inside a rust checkout e.g. "/home/foouser/src/rust/src". Current value ""/nix/store/1h2i69b7vljmgng9cxzrvkdj5ixb9hak-rust-src-1.48.0-nightly-2020-09-09-e2be5f568/libstd""
<siraben> racer error^
simonpe^^ has joined #nixos
saschagrunert has quit [Remote host closed the connection]
<simonpe^^> I have a derivation (which is impure) that i build with 'nix-build --option sandbox false', I need the buildPhase script to "see" a couple of environment variables from my shell environment to figure out what urls to use as cache. I don't want to use getEnv() because that would change the sha of the result
<simonpe^^> so I guess the question is, how do I thread a couple of enviroment variables through to the mkDerivation build scripts?
<jaen> Hi, should I expect the `amdgpu` work on `nixost-unstable`? When I do `vainfo` on 20.03 it works and reports a (somewhat short) list of supported formats. On unstable it fails with a binary symbol mismatch. Am I doing something wrong (basically just plugging in "amdgpu" into kernel modules as I'm not seeing any explicit libva package like for
<jaen> intel) or is that broken curently?
dbmikus has joined #nixos
CyberManifest has quit [Quit: Leaving...]
superherointj has quit [Quit: Leaving]
alp_ has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
dermetfan has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #97666 → nixos/nextcloud: fix `nginx`-config for Nextcloud 19 and older → https://git.io/JUCDL
<sterni> simonpe^^: why not use them as inputs for your package (i. e. arguments) and getEnv?
alexherbo2 has joined #nixos
fendor has quit [Ping timeout: 246 seconds]
fendor has joined #nixos
kahuna has joined #nixos
<{^_^}> [nixpkgs] @mkg20001 opened pull request #97667 → [20.09] unityhub fix → https://git.io/JUCD6
dbmikus has joined #nixos
<kahuna> Hey all, Need some help to install nixos plz. Following instreuction, I must mount mount /dev/disk/by-label/nixos /mnt but i can do it : msg is mount: /mnt: /dev/sdb1 already mounted on /iso
<kahuna> I use a version in USB
<simonpe^^> sterni: because they impact the hash of the derivation, so if I change one of them I can't reuse my cache
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @gebner opened pull request #97668 → mlton: use $TMPDIR → https://git.io/JUCD5
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mic92> kahuna: is /dev/disk/by-label/nixos supposed to be your system partition?
<Mic92> It might be that the installer already uses the same label
<Mic92> In that case you might call lsblk to inspect all your partitions and mounted via direct path instead of via label
kyren_ has joined #nixos
<{^_^}> [nixpkgs] @ttuegel opened pull request #97669 → plasma-workspace: fix path to qdbus → https://git.io/JUCym
<kyren_> hey all, suppose I wanted to use nixpkgs to cross compile from linux to mingwW64, where the program in question at the top-level is written in rust, what's the current likelihood of out of the box success with this?
<{^_^}> [nixpkgs] @ttuegel opened pull request #97670 → kconfigwidgets: install plugin in .out → https://git.io/JUCyG
<kyren_> I've tried several things and I can go over what I've tried, but most likely they're either wrong or I should just not expect it to work right now, so rather than asking a bunch of potentially dumb questions, just saying whether I should be able to figure it out myself might be enough
<{^_^}> [nixpkgs] @FRidh pushed to master « python3.pkgs.fastparquet: 0.4.0 -> 0.4.1 »: https://git.io/JUCyW
<Mic92> kyren_: there is some mingw support in nixpkgs, but might not work out for rust yet. I think it was mostly introduced for some folks doing haskell
<Mic92> I did cross-compile direnv for windows at some point
<{^_^}> [nixpkgs] @ttuegel opened pull request #97671 → appstream-qt: multiple outputs → https://git.io/JUCyR
drewr has joined #nixos
kahuna has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @ttuegel opened pull request #97672 → mariadb-connector-c: multiple outputs → https://git.io/JUCyz
<{^_^}> [hydra] @andir opened pull request #805 → LDAP support continued (with missing packages & tests) → https://git.io/JUCyX
<{^_^}> [nixpkgs] @andir opened pull request #97673 → perlPackages: init Catalyst::Authentication::Store::LDAP at 1.016 (and dependencies) → https://git.io/JUCyM
<kyren_> Mic92: hmm okay, I'm gonna keep trying to get a better sense of the state of things anyway, and maybe report back with better questions ready
<kyren_> but thank you!
<Mic92> kyren_: If you just want something working maybe rustup is an option
<bbigras> kyren_: also maybe ask on the forum. I'm also interested in this.
<kyren_> that's actually just what I want, I think that already works via nixpkgs-mozilla overlay as well, but I have some nixpkgs dependencies too like e.g. openssl, but I'm also a beginner at this so I'm trying to figure out if like, I need to start by setting crossSystem to mingwW64 or if that's just not going to work
<Mic92> kyren_: if you just need a CC set to mingwW64, you could just try a nix-shell with stdenv from that
fendor_ has joined #nixos
fendor has quit [Read error: Connection reset by peer]
<Mic92> kyren_: i.e.: pkgsCross.mingwW64.stdenv
<Mic92> We should even have that in the binary cche
<Mic92> *cache
<kyren_> oh right I keep forgetting that things are so flexible like that
<{^_^}> [nixpkgs] @Avaq opened pull request #97674 → minecraft-server: 1.16.2 -> 1.16.3 → https://git.io/JUCSW
fendor_ has quit [Remote host closed the connection]
<sterni> simonpe^^: you can just make your cache as a whole a fixed output derivation if doesn't change even if you change the nev vars
jonringer has joined #nixos
fendor_ has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv has quit [Read error: Connection reset by peer]
<kyren_> okay, I think my problems are much more basic than this, I'm trying to use mkShell and list compiler tools in nativeBuildInputs rather than using stdenv.mkDerivation or possibly buildRustPackage, maybe that's my problem
sigmundv has joined #nixos
drewr has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> [nixpkgs] @danieldk opened pull request #97675 → postgresqlPackages.age: fix build → https://git.io/JUCS6
ransom has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
<{^_^}> [nixpkgs] @danieldk merged pull request #97645 → Update weather → https://git.io/JUC0e
<{^_^}> [nixpkgs] @danieldk pushed 3 commits to master: https://git.io/JUCS7
<kyren_> okay maybe I was wrong, the simplest possible crate doesn't build when setting crossSystem, so maybe the strategy of just building individual non-rust deps using pkgsCross is better, anyway I'll report back if I have any success, thanks!
noudle has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #97675 → postgresqlPackages.age: fix build → https://git.io/JUCS6
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « postgresqlPackages.age: fix build »: https://git.io/JUCS5
<{^_^}> [nixpkgs] @jonringer merged pull request #97664 → [20.09] nagios: fix build → https://git.io/JUCXd
<{^_^}> [nixpkgs] @jonringer pushed commit from @immae to release-20.09 « nagios: fix build »: https://git.io/JUCSp
zupo has joined #nixos
dominicusin[m] has quit [Quit: Idle for 30+ days]
<{^_^}> [nixpkgs] @danieldk opened pull request #97676 → [20.09] postgresqlPackages.age: fix build → https://git.io/JUC9s
zupo has quit [Ping timeout: 240 seconds]
<simonpe^^> sterni: it's too big to do that, it's a yocto build and it overlaps quite a bit with nix
growpotkin has joined #nixos
<simonpe^^> but its basically as reproducible so I can pretty much trust it do do the same thing given the same inputs, disregarding it currently runs inside of docker because it expects a peculiar environment which I couldn't get working insdie a buildFHSUserEnv
<simonpe^^> so its (nix (docker (bitbake)))
sherub has joined #nixos
dermetfan has joined #nixos
omneh has joined #nixos
omneh has joined #nixos
omneh has quit [Changing host]
<{^_^}> [nixpkgs] @ryneeverett opened pull request #97677 → nixos/docker: load more required kernel modules → https://git.io/JUC96
omnipotententity has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #97668 → mlton: use $TMPDIR → https://git.io/JUCD5
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JUC9Q
<{^_^}> [nixpkgs] @gebner pushed to release-20.09 « mlton: use $TMPDIR »: https://git.io/JUC9b
<{^_^}> [nixpkgs] @RaghavSood opened pull request #97678 → go-ethereum: 1.9.20 -> 1.9.21 → https://git.io/JUC9j
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
LogicalOverflow has joined #nixos
knupfer has joined #nixos
porphyrogenetos has joined #nixos
omneh has quit [Ping timeout: 240 seconds]
omnipotententity has joined #nixos
omnipotententity has joined #nixos
omnipotententity has quit [Changing host]
samhza has quit [Remote host closed the connection]
samhza has joined #nixos
sherub has quit [Remote host closed the connection]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
Guest29927 has quit [Quit: Connection closed for inactivity]
knupfer has joined #nixos
knupfer has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
kahuna has joined #nixos
dbmikus has joined #nixos
fendor_ has quit [Quit: Leaving]
knupfer has quit [Client Quit]
knupfer has joined #nixos
endformationage has joined #nixos
fendor has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
kahuna has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #97640 → libreoffice-qt: fix compilation → https://git.io/JUC84
<{^_^}> [nixpkgs] @jonringer pushed commit from @marius851000 to master « libreoffice-qt: fix compilation »: https://git.io/JUCH7
dbmikus has quit [Ping timeout: 258 seconds]
kyren_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @acowley opened pull request #97679 → vulkan-loader: fix pkgconfig libdir path → https://git.io/JUCHF
<{^_^}> [nixops-aws] @RaitoBezarius closed pull request #13 → RDS: Add DBSubnet resource, VPC security groups → https://git.io/Jezti
o1lo01ol1o has joined #nixos
dbmikus has joined #nixos
waleee-cl has joined #nixos
erasmas has joined #nixos
kahuna has joined #nixos
dbmikus has quit [Ping timeout: 256 seconds]
jaen has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 244 seconds]
justanotheruser has joined #nixos
davidv7 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @NickHu opened pull request #97680 → pam-gnupg: init at 0.1 → https://git.io/JUCQP
kahuna has quit [Ping timeout: 264 seconds]
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @NickHu closed pull request #97680 → pam-gnupg: init at 0.1 → https://git.io/JUCQP
dbmikus has joined #nixos
cosimone has quit [Quit: Quit.]
kahuna has joined #nixos
sherub has joined #nixos
cosimone has joined #nixos
cosimone has quit [Client Quit]
<{^_^}> [nixpkgs] @danieldk merged pull request #97461 → [docs/rust]: Fix typo → https://git.io/JUnHR
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JUC7n
mariatsji has quit [Remote host closed the connection]
veleiro has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97636 → [20.09] lxpanel: fix build by switching to gdk-pixbuf-xlib → https://git.io/JUCW2
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.09: https://git.io/JUC7l
mariatsji has joined #nixos
cole-h has joined #nixos
mariatsji has quit [Remote host closed the connection]
mariatsji has joined #nixos
cosimone has joined #nixos
kahuna has quit [Ping timeout: 256 seconds]
cosimone has quit [Client Quit]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97637 → [20.09] Fix paperless and other Python pkgs → https://git.io/JUCWV
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to release-20.09: https://git.io/JUC7R
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97648 → [20.09] ejabberd: fix failing tests → https://git.io/JUCzK
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.09: https://git.io/JUC70
<{^_^}> [nixpkgs] @worldofpeace merged pull request #97593 → [20.09] lxd: Backport #97550 → https://git.io/JUcNJ
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to release-20.09: https://git.io/JUC7E
<{^_^}> [nixpkgs] @Lassulus merged pull request #95925 → xdragon: Init at 1.1.1 → https://git.io/JJj7d
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUC7z
<eyJhb> Is it possible to do `users.users.root = ...` without ruining everything? Want to add a ssh key to root
<cole-h> Yes
<{^_^}> [nixpkgs] @Jiehong opened pull request #97681 → sublime-merge: use 2033 as dev and 2032 as stable versions → https://git.io/JUC7V
<eyJhb> cole-h: Trying to figure out the best way to deploy using Nixus. And allowing for sudo without PW on my main user seems careless, adding a ssh key to root seems "not well". My only option seems to be adding a user only used for deploying?
<eyJhb> only option left*
<eyJhb> Not sure if you have a better approach cole-h
<cole-h> I add a SSH key to root
<eyJhb> Damn it.
<cole-h> A deploy user sounds like a good idea
<{^_^}> [nixpkgs] @Lassulus merged pull request #85934 → dump: init at 0.4b46 → https://git.io/JfLCf
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUC7D
<{^_^}> [nixpkgs] @Lassulus merged pull request #94305 → rootlesskit: 0.3.0-alpha.2 -> 0.10.0 → https://git.io/JJ2Sl
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUC7S
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
ris has joined #nixos
kreyren_ has quit [Remote host closed the connection]
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
<eyJhb> cole-h: something like this I guess ? https://termbin.com/zqrh
mariatsji has quit [Remote host closed the connection]
<cole-h> Sure. Note that it'll need passwordless sudo.
kreyren has joined #nixos
<eyJhb> It has the extraRules with commands = "ALL"; that should be enough, or am I wrong?
<cole-h> Pretty sure it needs `NOPASSWD`
<cole-h> At least, `man sudoers` leads me to believe so
<cole-h> (I don't use sudo)
kahuna has joined #nixos
<eyJhb> Ehhh, I will try to find out where thaut should be put.
<eyJhb> The options does not give it away
<cole-h> eyJhb: btw, pretty sure that example is malformed
<colemickens> idk if that helps, it looked more useful at first glance
<cole-h> eyJhb: extraRules is a list of attrs
mariatsji has joined #nixos
<cole-h> eyJhb: So it would look more like `extraRules = [ { users = [ deployUsername ]; commands = [ "ALL" ]; options = [ "NOPASSWD" ]; } ];`
kahuna has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
<eyJhb> Close, seems like commands = [ { command = "ALL"; options = [ "NOPASSWD" ]; } ], as far as line 180 goes
<cole-h> Oh yeah
<cole-h> Misread
<eyJhb> That is a confusing option tbh.
<eyJhb> There should be a better example, also, not it
<cole-h> Line 82
<cole-h> Looks like a decent example to me
<cole-h> ¯\_(ツ)_/¯
<eyJhb> The search issue atm. with not displaying example correct
<eyJhb> Didn't look at it
<eyJhb> Was there anything else malformed cole-h ?
<jasom> Can I have multiuser nixpkgs on linux without systemd?
<cole-h> eyJhb: Not that I noticed from a quick glance
<bqv> jasom: clever made "not-os" which uses runit
<eyJhb> Great, lets see how much I can break!
<bqv> But beyond that, no
<cole-h> eyJhb: The great thing about NixOS is that you can rollback ;)
<bqv> I am trying to build an s6-based nixos though…
<eyJhb> True! Just hoping it won't disturb my tv show atm. cole-h :p
<jasom> bqv: I guess I'll dig into what it is that nixpkpgs wants from systemd and see how much work it would be to reimplement as not-systemd
<bqv> A lot.
<bqv> (almost everything...)
<cole-h> Yeah, NixOS is extremely reliant on systemd
<bqv> I'm starting as trying to get a basic container working
<jasom> not nixos, but nix on a hosted linux
<bqv> That way its not insurmountable
<cole-h> Oh
<bqv> Oh
<eyJhb> Oh
<cole-h> That should be easier. You just need a daemon service, really. I don't think there's anything in the pkgs part of nixpkgs that relies on systemd?
<cole-h> Aside from various packages, of course
<cole-h> {lib,}udev, etc
<bqv> Yeah it's just derivations, then
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo2 has joined #nixos
<jasom> looks like 1 service and 1 socket is all it puts in systemd
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
simonpe^^ has quit [Remote host closed the connection]
fendor has quit [Ping timeout: 260 seconds]
kahuna has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
superherointj has joined #nixos
hiro99 has quit [Quit: hiro99]
<{^_^}> [nixpkgs] @kevincox pushed 0 commits to kevincox-chrony-state: https://git.io/JUC5x
zupo has joined #nixos
kahuna has quit [Ping timeout: 256 seconds]
domogled has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #97515 → chromium: 85.0.4183.83 -> 85.0.4183.102 → https://git.io/JUccz
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/JUCdT
knupfer has quit [Ping timeout: 246 seconds]
alexherbo24 has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to master « nixos release notes: fixup build after #96991 »: https://git.io/JUCdY
<{^_^}> [nixpkgs] @vlche opened pull request #97683 → foundationdb: add branch 6.2 → https://git.io/JUCdG
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo24 is now known as alexherbo2
<{^_^}> [nixpkgs] @vcunat pushed to release-20.09 « nixos release notes: fixup build after #96991 »: https://git.io/JUCdZ
<emily> does anyone on macOS Catalina have a working encrypted /nix setup or could give me pointers to getting one? going by https://discourse.nixos.org/t/nix-on-macos-catalina-risks-with-unencrypted-nix-store-possibilities-for-encrypted-nix-store/8134, https://discourse.nixos.org/t/nix-var-nix-opt-nix-usr-local-nix/7101/66 and https://logs.nix.samueldr.com/nix-darwin/2020-05-26#1590512003-1590514818 it seems like the viable approaches are to either hardcode the
<emily> password in the plain on the root volume or use the system keychain, but it's not entirely clear to me how to put all the pieces together
<emily> like, that Ruby snippet doesn't seem to set up a login hook or anything to mount the volume? does just injecting the password into the system keychain and putting it in fstab manually work, or is that part just left to the reader to figure out?
aborsu has joined #nixos
<bqv> jasom: what's the service, the daemon?
<{^_^}> [nixpkgs] @corpix opened pull request #97684 → zandronum: change url → https://git.io/JUCd2
<emily> (would this question be better for #nix-darwin?)
<samueldr> in addition to here, probably a good idea to ask there
sangoma has joined #nixos
* bqv is only slightly salty about ignored texts
acarrico has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @corpix closed pull request #97684 → zandronum: change url → https://git.io/JUCd2
<{^_^}> [nixpkgs] @superherointj opened pull request #97686 → nixos/dmidecode: added recommended patches → https://git.io/JUCd1
<{^_^}> [nixpkgs] @Lassulus merged pull request #94257 → openbgpd: init at 6.7p0 → https://git.io/JJ2OH
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUCdH
kahuna has joined #nixos
<typetetris> Hmm I have a call to `nix-shell` in CI, where `NIX_PATH` isn't set to something useful. But the shell.nix should be self contained. But still, I have to user `-I nixpkgs=https://<some nixpkgs url>` because it insist on getting bash from the nixpkgs in the NIX_PATH, can I avoid that?
alexherbo2 has joined #nixos
sangoma has quit [Ping timeout: 260 seconds]
kahuna has quit [Ping timeout: 246 seconds]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
jtmcx has joined #nixos
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
matthiaskrgr has joined #nixos
ixxie has joined #nixos
Darkmatter66_ has joined #nixos
Darkmatter66 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @danieldk opened pull request #97687 → python3Packages.datasets: init at 1.0.0 → https://git.io/JUCFt
stiell has quit [Ping timeout: 264 seconds]
Ashley33 has joined #nixos
Ashley33 has quit [Disconnected by services]
stiell has joined #nixos
<{^_^}> [nixpkgs] @risicle merged pull request #95114 → inkscape: allow loading external extensions → https://git.io/JJDr1
<{^_^}> [nixpkgs] @risicle pushed 3 commits to master: https://git.io/JUCFZ
Guest49 has joined #nixos
Guest49 has quit [Max SendQ exceeded]
Guest49 has joined #nixos
<Guest49> Hey! I'm female 23 and I'm so horny right now. Wanna trade pics with cute man. Add me here >> https://bit.ly/2FoWvlf << :
Guest49 has quit [Disconnected by services]
<gchristensen> I've not seen that quit message before
Guest49 has joined #nixos
Guest49 has quit [Disconnected by services]
marcusr has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
Guest4973 has joined #nixos
<bqv> Now you have
<{^_^}> [nixpkgs] @flokli merged pull request #97631 → nixos/nginx: remove option enableSandbox → https://git.io/JUCGL
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JUCFi
Guest4973 has quit [Max SendQ exceeded]
Guest49 has joined #nixos
Guest49 has quit [Disconnected by services]
aborsu_ has joined #nixos
<{^_^}> [nixpkgs] @ajs124 merged pull request #92269 → picoloop: init at 0.77e → https://git.io/JJk23
<{^_^}> [nixpkgs] @ajs124 pushed commit from @Sohalt to master « picoloop: init at 0.77e (#92269) »: https://git.io/JUCF5
rajivr has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @flokli pushed commit from @Izorkin to release-20.09 « nixos/nginx: remove option enableSandbox »: https://git.io/JUCFd
aborsu has quit [Ping timeout: 246 seconds]
aborsu_ is now known as aborsu
<{^_^}> [nixpkgs] @TethysSvensson opened pull request #97689 → nixos/systemd-boot: Temporarily ignore errors → https://git.io/JUCFN
ManiacOfMadness has quit [Ping timeout: 244 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ajs124 merged pull request #97541 → mpdscribble: 0.22 -> 0.23 → https://git.io/JUcro
<{^_^}> [nixpkgs] @ajs124 pushed 3 commits to master: https://git.io/JUCbe
<{^_^}> [nixpkgs] @jtojnar opened pull request #97690 → inkscape: 1.0 → 1.0.1 → https://git.io/JUCbv
<{^_^}> [nixpkgs] @Lassulus merged pull request #94115 → dwm: add conf option → https://git.io/JJu4W
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/JUCbJ
<{^_^}> [nixpkgs] @risicle merged pull request #97676 → [20.09] postgresqlPackages.age: fix build → https://git.io/JUC9s
<{^_^}> [nixpkgs] @risicle pushed 2 commits to release-20.09: https://git.io/JUCbI
<jasom> bqv: yeah
<{^_^}> [nixpkgs] @flokli pushed 2 commits to pull/97612/head: https://git.io/JUCbY
kahuna has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed 0 commits to pull/97612/head: https://git.io/JUCb3
mariatsji has quit [Remote host closed the connection]
kahuna has quit [Ping timeout: 246 seconds]
maxdevjs has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 264 seconds]
urkk_ has joined #nixos
urkk has quit [Ping timeout: 256 seconds]
<{^_^}> [nix-mode] @rossabaker opened pull request #108 → Check for liveness of process on nix-repl completions → https://git.io/JUCb9
samhza has quit [Remote host closed the connection]
samhza has joined #nixos
aidenholmes has joined #nixos
rihards has joined #nixos
<aidenholmes> hello, is it appropriate to ask for support with specific packages here?
ManiacOfMadness has joined #nixos
<simpson> If it's broken because of choices in nixpkgs, then yeah. And it can be hard to tell sometimes.
xcmw has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #97691 → cargo-kcov: init at 0.5.2 → https://git.io/JUCbN
<aidenholmes> the package emacs26Packages.telega, emacs doesn't detect when it's installed
kahuna has joined #nixos
<simpson> You might get better answers in #nixos-emacs.
Pwnna has quit [Quit: Bye]
Pwnna has joined #nixos
<bqv> aidenholmes: how are you using ití
<bqv> If you just install it, not much will happen
<bqv> You'll have to get emacs to load it
<bqv> Manually
cosimone has joined #nixos
<bqv> E.g. (load-file "/nix/store/blah-emacs-telega/share/emacs/site-lisp/telega.el
<bqv> ")
<{^_^}> [nixpkgs] @ryneeverett opened pull request #97692 → nixos/lxd: explicitly load kernel modules → https://git.io/JUCNv
<bqv> With the appropriate filenames/paths, and no newline
<bqv> He's still here, right?
Kloenk_ has joined #nixos
<aidenholmes> yes sorry
<aidenholmes> getting advice on two chats at once rn, hard to keep track
<bqv> Gotcha
kahuna has quit [Ping timeout: 256 seconds]
<aidenholmes> well shit
<aidenholmes> i need to restart emacs to test it
<{^_^}> [nixpkgs] @nyanloutre opened pull request #97693 → discord: 0.0.11 -> 0.0.12 → https://git.io/JUCNt
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aidenholmes> but i can't because i'm using emacs as my irc client
<aidenholmes> one moment
<{^_^}> [nixpkgs] @TethysSvensson opened pull request #97694 → discord: 0.0.11 -> 0.0.12 → https://git.io/JUCNq
zupo has joined #nixos
aidenholmes1 has joined #nixos
<aidenholmes1> hello it's me on thunderbird
<aidenholmes> ok leaving from here
<bqv> Oh
<bqv> You can load from a running emacs
<energizer> i am seeing only boxes instead of fonts and gtk apps all say "(hexchat:14393): Pango-CRITICAL **: 12:12:17.166: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed". how to debug?
<bqv> Alt+: for eval
<bqv> Or M-x ielm
<aidenholmes> i'm using spacemacs, i need to restart it to change configuration
<bqv> For interactive eval
Kloenk_ has quit [Quit: WeeChat 2.9]
<bqv> Yeah, but you can run lisp at runtime
Kloenk_ has joined #nixos
<bqv> Changing some configs temporarily, on the fly
Kloenk_ has quit [Client Quit]
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @nyanloutre closed pull request #97693 → discord: 0.0.11 -> 0.0.12 → https://git.io/JUCNt
kloenk has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @bcdarwin opened pull request #97695 → python3Packages.graspy: 0.2.0 -> 0.3.0 → https://git.io/JUCNl
<bqv> Crazy timing
aborsu has quit [Quit: aborsu]
zupo has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #97303 → systemd-confinement: handle ExecStarts etc being lists → https://git.io/JUGyX
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JUCNw
dm85 has joined #nixos
<bqv> Stop that
<aidenholmes>
<aidenholmes> (load-file "/nix/store/v6fxcg3kk8zjvrzhn2cc01na6ay49jia-emacs-telega-20200101.2251/share/emacs/site-lisp/elpa/telega-20200101.2251/telega.el")
<aidenholmes> *** Eval error *** Cannot open load file: No such file or directory, telega-customize
<aidenholmes> got
<bqv> Oh
<{^_^}> [nixpkgs] @dtzWill closed pull request #94138 → minetime: 1.7.3 -> 1.8.4 → https://git.io/JJuVy
<{^_^}> [nixpkgs] @flokli pushed commit from @martinetd to release-20.09 « systemd-confinement: handle ExecStarts etc being lists »: https://git.io/JUCNP
<bqv> (add-to-list 'load-path "/nix/store/v6fxcg3kk8zjvrzhn2cc01na6ay49jia-emacs-telega-20200101.2251/share/emacs/site-lisp/elpa/telega-20200101.2251/")
<bqv> Then just (require 'telega)
<bqv> Those single quotes aren't a mistake
<aidenholmes> okay, i should run that in the elisp interpreter or put it somewhere in config
<bqv> Either or :)
<{^_^}> [nixpkgs] @flokli pushed commit from @martinetd to release-20.03 « systemd-confinement: handle ExecStarts etc being lists »: https://git.io/JUCNX
<aidenholmes> okay it works in the elisp interpreter
<aidenholmes> now i have to figure out where in config to put it
<aidenholmes> also if it will get missed up everytime nix changes the hash
<bqv> It will, yeah
<bqv> That's a spacemacs thing, can't help much there, but you could get nix to generate a .el file and somehow get spacemacs to load it
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aidenholmes1> on thunderbird now now
<{^_^}> [nixpkgs] @WhittlesJr opened pull request #97696 → allegro: Add patch to fix fatal build error → https://git.io/JUCNF
zupo has joined #nixos
<aidenholmes1> okay so i don't think i can require ' things from the spacemacs user config, i might have to make a layer for it
<bqv> Really?!
<bqv> That sounds ..bad
<aidenholmes1> in theory it's more declarative and whatnot
<bqv> You should be able to drop that require in anywhere and have it work, but it might not be "neat"
kahuna has joined #nixos
<{^_^}> [nixos-homepage] @samueldr pushed 3 commits to feature/2020-r/footer-details: https://git.io/JUCNx
<{^_^}> [nixos-homepage] @samueldr pushed 20 commits to feature/2020-redesign: https://git.io/JUCNp
<{^_^}> [nixpkgs] @matthewbauer opened pull request #97697 → pytest-timeout: 1.3.3 -> 1.4.2 → https://git.io/JUCNh
<{^_^}> [nixos-homepage] @samueldr pushed 6 commits to feature/2020-r/navigation-fixups: https://git.io/JUCNj
<{^_^}> [nixpkgs] @matthewbauer opened pull request #97698 → pytorch: update to use passthru's for checks → https://git.io/JUCAv
<dm85> Hello all. Does anybody know where python's ctypes.CDDL() looks for a library?
<{^_^}> [nixpkgs] @anna328p opened pull request #97699 → discord: 0.0.11 -> 0.0.12, discord-ptb: 0.0.21 -> 0.0.22, discord-canary: 0.0.111 -> 0.0.112 → https://git.io/JUCAT
alp_ is now known as alp
knupfer1 has joined #nixos
<{^_^}> [nixos-homepage] @samueldr pushed 16 commits to feature/2020-r/mvp-allpages: https://git.io/JUCAY
<simpson> dm85: IIRC nowhere useful; you'll have to specify absolute paths to each shared object.
kahuna has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #97346 → test-driver.py: fix VM state directory deletion → https://git.io/JUZRv
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JUCAG
justanotheruser has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @vcunat pushed to master « Revert "Merge #96844: nixos/nfsd: run rpc-statd as a normal user" »: https://git.io/JUCAc
<{^_^}> [nixpkgs] @flokli pushed commit from @NinjaTrappeur to release-20.09 « test-driver.py: fix VM state directory deletion »: https://git.io/JUCAC
<energizer> What does this mean? strace -e trace=file hexchat -> openat(AT_FDCWD, "/nix/store/c4rdlbksy4y8i4y86bsrkd439lqfy1xh-gtk+-2.24.32/lib/libpangoft2-1.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
dbmikus has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Lassulus merged pull request #93970 → sublime-music: 0.11.0 -> 0.11.7 → https://git.io/JJ0y6
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUCAu
<bqv> Does that file exist? :p
<bqv> (want a spoiler? :p)
<energizer> it does not exist
<bqv> I rest my face
<energizer> why is my whole system broken
<bqv> My answer to that is usually "I'm cursed"
dbmikus has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @risicle merged pull request #97630 → rpm: add openmp when building with clang → https://git.io/JUCs6
<{^_^}> [nixpkgs] @risicle pushed 2 commits to master: https://git.io/JUCAK
<sherub> Hey folks, I am facing an issue with glX extensions on my newly setup NixOS. Anyone here who can help me understand what I am missing? Is this even the forum to ask questions like that?
aidenholmes1 has quit [Quit: aidenholmes1]
<bqv> Someone clever will be along shortly to assist
<simpson> I'm not at all clever, sadly. How have you diagnosed your problems so far, and do you know your GPU vendor and/or driver?
camsbury has joined #nixos
<sherub> ^ I have all the details added here.
zupo has quit [Client Quit]
<sherub> I have an old ass GPU. Nvidia GeForce 210. And I am using NvidiaLegacy340 drivers for it
zupo has joined #nixos
* bqv has no idea
<bqv> You might have better luck asking in a more general place though
<bqv> It probably isn't a nixos-specific issue
alp has quit [Ping timeout: 272 seconds]
<energizer> when i go to open hexchat, i get this error. "
<energizer> (hexchat:877): Pango-CRITICAL **: 12:43:21.632: pango_font_get_hb_font: assertion 'PANGO_IS_FONT (font)' failed"
<simpson> sherub: I'm not an nv expert, but why aren't you using nouveau?
<sherub> I believe that it is a driver issue. When I don't use these drivers, alacritty does work. but then the whole display gets screwed (everything gets squished vertically to have)
<sherub> simpson I don't know what nouveau is
<energizer> i think it means it can't find this function pango_font_get_hb_font in the pango shared lib, yes?
zupo has quit [Ping timeout: 246 seconds]
<energizer> there is an issue that mentions failure to find this function https://github.com/NixOS/nixpkgs/pull/78413
<simpson> sherub: Okay, then this is probably a documentation issue too. What told you to use legacy nVidia drivers?
<{^_^}> #78413 (by primeos, 32 weeks ago, merged): signal-desktop: 1.29.6 -> 1.30.0
<energizer> but that is fixed, so maybe my problem is different
<simpson> sherub: nouveau is the reverse-engineered open driver for nVidia cards. https://nouveau.freedesktop.org/wiki/FeatureMatrix/ suggests that your "old" NV50 chipset should work fine as long as you don't need TV out.
<{^_^}> [nixpkgs] @matthewbauer merged pull request #97587 → Fix arch eval error → https://git.io/JUc5A
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JUCxY
<sherub> Docs mentioned that usually proprietary drivers give better rendering. And when I left it to default everything used half the screen with everything vertically squished.
<sherub> I got to nvidia's site to see the appropriate drivers for the GPU I have and got it was 340 and then looked that in nixos search
<{^_^}> [nixpkgs] @matthewbauer pushed commit from @arcnmx to release-20.09 « Fix arch eval error introduced in #61019 »: https://git.io/JUCxn
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #97700 → cod: init at unstable-2020-09-10 → https://git.io/JUCxC
<simpson> "better 3D performance" comes at the cost of 2D performance (Web browser, video, PDF reader) and, as you're learning, they're very brittle and require the entire driver to be loaded or unloaded, all the way up the stack. In particular you *need* to reboot after switching to/from "nvidia".
lunik1 has quit [Ping timeout: 256 seconds]
<simpson> The docs don't say how to explicitly choose nouveau. I'd guess writing "nouveau" would work, but also I think that it might be autodetectable if you simply remove the proprietary "nvidiaLegacy340".
zupo has joined #nixos
<sherub> removing nvidiaLegacy340 makes it so that only half my display is used.
<bqv> The middle half?
<simpson> Oh! I see, I misread your earlier message. Okay, I guess you're stuck with the proprietary drivers. Let's figure out your GLX, then. Are you using `glxinfo` to check?
<sherub> https://discord.com/channels/568306982717751326/570351749848891393/751895898396688505 <- here is what it looks like when I use default
lunik1 has joined #nixos
<sherub> I used glxInfo to check. yes
<bqv> Almost lured me onto discord there...
<sherub> @bqv any other way I can share this?
ixxie has quit [Quit: Lost terminal]
<sherub> When I try to run glxgears it gives outError: couldn't get an RGB, Double-buffered visualWhen I try to run glxinfo it gives outname of display: :0Error: couldn't find RGB GLX visual or fbconfig
<bqv> Imgur probably easiest, but ix.io etc support images
<bqv> Either way, is it not just a resolution issue?
<bqv> Try a different output mode
zupo has quit [Ping timeout: 258 seconds]
<bqv> Yup, resolution
<sherub> > Try a different output mode
<{^_^}> undefined variable 'Try' at (string):323:1
<sherub> I don't understand what you men by "Try a differnt output mode"
<{^_^}> [nixpkgs] @pnelson opened pull request #97701 → nextdns: 1.7.1 -> 1.8.3 → https://git.io/JUCxK
<bqv> Run `xrandr`
<bqv> It'll show you your monitor config
<simpson> sherub: To answer some of your Reddit questions, GLX is GL (graphics language, like OpenGL) for X11. GLX vendors include nVidia and Xorg. Your GLX is loaded when Xorg starts, so pastebinning /var/log/X.0.log would let us double-check which drivers are being used.
<bqv> Including the name of that screen, and it's available resolutions
<sherub> output of xrandr is
<sherub> Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192DVI-I-0 disconnected primary (normal left inverted right x axis y axis)VGA-0 disconnected (normal left inverted right x axis y axis)DVI-I-1 disconnected (normal left inverted right x axis y axis)HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
<sherub> 1920x1080 60.00*+ 59.94 50.00 29.97 23.97 1600x900 60.00 1280x1024 60.02 1280x800 59.81 1280x720 60.00 59.94 1152x864 60.00 1024x768 60.00 800x600 60.32 720x576 50.00 720x480 59.94 640x480 59.94 59.93
<{^_^}> [nixpkgs] @Kloenk opened pull request #97702 → nixos/systemd.tmpfiles: add structured attrs → https://git.io/JUCxX
<bqv> Wait
<bqv> Is it plugged in?
<sherub> plugged in? monitor. then yes. I am currently using it
<bqv> Oh
<sherub> also simpson what am I looking for in X.0.log?
<bqv> Ok, well, `xrandr --output HDMI-0 --mode 1600x900` should do it iirc
<simpson> sherub: GLX, nVidia, errors. I can read it quickly if you pastebin it, but it's not rocket science. Be aware that a lot of warnings are completely normal.
karantan has joined #nixos
<energizer> is there a cache that has built unfree nixpkgs? i dont want to build them myself
<bqv> Beyond that, I'm sorry, I haven't a clue
<bqv> energizer: ipfs is coming™
<energizer> bqv: but who will build those packages?
<bqv> You
<gchristensen> who do you trust to build those packages?
<bqv> Me
<gchristensen> =)
<bqv> Everybody!
<energizer> yes, there are a lot of people i trust to build packages
ixxie has joined #nixos
<simpson> bqv: Oh! I see what you saw now! Nice find.
<simpson> sherub: bqv++ noticed that your highest-DPI resolution isn't necessarily your screen-filling resolution.
<{^_^}> bqv's karma got increased to 28
leungbk has joined #nixos
<{^_^}> [nixpkgs] @Lassulus merged pull request #93944 → MIDIVisualizer: init at 5.1 → https://git.io/JJ0GZ
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUCpt
<{^_^}> [nixpkgs] @matthewbauer opened pull request #97703 → magma: use cmake rules → https://git.io/JUCpm
<{^_^}> [nixpkgs] @mmahut merged pull request #97678 → go-ethereum: 1.9.20 -> 1.9.21 → https://git.io/JUC9j
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JUCpY
<bqv> :)
<sherub> yeah it is a 4k capable monitor my GPU can probably push more than FullHD, I plan to get to that issue too.
<simpson> Heh, indeed, the log corroborates the idea that the TV's EDID has trashy modes. (EDID is how monitors tell the GPU which modes they support.)
LogicalOverflow has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vbgl merged pull request #97087 → coqPackages.{paco,InfSeqExt,Cheerios,Verdi}: enable for Coq 8.12 → https://git.io/JU3aD
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JUCpn
<simpson> Thank you for saying that now. Let me relate an anecdote. To drive the typical TV at 4k, you'll need a *custom mode*. This isn't super-hard, you'll need to stare at the manpage for `cvt` for a while. But beware: You may find yourself unhappy with the framerate, because you might not be able to drive it at 60fps over your GPU and TV combination.
<leungbk> What is the exact command used to obtain the hashes in the nixpkgs repo? I've tried some variants of "nix-hash --type sha256 --base32 ." on a git-checkout of debugpy at the version in nixpkgs (python-modules/debugpy/default.nix) but cannot get a matching hash.
<simpson> I recall driving a TV at Sears with a laptop using a custom mode. There just wasn't enough clock for all those pixels; the best mode was 15fps.
<sherub> This GPU is a temp solution. I was waiting for the next gen GPU launch from both nvidia and AMD and will switch in coming months
<sherub> so i am okey with this issue for now.
<bqv> simpson++ I've had to do that before, though last time I had that issue was on windows >_>
<{^_^}> simpson's karma got increased to 30
<simpson> If the TV's EDID is bad, then it's the TV's issue.
<sherub> Also "noticed that your highest-DPI resolution isn't necessarily your screen-filling resolution." I did not really understand exactly what you meant. Can you help me understand better
<simpson> (And, again, TV EDIDs are *commonly* bad. Maybe three out of five of the TVs I've owned, I've needed custom modes or some other tweak.)
<simpson> DPI is a measure of how densely the pixels are packed on your screen. It's possible to have a high-DPI mode which doesn't use all of the (usually vertical) space.
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to release-20.09: https://git.io/JUCpV
<simpson> I don't see any problem with your nVidia GLX. Indeed, your log has commemorated you running glxgears and glxinfo by repeatedly discovering that your TV doesn't support 3D glasses.
aidenholmes has quit [Ping timeout: 244 seconds]
<sherub> When you say TV, do you mean any general display? or something specific?
<simpson> sherub: Hold on. Did you reboot before running xrandr? I think that we may have missed a key step. nVidia's drivers are an all-or-nothing setup; you have to have the kernel drivers loaded *and* be using their GLX as well.
<simpson> "TV" is my name for the market segment that this sort of monitor comes from. Your "LG Electronics LG HDR 4K". I don't know whether it was literally marketed as a television.
<sherub> If I understand correctly you mean that I first comment out the nvidia line
<simpson> ...Hm, but the kernel drivers would be there, and GLX did load...
<sherub> the run the xrandr to pin resolution at a value
<sherub> right?
<simpson> Yes.
<sherub> and the commenting out nvidia will mean reboot there
<simpson> Yeah. For most things, just nixos-rebuild will work. For nVidia, you need nixos-rebuild *and* reboot.
<sherub> ok cool lemme give it a shot.
<simpson> I think that's about all the help we can give for now. Hopefully you understand a bit more about the different drivers. Good luck.
zupo has joined #nixos
<sherub> I am new to ircs too. How do I ++ you guys
Darkmatter66 has joined #nixos
<bqv> Just say the name: sherub++
<{^_^}> sherub's karma got increased to 1
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @treed opened pull request #97704 → [20.09] rpm: add openmp when building with clang → https://git.io/JUCp5
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
Darkmatter66_ has quit [Ping timeout: 256 seconds]
<sherub> @bqv++ and simpson++ thanks so much folks.
<{^_^}> simpson's karma got increased to 31.000000000000007
sherub has quit [Remote host closed the connection]
knupfer has quit [Client Quit]
knupfer has joined #nixos
<energizer> the answer to my problem was `fc-cache -r`
Blackraider has joined #nixos
<energizer> thanks jtojnar (found your comment on github)
* fzakaria wave
davidv7_ has joined #nixos
sherub has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixos-homepage] @samueldr opened pull request #524 → Fix guides titles (<title>) → https://git.io/JUCpj
kahuna has joined #nixos
<sherub> simpson hey, that worked. I don't think I still understand what happened there
Blackraider has quit [Remote host closed the connection]
buckley310 has joined #nixos
davidv7 has quit [Ping timeout: 264 seconds]
jonringer has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-homepage] @samueldr pushed to feature/2020-r/mvp-allpages « guides: rework for MVP »: https://git.io/JUChO
<{^_^}> [nixpkgs] @jtojnar opened pull request #97705 → exiv2: re-enable split outputs → https://git.io/JUChs
sherub has quit [Remote host closed the connection]
maxfield has quit [Quit: Leaving.]
<simpson> Ah, they left already. I would have liked to know whether they ended up on nVidia or Xorg drivers.
<{^_^}> [nixpkgs] @Lassulus merged pull request #66641 → wyvern: init at 1.4.1 → https://git.io/fjdJq
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUChW
alexherbo2 has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
lucas_ has joined #nixos
mariatsji has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #97706 → pythonPackages.pyjet: fix tests → https://git.io/JUChr
tazjin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zowoq merged pull request #97654 → conmon: 2.0.20 -> 2.0.21 → https://git.io/JUCVX
<{^_^}> [nixpkgs] @zowoq pushed to master « conmon: 2.0.20 -> 2.0.21 »: https://git.io/JUCh6
ml| has quit [Ping timeout: 258 seconds]
felixfoertsch has joined #nixos
kahuna has quit [Ping timeout: 260 seconds]
tazjin has joined #nixos
mariatsji has quit [Ping timeout: 244 seconds]
stteevveen has joined #nixos
sherub has joined #nixos
<stteevveen> Hi! I don't know if I do things wrongly, but when I use fetchgit, if I do ls -a in the unpackPhase, there is the .gitignore file listed, but not the .git file. Consequently I cannot use the git command in the unpackPhase so as to checkoutand set current the needed branch of a project. Is it normal that I should not see the .git file after a
<stteevveen> fetchgit ?
<{^_^}> [nixpkgs] @anna328p closed pull request #97699 → discord: 0.0.11 -> 0.0.12, discord-ptb: 0.0.21 -> 0.0.22, discord-canary: 0.0.111 -> 0.0.112 → https://git.io/JUCAT
<{^_^}> [nixpkgs] @jonringer merged pull request #97694 → discord: 0.0.11 -> 0.0.12 → https://git.io/JUCNq
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/JUChQ
<sherub> Hi folks thanks for all the help earlier. The display properly works after running `xrandr --output HDMI-0 --mode 1600x900`. Now how do I turn this into a declarative nixos config? I looked through options and tried something like, xrandrHeads = [ { output = "HDMI-1"; primary = true; } ]; and resolutions = [{ x = 1600; y = 900; }]; but it
<sherub> did not work
<{^_^}> [nixpkgs] @Lassulus merged pull request #97452 → zandronum: use new hg url → https://git.io/JUnie
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JUCh5
<lucas_> @stteevveen you can use the ref attribute of fetchgit to set branch
<bqv> sherub: you could have that command run as part of your x window startup
<sherub> It is HDMI-1 not HDMI-0.
<{^_^}> [nixpkgs] @risicle opened pull request #97707 → pythonPackages.pq: fix build → https://git.io/JUChA
<bqv> Otherwise, not sure exactly the syntax, but you're on the right lines
<stteevveen> @lucas_ thx, so it is normal that the .git file is removed.
ixxie has quit [Remote host closed the connection]
<lucas_> I'm not sure but I'd presume so
<bqv> stteevveen: you should be setting rev to the commit you need
<sherub> @bqv , yeah that makes sense. I thought I would try to figure out the options part.
<bqv> Rather than doing git operations on build
sherub has quit [Remote host closed the connection]
<bqv> Anyone else hyped for #99999…
kahuna has joined #nixos
<stteevveen> bqv I'm ok with this, I was just not expecting a file to be removed in the porcess ;-)
ml| has joined #nixos
<bqv> stteevveen: If you need the commit hash after fetch, it's accessible via src.rev
sherub has joined #nixos
<bqv> Branch name, is obviously more complicated
wjjunyor[m] has joined #nixos
<{^_^}> [nixpkgs] @TethysSvensson opened pull request #97708 → discord: 0.0.11 -> 0.0.12 → https://git.io/JUCjq
<lucas_> Folks, I've hacked a nix-build that fetches a single binary, use autopatchelfhook, place it in $out/bin/ and running it works
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
matthiaskrgr has joined #nixos
<bqv> That's what mkDerivation does :D
<bqv> Mostly
<lucas_> Shouldn't it be in my PATH?
<bqv> If you install it
<bqv> Oh, not mkDerivation
<lucas_> What do you mean, install?
<bqv> Its a nix function
<infinisil> lucas_: How do you usually install things?
xcmw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lucas_> I've been shoving stuff in my configuration.nix
<lucas_> But this one is not in nixpkgs
<lucas_> I am very new to nix
<infinisil> lucas_: And I guess you have a nix file somewhere to build the package?
<lucas_> Yes, and a result including a binary has been placed there
<lucas_> As well as in /nix/store
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @risicle opened pull request #97709 → pythonPackages.hiredis: fix tests → https://git.io/JUCjz
noudle has quit []
<infinisil> lucas_: To install it with NixOS, you can do `environment.systemPackages = [ (import ./path/to/nix/file.nix {}) ]`
fendor has joined #nixos
eoli3n_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @TethysSvensson opened pull request #97710 → [20.09] discord: 0.0.11 -> 0.0.12 → https://git.io/JUCjM
leungbk has quit [Ping timeout: 244 seconds]
fendor has quit [Read error: Connection reset by peer]
<srid> I'm trying to install NixOS on my X1 carbon, but it just is not recognizing the USB boot drive, which I create using the official image using `dd if=.. of=/dev/sda`. What could be wrong?
camsbury has quit [Remote host closed the connection]
<srid> I see the drive in the Boot Menu, but selecting it goes back to the boot menu.
<lucas_> Thanks, infinisil
<srid> Exactly command: `sudo dd if=Downloads/nixos-plasma5-20.03.2913.4bd1938e03e-x86_64-linux.iso of=/dev/sda`
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<samueldr> srid: tried every usb port?
<srid> samueldr: yup, two of them
<samueldr> I seem to recall some recent hardware having issues with some
<samueldr> tried another distro's usb image?
<srid> umm, should I? I thought may there is something I can try before that..
seku has joined #nixos
<lucas_> I'm trying to figure out how to callpackage it
<samueldr> srid: not "should", but that's something that can help point out issues
<samueldr> e.g. if it doesn't work with something else too, it's likely that it isn't specific to the nixos image
Izorkin has quit [Ping timeout: 256 seconds]
<samueldr> srid: is it a new model of X1 carbon? I'm not sure if that name is a specific model or multiple
<srid> samueldr: it is 7th gen, but with 10th gen processor
<srid> 20R1001TUS specifically
<srid> the BIOS looks pretty fancy. with mouse cursor, graphics UI elements
<samueldr> disabled secure boot?
<srid> Nope
<samueldr> that might be it
<srid> Okay let me try that. I left it on, because windows was refusing to boot due to bitlocker thing
<samueldr> their first step is disabling secure boot
<samueldr> then some other options, not 100% sure whether you want them or not
<samueldr> no specific notes here
<srid> woohoo it works
<srid> samueldr ++
<{^_^}> [nixpkgs] @SFrijters opened pull request #97711 → openrgb: 0.3 -> 0.4 → https://git.io/JUCjA
<samueldr> I guess that could be part of a generic list of things to check, whether secure boot is enabled or not
<{^_^}> [nixpkgs] @jonringer merged pull request #97708 → [20.03] discord: 0.0.11 -> 0.0.12 → https://git.io/JUCjq
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to release-20.03: https://git.io/JUCjp
<{^_^}> [nixpkgs] @jonringer merged pull request #97710 → [20.09] discord: 0.0.11 -> 0.0.12 → https://git.io/JUCjM
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to release-20.09: https://git.io/JUCjh
mananamenos has joined #nixos
<lucas_> Great, I've installed it! Thanks, folks
sherub has quit [Remote host closed the connection]
<lucas_> Using nix for this first week is being a fun ride
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<infinisil> Nice :)
<lucas_> I've stumbled upon a couple of broken packages, I wonder if I'm doing something wrong
nikivi has quit [Client Quit]
nikivi has joined #nixos
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
matthiaskrgr has joined #nixos
__monty__ has quit [Quit: leaving]
cr4y1 has quit [Remote host closed the connection]
cr4y1 has joined #nixos
<lucas_> A lot of python38 stuff seems broken on stable. I've enabled unstable for them, python-language-server doesn't build
<lucas_> And scantailor-advanced fails to start
<lucas_> I wonder if there are guidelines for reporting these
boegel has quit [Remote host closed the connection]
<lucas_> Am I possibly doing something wrong?
<infinisil> lucas_: possibly, but also possibly not. An issue won't hurt if you clearly describe the problem in it
steve-chavez has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « vorta: 0.7.0 -> 0.7.1 »: https://git.io/JUWes
<fzakaria> lucas_: i think there's a way to check "hydra" (build farm) to see if it builds;
<fzakaria> most packages on stable would be cached (binary distriution)
knupfer has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #97494 → python3Packages.executor: 21.3 -> 23.1, fix tests → https://git.io/JUckT
<{^_^}> [nixpkgs] @jonringer pushed to master « python3Packages.executor: 21.3 -> 23.1, fix tests »: https://git.io/JUWeZ
boegel has joined #nixos
<{^_^}> [nixpkgs] @nyanloutre opened pull request #97712 → electron-cash: 4.0.14 -> 4.1.0 → https://git.io/JUWe0
<{^_^}> [nixpkgs] @jonringer opened pull request #97713 → python3Packages.executor: 21.3 -> 23.1, fix tests → https://git.io/JUWeu
alp has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #97713 → [20.09] python3Packages.executor: 21.3 -> 23.1, fix tests → https://git.io/JUWeu
<{^_^}> [nixpkgs] @jonringer pushed to release-20.09 « python3Packages.executor: 21.3 -> 23.1, fix tests »: https://git.io/JUWei
<{^_^}> [nixpkgs] @Ekleog merged pull request #97691 → cargo-kcov: init at 0.5.2 → https://git.io/JUCbN
<{^_^}> [nixpkgs] @Ekleog pushed commit from @saschagrunert to master « cargo-kcov: init at 0.5.2 (#97691) »: https://git.io/JUWeX
leungbk has joined #nixos
<energizer> "The option home.activation defined in impermanence/home-manager.nix does not exist" what's this about?
kahuna has quit [Ping timeout: 264 seconds]
cript0nauta has quit [Remote host closed the connection]
cript0nauta has joined #nixos
<leungbk> What is the exact command used to obtain the hashes in the nixpkgs repo? I've tried some variants of "nix-hash --type sha256 --base32 ." on a git-checkout of debugpy at the version in nixpkgs (python-modules/debugpy/default.nix) but cannot get a matching hash.
<{^_^}> [nixpkgs] @maxxk opened pull request #97715 → lldb_5, lldb_6: add patch for >=python-3.7 → https://git.io/JUWeh
<edef> leungbk: nix-prefetch-git for fetchgit
<edef> leungbk: nix-prefetch-url for fetchurl
<edef> leungbk: nix-prefetch-url --unpack for fetchzip
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « vorta: 0.7.0 -> 0.7.1 »: https://git.io/JUWvL
<leungbk> edef: Thanks!
<{^_^}> [nixpkgs] @eadwu closed pull request #96057 → nvidia_x11_beta: 450.66 -> 440.66.14 → https://git.io/JUv54
<infinisil> energizer: Could mean anything without context
lucas_ has quit [Ping timeout: 260 seconds]
<cole-h> energizer: If you're on 20.03/using h-m for 20.03, maybe that didn't exist yet?
<{^_^}> [nixpkgs] @risicle opened pull request #97716 → pythonPackages.pysnow: fix build & tests → https://git.io/JUWvc
<energizer> that assigns options.home.persistence. but i'm using config.home-manager.users.energizer.home.persistence. are those different?
<cole-h> I'm confused. It mentioned home.activation, not home.persistence?
<{^_^}> [nixpkgs] @jonringer merged pull request #97620 → python3Packages.parso: disable on python 2.7 → https://git.io/JUCtc
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « python3Packages.parso: disable on python 2.7 »: https://git.io/JUWv4
spudly- has joined #nixos
spudly- has quit [Changing host]
spudly- has joined #nixos
<energizer> i think it wanted me to move imports=[impermanence/home-manger.nix] into home-manager.users.energizer instead of being top-level in my config
<energizer> once i do that, it complains attribute sanitizeDerivationName missing
Izorkin has joined #nixos
<energizer> which was indeed added after 20.03
<cole-h> Yep
<energizer> that means i need to switch to unstable in order to use impermanence/home-manager?
sputny1 has joined #nixos
spudly has quit [Ping timeout: 260 seconds]
spudly- is now known as spudly
<seku> is there some impermanence thingie in home manager now?
<cole-h> No
sputny has quit [Ping timeout: 260 seconds]
sputny1 is now known as sputny
<energizer> seku: impermanence has a hm thing in it
<cole-h> ttps://github.com/nix-community/impermanence
<seku> i mean, like the proposed stuff to delete everything but stuff you want to keep on reboots?
<energizer> yes
<seku> ah, ephemeral root storage. thats the wording i was looking for
<seku> i dig that
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @jonringer merged pull request #97709 → pythonPackages.hiredis: fix tests → https://git.io/JUCjz
sigmundv has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to master « pythonPackages.hiredis: fix tests »: https://git.io/JUWvK
<{^_^}> [nixpkgs] @jonringer merged pull request #97707 → pythonPackages.pq: fix build → https://git.io/JUChA
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to master « pythonPackages.pq: fix build »: https://git.io/JUWvP
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #97706 → pythonPackages.pyjet: fix tests → https://git.io/JUChr
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to master « pythonPackages.pyjet: fix tests »: https://git.io/JUWvM
<fzakaria> i spent some time to help someone debug a build; i couldn't get much farther.
<fzakaria> (i'm not familiar with the tool -- graal -- just trying to help others on discourse)
ManiacOfMadness has quit [Ping timeout: 264 seconds]
davidv7_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #97624 → [20.09]: python3Packages.nmigen: fix build → https://git.io/JUCm4
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to release-20.09 « python3Packages.nmigen: fix build »: https://git.io/JUWvb
<ransom> new to nixOS. What packages should I put in my configuration.nix and when should I use nix-env?
erasmas has quit [Quit: leaving]
<jasom> ransom: configuration.nix makes them availalbe system-wide, nix-env just to the environment (usually per-user) that they are installed
rihards has quit [Quit: rihards]
<energizer> ransom: i never use nix-env
<jasom> ransom: I don't think there is a "right" answer to your question, so it depends on what you want/need out of Nix
<ransom> does nix-env create a list of packages I have installed somewhere?
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
bennofs_ has quit [Quit: No Ping reply in 180 seconds.]
detran has joined #nixos
ManiacOfMadness has joined #nixos
bennofs_ has joined #nixos
arjen-jonathan has quit [Ping timeout: 244 seconds]
czer00 has quit [Quit: Leaving]
<ransom> how / when does nixOS update the packages in environment.systemPackages ?
czer00 has joined #nixos
<{^_^}> [nixpkgs] @Enteee opened pull request #97717 → isso: build from master → https://git.io/JUWf0
<infinisil> ransom: It doesn't
<ransom> So when firefox comes out with a new version, how do I switch to it
<infinisil> And nix-env does technically make a list of packages in ~/.nix-profile/manifest.nix, though editing it manually doesn't work
<infinisil> ransom: In a standard nixos installation that would be by updating your nixpkgs channel with `sudo nix-channel --update`
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> That updates https://github.com/NixOS/nixpkgs, which is where all the packages are specified
o1lo01ol1o has joined #nixos
<infinisil> (or rather, it updates your local copy of nixpkgs)
<ransom> I see
<ransom> And when that happens, the binaries are updated as well?
<ransom> Or do I have to run nixos-rebuild switch
<infinisil> ransom: Ah yes you have to nixos-rebuild switch again
<infinisil> Actually there's `sudo nixos-rebuild switch --upgrade` which both updates the channel and rebuild switches
mananamenos has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Ping timeout: 240 seconds]
Blackraider has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #97340 → at-spi2-core: 2.36.0 -> 2.36.1 → https://git.io/JUZlq
<{^_^}> [nixpkgs] @jtojnar pushed commit from @r-ryantm to staging « at-spi2-core: 2.36.0 -> 2.36.1 »: https://git.io/JUWf1
Blackraider has quit [Remote host closed the connection]
dermetfan has quit [Ping timeout: 272 seconds]
<ransom> Thank you!
philr has joined #nixos
<{^_^}> [nixpkgs] @equirosa opened pull request #97719 → croc: 8.3.0 -> 8.3.1 → https://git.io/JUWfb
jtmcx has quit [Ping timeout: 264 seconds]
Blackraider has joined #nixos
cosimone has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #97716 → pythonPackages.pysnow: fix build & tests → https://git.io/JUWvc
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to master « pythonPackages.pysnow: fix build & tests »: https://git.io/JUWJf
Blackraider has quit [Remote host closed the connection]
Rusty1 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @jonringer merged pull request #97687 → python3Packages.datasets: init at 1.0.0 → https://git.io/JUCFt
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « python3Packages.datasets: init at 1.0.0 »: https://git.io/JUWJU
ensyde has joined #nixos
superherointj has quit [Quit: Leaving]
teto has quit [Ping timeout: 260 seconds]
thc202 has quit [Ping timeout: 244 seconds]
Rusty1 has joined #nixos
<risson> Hi all! How can I pass my flake inputs as specialArgs to the nixosModules I am declaring?
<risson> Note that I am not declaring any nixosConfigurations, so I can't do that there
seku has quit [Quit: Connection closed]
stteevveen has quit [Remote host closed the connection]
czer00 has quit [Quit: Leaving]
<cole-h> `_module.args.specialArgs = specialArgs`, maybe?
dbmikus has quit [Ping timeout: 256 seconds]
<infinisil> I'm not sure who started the specialArgs thing, but those aren't special args, they're just normal ones :)
dbmikus has joined #nixos
orivej has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/06fc6d1d7fa (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
sputny has quit [Remote host closed the connection]
Jackneill has quit [Ping timeout: 256 seconds]
jtmcx has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #97720 → [20.09] pythonPackages.hiredis: fix tests → https://git.io/JUWJh
damjan has quit [Quit: bye]
damjan has joined #nixos
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @risicle opened pull request #97721 → [20.09] pythonPackages.pq: fix build → https://git.io/JUWUt
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @jonringer merged pull request #97627 → aws-sam-cli: fix version bounds → https://git.io/JUCmF
<{^_^}> [nixpkgs] @jonringer pushed commit from @endgame to master « aws-sam-cli: fix version bounds »: https://git.io/JUWUm
<energizer> pie_: are you using the qtile that's in nixos-unstable?
<{^_^}> [nixpkgs] @jonringer merged pull request #97629 → [20.09] clpeak: fix build → https://git.io/JUCsW
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to release-20.09 « clpeak: fix build »: https://git.io/JUWU3
<{^_^}> [nixpkgs] @risicle opened pull request #97722 → [20.09] pythonPackages.pyjet: fix tests → https://git.io/JUWUG
buckley310 has quit [Quit: Connection closed for inactivity]
jumper149 has joined #nixos
Jackneill has joined #nixos
<ldlework> energizer: are you?
<energizer> ldlework: i'm trying to but having issues
<ldlework> energizer: I am running the previous unstable, not the one that dropped a few days ago
<ldlework> you're running latest unstable I'm guessing
<{^_^}> [nixpkgs] @zowoq merged pull request #97652 → go: 1.15.1 -> 1.15.2 → https://git.io/JUCaN
<ldlework> what's the issue?
<{^_^}> [nixpkgs] @zowoq pushed to master « go: 1.15.1 -> 1.15.2 »: https://git.io/JUWUl
<{^_^}> [nixpkgs] @risicle opened pull request #97723 → pythonPackages.pysnow: fix build & tests → https://git.io/JUWUR
<{^_^}> [nixpkgs] @zowoq merged pull request #97651 → go_1_14: 1.14.8 -> 1.14.9 → https://git.io/JUCab
<{^_^}> [nixpkgs] @zowoq pushed to master « go_1_14: 1.14.8 -> 1.14.9 »: https://git.io/JUWU0
<{^_^}> [nixpkgs] @zowoq pushed 2 commits to release-20.09: https://git.io/JUWUz
<{^_^}> [nixpkgs] @jonringer merged pull request #97720 → [20.09] pythonPackages.hiredis: fix tests → https://git.io/JUWJh
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to release-20.09 « pythonPackages.hiredis: fix tests »: https://git.io/JUWUa
leothrix has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @jonringer merged pull request #97721 → [20.09] pythonPackages.pq: fix build → https://git.io/JUWUt
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to release-20.09 « pythonPackages.pq: fix build »: https://git.io/JUWUw
<{^_^}> [nixpkgs] @risicle merged pull request #97704 → [20.09] rpm: add openmp when building with clang → https://git.io/JUCp5
<{^_^}> [nixpkgs] @risicle pushed 2 commits to release-20.09: https://git.io/JUWUr
ericmoritz has joined #nixos
leothrix has joined #nixos
leungbk has quit [Remote host closed the connection]
Izorkin has quit [Ping timeout: 246 seconds]
xcmw has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #97722 → [20.09] pythonPackages.pyjet: fix tests → https://git.io/JUWUG
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to release-20.09 « pythonPackages.pyjet: fix tests »: https://git.io/JUWUK
<ldlework> 🤷
<energizer> i changed more than one thing at a time so i'm still trying to figure out what's even going on
<{^_^}> [nixpkgs] @jonringer merged pull request #97723 → [20.09] pythonPackages.pysnow: fix build & tests → https://git.io/JUWUR
<{^_^}> [nixpkgs] @jonringer pushed commit from @risicle to release-20.09 « pythonPackages.pysnow: fix build & tests »: https://git.io/JUWUP