andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
Rusty1 has quit [Remote host closed the connection]
<jackdk> Does anyone here have virt-manager running qemu? I have boot.kernelModules = [ "kvm-intel" ]; I have qemu in environment.systemPackages, virtualisation.libvirts.enable = true and am still getting "Could not detect a default hypervisor. Make sure the appropriate qemu/kvm virtualization packages are installed to manage virtualization on this host." from virt-manager. What am I missing? I can't find docs anywhere
<{^_^}> [nixpkgs] @aanderse opened pull request #82761 → tomcat: 7.0.92 -> 7.0.100, 8.5.42 -> 8.5.51, 9.0.21 -> 9.0.31 [20.03 backport] → https://git.io/JvPwp
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm has joined #nixos
<fresheyeball> ok, I think I may have figured it out
<fresheyeball> evdev.lst is missing apl for some reason
orivej has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @aanderse merged pull request #82761 → tomcat: 7.0.92 -> 7.0.100, 8.5.42 -> 8.5.51, 9.0.21 -> 9.0.31 [20.03 backport] → https://git.io/JvPwp
<{^_^}> [nixpkgs] @aanderse pushed 4 commits to release-20.03: https://git.io/JvPrB
<{^_^}> [nixpkgs] @aanderse opened pull request #82762 → tomcat-native: init at 1.2.23 → https://git.io/JvPo2
<niso> jackdk: are you in the group libvirtd ?
mexisme_ has joined #nixos
erasmas has joined #nixos
lopsided98 has quit [Remote host closed the connection]
leomar has quit [Quit: leomar]
lopsided98 has joined #nixos
erasmas has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.36 « deepin.go-gir-generator: Fix compat with glib 2.63+ »: https://git.io/JvPiq
<jackdk> niso: yes, forgot to mention that sorry
<evanjs> holy crap nixpkgs has come a long way since 16.09. Can't do like anything just pulling in packages from 16_09 to a 19_03 based set :P
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.36 « arc-theme: disable GNOME Shell support »: https://git.io/JvPio
<niso> jackdk: strange, the only difference on my configuration is that i'm loading both "kvm-intel" and "kvm-amd"
<jackdk> niso: apparently I'm meant to connect to a session manually, according to a colleague. looks promising so far...
wildtrees has quit [Remote host closed the connection]
<niso> jackdk: oh yes, i recall something like that :/
wildtrees has joined #nixos
LysergicDreams has quit [Ping timeout: 256 seconds]
johnw has quit [Quit: ZNC - http://znc.in]
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @avnik opened pull request #82764 → Wine update → https://git.io/JvP1k
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/fab05f17d15 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/e7f2ad0db9d (from 33 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<jackdk> niso: seems to be installing fine now, thanks for helping
<niso> jackdk: oh, the issue was during installation, not application-launch?
<{^_^}> [nixpkgs] @cdepillabout merged pull request #82703 → [nixos-20.03] haskellPackages.hakyll-contrib-hyphenation: jailbreak → https://git.io/JvPvz
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.36 « fixup! gnome3.libgnome-games-support: 1.4.4 -> 1.6.0.1 »: https://git.io/JvPDk
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to release-20.03: https://git.io/JvPDI
gustavderdrache has left #nixos [#nixos]
<jackdk> I didn't have virt-manager connected to the qemu user session. once I did that it seemed to be happy. it's downloading and installing .. stuff now
WinchellsM has joined #nixos
<WinchellsM> Is there a way to determine the hash (and even, if possible, all of the dependency hashes) of a nix-build without actually building it?
<WinchellsM> by "hash" I mean the name of the folder in /nix/store
dieraca has joined #nixos
<ottidmes> WinchellsM: nix-store --query --outputs $(nix-instantiate '<nixpkgs>' -A hello)
<ottidmes> WinchellsM: AFAIK only fixed-output derivations, as the name implies, depend on the output for the hash, the others are determined by the inputs, hence they can be determined beforehand
pbb has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
pbb has quit [Client Quit]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @obadz opened pull request #82765 → opensmtpd: mark as insecure due to CVE-2020-8794 / #80978 → https://git.io/JvPS6
pbb has joined #nixos
<infinisil> ottidmes: The store path is determined from the inputs for non-fixed-output derivations
<infinisil> So no need to build it before it is known
<infinisil> > hello.outPath
<{^_^}> "/nix/store/njlavpa90laywf22b1myif5101qhln8r-hello-2.10"
<infinisil> WinchellsM: ^
Scriptkiddi has quit [Quit: killed]
mrpi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #82766 → brial: 1.2.7 -> 1.2.8 → https://git.io/JvPSX
ajs124 has joined #nixos
das_j has joined #nixos
mrpi has joined #nixos
Scriptkiddi has joined #nixos
<WinchellsM> infinisl: That works thanks. Do you know how to spit out all of the input store paths as well?
<WinchellsM> So in the case of `hello`, not just its store path but the paths of everything it depends on?
h0m1 has quit [Quit: WeeChat 2.7.1]
h0m1 has joined #nixos
<infinisil> WinchellsM: No easy way for that, what do you need it for?
<ottidmes> infinisil: Wait what? The only thing I am building is the .drv, not the actual out path
<WinchellsM> infinisil: --tree works
<WinchellsM> with nix-store
<WinchellsM> it shows all of the dependencies
<ottidmes> infinisil: also "the others are determined by the inputs" == "The store path is determined from the inputs" <-- is what I said as well
<infinisil> Oh I thought you meant within nix itself
<infinisil> ottidmes: Oh sorry, I misread
lor|d has joined #nixos
lord| has quit [Read error: Connection reset by peer]
mexisme_ has quit [Ping timeout: 246 seconds]
<evils> is there an easy way to remove all generations, except the one i'm currently running, and the one i booted from?
<ottidmes> got the weirdest bug (or hard to follow logic) with svn, nix-store --pure -p subversion fails, but without --pure works and env -i PATH=/nix/store/...-subversion/bin ... works
is_null has joined #nixos
<ottidmes> evils: This might remove more than you want (nothing that is required to run your system though), but I tend to use: sudo nix-collect-garbage --delete-old, for that
<evils> ottidmes: i think that'll delete the generation i booted from, so if my latest isn't functional i'll be locked out after a reboot?
<ottidmes> evils: It will keep your current and the one you booted from
<ottidmes> evils: /run/booted-system is a root in the GC
lor|d is now known as lorD|
lorD| is now known as lord|
<evils> ah, then that should do exactly what i want xD
<evils> assuming it doesn't remove that entry in grub...
<ottidmes> evils: it won't
<evils> well, bye bye 44GB
<ottidmes> lol, that is pretty much my whole NixOS
<evils> nix-env --list-generations only lists one now
wildtrees has quit [Quit: Leaving]
mexisme_ has joined #nixos
<ottidmes> evils: you'd want sudo nix-env -p /nix/var/nix/profiles/system --list-generations
<evils> that lists one, another one, i assume this is the one i booted from and both will be available in grub?
thc202 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #82767 → nixos/firewall: fix types in reverse path assertion → https://git.io/JvP9s
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to gnome-3.36: https://git.io/JvP9Z
<ottidmes> evils: that's a confusing sentence, so it lists two? Or it list a single item, but different from your previous command?
<evils> the sudo command you noted lists generation 189, non-sudo just --list-generation lists 334, sudo nix-env --list-generations shows 4
<evils> as in the generation numbered 4, only one item there
<ottidmes> evils: You make me doubt myself, I am pretty sure it will go OK, others say so as well: https://logs.nix.samueldr.com/nixos/2019-08-29#2535018
CMCDragonkai1 has joined #nixos
<evils> i think that means once i reboot generation 189 will be garbage collectable, meaning it's probably no longer linked in grub
<ottidmes> evils: grub always lags behind, only when you nixos-rebuild switch/boot does it clean away old entries
<ottidmes> and yes, only when you reboot will the old gen you previously booted with become collectable, that is why I always do a reboot when I have a succesful new build and want max free space
<evils> ah and ofc you can't nixos-rebuild unless you got a fairly ok boot condition, so something bootable should always be in grub?
<evils> so don't collect-garbage -d in the middle of a debug and everything is fine :P
<evils> ottidmes++
<{^_^}> ottidmes's karma got increased to 17
organixpear has joined #nixos
<Cadey> is there a way to convert a debian package to a nix derivation?
jreed has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/10debb86b7d (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<evils> Cadey: there's ways to run things from a .deb, i don't think there's anything parsing them into nix...
Sigma has joined #nixos
<hpfr[m]> why is nixos-unstable missing from the "search NixOS packages" page?
captjakk_ has quit [Remote host closed the connection]
h0m1 has quit [Ping timeout: 272 seconds]
foldingcookie has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.36 « squash! gnome3.gnome-flashback: 3.34.2 -> 3.35.2 »: https://git.io/JvPHU
<samueldr> hpfr[m]: it was decided to be recently, not sure there is much of a reason other than "it's basically the same as nixpkgs-unstable"
dansho has joined #nixos
mjrosenb has joined #nixos
ottidmes has quit [Ping timeout: 250 seconds]
<bqv[m]> arc: hey, is this yours https://github.com/arcnmx/nixexprs
<bqv[m]> just built a package for the discord puppet
<bqv[m]> ping me if interested
erasmas has joined #nixos
<arcnmx> distracted atm but sure, file an issue or pm as a reminder?
<bqv[m]> shall do
<hpfr[m]> samueldr: thank you
<samueldr> hpfr[m]: though noted, you're not the first one bringing this up
jreed has quit [Ping timeout: 240 seconds]
erasmas has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed to gnome-3.36 « fixup! squash! gnome3.gnome-flashback: 3.34.2 -> 3.35.2 »: https://git.io/JvPHW
<hpfr[m]> it doesn't really affect my workflow, i was just curious. a notice by the search box about the change for a little while might be easier than dealing with questions if you're getting a lot
<ashkitten> how can i include binaries from ${openssh}/libexec in the path?
cartwright has joined #nixos
<ashkitten> (in a FHSUserEnv
<ashkitten> )
wiml has quit [Quit: wiml]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/107ffbb22ad (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
h0m1 has joined #nixos
dieraca has quit [Ping timeout: 250 seconds]
ddellacosta has quit [Ping timeout: 250 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/04a0ff8cc5c (from 10 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
dansho has quit [Quit: Leaving]
Sigma has quit [Quit: ZNC - http://znc.in]
Sigma has joined #nixos
sigmundv_ has joined #nixos
sigmundv__ has quit [Ping timeout: 256 seconds]
mjrosenb has quit [Ping timeout: 256 seconds]
blaggacao has quit [Read error: Connection reset by peer]
sigmundv_ has quit [Ping timeout: 246 seconds]
blaggacao has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
sigmundv_ has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #82759 → conmon: 2.0.11 -> 2.0.12 → https://git.io/JvPa0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvPQy
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
sigmundv_ has quit [Ping timeout: 246 seconds]
<Ashy> does anyone here use pycharm on nixos? I'm wondering what the best way is to set up a project python interpreter configuration
organixpear has quit [Quit: leaving]
waleee-cl has quit [Quit: Connection closed for inactivity]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #82081 → swiProlog: openssl 1.0.2 -> openssl 1.1 → https://git.io/Jvokl
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvP7I
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #82702 → python27Packages.rq: 1.2.2 -> 1.3.0 → https://git.io/JvPvU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvP7L
Shouou has quit [Ping timeout: 246 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #82735 → lego: 3.4.0 -> 3.5.0 → https://git.io/JvP82
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvP7q
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 246 seconds]
mrpi has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has joined #nixos
mrpi has joined #nixos
Scriptkiddi has joined #nixos
das_j has joined #nixos
mexisme_ has quit [Ping timeout: 246 seconds]
mexisme_ has joined #nixos
ghasshee has joined #nixos
<Ralith__> any ideas why `dig <hostname>` and `dig @<first entry in resolv.conf> hostname` would succeed but everything else fails?
<{^_^}> [nixpkgs] @veprbl merged pull request #82760 → [ZHF] kicad: don't build versions with 3d on Hydra → https://git.io/JvPw0
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvP5c
butterthebuddha has joined #nixos
alex_giusi_tiri has quit [Quit: Leaving.]
mexisme_ has quit [Ping timeout: 246 seconds]
eacameron has quit [Quit: Connection closed for inactivity]
LysergicDreams has quit [Ping timeout: 256 seconds]
LysergicDreams has joined #nixos
CMCDragonkai1 has joined #nixos
kleisli has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
blaggacao has quit [Read error: Connection reset by peer]
aw has joined #nixos
blaggacao has joined #nixos
spacefrogg has joined #nixos
mjrosenb has joined #nixos
kleisli has quit [Ping timeout: 250 seconds]
abathur has quit [Ping timeout: 265 seconds]
erasmas has joined #nixos
orivej has joined #nixos
erasmas has quit [Ping timeout: 246 seconds]
mexisme_ has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
fusion809 has joined #nixos
<fusion809> OK. I rebuild my NixOS system without an issue when appimage-run was disabled in /etc/nixos/configuration.nix. But as soon as I added it back it failed to build. Ah, pity genesis isn't here, but oh well, anyone else have an idea of how to get appimage-run to build properly again, so I do not get the error, "error: attribute 'appimage-exec' missing, at /nix/store/i3a8qpsc117i3sbj0mafnsq8dv730zfp-nixos-20.09pre217261.a2e06fc3423
<fusion809> /nixos/pkgs/tools/package-management/appimage-run/default.nix:8:24" when I rebuild NixOS with appimage-run enabled in my /etc/nixos/configuration.nix file?
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/d5dda83d915 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
mexisme_ has quit [Ping timeout: 246 seconds]
mjrosenb has quit [Ping timeout: 246 seconds]
fuzzy-id has joined #nixos
<fuzzy-id> who'm can i ping on github if there is an old, unreproducible issue which is still open and should be closed by now?
<fuzzy-id> (i'm currently looking at this one: https://github.com/NixOS/nixpkgs/issues/29624)
<{^_^}> #29624 (by purefn, 2 years ago, open): HAProxy and Lua integration not working quite right
bhipple has quit [Remote host closed the connection]
<bqv[m]> Yeah that works fine for me
rardiol has quit [Ping timeout: 246 seconds]
<kalbasit> I'm trying to extract the full path of NixOS modules that ends with 'enable' set to true. Using mapAttrsRecursiveCond is not working. filterAttrsRecursive does not behave the same (it sends name instead of path) so I can't/don't know how to use it https://www.irccloud.com/pastebin/GtPrXJPt/
lovesegfault has quit [Quit: WeeChat 2.7.1]
jb55 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mt-caret closed pull request #82220 → brainworkshop: init at 2020-03-10 → https://git.io/JvKUp
bukkitgerman86 has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman86 has joined #nixos
endformationage has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @alyssais merged pull request #82713 → redis: 5.0.7 -> 5.0.8 → https://git.io/JvPk9
<{^_^}> [nixpkgs] @alyssais pushed commit from @r-ryantm to master « redis: 5.0.7 -> 5.0.8 »: https://git.io/JvPFb
helozjisky has joined #nixos
mexisme_ has joined #nixos
<rooke> Is it possible to define multiple upstream sources for a nix package incase one is down?
mvnetbiz_9 has joined #nixos
mvnetbiz_ has quit [Ping timeout: 258 seconds]
mvnetbiz_9 is now known as mvnetbiz_
CMCDragonkai1 has quit [Ping timeout: 250 seconds]
<rooke> Like calling fetchurl with a list of urls rather than a single url
mexisme_ has quit [Ping timeout: 246 seconds]
mexisme_ has joined #nixos
<rooke> Ah, theres something in place with the `hashed-mirrors` but it seems to expect a very specific form of url
chagra_ has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
chagra has quit [Ping timeout: 246 seconds]
WinchellsM has quit [Ping timeout: 256 seconds]
mexisme_ has quit [Ping timeout: 250 seconds]
fuzzy-id has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
lovesegfault has joined #nixos
phreedom_ has quit [Remote host closed the connection]
phreedom has joined #nixos
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 256 seconds]
drakonis has quit [Quit: WeeChat 2.7.1]
palo has quit [Quit: WeeChat 2.7.1]
palo has joined #nixos
xensky has quit [Read error: Connection reset by peer]
xensky has joined #nixos
cartwright has quit [Remote host closed the connection]
abathur has joined #nixos
zupo has joined #nixos
cartwright has joined #nixos
mexisme_ has joined #nixos
<kini> I have Intel integrated graphics and an Nvidia graphics card, with my monitor connected to the Intel port. This seems to result in the `i915` driver being used for integrated graphics and `nouveau` loaded for the Nvidia card, though I have no monitor connected to it.
<kini> But now somehow hardware acceleration seems to be disabled on my onboard graphics, e.g. I can't run `glxgears`. Any ideas why this might be happening?
<kini> Now I'd like to use the Nvidia proprietary drivers for the card, so I can use OpenCL which nouveau doesn't support. So I added "nvidia" to `services.xserver.videoDrivers`. Now `nouveau` isn't loaded and `nvidia` is.
fusion809 has quit [Quit: Leaving]
fusion809 has joined #nixos
abathur has quit [Ping timeout: 250 seconds]
<simpson> kini: nVidia's userspace libGL is vendor-specific; it can't load Mesa's DRI drivers. Meanwhile, Mesa's libGL could load both i915 and nouveau at once.
<fusion809> Folks, I frequently run nix-collect-garbage -d, I have nix.autoOptimiseStore = true; and boot.loader.grub.configurationLimit = 2, yet I frequently have times when nixos-rebuild switch --upgrade runs out of space, despite having a 80 GB root petition. Any ideas how I can get around this issue, as I'm trying to update to latest on nixos-unstable atm and it keeps failing due to no free space issues. I've tried to cut as much fat
<fusion809> from my /home folder as possible by moving it onto my data petition, but there's a limit on how much I can do that before programs start failing to work
<kini> simpson: Hmm, I see, thanks. Since I only need the Nvidia drivers for a specific application, I wonder if there's a way to force Mesa's libGL for systemwide use and then use Nvidia's libGL just for that specific application...
<kini> *since I only need the Nvidia GPU for a specific application
<simpson> kini: Not sure. nVidia doesn't really make that use-case easy.
<simpson> It used to be that you'd have to reboot. Then it used to be that you'd have to restart X. I don't know what's required these days to switch between GPU driver stacks.
erasmas has joined #nixos
<kini> I see. Well, I guess I'll live with having to switch nixos configurations and reboot (or restart X) every time I need to run the application :) sounds like it's not worth the trouble to dig deeper than that
opthomasprime has joined #nixos
<simpson> It's an intractable decades-old standoff. I hope that eventually nouveau is able to completely displace nvidia for your and others' needs.
opthomasprime has left #nixos [#nixos]
<lovesegfault> kini: depending on the nvidia card you have there are some kernel patches that can help with a number of issues
<lovesegfault> if it's part of the Pascal family, namely
alexherbo2 has joined #nixos
<evils> fusion809: odd, anything in /nix/var/nix/gcroots/auto/ ?
erasmas has quit [Ping timeout: 256 seconds]
<kini> simpson: I hope so too, it's always nice to use an open source option if available :)
<fusion809> Yep, there is. 10 items.
<kini> lovesegfault: it is, I believe - `lspci` says "GP106 [GeForce GTX 1060 6GB]"
<evils> these are probably the result of running nix-build somewhere and not deleting the `result` link, unless there's such a thing around that you want to keep using, you can just remove those items, could be using a lot of space, could be very little...
<lovesegfault> kini: ah, yes, let me link you the patches one moment
<fusion809> du -sh seems to indicate those items are taking up no space.
<evils> they're links
<kini> nixos is made of links to links to links to links :)
<evils> kini: so much fun when you want a shell script to execute a script that's sitting next to it :P
<fusion809> So merely doing sudo rm /nix/var/nix/gcroots/auto/* is what I should do remove them? If they're links I'd imagine that wouldn't have any impact on the space on my disk, as I'd need to delete the originals.
<evils> fusion809: those links cause the garbage collector to not delete some stuff
<evils> rm .../auto/*, then run nix-collect-garbage, see how much is freed...
<fusion809> Ah, fair enough, thanks.
<kini> lovesegfault: thanks! what problems do these patches solve exactly?
<lovesegfault> kini: some issues with runtime power management and pcie wonkyness
<lovesegfault> may or may not help you, but it's worth trying
palo1 has joined #nixos
<lovesegfault> if you follow the patch links there's more in-depth explanations
<fusion809> No I've got 13 GB space free, thanks. That'll probably be sufficient for the update.
jakobrs has joined #nixos
<jakobrs> When do I want to use recurseIntoAttrs? I find it's not documented in any of the manuals.
<kini> lovesegfault: ah, I see. I read the descriptions and I think they may not be relevant to me, since I'm on a desktop and not a laptop, and if I'm not mistaken I have secure boot disabled
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<lovesegfault> kini: colemickens is on a desktop too (GTX-1080 IIRC) and they reported some QoL improvements from the patches IIRC
<lovesegfault> kini: if things work well enough without them, then you're golden
<lovesegfault> just linking in case you run into issue later :)
<kini> thanks, I will keep it bookmarked :)
mexisme_ has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @alyssais merged pull request #82745 → matcha: 2020-03-11 -> 2020-03-15 → https://git.io/JvPRQ
<{^_^}> [nixpkgs] @alyssais pushed commit from @romildo to master « matcha: 2020-03-11 -> 2020-03-15 »: https://git.io/JvPAQ
<yuken> So, what happens if you have an antique firearm (prior to 1899 + antique cartridge), but this cartridge suddenly starts being produced again.
<yuken> Is it no longer an antique?
<danderson> that is a joyful time in which you get to consult a lawyer, imo
<danderson> because the penalty for being wrong is quite severe :)
cole-h has quit [Ping timeout: 246 seconds]
kenran has joined #nixos
<colemickens> I didn't test without the patches. I was a bit confused where they came from tbh, why they aren't mainlined, etc.
<yuken> danderson, ... wait a minute, I asked this in the wrong channel. Oops.
<yuken> I tabbed over to this one accidentally, sorry for off-topic lol
<fusion809> Good lord, this is a big update. I run nixos-rebuild switch --upgrade every day, to keep my system up to date, yet this update has already added an extra ~11.7 GB to my disk during the build.
<fusion809> Make that 12.1 GB
<fusion809> I might end up running out of space again.
<LinuxHackerman> fusion809: a mass rebuild means all the dependencies of your system will be refetched. You may want to optimise your store and run a GC
<fusion809> I'm pretty sure you haven't read my previous messages, I said I have nix.autoOptimiseStore = true; in my /etc/nixos/configuration.nix file. I also regularly run nix-collect-garbage -d and did just before the rebuild.
<fusion809> I'm not offended, I realize I'm not the centre of the universe :P
<fusion809> Yep, ran out of space again.
<fusion809> evils: I wouldn't space you have a magical idea of what to do? Otherwise the only option I see is perhaps removing a few of the bigger packages from my configuration.nix file, rebuilding, then GC'in and rebuilding again with those packages re-added and hoping I have enough space then.
<fusion809> s/space/suppose/g^
kleisli has joined #nixos
jakobrs has quit [Quit: WeeChat 2.7.1]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<LinuxHackerman> fusion809: get more space ;)
<evils> fusion809: i'm no expert here, only found out about the gcroots today xD, maybe remove some big packages from configuration.nix and install them via nix-env (or home-manager if that's your thing), could be it's using more space during the building... so collect garbage after building, then nix-env -i?
<evils> also, maybe something besides nix is using more than you think, what does `du -hs /nix/store` say?
<fusion809> Yeah, I'll give it a go. Only problem with that approach is that it means to update my system and my packages I have to run two separate commands, but it's better than running out of space.
<lovesegfault> fusion809: inspect /nix/var/nix/gcroots/auto
reactormonk has joined #nixos
<lovesegfault> as well as /nix/var/nix/gcroots/per-user/yourusernamehere
<fusion809> I'll be damned, I just deleted stuff from /nix/var/nix/gcroots/auto and GCed, but now there's six new links in there
<fusion809> Running `du -sh /nix/store` atm, it's taking a while, guessing that means it's big
<fusion809> Could also be because I'm re-running a rebuild at the same time, so the size of the directory will be changing.
justanotheruser has quit [Ping timeout: 246 seconds]
<MichaelRaskin> infinisil: yeah, I figured that out.
ftzm has joined #nixos
<fusion809> If I'm doubling up on messages, forgive me as when I click enter on messages I do not see them pop up, could be because CPU load is currently at 100% on my PC due to a rebuild.
<fusion809> Nope, it seems like messages I thought I sent weren't.
<fusion809> /home is 8 GB, but that's largely because I've got Flatpak installed and a few packages installed through it. My Nix knowledge isn't sufficient to really package much stuff on my own, and one package I want isn't in nixpkgs.
<fusion809> There's the message I couldn't seem to send
zupo has quit [Ping timeout: 264 seconds]
chagra_ has quit [Ping timeout: 250 seconds]
FRidh has joined #nixos
chagra_ has joined #nixos
lovesegfault has quit [Quit: WeeChat 2.7.1]
zupo has joined #nixos
vika_nezrimaya has quit [Ping timeout: 256 seconds]
<NobbZ[m]> fusion809: Home only 8GiB? `/home` is where the data lives on my desktop systems :D Though to be honest, I have not yet found out when exactly nix does the auto optimize, therefore I'd suggest doing it right now manually.
linarcx has joined #nixos
<fusion809> I frequently do do it manually, actually. After every GC I do it.
sgrunert has joined #nixos
<fusion809> Everytime it says it's freed up no space.
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<NobbZ[m]> Hmmm… Okay, have you instpected the GC roots if there are symlinks to long forgotten `result` folders in your projects?
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « Revert "nixos/networkd: respect systemd.network.links [...]" »: https://git.io/JvPps
malSet has joined #nixos
dsyer has left #nixos [#nixos]
malSet has quit [Read error: Connection reset by peer]
<evils> fusion809: has du -hs /nix/store finished yet?
<NobbZ[m]> If there are such symlinks, then paths referenced by those will never get collected, as they are considered part of the current profile
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<fusion809> I decided to stop it during the rebuild due to the fact its result would likely be thrown out by the rebuild itself. I just re-ran it and it is at 49 G.
<fusion809> Disk usage is at 71 G/80 G (although df also reports only 5.4G free)
<NobbZ[m]> evils that command will lie just in your face... As it will count all the hardlinks multiple times...
<NobbZ[m]> The discrepancy between free and usage comes probably from the space that's reserved for root processes
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<fusion809> One good side to having an Arch chroot is that if Nix packages are taking up too much space, or taking too long to rebuild, I can use my Arch chroot to run those programs usually.
justanotheruser has joined #nixos
shafox has joined #nixos
<NobbZ[m]> I don't have arch anymore. Though I can continue using stuff during system rebuilds...
zupo_ has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « Revert "nixos/zerotierone: switch from manually generating..." »: https://git.io/JvPhI
FRidh2 has joined #nixos
FRidh has quit [Ping timeout: 256 seconds]
LinuxHackerman has left #nixos ["User left"]
FRidh2 has quit [Client Quit]
FRidh2 has joined #nixos
<danderson> hmkay. Does wayland... exist on NixOS?
zupo has quit [Ping timeout: 246 seconds]
<danderson> I'm really feeling the need for multiple displays with different dpi settings
<sphalerite> yes, I'm using sway right here :)
<danderson> hmm, what's a sway...
<danderson> ah, tiling WM.
<NobbZ[m]> evils okay, it seems as if df does indeed account for hardlinks, df and the site of my zfs pool containing the store are consistent.
<danderson> Hmm. Well, that could work. I was thinking more gnome, to ease into things... But unclear if that's supported
zupo_ has quit [Ping timeout: 264 seconds]
<danderson> well, maybe it's time to embrace the tiles again...
maddo has joined #nixos
zupo has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<sphalerite> danderson: you could also try gnome on wayland, I think it works at least to some extent. I haven't used it myself though.
<sphalerite> danderson: or you could use sway as a non-tiling WM :D
Jackneill has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to release-20.03 « Revert "tests/networking: remove pkgs.lib usages." »: https://git.io/JvPh4
lovesegfault has joined #nixos
civodul has joined #nixos
<s1341> morning
<s1341> how can i install both remake and gnumake (in my home.nix)?
<lovesegfault> s1341: Good morning :)
<lovesegfault> Why would you want to do that?
<s1341> i have some projects which use remake, and some which use make
reactormonk has quit [Ping timeout: 246 seconds]
<s1341> and i need to support both.
<etu> s1341: nix-shell :)
<lovesegfault> Ah, yes, so you wouldn't put those in your home.nix since they are development deps
<lovesegfault> s1341: have you written your first nix-shell yet?
<s1341> no
<lovesegfault> s1341: let me show you how, give me just a second
<s1341> also how do I remove something from my .nix-profile?
<lovesegfault> here's a basic shell.nix file
<lovesegfault> you would drop it in `myProjectDir/` and then `cd myProjectDir`, `nix-shell`
<{^_^}> [nixpkgs] @jchv opened pull request #82770 → jbrout: remove broken package → https://git.io/JvPhg
<lovesegfault> s1341: look at //gist.github.com/8e7a54e6350bcebdd08ea17d46f39dad again please, I made some small fixes
<{^_^}> [nixpkgs] @jchv opened pull request #82771 → pyexiv2: 0.3.2 -> 2.1.0 → https://git.io/JvPhw
abathur has joined #nixos
<danderson> sphalerite: how does gnome on not-X work? I don't see any config knobs for that.
<danderson> Mostly the reason I stopped using smaller WMs is I got tired of assembling my own desktop environment out of a WM and a bunch of sticky tape
<danderson> but maybe the sticky tape is better now :)
<lovesegfault> danderson: you mean how well it works or how does it's innards work?
<danderson> which "it" are you talking about?
<lovesegfault> gnome on not-X
<sphalerite> danderson: I think if GNOME is enabled you can select GNOME (Wayland) or similar in the display manager when logging in
<danderson> oh. I just have no idea how to make it ask for that
<lovesegfault> sphalerite: that's correct
<danderson> hmm. When I tried gnome a couple days ago I did have 2 gnome options at the login prompt. But both just crashed :)
<sphalerite> oh nice
<lovesegfault> the default is actually Wayland, you have to pick "Gnome on Xorg" next to the password field in GD<
<danderson> I'm running unstable though, so I'm expecting bad things to happen :)
<danderson> (need unstable for GPU drivers :( )
<lovesegfault> danderson: I run nixos-unstable-small and gnome works great :/
<danderson> okay, well maybe I was just doing it wrong then
<danderson> oh, for one, I use lightdm as the login manager. I bet it can't start wayland sessions for some reason.
abathur has quit [Ping timeout: 246 seconds]
bahamas has joined #nixos
<lovesegfault> danderson: bingo, that's definitely it
<lovesegfault> IIRC gnome _really_ does not like anything bug GDM
<lovesegfault> like _really_
<danderson> heh
FRidh2 has quit [Ping timeout: 246 seconds]
<danderson> fair enough. I switched to Cinnamon a long time ago because it's Gnome before they went mad with the new GUI paradigms
<danderson> so I haven't kept up
FRidh2 has joined #nixos
<lovesegfault> I'm on sway and I quite like it :)
* lovesegfault is a huge fan of wayland
<danderson> I definitely want to try out sway at some point. But right now I need to get this laptop good enough for doing work on
<lovesegfault> Mixed-DPI multimonitors is *chef hands*
<danderson> so the minimum change is probably Cinnamon -> Gnome for now
<lovesegfault> danderson: what laptop?
<danderson> and then I can mess with sway next weekend :)
<danderson> lovesegfault: Thinkpad T495
<evils> lovesegfault: gnome with or without xwayland?
* lovesegfault has a Thinkpad P1
<evils> s/gnome/sway/ xD
<danderson> works pretty well. Only big catch is needs very recent drivers to fire up, because of the new Ryzen/Vega APU
<danderson> and also if you try to use powertop, intel betrays you and breaks everything
<lovesegfault> evils: with xWayland, but apart from the slack electron app all my programs are wayland-native at this point
<danderson> but aside from that, s'fine :)
<lovesegfault> danderson: do you use TLP? I have some important fixes
* lovesegfault goes find them
<danderson> yeah, TLP is on. It's doing some decent powersave stuff.
<danderson> powertop finds other stuff, like "omg your display is consuming 25700% of available power"
<danderson> and "you should suspend this 'mouse' USB device"
<{^_^}> [nixpkgs] @Mic92 merged pull request #82770 → jbrout: remove broken package → https://git.io/JvPhg
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvPhh
<lovesegfault> you'll need to adjust slightly, but the SOUND_POWER_SAVE_* part you should copy over, as well as RUNTIME_PM_*
erasmas has joined #nixos
<danderson> hmm, okay
ottidmes has joined #nixos
* danderson adds to laptop todo list
<lovesegfault> tlp has idiotic defaults, like keeping the sound card on all the time which just _chugs_ power
hmpffff has joined #nixos
<lovesegfault> b/c of the limited power pkg on laptops dumping 8W or w/e into the sound card w/o PM will actually decrease overall perf on AC
<danderson> good tips, thanks!
dingenskirchen has quit [Quit: dingenskirchen]
opticnerve has joined #nixos
dingenskirchen has joined #nixos
xfix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
xfix has joined #nixos
erasmas has quit [Ping timeout: 256 seconds]
<danderson> okay, here goes nothing, gdm+gnome3 on wayland...
m0rphism has joined #nixos
<danderson> wow, just worked. Even correctly restarted out of lightdm+mate and into gnome3 without a reboot. Impressive.
<Ashy> danderson: you should get gnome on Wayland in the session list on the login screen by default with gdm and gnome installed I think
<danderson> still not a fan of the star trek GUI from the future look, but it definitely works
<Ashy> ah nice
<danderson> bed time now, but this is probably a "good enough" desktop to get me off the old broken laptop and onto nixos. A few more tweaks tomorrow and I think I'm good. Thanks!
hmpffff_ has joined #nixos
<s1341> hey. how do i deal with this error: error: packages '/nix/store/is28hjhhx5hr57hyq769spv990qsw43d-home-manager-path/android-ndk-r10e/GNUmakefile' and '/nix/store/7521vmfnfh3cqb9d71al2f88qliir2ij-android_ndk_r10e/android-ndk-r10e/GNUmakefile' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)
<s1341> builder for '/nix/store/m9249vn6c8qd2n7z0fbfhmkx8pa9jfbg-user-environment.drv' failed with exit code 1
hmpffff has quit [Ping timeout: 246 seconds]
<s1341> this is for a custom derivation...
bahamas has quit [Ping timeout: 256 seconds]
<s1341> nm. figured it out.
veske has joined #nixos
veske2 has joined #nixos
fusion809 has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gagbo_ has joined #nixos
<s1341> does anyone know if it is possible to install pyenv in nixos?
knupfer has joined #nixos
chloekek has joined #nixos
bahamas has joined #nixos
<NobbZ[m]> Yes, I think it is possible, but why? Just use a `nix-shell`
Ariakenom has joined #nixos
mexisme_ has joined #nixos
<lovesegfault> s1341: did you ignore my advice and added it to your use packages anyway? :P
<s1341> lovesegfault: no. I had the issue on a different package.
<lovesegfault> O.o
<s1341> NobbZ[m]: can i install pip in a nix-shell?
<NobbZ[m]> I don't see any reasons why it should not be possible.
<lovesegfault> s1341: you would use something like this instead nix-shell -p 'python3.withPackages (ps : with ps; [ numpy ])'
<s1341> lovesegfault: ok. i'll look into that.
<NobbZ[m]> s1341 perhaps it's also time to switch to poetry 😉
<s1341> NobbZ[m]: will check it out.
<s1341> lovesegfault: i have a gradle script which executes remake, and it isn't finding it.
<s1341> (when i'm in the nix-shell)
<lovesegfault> s1341: the paths are probably garbled
<lovesegfault> like it might be looking in /bin/remake which doesn't exist
<lovesegfault> you have to patch it to just call remake (which will be in the PATH inside nix-shell) or do /nix/store/blablablabla-remake/bin/remake
<lovesegfault> the first one is better, the second one is disgusto-barfo
shabius has quit [Read error: Connection reset by peer]
zarel has quit [Ping timeout: 250 seconds]
shabius has joined #nixos
__monty__ has joined #nixos
noj has quit [Ping timeout: 272 seconds]
kraem has quit [Ping timeout: 246 seconds]
edwtjo has quit [Ping timeout: 260 seconds]
noj has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a0307bad467 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<s1341> it looks like remake is in the path...
vika_nezrimaya has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
zarel has joined #nixos
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
gila has joined #nixos
opticnerve has quit [Quit: Leaving]
andymandias has joined #nixos
<NobbZ[m]> s1341 perhaps it's not properly searching the path, but only a couple of hardcoded locations
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
hmpffff has joined #nixos
noudle has joined #nixos
hmpffff_ has quit [Ping timeout: 250 seconds]
medvid has joined #nixos
medvid__ has quit [Ping timeout: 268 seconds]
anderslundstedt has quit [Quit: leaving]
veske2 has joined #nixos
veske has joined #nixos
<{^_^}> [nixpkgs] @andir pushed 2 commits to master: https://git.io/JvXvX
<{^_^}> [nixpkgs] @andir merged pull request #82471 → vorbis-tools: bump debian patchseries from -6 to -11. → https://git.io/Jv6HZ
<s1341> got past the remake issue
veske3 has joined #nixos
<s1341> now i have an issue where gradle is trying to run nodeSetup, and node is failling to find libstdc++.so.6
veske3 has quit [Read error: Connection reset by peer]
veske2 has quit [Ping timeout: 246 seconds]
veske2 has joined #nixos
veske3 has joined #nixos
veske has quit [Ping timeout: 256 seconds]
anderslundstedt has joined #nixos
aveltras has joined #nixos
detran has quit [Quit: ZNC 1.7.4 - https://znc.in]
veske2 has quit [Ping timeout: 264 seconds]
veske has joined #nixos
veske3 has quit [Ping timeout: 250 seconds]
detran has joined #nixos
veske3 has joined #nixos
o1lo01ol1o has joined #nixos
mexisme_ has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a8ec4936ae7 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
vika_nezrimaya has quit [Ping timeout: 246 seconds]
mexisme_ has joined #nixos
<s1341> how can i run autoPatchelfHook on all executables in my directory from shell.nix?
<s1341> @ lovesegfault
v88m has quit [Ping timeout: 246 seconds]
zupo_ has joined #nixos
nschoe has joined #nixos
kraem has joined #nixos
<hyper_ch> how can I force nixos-rebuild to fetch all the .nix files that I included in the configuration.nix and are hosted on github to fetch newest version? it seems there's a version cached with a typo. I fixed it and upped it to github, yet the script still uses old cache version
relaxmax has joined #nixos
<NobbZ[m]> hyper_ch: Totally depends on how exactly you manage your local copy… Have you tried `git pull`?
edwtjo has joined #nixos
<hyper_ch> NobbZ[m]: the configuration.nix points to github
<NobbZ[m]> Or are you talking about third party files you pull in via `fetchFromGit`(`Hub`)?
<hyper_ch> e.g. (pkgs.callPackage (builtins.fetchurl "https://raw.githubusercontent.com/sjau/pastesl/master/pastesl.nix") {})
<NobbZ[m]> Or are you talking about `niv` managed external resources? There are plenty of ways to manage that stuff and how the update works exactly depends on which method you use.
<hyper_ch> NobbZ[m]: I'm talking about having stuff like (pkgs.callPackage (builtins.fetchurl "https://raw.githubusercontent.com/sjau/pastesl/master/pastesl.nix") {}) in the /etc/nixos/configuration.nix
<NobbZ[m]> `builtins.fetchurl` will assume for an hour that the file hasn't changed
<hyper_ch> however those nix files seem to get cached locally
<hyper_ch> so, how can I force update it?
<tilpner> rm -r ~/.cache/nix/tarballs
<tilpner> Or --option tarball-ttl 0
<hyper_ch> thx, will try
<NobbZ[m]> But to be honest, you should prefer using a pinned approach using `fetchFromGit`(`Hub`)
<NobbZ[m]> Much more reliable…
<{^_^}> [nixpkgs] @adisbladis opened pull request #82772 → Python: Add overrideAttrs attribute aliasing overridePythonAttrs → https://git.io/JvXJe
<hyper_ch> NobbZ[m]: why more reliable?
relaxmax has quit [Ping timeout: 256 seconds]
<NobbZ[m]> Reliable is probably wrong… More reproducable.
johnw has joined #nixos
<tilpner> Reliable is correct too. What if you want to add your user to a group, which should require no internet connection, but does because your sources are remote and non-fixed-output?
thc202 has joined #nixos
waleee-cl has joined #nixos
steevveen has joined #nixos
Diogo has joined #nixos
leomar has joined #nixos
abathur has joined #nixos
steevveen has quit [Remote host closed the connection]
abathur has quit [Ping timeout: 246 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
erasmas has joined #nixos
gxt has quit [Quit: WeeChat 2.7.1]
gxt has joined #nixos
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
erasmas has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<s1341> how can i run a script just before getting the shell with mkShell
AWizzArd has joined #nixos
AWizzArd has quit [Changing host]
gxt has quit [Quit: WeeChat 2.7.1]
kleisli has quit [Remote host closed the connection]
<immae> s1341: shellHook
kleisli has joined #nixos
Makaveli7 has joined #nixos
kraem has quit [Ping timeout: 256 seconds]
cosimone has joined #nixos
<NobbZ[m]> immae: Thanks! That one really might help me setting up my environment… Is there also an equivalent which runs on shell exit?
gentauro has quit [Read error: Connection reset by peer]
<immae> NobbZ[m]: you can do a `trap function EXIT` inside the shellHook ;)
gentauro has joined #nixos
<NobbZ[m]> Sounds reasonable, though in an after thought, my idea seems to be not the best, as I might have more than one shell in the same project, and killing related docker containers because I leave one of them might cause more issues than it helps :D I think I'll just stick to manually managing their life cycles.
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<immae> Alright :)
<immae> (indeed the exit script should be strictly limited in side effect to what you did in the shell)
david_syer has joined #nixos
<xfix> i wonder if it's possible to enable internet access for nix derivation without having an output hash
<xfix> sure, this kills reproducibility pretty much, but it cannot be worse than Docker I think
srxl has joined #nixos
<david_syer> Anyone know about the GCE notes here: https://nixos.wiki/wiki/Install_NixOS_on_GCE? They don't seem to work any more. And the images in the Google store are all old.
<srxl> Hi, I seem to have run into some Nix store corruption. Was running a nixos-rebuild when my system suddenly froze, and i had to powercycle it. Rerunning the nixos-rebuild gives me a No such file or directory error, pointing at a path in the nix store. Any ideas on how to fix this?
o1lo01ol1o has quit [Remote host closed the connection]
<xfix> nix-store --repair?
orivej has quit [Ping timeout: 250 seconds]
<ikwildrpepper> david_syer: haven't used GCE in a while, but you could try building your own images, using: https://github.com/NixOS/nixpkgs/blob/master/nixos/maintainers/scripts/gce/create-gce.sh
gila has quit [Ping timeout: 250 seconds]
<xfix> nix-store --repair-path /nix/store/path
<david_syer> That might help. What does "maintainers" mean in the path of that script?
<david_syer> Is there documentation for this anywhere?
<david_syer> Why is there a mouldy Wiki page?
<xfix> maintainer is likely non-important outside of nixpkgs
<xfix> you can remove it
<{^_^}> [nixpkgs] @timokau opened pull request #82773 → python3.pkgs.rpy2: fix tests with pandas 1.x, 3.2.5 -> 3.2.6 → https://git.io/JvXU0
<xfix> the linked script comes from nixpkgs and is designed for nixpkgs usage, which is why it provides meta information
<srxl> Thanks for the pointers, nix-store --verify --repair did the trick
mexisme_ has quit [Ping timeout: 246 seconds]
v88m has joined #nixos
<david_syer> I'm running the script now to see what happens.
<hexagoxel> why does nix-shell set env-variables like TMP to different values? Is this (which variables, how to control it) documented somewhere? This is _not_ in a pure nix-shell.
leomar has quit [Quit: leomar]
xkapastel has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d5dda83d915 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
bahamas has quit [Ping timeout: 250 seconds]
<xfix> hexagoxel: it's documented at https://nixos.org/nix/manual/#ssec-derivation
<xfix> > Also, TMPDIR, TEMPDIR, TMP, TEMP are set to point to the temporary directory. This is to prevent the builder from accidentally writing temporary files anywhere else. Doing so might cause interference by other processes.
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):289:5
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b3b610831e2 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<xfix> Nix tries to set those values to environment variable TMPDIR, if it doesn't exist then environment variable XDG_RUNTIME_DIR or if that doesn't exist either constant value "/tmp"
kraem has joined #nixos
iyzsong has joined #nixos
<hexagoxel> xfix: ah, great, thanks! I am still confused because _somehow_ it gets set to /run/user/1000 when the documented default is /tmp, but if I define TMPDIR when calling nix-shell it works as expected.
swistak35_ has quit [Ping timeout: 260 seconds]
<hexagoxel> ah, maybe it falls back on XDG_RUNTIME_DIR?
<hexagoxel> That would be clever, but sadly undocumented :(
<{^_^}> [nixpkgs] @timokau merged pull request #82773 → python3.pkgs.rpy2: fix tests with pandas 1.x, 3.2.5 -> 3.2.6 → https://git.io/JvXU0
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/JvXTv
<xfix> if you are using NixOS, worth noting that by default /tmp is not on tmpfs
<hexagoxel> not using nixos (yet :) but thanks for the hint
<{^_^}> [nixpkgs] @B4dM4n opened pull request #82774 → virtualboxExtpack: synchronize version with virtualbox → https://git.io/JvXTJ
FRidh2 has quit [Ping timeout: 246 seconds]
FRidh has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> nix#2957 (by ambrop72, 38 weeks ago, open): Single-user install should not use /run/user/<pid> for build directories.
<xfix> "No, XDG_RUNTIME_DIR is usually much better than /tmp because you don't have to worry about /tmp races."
<MichaelRaskin> Given the size of some builds, tmpfs /tmp should be used vary carefully with Nix
xelxebar has joined #nixos
ericsagnes has quit [Ping timeout: 260 seconds]
<david_syer> I have a VM running on GCE now. But I can't log into it.
<david_syer> Where is the source code for the script referenced here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/google-compute-config.nix#L78?
<david_syer> (Seems to be related to sshd setup)
<xfix> gce is google-compute-engine package in this case
<ikwildrpepper> if I remember correctly, you add users by adding them in the console (or via API, obviously)
<{^_^}> [nixpkgs] @alyssais merged pull request #82765 → [19.09] opensmtpd: mark as insecure due to CVE-2020-8794 / #80978 → https://git.io/JvPS6
<{^_^}> [nixpkgs] @alyssais pushed commit from @obadz to release-19.09 « opensmtpd: mark as insecure due to CVE-2020-8794 / #80978 »: https://git.io/JvXT4
<s1341> what is the right way to add to my PATH envvar in home.nix?
<NobbZ[m]> s1341: Depending on your exact use case, `home-manager` provides some options to manipulate environment variables.
<david_syer> Thanks @tilpner. I think. Not sure yet how to fix this. GCE adds users itself, but NixOS appears to be shutting down ssh access, so I can't get in.
ericsagnes has joined #nixos
rardiol has joined #nixos
gila has joined #nixos
gila has quit [Ping timeout: 246 seconds]
<Cadey> there used to be a more detailed nixops manual on the website, where did it go?
vika_nezrimaya has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
spacefrogg has left #nixos ["Killed buffer"]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<sphalerite> Cadey: the old URL https://nixos.org/nixops/manual/ still works and has the same content AFAICT, just that it redirects to a less pretty URL and has no pretty styling…
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<Cadey> it doesn't have AWS instructions anymore
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<niksnut> I think that's because the AWS support is a plugin now
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gila has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
karantan has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<karantan> I have setup nixos and I'm running a WordPress blog on it. I have HAProxy -> httpd (apache) and I'll also add varnish. Atm I have just a basic HAProxy configuration but I'll want to add more rules to secure the WP blog (e.g. to prevent brute forcing, and other hacking)
<karantan> I don't want to just start blindly adding HAProxy rules. I want to first have some monitoring in place so that if I see e.g. some ddos or other strange activities, I can modify the HAProxy config
<karantan> so my question: which monitoring for this do you suggest?
<karantan> I'm looking at: DataDog, newrelic, prometheus and netdata
kreyren has joined #nixos
<kreyren> Are there any tarballs of nixos alike gentoo stage 3 ?
fendor has joined #nixos
vika_nezrimaya has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #82775 → opensmtpd: 6.4.2p1 -> 6.6.4p1 [backport 19.09] → https://git.io/JvXIq
<emilsp> what should I do to make pkgs.buildFHSUserEnv return an out/output/whatever to make it possible to be used as a package?
bahamas has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
abathur has joined #nixos
dieraca has joined #nixos
karantan has joined #nixos
<{^_^}> [nixos-channel-scripts] @edolstra pushed to master « Quick hack to fix status.nixos.org »: https://git.io/JvXI4
<gchristensen> niksnut: thanks ^.^ I didn't even notice the problem
abathur has quit [Ping timeout: 264 seconds]
<eyJhb> adisbladis: get over here, I have a PR for you
icey_ has joined #nixos
<eyJhb> #82723
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82723 (by eyJhb, 1 day ago, open): coc-go: use npm module
cosimone has quit [Quit: Terminated!]
icey__ has joined #nixos
d1rewolf has quit []
d1rewolf has joined #nixos
iceypoi has quit [Ping timeout: 258 seconds]
erasmas has joined #nixos
<Cadey> how do i change the DNS server a nixos machine uses in configuration.nix?
<Cadey> or is that something DHCP decides
relaxmax has joined #nixos
vika_nezrimaya has joined #nixos
<tilpner> Cadey: networking.nameservers
<gchristensen> niksnut: is there a way we can setup a git-revision redirect for channel's current tips?
<niksnut> well that's what that commit does
icey_ has quit [Ping timeout: 264 seconds]
<gchristensen> ah, I thought it would require a channel bump?
<{^_^}> [nixpkgs] @davidak opened pull request #82776 → Doc: Fix typo → https://git.io/JvXIi
phreedom has quit [Ping timeout: 240 seconds]
xelxebar has quit [Ping timeout: 240 seconds]
jojojojojo has quit [Ping timeout: 240 seconds]
klntsky has quit [Ping timeout: 240 seconds]
<niksnut> oh, you mean current as in right now :-)
<gchristensen> yeah
cartwright has quit [Ping timeout: 240 seconds]
kreyren has quit [Ping timeout: 240 seconds]
andreas303 has quit [Ping timeout: 240 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
<niksnut> it doesn't require a channel bump
oida has quit [Ping timeout: 240 seconds]
<niksnut> the redirects are applied even if the release already exists
<niksnut> hm...
<niksnut> no it doesn't
<niksnut> unless you pass FORCE=1
ElDelfin has joined #nixos
erasmas has quit [Ping timeout: 250 seconds]
phreedom has joined #nixos
xelxebar has joined #nixos
klntsky has joined #nixos
oida has joined #nixos
jojojojojo has joined #nixos
<ElDelfin> I'm having issues with getting a compositor to work right. It's on an Athlon x64 4400+ chip, and if I use a OpenGL one, I always get these triangles flashing around on the screen. Suggestions?
andreas303 has joined #nixos
KeiraT has joined #nixos
cartwright has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
kreyren has joined #nixos
<kreyren> i've invoked `curl -L https://nixos.org/nix/install | sh` what should i do now
* kreyren wants to try to install something
drag0nius has joined #nixos
vika_nezrimaya has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<drag0nius> how do i nest withPackages that are already nested?
<drag0nius> like with pkgs; [vim bash python38] then put with python38Packages inside another with
FRidh has quit [Ping timeout: 250 seconds]
FRidh2 has joined #nixos
knupfer has quit [Ping timeout: 246 seconds]
srxl has quit [Remote host closed the connection]
<kreyren> is nix even usable now
<xfix> what do you mean by "usable"?
<gchristensen> kreyren: did it install? :)
Rusty1 has joined #nixos
<ElDelfin> i'm a nix n00b, but i've installed on bare metal. works fine, except openGL compositors don't work right
<NobbZ[m]> kreyren: When I did run that command on Arch Linux half a year ago, I got a lot of output, texts guiding me through the installation process, what do you see?
<kreyren> gchristensen, i have /nix so i assume it did
<kreyren> and it indicated sucess (don't have the output anymore)
<kreyren> or what i understand was successful
<xfix> have you tried restarting your user session?
<kreyren> xfix, elaborate on restarting? Invoked `reset` in terminal after
<gchristensen> kreyren: do you have evidence that it is not usable?
<NobbZ[m]> As far as I remember, it also asked mee to put some lines into my shells rc files, have you done so?
anderslundstedt has quit [Remote host closed the connection]
<NobbZ[m]> If you have done that, then using nix' tools should "just work"
<kreyren> gchristensen, i do since currently it's a brick that can't do anything on my system :p `nix-env` nor `nix-shell` does not work
<ottidmes> is nix eval '(...)' the same as nix-instantiate --eval --read-write-mode '...'? And it does not need extra trust, like allow-unsafe-native-code-during-evaluation, does, right?
<kreyren> NobbZ[m], checking
<xfix> `reset` doesn't do terminal reinitialization
<kreyren> murdered terminal and openned new -> same issue
<gchristensen> kreyren: maybe you can provide us that information, and other information, like typical output and information about what you're trying, what is happening, what isn't happening, etc. because so far we've had to guess that it wasn't working :)
<NobbZ[m]> Also, as others have said, you might need to start a fresh shell session that those changes take effect.
<kreyren> checking
karantan has quit [Quit: Textual IRC Client: www.textualapp.com]
blaggacao has quit [Ping timeout: 256 seconds]
<kreyren> outputs: http://dpaste.com/2442AGS
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
<kreyren> nix-shell is now recognized, but outputs: `error: getting status of '/home/kreyren/default.nix': No such file or directory`
<kreyren> checking..
blaggacao has joined #nixos
<NobbZ[m]> Have you followed that advice?
<xfix> this is how nix-shell should behave, this is correct
leotaku has joined #nixos
o1lo01ol1o has joined #nixos
<etu> kreyren: try: nix-shell -p hello
<etu> kreyren: It should give you a shell with gnu hello available
<kreyren> etu, it's installing stuff
<kreyren> got me nix-shell
<kreyren> thanks
<kreyren> how do i install something now
<xfix> nix-env
<gchristensen> nix-env -iA hello
<gchristensen> rather: nix-env -iA nixpkgs.hello
<kreyren> thanks ^^
<gchristensen> yep!
<kreyren> anyone tested this on frankenstained system yet? any known issues?
gustavderdrache has joined #nixos
<gchristensen> what is that?
<kreyren> custom FSH, kernel with bunch of patches and weird toolchain
<etu> nix is kinda self-contained
<kreyren> basically LFS on <insert_drug>
<gchristensen> sure
<tilpner> Yes, someone was recently using Nix on an LFS system
<gchristensen> though you'll probably become a bit addicted and rebuild your frankenstein system with Nix :P
<kreyren> gchristensen, depends on the level of optimization it can provide :p
cizra has joined #nixos
<kreyren> i like to optimize the system to 0.001% system resource gain
<cizra> OMG, I'd forgotten how amazing NixOS is! After spending AGES on Arch, I set up NixOS pretty much exactly as I liked it. Eventually migrated away for whatever reason. Again Arch, then Ubuntu, and now again NixOS. Installation was a breeze (it didn't care that it has to live in a btrfs subvolume alongside with Windows and whatnot). I reused my old configuration which I store in Git. Everything was a breeze,
<cizra> and I'm back to my old favorite settings. Plus the packages I had to customize (Thinkpad-specific driver for fingerprint login, The Dark Mod, ctrl-as-caps in xfreerdp) got merged to regular nixpkgs, so I didn't even have to redo my old package overlays and stuff.
mexisme_ has joined #nixos
oxalica has joined #nixos
<gchristensen> kreyren: are you a HFT person? :)
<etu> cizra: Very cool! Welcome back! :)
butterthebuddha has joined #nixos
<kreyren> gchristensen, what's HFT person
<gchristensen> High Frequency Trading
<MichaelRaskin> High-freq trading
<kreyren> figured as much :p but how is that relevant to a person assuming it being a concept for financial market
<MichaelRaskin> The field where 0.001% performance pays off, because nothing constructive does
<kreyren> nah just psychopath with obsession for perfection
<tilpner> You'll lose some of the advantages of Nix for that, e.g. being able to use cached builds of packages
<MichaelRaskin> I guess «frankensystem built via Nix» would cover my setup
<etu> kreyren: Then you'd be happy to read about some of the madness that people on nixos does :)
linarcx has quit [Quit: WeeChat 2.7.1]
<gchristensen> you should know that Nix makes a huge trade-off, but perhaps in a way you don't care: its model naturally uses more disk space than other package managers
<MichaelRaskin> But I do use stock packages from Nixpkgs
<etu> kreyren: such as, I'm using tmpfs as / to not have unknown state laying around across reboots :D
<MichaelRaskin> «Pay 1 GiB per 1 month to avoid 1 unit of sanity damage»
<kreyren> etu, alike? currently i am on custom fork of bedrock linux where i have all packages manager available in the same terminal with ability to create more sandboxes
<etu> kreyren: And this is not super uncommon in the nix-community
<etu> also, tmpfs is super fast to have as disk when you compile stuff :)
<kreyren> etu, i have the option to use tmpfs with persistance in bootloader already :p
bahamas has quit [Ping timeout: 250 seconds]
mexisme_ has quit [Ping timeout: 246 seconds]
<kreyren> etu, any example of something alike?
<{^_^}> [nixpkgs] @obadz merged pull request #82775 → opensmtpd: 6.4.2p1 -> 6.6.4p1 [backport 19.09] → https://git.io/JvXIq
<{^_^}> [nixpkgs] @obadz pushed 8 commits to release-19.09: https://git.io/JvXLX
<kreyren> Can i run nix on pinetime?
<etu> kreyren: Many nix users tend to put all the configs in git and to make sure to configure everything with nix so the entire system is possible to rebuild :)
ghasshee has quit [Ping timeout: 250 seconds]
<kreyren> etu, like this? https://github.com/Kreyren/portage-config if so any examples?
<{^_^}> [nixpkgs] @turboMaCk opened pull request #82778 → elmPackages.elmi-to-json: 1.2.0 -> 1.3.0 → https://git.io/JvXLb
ghasshee has joined #nixos
Makaveli7 has quit [Ping timeout: 264 seconds]
<MichaelRaskin> Git is not the only choice of a VCS, of course
<tilpner> kreyren: No, not on a Pinetime
<kreyren> tilpner, meh
<etu> kreyren: More wide than that I think. My editors config is part of the system state. Together with most configs for most programs.
<{^_^}> [nixpkgs] @marsam merged pull request #82726 → tintin: 2.02.01 -> 2.02.02 → https://git.io/JvP3s
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXLA
<{^_^}> [nixpkgs] @marsam merged pull request #82731 → zabbix-cli: 2.1.1 -> 2.2.1 → https://git.io/JvPnO
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXLj
<kreyren> is nixOS supporting four freedoms btw?
<gchristensen> Rockwell's?
<MichaelRaskin> In what sense supporting? It warns you before installation of software which is not free
reallymemorable has joined #nixos
<kreyren> gchristensen, fsf's
jboy has joined #nixos
<MichaelRaskin> You can comfortably run NixOS without such software
<kreyren> MichaelRaskin, I meant how much i can change it without legal conflicts ?
<MichaelRaskin> Nix is LGPL
<kreyren> perfect :3
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<MichaelRaskin> Nixpkgs has this weird licensing that the patches that can be considered derivative works of open-source code share the same license, and not the license of the expression
<gchristensen> MichaelRaskin: I didn't think that was a choice?
<MichaelRaskin> Not a choice, but a thing to be aware of
<gchristensen> ah, right :)
<s1341> what's the simplest way to build neovim from my fork on github?
<{^_^}> [nixpkgs] @marsam merged pull request #82539 → frp: 0.31.2 -> 0.32.0 → https://git.io/Jvi3f
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXtL
<s1341> can i ine
<s1341> can i inherit from the original package and just change the source?
<NobbZ[m]> Use an override which replaces the `src` attribute accordingly.
<NobbZ[m]> `pkgs.foo.override { src = … }`
<s1341> NobbZ[m]: can you point me at an example please?
<etu> NobbZ[m]: overrideAttrs
<etu> In this case
<NobbZ[m]> Do we need old values?
<tilpner> Beware, neovim is a wrapper
<{^_^}> [nixpkgs] @marsam merged pull request #82716 → simg2img: 1.1.3 -> 1.1.4 → https://git.io/JvPtv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXt3
<etu> NobbZ[m]: yes, you need to accept it as an argument. But you don't need to touch it.
<s1341> so what is the answer?
<s1341> (sorry I'm a noob)
<NobbZ[m]> So far I'm also not sure when to use which. But basically, you need to use `override` or `overrideAttrs`
<{^_^}> [nixpkgs] @marsam merged pull request #82721 → unicode-character-database: 12.1.0 -> 13.0.0 → https://git.io/JvPmj
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXtl
<s1341> tilpner: what does that mean?
<adisbladis> s1341: somePackage.overrideAttrs (old: { src = pkgs.fetchurl { ... }; })
cosimone has joined #nixos
jreed has joined #nixos
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvXtE
<{^_^}> [nixpkgs] @ryantm merged pull request #82575 → renderizer: 2.0.5 -> 2.0.9 → https://git.io/JviWm
<{^_^}> [nixpkgs] @marsam merged pull request #82195 → spice-protocol: 0.14.0 -> 0.14.1 → https://git.io/Jvo7v
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXtu
<{^_^}> [nixpkgs] @marsam merged pull request #82717 → saga: 7.5.0 -> 7.6.1 → https://git.io/JvPqr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXt2
<{^_^}> [nixpkgs] @marsam merged pull request #82046 → intel-media-driver: 19.3.0 -> 19.4.0r → https://git.io/JvrHn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXtV
cap has joined #nixos
noudle has quit []
blaggacao has quit [Read error: Connection reset by peer]
<tilpner> s1341: That you probably need something like: wrapNeovim (neovim-unwrapped.overrideAttrs ...)
drag0nius has quit [Remote host closed the connection]
blaggacao has joined #nixos
<adisbladis> Or get into overlays ;)
<adisbladis> And override the unwrapped derivation
<{^_^}> [nixpkgs] @marsam merged pull request #82241 → tpm2-pkcs11: 1.0.1 -> 1.1.0 → https://git.io/JvK32
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXtD
<{^_^}> [nixpkgs] @marsam merged pull request #81505 → libgpiod: 1.4.2 -> 1.5 → https://git.io/Jv22W
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXt5
<{^_^}> [nixpkgs] @marsam merged pull request #79920 → groovy: 2.5.9 -> 3.0.0 → https://git.io/JvWeG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXtb
<{^_^}> [nixpkgs] @turboMaCk opened pull request #82779 → elmPackages.elm-coverage: init at 0.0.3 → https://git.io/JvXtN
<{^_^}> [nixpkgs] @marsam merged pull request #80833 → inadyn: 2.5 -> 2.6 → https://git.io/Jv0Rr
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXtA
relaxmax has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam merged pull request #82588 → berglas: 0.5.0 -> 0.5.1 → https://git.io/JviB8
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXtp
relaxmax has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #82707 → python27Packages.uamqp: 1.2.5 -> 1.2.6 → https://git.io/JvPfG
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXqe
<{^_^}> [nixpkgs] @marsam merged pull request #82542 → gnss-sdr: 0.0.11 -> 0.0.12 → https://git.io/Jvi3l
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvXqf
<{^_^}> [nixpkgs] @domenkozar merged pull request #82778 → elmPackages.elmi-to-json: 1.2.0 -> 1.3.0 → https://git.io/JvXLb
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JvXqU
hmpffff_ has joined #nixos
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/107ffbb22ad (from 19 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
oxalica has quit [Quit: Leaving]
hmpffff has quit [Ping timeout: 272 seconds]
<evanjs> Made some progress on my frankenstein 19.09 based stuff with a 16.09 toolchain yesterday. One sticking point was that I couldn't manage to get an arm GNU toolchain
<evanjs> all I could find was arm-none-eabi (gcc-arm-embedded-5) but I need a GNU toolchain
<evanjs> As pkgsCross didn't exist back then, can anybody help me figure out how I can get a stdenv with a gnu toolchain from 16.09 for arm?
<evanjs> I ended up needing to set crossSystem and a lot of other weird stuff I haven't dealt with before
<evanjs> Just pushed much of the WIP stuff and here is an entry point that should give some context https://github.com/evanjs/mini-system/blob/672f542ccb09b1e67a5d66f391820dddb280df8e/default.nix#L269
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<evanjs> Essentially, I need to compile something with GLIBC 2.24/GCC 5.4.0 for armv7l, and figured using stuff from 16.09 (which uses GLIBC 2.24) might be the easiest
szicari has joined #nixos
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
kleisli has quit [Ping timeout: 264 seconds]
arianvp_ is now known as arianvp
<clever> evanjs: you might want to look at my vc4 PR
<{^_^}> [nixpkgs] @erictapen opened pull request #82780 → [20.03] haskellPackages.binary-strict: 0.4.8.4 -> 0.4.8.5 → https://git.io/JvXqN
<{^_^}> [nixpkgs] @DieGoldeneEnte opened pull request #82781 → Llvm10 rc4 → https://git.io/JvXqp
<clever> evanjs: https://github.com/NixOS/nixpkgs/pull/72657 this adds a new cross-compile target, including its own libc
<{^_^}> #72657 (by cleverca22, 19 weeks ago, merged): Initial implementation of vc4 cross-compile
justanotheruser has joined #nixos
david_syer has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 256 seconds]
lordcirth_ has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #82779 → elmPackages.elm-coverage: init at 0.0.3 → https://git.io/JvXtN
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/JvXmy
linarcx has joined #nixos
<NobbZ[m]> To the right of mine I have an old laptop which already had a working nixOS installation (done via ethernet), though due to doing something bad I lost my grub and try to reinstall now. Though sadly neither the built-in nor my external WiFi are recognized. `nixos-install` fails because it can't build something without internet, though I'd like to just rebuild GRUB such that it can find the installation on my partition
<evanjs> clever: ohhh that's where that `gcc = if stdenv.targetPlatform.isVc4 then gcc6 else gcc8;` came from.
<evanjs> on a related note... ever seen something like "crossConfig: unbound variable" before?
<evanjs> Bouncing between old and modern nixpkgs and trying to do this stuff. Maybe I need to stick with one :D
orivej has joined #nixos
<evanjs> one of the biggest problems using old glibc from new nixpkgs IIRC was the patches
<clever> evanjs: havent seen that one
<evanjs> yeah figured as much, presumably from trying to do cross on 16_09, where crossConfig litters the codebase
<evanjs> don't see _any_ references on master
<evanjs> I just want the equivalent of pkgsCross.armv7l-hf-multiplatform.stdenv on 16.09/ w/glibc 2.24 haha
phreedom has quit [Ping timeout: 240 seconds]
<FRidh2> cross in 16.09 quite different from how it is now
<FRidh2> as in, it did not exist
<evanjs> FRidh2: exactly my issue atm :D
<evanjs> Like I'm seeing things like gcc-arm-embedded, but yeah, still radically different from e.g. pkgsCross.armv7l-hf-multiplatform.gcc
<evanjs> FRidh2: so what do you think might be less impossible? Cross on 16.09 or old glibc on 19.09+?
hmpffff has joined #nixos
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen has joined #nixos
<evanjs> gcc-arm-embedded got me close, I think, it was just none rather than gnueabi
<evanjs> *checks description* wait what "Pre-built GNU toolchain ..."
<evanjs> but it didn't work with my GNU stuffs... or maybe it was something else. hrm
abathur has joined #nixos
hmpffff_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @roberth opened pull request #82782 → Backport to 20.03 pr 81292: fix service runner quotes → https://git.io/JvXOm
anderslundstedt has joined #nixos
abathur has quit [Ping timeout: 250 seconds]
phreedom has joined #nixos
jakobrs has joined #nixos
<jakobrs> Why does boot.loader.grub.device need to be set to 'nodev' on UEFI systems?
<gchristensen> you have to tell grub to opt-out of writing the MBR
<gchristensen> if you use systemd-boot, you don't need to do that, of course
<hyper_ch> gchristensen: you use systemd-boot with zfs?
<jakobrs> Is MBR bios-specific? Why don't you want to write to it on uefi?
erasmas has joined #nixos
<gchristensen> hyper_ch: I do
<{^_^}> [nixpkgs] @timokau merged pull request #82766 → brial: 1.2.7 -> 1.2.8 → https://git.io/JvPSX
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JvXOc
<gchristensen> jakobrs: MBR is indeed bios-only, uefi doesn't look at the MBR at all
<hyper_ch> gchristensen: did you find out how you could a full disk to zfs, put that uefi start file in the auto-creates sd9 partition and not needing a seperate /boot partition on nixos?
<gchristensen> no, I have a vfat partition for /boot, just like the rest of uefi users :P
<jakobrs> mbr is a partition table format, right?
<gchristensen> FYI: https://status.nixos.org/ is working again :)
glittershark has quit [Ping timeout: 246 seconds]
<evils> awesome!
<eyJhb> ,howoldis
<eyJhb> Aw :(
<hyper_ch> gchristensen: on my debian I was able to use /dev/sdb9 as /boot/efi but I haven't succeeded in nixos
acarrico has joined #nixos
<{^_^}> howoldis redefined, was defined as https://howoldis.herokuapp.com/
<timokau[m]> gchristensen++ now I just need to replace "howoldis" with "status.nixos" in my muscle memory
<{^_^}> gchristensen's karma got increased to 233
szicari has quit [Quit: ZNC - http://znc.in]
glittershark has joined #nixos
erasmas has quit [Ping timeout: 246 seconds]
<gchristensen> 8M /boot :o
<hyper_ch> it's only /boot/efi
<hyper_ch> rest is all on zfs
drag0nius has joined #nixos
<gchristensen> with my secure-boot PR, /boot/efi grows by 30M for each system generation
hmpffff has quit [Remote host closed the connection]
hmpffff has joined #nixos
<gchristensen> so you use grub's ability to read zfs?
<hyper_ch> I followed a howto on how to setup root zfs on debian :)
<gchristensen> cool
<hyper_ch> I don't recall, I'd have to check
<hyper_ch> but I really like tha tyou can assign the full disk to zfs
<hyper_ch> I wish I could do the same on nixos
szicari has joined #nixos
<drag0nius> how do i set up python with nix so i can install packages using `pip install --user` ?
<hyper_ch> gchristensen: grub.cfg
<hyper_ch> search.fs_uuid 20ab51e72752860e root hd1,gpt1 hd0,gpt1
<hyper_ch> set prefix=($root)'/Debian@/boot/grub'
<hyper_ch> configfile $prefix/grub.cfg
<gchristensen> hmm yeah I suppose that is then depending on grub to be able to access zfs
glittershark has quit [Ping timeout: 250 seconds]
<hyper_ch> and grub isn't able to do that with zfs 8.x I think
<gchristensen> yeah, that is the down-side, you're depending on a probably not wonderfully maintained zfs impl
<hyper_ch> IIRC I heard the zfs people complaining about how hard it is to get new stuff into grub
<{^_^}> [nixpkgs] @Mic92 pushed to staging « popt: set src to working mirror »: https://git.io/JvXOA
<gchristensen> grub doesn't ever release stuff
<hyper_ch> I just wish I could do that with nixos and latest zfs :(
<evanjs> ahhh might've found something with mentorToolchains.armLinuxGnuEabi. I remember seeing sourcery when I was doing this manually
<evanjs> back to "c++: command not found" errors during compilation, anyway
glittershark has joined #nixos
<gchristensen> hyper_ch: look at the dates of these releases: https://ftp.gnu.org/gnu/grub/
jakobrs has quit [Quit: WeeChat 2.7.1]
<s1341> how can i install nodejs-8 on unstable?
<hyper_ch> gchristensen: more up-to-date than Hurd ;)
<gchristensen> hehe
<etu> ,pinning s1341
<gchristensen> hyper_ch: but why do you so badly want avoid a sda1 for grub?
<hyper_ch> I just prefer assigning a full disk to zfs
<gchristensen> there is no need to do that
<hyper_ch> keyword: "prefer"
<s1341> etu: how do i find the revision of nixpkgs?
<{^_^}> [nixpkgs] @davidak opened pull request #82784 → nixos/phpfpm: add example to socket → https://git.io/JvX3O
<gchristensen> there is advice to not split a disk and have 2 active partitions on the one disk, and if you give ZFS the whole disk, the only special thing zfs does is set a certain scheduler to make its writes faster -- something you can do yourself
<etu> s1341: I usually pick things to track an older channel if I need something that is removed or so :)
<gchristensen> but the advice to give the whole disk to ZFS doesn't apply when it is an inactive partition like an ESP partition
<hyper_ch> gchristensen: I still like it better
<gchristensen> okay
hmpffff_ has joined #nixos
<gchristensen> I personally prefer being able to use recent ZFS features instead of being pinned to whatever arbitrary features existed and were implemented when Grub first started supporting ZFS
<hyper_ch> well, on debian it's ok to run older zfs versions ;)
zupo has joined #nixos
<clever> gchristensen: also of note, if you give zfs the whole disk, it will set a magic flag on the vdev, which causes zfs to mess with the IO scheduler upon import
<clever> gchristensen: if you give it a partition, it wont mess with the IO scheduler, so the 2nd partition gets a more fair share of things
<gchristensen> clever: I think that is what I said, no?
<clever> ah, yeah, i see that now
<gchristensen> and you can still set hte scheduler
<gchristensen> yeah :) cool
<clever> yeah
hmpffff has quit [Ping timeout: 246 seconds]
<gchristensen> something I should probably do... :)
<clever> my system is weirdly IO bound, so ive not seen much benefit from changing schedulers
abathur has joined #nixos
<clever> [root@nas:~]# time ls -U /nix/store/ | wc -l
<clever> real 0m3.061s
<clever> 88965
<clever> hmmm, its usually slower then that
<gchristensen> I guess the way to set this is with a kernel cmdline, I don't see an abstracted option for it
jakobrs has joined #nixos
RRedcroft has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
philr has quit [Ping timeout: 256 seconds]
<jakobrs> I don't think it was such a good idea to remove efiInstallAsRemovable https://imgur.com/a/1HuK5s6
<gchristensen> oops...
<hyper_ch> jakobrs: you have an anykey key?
<jakobrs> I've got a live usb
blaggacao has quit [Ping timeout: 246 seconds]
<jakobrs> unless that's not what you meant?
<hyper_ch> btw, is refind still the best tool to fix u/efi related problems?
blaggacao has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @roberth merged pull request #82782 → Backport to 20.03 pr 81292: fix service runner quotes → https://git.io/JvXOm
<{^_^}> [nixpkgs] @roberth pushed 2 commits to release-20.03: https://git.io/JvX3N
mjrosenb has joined #nixos
<jakobrs> oooh
<hyper_ch> you're probably too young or too old to remember that ;)
nakkle has joined #nixos
<jakobrs> I mean I don't watch the Simpsons but I think I recognise that scene
<hyper_ch> I grew up with the simpsons :)
<hyper_ch> I got older - Bart stayed the same
<nakkle> I'm trying to create a VM with virt-manager with uefi firmware, but it says that libvirt didn't detect any OVMF firmware on the host. virtualisation.libvirtd.qemuOvmf is enabled. Any ideas what's the problem here?
<jakobrs> Hmm, it's not fixed after a reboot. Should I be worried? Or is this normal behaviour if you unset efiInstallAsRemovable
<jakobrs> *reinstall
mexisme_ has joined #nixos
<jakobrs> rEFInd does find it
Makaveli7 has joined #nixos
<jakobrs> Ah, I forgot to set canTouchEfiVariables
mexisme_ has quit [Ping timeout: 246 seconds]
linarcx has quit [Quit: WeeChat 2.7.1]
Makaveli7 has quit [Quit: WeeChat 2.7.1]
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/8d7fd7e3f40 (from 16 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
ghasshee has quit [Ping timeout: 264 seconds]
<jakobrs> Theoretically, I can dual-boot NixOS if I use separate boot partitions, right? And then I'd only allow one of them to set the efi variables
ghasshee has joined #nixos
mjrosenb has quit [Ping timeout: 246 seconds]
dsx has quit [Quit: dsx]
jreed has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvXsc
<s1341> etu, I'm doing the pinning: this is the revision I want: https://github.com/NixOS/nixpkgs/commit/60b59c34a868f5e835e8af187b961ed328dd23e9
<s1341> but when i try to install stf from that revision, i get unpacking 'https://github.com/NixOS/nixpkgs/archive/86e23f0ace7476c673a2a71a87c8b7dbbec4fada.tar.gz'...
<s1341> error: attribute 'stf' missing, at /nix/store/5kwkhzc22r3z56hyhyhjy0fklmaqirxr-nixpkgs-for-nodejs8/pkgs/development/node-packages/default-v8.nix:24:9
veske has quit [Quit: This computer has gone to sleep]
veske3 has quit [Quit: This computer has gone to sleep]
<s1341> sorry, thats the wrong revision, but I get the same on the commit i pasted
<s1341> etu: do i need to do something special with the node-packages-v8.json
<s1341> ?
<Taneb> Anyone have any idea why if I do "nix-instantiate -A haskellPackages.Agda" in master of nixpkgs I get Agda-2.6.0, when 2.6.0.1 is what's listed in pkgs/development/haskell-models/hackage-packages.nix?
linarcx has joined #nixos
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
ghasshee has quit [Ping timeout: 264 seconds]
ghasshee has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/JvXsr
drag0nius has quit [Remote host closed the connection]
veske3 has joined #nixos
veske has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
veske has quit [Client Quit]
veske3 has quit [Client Quit]
ghasshee has quit [Ping timeout: 264 seconds]
butterthebuddha has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<s1341> it looks like i somehow need to do the generation...
noudle has joined #nixos
<clever> Taneb: what if you read pkgs/development/haskell-modules/hackage-packages.nix ?
<clever> Taneb: do you have a config.nix file?
noudle has quit [Client Quit]
<Taneb> clever: ah... yeah, I wrote an overlay for it an age ago and forgot
<clever> Taneb: try `nix-instantiate -A haskellPackages.Agda --arg config '{}' --arg overlays '[]'`
<clever> Taneb: that makes it ignore all config and overlays
dsx has joined #nixos
cosimone has quit [Quit: Quit.]
<Taneb> clever: yeah, that's doing what I expect...
<Taneb> Thank you :)
erasmas has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justanotheruser has quit [Ping timeout: 256 seconds]
ghasshee has joined #nixos
butterthebuddha has joined #nixos
drakonis has joined #nixos
edrex has joined #nixos
<jakobrs> Why might NAT not be working?
zupo has joined #nixos
<{^_^}> [nixpkgs] @ggreif opened pull request #82785 → llvmPackages_10: rc3 -> rc4 → https://git.io/JvXGa
nakkle has left #nixos [#nixos]
<edrex> hi all. seeking to transition Arch -> Nix on main laptop via dual boot. Storage is LVM on LUKS, and I want to have NixOS in the same volume group. Any pointers to docs that might help?
<gchristensen> set up the partitions however you like, and install NixOS :)
justanotheruser has joined #nixos
palo has quit [Ping timeout: 246 seconds]
<s1341> anyone know how i can install rethinkdb?
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4f69f2c9afc (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b4897080772 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<s1341> i get a python error: no module named six
opticnerve has joined #nixos
palo has joined #nixos
RRedcroft has quit [Ping timeout: 256 seconds]
<edrex> nm, i found plenty of docs
<infinisil> What was the trick again to figuring out what's causing "dumping very large path (> 256 MiB); this may run out of memory"?
<edrex> gchristensen :)
<s1341> anyone know how i can get rethinkdb to install?
kenran has quit [Ping timeout: 256 seconds]
edrex has left #nixos ["User left"]
palo has quit [Ping timeout: 246 seconds]
ghasshee has quit [Ping timeout: 256 seconds]
<xfix> s1341: you won't get it to install, it's marked broken
palo has joined #nixos
<jakobrs> s1341: I got it to start compiling by adding six to propagatedBuildInputs
<jakobrs> I'll tell you if this fixes it
<infinisil> Oh this seems to work: -vv 2>&1 | rg dumping -A 1
<s1341> jakobrs: ok
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
wildtrees has joined #nixos
ghasshee has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<jakobrs> s1341: broken = true; # Broken with openssl 1.1
<jakobrs> I think it's actually broken
malSet has joined #nixos
jakobrs has quit [Quit: leaving]
<xfix> that being said, i'm currently looking into fixing rethinkdb
<s1341> yeah. looks like that.
malSet has quit [Read error: Connection reset by peer]
<xfix> there is a new version, it may work
<xfix> will test
<s1341> xfix what kinda eta?
<xfix> never :)
<s1341> xfix :*(
<evanjs> One of the bigger pain points for 16.09 is the lack of overrideAttrs. CMake wasn't getting the stdenv from libwebsockets (as FRidh2 said, really no cross back then..) so I had to manually inherit stdenv in the nativeBuildInputs and bah
<s1341> jakobrs can I try with an earlier version of openssl?
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<s1341> (is that feasible?)
chloekek has quit [Quit: WeeChat 2.7]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<xfix> yes, well, kinda
<xfix> i think there are more issues than just this
<xfix> you could probably use openssl_1_0_2
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<s1341> xfix how would i go about doing that?
<s1341> xfix: nm. figured it out...
<{^_^}> [nixpkgs] @domenkozar pushed to master « add openapi-generator-cli-unstable »: https://git.io/JvXZo
LysergicDreams has quit [Ping timeout: 246 seconds]
cosimone has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/bf7c0f0461e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
bahamas has quit [Quit: leaving]
cole-h has joined #nixos
captjakk has joined #nixos
<s1341> xfix: so i'm trying to build their updated package
val2229[m] has joined #nixos
cornu has joined #nixos
dyon[m] has joined #nixos
leons has joined #nixos
knupfer has joined #nixos
palo has quit [Ping timeout: 246 seconds]
Dandellion has joined #nixos
palo has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #82786 → Cross build go package → https://git.io/JvXnW
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #82787 → buildGoModule: enable strictDeps → https://git.io/JvXnE
xkapastel has quit [Quit: Connection closed for inactivity]
leomar has joined #nixos
erictapen has joined #nixos
ddellacosta has joined #nixos
sgrunert has quit [Remote host closed the connection]
ghasshee has quit [Ping timeout: 256 seconds]
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @xfix opened pull request #82788 → rethinkdb: 2.3.6 -> 2.3.7 → https://git.io/JvXnF
relaxmax has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #82754 → tor-browser-bundle-bin: 9.0.5 -> 9.0.6 → https://git.io/JvP2U
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvXnj
opticnerve has quit [Quit: Leaving]
mexisme_ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed commit from mehlon to release-20.03 « tor-browser-bundle-bin: 9.0.5 -> 9.0.6 »: https://git.io/JvXcU
ghasshee has joined #nixos
lordcirth__ has joined #nixos
jb55 has joined #nixos
radvendii has joined #nixos
erictapen has quit [Ping timeout: 264 seconds]
<radvendii> Hey guys, I'm trying to install NixOS on my Raspberry Pi, and I'm following the instructions online, and when I do the first rebuild it's taking *forever* (I left it on overnight and it wasn't done after 8 hours)
<radvendii> at that point i figured i might be doing something wrong
<lordcirth__> radvendii, is the raspi really hot?
<lordcirth__> thermal throttling can kill performance on Pi's
hmpffff has joined #nixos
mexisme_ has quit [Ping timeout: 272 seconds]
<radvendii> uh. I didn't check while I was rebuilding
lordcirth_ has quit [Ping timeout: 246 seconds]
<radvendii> right now it's warm but not hot
<radvendii> i can run the rebuild again and see
<radvendii> if that's the issue, what should i do? put it in the fridge?
<OmnipotentEntity> May I get a review on an old pull request of mine? #82082
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82082 (by OmnipotentEntity, 1 week ago, open): katago: init at 1.3.3
<{^_^}> [nixpkgs] @andir opened pull request #82789 → openssl: 1.1.1d -> 1.1.1e → https://git.io/JvXcO
gila has quit [Ping timeout: 264 seconds]
hmpffff_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #82776 → Doc: Fix typo → https://git.io/JvXIi
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvXc3
noudle has joined #nixos
<xfix> openssl 1.1.1e, nice :)
<{^_^}> [nixpkgs] @andir opened pull request #82791 → [19.09] openssl: 1.1.1d -> 1.1.1e → https://git.io/JvXcW
<{^_^}> [nixpkgs] @andir opened pull request #82793 → [20.03] openssl: 1.1.1d -> 1.1.1e → https://git.io/JvXc0
<radvendii> yeah, the Pi is pretty hot? like I can hold it and won't burn myself, but it's hot to touch
<radvendii> if I keep it cooler, it will run faster?
mojjo has joined #nixos
<mojjo> on nixos, is there a way to add a host to /etc/hosts temporarily on the fly (without doing nixos-rebuild)?
<lordcirth__> radvendii, yes. the Pi will throttle the CPU to prevent heat damage, which kills performance
<cransom> radvendii: if it's hitting a thermal limit, it will throttle itself and you can find logs. but that limit is pretty high.
codygman has quit [Ping timeout: 264 seconds]
<lordcirth__> Friends of mine with Pis have said it's very easy to hit the limit doing anything sustained like compiling
<lordcirth__> And I did it on the Pi 1 with NixOS
<lassulus> mojjo: cat /etc/hosts > /etc/hosts.tmp; echo 'myhostbla' > /etc/hosts.tmp; mv /etc/hosts.tmp /etc/hosts :)
<lordcirth__> You can get cases with built-in cooling, or if you have a spare small heatsink, stick that on
<xfix> mojjo: what do you need that for, out of curiosity?
<xfix> i have the following hack in my configuration.nix to allow editing /etc/hosts with root scripts: https://pastebin.run/2st6wPVkfp
<s1341> xfix any luck?
<xfix> it's not a great hack, but it works
<mojjo> (hi lassulus!) ok, this I guess prevents the read-only file system
codygman has joined #nixos
<s1341> xfix with the rethinkdb?
<{^_^}> [nixpkgs] @etu opened pull request #82794 → PHP: Make the default package more saneSlim down default php → https://git.io/JvXcw
Ariakenom has quit [Quit: WeeChat 2.7]
<lassulus> yes, /etc is not RO only the files in /etc/static are (because they are in /nix/store)
c0c0 has quit [Ping timeout: 250 seconds]
<mojjo> or is it maybe possible to assign host names to virtual machines created with nixops?
<radvendii> I put a small fan underneath my pi (suspended by the chords it's plugged into), and that seems to be speeding things up. thanks.
<NobbZ[m]> mojjo shouldn't they be inherited from the attributes name?
<mojjo> mhh.. looks like not. In my case that would not work as I have to create two host names that point to one IP. The nginx server running there has configured two virtual hosts, and I'm trying to test them locally.
<{^_^}> [nixpkgs] @sjfloat opened pull request #82795 → qmidiarp: init at 0.6.5 → https://git.io/JvXCI
cosimone has quit [Quit: Terminated!]
c0c0 has joined #nixos
gila has joined #nixos
<{^_^}> [nixpkgs] @bachp opened pull request #82796 → plex: 1.18.7.2457 -> 1.18.8.2527 → https://git.io/JvXC0
fresheyeball has quit [Quit: WeeChat 2.6]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gila has quit [Ping timeout: 264 seconds]
<pikajude> is there a way to expose an attrpath in a nix file but not have hydra evaluate it?
zupo has joined #nixos
<pikajude> also, i want `nix build` to print out the path of the result even if i pass --no-link
<{^_^}> [nixpkgs] @xfix closed pull request #82788 → rethinkdb: 2.3.6 -> 2.3.7 → https://git.io/JvXnF
erictapen has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b8e76c49f45 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ghasshee has quit [Ping timeout: 246 seconds]
jakobrs has joined #nixos
<jakobrs> Is it possible to add grub modules to the live usb image?
chloekek has joined #nixos
<NobbZ[m]> You can fully customise the live image. The wiki has an article about how to do it.
<{^_^}> [nixpkgs] @rycee opened pull request #82797 → jwt-cli: 2.5.2 -> 3.0.1 → https://git.io/JvXWW
Jackneill has quit [Remote host closed the connection]
gagbo_ has quit [Quit: I'm out !]
<radvendii> i may have spoken to soon, it's still crawling along
<radvendii> i'm doing aarch64, so i'm surprised it even needs to compile things. shouldn't the binary caches be working?
<{^_^}> [nixpkgs] @jonringer merged pull request #82747 → pythonPackages.z3c-checkversions: disable python2 tests → https://git.io/JvXW6
<{^_^}> [nixpkgs] @jonringer pushed to master « pythonPackages.z3c-checkversions: disable python2 tests »: https://git.io/JvXWi
jakobrs has quit [Quit: WeeChat 2.7.1]
<lordcirth__> radvendii, there was just a discussion in #nixos-aarch64 about that
<radvendii> ah! there's a separate channel. thanks
gila has joined #nixos
gila has quit [Ping timeout: 246 seconds]
leomar has quit [Read error: Connection reset by peer]
leomar has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
<bqv[m]> if there's a `mkDerivation rec { ...; src = ...; installPhase = ''...${src}...''; ...; }` and you overrideAttrs that derivation elsewhere to have a new `src`, should installPhase see the initial or overridden value?
<bqv[m]> because as i'm sure you can guess, i'm seeing the initial value
<{^_^}> [nixpkgs] @mehlon opened pull request #82798 → hyperrogue: 11.2d -> 11.3a → https://git.io/JvXlq
mehlon has joined #nixos
<mehlon> hey yall
vyorkin has joined #nixos
<mehlon> can someone (with powerful PC) try building https://github.com/NixOS/nixpkgs/pull/82798 -- I think it gets stuck when I try to compile it
<{^_^}> #82798 (by mehlon, 6 minutes ago, open): hyperrogue: 11.2d -> 11.3a
<mehlon> oh, looks like the CI is actually on it as well. but you can try as well, for that sweet Gentoo action
cyraxjoe has joined #nixos
vyorkin has quit [Remote host closed the connection]
<bqv[m]> define "powerful"
<mehlon> at least 5 MHz and preferably multiple floppy disks of storage
<mehlon> I heard the Sega Genesis has blast processing, so you can probably use that
<bqv[m]> o.o
MightyJoe has quit [Ping timeout: 268 seconds]
<bqv[m]> that's pretty powerful!
Desetude has joined #nixos
<clever> bqv[m]: a: the unpackPhase will have copied the src to . for you already
<mehlon> I suspect the CI's build is stuck as well
<clever> bqv[m]: b: if you use $src (the env var) instead of ${src} (the nix var), then it will respect further overrides
<bqv[m]> gotcha. i thought that might be it
cosimone has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed to master « jwt-cli: 2.5.2 -> 3.0.1 »: https://git.io/JvXlX
<{^_^}> [nixpkgs] @rycee closed pull request #82797 → jwt-cli: 2.5.2 -> 3.0.1 → https://git.io/JvXWW
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvXl1
<{^_^}> [nixpkgs] @jonringer merged pull request #81895 → http2tcp: init at 0.5 → https://git.io/JvwBj
<{^_^}> [nixpkgs] @jonringer merged pull request #82752 → pythonPackages.IMAPClient: 0.13 -> 2.1.0 → https://git.io/JvPzd
<{^_^}> [nixpkgs] @jonringer pushed commit from Alma Cemerlic to master « pythonPackages.IMAPClient: 0.13 -> 2.1.0 »: https://git.io/JvXlM
<{^_^}> [nixpkgs] @primeos pushed to master « inxi: 3.0.37-1 -> 3.0.38-1 »: https://git.io/JvXl9
<mehlon> OK so the build is definitely stuck
RRedcroft has joined #nixos
zeta_0 has joined #nixos
<mehlon> no wait, it's just queued
<mehlon> never mind
mehlon has quit [Quit: Leaving]
gila has joined #nixos
<{^_^}> [nixpkgs] @bqv opened pull request #82799 → ripcord: make version overriding easier by allowing version and hash … → https://git.io/JvXlp
rogue_koder has quit [Ping timeout: 240 seconds]
rogue_koder has joined #nixos
<Desetude> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<lovesegfault> bennofs: I think I found a bug in nix-index
RRedcroft has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @cillianderoiste merged pull request #79851 → nixos/supybot: switch to python3, enable systemd sandboxing, add option for installing plugins → https://git.io/JvCVs
<{^_^}> [nixpkgs] @cillianderoiste pushed 4 commits to master: https://git.io/JvX8W
<bennofs[m]> lovesegfault: what's the issue? 😀
bvdw has quit [Read error: Connection reset by peer]
o1lo01ol1o has quit [Remote host closed the connection]
bvdw has joined #nixos
<lovesegfault> bennofs[m]: if you use NixOps or the like (I use morph) your `/etc/nixos/configuration.nix` will be empty since it's kept elsewhere and you don't use nixos-rebuild anyway; in this scenario I find that nix-index refuses to work at all
<lovesegfault> error: getting status of '/run/current-system/nix': No such file or directory
<tilpner> lovesegfault: Why would it want to check your configuration in the first place? Did you strace it?
<tilpner> Unless you do something weird, like defining <nixpkgs> in terms of your configuration.nix...
ris has quit [*.net *.split]
<bennofs[m]> Oh, well nix-index just calls nix-env with '<nixpkgs>' as path. So make sure that your NIX_PATH is set to something useful
* lovesegfault checks
ris has joined #nixos
<lovesegfault> tilpner: my configuration.nix is just this: `assert builtins.trace "This is a dummy config, use morph!" false; { }`
<Desetude> In my configuration.nix I have `home-manager.users.me = import ./home`, where ./home contains a function taking in `pkgs, lib, ...`. This ends up working how I was originally intending it to with home-manager.users.me being set to { home.packages = ...; programs.nvim = ...; etc; }, however upon re-reading my config, I am unsure why the lambda is being evaluated rather than home-manager.users.me just
<Desetude> being set to the lambda itself
<lovesegfault> so when something touches it I see it :P
o1lo01ol1o has joined #nixos
<Desetude> (My confusion has nothing to do with home-manager but rather why the lambda is being evaluated)
<tilpner> lovesegfault: And your NIX_PATH value is?
<lovesegfault> NIX_PATH=/home/bemeurer/.nix-defexpr/channels:nixos-config=/nix/store/kbzwqcpmqmvy5himxqd3caddqcbbdvbs-configuration.nix:nixpkgs=/run/current-system/nixpkgs:nixpkgs-overlays=/run/current-system/overlays
<lovesegfault> and /run/current-system/nixpkgs looks fine
<tilpner> Huh
<bqv[m]> Desetude: the type of that set value is not a lambda, i don't think it would allow being set to a lambda
<tilpner> lovesegfault: What about the overlays?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4f69f2c9afc (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<lovesegfault> tilpner: looks fine for me as well? it's just this folder, one moment
<bennofs[m]> lovesegfault: can you check if these commands fail the same way: https://github.com/bennofs/nix-index/issues/106#issuecomment-593485098
<tilpner> lovesegfault: See lorri.nix
* lovesegfault facepalms
<lovesegfault> of course
jojojojojo has quit [Remote host closed the connection]
<lovesegfault> I got rid of that already, just forgot to deploy
* lovesegfault deploys
jojojojojo has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<etu> ma27[m]: Yeah, now you've seen some of the work I wanted to do :D
<Desetude> bqv[m]: https://gist.github.com/Desetude/cdd0c54220c935c5aa2663775f1d7a62 is basically what I have and it seems to be working correctly. The home.packages are installed and all my neovim, termite etc. configs are set
<lovesegfault> aaaand now it works
o1lo01ol1o has joined #nixos
<lovesegfault> thanks a lot tilpner, bennofs[m]; sorry for the false alarm :)
<{^_^}> [nixpkgs] @scaredmushroom opened pull request #82800 → tor-browser-bundle-bin: 9.0.5 -> 9.0.6 [backport] → https://git.io/JvX8w
<ma27[m]> etu: nice, I really like it!
<Desetude> bqv[m]: and from the definition of users https://github.com/rycee/home-manager/blob/6e4b9af0803ac00e94398768c5d19d2e423b0be9/nixos/default.nix#L66, idk why that works
<etu> ma27[m]: Glad to hear that :)
<{^_^}> [nixpkgs] @Izorkin opened pull request #82801 → nixos/fail2ban: disable work fail2ban without firewall → https://git.io/JvX81
<{^_^}> [nixpkgs] @roberth opened pull request #82802 → lib/modules: Test the ability for config to depend on options for compatibility → https://git.io/JvX8S
Havvy has quit [Read error: Connection reset by peer]
dieraca has quit [Ping timeout: 250 seconds]
Havvy has joined #nixos
reactormonk has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
mojjo has quit [Remote host closed the connection]
* cole-h wonders why aerc, a terminal mail client, pulls in emacs...
Ariakenom has joined #nixos
<tilpner> cole-h: # (optional) to byte compile emacs code, also needed for tests
<tilpner> from notmuch/default.nix
<tilpner> Also ruby, doxygen and perl
<cole-h> Why does it require notmuch? I can run it perfectly fine without it...
FRidh2 has quit [Quit: Konversation terminated!]
<cole-h> Time for another overlay then
<cole-h> tilpner++
<{^_^}> tilpner's karma got increased to 68
<niso> cole-h: just in case: you might want to checkout this: https://github.com/pazz/alot
<evanjs> Any first things to check when I see /...-stdenv-linux is not allowed to refer to the following paths /nix/store/08a1ii9zz438985fkcfpv8bxb9fxa652-linux-headers-4.4.10 ?
<{^_^}> [nixpkgs] @Tomahna opened pull request #82803 → mopidy-iris: 3.45.1 -> 3.46.0 → https://git.io/JvX4b
<evanjs> note that I _am_ trying to cross compile something from the resulting package set
<evanjs> using pkgsGlibc2_24.pkgsCross.armv7l-hf-multiplatform.callPackage
reallymemorable has joined #nixos
Desetude has quit [Quit: WeeChat 2.7.1]
Desetude has joined #nixos
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
butterthebuddha has quit [Ping timeout: 256 seconds]
malSet has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @talkara opened pull request #82804 → build-support/fetchgitlab: enable to pass private_token as an option → https://git.io/JvXBL
malSet has joined #nixos
cizra has quit [Ping timeout: 246 seconds]
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
reactormonk has quit [Ping timeout: 264 seconds]
malSet has joined #nixos
malSet has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b4897080772 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<ivegotasthma> will lorri replace nix-shell?
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<ivegotasthma> or can both of them be somehow integrated into one tool
zeta_0 has joined #nixos
knupfer has quit [Remote host closed the connection]
Ariakenom has quit [Ping timeout: 256 seconds]
<tilpner> I still use nix-shell regularly for one-off tools, lorri can't do that
Ariakenom has joined #nixos
<cole-h> ^
<cole-h> lorri is great for projects, but nix-shell is better for oneshots
<tilpner> Also #!/usr/bin/env nix-shell
<zeta_0> hello everyone, i just started contributing to darcs and xmonad, and i am trying to setup darcs and xmonad each in a nix-shell to develop them, but i am having some problems setting them up. do you think you could help me out for a couple of minutes? https://github.com/xmonad/xmonad-testing http://darcs.net/Development/GettingStarted
<makefu> tilpner: the problem i have with nix-shell as shebang is that it is just so slow on my machine
cizra has joined #nixos
maddo has quit [Remote host closed the connection]
<tilpner> makefu: It is slow, but the self-containedness makes up for it, at least for scripts that you run less than once a day
<bqv[m]> ,locate adb
<{^_^}> Found in packages: axis2, oh-my-zsh, metasploit, bash-completion, python27Packages.pwntools, python27Packages.adb-homeassistant, python37Packages.adb-homeassistant
<tilpner> androidsdk_9_0
<bqv[m]> in pkgs?
<clever> bqv[m]: one sec
<bqv[m]> oh, it's a license thing
<bqv[m]> ok
bhipple has joined #nixos
<tilpner> > (import <nixpkgs> { config.android_sdk.accept_license = true; }).androidsdk_9_0
<clever> bqv[m]: pkgs.androidenv.platformTools
<{^_^}> "<derivation /nix/store/w31xf00n0ka2f2vzrvx484i7yf6sjhxy-androidsdk.drv>"
<bqv[m]> gotcha. ty
<clever> platformTools skips directly to adb, and skips most of the other developer tools
<bqv[m]> ahh, excellent
<makefu> tilpner: true :)
maddo has joined #nixos
wildtrees has quit [Remote host closed the connection]
lord| has quit [Read error: Connection reset by peer]
wildtrees has joined #nixos
lord| has joined #nixos
kleisli has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #82806 → tdesktop: 1.9.14 -> 1.9.21 → https://git.io/JvXBr
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos
Ariakenom has quit [Quit: WeeChat 2.7]
cmacrae has joined #nixos
<{^_^}> [nixpkgs] @mehlon opened pull request #82807 → tor-browser-bundle-bin: enable multimedia support by default → https://git.io/JvXBD
LysergicDreams has quit [Ping timeout: 246 seconds]
silver_hook has quit [Ping timeout: 255 seconds]
mexisme_ has joined #nixos
erictapen has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
silver_hook has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/bf7c0f0461e (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
o1lo01ol1o has joined #nixos
LysergicDreams has joined #nixos
<evanjs> yeah, looks like my problem might've been allowedRequisites (e.g. https://github.com/NixOS/nixpkgs/issues/64980#issuecomment-513186769)
<evanjs> forcing it to continue with `stdenv = super.stdenv.override { allowedRequisites = null; };` :D
<cole-h> evanjs++: I'm unable to help, but thanks for keeping us updated on how you're getting it to work.
<{^_^}> evanjs's karma got increased to 10
helozjisky has quit [Quit: Leaving]
<cole-h> Might prove helpful to somebody else if they grep the logs
<gchristensen> not a real nice fix, usually that sort of thing is a good safety
<{^_^}> [nixpkgs] @veprbl merged pull request #82712 → nuweb: 1.58 -> 1.60, fix build → https://git.io/JvPTr
<{^_^}> [nixpkgs] @veprbl pushed 4 commits to master: https://git.io/JvXRT
ashkitten has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @veprbl merged pull request #82676 → [20.03] texlive: 2019 -> 2019-final → https://git.io/JviF7
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<evanjs> gchristensen: oh trust me I know :D I just need a stupid build of an app for legacy software :P once I get it work (if I do) I'll see if I can actually fix things... maybe :P
LysergicDreams has quit [Ping timeout: 250 seconds]
<evanjs> I just don't want to set up a cross env myself again x_x
<evanjs> cole-h: yeah I've been on the other side enough times :D answers marked as solved with the author stating "Okay got it bye" without any explanations :P
LysergicDreams has joined #nixos
<cole-h> It's even happened in here a few times... >->
mexisme_ has quit [Ping timeout: 256 seconds]
endformationage has joined #nixos
ashkitten has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed 251 commits to staging-20.03: https://git.io/JvXRY
ashkitte1 has joined #nixos
<drakonis> woah nelly
LysergicDreams has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @veprbl pushed 16 commits to staging-19.09: https://git.io/JvXRO
ashkitten has quit [Ping timeout: 246 seconds]
<cole-h> Is it possible to pretty-fy the `toJSON` output from Nix?
<NobbZ[m]> Depends on what you consider pretty, but `jq` usually does a good job
o1lo01ol1o has joined #nixos
<cole-h> Pretty = structured instead of a single like of JSON barf :P
<cole-h> But that still requires calling out to jq. I was hoping there'd be a lib function or something
symphorien has quit [Quit: WeeChat 2.7.1]
LysergicDreams has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nlewo opened pull request #82808 → nixos/alertmanager: start after the network-online target → https://git.io/JvXR4
o1lo01ol1o has joined #nixos
dieraca has joined #nixos
<evanjs> cole-h: I mean you _can_ just run commands from within nix :P
<cole-h> You're not wrong :^)
LysergicDreams has quit [Ping timeout: 250 seconds]
<tilpner> There is lib.generators.toPretty
o1lo01ol1o has quit [Ping timeout: 246 seconds]
cosimone has quit [Quit: Quit.]
linarcx has quit [Ping timeout: 250 seconds]
<tilpner> Not valid JSON, but... pretty?
o1lo01ol1o has joined #nixos
symphorien has joined #nixos
<cole-h> :P Guess I'll use `jq` then
LysergicDreams has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c55a47832d6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @symphorien opened pull request #82809 → python3Packages.matrix-nio: 0.8.0 -> 0.9.0 → https://git.io/JvXRi
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/JvXRP
Rusty1 has quit [Remote host closed the connection]
<ElDelfin> I'm having issues with getting a compositor to work right. It's on an Athlon x64 4400+ chip, and if I use a OpenGL one, I always get these triangles flashing around on the screen. Suggestions?
ftzm has quit [Ping timeout: 264 seconds]
reallymemorable has quit [Quit: reallymemorable]
relaxmax has joined #nixos
cmacrae has left #nixos ["ERC (IRC client for Emacs 26.3)"]
codygman has quit [Ping timeout: 246 seconds]
chloekek has quit [Ping timeout: 256 seconds]
Desetude has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
Desetude has joined #nixos
reallymemorable has joined #nixos
<Desetude> Hi all. I have a working configuration which very roughly like: https://gist.github.com/Desetude/cdd0c54220c935c5aa2663775f1d7a62. However I'm confused how `home-manager.users.me = import ./home.nix` works as surely that is setting home-manager.users.me to a lambda rather than what the lambda evaluates to?
<Desetude> (repost from a few hours ago)
gustavderdrache has quit [Quit: Leaving.]
<jackdk> perhaps home-manager calls those functions?
codygman has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
<Desetude> although I'm not at all fluent with the nix lang
erictapen has joined #nixos
<Desetude> jackdk: Yeah I guess you have to be right
<Desetude> I just wasn't sure if it was some quirk with nix
<{^_^}> [nixpkgs] @timokau opened pull request #82810 → vimPlugins.vim-pandoc: fix startup → https://git.io/JvX0w
<{^_^}> [nixpkgs] @Ma27 merged pull request #80243 → rust-cbindgen: upgrade cargo fetcher and cargoSha256 → https://git.io/Jv8tl
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JvX06
<icey__> I need just a little help with packaging a piece of software
philr has joined #nixos
<icey__> I've got it to build correctly, but during the install phase it's trying to install into /usr/local
obey has left #nixos ["Leaving"]
<icey__> clearly I need to patch the makefile, but not quite sure what builtin tool is right here
<bqv[m]> hey, anyone got any derivations for this https://github.com/ubports/ubports-installer
<cole-h> icey__: substituteInPlace, maybe
<bqv[m]> i can use the appimage otherwise, i'm not about to spend a week honing a perfect package
<clever> icey__: you can either use sed, or just put a patch into the patches list
<icey__> this line is the culprit i think
<cole-h> clever: Why not substituteInPlace?
<icey__> sure, but what folder gets put into the ./result?
<clever> cole-h: that usually needs a @token@ to replace, and i dont think it can replace strings like /usr/local
<icey__> basically how do I define the build output, I think that's the only question i have ope
<icey__> cool thanks
<icey__> that should work
<cole-h> `substituteInPlace Makefile --replace '/usr/local' '$out'` I think
<cole-h> Actually I think it sould be "$out" so it gets expanded
<icey__> cool, trying
<bqv[m]> what does substituteInPlace use, under the hood?
<bqv[m]> wouldn't it just be sed anyway
radvendii has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @thoughtpolice pushed 3 commits to master: https://git.io/JvX0Q
<clever> bqv[m]: it uses raw bash
<icey__> oh and how can I get into build temp dir when it fails?
<{^_^}> [nixpkgs] @zowoq opened pull request #82811 → conmon: 2.0.12 -> 2.0.13 → https://git.io/JvX07
<{^_^}> [nixpkgs] @zowoq opened pull request #82812 → fuse-overlayfs: 0.7.7 -> 0.7.8 → https://git.io/JvX05
<cole-h> icey__: `--keep-failed` flag
<clever> icey__: --keep-failed, or nix will delete it on you
GiGa has joined #nixos
GiGa has joined #nixos
<bqv[m]> i see
<icey__> cool, thx
justanotheruser has quit [Ping timeout: 246 seconds]
<Desetude> I have changed /etc/nixos to be owned by root:nix, and set the permissions of all the files to 664 and added my user to the 'nix' group so that I can edit the configs without using sudo. Is this a bad idea and is there a better way to do it?
<GiGa> Hi folks. I've got an old Sound Blaster SB0490 USB sound card. Does anyone know how I can make PulseAudio see all of its connections individually, rather than just "mic in"?
<bqv[m]> out of curiosity what's the benefit to it being raw bash over just sed, since sed's in scope anyway?
<clever> bqv[m]: not sure why it was done that way
<MichaelRaskin> I would expect escaping and process overhead considerations
<{^_^}> [nixpkgs] @timokau merged pull request #82810 → vimPlugins.vim-pandoc: fix startup → https://git.io/JvX0w
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/JvX0A
<icey__> ok, I think i've nearly got it
<icey__> last thing it's trying to set permissions and failing
<icey__> do I have to tell it not to do that?
<{^_^}> [nixpkgs] @Ma27 pushed to master « peep: init at 0.1.4 »: https://git.io/JvX0x
<clever> icey__: what permissions is it trying to set?
captjakk has quit [Remote host closed the connection]
<icey__> this line fails
<icey__> the previous one was fine
captjakk has joined #nixos
<clever> icey__: yeah, nothing in $out can be setuid root
<clever> icey__: youll need to patch it to just use plain 755, and then security.wrappers to make it setuid later
dieraca has quit [Quit: WeeChat 2.6]
hmpffff has quit [Quit: nchrrrr…]
captjakk has quit [Ping timeout: 256 seconds]
justanotheruser has joined #nixos
isd has joined #nixos
gustavderdrache has joined #nixos
<cole-h> How would I use a package from nixpkgs even after it's been overlayed?
isd has left #nixos ["User left"]
captjakk has joined #nixos
work_ has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
GiGa has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jonringer opened pull request #82813 → [staging] python: add pythonNamespacesHook → https://git.io/JvXEF
<{^_^}> [nixpkgs] @tobim opened pull request #82814 → weechat-notify-send: init at 0.8 → https://git.io/JvXEb
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<GrimSleepless> Hey guys! Does anyone played with nvidia in the past and successfully configured it with optimus_prime in offload_mode on a laptop?
<GrimSleepless> Has anyone played****
<{^_^}> [nixpkgs] @veprbl pushed to release-20.03 « kicad: don't build versions with 3d on Hydra »: https://git.io/JvXEN
<GrimSleepless> I have went through the wiki and the configuration in there doesn't seem to work :(
<{^_^}> [nixpkgs] @jonringer pushed commit from @symphorien to master « python3Packages.matrix-nio: 0.8.0 -> 0.9.0 »: https://git.io/JvXEx
<{^_^}> [nixpkgs] @jonringer merged pull request #82809 → python3Packages.matrix-nio: 0.8.0 -> 0.9.0 → https://git.io/JvXRi
__monty__ has quit [Quit: leaving]
<coderobe> how can i install a specific package from an old nixpkgs channel?
<coderobe> (in my nixos configuration)
<coderobe> say, because a newer version of my bootloader happens to ... render my system unbootable
fendor has quit [Read error: Connection reset by peer]
<NobbZ[m]> `oldPkgs = import builtins.fetchTarball …` or `pkgs.fetchFromGitHub` with appropriate commit data.
<NobbZ[m]> Though I'm not sure if its that easy to replace components like the bootloader this easily…
<coderobe> it's just the grub pkg, it's gonna be fine
<cole-h> (It specifies unstable, but you can adapt it for whatever version you need)
relaxmax has quit [Ping timeout: 246 seconds]
erasmas has quit [Quit: leaving]
<coderobe> ah yeah, that looks a bit nicer than pinning it from github
<coderobe> thanks!
<NobbZ[m]> I can't find an option to replace `grub`s package… replacing the grub package had to happen through an overlay or override
<cole-h> Right. You would still need an overlay like `grub_old = callPackage <oldnixpkgs/a/s/d/f/grub> {}` or something
<cole-h> (I think)
<bqv[m]> ,locate qemu-user-static
<{^_^}> Couldn't find in any packages
captjakk has quit [Remote host closed the connection]
<notgne2> `nixpkgs.overlays = [ (self: super: { grub = (import <oldpkgs> {}).grub; }) ];` something like this maybe
<coderobe> NobbZ[m]: overridePkgs does the job
sigmundv_ has joined #nixos
<coderobe> err, nixpkgs.config.packageOverrides
<coderobe> :b
<cole-h> :D
Shouou has joined #nixos
gila has quit [Ping timeout: 264 seconds]
captjakk has joined #nixos
<{^_^}> [nixpkgs] @ggreif closed pull request #82785 → llvmPackages_10: rc3 -> rc4 → https://git.io/JvXGa
leomar has quit [Quit: leomar]
alexherbo2 has quit [Ping timeout: 250 seconds]
<GrimSleepless> As I can see nobody had the joy to tinker with Nvidia :P
jmorag has joined #nixos
energy has joined #nixos
jmorag has quit [Remote host closed the connection]
<tilpner> GrimSleepless: I got that to work recently (but will sleep soon)
<GrimSleepless> tilpner: oh really!
<GrimSleepless> tilpner: could you share your configurations so I can see what is wrong on my side :)
<GrimSleepless> Once I figure it out, I will add my findings to the wiki! :)
<tilpner> Here's the ugly module I accumulated over multiple years of trying to get optimus to behave: https://tx0.co/9z5
<tilpner> Only half that is probably still necessary, and the vaapi stuff is unrelated too
<tilpner> But since there's nothing less fun than debugging GPU voodoo, I never reduced it to a minimal-necessary set of options
<GrimSleepless> tilpner: Cool! Thank you so mcuh!
<tilpner> Check the PCI ids, yours might differ
<GrimSleepless> tilpner: Nope they are the same as mine!
maddo has quit [Quit: See ya]
aveltras has quit [Quit: Connection closed for inactivity]
plutes has joined #nixos
plutes has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @veprbl opened pull request #82815 → gnuplot_qt: fix on darwin → https://git.io/JvXzz
energy has quit [K-Lined]
<Ashy> GrimSleepless: i just did exactly this a few days ago on a dell precision 3520
plutes has joined #nixos
<GrimSleepless> Ashy: How did it go for you? :)
<Ashy> it's working well now
<{^_^}> [nixpkgs] @veprbl merged pull request #81720 → toggldesktop: take mkDerivation as input → https://git.io/JvaNK
<{^_^}> [nixpkgs] @veprbl pushed commit from @int-index to master « toggldesktop: use mkDerivation from Qt (#81720) »: https://git.io/JvXza
<Ashy> GrimSleepless: i followed this and it worked as described: https://nixos.wiki/wiki/Nvidia#Nvidia_PRIME
<GrimSleepless> Strange... it didn't work on my XPS 15 9560
<Ashy> it feels quite ghetto in general after the past few years of only using intel and amd gpus but this is the laptop my new job gave me
<Ashy> GrimSleepless: you read the notes about changing the pci numbers as output by lspci?
<GrimSleepless> Ashy: Yes, I did
<Ashy> oh the other thing, i had to explicitly use the stable linux kernel not latest
<GrimSleepless> Otherwise it doesn't work? that might be the reason why it failed... but offload mode should work on newer kernel
<Ashy> yeah otherwise the nvidia driver errors out during xorg init and it was just loading on intel for me
<Ashy> i was seeing this error in `journalctl -u display-manager`: (EE) NVIDIA(G0): GPU screens are not yet supported by the NVIDIA driver
<GrimSleepless> I am getting the exact opposite haha... the nvidia loads up no problem but the intel doesn't seem to take its place
o1lo01ol1o has quit [Ping timeout: 250 seconds]
<Ashy> until i rolled back to linux stable
<bqv[m]> hey, can i use a snap on nixos?
<drakonis> yes?
ryantm has quit [Remote host closed the connection]
<bqv[m]> wait, are snaps self executable
<Raito_Bezarius> is it possible to disable all checks on a buildPythonApplication?
<Raito_Bezarius> I tried .override = { doCheck = false; }
<bqv[m]> do they just work?
<bqv[m]> or is there tooling
<Raito_Bezarius> it didn't work
<GrimSleepless> thank you Ashy !
<drakonis> its like flatpaks
<Raito_Bezarius> it complained about $src
gila has joined #nixos
<bqv[m]> didn't know you could use flatpaks either, i've only played with appimages
<Ashy> GrimSleepless: are you seeing the same error in your logs?
<GrimSleepless> Ashy: Nope, I am seeing Provider not found
<GrimSleepless> Mar 17 19:10:29 tuxbox-xps15 display-manager[7183]: Could not find provider with name NVIDIA-0
<bqv[m]> are you sure it's possible?
<{^_^}> #30336 (by alesguzik, 2 years ago, open): Flatpak and snap support
<drakonis> hm, it seems snaps dont work very well
<drakonis> flatpaks run extremely well though
<gchristensen> do you have a specific snap you want to use?
<gchristensen> when I went to the Snap developer summit last year, there was a bit of chatter about using Nix to build snaps
<Ashy> GrimSleepless: oh i also had to move to nixos-unstable (from 19.09) otherwise i was seeing nix errors about hardware.nvidia.prime... not being defined
<drakonis> oh? that's interesting.
<drakonis> which party was engaging on that?
<{^_^}> [nixpkgs] @Mic92 opened pull request #82816 → kubeval: don't build against schema by default → https://git.io/JvXz1
<bqv[m]> gchristensen: the ubports installer, actually
gila has quit [Ping timeout: 256 seconds]
<bqv[m]> there is an appimage, but it's not working for me, so i thought i'd try the snap
<bqv[m]> (not working at runtime i mean, it does work and start, but something is failing and i don't know if it's to do with packaging)
<gchristensen> the installer is a snap? ... weird
<GrimSleepless> Ashy: I need to figure out how to swtich to unstable now XD
<Ashy> `nix-channel --add https://nixos.org/channels/nixos-unstable nixos && nix-channel --update && nixos-rebuild switch` (from memory and untested)
<Ashy> and this is nixos so if it ruins everything you can always choose the previous generation in the bootloader menu :P
<GrimSleepless> Ashy: yup :D
captjakk has quit [Remote host closed the connection]
<Ashy> bandwidth warning btw, this will likely download new versions of almost everything on your system
<MichaelRaskin> Just everything
<MichaelRaskin> stdenv differs, so…
aw has quit [Quit: Quitting.]
<Ashy> yeap, storage warning too, /nix/store *will* grow
GodZalo has joined #nixos
<Ashy> this is my absolute favourite thing about nixos btw, the complete lack of fear when installing and removing giant package sets like kde and gnome
<pikajude> hi, i'm getting `error: experimental Nix feature 'ca-references' is disabled` when trying to build stuff on my remote system
<pikajude> what does it mean
<Ashy> on say ubuntu i would never trust apt to be able to successfully remove a package set like that
<Ashy> although reliability may have improved in the past few years
<mlatus_> What will happen if I 'rm -rf /etc' in postBootCommand? Will /etc be recreated? I have already enabled the immutable user
aw has joined #nixos
<GrimSleepless> Ashy: I have been running NixOs for the last month... love it ... you need to nix-collect-garbage once in a while and nix-store --optimise as well
spacefrogg has joined #nixos
<pikajude> oh, it's a bug in nix
<Ashy> GrimSleepless: yeah i have both of those auto enabled in my config somewhere
<GodZalo> Hi, I'm building an image for a raspberry pi 3, but during building I'm getting this error, command: `nix build -I system.nix -f ./system.nix config.system.build.sdImage -o sdImage` error in question:`builder for '/nix/store/b48939b0nn45v44nz8slc7xxkkimbrpq-fc-cache.drv' failed with exit code 126; last 1 log lines:
<GodZalo> /nix/store/3dm2q0vvm1ii93g874g68v1nyn0sghpp-stdenv-linux/setup: line 1282: /nix/store/2hrwiwdv098vpg55v639m74y5qwi9y78-fontconfig-2.10.2-aarch64-unknown-linux-gnu-bin/bin/fc-cache: cannot execute binary file: Exec format error`
<cole-h> pikajude: Yep, see https://github.com/NixOS/nix/issues/3422
<GodZalo> can someone guide/instruct me?
<{^_^}> nix#3422 (by lovesegfault, 4 hours ago, open): ca-references should not be experimental
<Ashy> system.autoUpgrade.enable = true; and nix.gc.automatic = true;
<Ashy> GrimSleepless: ^^^
<{^_^}> [nixpkgs] @pmyjavec closed pull request #80686 → aws-mfa: init at v0.0.12 → https://git.io/JvRnO
<Ashy> GrimSleepless: i feel like what git has done for version control, nix and nixos have done for package and distro management