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
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « solfege: fix run »: https://git.io/Jv97l
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3be8b459e0b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
xelxebar has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #83453 → buildah: 1.14.3 -> 1.14.4 → https://git.io/Jv9Hv
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv970
nuncanada2 has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
abathur has joined #nixos
teto has quit [Ping timeout: 256 seconds]
<Unode> /join #i3
<Unode> :S
<Unode> oops :')
nuncanada has quit [Ping timeout: 272 seconds]
<bqv[m]> i wonder what WM you use
nuncanada2 has quit [Ping timeout: 272 seconds]
<AmandaC> Probably Metacity
<{^_^}> [nixpkgs] @arcnmx opened pull request #83457 → mautrix-whatsapp: 2020-02-09 -> 2020-03-26 → https://git.io/Jv97w
teto has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #83437 → mpv: fix cocoa backend → https://git.io/Jv9rL
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv97M
erictapen has quit [Ping timeout: 240 seconds]
zarel has joined #nixos
xelxebar has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jv977
laduke has quit [Ping timeout: 256 seconds]
laduke has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #83440 → hugo: 0.68.1 -> 0.68.3 → https://git.io/Jv9r5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv97F
zarel_ has joined #nixos
zarel has quit [Ping timeout: 265 seconds]
lsix has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/Jv95L
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 256 seconds]
bhipple has quit [Ping timeout: 256 seconds]
bhipple has joined #nixos
abathur has quit [Ping timeout: 240 seconds]
growpotkin has joined #nixos
bhipple_ has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c2db74f11ab (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @bhipple merged pull request #83342 → python27Packages.graph-tool: 2.29 -> 2.30 → https://git.io/JvSWi
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jv95u
cetjs2 has quit [Quit: До свидания]
teto has quit [Ping timeout: 256 seconds]
cetjs2 has joined #nixos
benedikt93 has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/Jv952
<{^_^}> [nixpkgs] @bhipple merged pull request #83444 → clipmenu: 5.6.0 -> 6.0.1 → https://git.io/Jv9KD
benedikt93 has joined #nixos
cransom has quit [Ping timeout: 265 seconds]
WilliamHamilton has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @samueldr opened pull request #83459 → Revert "mypy: 0.761 -> 0.770" → https://git.io/Jv95o
mla has quit [Ping timeout: 265 seconds]
<Ankhers> I'm not sure if this is specific to NixOS or not, but I just used GCC to compile an application, and when I try to run it I get and error saying "symbol lookup error: /nix/store/...-gblic-2.27/lib/libpthread.so.0: undefined symbol: __libc_vfork, version GLIBC_PRIVATE". Does anyone know anything about this?
<Ankhers> I also tried with clang and it has the same issue.
mniip_ has joined #nixos
johnny5 has joined #nixos
<{^_^}> [nixpkgs] @samueldr merged pull request #83459 → Revert "mypy: 0.761 -> 0.770" → https://git.io/Jv95o
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/Jv95H
mbrgm_ has joined #nixos
<Ankhers> I had it working at one point, but then I made a small change to the .so I am linking with and then it stopped working.
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
johnnyfive has quit [Ping timeout: 240 seconds]
eeva has quit [Remote host closed the connection]
eeva has joined #nixos
raoul has quit [Quit: Ping timeout (120 seconds)]
raoul has joined #nixos
thc202 has quit [Ping timeout: 256 seconds]
gustavderdrache has quit [Quit: Leaving.]
Phlogistique has quit [Ping timeout: 265 seconds]
mniip has quit [Ping timeout: 619 seconds]
cransom has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #82515 → tools/security/b3sum: fix cargo hash → https://git.io/JviL2
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.03: https://git.io/Jv9dU
__monty__ has quit [Quit: leaving]
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
m0rphism has quit [Ping timeout: 250 seconds]
lunik1 has quit [Read error: Connection reset by peer]
lunik1 has joined #nixos
johnnyfive has joined #nixos
Phlogistique has joined #nixos
johnny5 has quit [Ping timeout: 256 seconds]
mexisme has quit [Ping timeout: 240 seconds]
Wharncliffe has quit [Ping timeout: 256 seconds]
andreas31 has quit [Remote host closed the connection]
mexisme has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1aef2037a14 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
andymandias has joined #nixos
andymandias has quit [Client Quit]
<{^_^}> [nixpkgs] @jerith666 opened pull request #83460 → timetrap: 1.15.1 -> 1.15.2 → https://git.io/Jv9d0
ottidmes has quit [Ping timeout: 265 seconds]
nuncanada has joined #nixos
abathur has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jv9dy
nuncanada2 has joined #nixos
bdju has quit [Ping timeout: 260 seconds]
nuncanada3 has joined #nixos
nuncanada has quit [Ping timeout: 272 seconds]
raingloom has joined #nixos
<raingloom> sorry to repeat this noob question again, but what the hell does this error mean?
<raingloom> error: cannot read '/nix/store/flmf4v59kv8r8r2ma6sqmi6rhj63dj6d-from-toml', since path '/nix/store/3i2558a7r4g8py1xwgh0d9ym1jbnncw5-from-toml.drv' is not valid, at /nix/store/arq0lahkq7i4w89n39m58fk54sv722zw-nixpkgs-20.09pre217463.053ad4e0db7/nixpkgs/pkgs/development/tools/poetry2nix/poetry2nix/lib.nix:39:9
<raingloom> or more specifically, how do i fix this?
zeta_0 has joined #nixos
nuncanada2 has quit [Ping timeout: 272 seconds]
justanotheruser has quit [Ping timeout: 256 seconds]
bdju has joined #nixos
nuncanada2 has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<bqv[m]> haha, poetry2nix
nuncanada3 has quit [Ping timeout: 272 seconds]
<bqv[m]> raingloom: im assuming you're not editing/maintaining that package, in which case if you're seeing that, it's probably broken. alternatively, you're just not providing it a valid toml file? hard to say
<bqv[m]> you'd probably get a better response if you post more than that contextless error message
<infinisil> raingloom: What command are you using to get that error?
<raingloom> nix-env -qa sqldeveloper
<raingloom> this from-toml error has been there for months
Parra has joined #nixos
<raingloom> host distro is guix btw. idk if that matters.
benedikt93 has quit [Quit: No Ping reply in 180 seconds.]
Parra has quit [Quit: See you Space Cowboy...]
<infinisil> raingloom: What's `nix-env --version`?
<raingloom> 2.0.4
benedikt93 has joined #nixos
<infinisil> Ah, updating Nix should fix it
nuncanada has joined #nixos
<infinisil> Explanation: poetry2nix uses builtins.fromTOML if it's available, but if not, it uses IFD (evaluating code from a built derivation), as seen here: https://github.com/NixOS/nixpkgs/blob/3320a06049fc259e87a2bd98f4cd42f15f746b96/pkgs/development/tools/poetry2nix/poetry2nix/lib.nix#L36-L39
<infinisil> builtins.fromTOML was only introduced in Nix version 2.1
<infinisil> The problem with the IFD fallback is that it doesn't work in read-only mode, in which the /nix/store can't be written to, which IFD requires)
<infinisil> And `nix-env -q` uses read-only mode
nuncanada2 has quit [Ping timeout: 272 seconds]
justanotheruser has joined #nixos
<raingloom> ah. i see. is updating nix in my user profile enough?
<infinisil> On NixOS you need to use NixOS to update it
<raingloom> i guess that means a guix system reconfigure.
<raingloom> thanks! i hope this works...
bvdw has quit [Ping timeout: 265 seconds]
<shor> How can I ensure a nixOS ISO is built with ALL the closures needed to install without internet. such as including all of stdenv's build dependencies
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
iqubic has joined #nixos
<pjt_014> have you had a problem with that before? last time I built my own Iso I didn't have any problems with an offline installation
<pjt_014> most of my problems come during building it tbh
<shor> no problems building, how did you get it to install offline?
<shor> someone earlier helped with getting '<nixpkgs/nixos>' system's entire set of depends into the ISO, but requires a modified install script to ensure it doesn't attempt to connect offline
<shor> but it means I have to build an iso with an unchanging configuration.nix
<pjt_014> I ran nixos-install and it didn't need/try to fetch anything,
<shor> might I have a copy of your iso.nix for building it?
<shor> this is what I have for my iso factory
<pjt_014> I made it specially for an old i686 machine, I'll have to dig up the pyhsical CD I burned it to (bios didn't support usb booting)
<pjt_014> disk was on top of the tower, that was easy
<{^_^}> [mobile-nixos] @samueldr opened pull request #109 → Add `bin/menuconfig` to configure kernels → https://git.io/Jv9N9
<pjt_014> so I spun up the cd itself, and unfortunately cfg.nix is not included in it. I do have nix-store.squashfs, which might have useful things inside though
<pjt_014> also shor I'm looking at your paste and It's not like sonething I've seen before. Is it based on anything?
<pjt_014> I mean I can see some of it comes from the wiki page
<shor> Someone here named clever weaved it together for me, it causes a running system to build the closure that would normally be installed into an actual system, then its "system" attribute derivation lists the depends and puts them in the store.
<shor> He included a script in environment.systemPackages to install from the closure rather than running a real install from the image
<shor> but it requires me to know the entire desired config of the target machine in advance
<shor> thus the "stub.nix", which is the configuration.nix for the specific machine and only that target machine. not useful for a modular iso, but amazing as its the closest I've gotten to an offline install
<shor> the documentation on the wiki itself says it is impossible to install offline, but anecdotal evidence would suggest otherwise
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
<pjt_014> what? It doesn't really say that
<pjt_014> "The installation will definitely need a working internet connection. It is possible to install without one, but the available set of packages is limited.
<pjt_014> "
h0m1 has quit [Ping timeout: 256 seconds]
<shor> it says that, and another page then contradicts it
<shor> I'll try to find it
<simpson> shor: What you're planning to do is equivalent to knowing what configuration you'll eventually deploy, sort of, since the ISO builder needs to know everything that you might want to enable.
<shor> "First of all, NixOS cannot be installed without an internet connection."
<simpson> Presumably this is a system that, even after install, won't have Internet? Then indeed you need to plan for that.
<shor> simpson: yes, and this is what I want to avoid
<pjt_014> the other one *I* found is this one: https://nixos.wiki/wiki/Creating_a_NixOS_live_CD which also 'says no need'
<pjt_014> maybe it's only talking about the custom kind?
<shor> I saw that one too
<shor> which tells me official documentation isn't quite caught up everywhere
h0m1 has joined #nixos
<colemickens> That page is a bit misleading.
wavirc22 has joined #nixos
<pjt_014> lemme see If I can find the one other page I was thinking of--It's not on the wiki
<simpson> shor: Like, *the* reason why you wouldn't be able to install some particular package without Internet is because it's not already on the ISO. So this really *is* equivalent to knowing your configuration ahead of time.
<colemickens> I think it means you "could" do that, by employing the method described (include a script that refernces the eventual installed-system-closure thereby including it into the iso's store)
<shor> I'd like a modular solution to offline installs where I don't need to build a new ISO for every hardware config
mirux has quit [Quit: WeeChat 1.9.1]
dongcarl has joined #nixos
<shor> the issue is still that if I have a bare bones cfg.nix, and all the build depends for that in the ISO, it *still* wants to pull depends from tarballs.nixos.org, or from non nix-cache locations
<shor> even with --option substituters ""
<pjt_014> man I'd love that--I still don't have a fully working armv6l :\
sigmundv_ has quit [Ping timeout: 258 seconds]
<pjt_014> also: found it
<shor> its not even that I need to prepare for missing packages, its that even the base system apparently isn't fully available on the ISO
<pjt_014> this one notably deviates from what the wiki gives
<simpson> There isn't "the base system", I think; there's *each* base system, generated from the configuration that you choose.
buckley3104 has quit [Quit: The Lounge - https://thelounge.chat]
<shor> then here lets assume the minimal system without specifying any additional packages, any special filesystem support, no bootloaders, just the default config generated by nixos-generate-config
buckley310 has joined #nixos
nuncanada has quit [Quit: Leaving]
<shor> this default then cannot be installed without an internet connection from the ISO at current time. It's not the extra packages I'm worried about, its that I can't change the disk that the bootloader would install to, and cannot always know the UUID of the disk the root filesystem would be on (or the filesystem configuration that machine might have to begin with)
<shor> all of this would have to also be known, which is less modular than I would like to be prepared for. Even this level of barebones nixos is close enough to "one size fits all" for my satisfaction, as it can at least turn on and be configured in post
<{^_^}> [nixpkgs] @petabyteboy opened pull request #83461 → xonotic: split glx, sdl, dedicated, data → https://git.io/Jv9AO
<pjt_014> can you not factor out that information to other files which you would then import?
<simpson> pjt_014: It sounds like these machines won't have Internet, even after installation.
<shor> I could, but the idea is that I don't want to need that information in the first place.
<shor> This is akin to having a basic debian install medium. I can walk around with a usb stick or cd that doesn't need internet to get a machine booting into debian
<shor> But to have nixos rather than debian would be like carrying around a nuclear warhead over a 9mm pistol. I'd rather have nixos (;
<simpson> Sure, but Nix ain't Apt.
<simpson> nixpkgs/nixos/modules/profiles/installation-device.nix suggests that system.extraDependencies can be used to bring extra things to the CD "to speed up installation a little bit".
<shor> but what would that large list of dependencies be?
<pjt_014> and where would you use that?
<shor> Anywhere I would install nixos, I don't find it unreasonable to attempt an offline installation of an OS
<simpson> nixpkgs/nixos/modules/profiles/clone-config.nix seems to more directly tackle this desire, talking of using existing NixOS configuration to configure the ISO with tools to rebuild itself.
<infinisil> extraDependencies isn't necessary if the contents of it are referenced elsewhere
<simpson> shor: I don't know; you tell us. e.g. does it bother you that Debian doesn't have sudo in the minimal ISO and that you'd need Internet to get it? It's that sort of decision.
<infinisil> And in shor's https://pastebin.com/PY7Bq9aQ, the system closure is already referenced
<pjt_014> I mean where in a config file
heath is now known as h
h is now known as heath
<simpson> pjt_014: If following https://nixos.wiki/wiki/Creating_a_NixOS_live_CD it would be in the iso.nix file.
<shor> No, because debian installs regardless
<shor> it doesn't require sudo to just get debian into a bootable state
<shor> I don't need to know the disk letter (sdX/hdX) to install grub to, and I don't need to know which partition or uuid of a partition the root is on before I begin installation, I just install and worry about that as I discover/configure
<simpson> shor: Crucially, unlike with Debian, the packages on the ISO aren't necessarily the packages that will be installed onto the target machine. Therefore the ISO needs to have all of the tools and sources required to rebuild those packages. If the target machine won't *ever* have Internet, then you need to know the frontier of available packages ahead of time. Presumably this is just enabling whatever kernel
<simpson> firmware you'd need? I would *not* recommend NixOS for machines that won't have Internet directly.
iqubic` has joined #nixos
<infinisil> shor: What specific paths does it try to fetch from the internet when you attempt offline installation?
<infinisil> shor: The full logs would be useful
<shor> Lets even assume it will have internet later, or access to a binary cache somewhere on the network, or even a usb with nix-serve (which is what this machine will need actually)
iqubic` has quit [Client Quit]
<shor> with that config of iso.nix in pastebin, it attempts to build stdenv-linux, the 1st depend of which is binutils, which it tries to get from a gnu mirror
iqubic has quit [Ping timeout: 240 seconds]
<infinisil> Oh hm that shouldn't be
<shor> I could in theory add binutils, then build the iso, and boot the machine over and over until I've tracked every depend. I just feel that there are hints of an offline install once being conanically possible but somewhere along the way this magic has been lost to us
<infinisil> binutils should be included regardless
<simpson> shor: Sure; if you know the target machine's configuration.nix, then you can build it far away.
<infinisil> Something else must be the problem
<simpson> infinisil++ focus
<{^_^}> infinisil's karma got increased to 242
<shor> With my current solution, its binutils. If I just attempt to install with the default ISO, its bash
iqubic has joined #nixos
<infinisil> shor: Your current solution is?
<simpson> infinisil: https://pastebin.com/PY7Bq9aQ is what we're looking at. There's not much yet.
diekl has joined #nixos
* infinisil is hoping there's more
<infinisil> Like what are the contents of ./stub.nix
<shor> there isn't more
<shor> the stub.nix referenced there is just whats default in nixos-generate-config
<shor> but with the bootloader.grub.enable set to false
<diekl> I'm getting this error "unable to execute 'cmake': No such file or directory" when trying to install pyarrow. How can I solve this?
<simpson> diekl: Guessing you want cmake in buildInputs?
<infinisil> shor: Do you have the full start of the logs of an attempted offline installation?
andymandias has joined #nixos
<evanjs> or nativeBuildInputs, depending, but yeah, shouldn’t matter if not cross compiling, I think..?
<shor> let me spin up qemu to get a screenshot
andymandias_ has joined #nixos
<pjt_014> shor: one other thing, maybe consider adding the let..in block described here under custom-iso.nix. It'd be convenient to move that boilerplate from the command line to the config file.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83462 → http-parser: 2.9.3 -> 2.9.4 → https://git.io/Jv9AM
<pjt_014> honestly the wiki page should be modeled after it
<shor> pjt_014 what do you mean moving the boilerplate?
andymandias has quit [Ping timeout: 265 seconds]
<pjt_014> nix-build -A '<nixpkgs/nixos>' etc. With this version it's just nix-build file.nix
<pjt_014> the whole config's in a let block, and the in block is "20in { iso = (evalNixos myisoconfig).config.system.build.isoImage; }
<pjt_014> "
<pjt_014> * in { iso = (evalNixos myisoconfig).config.system.build.isoImage; }
andymandias_ has quit [Ping timeout: 264 seconds]
<pjt_014> not what you're trying to solve here, but still good to file away for later
hlavaty` has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<shor> sorry I don't think I follow, replace the current in {<block>} with that, right?
andymandias has joined #nixos
<infinisil> Well I'm gonna go now, but shor, try to figure out why it tries to fetch things by e.g. comparing `nix-instantiate '<nixpkgs/nixos>' --arg configuration ./stub.nix -A system` on the iso-build system and the install system
<diekl> I just had to gc so I'm rebuilding a bunch of packages. will report back.
hlavaty has quit [Ping timeout: 256 seconds]
<shor> infinisil, thanks for the advice. safe travels ^^
<infinisil> shor: These probably aren't the same, otherwise the local files could be used instead
<shor> good point, hand't considered comparing
andymandias has quit [Client Quit]
<infinisil> Oh and then you could also use `nix-diff` to compare the outputs of `nix-instantiate`
iyzsong has joined #nixos
<pjt_014> shor: in the link above to the mayflower.consulting page, there's an example file called custom-iso.nix.
<pjt_014> If you use it as a template you can reduce your build command from "nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix" to "nix-build iso.nix".
andymandias has joined #nixos
jophish has quit [Quit: WeeChat 2.4]
<diekl> simpson: evanjs: with `nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.cmake pkgs.arrow-cpp ];` I get a bit farther. https://paste.gg/p/anonymous/c3a03811b9264d23bc61473d80ee9f33 What's next?
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/834ad820cc6 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<evanjs> Okay wait now im confused. You’re just trying to use pyarrow? Like just using the package from a nix shell? Or what? Because I can do that just fine over here
andymandias has quit [Quit: ZNC 1.7.4 - https://znc.in]
<evanjs> diekl: like what do you mean by “install” pyarrow?
<diekl> evanjs: I'm writing a package that has a dependency on pyarrow. My package uses Poetry, which uses a lock file. I'm trying to build the version of pyarrow that's pinned in the lockfile.
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 256 seconds]
<evanjs[m]> which presumably is different from that provided by nix? Anyway, might be a little different for python deps
<diekl> It's a different one than that provided by nixpkgs. pyarrow is a python wrapper around a mainly C++ lib.
<evanjs[m]> Right right. Have you already read through this page, yet? https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/python.section.md
<aria> for some reason the "freefont-ttf" font package is installed onto my system, yet i have no reference to it in my config.nix. how can i investigate what installed it? it's messing with my font fallback, i want symbola!
<diekl> evanjs[m]: Yep
zaeph1 has joined #nixos
zaeph has quit [Ping timeout: 250 seconds]
<shor> so can't get qemu working at all right now to capture logs of install
nwspk has quit [Quit: nwspk]
simukis__ has joined #nixos
mir100 has joined #nixos
nwspk has joined #nixos
<pjt_014> aria: presumably something else you're importing from is adding it in. One thing you could try (I think?) is adding pkgs.lib.mkForce in front of the fallback.
<aria> pjt_014: i solved it a different way and just blacklisted the font 😅
<aria> but thanks
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
simukis_ has quit [Ping timeout: 256 seconds]
mzan has joined #nixos
luigy has left #nixos [#nixos]
johnjay has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #83455 → nodejs-13_x: 13.11.0 -> 13.12.0 → https://git.io/Jv9QH
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv9hV
johnjay has joined #nixos
shor has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #83120 → brave: 1.5.112 -> 1.5.115 → https://git.io/Jv9h6
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv9hi
drakonis has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83463 → keycloak: 9.0.0 -> 9.0.2 → https://git.io/Jv9ju
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83464 → last: 1047 -> 1060 → https://git.io/Jv9ja
abathur has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
orivej_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83465 → languagetool: 4.8 -> 4.9 → https://git.io/Jv9jK
<{^_^}> [nixpkgs] @bhipple opened pull request #83466 → python27Packages.faulthandler: 3.1 -> 3.2 and fix build → https://git.io/JvHeI
detran has quit [Ping timeout: 265 seconds]
Heirlung has quit [Ping timeout: 240 seconds]
Heirlung has joined #nixos
mexisme has quit [Read error: Connection reset by peer]
glittershark has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JvHea
<{^_^}> [nixpkgs] @veprbl merged pull request #81421 → mame: 0.218 -> 0.219 → https://git.io/Jvgbh
mexisme has joined #nixos
<diekl> Nope.
pluplog has joined #nixos
FRidh has joined #nixos
fuzen has quit [Quit: The Lounge - https://thelounge.chat]
fuzen has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
katie_- has quit [Quit: \o]
katie_ has joined #nixos
inkbottle has quit [Remote host closed the connection]
inkbottle has joined #nixos
butterthebuddha has quit [Quit: Textual IRC Client: www.textualapp.com]
kaliumxyz has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.5 - https://znc.in]
hyper_ch has joined #nixos
domogled has quit [Quit: domogled]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
keith` has joined #nixos
ddellacosta has quit [Ping timeout: 264 seconds]
<keith`> I'm using kodi on a standalone media player built from nixos-19.09 and my remote, which requires lirc, does not work. The build logs for the kodi derivation indicate that cmake could not find the lirc client libraries, so I'm pretty sure kodi is built without lirc support. However, lirc is includedas a buildDepend in the derivation and there is a CMake define for the lirc socket path that seem to imply that it is intended to be
<keith`> included. The problem seems to be that CMake is looking for the lirc pkg-config file and can't find it. I see that PKG_CONFIG_PATH in fact does not have an lirc directory in it, but I can't figure out why when it has entries for all the other dependencies. Is there anyone here that can give me some hints?
lovesegfault has joined #nixos
chagra_ has joined #nixos
chagra has quit [Ping timeout: 240 seconds]
Athas has quit [Quit: ZNC - http://znc.sourceforge.net]
Athas has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
<tnks> man... an upgrade of Catalina messed up my Nix installation (set up with LnL's "create volume" script), so I tried to reinstall Nix. But the installer doesn't seem to be setting up shells any more correctly. I thought /etc/bashrc or /etc/zshrc were set up to source shell snippets. That doesn't seem to be there any more.
blibberblob has quit [Quit: WeeChat 2.7.1]
xelxebar has quit [Ping timeout: 240 seconds]
gxt has quit [Ping timeout: 240 seconds]
<tnks> Do I just have to source /nix/var/nix/default/etc/profile.d/nix-daemon.sh manually?
cartwright has quit [Ping timeout: 240 seconds]
<keith`> For anyone that might come along and be interested in my problem with Lirc and Kodi, I opened https://github.com/NixOS/nixpkgs/issues/83468
klntsky has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
phreedom has quit [Ping timeout: 240 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
keith` has quit [Quit: ERC (IRC client for Emacs 26.3)]
bhipple_ has quit [Remote host closed the connection]
bhipple has quit [Remote host closed the connection]
oida has joined #nixos
xelxebar has joined #nixos
gxt has joined #nixos
klntsky has joined #nixos
phreedom has joined #nixos
cartwright has joined #nixos
est31 has joined #nixos
<est31> hello from nix 20.03 beta
<bqv[m]> it would be really nice if nixFlakes would give the sources derivations it fetches better names than "abcde123-sources"
<est31> I have a problem with my screen lid
<est31> when I close it
<est31> and re open it
<est31> it stays black
<kaliumxyz> backlight issue?
<est31> cant do anything but ACPI reboot
<danderson> ssh in from another machine?
<est31> kaliumxyz: how would that manifest?
<est31> I get logs in journalctl
<danderson> need to determine if it's just the video stack that's not restarting
<est31> long stack trace from the kernel
<danderson> okay well, stack trace bad :)
<est31> mentions drm
hlavaty` has quit [Remote host closed the connection]
<danderson> sounds like suspend/resume is broken for you
<danderson> what hardware? manufacturer, model, kind of gpu, etc.
<est31> it's fairly new hardware
<est31> Lenovo thinkpad t495
<danderson> hey! We're laptop buddies! :D
<est31> :)
<danderson> hmm, but my suspend works... Lemme see what tweaks I applied
<simpson> est31: Has it ever worked? Do you have a known working kernel version?
<est31> simpson: it's a fresh install
<danderson> the important part for the t495 is run the freshest kernel nixos can give you
<danderson> I think that's 5.3 at the moment?
<danderson> if you came up on 4.19, it's missing a bunch of driver support for the Ryzen APU
<est31> the 19.09 live usb couldnt even start x so I went straight for 20.03 beta (and installed without using x)
<danderson> I don't know what the default kernel is on 20.03
<kaliumxyz> I'm on 5.5.9
<est31> I have 5.4.28
<kaliumxyz> using latestkernel option on 20.03
<danderson> 5.4 here too. Hm
<kaliumxyz> try the latest kernel?
<danderson> mine was asleep, I just resumed it and it came up happily
<danderson> so, _something_ I did in my config makes it work
zaeph1 is now known as zaeph
<danderson> I also contributed a t495 profile to the nixos-hardware channel, you might want to pull that in
cole-h has quit [Quit: Goodbye]
<danderson> although I don't remember it doing anything super interesting to make suspend work
<est31> thx
<danderson> mostly forces a recent kernel, and does some thinkpad generic things
<danderson> my config for the laptop is a huge mess atm
<danderson> the bits you care about are going to be in either boot.nix or configuration.nix
<danderson> the latter is still the unsorted mess of "do whatever it takes to make it work"
<danderson> haven't refactored yet
<est31> ok
<danderson> main things you should do: the acpi_call stuff in configuration.nix, acpi_backlight=native in kernel params (allows backlight keys to work)
<danderson> and services.xserver.videoDrivers = [ "amdgpu" ]
<danderson> I can't remember what driver it came up on out of the box, but it wasn't that one
<est31> I'll check
<danderson> you might also want to enableRedistributableFirmware and hardware.cpu.amd.updateMicrocode
<danderson> I don't know if it's required, but it's good hygiene to give laptops the latest possible firmware for everything
<est31> wow that's a lot of options
<danderson> since modern hardware ships out of the factory half-finished with day 1 patches...
<danderson> for new machines, I load up https://nixos.org/nixos/options.html# and look at *all* of them
<danderson> so yeah, config gets large as I discover interesting stuff to poke at :P
<est31> I'm brand new to nix
<est31> I guess with time I'll adjust
<danderson> Welcome! It's not as scary as I make it look :)
abathur has joined #nixos
<est31> so far I love it
<danderson> I'm just an idiot who goes too far with everything
<danderson> hmm, I guess I should send a PR to nixos-hardware to set default video drivers and stuff...
<danderson> my initial PR was just "bare minimum to get anything to work at all"
<kaliumxyz> in the truest sense everyone is an idiot stumbling around taking things too far c:
<danderson> not "stuff you really probably want"
<kaliumxyz> found the kernel packages
<est31> Device: AMD RAVEN (DRM 3.35.0, 5.4.28, LLVM 9.0.1) (0x15d8)
<est31> that's amdgpu right?
<est31> lsmod also lists amdgpu
<lovesegfault> est31: you're a NixOS user too?
<est31> lovesegfault: became one yesterday
<est31> hi lovesegfault!
<lovesegfault> est31: welcome!
<danderson> I believe several drivers can drive the chip, but you _should_ be using amdgpu
<danderson> if you check your X server logs, the startup logspam tells you which driver loaded and detected the GPU
<lovesegfault> est31: I'm obsessive compulsive with NixOS: https://github.com/lovesegfault/nix-config
<danderson> it's in... I think /var/log somewhere?
abathur has quit [Ping timeout: 240 seconds]
<est31> it's systemdified it seems
<est31> journalctl -b -u display-manager.service
* lovesegfault nods
<est31> (EE) Failed to load module "amdgpu" (module does not exist, 0)
<est31> hmm
<est31> I guess it has to be specified then
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
<lovesegfault> gdm?
Maxdamantus has quit [Ping timeout: 250 seconds]
<est31> I'm using sddm
<est31> +kde plasma
<lovesegfault> Ah, nice
<est31> very happy that I got the laptop at all, amidst the corona chaos
<est31> it was direct shipment from china
Maxdamantus has joined #nixos
<danderson> heh, same. I ordered it at the end of January. It arrived early March.
captjakk_ has quit [Remote host closed the connection]
<danderson> after a lot of Lenovo going "so yeah, about that, it's shipping from that _other_ quarantined hi-tech city you're reading about in the news"
FRidh2 has joined #nixos
<est31> :p
FRidh has quit [Ping timeout: 264 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
* est31 reboots wish me luck
tsrt^ has quit [Ping timeout: 250 seconds]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<est31> rebooted
<est31> twice
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<est31> fist I tested the suspend mode
<est31> didnt work :/
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<est31> but I do have amdgpu now
<Ashy> est31: if your card is recent then the amd drivers should be included in the kernel already
<Ashy> you don't have to do anything special in your nixos config
KeiraT has joined #nixos
<est31> there are kernel drivers and drivers that run in userspace
<est31> both are needed
<Ashy> you mean mesa?
<est31> yeah
<est31> kernel has a module called drm
<est31> which does general setup of the card
<est31> the details are then done by userspace
<est31> there is a layer in between where systemd manages permissions so that x doesnt have to run as root
<est31> not sure how it's done on nix os
<danderson> there's an open bug to make X run as !root on nixos :(
<est31> :(
<danderson> (contributions welcome! It used to be hard for upstream reasons, now I think it's just fiddly within nixos)
<Ashy> wayland for gnome, kde and sway are all totally usable on amd cards though
<est31> the msg i get in the terminal is similar to the one in the bug ^
<danderson> all those messages are just kernel crashes
<danderson> bu they're all different
<danderson> this is one problem with a public distro bugtracker - people find one kernel oops log, and paste their own behind it
<danderson> and you end up with a dozen different issues lumped under "my GPU is crashy"
<Ashy> est31: which gpu?
<est31> uhhh
<est31> Device: AMD RAVEN (DRM 3.35.0, 5.4.28, LLVM 9.0.1) (0x15d8)
<est31> doesnt contain the actual string
<est31> wait
captjakk has joined #nixos
<est31> CPU0: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx (family: 0x17, model: 0x18, stepping: 0x1)
<est31> there it is
<est31> CPU contains the GPU as well
<danderson> yeah, very recent ryzen with vega 8 iGPU
<Ashy> ah yeap, mine is a desktop rx580
never_released_ has joined #nixos
detran has joined #nixos
never_released has quit [Ping timeout: 240 seconds]
<Ashy> i'd try with linuxPackages_latest and gnome and gdm enabled
<Ashy> est31: what nixos channel are you on? `sudo nix-channel --list`
jw358 has left #nixos [#nixos]
<bqv[m]> when something says there's an error in <unknown-file>
<est31> 20.03 beta
<bqv[m]> how exactly are you meant to debug that
lovesegfault has quit [Ping timeout: 240 seconds]
<energizer> think of all the files you know, and all the files you don't. you can narrow down the problem to the second group
<bqv[m]> !
<bqv[m]> of course!
<energizer> binary search is pretty efficient :D
<Ashy> est31: yeah ok, try latest kernel and gnome, is this an amd thinkpad btw?
<est31> Ashy: yes
<est31> t495
<bqv[m]> i even did a grep for what might be causing this error
<est31> trying newer kernel now
captjakk has quit [Ping timeout: 240 seconds]
<Ashy> i've been meaning to get one but work just ordered me a P53
<bqv[m]> no traces of it anywhere
<bqv[m]> so unhelpful
<est31> before I was on 5.4.28, now I'm on 5.5.13
<est31> let's try what happens when I close the lid
<est31> nope still broken
<est31> is there a way to use release candidate versions of linux?
<est31> it's not just crashing once but multiple times per second
<est31> :/
<est31> what's a good place to file bug reports about this?
zupo has joined #nixos
linarcx has joined #nixos
amfl has quit [Ping timeout: 246 seconds]
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen1 has joined #nixos
amfl has joined #nixos
captjakk has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
dingenskirchen1 is now known as dingenskirchen
jakobrs has joined #nixos
wavirc22 has joined #nixos
<jakobrs> I'm not sure if this is nixos-specific but How do I stop PulseAudio?
captjakk has quit [Ping timeout: 264 seconds]
<qyliss> Hmm, does crate2nix not support cross-compilation?
<srk> jakobrs: pulseaudio -k
<jakobrs> It's started automatically when I run systemctl stop pulseaudio.service
<srk> jakobrs: but it will restart itself most probably :)
<jakobrs> yup
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jakobrs> Any way around that?
<srk> $ cat /etc/pulse/client.conf
<srk> autospawn=no
<srk> not sure if that's the one
<jakobrs> Will it still be started on startup?
<jakobrs> I assume yes because it's managed by systemd
<srk> yes
<srk> autospawn=no looks to be the default
noudle has joined #nixos
<jakobrs> Autospawn=yes is definitely the default according to the manpage
<est31> have you tried systemctl disable ?
<jakobrs> Thing is, pulseaudio starts *outside of* systemd, in a sense
<jakobrs> so systemd thinks it's dead when it's really not
<jakobrs> But autospawn=no seems to work
<jakobrs> I've found I also need to stop pulseaudio.socket
ATuin has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
jakobrs has quit [Quit: WeeChat 2.7.1]
<bqv[m]> Switch-to-configuration seems to take so long for me…
opthomasprime has joined #nixos
Jackneill has joined #nixos
opthomasprime has quit [Ping timeout: 264 seconds]
opthomasprime has joined #nixos
Havvy has quit [Ping timeout: 256 seconds]
Havvy has joined #nixos
lsix has joined #nixos
mexisme has quit [Ping timeout: 256 seconds]
aforemny has joined #nixos
zupo has joined #nixos
jbgi has joined #nixos
civodul has joined #nixos
KeiraT has quit [Remote host closed the connection]
abathur has joined #nixos
KeiraT has joined #nixos
abathur has quit [Ping timeout: 250 seconds]
<colemickens> is there a systemd unit that fails?
<colemickens> sometimes when it takes a long time for me, that's the reason
yvansraka has quit [Quit: WeeChat 2.3]
yvan has joined #nixos
aforemny has left #nixos [#nixos]
bahamas has joined #nixos
m0rphism has joined #nixos
dermetfan has joined #nixos
mexisme has joined #nixos
hmpffff_ has joined #nixos
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
hmpffff has quit [Ping timeout: 256 seconds]
cr4y1 has joined #nixos
buckley310 has joined #nixos
vandenoever has joined #nixos
maxter has joined #nixos
hlavaty has joined #nixos
<hlavaty> how can i start new thread in discourse per email? sending email to nixos1@discoursemail.com gives [NixOS Discourse] Email issue -- Unknown To: Address. i can reply to existing threads though
<srk> existing thread emails probably use some kind of List-Id identifier
<hlavaty> well, i had to register an account, and now i cant even post:-(
<srk> probably not possible to start new threads via email, how would you choose a category for example
<srk> yeah, someone need to approve your account
<srk> won't take long, don't worry
<hlavaty> i created an accound long time ago
<hlavaty> i can reply to things
<hlavaty> but i cannot send a new question
<srk> even via web?
<hlavaty> per email, in 2018, Click the following link to confirm and activate your new account:
<qyliss> You can start new threads via email
<hlavaty> srk: i have no interest in fiddling with yet another website
<qyliss> Or at least you're supposed to be able to
<srk> that's good if it works
knupfer has joined #nixos
<srk> hlavaty: I'm not a huge fan of modern web ifaces either
<qyliss> cc zimbatm
Maxdamantus has quit [Ping timeout: 240 seconds]
Maxdamantus has joined #nixos
<hlavaty> qyliss: is there an explanation, how to do it?
<hlavaty> srk: yeah
cinimod has joined #nixos
<colemickens> so even if I pass --print-build-logs I still can't actually tell what's going on or why these remote builds re taking forever :/
<qyliss> hlavaty: I thought what you were doing should have worked
<qyliss> So possibly something is broken? I'm not really sure.
<qyliss> But I do know that it's definitely supposed to work.
<hlavaty> ok
noudle has quit []
<hlavaty> srk: good find, but it doesn't seem to be possible without browser: To create a new topic in a category via email, navigate to that category, and click the envelope button:
<srk> hlavaty: yeah but with you can figure out how to construct these by hand ;)
<hlavaty> might also forget about discourse
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
* srk can't find the envelope button :D
<hlavaty> :D
<srk> and! the discourse.mozilla.org image is 404, just lol
<srk> maybe it's some plugin
<yorick> colemickens: do they have a lot of dependencies?
<yorick> colemickens: nix copy of big closure to somewhere you have a high ping to is notably slow
Makaveli7 has joined #nixos
<colemickens> I don't even know. I canceled it, converted from nix cli2 to nix cli1 as I've done countless, countless times before and then it finished somehow very quickly, though still seemed to take its time copying each derivation up, then copying back the build result every time
<colemickens> :/
<yorick> colemickens: remote builds copy the full build result back, yeah
<yorick> :P
<colemickens> I'm fine with that, but it doesn't seem efficient to transfer them all back and forth one by one
<colemickens> ...
<colemickens> I just wrote that script, ha
<colemickens> It seems unfortunate this script need be written
<hlavaty> colemickens: you could have a look into substitutes, or nar files
<colemickens> mine will take nix-instantiate args and then do roughly the same steps
<colemickens> hlavaty: hm, afaict the nix tooling should do this or hide this for me, and then the process yorick and I are using indeed uses nars and rsync to batch things (or at least, that was my theory)
turion has joined #nixos
<turion> How would I go about when I want to build a fetcher that accesses a database?
<hlavaty> colemickens: nix-copy-closure --use-substitutes --to host path
<colemickens> I'm already using --builders-use-subsitutes
<yorick> colemickens: as far as I can tell, it's not /worse/ than what nix was doing
<turion> I already have a script that does the database query, I basically just want to run it
<yorick> turion: you need to know the build output hash in advance
<turion> yorick: It's an append-only time series database, so I can take my chances that it's always going to be the same
<turion> yorick: Ahhh :) thanks
bahamas has quit [Quit: leaving]
__monty__ has joined #nixos
orivej has joined #nixos
<zimbatm> hlavaty: morning, can you try and send an email to nixos1+uncategorized@discoursemail.com ? If that doesn't work, please PM me
mounty has quit [Read error: Connection reset by peer]
chloekek has joined #nixos
<turion> I have this now:
<turion> let script = ../relative/path/to/script.py; in stdenv.mkDerivation { builder = "${pkgs.python3}/bin/python3 ${script}"; ...}
<turion> But it says:
<turion> bash: /nix/store/xb1mp0f16lv23rwhfdc1665v5r20jfmm..... No such file or directory
zaeph1 has joined #nixos
mounty has joined #nixos
<turion> I tried telling the script "-o $out/filename.ext", but that didn't help. (The script accepts that option.)
<hlavaty> zimbatm: i tried and get: Your account does not have the required trust level to post new topics to this email address.
thc202 has joined #nixos
<turion> When I take the command (the long thing after "bash:") and execute it, I get a different error, a python import error
<srk> hlavaty: zimbatm: SiteSetting.email_in_min_trust
zaeph has quit [Ping timeout: 265 seconds]
lassulus has quit [Quit: WeeChat 2.6]
<hlavaty> srk: what is it?
<srk> hlavaty: the option that needs adjusting to allow your mails to go thru
mexisme has quit [Ping timeout: 272 seconds]
zaeph1 is now known as zaeph
lassulus has joined #nixos
<est31> I want to patch the amdgpu driver locally
<est31> but I cant figure out how to patch nixos packages
<est31> this page isn't helpful for me
<zimbatm> hlavaty: let me bump your account trust level. I don't want us to get spam
<est31> according to it, the first option it gives won't work because I depend on stuff
<zimbatm> hlavaty: if you send me your account name
<est31> the third seems to work for additional packages but not when you want to modify an existing package deep in the system
<est31> and the for the second option I couldnt find any info on how to make nix os use locally patched nixpkgs
<zimbatm> hlavaty: try again, I think I found your account
fendor has joined #nixos
ottidmes has joined #nixos
<hlavaty> zimbatm: understand, thanks. i dont have anything to send now as i have opened an issue instead. i will try to send something to discourse when i have something to say/ask and will tell you if it doesnt work. thanks a lot
<turion> Is there a way how I can add a single python module (not a package) to python.withPackages?
<turion> The module is just a local file
hlavaty has quit [Quit: ERC (IRC client for Emacs 26.3)]
<turion> I don't have a setup.py and all that
hlavaty has joined #nixos
<Yaniel> the Right Way would be to make a package from it I think
cybrian has quit [Read error: Connection reset by peer]
<zimbatm> hlavaty: alright, ping me if it still doesn't work :)
<FRidh2> turion: override the python packages set, include your package there. build a derivation with say runCommand and apply toPythonModule to it.
__red__ has quit [Remote host closed the connection]
bridge[evilred] has quit [Remote host closed the connection]
cybrian has joined #nixos
<FRidh2> you can do without overriding the packages set by just including the dreivation directly in the list...just apply toPythonModule to it first
<FRidh2> so it gets recognized as a library
<turion> FRidh2: And if it's a module that I want to import from my script?
abathur has joined #nixos
<FRidh2> "my script" what script? If you want to have the script managed by nix, then you need to create a derivation that includes that script and your python environment
<turion> FRidh2: I have two scripts. Say a.py and b.py. a.py does some deterministic number crunching, but has "import b".
<turion> I'm currently trying to make a.py into a fixed-output derivation
<turion> But I need to pass it b.py somehow so it can import it
<turion> FRidh2: So I don't know how to turn my single local file b.py into a reasonable derivation
abathur has quit [Ping timeout: 260 seconds]
<turion> I mean, what should its install phase be?
<turion> `cp b.py $out`?
pjt_014 has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 264 seconds]
<FRidh2> so, a is an executable and b a library
cybrian has quit [Remote host closed the connection]
<Valodim[m]> infinisil: can I poke you about https://github.com/NixOS/nixpkgs/pull/83104? I offer a review of your choice in return :)
<FRidh2> I suggest creating a propert python package out of it, e.g. using setuptools
sigmundv_ has joined #nixos
<turion> b doubles as an executable
<turion> (To add to the confusion)
<turion> FRidh2, Yaniel: Yeah probably I need to bite that bullet
vandenoever has quit [Read error: Connection reset by peer]
chagra_ has quit [Read error: Connection reset by peer]
<turion> It's a bit annoying, I'm not a Python dev (anymore), these are just some scripts that my team threw around
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<ottidmes> Valodim[m]++ When I tried setting up a buildMachine few days back I had to do a few searches and check the source to find out what each did, so thanks for the PR!
<turion> Another (hopefully) simple question. Why does this not work:
<turion> let file = ./path/to/an/existing/file; in stdenv.mkDerivation { name = "foo"; builder = "cp ${file} $out"; }
<turion> It says "bash: ... No such file or directory"
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<srk> builder is something different, better use pkgs.runCommand
<Valodim[m]> ottidmes: please review :) you can test it like this:
chagra_ has joined #nixos
kcalvinalvin has joined #nixos
<turion> srk: Ok, thanks!
FRidh has joined #nixos
FRidh2 has quit [Ping timeout: 256 seconds]
<ottidmes> Valodim[m]: I tried just now, it does not break anything else, but when I enable my builders, I get: error: The option value `nix.buildMachines.[definition 1-entry 1].sshKey' in `/cfg/shared/modules/nix-daemon.nix' is not of type `string'.
erictapen has joined #nixos
<ottidmes> Valodim[m]: I only set 2 attributes, the hostname and system attribute
cybrian has joined #nixos
<ottidmes> Valodim[m]: which makes sense, given you have: type = types.str; default = null;
<ottidmes> Valodim[m]: this is also the case for the system attribute
orivej has joined #nixos
o1lo01ol1o has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
<ottidmes> Valodim[m]: maybe add that higher is faster (at least I assume that is the case) at speedFactor, cause a lot of relative numbers in Nix prioritize the lower numbers
<Valodim[m]> ottidmes: I don't have time right now, mind posting that to the PR so I can revisit later?
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<Valodim[m]> ottidmes: I actually don't know if higher is faster :) I guess so?
<Valodim[m]> thanks for the feedback!
snicket has joined #nixos
<LnL> tnks: yeah, I noticed that too :/ the update replaced a bunch of stuff (luckily this is much less of a pain with nix-darwin)
chagra_ has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 265 seconds]
kenji has joined #nixos
kenji_ has joined #nixos
{^_^} has quit [Remote host closed the connection]
<turion> I tried: let a = ../path/to/a.py; b = ../path/to/b.py; in pkgs.runCommand "foo" { buildInputs = [ myPython ]; } ''
<turion> export PYTHONPATH=${b}
<turion> '';
<turion> ${myPython}/bin/python ${a}
<turion> And I checked with an echo that PYTHONPATH gets indeed mutated to the correct value
<turion> Nevertheless python doesn't find my script
<turion> I.e. "import b" fails
chpatrick has joined #nixos
chagra has joined #nixos
opthomasprime has left #nixos [#nixos]
chloekek has joined #nixos
chagra has quit [Ping timeout: 265 seconds]
<turion> Oh. I need to create a folder and put the scripts there, together with an __init__.py.
chagra has joined #nixos
iyzsong has quit [Ping timeout: 256 seconds]
<chpatrick> hi guys, any idea how I can get xdg-open to work with appimageTools?
<chpatrick> it finds xdg-open and tries to open a URL but then nothing happens, I guess because it's sandboxed?
cosimone has joined #nixos
mokasin has joined #nixos
<mokasin> Is it safe to use a module from unstable in a stable installation?
FRidh has quit [Ping timeout: 240 seconds]
<mokasin> Context: I did this via let unstable = import <unstable> {}; in { services.*.package = unstable.*; } and it worked fine. However, I just tried to return to the stable version (which is the same upstream version and there are issues)
FRidh has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<ottidmes> mokasin: depends on the module, in your example though you are just using an unstable package within a stable module (assuming you run stable by default), which would again depend on the module whether it works well with later versions, but most of the time this should work just fine
iyzsong has joined #nixos
<ottidmes> mokasin: to use a unstable module, you would have to use disabledModules with the path (relative to /nixos/modules) to the module, and then add your unstable one with e.g. imports = [ (unstable.path + "/nixos/modules/some/service.nix") ];
reanimus has quit [Quit: Logging off...]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
snicket has quit [Ping timeout: 240 seconds]
<bqv[m]> Is the bot not here?
reanimus has joined #nixos
maddo has joined #nixos
<bqv[m]> {^_^}
<betaboon> is it somehow possible to allow a specific derivation to access online git during build ?
<nextloop> i just tried booting kernel_latest and my synaptics touchpad no longer works. what could be the reason?
<hlavaty> betaboon: maybe if you turn of sandbox, but it is a bad idea anyway
<betaboon> na don't want to do that XD
<betaboon> i was hoping to being able to do that for just a single derivation
<ottidmes> ,ping
<clever> betaboon: define an output hash and nix will allow network
<betaboon> clever: is that documented somewhere ?
<clever> betaboon: add outputHash = "hash"; outputHashMode = "recursive"; outputHashAlgo = "sha256"; to a derivation, and it will enable network access
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
iyzsong has joined #nixos
o1lo01ol1o has joined #nixos
<betaboon> clever: thank you. wont help in my case :(
snicket has joined #nixos
<clever> betaboon: what are you trying to do?
<betaboon> clever: i am using zsh and antibody as my plugin-manager. i was trying to switch to the static-mode of antibody (which downloads the plugins first, creates a sh-file that loads them. opposed to doing that dynamically)
<betaboon> clever: thus it fetches all the defined plugins once. does that from the network obviously.
<clever> betaboon: youll probably need to have nix download things with fetchurl, then point antibody to a dir of pre-fetched things
<betaboon> just gonna rebuild that in a nix-way. shouldnt take to much work
<ottidmes> betaboon: that fits the use case clever described though
<betaboon> ottidmes: i dont know the outputhash beforehand, thus it doesnt (afaik)
<clever> ,tofu betaboon
<clever> betaboon: just give it the wrong hash on purpose, build it once, and then copy the real hash
<ottidmes> betaboon: but it will always return the same static output in static mode, right? Than that is fine
<betaboon> clever: yeah thought so to. but: that is everything antibody would have done in that usecase. so it becomes obsolete when doing the prefetch with nix XD
<ottidmes> betaboon: tofu = trust on first use
<betaboon> ottidmes: no it wont. it will fetch the most-recent versions of the plugins
<clever> betaboon: is there a lock file, that lists the hash of everything antibody is going to download?
<nextloop> does the kernel configuration change a lot?
<clever> ah, youll need a lock file then, to stop it from getting latest
<turion> How do I give a runCommand internet access?
<srk> :D
<clever> turion: runCommand "name" { outputHash = "hash"; outputHashMode = "recursive"; outputHashAlgo = "sha256"; }
<betaboon> clever: nope. i'll just switch to defining derivations for the few plugins that i use, wire stuff together "manually" and get rid of antibody XD
<turion> clever: Thanks!
<gchristensen> turion: what are you doing with it?
<ottidmes> nextloop: your problem probably just stems from a driver change, doubt it is NixOS related, be sure to search for your device name / driver name with the kernel version, maybe there are other distro sources you could use to figure out what is going on
<ottidmes> nextloop: I had it happen to my network driver once, where I had to enable a flag after a certain kernel version, otherwise it would no longer work after coming out of sleep
<turion> gchristensen: Building my own little fetcher for an append-only database
to8 has joined #nixos
<gchristensen> cool
<turion> gchristensen: Basically, we have a lot of different scripts for (deterministic) data analysis, and I want to tie them together with nix such that we can cache intermediate data dumps, share our results as derivations, have a build server that builds our analyses and pushes them to a joint cache, and so on
<bqv[m]> you can use `svn co https://github.com/owner/repo/trunk .` to clone a github repo without using git, but that doesn't seem to work for nixpkgs... guess it's just too big
<gchristensen> neat!
<gchristensen> you're not using runCommand to do the pushing, right? :)
<turion> But all these scripts are standalone python things, and I can't ask the package authors to get them organised in a package. At least not before I have something valuable to show.
<bqv[m]> hey, anyone else matrix-side, are we missing messages?
<turion> Haha no :D nix-build | cachix push mycache
<gchristensen> cool
<srk> bqv[m]: why svn? :) why do you think so?
<turion> And I'm not enough of a Python dev to package them in a way that doesn't disrupt my colleagues workflow
<bqv[m]> srk: because github supports svn
opthomasprime has joined #nixos
<bqv[m]> i don't actually use svn, it's just a convenience
opthomasprime has left #nixos [#nixos]
<srk> but what's the reason to use inferior tool? :)
<bqv[m]> inferior hahaha
<srk> like opposite is quite common - using git with svn remote but first time I see someone do svn -> git
<srk> *the
<bqv[m]> one good reason is that it clones it without .git, or any history, beyond that, just for fun
<bqv[m]> i can't see any decent free svn hosts out there these days anyway
<srk> you can do shallow git clones btw
orivej has joined #nixos
abathur has joined #nixos
teto has joined #nixos
<infinisil> gchristensen: Bot dead
<bqv[m]> i know, but there's less letters in "svn co" than there is in "git clone --depth=1"
<turion> When I define a derivation with runCommand, and then I _change_ the command, it doesn't get re-executed???
<bqv[m]> like i said, convenience :p
<srk> :D
<turion> I need to touch the hash as well... that's confusing
<gchristensen> infinisil: oops
<mokasin> ottidmes, ah, that means, it kinda works on accidence and would in this case break, if the config breaks
<infinisil> turion: You could do something like `let cmd = "..."; in runCommand "foo-${builtins.hashString "sha256" cmd}" {} cmd`
<turion> infinisil: Ah! Makes sense, thanks :)
<infinisil> Though this doesn't really help much actually
<infinisil> Because without changing the outputHash, you can't have any different output
<mokasin> ottidmes, *by accident
<infinisil> Oh, but you get an error then at least
abathur has quit [Ping timeout: 265 seconds]
<infinisil> turion: Oh but better: Embed all parameters that should change the hash into the name
CptCaptain has joined #nixos
<ottidmes> turion: I have used this when testing a fetcher (make sure it has no roots, or else it won't delete): nix-store --delete $(nix-build --no-out-link '<nixpkgs>' -A hello.src) && nix-build --no-out-link '<nixpkgs>' -A hello.src
<turion> Ah ok
<turion> But why doesn't the store path hash change when I have a different command?
<turion> Is it computed from the outputHash?
<ottidmes> turion: You basically say, it has this output hash, trust me
<ottidmes> turion: else it would have to refetch all the time
<ottidmes> because who knows maybe the fetched files changed in the mean time, but to prevent constant rebuilding, it trusts that if the output hash you specified did not change and it is still in the store, no need to refetch
linarcx has quit [Ping timeout: 256 seconds]
andi- has quit [Quit: WeeChat 2.7.1]
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
{^_^} has joined #nixos
<infinisil> And note that it's the /nix/store path that's checked for existence, which is why changing the derivation name has the same effect as changing the hash
<ottidmes> mokasin: Well, only when the corresponding module of the package underwent changes needed to support a later version (e.g. different CLI) is it required to update the module too when updating the package, but often times just setting the package to a later version won't break the module.
<mokasin> ottidmes, okay, makes sense. thx
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/5ffc821846c (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/3320a06049f (from 12 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7dd3d620d65 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4a3f9aced7f (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<{^_^}> [nixos-homepage] @edolstra pushed to redirect-eelco « Redirect ~eelco to github.io »: https://git.io/JvH2b
<{^_^}> [nixos-homepage] @edolstra opened pull request #368 → Redirect ~eelco to github.io → https://git.io/JvH2N
dingenskirchen has quit [Quit: dingenskirchen]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nextloop> seems to be something that is fixed with new firmware
<nextloop> no idea how to install it though
teto has quit [Ping timeout: 256 seconds]
anderslundstedt has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
<bqv[m]> anyone wanna review a nobrainer? https://github.com/nixos/nixpkgs/pull/83484
<{^_^}> nixos/nixpkgs#83484 (by bqv, 1 hour ago, open): python3Packages.libfdt: fix python build
<{^_^}> [nixos-homepage] @edolstra pushed to redirect-eelco « Splat »: https://git.io/JvHaL
xkapastel has joined #nixos
apeyroux has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin merged pull request #83476 → gitlab: 12.8.7 -> 12.8.8 → https://git.io/JvHa3
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JvHas
<{^_^}> [nixpkgs] @jojosch opened pull request #83490 → Jellyfin mpv shim 1.4.2 → https://git.io/JvHaC
<bqv[m]> oh wow, i did not know you could elide 0s in ipv4 addresses
<bqv[m]> "ping 10.1" works
<bqv[m]> (and pings 10.0.0.1)
<hyper_ch> :)
<immae> wow
<gchristensen> bqv[m]: not only that, but ... ping 37223434
<hyper_ch> ping 42 :)
<bqv[m]> oh no
<hyper_ch> why don't I have 0.0.0.42 :(
<immae> how would it know where to put the zeroes if you have two dots?
<turion> ottidmes, infinisil: Ok, that makes sense. How should I proceed then when I want to call my little fetcher a thousand times?
gustavderdrache has joined #nixos
<hyper_ch> it knows it by rfc
cosimone has quit [Quit: Terminated!]
<turion> Do I have to write down a thousand hashes? Or do I have to write a "TOFU" script that computes the hashes and stores them in a JSON?
<gchristensen> either of those would work
dingenskirchen has quit [Ping timeout: 240 seconds]
apeyroux has joined #nixos
<{^_^}> [nixos-homepage] @edolstra merged pull request #368 → Redirect ~eelco to github.io → https://git.io/JvH2N
<{^_^}> [nixos-homepage] @edolstra pushed 3 commits to master: https://git.io/JvHa6
<{^_^}> [nixos-homepage] @edolstra pushed 0 commits to redirect-eelco: https://git.io/JvHai
teto has joined #nixos
<ottidmes> turion: use a prefetcher, I made this for it: https://github.com/msteen/nix-prefetch but the easiest and builtin is nix-prefetch-url
jbgi_ has joined #nixos
raingloom has quit [Ping timeout: 256 seconds]
jbgi has quit [Ping timeout: 256 seconds]
<turion> ottidmes: That sounds good! Basically, a prefetcher is that script that computes the hashes first and stores them somewhere?
<turion> gchristensen: Yeah, just writing them manually is of course not practical
andi- has joined #nixos
<kenji> You might also want to check out niv for some instances https://github.com/nmattia/niv
<turion> My users need to be able to use my custom fetcher with very little friction. I guess it's ok to tell them "run that prefetch script first"
<ottidmes> turion: Pretty much, some do the computation themselves, others (like mine) basically automate what you would normally do (since it is a general prefetcher), they are mostly there to fetch and store the files in the /nix/store and report the correct hash
<turion> But anything that goes beyond copy-pasting a hash is too complicated
<turion> kenji: how would I use niv for this?
<ottidmes> turion: I also have an updater that automatically changes the source code with the corrected hash
<turion> ottidmes: Hmmm, that sounds more like it ;)
<gchristensen> is there a way to set some environment variables for every systemd service from within NixOS's module system? (environment.variables doesn't do it)
<ottidmes> turion: It is much more alpha software than nix-prefetch though: https://github.com/msteen/nix-upfetch
<turion> I'll look into it!
<ottidmes> gchristensen: probably just using mkOption's apply would do that
<gchristensen> hmm
<turion> I think I'm also fine with nursing my own little ~/.mypackage/hashes.json file and writing a little script that creates one for every user
<ottidmes> gchristensen: you get it, right? or do I need to eloborate?
<gchristensen> yep, thanks, ottidmes!
kenran has joined #nixos
<ottidmes> turion: that is why niv was mentioned, it handles that use case best, although my nix-prefetch could do almost the same, niv is more specific to that use case
bvdw has joined #nixos
kenran has quit [Client Quit]
<ottidmes> How does one set SOURCE_DATE_EPOCH when you use a local path, it will be build in a sandbox, so the local path will already be copied to /nix/store, which truncates the info necessary to determine SOURCE_DATE_EPOCH
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/85055b3ab7b (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
abathur has joined #nixos
ottidmes has quit [Quit: WeeChat 2.7.1]
Bunogi has quit [Quit: rip weechat]
LysergicDreams has quit [Read error: Connection reset by peer]
meck has quit [Quit: ZNC 1.7.5 - https://znc.in]
meck has joined #nixos
dingenskirchen has joined #nixos
LysergicDreams has joined #nixos
<{^_^}> [nixpkgs] @minijackson opened pull request #83494 → jellyfin: 10.5.0 -> 10.5.2 → https://git.io/JvHwo
thinkingeye has joined #nixos
<thinkingeye> Hi, is it possible to specify the exact minor version of the nvidia driver in nixos configuration without cloning extra the whole nixpkgs from github and change it manually directly in the code? ... like kind of an override
tpmadz[m] has joined #nixos
sigmundv_ has quit [Read error: Connection reset by peer]
jboy has quit [Quit: bye]
snicket has quit [Ping timeout: 240 seconds]
sigmundv_ has joined #nixos
apeyroux has quit [Remote host closed the connection]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
Rusty1 has joined #nixos
<Yaniel> you can override a single package in your config yes
<{^_^}> [nixpkgs] @romildo opened pull request #83495 → freeoffice: 974 -> 976 → https://git.io/JvHw9
<Yaniel> or parts of a package's variables
jboy has joined #nixos
magnetophon has left #nixos [#nixos]
<thinkingeye> @Yaniel. I am a bit familiar with overriding the version string of a regular package, but I don't know for nvidia where it is splitted in multiple files
snicket has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #83460 → timetrap: 1.15.1 -> 1.15.2 → https://git.io/Jv9d0
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvHrU
cosimone has joined #nixos
apeyroux has joined #nixos
mexisme has joined #nixos
erictapen has quit [Ping timeout: 264 seconds]
chloekek has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @minijackson opened pull request #83496 → kodiPlugins.vfs-libarchive: 1.0.5 -> 1.0.6 → https://git.io/JvHra
mexisme has quit [Ping timeout: 240 seconds]
mokasin has quit [Quit: Leaving]
anderslundstedt has joined #nixos
rp77 has joined #nixos
rp77 has quit [Remote host closed the connection]
v88m has quit [Ping timeout: 264 seconds]
<betaboon> anyone knows how to use `zsh-fast-syntax-highlighting` ? oO
<alexarice[m]> think this has been asked before but is there a nice way to work out where `warning: dumping very large path (> 256 MiB); this may run out of memory` is coming from
philr has quit [Quit: WeeChat 2.7]
<bqv[m]> probably something not cleaning a source
AREISME has joined #nixos
AREISME has left #nixos [#nixos]
init_6 has joined #nixos
snicket has quit [Remote host closed the connection]
philr has joined #nixos
<tilpner> alexarice[m]: strace and -vvvvv
<alexarice[m]> will give it a go, thanks
<tilpner> alexarice[m]: Most nix tools accept multiple -v, which gets them to output more information, like what path is being read
<bqv[m]> i love that game
<tilpner> alexarice[m]: strace -vfefile -o /tmp/log nix ...
sigmundv_ has quit [Read error: Connection reset by peer]
xelxebar has quit [Remote host closed the connection]
sigmundv_ has joined #nixos
hmpffff_ has quit [Read error: Connection reset by peer]
nikivi has quit [Read error: Connection reset by peer]
snicket has joined #nixos
xelxebar has joined #nixos
nikivi has joined #nixos
linarcx has joined #nixos
init_6 has quit []
hmpffff has joined #nixos
<Cadey> how do i explore a failed build directory?
<{^_^}> [nixpkgs] @spacekookie opened pull request #83497 → msmtp: adding texinfo to buildInputs → https://git.io/JvHoc
<Cadey> ah --keep-failed
chloekek has joined #nixos
ddellacosta has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
felixfoertsch23 is now known as felixfoertsch
<{^_^}> [nixpkgs] @filalex77 opened pull request #83498 → antibody: 4.3.1 -> 6.0.0 → https://git.io/JvHoz
vandenoever has quit [Read error: Connection reset by peer]
<DigitalKiwi> samueldr: error: The option `virtualization' defined in `/home/kiwi/projects/github/nix-configs/hosts/mvp-nixos' does not exist.
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<evils> DigitalKiwi: virtualisation
<DigitalKiwi> samueldr: see that i spelled it right!
glittershark has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #83464 → last: 1047 -> 1060 → https://git.io/Jv9ja
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JvHoF
cinimod has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @timokau opened pull request #83500 → python.pkgs.doc8: add pygments dependency → https://git.io/JvHoN
to8 has quit [Ping timeout: 250 seconds]
knupfer has quit [Remote host closed the connection]
to has joined #nixos
knupfer has joined #nixos
to is now known as Guest61533
<evils> is there a way to `nix-env -u` but skip failing/broken packages and still update the others?
vinymeuh has joined #nixos
vinymeuh has quit [Client Quit]
vinymeuh has joined #nixos
<xfix> you can nix-env -u separately for each package
vinymeuh has left #nixos [#nixos]
<xfix> out of curiosity, what package is broken, maybe it could be fixed?
<evils> matterhorn, the mattermost-api package fails on building the documentation, a fix is on their github master, the previous version works just fine...
Guest61533 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @globin pushed commit from @flokli to release-20.03 « gitlab: 12.8.7 -> 12.8.8 »: https://git.io/JvHK3
<evils> current workaround for me is to `nix-env -e matterhorn; nix-env -uv; nix-env -i /nix/store/*matterhorn*`
dongcarl has quit [Quit: The Lounge - https://thelounge.chat]
<evils> any idea how to see which channel env packages come from? (i still have some 19.09 packages in there even though i've been using nixpkgs-unstable for quite a while)
LysergicDreams has quit [Ping timeout: 256 seconds]
<bqv[m]> ,locate makeinfo
<{^_^}> Found in packages: texinfo, texinfo4, texinfo5, texinfoInteractive
LysergicDreams has joined #nixos
nobrak` has joined #nixos
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « poetry2nix: 1.6.0 -> 1.6.1 »: https://git.io/JvH6e
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dcb10552357 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @filalex77 opened pull request #83501 → lazygit: 0.16.2 -> 0.18 → https://git.io/JvH6f
nobrak has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed to release-20.03 « poetry2nix: 1.1.0 -> 1.6.1 »: https://git.io/JvH6L
ladfkjgad has joined #nixos
<ladfkjgad> hi all
<{^_^}> [nixpkgs] @minijackson opened pull request #83502 → vimPlugins.gruvbox-community: 2019-05-31 -> 2020-02-24 → https://git.io/JvH6O
zupo has joined #nixos
julm has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to release-20.03: https://git.io/JvH6Z
fenedor has joined #nixos
fendor has quit [Ping timeout: 265 seconds]
aveltras has joined #nixos
<aveltras> does anyone know how im supposed to properly escape the following siteSrc variable in this code ?
<aveltras> in the "imports" section
<aveltras> last result i had was "imports = [ "26906{siteSrc}/nix/configuration.nix" ];"
cinimod has joined #nixos
<srk> ,escape
<{^_^}> srk: Did you mean escape"?
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
cosimone has quit [Quit: Terminated!]
captjakk has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.7.1]
wavirc22 has quit [Ping timeout: 250 seconds]
<thinkingeye> I tried like: nixpkgs.config.packageOverrides = super: let self = super.pkgs; in { nvidia_x11_legacy340 = super.nvidia_x11_legacy340.overrideAttrs (old: rec { version = "340.18"; });});};
<thinkingeye> But it is not working to update manually my nvidia driver
v0|d has joined #nixos
<srk> version is probably not enough, you need to change src
<srk> even if ${version} is part of src it would result in wrong hash
<thinkingeye> yes, I tried also to set src, but no change...like it would be ignored
learnday20 has joined #nixos
ottidmes has joined #nixos
<thinkingeye> nvidia default.nix calls a local generic.nix file but I dont know how to do this in an override
dongcarl has joined #nixos
hlavaty has quit [Remote host closed the connection]
<srk> better to refactor this into overlay
<srk> ,overlays thinkingeye
<{^_^}> srk: Did you mean overlay?
<{^_^}> thinkingeye: Overlays look like `self: super: { foo = ...; }`. Use the self argument to get dependencies, super for overriding things and library functions (including callPackage). More info: https://nixos.org/nixpkgs/manual/#sec-overlays-install
<learnday20> hello nixos-experts- I am trying to upgrade my nixos from 19.03 to 19.09, after rebuild switch reboot, all I see is a black screen with no blinking cursor. What am I doing wrong? thank you!
<srk> thinkingeye: also are you sure you're overriding correct package?
<ottidmes> I currently have AllowGroups sshusers in my sshd config, just wondering, is there really any security benefit in doing so
<thinkingeye> ok, thanks, I will try with overlays
dooms_ is now known as nbathum
anderslundstedt has quit [Ping timeout: 264 seconds]
<thinkingeye> @srk yes I am overriding the correct one...if I set this package to for example an other nvidia_legacy390 package, its downloading this version
<srk> learnday20: not enough details to know why, can you access logs? can you switch to another pty?
<ottidmes> learnday20: best way is to boot back into your 19.03 generation and check the journal for what went wrong
<ottidmes> learnday20: most likely a display manager or GPU issue though
<srk> thinkingeye: cool, if you kept the same hash but change url it wouldn't download anything
<learnday20> thanks srk: I can boot back to 19.03 but I want to upgrade to latest relese and I am not knowledgable to know where my nixos logs are. thanks
<{^_^}> [nixpkgs] @sternenseemann opened pull request #83503 → uberwriter: renamed to apostrophe → https://git.io/JvH6h
<ottidmes> learnday20: NixOS uses systemd, so you can access the logs with journalctl
FRidh2 has joined #nixos
<srk> learnday20: as oddtimes said check the journal. even if graphics are broken you can often switch to pty with e.g. ctrl-alt-F1 and log-in
<srk> oddtimes, sorry ottidmes /o\
FRidh has quit [Ping timeout: 265 seconds]
<learnday20> ottidmes: xserver is enabled in configuration.nix. thanks i will check journalctl
cinimod has quit [Ping timeout: 250 seconds]
zaeph has quit [Ping timeout: 264 seconds]
<thinkingeye> @srk I mean, if I write: [...] nvidia_x11_legacy340 = super.nvidia_x11_legacy390 [...] then it is downloading the 390 version
<peelz_> If I'm cherry-picking packages from nixpkgs-unstable while on a stable branch, am I at risk of breaking pkg dependencies?
<peelz_> through an overlay
ratsclub has joined #nixos
<ratsclub> Hi guys! How are you?
<srk> thinkingeye: and that's the correct version you need?
glittershark has quit [Ping timeout: 250 seconds]
<ratsclub> I'm having a little trouble with emacs may someone help me?
<srk> peelz_: not really, unstable packages will bring their own deps
<ottidmes> peelz_: it could indeed cause breakage, only way to see is to try and see if it works
<ratsclub> I can't really start the emacs.service with systemctl
<thinkingeye> @srk: no, I need exactly 340.108, but it is not available in nix, yet
growpotkin has joined #nixos
<peelz_> two conflicting answers hmmm
captjakk_ has joined #nixos
drakonis has joined #nixos
<learnday20> ottidmes: I am able to see gui login in 19.03 with xserver and plasma5 as displaymanager but 19.09 not liking for some reason, any special configuration i have to do for 19.09 i read the manual but doesnt list graphics issue
<ottidmes> peelz_: well @srk is right when you would use say, unstable.package, but if you copy the definition from unstable and put it locally and add it to an overlay with callPackage ./local-copy.nix { }, well the latter could break
bvdw has quit [Ping timeout: 258 seconds]
glittershark has joined #nixos
<ottidmes> learnday20: could still be a kernel issue, newer NixOS, is newer stable kernel
zaeph has joined #nixos
<ottidmes> learnday20: which could mean a different GPU driver, causing xserver to crash if it does not work for your card anymore
anderslundstedt has joined #nixos
<peelz_> ottidmes++ srk++
<{^_^}> ottidmes's karma got increased to 23, srk's karma got increased to 4
<ratsclub> configuration.nix: https://dpaste.org/o3sH/raw and emacs.nix: https://dpaste.org/jUsT/raw I don't know what is wrong but it's not installing the emacs.service file
<ratsclub> it's driving me crazy
<peelz_> ottidmes: this is how I have my overlay setup: https://termbin.com/mkjt
<Orbstheorem> How can I install a given output using nix-env ?
<peelz_> ottidmes: could this cause breakage?
<learnday20> thanks nixos experts, the best people! I will struggle through and do some testing
<ottidmes> peelz_: nope, that should work, because the versions of its dependencies will match that of unstable
<clever> Orbstheorem: nix-env -iA nixos.hello.out
<peelz_> ottidmes: match? how so? when are those dependencies resolved?
cinimod has joined #nixos
<Orbstheorem> clever: I'm trying to install pinentry.curses, but I still don't get the curses output, just 'out'
<clever> > pinentry.meta.outputsToInstall
<{^_^}> [ <CODE> ]
<clever> > :p pinentry.meta.outputsToInstall
<{^_^}> [ "out" ]
<clever> Orbstheorem: this may bypass things
<ottidmes> peelz_: BTW, I assume you are defining this within your NixOS config, seeing you use nixpkgs.overlays, then I would recommend using pkgs.fetchzip with a hash, unless you really want to stay on the bleeding edge and don't mind redownloading unstable nixpkgs everytime you garbage collect
<peelz_> ottidmes: fetchtarball doesn't create a derivation?
<clever> peelz_: fetchTarball is an eval-time fetch, that behaves more like ./.
<ottidmes> peelz_: nope, it's a builtin that works differently
<peelz_> ah gotcha
<peelz_> will keep that in mind. for now I'm fine with staying on the bleeding edge
<peelz_> clever++
<{^_^}> clever's karma got increased to 372
cinimod has quit [Ping timeout: 258 seconds]
zaeph1 has joined #nixos
<Orbstheorem> > (pinentry.overrideAttrs (o: { meta = o.meta // { outputsToInstall = ["out" "curses"]; }; })).meta.outputsToInstall
<{^_^}> [ "out" "curses" ]
<Orbstheorem> clever: Thanks ^^
erasmas has joined #nixos
<ratsclub> Guys may you help me with my emacs.service problem? I can't figure it out what I'm doing wrong
<ottidmes> ratsclub: any errors?
<ratsclub> on systemctl --user enable emacs.service it can't find the emacs.service file
<bqv[m]> #nixos-emacs
<bqv[m]> but also yes
<ratsclub> oh, sorry
<ratsclub> I didn't know about this channel
<ratsclub> Thank you, guys!
<bqv[m]> have you created an emacs service?
<bqv[m]> it's cool, you can ask here, was just noting that that channel exists
<ratsclub> I thought services.emacs.enable = true would do it
<ratsclub> I mean it did last time I installed NixOS
<bqv[m]> that enables a system service, not a user service, iirc
<gchristensen> I don't want anyone to panic, but BuildKite has a custom emoji for :nixos: https://github.com/buildkite/emojis
<bqv[m]> home-manager is the one that creates the user service
zaeph has quit [Ping timeout: 256 seconds]
<ratsclub> I'm following the manual
<ratsclub> it uses the --user flag
<ottidmes> bqv[m]: nope, its actually the same for NixOS, it creates a user service: https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/services/editors/emacs.nix#L85
<bqv[m]> hmm, interesting
<bqv[m]> ok
<bqv[m]> i wonder why i did it manually
ArdaXi has quit [Ping timeout: 246 seconds]
<ratsclub> configuration.nix: https://dpaste.org/o3sH/raw and emacs.nix:
<ratsclub> https://dpaste.org/jUsT/raw I don't know what is wrong but it's not
<ratsclub>
<ratsclub> installing the emacs.service file
<ratsclub> omg sorry about the formatting
<ratsclub> but those are my files right now and I can't figure it out why it's not working
<clever> you managed to spam while using a pastebin!
growpotk- has joined #nixos
ArdaXi has joined #nixos
<bqv[m]> lmao
<ratsclub> I'm really sorry, it's the first time I'm using ERC and I don't really know how things works here hehe
<bqv[m]> incredible
<hyper_ch> ERC? Emergency Recovery Clone?
<peelz_> I'm getting this message in my `nixos-rebuild switch --upgrade` logs: https://termbin.com/bqof -- what's it about?
<ratsclub> ERC the IRC client on emacs
<hyper_ch> emacs comes with an irc client? never knew
<hyper_ch> thx
<learnday20> hello nixos experts: can someone log at my kernel error messages during upgrade to 19.09 from 19.03 at cryptobin.co/q3s4h7e3
<hyper_ch> learnday20: I'm no Bruce Schneier
<{^_^}> [nixpkgs] @bcdarwin opened pull request #83505 → pythonPackages.matplotlib: remove propagated nose dep → https://git.io/JvHiM
<peelz_> lmao
<hyper_ch> peelz_: feel free to pastebin your configuration.nix - remember to edit out sensitive information
<ratsclub> so things I have tried so far: putting emacs as a system package, putting it as a user package and tried to make every possible combination on the service.emacs flags
<learnday20> nixos to get in
<bqv[m]> hyper_ch: it actually comes with 4
<bqv[m]> erc, circ, rcirc, and something else i think
<ratsclub> but none of them gives me a emacs.service
<hyper_ch> bqv[m]: everything I know about emacs I learnt from this https://xkcd.com/378/
<ottidmes> ratsclub: what is exactly the error when you run systemctl --user enable emacs.service? I get some warnings when I enable a NixOS created user service, but it works, and starting and such goes without problem
<ratsclub> Failed to enable unit: Unit file emacs.service does not exist.
<ratsclub>
<bqv[m]> lol
shor has joined #nixos
<peelz_> hyper_ch: I'm guessing it's a new nix flag or something? related to the flake RFC I've been hearing about?
<ratsclub> it's weird because it should generate this file, shouldn't it?
<bqv[m]> have you enabled the service?
<bqv[m]> (i haven't looked at the pastes, i'm only half paying attention)
<ratsclub> yep
<clever> ratsclub: and did you rebuild switch?
<ratsclub> yes
<hyper_ch> peelz_: no idea... I don't see anything weird in your config... but why do you use unstable packges? now not just change to unstable channel?
<clever> ratsclub: what about `systemctl status emacs` as root?
<ottidmes> ratsclub: nix-instantiate --eval --expr 'with import <nixpkgs/nixos> { }; config.systemd.user.services ? emacs'
captjakk_ has quit [Remote host closed the connection]
<ottidmes> clever: it should create a user profile according to the module: https://github.com/NixOS/nixpkgs/blob/release-19.09/nixos/modules/services/editors/emacs.nix#L85
growpotk- has quit [Ping timeout: 265 seconds]
<ratsclub> It can't find emacs.service with sudo systemctl
captjakk_ has joined #nixos
<peelz_> hyper_ch: some packages haven't been backported to NixOS 19.09. I prefer to stay on stable channels so to minimize bugs with bleeding edge builds.
<hyper_ch> those are no bugs. those are random features :)
<peelz_> lol
<ottidmes> peelz_: you can safely ignore those warnings
arahael2 has quit [Ping timeout: 250 seconds]
<ratsclub> ottidmes: it gives me true on the terminal
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
<peelz_> ottidmes: okay thanks. do you know what it means though?
<ratsclub> I'm afraid I don't
matthiaskrgr has joined #nixos
<peelz_> ottidmes: yeah I saw that, but I'm not sure if this is a result of my unstable packages or an issue with NixOS 19.09
<ottidmes> ratsclub: if it returned false, what about nix-instantiate --eval --expr 'with import <nixpkgs/nixos> { }; config.services.emacs.enable', if that is false as well, clearly it is not loading the right config file
<bqv[m]> oh
<bqv[m]> hang on
<bqv[m]> i think i know why
<ottidmes> peelz_: should be 19.09, cause you just installed some unstable packages, and did not change your modules
<bqv[m]> ratsclub: try systemctl --user daemon-reload
<bqv[m]> there's no activation script that does that
<bqv[m]> so your user session probably doesn't have the service loaded
<ratsclub> ottidmes: true too
<ratsclub> bqv[m]: didn't work too
<{^_^}> [nixpkgs] @tricktron opened pull request #83506 → amazon-ecs-cli: 1.18.0 -> 1.18.1 → https://git.io/JvHPJ
philr has quit [Ping timeout: 240 seconds]
apeyroux has quit [Remote host closed the connection]
<clever> ratsclub: ls /etc/systemd/user
<bqv[m]> ok i think you have an acute case of pixies in the cpu
<ratsclub> it has been acting weird since I followed the manual as it worked at the first try but it wouldnt load my packages
<ottidmes> ratsclub: wait, so both return true, you rebuild, and its still not existing? did you try a rebuild boot and reboot for good measure?
<ratsclub> yes I did
<clever> ratsclub: does emacs.service exist in the above dir?
<ratsclub> yeah, it does exist
justanotheruser has quit [Ping timeout: 240 seconds]
<ratsclub> ok, now this is weird
<peelz_> oh yeah also whenever I activate a new build (nixos-rebuild switch), my X preferences get reset: https://github.com/LouisTakePILLz/nixconfig/blob/master/hosts/peelz-pc/configuration.nix#L308 -- not sure what causes that to get reset
<ratsclub> even with sudo it says emacs.service does not exist
learnday20 has quit [Remote host closed the connection]
<ottidmes> ratsclub: try absolute path?
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
<ratsclub> What do you mean?
cinimod has joined #nixos
<ottidmes> systemctl --user enable /etc/systemd/user/emacs.service (just brainstorming here, but who knows, maybe it works, since you said it does exists over there)
ratsclub33 has joined #nixos
<clever> ottidmes: enable will never work on nixos
<bqv[m]> so i was kinda right with the daemon-reload
evanjs has joined #nixos
ladfkjgad has quit [Ping timeout: 240 seconds]
<ratsclub> daemon-reload didn't work too
<clever> ratsclub: didnt work how?
<clever> ratsclub: did it error, or not do what you wanted?
<ottidmes> clever: I wondered about that, hardly have an experience with user services, but I got errors/warnings when I enabled, seemed to have an effect though, so I thought it worked regardless
<ratsclub> Failed to enable unit: File /home/ratsclub/.config/systemd/user/emacs.service already exists and is a symlink to /nix/store/ibaz5azw5fr4b2mwdpcnaiq72888iz3l-unit-emacs.service/emacs.service.
<ratsclub>
<clever> ratsclub: thats not an error daemon-reload can give
<ottidmes> clever: BTW how do they work on NixOS, cause some of my user services seemed to automatically start after installing NixOS
<ratsclub> clever: even after doing daemon-reload it says "emacs.service does not exist"
LysergicDreams has quit [Ping timeout: 265 seconds]
ATuin has quit [Ping timeout: 240 seconds]
<ratsclub> I have no idea what I'm doing wrong here I followed the manual as he told me to do
<clever> ottidmes: nixos will dynamically generate /etc/systemd/user to suit what is enabled
apeyroux has joined #nixos
LysergicDreams has joined #nixos
ratsclub33 has quit [Remote host closed the connection]
<ratsclub> I'll try a reboot again
ratsclub has quit [Remote host closed the connection]
<ottidmes> clever: must be a case of daemon-reload not being run then, why I thought I needed to enable them myself, thanks for the info :)
kenji_ has quit [Ping timeout: 240 seconds]
kenji has quit [Ping timeout: 250 seconds]
<ottidmes> clever: maybe you know, is it possible to define a system group without hardcoding an id? If I just remove the id, I get an error saying it is not within the system group range
ratsclub has joined #nixos
<ratsclub> yeah, no success
<ratsclub> I'll try #nixos-emacs
<ratsclub> Thank you so much for your time guys!
justanotheruser has joined #nixos
jbgi_ has quit [Ping timeout: 260 seconds]
<ottidmes> clever: nevermind that, think its an issue with one of my modules
organixpear has joined #nixos
<ottidmes> Yep, it was one of my own modules that had the assertion... well at least its fixed now
turbo_MaCk has joined #nixos
arahael2 has joined #nixos
<turbo_MaCk> Hi folks! I have a question - is GNU R (language interpreter) packaged in nixpkgs? Due to name its sort of difficult to search for
fenedor is now known as fendor
<evanjs> nix search ^r$ is one way of doing so
<evanjs> nixos.R (R) Free software environment for statistical computing and graphics
<turbo_MaCk> nix search ^r$ did not return any results for me
captjakk_ has quit [Ping timeout: 240 seconds]
<turbo_MaCk> anyway thanks evanjs! The attribute works
<ratsclub> ok so I removed all emacs.service by hand and did a rebuild switch and now it's working... I guess
<evanjs> turbo_MaCk: try giving it -u (e.g. `nix search ^r$ -u`) if it doesn't show up, anyhow
<bqv[m]> lol
<ottidmes> ratsclub: Great to hear, and thank you for reporting your solution, might be able to help someone later on :)
glittershark has quit [Ping timeout: 256 seconds]
<turbo_MaCk> evanjs: I did try to update index. It does return the nixos.R result for you?
<ottidmes> evanjs: I just tried nix search -u, followed by nix search hello, although it find some packages, I expected nixpkgs.hello to be there too, but its not
<ratsclub> ottidmes: It's not loading the packages I declared on my nix module but I'll keep trying and I'll report here later
captjakk_ has joined #nixos
v88m has joined #nixos
<evanjs> interesting. Yes, both of them work on mine haha
vandenoever has quit [Read error: Connection reset by peer]
<jared-w> evanjs: you'll need '^$' if you're using zsh. ^ does fun things on zsh.
<Dandellion> is there some a guide somewhere on how to use flakes?
ZoomZoomZoom has joined #nixos
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<gchristensen> Dandellion: you're aware they're not released or merged in to Nix, yeah?
raingloom has joined #nixos
<Dandellion> yeah
<bqv[m]> Dandellion: http://github.com/bqv/nixos
<Dandellion> I just want to experiment
<bqv[m]> i'm using them, they're fine
<turbo_MaCk> evanjs: I have an answer. It does indeed work in BASH but I'm using ZSH. I guess it escapes the regex or something
<evanjs> jared-w: interesting. powerlevel10k + ohmyzsh doesn't seem to treat ^$ and '^$' any differently
<bqv[m]> that repo is forked from a decent guide
<evanjs> strangew
ratsclub has quit [Remote host closed the connection]
<turbo_MaCk> nix search '^r$' <- this works in zsh as well
<evanjs> turbo_MaCk: yeah it's weird, works fine on my config but I'm using powerlevel10k + ohmyzsh so that might be related *shrugs*
<turbo_MaCk> jared-w: sorry I missed your mesage. You're right!
<evanjs> urk, anybody have experience debugging bcma stuffs? BT is acting weird on my BCM4352. But then I don't typically use it on here so I'm unsure if it's acting "abnormally"
<turbo_MaCk> evanjs: My zsh config is based on prezto
<{^_^}> [nixpkgs] @gnidorah opened pull request #83507 → test → https://git.io/JvHXs
<evanjs> like `bluetoothctl scan on` seems to return some results _eventually_... but doesn't give me a flood of devices like my laptop usually does
cole-h has joined #nixos
zaeph1 is now known as zaeph
<turbo_MaCk> evanjs: Do you have `agent on` and `default-agent` ?
plutes has joined #nixos
<evanjs> it does look like it was defaulted and on, yes
thinkingeye has quit [Quit: thinkingeye]
<evanjs> went through the NixOS wiki page, checking the Arch wiki now. Hrm
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs> argh wait I _do_ have a BT/Wifi card in my desktop, unsure what the laptop has -- https://wiki.archlinux.org/index.php/Network_configuration/Wireless#Bluetooth_coexistence
<turbo_MaCk> evanjs: I'm testing it on my machines. I have USB dongle on desktop and Thinkpad T480s. Thinpad is detecting devices while scan is on but desktop doesn't
<turbo_MaCk> Anyway I never had an issue with pairing the device and anything like that (except with XboxOne wireless controler which requires disable_ertm)
<{^_^}> [nixpkgs] @globin pushed commit from @flokli to release-19.09 « gitlab: 12.8.7 -> 12.8.8 »: https://git.io/JvHXo
<evanjs> *I'm using broadcom and didn't realize this was an option... networking.enableB43Firmware. Trying that after rebuild...
cosimone has joined #nixos
<evanjs> turbo_MaCk: and yeah never any issues on my laptop, but I don't typically use it on my desktop. Both have the same generic bt config so presumably it's something with the specific NIC on my desktop or etc
ratsclub has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #70610 → notion: 3-2019050101 -> 4.0.0 → https://git.io/JeC92
<{^_^}> [nixpkgs] @AndersonTorres pushed 3 commits to master: https://git.io/JvHX9
ZoomZoomZoom has quit [Ping timeout: 264 seconds]
<ratsclub> ottidmes: so I got it working. I removed all emacs.service files and put this on the service module: emacs = { install = true; package = import ./emacs.nix { inherit pkgs; }; defaultEditor = true; };
dermetfan has quit [Quit: WeeChat 2.7.1]
dermetfan has joined #nixos
<turion> ottidmes, kenji: I didn't realise from its documentation that niv can do that sort of thing. Thanks! I'll have a look again!
ratsclub has quit [Ping timeout: 265 seconds]
arahael2 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @garbas merged pull request #83489 → vimPlugins.BufOnly-vim: init at 2010-10-18 → https://git.io/JvH1k
<{^_^}> [nixpkgs] @garbas pushed commit from @matt-snider to master « vimPlugins.BufOnly-vim: init at 2010-10-18 »: https://git.io/JvH1I
<{^_^}> [nixpkgs] @garbas merged pull request #83483 → neon: 0.30.2 -> 0.31.0 → https://git.io/JvH1m
<{^_^}> [nixpkgs] @garbas pushed commit from @r-ryantm to staging « neon: 0.30.2 -> 0.31.0 »: https://git.io/JvH1Y
Bunogi has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
evanjs has joined #nixos
bvdw has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e8d490f4c1a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
evanjs has quit [Client Quit]
mananamenos has joined #nixos
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lsix has quit [Quit: WeeChat 2.7.1]
<mananamenos> hi, I'm tried to install nixos alongside windows 10 pc. It has efi partition, so during nixos installation i just create `mkdir -p /mnt/boot` and mount that efi partition there. Nixos installed, but now after rebooting window 10 directly loads up with no option to choose nixos. I tried ESC button for some boot menu but nothing. I hoped that would have worked. What have i done wrong?
<Yaniel> you probably have to go into UEFI settings to change the boot order and disable fastboot
evanjs has joined #nixos
<yorick> since 19.09, nixos-rebuild switch seems to be activating my systemd timer
<yorick> and I have no idea why
<yorick> it has OnActiveSec=20min
<Yaniel> yorick: there is a setting for auto-updating IIRC
<Yaniel> oh wait, you mean you have a timer that gets activated when you run nixos-rebuild switch
<yorick> yeah
<yorick> and it didn't in 19.03, and it's not supposed to
bvdw has quit [Quit: bvdw]
rardiol has joined #nixos
LysergicDreams has quit [Ping timeout: 265 seconds]
<Yaniel> switch does restart services though
captjakk_ has quit [Ping timeout: 256 seconds]
<yorick> this timer has X-RestartIfChanged=False
zarel_ has quit [Ping timeout: 260 seconds]
<evanjs> bluetooth hci0: Direct firmware load for brcm/BCM20702A1-0b05-17cf.hcd failed with error \n hci0: BCM: Patch brcm/BCM20702A1-0b05-17cf.hcd not found
<evanjs> trying with enableAllFirmware now
evanjs has quit [Client Quit]
realrokka has joined #nixos
<yorick> it happens after a systemctl reload
LysergicDreams has joined #nixos
<Yaniel> mm so probably something on the systemd side rather than nix-specific
<yorick> but it doesn't happen when I systemctl daemon-reload
<mananamenos> Yaniel: you answered to me? :) I don't think i saw those options in my bios
evanjs has joined #nixos
<Yaniel> mananamenos: yes, I vaguely remember seeing something about fastboot bypassing the part where you can choose the boot device
<Yaniel> also I don't think esc is usually a key you can use for that to begin with
<mananamenos> ok i am going to check once more
<evanjs> That was it :D
<Yaniel> you might have to do it from the windows side
<Yaniel> in fact you should disable fast booting in windows if you want to access the windows partition from nixos
<Yaniel> if windows "fast boot" is on, it won't shut down but just go into hibernate mode
<evanjs> to clarify: hardware.enableAllFirmware and maybe networking.enableB43Firmware to solve my BT issues in the end
<mananamenos> Yaniel: the way to disable fast boot is only through the bios ui right?
<Yaniel> I think so, I haven't done it myself though (my PC is too old for taht)
<Yaniel> but the windows fast boot is a separate thing
<Yaniel> you can find it in control panel under power options when you enable advanced options
turbo_MaCk has quit [Quit: WeeChat 2.7.1]
learnday20 has joined #nixos
learnday30 has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #83508 → [20.03] python2Packages.faulthandler: fix build → https://git.io/JvHMe
<mananamenos> ok thank you
mananamenos has quit [Remote host closed the connection]
<learnday30> hello, Iam getting this message arfter rebuild switch. has someone else seen similar? Thanks - removing obsolete symlink ‘/etc/sysctl.d/nixos.conf’...
<learnday30> error: cannot connect to daemon at '/nix/var/nix/daemon-socket/socket': Connection refused
chloekek has quit [Ping timeout: 265 seconds]
<evils> learnday30: sounds like issue #72372 does it occur if you rebuild again?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/72372 (by flokli, 21 weeks ago, open): Activation script snippet "nix" failed
<{^_^}> [nixpkgs] @flokli opened pull request #83509 → google-cloud-sdk: 281.0.0 -> 286.0.0 → https://git.io/JvHMk
<{^_^}> [nixpkgs] @minijackson opened pull request #83510 → maintainers: add githubId and GPG key for minijackson → https://git.io/JvHMI
<learnday30> evils: thank you i get it on rebuild switch, will rebuild again
<turion> Is there something like niv, but for custom built fetchers? (Like the fetcher I'm building for my append-only database)
<learnday30> evils: the error went away after rebuild switch. Thank!
learnday30 has quit [Remote host closed the connection]
learnday20 has quit [Remote host closed the connection]
snicket has quit [Ping timeout: 240 seconds]
<ottidmes> turion: that would be my nix-prefetch, it could be used to build that
<turion> ottidmes, ok, I'll focus on that then, thanks :)
<turion> Together with upfetch, I presume
<turion> I wonder how clever it will be when I create lists of derivations programmatically
<ottidmes> turion: if you want to go the way of using a json file, you could just use nix-prefetch with --output json, if you want some .nix file that already has all code in it, upfetch would be the way to go
<evils> what's the default value for hydraPlatforms? i'm trying to set it to [ ] on a certain condition but leave it unchanged otherwise
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83511 → python27Packages.filetype: 1.0.5 -> 1.0.6 → https://git.io/JvHMn
<turion> ottidmes: Ah, ok! So I'll try upfetch, and if it doesn't work, I can still create a JSON
<peelz_> if my system is hanging on boot and waiting for a systemd unit to timeout... do I have to wait for the entire 3mins or is there a way to skip it?
o1lo01ol1o has quit [Remote host closed the connection]
<peelz_> or do I have to boot into rescue mode?
<ottidmes> turion: I think for your use case upfetch won't work, unless you plan to generate a nix file
<turion> Ok I see
<turion> Guess that's fine. Until someone deletes a column in the database, then I probably need to delete the JSON and fetch everything again ;)
<{^_^}> [nixpkgs] @gnidorah closed pull request #83507 → mame: test → https://git.io/JvHXs
<ottidmes> peelz_: you can reduce the wait time, but its not interactive so you cant make it skip one, you will have to wait the full time
<peelz_> ottidmes: okay thanks!
<peelz_> you're always so helpful lol
<peelz_> ottidmes++
<{^_^}> ottidmes's karma got increased to 24
erictapen has joined #nixos
<ivegotasthma> ivegotasthma--
o1lo01ol1o has joined #nixos
<turion> Oh yes karma!
<turion> ottidmes++
<{^_^}> ottidmes's karma got increased to 25
<{^_^}> [nixpkgs] @vbgl opened pull request #83512 → coqPackages.paramcoq: 1.1.1 → 1.1.2 → https://git.io/JvHM9
zupo has joined #nixos
arahael2 has joined #nixos
pjt_014 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
erictapen has quit [Ping timeout: 250 seconds]
bvdw has joined #nixos
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @jonringer merged pull request #83484 → python3Packages.libfdt: fix python build → https://git.io/JvHDe
<{^_^}> [nixpkgs] @jonringer pushed commit from Tony Olagbaiye to master « python3Packages.libfdt: fix python build »: https://git.io/JvHDv
<{^_^}> [nixpkgs] @garbas merged pull request #83510 → maintainers: add githubId and GPG key for minijackson → https://git.io/JvHMI
<{^_^}> [nixpkgs] @garbas pushed commit from @minijackson to master « maintainers: add githubId and GPG key for minijackson »: https://git.io/JvHDI
snicket has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #83514 → [WIP] PHP: Make the default package more sane [v2] → https://git.io/JvHDq
<{^_^}> [nixpkgs] @etu closed pull request #82794 → [WIP] PHP: Make the default package more sane → https://git.io/JvXcw
<{^_^}> [nixpkgs] @jonringer merged pull request #83511 → python27Packages.filetype: 1.0.5 -> 1.0.6 → https://git.io/JvHMn
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.filetype: 1.0.5 -> 1.0.6 »: https://git.io/JvHD3
zupo has joined #nixos
<{^_^}> [nixpkgs] @snicket2100 opened pull request #83515 → firejail: local profile handling fixed → https://git.io/JvHDG
<{^_^}> [nixpkgs] @jonringer merged pull request #83500 → python.pkgs.doc8: add pygments dependency → https://git.io/JvHoN
<{^_^}> [nixpkgs] @jonringer pushed commit from @timokau to master « python.pkgs.doc8: add pygments dependency »: https://git.io/JvHDC
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvHD8
<{^_^}> [nixpkgs] @jonringer merged pull request #83490 → jellyfin-mpv-shim: 1.4.1 -> 1.4.2 → https://git.io/JvHaC
cinimod has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Quit: WeeChat 2.2]
<{^_^}> [nixpkgs] @jonringer merged pull request #83382 → [20.03] qgis: 3.10.1 -> 3.10.4 → https://git.io/JvSSq
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to release-20.03: https://git.io/JvHDo
abrar has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83372 → pythonPackages.quandl: 3.4.8 -> 3.5.0 → https://git.io/JvSPN
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.quandl: 3.4.8 -> 3.5.0 »: https://git.io/JvHDP
hellrazo1 is now known as hellrazor
<{^_^}> [nixpkgs] @timokau merged pull request #83119 → VimPlugins: update redirected repos → https://git.io/JvHDd
<{^_^}> [nixpkgs] @timokau pushed 9 commits to master: https://git.io/JvHDF
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #75877 → scons: Switch to Python 3 → https://git.io/Je5mR
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to staging: https://git.io/JvHDb
elux has joined #nixos
<elux> hi there
<elux> id like to install DataGrip on nixos, i see it has a build option here, https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/jetbrains/default.nix -- any suggestions how i can use this?
zupo has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83505 → python3Packages.matplotlib: remove propagated nose dep → https://git.io/JvHiM
<{^_^}> [nixpkgs] @jonringer pushed 5 commits to master: https://git.io/JvHyI
shor has quit [Ping timeout: 250 seconds]
mexisme has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/79ed9e6ebf1 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
zupo_ has joined #nixos
erictapen has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #83114 → gwyddion: 2.48 -> 2.55 (and add options) → https://git.io/JvHyZ
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvHyn
<elux> i just took a guess and tried to install pkg "jetbrains.datagrip" -- seeming to work
zupo has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #83349 → python37Packages.PyChromecast: 4.1.1 -> 4.2.0 → https://git.io/JvS4r
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.PyChromecast: 4.1.1 -> 4.2.0 »: https://git.io/JvHy8
ixxie has joined #nixos
snicket has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #83509 → google-cloud-sdk: 281.0.0 -> 286.0.0 → https://git.io/JvHMk
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JvHy6
<{^_^}> [nixpkgs] @Ma27 opened pull request #83516 → [19.09] matrix-synapse: 1.11.1 -> 1.12.0 → https://git.io/JvHyi
Heirlung has quit [Ping timeout: 265 seconds]
arahael2 has quit [Ping timeout: 252 seconds]
Heirlung has joined #nixos
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #83517 → wire-desktop: bump versions → https://git.io/JvHyy
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #83518 → python.pkgs.{tensorflow,tensorflow-estimator,tensorflow-tensorboard}-2: Init at 2.0.0 → https://git.io/JvHy9
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @yurrriq opened pull request #83519 → kubelogin: init at 0.0.2 → https://git.io/JvHyF
elux has quit [Quit: leaving]
chloekek has joined #nixos
<{^_^}> [nixops] @adisbladis opened pull request #1267 → Fix Mypy type errors in util.py → https://git.io/JvHSJ
<{^_^}> [nixpkgs] @grahamc pushed 6 commits to release-19.09: https://git.io/JvHSI
<{^_^}> [nixpkgs] @grahamc merged pull request #82831 → tailscale: init at 0.97-0 [backport 19.09] → https://git.io/JvX6L
snicket has joined #nixos
<dispersed> ldlework: i can work on it l8r today, tomorrow and sunday
<{^_^}> [nixops] @grahamc merged pull request #1267 → Fix Mypy type errors in util.py → https://git.io/JvHSJ
<{^_^}> [nixops] @grahamc pushed commit from @adisbladis to master « Fix Mypy type errors in util.py »: https://git.io/JvHS3
hmpffff_ has joined #nixos
<{^_^}> [nixpkgs] @flokli closed pull request #83517 → wire-desktop: bump versions → https://git.io/JvHyy
<{^_^}> [nixpkgs] @flokli merged pull request #82664 → wire-desktop: linux 3.12.2916 -> 3.15.2922, mac 3.12.3490 -> 3.15.3621 → https://git.io/Jvi7r
<{^_^}> [nixpkgs] @flokli pushed 4 commits to master: https://git.io/JvHSn
<Bunogi> Can I override the Rust package used in rustPlatform.buildRustCrate?
<{^_^}> [nixpkgs] @douglas opened pull request #83520 → solargraph: 0.38.0 -> 0.38.6 → https://git.io/JvHSC
hmpffff has quit [Ping timeout: 246 seconds]
T_S_ has joined #nixos
<T_S_> I hope everyone is feeling well today.
<T_S_> I am rebuilding (and fixing) all the R packages on darwin. Some of the errors are extremely common. Here's one...
<{^_^}> [nixpkgs] @flokli pushed 3 commits to release-20.03: https://git.io/JvHS2
<T_S_> ... /nix/store/3i8p0y0rfkmvc33sf94xg0sfc7jw462s-xvfb-run/bin/.xvfb-run-wrapped: line 159: mcookie: command not found
<ottidmes> Bunogi: you probably want to look at the mozilla rust overlay (should be in the Nixpkgs manual)
vandenoever has quit [Read error: Connection reset by peer]
<T_S_> xvfb is X windows related. Some sort of capability spoofing is needed for darwin. If anyone has seen this issue or has a pointer ...
<ottidmes> T_S_: mcookie is in utillinux, but yeah... linux, not sure what the story is about that on darwin, best to ask on #nix-darwin I think
o1lo01ol1o has joined #nixos
<srk> ,haskell
Acou_Bass has quit [Ping timeout: 264 seconds]
<T_S_> thanks ottidmes
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<evanjs> is there anything special I'd need to do to import musnix via niv?
snicket has quit [Ping timeout: 240 seconds]
raingloom has quit [Ping timeout: 240 seconds]
dermetfan has quit [Quit: WeeChat 2.7.1]
<Bunogi> ottidmes: Yeah, I have it imported into my package expression but you have to call a function to select the version you want and I'm not sure how to do that.
<Bunogi> https://pastebin.com/rTAS7LcL is the expression I'm working from right now
<Bunogi> I tried the line at 24 and it didn't crash but it still picked the wrong version
dermetfan has joined #nixos
excelsiora has joined #nixos
<excelsiora> hi #nixos
Acou_Bass has joined #nixos
<lordcirth_> hi!
<erictapen> excelsiora: hello ;)
Heirlung has quit [Ping timeout: 256 seconds]
Heirlung has joined #nixos
<energizer> in a `self: super:` situation, what does self refer to? is it nixpkgs? what values are available in it?
<qyliss> self refers to the final evaluation of Nixpkgs, after all overlays
<qyliss> have been applied
<cole-h> I think that's the reason people advocate for `final: super:` over `self: super:`
<qyliss> Indeed.
<simpson> future: past:
<ottidmes> last: prev: (so many ways you could go)
<T_S_> somebody thought this was python
<energizer> ok then why does self.urwid work, since there is no nixpkgs.urwid https://github.com/nix-community/poetry2nix/blob/master/overrides.nix#L638
<energizer> last and prev are synonyms :)
<cole-h> Not necessarily
<ottidmes> not really, sure last has one meaning in which it is synonyms
<ottidmes> its not that I was being serious though (and neither were you, I guess XD)
<cole-h> The last item in "a b c d" is "d", but the item "previous" to c is not "d"
<energizer> anyway, why does self.urwid work?
<T_S_> next: curr: ?
<ottidmes> energizer: as opposed to what?
<energizer> ottidmes: not working
<ottidmes> energizer: I get that, but when does it not work?
<energizer> ottidmes: there is no nixpkgs.urwid, so how does self.urwid work in that link if self refers to nixpkgs
<ottidmes> T_S_: well, if we go by list semantics, next does not really fit what it is
<ottidmes> energizer: first of, it seems to be a different package set than the top-level packages
arahael2 has joined #nixos
<cole-h> If it's using python3*Packages, then it would make sense that it works. urwid is in nixpkgs.python3{7,8}Packages
<ottidmes> energizer: secondly, pkgs in the module system equal the self in the nixpkgs.overlays, so that already tells you are not looking at the same thing
<ottidmes> Bunogi: I will soon work om some Rust code, so I will try and setup my Rust environment again, so once I am done I can show you what I did
<energizer> ottidmes: can you explain that more, i'm not sure what 'pkgs in the module system equal the self in the nixpkgs.overlays' means
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/fbdb1aea9b6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<energizer> if it doesn't refer to nixpkgs, what does it refer to? how can i find out?
meck has quit [Quit: ZNC 1.7.5 - https://znc.in]
markus1189 has quit [Ping timeout: 264 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #83431 → bibutils: 6.8 -> 6.10 → https://git.io/Jv9aI
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JvH94
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> energizer: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/misc/nixpkgs.nix#L231 is here the pkgs in the module system is defined, which is based on https://github.com/NixOS/nixpkgs/blob/master/default.nix by default
CptCaptain has quit [Ping timeout: 265 seconds]
<T_S_> when next == curr, we're done. but nobody likes to mention fixed points by name.
<{^_^}> [nixpkgs] @peti pushed 874 commits to haskell-updates: https://git.io/JvH9E
<ottidmes> energizer: so if you are interested you can follow the imports from there and you will see how nixpkgs comes to be, but at some point the overlays will be applied to the pkgs
meck has joined #nixos
erictapen has quit [Ping timeout: 240 seconds]
<energizer> alright
domogled has joined #nixos
xkapastel has joined #nixos
lovesegfault has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #82449 → [19.09] bluez: apply patches for CVE-2020-0556 → https://git.io/Jv6id
<{^_^}> [nixpkgs] @jonringer pushed commit from @bhipple to staging-19.09 « bluez: apply patches for CVE-2020-0556 »: https://git.io/JvH9S
zupo_ has joined #nixos
zupo_ has quit [Client Quit]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken packages »: https://git.io/JvHHT
<{^_^}> [nixpkgs] @timokau merged pull request #69130 → vimacs: init at 2016-03-24 → https://git.io/Je3Vu
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/JvHHt
Jackneill has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @herrwiese opened pull request #83521 → matrix-dl: init at (unstable-)2019-09-22 → https://git.io/JvHHY
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2020-03-27T01:22:37Z »: https://git.io/JvHHG
T_S_ has quit [Remote host closed the connection]
<ottidmes> Bunogi: do you still need help, if so, you're problem lies in only adding the overlay, that in itself does not overwrite the current rust version used, cause it will not know what version you might want, not everyone wants to have stable or vice versa for nightly
kenji has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #83039 → gnupg: 2.2.19 -> 2.2.20 → https://git.io/JvHHl
<{^_^}> [nixpkgs] @peti pushed 2 commits to staging: https://git.io/JvHH8
<Bunogi> ottidmes: I was able to figure it out in the end, I changed `buildRustPackage` to `buildRustPackage.override { rustc = rust-package-to-use; }` and then it worked. I tried that earlier but turns out I had to set rustc, not rust
kenji_ has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 16 commits to haskell-updates: https://git.io/JvHH4
lsix has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvHHz
<buckley310> does anyone know how, or where to start looking if i want my system to NOT change the resolution of my TTYs while booting? like nomodeset, except I still want xorg to be able to change res?
organixpear has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7401afc4287 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
chpatrick has quit [Quit: Connection closed for inactivity]
snicket has joined #nixos
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<betaboon> argh. allowUnfreePredicate makes me crazy again: I'm using `pkg: builtins.elem (lib.getName pkg) []` but for a specific package ("vivaldi") it doesnt work. any suggestions ?
kyren has quit [Quit: authenticating]
markus1189 has joined #nixos
kyren has joined #nixos
cosimone has quit [Quit: Terminated!]
<ottidmes> betaboon: how about trying to trace? I tried myself (just by passing pkgs.vivaldi) and the logic should work if you put "vivaldi" in the empty list
remirol has joined #nixos
W1lkins4 has joined #nixos
xelxebar has quit [Ping timeout: 240 seconds]
edcragg has quit [Ping timeout: 265 seconds]
xelxebar has joined #nixos
snicket_ has joined #nixos
Streetwalrus_ has joined #nixos
KeiraT has quit [Ping timeout: 240 seconds]
cartwright has quit [Ping timeout: 240 seconds]
CodeKiwi has joined #nixos
fiddlerwoaroof_ has joined #nixos
azdle has quit [Ping timeout: 265 seconds]
snicket has quit [Ping timeout: 240 seconds]
kaychaks has joined #nixos
bob_twinkles has quit [Remote host closed the connection]
azdle has joined #nixos
lassulus has quit [Ping timeout: 265 seconds]
cybrian has quit [Ping timeout: 265 seconds]
Phlogistique has quit [Ping timeout: 265 seconds]
cruxeternus has quit [Ping timeout: 265 seconds]
kgz has quit [Ping timeout: 265 seconds]
DigitalKiwi has quit [Ping timeout: 265 seconds]
inkOne_ has quit [Ping timeout: 265 seconds]
elibrokeit has quit [Ping timeout: 265 seconds]
Streetwalrus has quit [Ping timeout: 265 seconds]
fiddlerwoaroof has quit [Ping timeout: 265 seconds]
dweller has quit [Ping timeout: 265 seconds]
litschi has quit [Ping timeout: 265 seconds]
yorick has quit [Ping timeout: 265 seconds]
Streetwalrus_ is now known as Streetwalrus
edcragg has joined #nixos
v88m has quit [Read error: Connection reset by peer]
dominikh has quit [Read error: Connection reset by peer]
est31 has quit [Ping timeout: 240 seconds]
Guest70711 has quit [Read error: Connection reset by peer]
turion has quit [Ping timeout: 265 seconds]
never_released_ has quit [Ping timeout: 265 seconds]
lorimer has quit [Ping timeout: 265 seconds]
greymalkin has quit [Ping timeout: 265 seconds]
W1lkins has quit [Ping timeout: 265 seconds]
delroth has quit [Ping timeout: 265 seconds]
W1lkins4 is now known as W1lkins
kaychaks is now known as Guest24897
lemsip has joined #nixos
est has joined #nixos
cruxeternus has joined #nixos
<tokudan> as a general question: I've implemented a package request (https://github.com/NixOS/nixpkgs/issues/63335) with a module in my NUR repo. Does it make sense to try to get this into nixpkgs?
<{^_^}> #63335 (by matthiasbeyer, 40 weeks ago, open): [Package request]: WriteFreely
elibrokeit has joined #nixos
never_released has joined #nixos
dominikh has joined #nixos
delroth has joined #nixos
emilsp has quit [Read error: Connection reset by peer]
hmpffff has joined #nixos
dweller has joined #nixos
lassulus has joined #nixos
KeiraT has joined #nixos
greymalkin has joined #nixos
inkOne_ has joined #nixos
Phlogistique has joined #nixos
yorick1 has joined #nixos
cybrian has joined #nixos
litschi has joined #nixos
yorick1 is now known as yorick
bob_twinkles has joined #nixos
<betaboon> ottidmes: i tried to trace but i guess at the wrong location. any suggestion where to trace ?
erictapen has joined #nixos
hmpffff_ has quit [Ping timeout: 240 seconds]
cartwright has joined #nixos
kgz has joined #nixos
pingiun has quit [Quit: bye]
snicket_ has quit [Ping timeout: 240 seconds]
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 17 commits to haskell-updates: https://git.io/JvHQP
linarcx has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/JvHQX
<{^_^}> [nixpkgs] @jonringer opened pull request #83523 → onnxruntime: 1.1.2 -> 1.2.0 → https://git.io/JvHQD
sigmundv_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @jonringer merged pull request #83501 → lazygit: 0.16.2 -> 0.18 → https://git.io/JvH6f
<{^_^}> [nixpkgs] @jonringer pushed commit from @filalex77 to master « lazygit: 0.16.2 -> 0.18 »: https://git.io/JvHQ7
sigmundv_ has joined #nixos
lordcirth_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #83498 → antibody: 4.3.1 -> 6.0.0 → https://git.io/JvHoz
<{^_^}> [nixpkgs] @jonringer pushed commit from @filalex77 to master « antibody: 4.3.1 -> 6.0.0 »: https://git.io/JvHQA
<ottidmes> betaboon: guess you would do: pkg: builtins.elem (lib.traceValSeq (lib.getName pkg)) [ "vivaldi" ]
<{^_^}> [nixpkgs] @jonringer merged pull request #83496 → kodiPlugins.vfs-libarchive: 1.0.5 -> 1.0.6 → https://git.io/JvHra
<{^_^}> [nixpkgs] @jonringer pushed commit from @minijackson to master « kodiPlugins.vfs-libarchive: 1.0.5 -> 1.0.6 »: https://git.io/JvHQj
<{^_^}> [nixpkgs] @jonringer merged pull request #83487 → padthv1: 0.9.12 -> 0.9.13 → https://git.io/JvH7J
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « padthv1: 0.9.12 -> 0.9.13 »: https://git.io/JvH7U
<betaboon> ottidmes: i tried along those lines. doesnt print any trace :/
CodeKiwi is now known as DigitalKiwi
<{^_^}> [nixpkgs] @jonringer pushed commit from @douglas to master « solargraph: 0.38.0 -> 0.38.6 »: https://git.io/JvH7t
<{^_^}> [nixpkgs] @jonringer merged pull request #83520 → solargraph: 0.38.0 -> 0.38.6 → https://git.io/JvHSC
Darkmatter66 has joined #nixos
<Darkmatter66> HI
<ottidmes> tokudan: other than if something does not fit nixpkgs somehow (e.g. using import-from-derivation, patching prebuilt binaries when it could be source build) it don't see why not, go for it (no pun intended :P)
<Darkmatter66> I'm trying to build nixos mobile for xiaomi-lavender
<ottidmes> betaboon: let me try, so you just set that as opposed to allowUnfree = true; I presume?
<betaboon> ottidmes: yes
<tokudan> ottidmes, ok, I'll try to do that
<Darkmatter66> Is this the right irc channel for nixos mobile support?
<xfix> nice to see a very small queue on Hydra :)
<{^_^}> [nixpkgs] @jonringer merged pull request #80662 → pythonPackages.qiskit-aer: init at 0.4.1 → https://git.io/JvRkG
<{^_^}> [nixpkgs] @jonringer pushed commit from @drewrisinger to master « pythonPackages.qiskit-aer: init at 0.4.1 »: https://git.io/JvH7G
<xfix> i wonder if it can get to 0 before next mass rebuild
zupo has joined #nixos
* evils must work harder on getting kicad-unstable to build on hydra
hmpffff_ has joined #nixos
Darkmatter66_ has joined #nixos
<Darkmatter66_> Does mobile-nixos support booting from sdcard like postmarketos
<ottidmes> betaboon: I just tried on my system, allowUnfreePredicate = pkg: elem (getName pkg) [ "google-chrome" "unrar" "vista-fonts" "vivaldi" "vscode" "zerotierone" ]; and now it builds again. In other words, your nixpkgs config is likely not loading, where are you setting it?
hmpffff has quit [Ping timeout: 240 seconds]
apiccion has joined #nixos
Darkmatter66 has quit [Ping timeout: 264 seconds]
mgdm has joined #nixos
raingloom has joined #nixos
apiccion has quit [Quit: leaving]
<ottidmes> betaboon: I am curious, why use allowUnfreePredicate? You want to keep full control on what unfree software is being used? I felt 0 surprise seeing the list I ended up with (vivaldi is just there to test for you)
<mgdm> Hello. I'm running NixOS 19.09, and I tried to install nixos.tor-browser-bundle-bin, which looks for version 9.0.5 on the Tor project site but it's been removed in favour of 9.0.7. Is there a way I can fix this package locally to grab that version instead?
<evils> Darkmatter66_: i think most of the mobile-nixos discussion happens at #nixos-aarch64, you'll probably get a better SNR there
<betaboon> ottidmes: for some odd reason now it works oO
<Darkmatter66_> evils, ok thanks, will hop on there
<betaboon> ottidmes: yes i want to keep full control on what unfree stuff i got. I'm not so keen on having unfree binary stuff in my system that i dont know about
<betaboon> ottidmes: thanks for the assistance :D
<ottidmes> mgdm: easiest is to just use a locally pinned nixpkgs nixos-unstable and overwrite tor in an overlay
<mgdm> ottidmes: I've not done any of that before, is there a dummy's guide you might be aware of, or just the manual?
turion has joined #nixos
<xfix> mgdm: honestly, for tor-browser-bundle-bin, you don't want to use outdated versions
<mgdm> xfix: yeah, definitely
<ottidmes> mgdm: Alright, I am going to dump a few URLs that will help: https://nixos.wiki/wiki/FAQ/Pinning_Nixpkgs https://nixos.wiki/wiki/Overlays https://github.com/nmattia/niv
<mgdm> ottidmes: thank you!
<{^_^}> [nixpkgs] @peti merged pull request #83164 → Update Haskell package set to LTS 15.5 (plus other fixes) → https://git.io/JvDyp
<{^_^}> [nixpkgs] @peti pushed 10 commits to master: https://git.io/JvH7V
<{^_^}> [nixpkgs] @jonringer merged pull request #83486 → Steamrt update → https://git.io/JvH7r
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JvH7o
<{^_^}> [nixpkgs] @jonringer merged pull request #83506 → amazon-ecs-cli: 1.18.0 -> 1.18.1 → https://git.io/JvHPJ
<{^_^}> [nixpkgs] @jonringer pushed commit from Thibault Gagnaux to master « amazon-ecs-cli: 1.18.0 -> 1.18.1 »: https://git.io/JvH7P
devalot has quit [Remote host closed the connection]
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
growpotkin has joined #nixos
devalot has joined #nixos
<mgdm> Oh that's awesome, thanks
<ottidmes> mgdm: whoops, forgot something
v88m has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 10 commits to haskell-updates: https://git.io/JvH7p
<ottidmes> mgdm: edited it, I forgot to import the nixpkgs repo, untested, but I think it should work now
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/3be8b459e0b (from 23 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> [nixpkgs] @xfix opened pull request #83524 → tor-browser-bundle-bin: 9.0.6 -> 9.0.7 → https://git.io/JvH5f
<evils> i'm getting "cannot coerse a set to a string, at pkgs/stdenvv/generic/make-derivation.nix:191:11" (derivation name attribute creation), due to this line being moved there from the `let` block, https://git.io/JvH5J
<evils> s/coerse/coerce/
<xfix> can somebody look at https://github.com/NixOS/nixpkgs/pull/83524, this is a security update (should be also backported)
<{^_^}> #83524 (by xfix, 2 minutes ago, open): tor-browser-bundle-bin: 9.0.6 -> 9.0.7
<xfix> although i suppose i should wait for grahamcofborg-eval, oh well
<mgdm> ottidmes: shoudl that work if I put that in ~/.config/nixpkgs/overlays, or am I better putting it system-wide?
<ottidmes> evils: I think that is just the thing were attributes on mkDerivation are converted into env variables passed to the builder, I think you need to add it to passthru instead
turion has quit [Ping timeout: 256 seconds]
<ottidmes> mgdm: the example I gave only works system-wide, and I would personally put it system wide, but you could simplify it to make it work in ~/.config/nixpkgs/overlays if that is what you prefer
<evils> ottidmes: how would i then use the libraries in that derivation?
hmpffff has joined #nixos
<ottidmes> evils: its an attrset now, if you want to use it in your build script, you will have to convert it to a string somehow
<ottidmes> evils: nvm
<ottidmes> evils: just checked your source, you would want to put it in a let, no way around it really
<{^_^}> [nixpkgs] @drewrisinger opened pull request #83526 → pythonPackages.scikit-build: fix test bug on python3.8 → https://git.io/JvH5B
<ottidmes> evils: except maybe the passthru thing, let me check the exact way that goes again
<{^_^}> [nixpkgs] @mkg20001 opened pull request #83527 → WIP: xrdesktop packages & gnome-shell xrdesktop → https://git.io/JvH5R
<evils> ottidmes: something seems to be not failing if i use passthru and use it `with passthru;`
<{^_^}> [nixpkgs] @jonringer opened pull request #83528 → acme: fix darwin build → https://git.io/JvH50
hmpffff_ has quit [Ping timeout: 256 seconds]
<ottidmes> evils: so passthru is working for you? it was indeed just simply putting it in passthru (I wasn't so sure anymore about the naming)
<evils> ottidmes: not sure why the repl is still giving me kicad.libraries now though xD
<evils> or why base = callPackage isn't causing the same issue
<{^_^}> [nixpkgs] @jtojnar merged pull request #83403 → GNOME fixes → https://git.io/JvSdA
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to staging: https://git.io/JvH5z
<ottidmes> evils: cause that is what it is meant to do
red[evilred] has joined #nixos
<ottidmes> evils: if you just wanted to use libraries in your derivation, you should have used a let instead
<evils> i want hydra to build the libraries on their own
<ottidmes> evils: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/make-derivation.nix#L319-L324 (and removeAttrs above that removes it from the environment creation process)
bridge[evilred] has joined #nixos
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JvH5a
<ottidmes> evils: then why not create it as its own package set and have that set be marked with pkgs.recurseIntoAttrs, so it as seen as a subset of packages?
<evils> because no one needs kicad.libraries.i18n on its own
<mgdm> ottidmes: sorted, thanks very much
<evils> ottidmes: i may have misread that, the libraries should be a package set under kicad., right?
<{^_^}> [nixpkgs] @ngiger opened pull request #83529 → borgbackup: Improve documentation → https://git.io/JvH5w
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #nixos
<ottidmes> evils: I have no idea what you are really trying to accomplish, so there is definitely no "should be". I just responded to your questions, cause you seemed to not want to have it in a let, I told you the only way I know of to have it in mkDerivation
Shoadi has joined #nixos
<evils> ottidmes: the ultimate goal is to have kicad-unstable.base built by hydra
pluplog has quit [Remote host closed the connection]
<evils> atm i'm assuming that hydra builds whatever's discoverable via the repl, which `base` and `libraries` aren't if they're in the `let` block
knupfer has quit [Ping timeout: 240 seconds]
FRidh2 has quit [Quit: Konversation terminated!]
zaeph1 has joined #nixos
<ottidmes> evils: I have no experience with that, but I think you might want to look at outputs and moveToOutput, anyway try to look at other packages that support such a structure
<evils> ottidmes: i haven't found anything that looks remotely comparable xD
<ottidmes> evils: naively I would say using passthru and setting passthru.recurseForDerivations = true; might work, but this is just guess work
zaeph has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @xfix opened pull request #83530 → lib.licenses: Add Unicode Terms of Use → https://git.io/JvH5x
<evils> ottidmes: it seems like simply putting `passthru.` in front of `libraries =` on that linked line fixed everything
<evils> which feels like too simple a solution xD
<ottidmes> evils: I think it is, cause you assume that because you can access it through the repl that hydra can discover it, but that's not how it works. It might actually just work for passthru in that it is a special case, but in general any nested structures are ignored by hydra unless marked with recurseForDerivations
<{^_^}> [nixpkgs] @jonringer merged pull request #83508 → [20.03] python2Packages.faulthandler: 3.1 -> 3.2 and fix build → https://git.io/JvHMe
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to release-20.03: https://git.io/JvH5h
<ottidmes> evils: if it does not work for you I can only suggest to check for recurseForDerivations, it shows a few packages (aside for true package sets, like haskellPackages) that use it and thus seem to have the nested structure you want
<{^_^}> [nixpkgs] @xfix closed pull request #83530 → lib.licenses: Add Unicode Terms of Use → https://git.io/JvH5x
<evils> so i could add a kicad-components entry in all-packages.nix, but there's no reason to have that be discoverable with nix-search, and i'm not finding how to implement a package set
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos
<ottidmes> evils: a package set is just what I said, any attrset with recurseForDerivations = true; will be considered as such
turion has joined #nixos
<{^_^}> [nix] @edolstra pushed 3 commits to flakes: https://git.io/JvHd8
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/97d3d1ec7fc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @xfix opened pull request #83531 → lib.licenses: Add Unicode License Agreement for Data Files and Software → https://git.io/JvHdE
<evils> ottidmes: so sounds like i should passthru libraries, (yet somehow not base), and set recurseForDerivations to true, so hydra will build the component derivations?
zaeph1 is now known as zaeph
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « zita-at1: init at 0.6.2 »: https://git.io/JvHdr
<ottidmes> evils: thinking some more about it, that idea was indeed to naive, cause that would make the derivation itself considered a package set, but only those in passthru should be considered as such
<ottidmes> evils: better to look at other examples, looking at multi output and others that use recurseForDerivations/recurseIntoAttrs, to see if you see one that matches your general structure and copy what they are doing
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/64a3ccb852d (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
knupfer has joined #nixos
<sshow> I don't think it's smart that unbound automatically enables `networking.resolvconf.useLocalResolver = mkDefault true;`. Any thoughts on this?
<sshow> If you only use unbound for forwarding from localhost, it makes sense, but when you're using it to e.g. serve another subnet, it's not intuitive that it overwrites resolv.conf with 127.0.0.1
<{^_^}> [nixpkgs] @LnL7 opened pull request #83532 → Revert "luaPackages.luv: 1.30.0-0 -> 1.34.1-1" → https://git.io/JvHdQ
<ottidmes> sshow: one way to solve that would be to change the module to not have any defaults, requiring an explicit choice of the user, prevent unexpected surprises
<evils> ottidmes: do you know of a way to test if hydra will build an attribute?
turion has quit [Ping timeout: 256 seconds]
jlv has joined #nixos
<jlv> Is there an installation media for 20.03 yet?
<jlv> evils: only the minimal installation media?
<jlv> evils: thank you :)
<ottidmes> evils: AFAIK it will take pkgs and loop over all of them and try to build them and if it is not a derivation but an attrset, check for recurseForDerivations and recurse into that attrset, repeat
<sshow> ottidmes: are you suggesting I make a PR? or am I misunderstanding? I was looking to get a discussion -- to see if I'm the one with strange thoughts about this :)
<ottidmes> sshow: I agreed with your sentiment and gave a suggestion on how it could be solved, that's all
kenji_ has quit [Ping timeout: 240 seconds]
<sshow> ottidmes: cool :)
shor has joined #nixos
<ottidmes> sshow: I have my share bit of surprises and would rather have an error thrown at me about it, that I myself have to make some choice, than to figure out some default was at fault
kenji has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @bhipple merged pull request #83277 → mkl: 2019.5.281 -> 2020.0.166 (Linux only) → https://git.io/Jvy9X
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvHF8
<sshow> ottidmes: yeah, I agree. I was like googling for "resolvconf overwritten localhost nixos". Lucky me for suspecting unbound eventually :P
growpotk- has joined #nixos
captn3m0 has quit [Ping timeout: 256 seconds]
captn3m0 has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #83533 → mkl: 2019.5.281 -> 2020.0.166 (Linux only) → https://git.io/JvHFB
<evils> ottidmes: so kicad and kicad-unstable are wrappers that bring tie together the base package and the libraries, optimally, i'd have the wrappers and libraries.packages3d not built by hydra, and everything else build by hydra
<evils> i'm not seeing a way to get something built by hydra without the entry in all-packages.nix being built
<ottidmes> evils: Hopefully someone with some more hydra knowledge can help you out, since I don't host one myself
<{^_^}> [nixpkgs] @jonringer merged pull request #83359 → python3Packages.dipy: init at 1.1.1 → https://git.io/JvSgx
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.dipy: init at 1.1.1 »: https://git.io/JvHF2
growpotk- has quit [Ping timeout: 264 seconds]
<evils> ottidmes: yea, seems like hydra know-how is scarce
<evils> but thanks for your help so far, ottidmes++
<{^_^}> ottidmes's karma got increased to 26
<{^_^}> [nixpkgs] @mmilata opened pull request #83534 → libosinfo: 1.6.0 -> 1.7.1, osinfo-db-tools: 1.6.0 -> 1.7.0, osinfo-db: 20200214 -> 20200325 → https://git.io/JvHFo
<{^_^}> [nixpkgs] @Elyhaka opened pull request #83535 → wofi: fix paste.sr.ht variable hashes for patch → https://git.io/JvHFP
Mrmaxmeier has joined #nixos
<{^_^}> [nixpkgs] @jonringer closed pull request #70311 → [staging]texinfo: 6.5 -> 6.7 → https://git.io/Jec8r
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/64a3ccb852d (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
dustinm has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83126 → cinnamon.mint-y-icons: init at unstable-2020-03-21 → https://git.io/JvHFA
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvHFx
<{^_^}> [nixpkgs] @zowoq opened pull request #83536 → buildah: 1.14.4 -> 1.14.5 → https://git.io/JvHFp
LysergicDreams has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #81207 → ulauncher: 4.4.0.r1 -> 5.6.1 → https://git.io/Jvzag
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvHbL
ZaraChimera has joined #nixos
LysergicDreams has joined #nixos
dustinm has joined #nixos
<sshow> ottidmes++
<{^_^}> ottidmes's karma got increased to 27
LysergicDreams has quit [Ping timeout: 240 seconds]
chloekek has quit [Ping timeout: 265 seconds]
FrenchMS has joined #nixos
bhipple has joined #nixos
erictapen has quit [Quit: leaving]
FrenchMS is now known as Unactive
<{^_^}> [nixpkgs] @puzzlewolf opened pull request #83537 → line-awesome: init at 1.3.0 → https://git.io/JvHbB
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jumper149 has joined #nixos
Shoadi has quit [Remote host closed the connection]
<bhipple> worldofpeace: I think it'd be a good idea to make the link to the latest 20.03 Hydra evaluations at the top of https://github.com/NixOS/nixpkgs/issues/80379
<{^_^}> #80379 (by worldofpeace, 5 weeks ago, open): ZERO Hydra Failures 20.03
<bhipple> e.g., at the very top put a section that says "CURRENT STATUS: https://hydra.nixos.org/jobset/nixos/release-20.03"
__monty__ has quit [Ping timeout: 240 seconds]
LysergicDreams has joined #nixos
edef is now known as edef_
edef_ is now known as edef
nek0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
nek0 has joined #nixos
maddo has quit [Quit: See ya]
<Unactive> Hello ! I have been trying out NixOS for a very little amount of time, so I'm really a noob. I've been wondering how I could use a custom font, as in, my own modified version, on NixOS. Specifically, should I add it in a specific folder? the one related to Fontconfig? should I then add this path to fonts.fonts? And then how would I go about still
<Unactive> keeping this configuration as reproducible as possible?
philr has joined #nixos
<Valodim[m]> Unactive: you can have custom fonts in your home directory like on any other distro, that's probably the easiest option
<Valodim[m]> you can also package your font, in that case it's probably easiest to pick any other packaged font and work from there
<Unactive> I would like to use it in various places (mainly terminal emulator and status bars). After I put it in a given directory I just add its path to fonts.fonts and I will be able to use it elsewhere in Nix configurations?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83538 → python27Packages.fire: 0.2.1 -> 0.3.0 → https://git.io/JvHbh
<nilsirl[m]> I set `documentation.dev.enable = true`, however, for example, if I run `man strlen` I don't get the libc library. Is there anything I am missing?
<nilsirl[m]> Is there another package I should install?
lsix has quit [Ping timeout: 256 seconds]
<nilsirl[m]> Okay, I forgot the manpages package
bukkitgerman86 has quit [Quit: Ping timeout (120 seconds)]
LysergicDreams has quit [Ping timeout: 252 seconds]
bukkitgerman86 has joined #nixos
rogue_koder has joined #nixos
rogue_koder_ has quit [Remote host closed the connection]
ZaraChimera has quit [Read error: Connection reset by peer]
kleisli__ has quit [Ping timeout: 265 seconds]
<hpfr[m]> looks like valve put out a bunch of changes for steam on linux https://old.reddit.com/r/linux_gaming/comments/fq0bdk/valve_have_a_new_beta_installer_for_the_linux/
LysergicDreams has joined #nixos
<worldofpeace> bhipple: in "How to help" step 1 is that exact link
justanotheruser has quit [Ping timeout: 252 seconds]
<bhipple> Yeah, I see it there, but for newcomers or repeat visitors it might be useful to have a "Current Status" badge/link (maybe, dunno)
<evils> i do find myself searching for that link when i'm on that page...
<bhipple> Yeah I know where the link is, but that's the one link that I really want to visit repeatedly, and right now it sometimes takes me upwards of 5-10 seconds to find it (the horror!)
<bhipple> I'd swap the "How to Help" and "How many failing jobs are there" sections, perhaps
<{^_^}> [nixpkgs] @adisbladis pushed to release-20.03 « poetry2nix: 1.6.1 -> 1.7.0 »: https://git.io/JvHNn
bhipple has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis pushed to master « poetry2nix: 1.6.1 -> 1.7.0 »: https://git.io/JvHNC
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83539 → python37Packages.minidb: 2.0.2 -> 2.0.3 → https://git.io/JvHN8
jlv has quit [Remote host closed the connection]
lsix has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « x42-autotune: init at 0.6.1 »: https://git.io/JvHNE
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @romildo merged pull request #83495 → freeoffice: 974 -> 976 → https://git.io/JvHw9
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JvHNK
<worldofpeace> ,tell bhipple I've updated ZHF to have links to all the jobsets at the very top
<{^_^}> worldofpeace: I'll pass that on to bhipple
bhipple has joined #nixos
justanotheruser has joined #nixos
bukkitgerman86 has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman86 has joined #nixos
Rusty1 has quit [Remote host closed the connection]
erasmas has quit [Quit: leaving]
knupfer has quit [Remote host closed the connection]
organixpear has joined #nixos
bhipple has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @stigok opened pull request #83540 → unbound: don't implicitly enable local resolver in resolvconf → https://git.io/JvHAk
bhipple has joined #nixos
<{^_^}> [nixpkgs] @ZerataX opened pull request #83541 → xaver.clang-format init at 1.9.0 → https://git.io/JvHAL
<worldofpeace> bhipple: Updated ZHF with links to jobsets
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a6f3555ccb0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<cole-h> <3 worldofpeace
<{^_^}> worldofpeace's karma got increased to 82
<jared-w> Pretty sure pipeline debugging is the only thing left that gets me to write stuff like "plz" or "k" as my git commit
johnjay has quit [Ping timeout: 265 seconds]
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #83542 → ion: 1.0.5 -> unstable-2020-03-22 and fix build → https://git.io/JvHA9
* danderson taps the watchglass on the 19.09 channel watermark
<danderson> come on boy, advance!
<cole-h> :P
<bhipple> Just go to 20.03 :D
<{^_^}> bhipple: 22 minutes, 41 seconds ago <worldofpeace> I've updated ZHF to have links to all the jobsets at the very top
<danderson> oh hey, it... did?... Hmm, when was that...
dhess_ is now known as dhess
<bhipple> danderson: https://status.nixos.org/grafana/d/LhIq8iLWk/channel-updates shows when for each channel
<danderson> bhipple: right, I had that open and noticed it _did_ advance a few hours ago
<danderson> now trying to figure out "is the change I wanted in that, or am I waiting for the next train"
lsix has quit [Quit: WeeChat 2.7.1]
johnjay has joined #nixos
tA_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83543 → python27Packages.flaskbabel: 0.12.2 -> 1.0.0 → https://git.io/JvHxv
<bhipple> worldofpeace: are there any ZHF / Hydra scripts/metrics/queries to run to answer a question like "this broken package blocks X other packages" and sort by X?
la_tihei has quit [Ping timeout: 265 seconds]
<bhipple> wondering if there are any systemic ones lurking t hat would be extra valuable to fix, or if it makes sense to just pick ones pseudo-randomly based on interest one-at-a-time
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @pacien opened pull request #83545 → gscan2pdf: 2.6.3 -> 2.6.5 → https://git.io/JvHxT
o1lo01ol1o has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
o1lo01ol_ has quit [Ping timeout: 256 seconds]
bvdw has joined #nixos
domogled has quit [Quit: domogled]
zebrag has joined #nixos
inkbottle has quit [Ping timeout: 256 seconds]
devalot has quit [Quit: ZNC - http://znc.in]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
dingenskirchen1 is now known as dingenskirchen
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83546 → python27Packages.mayavi: 4.7.0 -> 4.7.1 → https://git.io/JvHxV
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/99a2467722d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @adisbladis pushed to release-20.03 « poetry2nix: 1.7.0 -> 1.7.1 »: https://git.io/JvHxo
<{^_^}> [nixpkgs] @adisbladis pushed to master « poetry2nix: 1.7.0 -> 1.7.1 »: https://git.io/JvHxi
devalot has joined #nixos
o1lo01ol1o has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<deni> Anyone know if this is this still considered a good approach: https://elvishjerricco.github.io/2018/06/24/secure-declarative-key-management.html
<deni> I quote like pass and I'm fine with using it but I was wondering if there are new approaches perhaps?
<deni> I assume this is a bit date as well since I'm getting an error saying unknown setting 'extra-builtins-file'
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
mniip_ is now known as mniip
<elvishjerricco> deni: Nothing newer that I know of. I'm still using the technique of that blog post
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<deni> elvishjerricco: thanks for the blog post..I quite enjoyed it!
<elvishjerricco> deni: If you're getting `unknown setting 'extra-builtins-file` then you didn't read the whole article ;)
<{^_^}> [nixpkgs] @lopsided98 opened pull request #83547 → proj: use pname instead of name → https://git.io/JvHx7
<deni> elvishjerricco: hm I read it a couple of times.... but I suspect this might have something to do with the fact that I'm running nix and nixops from Debian to deploy to a nixos machine
<deni> it's not uncommon for me to stumble upon edge cases like this
<elvishjerricco> deni: `extra-builtins-file` comes from the `nix-plugins` package, as described in the blog post
<deni> indeed.. which means that me putting it in my configuration.nix of the machine I'm deploying to has no effect what so ever since my "local" nix on Debian is the one that needs it
<{^_^}> [nixpkgs] @adisbladis opened pull request #83548 → nixops2Unstable: init at 1.8.0 → https://git.io/JvHxd
<deni> right?
<{^_^}> [nixpkgs] @orivej-nixos pushed 3 commits to master: https://git.io/JvHxA