worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<dxtr> How do I generate the sha256 that pkgs.fetchpatch expects?
<clever> dxtr: simplest option is to just have nix generate it
<clever> ,tofu
<cole-h> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<cole-h> clever: Too fast for me haha
chagra has quit [Ping timeout: 256 seconds]
<clever> cole-h: :D
chagra has joined #nixos
butcher_ has joined #nixos
smatting has quit [Ping timeout: 246 seconds]
<dxtr> hmm
<dxtr> How do I clean up a failed nixos-rebuild switch --upgrade?
<clever> dxtr: how did it fail?
<dxtr> The patch that I am providing didn't apply to the new kernel
<dxtr> And now it won't re-download the patch because it already did it once
<dxtr> So I can't update the checksum and it's still using the old patch
<clever> dxtr: if you claim the sha256 is the same, it will believe you, and not bother to re-download the file
<clever> dxtr: use a different sha256
<dxtr> oh
smatting has joined #nixos
<dxtr> yay it's building
ex-parrot has joined #nixos
<dxtr> Maybe I should run upgrade more often :P
<dxtr> This is gonna take forever
<ex-parrot> hello all. I'm looking at the existing powerdns derivation and I'd like it to run powerdns as a different user. currently it forces it to run as "nobody", what's the most elegant way to change that behaviour?
<ex-parrot> I can override systemd.services.pdns.serviceConfig.ExecStart but I don't think I can access the value of the configDir variable that needs to be interpolated in to that
<clever> ex-parrot: simplest option then is to edit the module
<ex-parrot> thanks
<clever> ex-parrot: this would let you disable the copy in nixpkgs, then use a copy from your /etc/nixos dir
<ex-parrot> perfect, exactly what I want
<ex-parrot> and when I've got it working nicer I'll PR it back in to nixpkgs :)
<clever> perfect!
<ex-parrot> I am still getting the hang of knowing what terminology I need to look up to achieve a particular outcome
<aanderse> ex-parrot: which module? powerdns or pdns-recursor... or?
<ex-parrot> just the powerdns module
<aanderse> it isn't run as "nobody"
<ex-parrot> it's a very basic module, but its systemd config seems to have diverged somewhat from upstream
<ex-parrot> --setuid=nobody and --setgid=nobody
<aanderse> ahh i missed that bit
<aanderse> yeah ok
<aanderse> shouldn't be doing that
<aanderse> awesome you're going to fix it :D
<ex-parrot> which is fine if your PowerDNS install is readonly
<ex-parrot> but if you use e.g. the sqlite backend, it won't work
<ex-parrot> mm, I'll bring it up to date with the current upstream suggested systemd config
<aanderse> oh goodness ... `after = ["network.target" "mysql.service" "postgresql.service" "openldap.service"];`
pbb has quit [Ping timeout: 246 seconds]
<aanderse> that isn't great :|
<ex-parrot> that is actually how upstream does it too
vidbina has quit [Ping timeout: 258 seconds]
proofofkeags has joined #nixos
<ex-parrot> really this module should probably have more configurable dependencies, as most people won't be using all those backends at the same time
<aanderse> mhm
pbb has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/6958957214b (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<clever> ex-parrot: ive been fine using just plain old bind
<ex-parrot> upstream also no longer recommends chroot
<clever> ex-parrot: systemd also has chroot-like isolation built into it
<ex-parrot> clever: yeah the bind backend works fine, though I'm migrating an existing sqlite setup
<ex-parrot> and I'd run in to the same problem as soon as I try and slave a zone now, even with the bind backend
hlisp has joined #nixos
<clever> ex-parrot: dynamic updates?
<monokrome> ,locate mailx
<ex-parrot> right
<{^_^}> Found in packages: posix_man_pages
<clever> ah, ive not bothered with them
<monokrome> lolwat
<clever> all of my dns is static and i need a `nixops deploy` to update
<ex-parrot> mmm tidy
<{^_^}> [nixops] @tewfik-ghariani opened pull request #1339 → Fixing info for commandOutput resource → https://git.io/JfCtq
<ex-parrot> this server is downstream from some other servers
<ex-parrot> so it needs to TSIG AXFR them etc
* ex-parrot -> lunch
MmeQuignon has quit [Ping timeout: 246 seconds]
hlisp has quit [Remote host closed the connection]
<monokrome> nixos-infect is dope
hlisp has joined #nixos
<clever> monokrome: have you tried kexec?
<monokrome> nope
<monokrome> wait is that the thing that runs kernels inside kernels?
<monokrome> if so then like 10 years ago :D
<clever> monokrome: it replaces the live kernel
<monokrome> ok then yeah
<Raito_Bezarius> i'm trying to chmod stuff in /home/***
<Raito_Bezarius> i tried stringAfter ["users"] & activationScript
<clever> Raito_Bezarius: chmod -R
<monokrome> Is that how nixos-infect works?
<clever> monokrome: i have a nix expr, that will let you launch nixos with kexec
<Raito_Bezarius> clever: I don't think I'm bitten by that
codygman has quit [Ping timeout: 272 seconds]
<clever> monokrome: nixos-infect works differently, and has some limitations
<monokrome> well that's cool
<Raito_Bezarius> I'm seeing *some* chmod/chown
<Raito_Bezarius> but some of them are erased
<Raito_Bezarius> like chmod 701 /home
sigmundv_ has quit [Remote host closed the connection]
<monokrome> clever: Once I reboot, is there still cruft from the old OS laying around?
<clever> monokrome: nixos-infect is limited to using the existing fs and partition layout, and the old OS lands in /old-root/ after reboot
<monokrome> ah
<monokrome> so if I delete /old-root/, no extra cruft?
<Raito_Bezarius> clever: do you know if there is something beyond https://github.com/NixOS/nixpkgs/blob/ae94e8923240f7ff7e82abf4783ef4318b8c4464/nixos/modules/config/users-groups.nix#L535 which touch user/groups?
codygman has joined #nixos
<clever> monokrome: but with kexec, you just upload a tar, and run 2 shell commands, and boom, its now running nixos from a ramdisk
<clever> monokrome: correct
<monokrome> seems nice
<clever> monokrome: and once your in that nixos ramdisk, you can just format the disk and install as normal
sigmundv_ has joined #nixos
<monokrome> what's the limitation?
smatting has quit [Ping timeout: 264 seconds]
<monokrome> clever: kexec will let me unlock the root disk and repartition it?
<clever> monokrome: kexec can be tricky to use when the server cant dhcp, and if you make any mistakes during the install, it can leave the server unable to boot
<clever> monokrome: yeah
<monokrome> oh that's awesome
hlisp has quit [Remote host closed the connection]
<monokrome> this reminds me that I need to get KVM working... DMESG says my bios won't allow it :D
<clever> monokrome: kexec doesnt need kvm
<monokrome> yeah, I know :D
<monokrome> reminded me of it though
<clever> monokrome: my kexec script also includes the justdoit script, which can install your entire os in 1 command, once configured right
<monokrome> =^.^=
<monokrome> w/ userdata scripts?
<clever> monokrome: the entire config is baked into the tar file
<monokrome> Yeah, so it can use cloud-config to do it then?
<clever> monokrome: it could be modified to do that
<monokrome> ah cool
<colemickens> kexec seems easier than involving cloud-config, imo
<monokrome> I think cloud-config can receive a tar file containing scripts
<monokrome> colemickens: separate things
<colemickens> I know
<colemickens> I hate cloud-config.
<clever> monokrome: in this case, the kexec tar contains the entire os, and a single shell command will reboot into it
<monokrome> Like, w/ cloud-config you can launch a ubuntu server that initiates a nixos reinstall on boot w/out direct user access...
<colemickens> I know. cloud-config is one of the worse things I've ever had to interact with.
<colemickens> I had to support service outages because of it.
<monokrome> ok?
<colemickens> Sorry. I'm not contributing anything useful.
alp has quit [Ping timeout: 240 seconds]
<monokrome> something has to run the kexec :P
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfCt2
* colemickens agrees
leo60228 has joined #nixos
<clever> monokrome: for aws, i was thinking you just generate an AMI with the same kernel/initrd and grub
<leo60228> is there a reason dpkg doesn't add to unpackCmdHooks like unzip and p7zip do?
<monokrome> Doesn't AWS have official AMIs for NixOS?
<clever> monokrome: slightly modified to get ssh keys from the aws api
<clever> monokrome: my problem with the official nixos AMI, is that it is never the same nixpkgs rev that i am deploying with nixops
<clever> monokrome: so it will always double in disk usage on the first deploy, and likely need a reboot to update the kernel
morgrimm has joined #nixos
<monokrome> >.<
* monokrome is just about to try to learn nixops again
<clever> monokrome: its pretty simple
<clever> monokrome: run `nixops create -d house deployments/house.nix` to make a deployment, then `nixops deploy -d house` to deploy it
<clever> monokrome: nixops will ssh into every machine (IP's on lines 12 and 16), and force it to run a new build of nixos, which comes from nas.nix and router.nix
<clever> if you want to keep things simple, just treat nas.nix like a configuration.nix file, and your done
<monokrome> clever: Ah, it doesn't launch machines for you?
<monokrome> Just manages ones you already launched?
<clever> monokrome: this is the "none" backend that uses pre-existing hw
<clever> monokrome: but if you use another backend like ec2, it can launch machines for you
<monokrome> oh cool
<leo60228> if you don't want to use nixops it looks like you can import <nixpkgs/nixos/maintainers/scripts/ec2/amazon-image.nix> and get an AMI from config.system.build.amazonImage
<clever> monokrome: if using a backend, you basically just set `deployment.targetEnv = "ec2";` and then give nixops some keys (many ways), and your done
fabianhjr has joined #nixos
fabianhjr has quit [Max SendQ exceeded]
m0rphism has joined #nixos
fabianhjr has joined #nixos
philr has joined #nixos
<monokrome> clever: What kind of NAS do you use? I've been trying to find a case for one but they're expensive =^.^=
<monokrome> My NAS is a Drobo5N but wanting to make one w/ NixOS
fabianhjr has quit [Ping timeout: 244 seconds]
<clever> monokrome: my nas is just a random x86 motherboard in a case, with a heap of sata disks in it
Fare has quit [Ping timeout: 246 seconds]
<clever> monokrome: the motherboard also came with hdmi out onboard, so its also acting as a plex frontend
ultranix` has quit [Ping timeout: 256 seconds]
<monokrome> clever: so would your script let me install NixOS over my current Ubuntu?
<clever> monokrome: yeah
<monokrome> cool :o
<monokrome> That's what I want my NAS to be too
<monokrome> right now I have an intel NUC that uses my DROBO5N over NFS
<monokrome> I don't think the Drobo has the hardware to do the transcoding live TV / DVR stuff though
morgrimm has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87309 → python27Packages.cvxopt: 1.2.4 -> 1.2.5 → https://git.io/JfCqn
thc202 has quit [Ping timeout: 260 seconds]
<monokrome> cases w/ a lot of HDD slots are expensive though
<clever> monokrome: one min...
fabianhjr has joined #nixos
<exarkun> I am so so so confused. I have a project where `src = ./.;` and ./. is a git checkout and ... some ... source files that end up in result are not from the git checkout, they're from an older revision of the repo
<clever> exarkun: can you pastebin the expr?
<monokrome> looks out of stock unfortunately
<monokrome> but also need more discs >.<
proofofkeags has quit [Remote host closed the connection]
<clever> monokrome: which files are out of date?
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #87306 → python27Packages.javaproperties: 0.5.2 -> 0.7.0 → https://git.io/JfCIT
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.javaproperties: 0.5.2 -> 0.7.0 »: https://git.io/JfCqB
<exarkun> clever: Guessing that was for me. src/_zkapauthorizer/controller.py is the that's been confusing me for hours now.
proofofkeags has joined #nixos
<exarkun> clever: I think src/_zkapauthorizer/tests/test_controller.py is as well
<clever> exarkun: how are you checking that its older?
<{^_^}> [nixpkgs] @jonringer merged pull request #87305 → python27Packages.grequests: 0.4.0 -> 0.6.0 → https://git.io/JfCTb
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.grequests: 0.4.0 -> 0.6.0 »: https://git.io/JfCqR
<{^_^}> [nixpkgs] @jonringer merged pull request #87307 → python37Packages.hstspreload: 2020.3.31 -> 2020.5.5 → https://git.io/JfCIl
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfCq0
<exarkun> I put a syntax error into test_controller.py but nix-build succeeded anyway
<exarkun> before that, I was looking at coverage reports and they show nonsense that looks like it comes from applying coverage data to the wrong source file for presentation
<exarkun> Then I diff'd my checkout version of controller.py and the one that ended up in ./result/ and they were pretty different
<clever> exarkun: try adding postUnpack = "exit 1"; to the derivation, then build it with --keep-failed, and diff the src in the /tmp dir to the original
Fare has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #87302 → python27Packages.ajpy: 0.0.4 -> 0.0.5 → https://git.io/JfCfN
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.ajpy: 0.0.4 -> 0.0.5 »: https://git.io/JfCqE
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87310 → python27Packages.elasticsearch: 7.1.0 -> 7.6.0 → https://git.io/JfCqu
<{^_^}> [nixpkgs] @jonringer merged pull request #87298 → python27Packages.ConfigArgParse: 1.0 -> 1.2.3 → https://git.io/JfcjY
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.ConfigArgParse: 1.0 -> 1.2.3 »: https://git.io/JfCqz
<exarkun> There seems to be no diff
<clever> exarkun: are the tests actually being ran by nix?
<exarkun> They're run in checkPhase, which since it's python is really installCheckPhase I guess
<exarkun> And yea I see output from the test runner when I nix-build
proofofkeags has quit [Ping timeout: 256 seconds]
<clever> exarkun: in postCheck in your expr, try to cat the .py file, do you see the right version?
braunse has quit [Ping timeout: 260 seconds]
braunse has joined #nixos
<adisbladis> ..
<exarkun> I added that to postCheck and the behavior just changed, the syntax error I added now shows up in the test run
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87311 → python27Packages.foolscap: 0.13.2 -> 20.4.0 → https://git.io/JfCqA
<clever> exarkun: everything points towards you just having not ran nix-build...
<exarkun> I definitely ran nix-build like 72 times
<exarkun> I just backed out the postCheck change to see if it goes back to the weird behavior
ntqz has quit [Ping timeout: 260 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
<exarkun> nope, getting the syntax error again
Tndc has joined #nixos
<quinn> exarkun: you can `nix repl` and then `:l file.nix` and then use tab completion (iirc) to double check the phases are the way you think they are
<energizer> what does an "env" refer to in nix?
<quinn> and then i like to put random ls and echo statements in my phases if they aren't working right to make sure they're happening
Tndc has quit [Remote host closed the connection]
Emantor has joined #nixos
<exarkun> I think the postUnpack and postCheck were the first nix expression changes I made since I started observing the problem
<exarkun> So my hypothesis would be that some cache got corrupted somehow
<exarkun> But I am now too fried and I no longer have a reproducer to dig into that
<clever> exarkun: every time you run nix-build, it will hash ./. and copy it into /nix/store/
<exarkun> clever: That's sort of what I thought
<clever> exarkun: what does `nix-store --verify --check-contents` say?
<exarkun> clever: So I wonder if such a failure would have to involve filesystem or disk failure of some sort
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/0fdd3e8906e (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<exarkun> It's "Checking hashes ...", I guess it'll do that for a while
<clever> yeah
webster23 has quit [Ping timeout: 240 seconds]
<euank> I've got a pretty straightforward change to a package: https://github.com/NixOS/nixpkgs/pull/84693
<{^_^}> #84693 (by euank, 4 weeks ago, open): k3s: fix build for aarch64
<euank> I'm the maintainer, so Idon't really know who I should ping about getting it reviewed/merged
<bqv> i'm interested in morph, but i use flakes :(
<exarkun> are flakes and morph incompatible?
<bqv> given that the first nix file i read contained <nixpkgs>, probably
Fare has quit [Ping timeout: 258 seconds]
<bqv> this might be another one where i maintain a fork...
<eadwu[m]> As a build or?
ghkbrew has quit [Ping timeout: 245 seconds]
<eadwu[m]> It looks fine to me though I don't use it
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
<eadwu[m]> Yeah it just looks like you need to set nixpkgs at NIX_PATH for runtime
sarcasticadmin has quit [Ping timeout: 272 seconds]
<bqv> yeah, which i can't, cause i can't run it without being in the context of a flake
<bqv> so it needs tweaking
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87312 → python27Packages.hvac: 0.10.0 -> 0.10.1 → https://git.io/JfCY1
<spinlock[m]> This might be a naive question, but how do you figure out what packages should go into `services.dbus.packages`?
<eadwu[m]> I'm not understanding, the build only needs to be purely evaluated, you can set nix.nixPath to set <nixpkgs> to point to your nixpkgs flake
<eadwu[m]> And that resolves the runtime issue
<hexa-> spinlock[m]: Packages whose D-Bus configuration files should be included in the configuration of the D-Bus system-wide or session-wide message bus. Specifically, files in the following directories will be included into their respective DBus configuration paths: pkg/etc/dbus-1/system.d pkg/share/dbus-1/system.d pkg/share/dbus-1/system-services pkg/etc/dbus-1/session.d pkg/share/dbus-1/session.d
<hexa-> pkg/share/dbus-1/services
<hexa-> quoting the options description at https://nixos.org/nixos/options.html#services.dbus.packages
<clever> hexa-: usually, anything that is offering some kind of service via dbus
<hexa-> ^ spinlock[m]
<spinlock[m]> I guess I'm wondering why the configurations for those apps don't automatically add them. it feels like one of those things that you "just have to know"
<clever> spinlock[m]: the nixos module for the app should be doing it
<clever> when you do programs.foo.enable = true;
sigmundv_ has quit [Ping timeout: 256 seconds]
<spinlock[m]> hum hum. probably a newbie error on my part, but it took me ages to get nextcloud to be able to store its secrets in gnome-keyring. I had to explicitly add `services.dbus.packages = [ pkgs.gnome3.gnome-keyring pkgs.gcr ]` to my config
<clever> /home/clever/apps/nixpkgs/nixos/modules/services/desktops/gnome3/gnome-keyring.nix: services.dbus.packages = [ pkgs.gnome3.gnome-keyring pkgs.gcr ];
<clever> 32 config = mkIf config.services.gnome3.gnome-keyring.enable {
<clever> spinlock[m]: services.gnome3.gnome-keyring.enable = true; would do that for you
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87313 → python27Packages.identify: 1.4.13 -> 1.4.15 → https://git.io/JfCOY
<clever> spinlock[m]: it also configures other things, like a setuid binary
<spinlock[m]> hmm. I had `home-manger.users.spinlock.services.gnome-keyring.enable = true` guess that's different
<clever> spinlock[m]: home-manager cant touch the system dbus config
<spinlock[m]> thanks for the tip! I'm going to look into these packages and see if I can tidy up my config a bit. I was sort of enabling everything I could until it worked
<spinlock[m]> ohhh
<euank> Presumably that's a systemd --user thing, and nextcloud is running not as your user, but as the system I'd guess
<clever> home-manager is limited to your home folder
<euank> Meaning it wants to talk to stuff on the system bus
<spinlock[m]> @clev
<clever> spinlock[m]: thats the setuid wrapper that is missing
<spinlock[m]> * clever: is that true even if you're managing home-manager via nixos-rebuild?
<spinlock[m]> ahhhh
<clever> probably
<spinlock[m]> ok, that's a pretty big TIL for me
h0m1 has quit [Ping timeout: 252 seconds]
ris has quit [Ping timeout: 260 seconds]
WoC has joined #nixos
h0m1 has joined #nixos
<spinlock[m]> clever: booyah! `services.gnome3.gnome-keyring.enable` cleared all that up. thanks again
<WoC> is the following an equivalence of "dist-upgrade" ? Or is that something else ? nix-env -u
<{^_^}> [nixpkgs] @matthewbauer opened pull request #87314 → build-bazel-package: switch hash mode to “flat” → https://git.io/JfCOV
<euank> WoC: per the 'change the channel used by the system-level configuration' on https://nixos.wiki/wiki/Nix_channels
<WoC> k
<euank> It would be removing the current channel and adding a new one with the alias nixos, so i.e. `nix-channel --remove nixos; nix-channel --add https://nixos.org/channels/nixos-20.03`
<euank> but if you're on unstable, there's not an equivilant because unstable's more like a rolling-release (where dist-upgrade doesn't make sense)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87315 → python27Packages.dropbox: 9.5.0 -> 10.1.1 → https://git.io/JfCOK
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
jluttine has quit [Ping timeout: 256 seconds]
<WoC> ok, how would i find the url for nixos-unstable ?
litschi has quit [Ping timeout: 272 seconds]
<clever> [root@amd-nixos:~]# nix-channel --list
<WoC> I'm currently on stable, not listed
litschi has joined #nixos
<clever> WoC: but i'm on unstable, so my cmd listed the exact url you want
fabianhjr has quit [Ping timeout: 260 seconds]
Fare has joined #nixos
<WoC> Right :)
<WoC> Appreciated
<WoC> Still testing it in a vm :)
jluttine has joined #nixos
felixfoertsch23 has joined #nixos
user_0x58 has quit [Ping timeout: 240 seconds]
felixfoertsch has quit [Ping timeout: 246 seconds]
felixfoertsch23 is now known as felixfoertsch
<{^_^}> [nixpkgs] @bhipple merged pull request #87290 → rofi-calc: 1.6 -> 1.7 → https://git.io/JfcAu
<{^_^}> [nixpkgs] @bhipple pushed commit from @albakham to master « rofi-calc: 1.6 -> 1.7 »: https://git.io/JfC3f
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87316 → python37Packages.immutables: 0.11 -> 0.12 → https://git.io/JfC3J
hmpffff_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87317 → python27Packages.deprecated: 1.2.8 -> 1.2.9 → https://git.io/JfC3m
proofofkeags has joined #nixos
hmpffff has quit [Ping timeout: 260 seconds]
`_ has joined #nixos
fabianhjr has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87318 → python27Packages.hg-evolve: 9.3.0 -> 9.3.1 → https://git.io/JfC34
shafox has joined #nixos
<Raito_Bezarius> and /grep theming
<Raito_Bezarius> oops
copumpkin has joined #nixos
<WoC> heh ;)
<Raito_Bezarius> :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87319 → python27Packages.dash-core-components: 1.9.0 -> 1.9.1 → https://git.io/JfCsU
<WoC> How do you search for packages ?
<WoC> nix-env --search <something> ?
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
turona has quit [Ping timeout: 260 seconds]
<clever> WoC: there is also `nix search something`
spacefrogg has joined #nixos
bhipple has joined #nixos
<bqv> eadwu[m]: my flake != nixpkgs. My flake *contains* several nix configurations and multiple nixpkgs inputs, and none set a nix path
<WoC> ty clever appreciated
turona has joined #nixos
<bqv> And to resolve any of those, the flake must be evaluated, as a flake, not as nix
<bqv> I.e. Its not a simple as nixpkgs=/home/my/flake
<bqv> Not even close
eyenx has quit [Quit: bye]
dedz has joined #nixos
dedz has quit [Max SendQ exceeded]
<eadwu[m]> inputs.nixpkgs resolves to a path that points to a nixpkgs source
dedz has joined #nixos
<eadwu[m]> i.e. I have on my nix.nixPath `"nixpkgs=${flakes.nixpkgs.path}"`
<eadwu[m]> Which resolves to `path = inputs.${flake};`
<eadwu[m]> Which ends up being `nixpkgs=/nix/store/w6vpv5b7rq3vmxxyyq15zmn5smg2dld9-source:` in `$NIX_PATH`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87320 → python27Packages.ijson: 2.6.1 -> 3.0.3 → https://git.io/JfCsw
cr4y1 has quit [Ping timeout: 240 seconds]
<eadwu[m]> The file in `nix-packaging` can already be evaluated without any changes so it should build fine (which doesn't because it doesn't create a bin output but that's a problem originating from morph) while runtime would use <nixpkgs> unless I'm getting something wrong
pxc has joined #nixos
<pxc> simple question about Nix flakes as currently implemented: is there any way to refer directly to paths (not necessarily packages or attributes) in Nix code comparable to the old way with Nix paths?
<pxc> like the equivalent of <nixpkgs/path/to/some/file>?
<pxc> or am I misremembering how NIX_PATH worked
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87321 → python27Packages.feedgenerator: 1.9 -> 1.9.1 → https://git.io/JfCGJ
hlisp has joined #nixos
<pxc> ah, rereading Gist ( https://gist.github.com/edolstra/40da6e3a4d4ee8fd019395365e0772e7 ) and I see that it's not intended for flakes to be able to do NIX_PATH lookups like <...>
<pxc> what I'm wondering though is if I'm using flakes instead of channels for my local NixOS configuration, how do I refer to whatever copy of Nixpkgs my NixOS configuration does, if I want to just directly run a bit of Nix via like nix-instantiate --eval to count how many things I have in systemPackages, or something like that?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87322 → python27Packages.guessit: 3.1.0 -> 3.1.1 → https://git.io/JfCG4
dedz has quit [Quit: Leaving]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<kyren> Are melpa updates regularly backported to stable releases? Is that something that I could potentially help make happen?
<bqv> eadwu[m]: again, I use more than one nixpkgs in my flake, and I can't access the inputs without actually evaluating the flake. I don't understand how you think this can work
<bqv> Have you tried it? Or have you even tried flakes?
<bqv> Not trying to be rude, just it's frustrating me a bit
<bqv> pxc: each input is just a source derivation, you cat browse into them as you would otherwise. And you can set your system flake registry's nixpkgs to the one used for the system, so you can use that directly or (getFlake "nixpkgs") it
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87323 → python27Packages.kafka-python: 1.4.7 -> 2.0.1 → https://git.io/JfCZN
philr has quit [Ping timeout: 264 seconds]
<Miyu-saki> buildGoModule does not support overriding
<Miyu-saki> Is it simple enough to add overriding to it?
tsrt^ has quit []
<cole-h> bqv: So would `<nixpkgs/pkgs/some/package/path>` be equivalent to `"${getFlake "nixpkgs"}/pkgs/some/package/path"`? If not, is there any equivalent? (A little slow today so apologies if you actually just answered this in your above response)
symphorien has quit [Ping timeout: 260 seconds]
<bqv> cole-h: yup, should work
symphorien has joined #nixos
<pxc> ah, ok. thanks, bqv!
<cole-h> Cool, thanks. Is there any shorthand for that (yet)?
<bqv> Well, in the context of a flake you'd presumably just have threaded the input down anyway, but otherwise no
<bqv> It is a bit unergonomic
<cole-h> I see. I hope somebody makes an "Idiot's Guide to Flakes" sometime soon :P
<bqv> :p
symphorien has quit [Ping timeout: 260 seconds]
hsrt^ has joined #nixos
symphorien has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
proofofkeags has quit [Ping timeout: 256 seconds]
<pxc> hm. I see that adding a flake to root's registry doesn't make it available to all users. Is there any way to add to the global Nix flakes registry, or does it just mean whatever's on the one hosted at nixos.org?
<pxc> I used to manage some channels in my NIX_PATH with `sudo -H nix-channel ...`, so they'd be available to all users on the system
<pxc> I'm wondering if there's something equivalent here or not really
M3DPACTE[m] has joined #nixos
hlisp has quit [Remote host closed the connection]
bandali has quit [Quit: migrating servers]
hlisp has joined #nixos
shafox has quit [Remote host closed the connection]
shafox has joined #nixos
butcher_ has quit [Remote host closed the connection]
<bqv> There's the system registry, pxc
<bqv> nix.registry
<pxc> aah! thanks
<bqv> np
<pxc> so we're losing a layer here
<bqv> ,locate libgccjit.so
<{^_^}> Couldn't find in any packages
<pxc> we used to have user, default, and system. Now just user and system
<bqv> grr
<bqv> pxc: there's also the online registry
<pxc> which also means users on non-NixOS don't have a way to make flake registry entries available to all users
<bqv> If nixpkgs isn't in user or system registries it will still resolve from online
<pxc> It kinda seems like the flake registry layering should match the layering for Nix profiles
<pxc> that's a neat failsafe
waleee-cl has quit [Quit: Connection closed for inactivity]
chagra_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #87324 → [20.03] build-bazel-package: switch hash mode to “flat” → https://git.io/JfCcj
<pxc> bqv: ah so you're also using a config based on nixflk? I'm currently reading through it and just playing with some things and trying to decide how closely I want to follow it
chagra has quit [Ping timeout: 260 seconds]
<bqv> Use it as you like :p theres a few things I'd like to change about it but haven't got around to
luna has joined #nixos
<bqv> I think I might need to make a PR for gcc
<bqv> That's terrifying
<pxc> what's the `flake = false;` stuff I see in your flake.nix? is that so you can use the flake machinery to refer to source code repos and other objects that don't have flake.nix inside them?
<luna> Anyone else use GPG here?
<pxc> bqv: hahaha why might you need to change gcc?
<pxc> luna: I do :)
<bqv> pxc: yep
<luna> pxc: Have you successfully made a private key or imported one?
<bqv> Nix is missing this
<bqv> Its part of gcc
<bqv> So id have to edit the gcc code
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d6c1b566b77 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<pxc> bqv: ah you mean a PR for the gcc package in Nixpkgs. Is this for the new AOT Elisp compilation stuff? I think there's some work on that already underway
<pxc> luna: yes
<pxc> luna: this guide is pretty good: https://alexcabal.com/creating-the-perfect-gpg-keypair
<luna> What settings did you need to do that in you nix config? I keep getting "no pinentry" errors.
<bqv> pxc: ah, right!
<bqv> Yeah that was my plan
<bqv> I've already built emacs
<bqv> Just looking for gccjit
<pxc> luna: if you're on NixOS, you want to enable GPG via the NixOS module instead of manually installing it. That'll take care of pinentry for you: https://nixos.org/nixos/options.html#programs.gnupg.agent.enable
<pxc> luna: once you do that, you'll want to gracefully shut down your GPG agent and then start the user-level systemd unit that NixOS enables for the GPG agent... or log out and back in again :)
<{^_^}> #75288 (by bhipple, 21 weeks ago, open): Package request: libgccjit (for trying gccemacs)
<luna> pxc: haha, I guess the logout/in is what I was missing. I'll give it a try. Thank you!
<bqv> Ah
<pxc> you're welcome! yeah, GPG aggressively starts agents all its own now, and then the systemd unit can't start because the one that the gpg cli tools started hogs the socket
<{^_^}> [nixpkgs] @marsam opened pull request #87325 → lxd: 4.0.1 -> 4.1 → https://git.io/JfCC3
<colemickens> its really awful!
<colemickens> I had it jammed up the other day, had to restart things like 3 times, finally in the right sequence, before everything was just right.
<colemickens> the gpg-agent daemon that was launching on its own was not configured the same as the user unit
<pxc> it's definitely a source of a lot of confusion and frustration when you don't expect it. And I've heard from some people that try to use GPG in automated workflows that the presumption of a running agent can be very annoying there
<pxc> colemickens: yep. A friend of mine did that same thing but killed the cli-tools-started agent ungracefully (like I told him not to, lol) and something weird happened with the file descriptors gpg-agent opens and long story short, we couldn't start either gpg-agent anymore after that
<pxc> only figured out it was really that after a reboot
luna has quit [Ping timeout: 264 seconds]
<colemickens> YES!
<colemickens> that was it!
<colemickens> I had to also delete stale socket files or something like that
<colemickens> either way, one of many experiences that inspires me to try to get rid of gpg in my life if I can
<pxc> yeah, you have to close the gpg agent with some special command or it'll leave open socket files behind and possibly file descriptors that idek how to close after that
<pxc> I use GPG with pass, and I really like it for that
<pxc> but it's not a very ergonomic tool at all
<hyper_ch> pxc: pass <3
<pxc> it's nice to have great password management with multiple frontends and no dependency on The Cloud(tm)
<bqv> I still have pinentry issues over ssh
<hyper_ch> what issues?
<bqv> I don't even wanna try and solve them
<bqv> hyper_ch: pinentry fails, presumably cause no gui or agent can't be reached
<bqv> I don't know or care at this point
<hyper_ch> you're just doing it wrong :)
<bqv> hyper_ch: I believe you
<pxc> it works on my system, using gpg as my SSH agent and ssh agent forwarding
<hyper_ch> I have no issues only when Konsole is too small
<pxc> I learned a little while ago that ssh agent forwarding might be kinda bad, though? lol
<hyper_ch> then the ncurses (?) pinentry won't appear
<bqv> I don't use ncurses pinentry
<bqv> I use emacs or gtk
<bqv> (somehow it varies)
<bqv> And its all so fragile that I just go with it
<pxc> bqv: where's the action for your bqv-flakes branch of home-manager? I want to add home-manager to my config but I don't really wanna have to use a special branch or fork. Are the flake changes required to make use of home-manager as a flake.nix input, or is it just convenience stuff that allow you to refer to flakes inside your home-manager config or something?
<hyper_ch> I have pinentry, pinentry-qt and gnupg installed... no special setting
<bqv> I'd like if it did fallback to ncurses but something something cake eating
<bqv> pxc: I use the nixos module for hm, not the app
<bqv> I prefer having unified representation of system state
<bqv> Makes reasoning way easier
<monokrome> whoa nixops is Python
<pxc> bqv: ah. my old config gets reused on NixOS and on non-NixOS Linux and on Darwin. So I want to do the same here, and I'd rather the version of home-manager pulled in be the same for all of them
* monokrome mind blown
<bqv> pxc: oh, misread, sorry
<bqv> Rycee has flakes on a backburner
<bqv> So we community maintain a branch
<bqv> monokrome: there's morph if you prefer :p
<pxc> is the community for flakes users organized anywhere, or just kinda incidentally here and on the Discourse and so on
<{^_^}> [nixpkgs] @vbgl opened pull request #87326 → ocamlPackages.ipaddr: remove at 2.6.1 → https://git.io/JfCCl
<bqv> Yeah mostly here
WoC has quit [Remote host closed the connection]
<pxc> what does the flake support in the home-manager repo add at this point? why not just use the flake machinery to get a reference I can refer to like with getFlake and then import the module manually?
<iqubic> Are there any EXWM users around? I'm trying to set up a compositor on EXWM and I'm not sure how to make that work.
<pxc> oh nvm, I'm looking at some of the commits and I get it
<bqv> HM internally is impure, so references channels, and will fail without those patches
<pxc> you had to remove NIX_PATH references
<bqv> Yes
<bqv> iqubic: never tried a compositor
<iqubic> bqv: Ah, that's a shame.
<pxc> wait, you mean you've never used a compositing window manager at all? or is there a sense of 'compositor' being used which I don't know here?
hlisp has quit [Remote host closed the connection]
<iqubic> I think he means that he's never used EXWM with a compositor
<bqv> Some window managers are so small that the compositing functionality is a separate app
hlisp has joined #nixos
<bqv> I guess yeah, different definitions
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87327 → python27Packages.flask_login: 0.4.1 -> 0.5.0 → https://git.io/JfCCR
<pxc> when compositing was still new to Xorg, compositors were often separate too
<bqv> Ahh the good old days of compiz
hlisp has quit [Ping timeout: 256 seconds]
<iqubic> EXWM doesn't offer built in compositing, and I'm trying to get that working.
<monokrome> people don't use compiz any more? O_o
<pxc> I was like 13 when Compiz and Beryl came out and I thought it was the coolest shit ever
<monokrome> lol
<monokrome> compositing was all new and fancy
<iqubic> so, should I use a compositor?
<monokrome> do you care about widnow opacity, shadows, or other fancy effects?
<bqv> I don't. It seems like a waste of time
<iqubic> I don't really.
<monokrome> then no :D
<bqv> But people do like their shinies
<monokrome> opacity can be useful sometimes
<iqubic> I'm just getting these weird graphical issues that should up all some time.
<pxc> my favorite fancy effect is built into KWin, and it's 'organize windows'. I like it because it presents all your windows visually and searches as you type. Sometimes it's the nicest way to switch to the desired window
<monokrome> like I'd use it if I didn't use a tiled window manager so that I can read text behind terminals
<pxc> but for it to be sane, the animation has to include moving windows around and scaling them and so on
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87328 → python37Packages.goocalendar: 0.7.0 -> 0.7.1 → https://git.io/JfCCX
<monokrome> I guess that would still work in DWM
<monokrome> Maybe I should do a compositor :o
<iqubic> I hate these graphical issues I'm getting.
<monokrome> what are they?
<iqubic> I'm not sure of the best way to describe them.
<monokrome> :o
<monokrome> Is it ghosting?
<bqv> Tearing?
<pxc> one other useful WM compositing thing is thumbnail view, basically picture-in-picture for arbitrary windows. It can be kinda nice if you want to keep an eye on something (like maybe just to see that there's still new output in a terminal) but you don't need to see the whole thing on your screen
<pxc> other than that most uses I've seen compositors put to is pretty cosmetic
<iqubic> Yeah. It's screen tearing.
m0rphism has quit [Ping timeout: 256 seconds]
<monokrome> I wonder if there's a way to compile Compton into DWM so that I don't need to run two apps
<monokrome> cuz I just ran it and having semi-transparent terminal w text behind it is nice in fullscreen tiling mode
<iqubic> I know this was is a graphical issue because it's happening in several different places.
<bqv> iqubic: frobnicate your x drivers
<iqubic> However, I was able to fix the issue in firefox by setting use WebGL renderer to true.
<iqubic> But I'm still getting these issues in other applications.
<iqubic> How do I frobnicate my x drivers?
<monokrome> webgl renderer shouldn't effect every page
virus_dave has quit [Quit: virus_dave]
<pxc> iqubic: does your window manager support vsync?
<iqubic> pxc: No clue at all.
<pxc> what's your desktop environment?
<iqubic> I'm using a thing called EXWM.
<pxc> oh oh ok
<pxc> same thing we were talking about
<bqv> iqubic: it may vary. Presumably you're using free drivers and theyre just less stable than proprietary
<bqv> So need frobnicating or switching out
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87329 → python27Packages.eve: 1.0 -> 1.1 → https://git.io/JfCCS
<pxc> I know what it is. I just don't use it because I am a wee emacs scrub
<iqubic> I see.
<pxc> iqubic: looks like this is something a compositor can also help with, by enforcing vsync: https://github.com/ch11ng/exwm/issues/397#issuecomment-372387791
<iqubic> So, how can I check if I have the latest and best drivers?
<bqv> Graphics card?
<iqubic> This issue isn't just in firefox. It's in basically ever graphical application I use.
<iqubic> I don't know what graphics card I have. Sorry.
<pxc> the Xorg setting to address tearing will depend on the brand of the graphics card
<iqubic> I see.
Maxdamantus has quit [Ping timeout: 272 seconds]
<iqubic> I'm using a Dell Latitude 5480 if that helps narrow things down.
<ldlework> you can't use google?
<ldlework> or lspci?
<ldlework> iqubic: you've been around the linux block for years now..
<iqubic> Sure.
Maxdamantus has joined #nixos
Maxdamantus has quit [Changing host]
Maxdamantus has joined #nixos
hlisp has joined #nixos
<iqubic> `lspci | grep graphics`
<iqubic> yeilds this: "00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)"
<iqubic> Which isn't the right thing at all.
<bqv> Intel, ok
<ldlework> well grep "VGA"
<ldlework> not "graphics"
<bqv> Presumably won't have a discrete card, but yeah
<iqubic> ldlework: I still get the same line of output being found.
<iqubic> I don't have a discrete card.
<ldlework> then your only card is onboard intel chip
<ldlework> "card"
<ldlework> it's probably not wrong
<iqubic> Here's the full lspci output:
<bqv> Intel shoudnt be too finnicky iirc
<pxc> the feature you want to enable, then, is "TearFree", just like with AMD graphics
<{^_^}> [nixpkgs] @marsam opened pull request #87330 → pueue: 0.3.1 -> 0.4.0 → https://git.io/JfCCF
<bqv> There you go
<iqubic> How do I enable that?
rardiol has quit [Ping timeout: 256 seconds]
endformationage has quit [Quit: WeeChat 2.6]
<iqubic> I probably should note that these issues only began happening about a week ago.
<pxc> https://wiki.archlinux.org/index.php/intel_graphics#Tearing shows the Xorg.conf syntax, https://nixos.org/nixos/options.html#services.xserver.extraconfig shows where you can put it in NixOS
<iqubic> Is it just me, or is everyone failing to get option data?
<pxc> just you, I think. NixOS option search results populate just fine for me
<iqubic> Also, should I update to a more recent kernel version that 4.19?
<pxc> idk
<pxc> what NixOS release are you on?
philr has joined #nixos
hlisp has quit [Remote host closed the connection]
<iqubic> I'm not using any official release. I'm using unstable for everything.
<pxc> might as well try a newer kernel, I guess, but change one thing at a time
<bqv> Ooh, looks like bhipple already got gccemacs building
<bqv> I think I'll piggyback on his repo for now
<pxc> bqv: I sent you the link to his PR lol
<pxc> where's he got the repo of the ongoing work?
<bqv> Yeah the issue is out of date, he pushed something yesterday
<bqv> I hadnt checked the repo til now
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87331 → python27Packages.dash-renderer: 1.3.0 -> 1.4.0 → https://git.io/JfCWT
<iqubic> Too late.
<iqubic> I mean, I haven't rebooted, so I theoretically could still remain on 4.19 if I want.
hlisp has joined #nixos
<iqubic> But I find it strangely odd that these issues only started last week.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87332 → python27Packages.flask-httpauth: 3.3.0 -> 4.0.0 → https://git.io/JfCWO
WoC has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
aditsachde36 has joined #nixos
<iqubic> Do I have to reboot my machine after this change?
Maxdamantus has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87333 → python37Packages.elementpath: 1.4.3 -> 1.4.4 → https://git.io/JfCW4
Maxdamantus has joined #nixos
<monokrome> what's your WM, iqubic?
<iqubic> I'm using EXWM
<monokrome> oh, cool... New one for me to try =^.^=
<iqubic> Only use it if you like Emacs.
<monokrome> o :(
<iqubic> It's the Emacs X Window Manager.
<monokrome> oooh I've heard of that
<monokrome> cool =^.^=
* monokrome is a Vim girl >.<
<iqubic> I didn't know you were a girl.
Maxdamantus has quit [Ping timeout: 256 seconds]
<aditsachde36> Hey good morning. I'm attempting to build a set of nixos configurations via CI/CD using github actions. I have a couple of questions about nixpkgs and versions and stuff. Since I'm building everything on a single server and using nix-copy-closure to copy the build output to a nixos server, the nixpkgs channel on the nixos server shouldn't matter
<aditsachde36> right?
<monokrome> O_o
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
Maxdamantus has joined #nixos
<aditsachde36> Additionally, I have read that I should be pinning nixpkgs. Do I just choose an arbitrary nixpkgs hash on the channel that I want to track or is there any specific version to select?
palo1 has joined #nixos
alp has joined #nixos
<monokrome> woot - got DWM to run initPrograms =^.^=
palo has quit [Ping timeout: 260 seconds]
palo1 is now known as palo
<iqubic> You're a clever girl.
<bqv> Don't be weird
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87334 → python37Packages.gensim: 3.8.2 -> 3.8.3 → https://git.io/JfCWr
<bqv> aditsachde36: pick one and stick to is as long as it works
<iqubic> So, should I reboot now, after applying my changes?
<{^_^}> #87157 (by matthewbauer, 2 days ago, open): Add libgccjit
<bqv> monokrome: fwiw I use vim and emacs. Firmly in both churches, just for different reasons each. Don't limit yourself :D
<iqubic> I live firmly in the emacs world
justan0theruser has joined #nixos
oborot has quit [Ping timeout: 260 seconds]
asheshambasta has joined #nixos
justanotheruser has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #86088 → coqPackages coqPackages_8_10 coqPackages_8_11 → https://git.io/JfqJd
<{^_^}> [nixpkgs] @vbgl pushed commit from @CohenCyril to master « Coq: refactoring of mathcomp packages (#86088) »: https://git.io/JfCWH
zebrag has joined #nixos
GuilhemArvilMari has joined #nixos
<GuilhemArvilMari> G'day all !
inkbottle has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87335 → python27Packages.icalendar: 4.0.5 -> 4.0.6 → https://git.io/JfCWA
<pxc> bqv: sweeeeet
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d6c1b566b77 (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<pxc> also bqv, monokrome: same-- I use both Vim and Emacs. My Emacs config is very vimmy (and very clunky), though
<bqv> Building off it now, gcc is a beast though. I wonder if I can steal a build from borg
<iqubic> So, should I reboot now?
<pxc> alright it's time to stop letting myself procrastinate/wallow in decision fatigue at all the ways I _could_ reorganize my Nix configs
<pxc> let this NixOS install inaugurate the new layout, based on nixflk with all the concrete examples taken out and maybe a few other changes
<pxc> (I've been on IRC tonight from the NixOS install media lol)
alp has quit [Ping timeout: 265 seconds]
<iqubic> Have you installed NixOS yet?
<pxc> wait, since when do partitions have names as well as labels
<pxc> iqubic: yeah, I've been running NixOS for a few years. This is a new computer and I decided to use the occasion to migrate my config to one of pinned sources and a different layout
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87336 → python27Packages.jsonrpclib-pelix: 0.4.0 -> 0.4.1 → https://git.io/JfClk
aditsachde36 has quit [Remote host closed the connection]
<iqubic> So, I've updated my config, and rebuilt. Now I'm going to need to reboot, aren't I? That's how I should hopefully fix my graphical issues?
johnjay has quit [Ping timeout: 240 seconds]
<pxc> iqubic: if your updated kernel is to be part of it, yeah
<iqubic> It is, yeah.
user_0x58 has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
CMCDragonkai2 has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
<monokrome> I just spent 30 minutes adding an initRoutines array to dwm.c that runs my compositing, run my wallpaper script, and sets up my xrandr
<monokrome> I spent the last 10 years doing it manually because too lazy and thought it'd be a PITA
johnjay has joined #nixos
* monokrome facepalm
booterror has quit [Ping timeout: 246 seconds]
bkv has joined #nixos
CMCDragonkai2 has quit [Client Quit]
bqv has quit [Ping timeout: 272 seconds]
<bkv> ok, yeah i think i'll be outsourcing building gcc to my server... it's starting to cook me
<monokrome> :D
<iqubic> monokrome: Do you think I should run a compositor?
<monokrome> Is it a laptop or a desktop?
<monokrome> oh wait you're getting visual glitches
<monokrome> does the compositor fix them?
mac10688 has quit [Ping timeout: 246 seconds]
<iqubic> It's a laptop, and no freaking clue.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87337 → python27Packages.flask_wtf: 0.14.2 -> 0.14.3 → https://git.io/JfCla
<monokrome> well
<monokrome> you can install picom, run it, and see if it fixes it
smatting has joined #nixos
<monokrome> my guess is that it won't
aditsachde24 has joined #nixos
aditsachde24 has quit [Remote host closed the connection]
<iqubic> What is picom?
ozychhi has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/JfClS
<monokrome> iqubic: a compositor
<{^_^}> [nixpkgs] @vcunat merged pull request #87066 → thunderbird, thunderbird-bin: 68.7.0 -> 68.8.0 → https://git.io/JfZED
ozychhi has joined #nixos
<monokrome> compiz became compiz-something which became compton which became picom
<monokrome> TIL
<iqubic> What options should I use?
<monokrome> picom is the one that is still maintained
<monokrome> I don't know what other compositors are out there
<iqubic> picom looks great. What options should I try?
<monokrome> not sure, mine isn't running w/ options tbh
<iqubic> I see.
<monokrome> trying that in a bit
<iqubic> Should I try enabling vsync?
<monokrome> in what?
<monokrome> oh, does the compositor enable that?
<monokrome> If your issue is tearing then you should enable vsync
<monokrome> tearing is where the rendering pipeline flips your framebuffer mid-render, so you end up with a line through the screen for a frame that has half the old frame on one side of it or similar
<iqubic> Yeah, there's an option to let picom enable vsync
<monokrome> vsync solves that problem at the potential expense of lower performance depending on hardware
Yakulu[m] has joined #nixos
<iqubic> I see.
<monokrome> Is that the visual errors you're seeing?
<iqubic> Yeah, actually.
<monokrome> then try w/ vsync
<monokrome> you don't need to restart your VM, you can just run it
<monokrome> VM = WM
<monokrome> sorry, sleepy lol
<iqubic> I'm going to restart my WM anyways, because I want to get the latest kernel
<iqubic> Should I change the refresh rate?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87338 → python27Packages.evdev: 1.2.0 -> 1.3.0 → https://git.io/JfC8O
<kaychaks_riot> how to take care of the error `firefox is already running but not responding` in sway on nixos ? have put all necessary wayland specific env vars
<monokrome> Is Firefox running on your desktop?
<kaychaks_riot> yes
<kaychaks_riot> it is running when I am trying to launch again either via rofi or in a diff workspace I get this error
maddo has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #84693 → k3s: fix build for aarch64 → https://git.io/JvxGQ
<{^_^}> [nixpkgs] @FRidh pushed commit from @euank to master « k3s: fix build for aarch64 »: https://git.io/JfC8E
booterror has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #78321 → sqlite: 3.28.0 -> 3.31.0 (security, backport) → https://git.io/JvLQ9
pjt_014 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87312 → python27Packages.hvac: 0.10.0 -> 0.10.1 → https://git.io/JfCY1
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.hvac: 0.10.0 -> 0.10.1 »: https://git.io/JfC89
<{^_^}> [nixpkgs] @FRidh merged pull request #87316 → python37Packages.immutables: 0.11 -> 0.12 → https://git.io/JfC3J
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.immutables: 0.11 -> 0.12 »: https://git.io/JfC8H
<monokrome> kaychaks_riot: It's frozen?
<{^_^}> [nixpkgs] @FRidh merged pull request #87317 → python27Packages.deprecated: 1.2.8 -> 1.2.9 → https://git.io/JfC3m
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.deprecated: 1.2.8 -> 1.2.9 »: https://git.io/JfC8Q
<{^_^}> [nixpkgs] @FRidh merged pull request #87321 → python27Packages.feedgenerator: 1.9 -> 1.9.1 → https://git.io/JfCGJ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87339 → python27Packages.dict2xml: 1.6.1 -> 1.7.0 → https://git.io/JfC85
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.feedgenerator: 1.9 -> 1.9.1 »: https://git.io/JfC8d
<{^_^}> [nixpkgs] @FRidh merged pull request #87322 → python27Packages.guessit: 3.1.0 -> 3.1.1 → https://git.io/JfCG4
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.guessit: 3.1.0 -> 3.1.1 »: https://git.io/JfC8F
<{^_^}> [nixpkgs] @FRidh merged pull request #87328 → python37Packages.goocalendar: 0.7.0 -> 0.7.1 → https://git.io/JfCCX
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.goocalendar: 0.7.0 -> 0.7.1 »: https://git.io/JfC8b
<{^_^}> [nixpkgs] @FRidh merged pull request #87334 → python37Packages.gensim: 3.8.2 -> 3.8.3 → https://git.io/JfCWr
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.gensim: 3.8.2 -> 3.8.3 »: https://git.io/JfC8N
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @FRidh merged pull request #87336 → python27Packages.jsonrpclib-pelix: 0.4.0 -> 0.4.1 → https://git.io/JfClk
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.jsonrpclib-pelix: 0.4.0 -> 0.4.1 »: https://git.io/JfC8A
<{^_^}> [nixpkgs] @FRidh merged pull request #87335 → python27Packages.icalendar: 4.0.5 -> 4.0.6 → https://git.io/JfCWA
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.icalendar: 4.0.5 -> 4.0.6 »: https://git.io/JfC8x
<{^_^}> [nixpkgs] @FRidh merged pull request #87309 → python27Packages.cvxopt: 1.2.4 -> 1.2.5 → https://git.io/JfCqn
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.cvxopt: 1.2.4 -> 1.2.5 »: https://git.io/JfC8h
<{^_^}> [nixpkgs] @FRidh merged pull request #87301 → python37Packages.astropy: 4.0 -> 4.0.1.post1 → https://git.io/JfCfw
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.astropy: 4.0 -> 4.0.1.post1 »: https://git.io/JfC8j
<{^_^}> [nixpkgs] @FRidh merged pull request #87313 → python27Packages.identify: 1.4.13 -> 1.4.15 → https://git.io/JfCOY
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.identify: 1.4.13 -> 1.4.15 »: https://git.io/JfC4f
<{^_^}> [nixpkgs] @FRidh merged pull request #87318 → python27Packages.hg-evolve: 9.3.0 -> 9.3.1 → https://git.io/JfC34
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.hg-evolve: 9.3.0 -> 9.3.1 »: https://git.io/JfC4U
<bkv> yikes
<booterror> was nixos built for the server?
<bkv> good chat, {^_^}
<{^_^}> [nixpkgs] @FRidh merged pull request #87275 → smarty3: 3.1.35 -> 3.1.36 → https://git.io/Jfc9f
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « smarty3: 3.1.35 -> 3.1.36 »: https://git.io/JfC4T
<{^_^}> [nixpkgs] @FRidh merged pull request #87259 → mysql-workbench: 8.0.19 -> 8.0.20 → https://git.io/JfcV4
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « mysql-workbench: 8.0.19 -> 8.0.20 »: https://git.io/JfC4I
FRidh has quit [Remote host closed the connection]
user_0x58 has quit [Quit: Leaving]
FRidh has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87229 → krita: 4.2.7.1 -> 4.2.9 → https://git.io/JfcqH
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « krita: 4.2.7.1 -> 4.2.9 »: https://git.io/JfC43
<{^_^}> [nixpkgs] @FRidh merged pull request #87056 → openfortivpn: 1.13.1 -> 1.13.3 → https://git.io/JfZBf
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfC4s
<{^_^}> [nixpkgs] @FRidh merged pull request #87046 → mcelog: 168 -> 169 → https://git.io/JfZlC
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « mcelog: 168 -> 169 »: https://git.io/JfC4n
<{^_^}> [nixpkgs] @FRidh merged pull request #87048 → oidentd: 2.4.0 -> 2.5.0 → https://git.io/JfZlS
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « oidentd: 2.4.0 -> 2.5.0 »: https://git.io/JfC4c
<{^_^}> [nixpkgs] @FRidh merged pull request #86727 → quilter: 2.2.2 -> 2.2.4 → https://git.io/JfsM0
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « quilter: 2.2.2 -> 2.2.4 »: https://git.io/JfC4l
<{^_^}> [nixpkgs] @FRidh merged pull request #86909 → gmime3: 3.2.6 -> 3.2.7 → https://git.io/JfGXg
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfC4R
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87340 → python27Packages.hdbscan: 0.8.25 -> 0.8.26 → https://git.io/JfC4E
<{^_^}> [nixpkgs] @FRidh merged pull request #86685 → maestral: 0.6.3 -> 0.6.4 → https://git.io/JfsrB
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « maestral: 0.6.3 -> 0.6.4 »: https://git.io/JfC42
<{^_^}> [nixpkgs] @vbgl opened pull request #87341 → ocaml-ng.ocamlPackages_4_11.ocaml: init at 4.11.0+α1 → https://git.io/JfC4a
<{^_^}> [nixpkgs] @FRidh merged pull request #86672 → freewheeling: 0.6.5 -> 0.6.6 → https://git.io/JfszK
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfC4r
<{^_^}> [nixpkgs] @FRidh merged pull request #86590 → libbpf: 0.0.7 -> 0.0.
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « libbpf: 0.0.7 -> 0.0.8 »: https://git.io/JfC46
<{^_^}> [nixpkgs] @FRidh merged pull request #86594 → liblcf: 0.6.1 -> 0.6.
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « liblcf: 0.6.1 -> 0.6.2 »: https://git.io/JfC4i
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « cloudflared: 2020.2.1 -> 2020.3.2 »: https://git.io/JfC4X
<{^_^}> [nixpkgs] @FRidh merged pull request #84335 → cloudflared: 2020.2.1 -> 2020.3.2 → https://git.io/JvNOc
<kaychaks_riot> monokrome: did not get what you mean by frozen
dnlkrgr has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #80499 → cutelyst: 2.9.0 -> 2.10.0 → https://git.io/Jv4jl
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « cutelyst: 2.9.0 -> 2.10.0 »: https://git.io/JfC4y
<kaychaks_riot> so if I launch fresh firefox from rofi then it launches just fine and I could create new window. now I switch workspace and again try to launch firefox via rofi like first time hoping that it will just launch a new window for the existing process, but then I get the error
<{^_^}> [nixpkgs] @FRidh merged pull request #87319 → python27Packages.dash-core-components: 1.9.0 -> 1.9.1 → https://git.io/JfCsU
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.dash-core-components: 1.9.0 -> 1.9.1 »: https://git.io/JfC49
eoli3n__ has joined #nixos
<{^_^}> [nixpkgs] @edolstra merged pull request #87191 → testing{-python}.nix: Remove log pretty-printing cruft → https://git.io/JfnSL
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/JfC4d
<{^_^}> [nixpkgs] @FRidh merged pull request #86956 → lasso: 2.6.0 -> 2.6.1 → https://git.io/JfGjm
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « lasso: 2.6.0 -> 2.6.1 »: https://git.io/JfC4F
<{^_^}> [nixpkgs] @FRidh merged pull request #86717 → patroni: 1.6.4 -> 1.6.5 → https://git.io/JfsXK
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « patroni: 1.6.4 -> 1.6.5 »: https://git.io/JfC4N
eoli3n__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #87333 → python37Packages.elementpath: 1.4.3 -> 1.4.4 → https://git.io/JfCW4
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.elementpath: 1.4.3 -> 1.4.4 »: https://git.io/JfCBT
alp has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @equirosa to master « tut 0.0.7 -> 0.0.8 »: https://git.io/JfCBI
<{^_^}> [nixpkgs] @FRidh merged pull request #87308 → tut 0.0.7 -> 0.0.8 → https://git.io/JfCIE
<{^_^}> [nixpkgs] @FRidh merged pull request #87285 → freerdp: 2.0.0 -> 2.1.0 → https://git.io/JfcF4
<{^_^}> [nixpkgs] @FRidh pushed commit from @lheckemann to master « freerdp: 2.0.0 -> 2.1.0 »: https://git.io/JfCBm
<hyper_ch> FRidh: that's a lot of merges :)
<{^_^}> [nixpkgs] @FRidh merged pull request #86992 → wire-desktop: linux 3.16.2923 -> 3.17.2924 → https://git.io/JfZm4
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to release-20.03: https://git.io/JfCBn
<{^_^}> [nixpkgs] @FRidh merged pull request #86983 → monitor: 0.7.1 -> 0.7.2 → https://git.io/JfZtv
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfCBc
booterror7 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #86953 → irods: 4.2.2 -> 4.2.7 + fixed + use fetchFromGitHub → https://git.io/JfGpP
<{^_^}> [nixpkgs] @FRidh pushed commit from @bzizou to master « irods: 4.2.2 -> 4.2.7 + fixed + use fetchFromGitHub »: https://git.io/JfCB8
booterror has quit [Ping timeout: 240 seconds]
booterror7 is now known as booterror
<{^_^}> [nixpkgs] @FRidh merged pull request #86654 → librepcb: 0.1.3 -> 0.1.4 → https://git.io/JfsZO
<{^_^}> [nixpkgs] @FRidh pushed commit from @Luz to master « librepcb: 0.1.3 -> 0.1.4 »: https://git.io/JfCBB
<{^_^}> [nixpkgs] @FRidh merged pull request #85997 → rustc: 1.42.0 -> 1.43.0 → https://git.io/JftTH
<{^_^}> [nixpkgs] @FRidh pushed commit from @alyssais to staging « rustc: 1.42.0 -> 1.43.0 »: https://git.io/JfCBz
fabianhjr has quit [Quit: Leaving.]
eoli3n__ has joined #nixos
eoli3n__ has quit [Client Quit]
eoli3n__ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87342 → python27Packages.itypes: 1.1.0 -> 1.2.0 → https://git.io/JfCBP
alp has quit [Ping timeout: 246 seconds]
eoli3n_ is now known as veeryveryveryver
veeryveryveryver is now known as eoli3n___
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87343 → python27Packages.h2: 3.1.1 -> 3.2.0 → https://git.io/JfCRw
eoli3n_ has joined #nixos
<{^_^}> [nixpkgs] @sorki opened pull request #87344 → nixos/extlinux-conf-builder: fix cross using buildPackages → https://git.io/JfCRP
<{^_^}> [nixpkgs] @sorki closed pull request #87244 → U-Boot: add Pi4 variants and support in uboot-builder → https://git.io/Jfcln
Darkmatter66 has joined #nixos
smatting has quit [Ping timeout: 272 seconds]
Darkmatter66_ has quit [Read error: Connection reset by peer]
eoli3n_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #87181 → samba: 4.12.1 -> 4.12.2 → https://git.io/JfnKZ
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmilata to master « samba: 4.12.1 -> 4.12.2 »: https://git.io/JfC03
<{^_^}> [nixpkgs] @FRidh merged pull request #87009 → graphicsmagick: 1.3.32 → 1.3.35 → https://git.io/JfZ3M
<{^_^}> [nixpkgs] @FRidh pushed commit from @mweinelt to master « graphicsmagick: 1.3.32 → 1.3.35 »: https://git.io/JfC0n
staydownchamp has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87015 → [20.03] graphicsmagick: apply patch for CVE-2020-10938 → https://git.io/JfZs0
<{^_^}> [nixpkgs] @FRidh pushed commit from @mweinelt to release-20.03 « graphicsmagick: apply patch for CVE-2020-10938 »: https://git.io/JfC0C
alp has joined #nixos
justan0theruser has quit [Ping timeout: 252 seconds]
fdert has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #67411 → bees: Try all findmnt modes in service wrapper → https://git.io/fjNxD
<{^_^}> [nixpkgs] @FRidh pushed commit from @charles-dyfis-net to master « bees: Try all findmnt modes in service wrapper »: https://git.io/JfC04
<evils> <3 FRidh
<{^_^}> FRidh's karma got increased to 20
<hyper_ch> feels like FRidh committed like 100 PRs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87346 → python27Packages.latexcodec: 1.0.7 -> 2.0.0 → https://git.io/JfC0R
<hyper_ch> s/committed/merged/
<{^_^}> [nixpkgs] @FRidh merged pull request #85930 → python-language-server: init at 2020-04-24 → https://git.io/JfLno
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/JfC00
<staydownchamp> i'm trying to understand this a little better https://github.com/NixOS/nixpkgs/issues/77588#issuecomment-617660919
<staydownchamp> taffybar seems completely broken on 20.03, but haskell packages generally aren't supported on major releases or something
siyo12 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #86455 → [20.03] cups: 2.3.1 -> 2.3.3 → https://git.io/JfOQq
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmilata to release-20.03 « cups: 2.3.1 -> 2.3.3 »: https://git.io/JfC0o
<staydownchamp> i'd be willing to backport the fix, but if it's not going to be supported, i guess it makes more sense for me to migrate to a status bar
<staydownchamp> a different status bar
<{^_^}> [nixpkgs] @FRidh merged pull request #86187 → [20.03] libssh: 0.8.8 -> 0.8.9 → https://git.io/Jfmtc
<{^_^}> [nixpkgs] @FRidh pushed commit from @mmilata to release-20.03 « libssh: 0.8.8 -> 0.8.9 »: https://git.io/JfC0X
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87347 → python27Packages.kubernetes: 10.0.1 -> 11.0.0 → https://git.io/JfC0D
<{^_^}> [nixpkgs] @FRidh pushed 19 commits to staging-20.03: https://git.io/JfC09
domogled1 has joined #nixos
domogled has quit [Read error: Connection reset by peer]
inkbottle has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87340 → python27Packages.hdbscan: 0.8.25 -> 0.8.26 → https://git.io/JfC4E
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.hdbscan: 0.8.25 -> 0.8.26 »: https://git.io/JfCEv
zebrag has quit [Ping timeout: 260 seconds]
domogled has joined #nixos
domogled1 has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 272 seconds]
staydownchamp has quit [Remote host closed the connection]
zeenk has joined #nixos
Fare has quit [Ping timeout: 260 seconds]
<bkv> alright, time to build gccemacs
<bkv> at the rate it's going, see you in a few hours
eyenx has joined #nixos
eyenx has quit [Changing host]
eyenx has joined #nixos
<{^_^}> [nix-pills] @dmedinag opened pull request #140 → Fix grammar mistake → https://git.io/JfCE1
<{^_^}> [nixpkgs] @danieldk opened pull request #87348 → resilio-sync: 2.6.4 -> 2.7.0 → https://git.io/JfCED
<adisbladis> bkv: Please report back your findings :)
<adisbladis> I've wanted use gccemacs for a while now but 27/master is broken enough for me already
staydownchamp has joined #nixos
siyo12 has quit [Remote host closed the connection]
staydownchamp has quit [Remote host closed the connection]
splintah has joined #nixos
<{^_^}> [nix-pills] @rnhmjoj merged pull request #140 → Fix grammar mistake → https://git.io/JfCE1
<{^_^}> [nix-pills] @rnhmjoj pushed 2 commits to master: https://git.io/JfCEA
<{^_^}> [nixpkgs] @adisbladis merged pull request #87205 → libaec: init at 1.0.4; zopfli: include all headers → https://git.io/JfnA5
<{^_^}> [nixpkgs] @adisbladis pushed 3 commits to master: https://git.io/JfCuI
fendor has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #87330 → pueue: 0.3.1 -> 0.4.0 → https://git.io/JfCCF
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JfCun
nschoe has quit [Ping timeout: 260 seconds]
splintah has quit [Ping timeout: 260 seconds]
alexherbo2 has joined #nixos
hmpffff has joined #nixos
hmpffff_ has quit [Ping timeout: 240 seconds]
nschoe has joined #nixos
<bkv> :D
<adisbladis> bkv: I keep seeing a lot of this error https://hydra.nix-community.org/build/73789/nixlog/1
<adisbladis> Lisp nesting exceeds `max-lisp-eval-depth'
<adisbladis> And for the life of me I cannot find any adjustment that's not causing new issues
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87349 → python27Packages.pycontracts: 1.8.12 -> 1.8.14 → https://git.io/JfCzs
<monokrome> ,locate xwininfo
<{^_^}> Found in packages: xlibs.xwininfo
<monokrome> =^.^=
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to release-20.03: https://git.io/JfCzM
orivej has joined #nixos
<bkv> adisbladis: that's odd...
<bkv> can you build them locally? (i'd try but my pc is "occupied")
<adisbladis> bkv: For my emacs configuration I can build everything fine
<adisbladis> It blows up at startup time
kqb has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87350 → python27Packages.parse: 1.12.1 -> 1.15.0 → https://git.io/JfCgm
splintah has joined #nixos
alp has quit [Ping timeout: 265 seconds]
booterror has quit [Quit: Ping timeout (120 seconds)]
booterror has joined #nixos
<angerman> ,locate lndir
<{^_^}> Found in packages: xlibs.lndir
hlisp has joined #nixos
kqb has quit [Quit: Leaving]
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87351 → python37Packages.pikepdf: 1.11.0 -> 1.11.2 → https://git.io/JfCgr
eyenx has quit [Remote host closed the connection]
alp has joined #nixos
justan0theruser has joined #nixos
<bkv> adisbladis: oh, oof :/ i don't know enough about elisp evaluation to know why
<bkv> presumably you've tried upping the max depth to at least see what happens
zeenk has quit [Quit: Konversation terminated!]
<adisbladis> Yep
<adisbladis> It felt like a game of whack-a-mole ^_^
<bkv> haha
eoli3n__ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #87349 → python27Packages.pycontracts: 1.8.12 -> 1.8.14 → https://git.io/JfCzs
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.pycontracts: 1.8.12 -> 1.8.14 »: https://git.io/JfC2G
<{^_^}> [nixpkgs] @FRidh pushed 163 commits to staging-next: https://git.io/JfC28
<{^_^}> [nixpkgs] @FRidh pushed 165 commits to staging: https://git.io/JfC2E
<{^_^}> [nixpkgs] @FRidh pushed commit from @knedlsepp to staging « python: Fix creating RPMs from Python packages »: https://git.io/JfC2M
knupfer has joined #nixos
<{^_^}> [nixpkgs] @jlesquembre closed pull request #66610 → super-user-spark 0.3.2.0-dev -> 0.4.0.1 → https://git.io/fj57M
morr has quit [Quit: WeeChat 2.3]
morr has joined #nixos
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87352 → python27Packages.pysmbc: 1.0.19 -> 1.0.21 → https://git.io/JfCam
orivej has quit [Ping timeout: 240 seconds]
domogled has quit [Ping timeout: 246 seconds]
domogled has joined #nixos
<bkv> gccemacs is done, moment of truth....
<{^_^}> [nixpkgs] @Mic92 opened pull request #87353 → treewide: remove the-kenny from maintainers → https://git.io/JfCal
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87354 → python27Packages.pgspecial: 1.11.9 -> 1.11.10 → https://git.io/JfCa0
pjt_014 has quit [Ping timeout: 256 seconds]
thc202 has joined #nixos
<Mic92> bkv: does it feel any snappier?
eyenx has quit [Quit: bye]
eyenx has joined #nixos
eyenx has joined #nixos
eyenx has quit [Changing host]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87355 → python37Packages.pydocstyle: 4.0.1 -> 5.0.2 → https://git.io/JfCa1
orivej has joined #nixos
<bkv> was waiting for system to activate, let's see...
<bkv> wow
<bkv> yes
<bkv> very fast
<bkv> it opened so instantly that i actually wasn't expecting it
fdert has quit [Read error: Connection reset by peer]
fdert has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87356 → python37Packages.pyhcl: 0.4.2 -> 0.4.4 → https://git.io/JfCVm
<adisbladis> You've piqued my interest ;)
<adisbladis> bkv: Could you share your expressions?
<niso> bkv: mind sharing the package?
<adisbladis> Or even better: Make a PR to https://github.com/nix-community/emacs-overlay
<adisbladis> I'm happy to hack on the automatic updater bits if I just have an expression to base things on
<bkv> adisbladis: ah, sure, see bqv/nixos
<bkv> it's not all merged/pr'd yet
<bkv> i fetched bhipple's gccemacs expression, and the libgccjit from pr 87157
<bkv> i only tested opening it with no init.el so far, cause i'm using exwm so using my full config would be complicated
justan0theruser has quit [Ping timeout: 240 seconds]
<bkv> but i might restart now and see what happens
<adisbladis> =)
<adisbladis> Ok I'm gonna wait a bit, at least til 87157 is usable on the unstable channel
<niso> bkv: just noticed that you switched your nixos configuration to flakes. by chance you outlined somewhere your experiences?
<adisbladis> Once that's done I want to add gccemacs to the overlay
<bkv> yup, that was my plan this morning, until i found out gccjit was a requirement
<{^_^}> [nixpkgs] @andir opened pull request #87357 → nixos/tests/gitdaemon: fix spurious test failures due to flaky network → https://git.io/JfCVz
<bkv> niso: bleh, i have done several times, it's pretty smooth and i wouldn't ever go back at this point, but at the time i migrated it was a little bit bumpy
<bkv> others have migrated since, e.g. emily, drakonis, and a few others
<bkv> seems painless now
inkbottle has quit [Ping timeout: 272 seconds]
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c opened pull request #87358 → tbe: fix build → https://git.io/JfCVQ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87359 → python27Packages.pymupdf: 1.16.16 -> 1.16.18 → https://git.io/JfCVd
<niso> bkv: i see thanks!
orivej has quit [Ping timeout: 256 seconds]
davidv7 has joined #nixos
<{^_^}> [nix-pills] @dmedinag opened pull request #141 → Correct punctuation error → https://git.io/JfCwG
<{^_^}> [nixpkgs] @FRidh pushed 238 commits to python-unstable: https://git.io/JfCwZ
eoli3n_ has joined #nixos
hlisp has quit [Remote host closed the connection]
<JJJollyjim> Hey, is it possible to put a literal $ followed by an antiquotation in a string literal?
<JJJollyjim> e.g. generating an nginx config file, i want to insert a reference to a variable, but "$${var}" literally generates $${var}
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87360 → python27Packages.m3u8: 0.5.4 -> 0.6.0 → https://git.io/JfCwn
hlisp has joined #nixos
chagra_ has quit [Ping timeout: 260 seconds]
<infinisil> ,escape"
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<infinisil> ,escape-specual
<{^_^}> infinisil: Did you mean escape-special?
<{^_^}> A $${foo} will insert the literal string "$${foo}". Use \$${foo} in " strings or ''$${foo} in '' strings to have foo interpolated
<{^_^}> [nixpkgs] @NorfairKing closed pull request #78790 → super-user-spark: 0.3.2.0 -> 0.4.0.4 → https://git.io/JvOYC
<infinisil> JJJollyjim: ^ :)
<JJJollyjim> :3 ty
dnlkrgr has quit [Ping timeout: 272 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @FRidh opened pull request #87361 → Python packages set updates → https://git.io/JfCwR
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87362 → python27Packages.mail-parser: 3.9.3 -> 3.12.0 → https://git.io/JfCw0
<{^_^}> [nix-pills] @nlewo merged pull request #141 → Correct punctuation error → https://git.io/JfCwG
<{^_^}> [nix-pills] @nlewo pushed 2 commits to master: https://git.io/JfCwi
__monty__ has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
justan0theruser has joined #nixos
hlisp has joined #nixos
chloekek has joined #nixos
asbachb has joined #nixos
magnetophon has joined #nixos
MmeQuignon has joined #nixos
<asbachb> Is it possible to concere functions? like `${import ${toString modulesPath} NIXOS_CONFIG <nixos-config>}`
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87363 → python27Packages.pymediainfo: 4.1 -> 4.2.1 → https://git.io/JfCrI
<{^_^}> [nixpkgs] @FRidh pushed to python-unstable « python.pkgs.cryptography_vectors: 2.9.1 -> 2.9.2 »: https://git.io/JfCrL
<asbachb> I guess I got it already.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87364 → python27Packages.pysolr: 3.8.1 -> 3.9.0 → https://git.io/JfCr0
hlisp has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87365 → python27Packages.msal: 1.1.0 -> 1.2.0 → https://git.io/JfCri
dnlkrgr has joined #nixos
splintah has quit [Ping timeout: 256 seconds]
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @7c6f434c merged pull request #87358 → tbe: fix build → https://git.io/JfCVQ
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfCrS
hlisp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87366 → python37Packages.pydantic: 1.4 -> 1.5.1 → https://git.io/JfCrA
<{^_^}> [nixpkgs] @7c6f434c opened pull request #87367 → tbe: fix build [20.03] → https://git.io/JfCoe
<asbachb> Mhh I'm not there yet: `${import "${toString modulesPath}/../lib/from-env.nix" "NIXOS_CONFIG" <nixos-config>}` basically I want the content of used config. To write it out via `environment.etc."nixos/lxd.nix".text = ''`.
<{^_^}> [nixpkgs] @romildo opened pull request #87368 → matcha-gtk-theme: 2020-04-08 -> 2020-05-09 → https://git.io/JfCoU
zarel_ has quit [Ping timeout: 240 seconds]
<bdju> anyone else run into some text fields in firefox having both dark text and background so that it's unreadable without highlighting it?
zarel has joined #nixos
<bdju> I just tried changing from dark theme to default theme to light theme, all have the same problem as far as I can tell. I haven't restarted the browser between the theme changes, though.
<bdju> Maybe linked to my GTK theme.
<{^_^}> [nixpkgs] @SFrijters opened pull request #87369 → urserver: init at 3.6.0.745 → https://git.io/JfCou
NeoCron has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @prusnak closed pull request #58780 → add pyghmi - required by Ansible IPMI module → https://git.io/fjIsy
ris has joined #nixos
hlisp has joined #nixos
<infinisil> asbachb: The resulting config is available as pkgs.config
<infinisil> Or if you're in NixOS also through `config.nixpkgs.config`
torporish has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #87353 → treewide: remove the-kenny from maintainers → https://git.io/JfCal
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfCKk
asheshambasta has quit [Ping timeout: 252 seconds]
hlisp has quit [Remote host closed the connection]
<asbachb> infinisil: If I get it right `config.nixpkgs.config` is the filled datastructure. I want to revwrite the config to a static destination like /etc/nixos/used-config.nix.
<infinisil> asbachb: Not really possible with NixOS unfortunately
<infinisil> E.g. think what should happen if somebody assigns `nixpkgs.config.packageOverrides = pkgs: {};`
<infinisil> You'd have to turn a function into a string representing it, which is not possible in a purely functional language (I'm pretty sure)
<{^_^}> [nixpkgs] @prusnak closed pull request #58233 → Giada: initialize at 0.15.4 → https://git.io/fjJ5i
<adisbladis> infinisil: Sure it is, you just have to serialise the entire... ;)
<adisbladis> ^ not really
tomberek has quit [Remote host closed the connection]
<asbachb> Basically my inspiration was https://nixos.org/nixos/options.html#system.copySystemConfiguration
hlisp has joined #nixos
<Athas> For the last week or so, trying to install 'steam' fails with a bunch of 404 errors as it tries to download some .deb packages. Is anyone else seeing this? I couldn't find anything on the nixpkgs issue tracker.
<Athas> Ah, wait, looks it was reported recently, but the fix hasn't percolated to unstable yet.
<infinisil> I do like the idea of being able to serialize a whole NixOS configuration
<adisbladis> asbachb: Ugh, that's a cursed option.
hlisp has quit [Remote host closed the connection]
<asbachb> Basically I generate a system image for lxc, but it needs some configuration to be able to do nixos-rebuild. So I thought about copying the configuration used for generation and link it to the default `/etc/nixos/configuration.nix`.
<asbachb> *lxd
torporish has quit [Remote host closed the connection]
nschoe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
user51[m] has joined #nixos
<kaychaks_riot> +
Noisytoot has joined #nixos
<{^_^}> [nixpkgs] @Mic92 opened pull request #87370 → radare2-cutter: 1.10.3 -> 1.10.3 → https://git.io/JfCKV
<the_pumpkin_man[> Hello, I am trying to create a nix derivation, I tested it using `nix-shell path/to/nixpkgs -A derivation --pure` and it works. Now I try `nix-build path/to/nixpkgs -A derivation` and it complains with "cannot open git-upload-pack". Why does it work in nix-shell and not in nix-build ?
ottidmes_ has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<{^_^}> [nixpkgs] @FRidh pushed 5 commits to python-unstable: https://git.io/JfCKX
<{^_^}> [nixpkgs] @aanderse closed pull request #35463 → zsdcc: init at unstable-2018-02-24 → https://git.io/vAVyn
lunik1 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #87368 → matcha-gtk-theme: 2020-04-08 -> 2020-05-09 → https://git.io/JfCoU
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/JfCK7
lunik1 has joined #nixos
cosimone has joined #nixos
hlisp has joined #nixos
hlisp has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87371 → python27Packages.phonenumbers: 8.12.0 -> 8.12.2 → https://git.io/JfCKp
<the_pumpkin_man[> It might be an issue with networking, is it allowed within nix-build ?
chagra_ has joined #nixos
Maxdamantus has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
Maxdamantus has joined #nixos
alp has quit [Ping timeout: 246 seconds]
jonge[m] is now known as jongeOld[m]
o1lo01ol1o has joined #nixos
<the_pumpkin_man[> Networking seem to not work, tried with a shitty wget and it can't resolve hostnames ... That's a problem. How can I enable networking while building ?
<lukego> Hey does anyone fancy a chat about Common Lisp packaging? I'm using ql2nix - an abandonware (?) out of tree solution to packaging Quicklisp - and it's been good but doesn't support modifications to packages e.g. patches out of the box. I'm wondering whether to hack that or whether the in-tree quicklisp support is actually more suitable. maybe someone works with this stuff?
<{^_^}> [nixpkgs] @Mic92 merged pull request #73495 → weechatScripts: recurseIntoAttrs → https://git.io/JeoB2
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfC6W
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87372 → python27Packages.plexapi: 3.2.0 -> 3.4.0 → https://git.io/JfC64
<MichaelRaskin> Ooooh, I see what is this
<{^_^}> [nixpkgs] @Mic92 opened pull request #87373 → weechatScripts.wee-slack: 2.5.0 -> 2.6.0 → https://git.io/JfC60
<balsoft> the_pumpikin_man: You have to use a fixed-output derivation for that
<MichaelRaskin> It's a wrapper for QL in the style of our cargo wrapper
<balsoft> Nix builds are sandboxed by design
ottidmes has joined #nixos
<the_pumpkin_man[> balsoft: how do I do that ?
<the_pumpkin_man[> It is actually my first derivation, I'm discovering things
<maralorn> I have an expression which I think is a derivation. I think that because I can build it with nix-build -E '<expr>'. But when I try to coerce it to a string in a bigger expression I get cannot cource set to a string.
<maralorn> How can I get the output path of the derivation?
<balsoft> the_pumpkin_man: ah, in this case you should probably just forget about networking in nix builds for now
<MichaelRaskin> lukego: It might not even be abandonware, we just have a thing with different tradeoffs for putting stuff inside Nixpkgs
chloekek has quit [Ping timeout: 256 seconds]
<balsoft> Well, if you want to, I can tell you how to wget, but it's not a recommended practive
<balsoft> the_pumpkin_man: recommended practice is to use fetchurl or fetchTarball and then place the result of those in your build
<the_pumpkin_man[> Yes I know
<the_pumpkin_man[> But I'm packaging some software
<{^_^}> [nixpkgs] @7c6f434c merged pull request #87367 → tbe: fix build [20.03] → https://git.io/JfCoe
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to release-20.03: https://git.io/JfC6u
<the_pumpkin_man[> And it has an installer, which of course needs internet access
<{^_^}> [nixpkgs] @prusnak opened pull request #87374 → giada: 0.16.1 -> 0.16.2.2 → https://git.io/JfC6z
<balsoft> Both of them are implemented via fixed-output derivations (nixpkgs versions, that is, builtin versions are actually eval-time)
<balsoft> the_pumpkin_man: ah, in that case please wait a second
iyzsong has quit [Ping timeout: 260 seconds]
<balsoft> the_pumpkin_man: You have to specify outputHash = "sha256"; outputHashMode = "recursive"; outputHash = your_sha256;
<lukego> MichaelRaskin: hm well if it's not abandoned then I have another patch I need to submit :)
<the_pumpkin_man[> Ok, will try
<balsoft> the_pumpkin_man: I'm not aware of any good way to get your_sha256 other than by building it with a fake sha256 first and replacing with the sha256 nix will spit out in its error message
<MichaelRaskin> I mean, Common Lisp is not a high-churn ecosystem, if something works with it, it will probably continue to work
<the_pumpkin_man[> I already built it with nix-shelll
<the_pumpkin_man[> So it's already good
iyzsong has joined #nixos
<balsoft> the_pumpkin_man: you might be able to nix-hash the result you've built with nix-shell and use that as your sha256 (there might be some issues with that approach)
<{^_^}> SquircleSpace/ql2nix#4 (by lukego, 14 seconds ago, open): nixlispBundle.nix: Protect against bash unbound variable error
greizgh has quit [Quit: greizgh]
<the_pumpkin_man[> > the_pumpkin_man: You have to specify `outputHash = "sha256"; outputHashMode = "recursive"; outputHash = your_sha256;`
<the_pumpkin_man[> I just don't get why you specify outputHash two times
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):310:38
<the_pumpkin_man[> And what is outputHashMode ?
greizgh has joined #nixos
<balsoft> Oh, sorry, s/outputHash/outputHashAlgo/ (only the first one)
<the_pumpkin_man[> Ok thank you
<the_pumpkin_man[> Good, it seems to build !
<the_pumpkin_man[> Just asking again, what is `outputHashMode` ?
<balsoft> Glad I could be of help!
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/d6c1b566b77 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<lukego> MichaelRaskin: One other issue I have with ql2nix is having to constantly re-bootstrap it each time I need a new package. Could be nice to just include every package every time. That way I only need to rebootstrap when a new Quicklisp is released.
<balsoft> the_pumpkin_man: Ah, it's basically what argument is passed to nix-hash
NeoCron has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @petabyteboy merged pull request #87374 → giada: 0.16.1 -> 0.16.2.2 → https://git.io/JfC6z
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @prusnak to master « giada: 0.16.1 -> 0.16.2.2 »: https://git.io/JfC6r
<{^_^}> [nix-pills] @dmedinag opened pull request #142 → Paraphrase utility of strip → https://git.io/JfC6o
<MichaelRaskin> lukego: well, in Nixpkgs we include a significant but not even close to full list of Quicklisp things, and you can include them without the expensive re-bootstrapping step
<the_pumpkin_man[> But what does it changes ?
<balsoft> the_pumpkin_man: (BTW there's a matrix room #nix:matrix.org)
<the_pumpkin_man[> oh didn't know that
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87375 → python37Packages.pygit2: 1.1.1 -> 1.2.1 → https://git.io/JfC66
<{^_^}> [nix] @dmedinag opened pull request #3580 → Fix typo → https://git.io/JfC6P
<balsoft> the_pumpkin_man: I haven't seen any other argument but "recursive" there
<the_pumpkin_man[> Ok, thank you !
<balsoft> the_pumpkin_man: I think it also accepts flat and then passes nix-hash --flat but I don't know how that works
<balsoft> There are people here who know a lot more about this stuff, you might want to wait for them :)
<MichaelRaskin> Recursive hashing means you are checksumming a directory
<the_pumpkin_man[> Oh then that's not what I want
<betawaffle> if i use a nixos module import (i.e. { imports = [ ./secrets.nix ]; }), is that going to be copied to the nix store, or can i keep it out of the store?
chaoflow has joined #nixos
<the_pumpkin_man[> Just need that for a single file
<MichaelRaskin> There is another mode that is only applicable to single plain files and is compatible with standard sha*sum
<adisbladis> betawaffle: That's not copied to the store
<betawaffle> ok great
<adisbladis> Your secrets may be depending on how you treat them
tokudan has quit [Remote host closed the connection]
<MichaelRaskin> Well, recursive is applicable to single files in principle
<adisbladis> But `imports = []` doesn't inherently put things in the store
<betawaffle> adisbladis: right, in my case i'm only using `users.users.<name>.hashedPassword = "..."`
<balsoft> betawaffle: I think that it'd be very hard to keep the secrets you set in secrets.nix from appearing in nix store, though. If you use them in any file/script/whatever, they're automatically there.
<chaoflow> I'd like to use a shell.nix file for multiple projects and use the directory basename as derivation name. Is there something like: stdenv.MkDerivation rec { name = basename { ./. }; }?
Noisytoot has quit [Ping timeout: 258 seconds]
<adisbladis> I made a hack for that the other day when we had a discussion about secrets
<adisbladis> They still go in the instantiated drv, but will fail at build time
<betawaffle> doesn't nixos keep /etc/shadow things out of the store?
ircuser5678 has joined #nixos
<siers> Where should I put "openvpn --mktun --dev"s, "brctl addbr"s and etc. for openvpn bridging? Should I make a systemd service that has the dependency? // see bridge-start in https://openvpn.net/community-resources/ethernet-bridging/
tokudan has joined #nixos
<adisbladis> betawaffle: Yes and no, it ensures they are hashed iirc
<betawaffle> well it's already a hash of my password...
<betawaffle> but it's still strictly better to not leak it
<balsoft> chaoflow: builtins.baseNameOf
<balsoft> > builtins.baseNameOf ./.
<{^_^}> "nixpkgs"
<balsoft> > builtins.baseNameOf /foo/bar/baz
<{^_^}> "baz"
<{^_^}> [nixpkgs] @AshyIsMe opened pull request #87376 → J addons → https://git.io/JfC6b
domogled has quit [Ping timeout: 260 seconds]
<MichaelRaskin> the_pumpkin_man[: oh, and the single-file mode is called "flat" https://nixos.org/nix/manual/#fixed-output-drvs
<adisbladis> betawaffle: Well, that's impossible
<adisbladis> At least with immutable users
opthomasprime has joined #nixos
<betawaffle> interesting. is it because it still shoves the hash into a script that runs at boot?
<adisbladis> Exactly
<betawaffle> what if i use passwordFile?
<betawaffle> oh wait...
<betawaffle> i want hashedPasswordFile :P
<adisbladis> betawaffle: nixos/modules/config/update-users-groups.pl
<adisbladis> That's where the magic happens
<adisbladis> (and the associated nix expression)
<ircuser5678> Is there a preferred site on which I should post some code? I'm trying to include a shell script via writeScriptBin
<adisbladis> ircuser5678: Not really, I'd go with ix.io
<chaoflow> balsoft: thanks a lot! - I'll aim for doing a better job at finding that myself.
<betawaffle> k, well i guess there's still value to a separate secrets.nix in that i can keep it out of git
<balsoft> betawaffle: I'm using git-crypt for that
<balsoft> (thanks to bqv for suggestion)
<adisbladis> I was just gonna recommend git-crypt too :)
<betawaffle> right, what i mean is i want most of my configuration to be public
<adisbladis> See https://github.com/nix-community/infra for a public repo using git-crypt for secrets with nix
fdert has quit [Ping timeout: 272 seconds]
<ircuser5678> adisbladis: Thanks
<ircuser5678> My issue is that I get an error message when trying to nixos-rebuild switch: error: undefined variable 'blk' at /etc/nixos/scripts-configuration.nix:17:18
<betawaffle> adisbladis: ahh, that's helpful thanks
* adisbladis should implement his hack in that repo :3
<ircuser5678> I can't just assign simple variables when using writeScriptBin? The script works fine if I just create it manually chmod +x it and execute it
<adisbladis> ircuser5678: What exactly is the problem?
<adisbladis> blk is using the nix string interpolation syntax, that's gonna fail
<ircuser5678> It's what a normal shell does as well. How do I need to change this for nix?
<user51[m]> I have set networking.proxy.httpProxy in my configuration.nix, but apparently the environment variable is only set for root. How can i set it for all users?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87377 → python27Packages.numpy-stl: 2.11.0 -> 2.11.2 → https://git.io/JfCiI
<adisbladis> ,escape ircuser5678
<{^_^}> adisbladis: Did you mean escape"?
<{^_^}> ircuser5678: " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
<adisbladis> '' ''${blk} ''
<adisbladis> > '' ''${blk} ''
<{^_^}> "${blk} "
<adisbladis> ircuser5678: ^
<adisbladis> You need to escape ${}
magnetophon has quit [Ping timeout: 260 seconds]
<adisbladis> betawaffle: Complete hack: http://ix.io/2lno/nix
<betawaffle> so what exactly does that protect against?
slack1256 has joined #nixos
<adisbladis> betawaffle: Secrets still go in drv files, no way around that
<adisbladis> But it protects against secrets ending up in built store paths
Noisytoot has joined #nixos
<adisbladis> Lets say I pass a secret to a module writing it out on disk
<adisbladis> That won't happen
<betawaffle> but just to be clear, if i were to use that on my hashedPassword, i wouldn't be able to build my system, right?
<adisbladis> You are correct!
<betawaffle> k, cool
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87378 → python37Packages.pylint-django: 2.0.14 -> 2.0.15 → https://git.io/JfCin
<betawaffle> how exactly does the string context thing work?
<{^_^}> [nixpkgs] @jlesquembre opened pull request #87379 → super-user-spark: remove → https://git.io/JfCic
<betawaffle> would interpolating the secret into another string fail, or only when writing out to disk?
<adisbladis> shlevy wrote a blog post on it http://blog.shealevy.com/2018/08/05/understanding-nix's-string-context/
alp has joined #nixos
<adisbladis> betawaffle: String context is cumulative
<adisbladis> Interpolating into another string is fine, but would fail at realisation (build-time)
<betawaffle> right, but as long as all the strings i interpolate it into don't go into builds, it would still allow it, right?
<betawaffle> cool
<adisbladis> Since the context indicates a dependency on the derivation we just made that always fails
<maralorn> my single biggest wish for nix+nixpkgs: A standard lib documentation that is better searchable then grep through nixpkgs.
hlisp has joined #nixos
Noisytoot has quit [Quit: Leaving]
<maralorn> Doesn‘t that annoy everyone working with nix?
<simpson> maralorn: I'm looking for the link; there *is* a pretty rendered version of the docstrings in the stdlib, but I'm not sure where it is.
<betawaffle> completely unrelated question. is `.override` the way i'm supposed to pass arguments to a package?
<simpson> adisbladis++
<{^_^}> adisbladis's karma got increased to 70
<simpson> maralorn: TBH, though, I often find myself having to look up various stuff for various languages, and Nix isn't as annoying as, say, GLSL, or DOM-flavored ECMAScript.
<maralorn> Oh, wow. Thanks
<adisbladis> betawaffle: It's the way you amend arguments to the package function
<betawaffle> is there a different way i can pass arguments to packages that are designed to be "configurable" ?
<adisbladis> Also I can't recommend https://github.com/tazjin/nix-1p enough
<maralorn> simpson: I mostly write haskell and basically everything pales in contrast to hoogle.
morr has quit [Quit: WeeChat 2.7.1]
<adisbladis> We should make nix-1p part of the official docs...
waleee-cl has quit [Quit: Connection closed for inactivity]
morr has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
<simpson> maralorn: It's alright, but when reading Haskell I usually have to go look up instance definitions and ensure that the type's defined in the way that I want. TBF I'm usually porting *from* Haskell.
opthomasprime has quit [Remote host closed the connection]
hlisp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87380 → python37Packages.logilab_common: 1.5.2 -> 1.6.1 → https://git.io/JfCiX
m0rphism has joined #nixos
webster23 has joined #nixos
<slack1256> I got a binary (cave story) and I could modify on an stdenv.mkShell environment with patchelf to run. What is the correct setup to package such binary?
<slack1256> Should it be a default.nix that has an empty build setup and just a postInstall that uses patchelf to overwrite the rpaths?
<slack1256> (cave story) that I modified on a stdenv.mkShell..
noudle has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87381 → python27Packages.msgpack-numpy: 0.4.4.3 -> 0.4.5 → https://git.io/JfCPL
<{^_^}> [nixpkgs] @bjornfor merged pull request #87325 → lxd: 4.0.1 -> 4.1 → https://git.io/JfCC3
<{^_^}> [nixpkgs] @bjornfor pushed commit from @marsam to master « lxd: 4.0.1 -> 4.1 »: https://git.io/JfCPq
<srk> slack1256: pretty much, you can also try steam-run
<{^_^}> [nixpkgs] @wamserma opened pull request #87382 → python2: 2.7.17 -> 2.7.18 (security, backport) → https://git.io/JfCPG
o1lo01ol1o has quit [Remote host closed the connection]
<slack1256> steam-run? is that a wrapper for this (common) situation?
<{^_^}> [nixpkgs] @bjornfor merged pull request #87300 → mupdf: add MIME types to .desktop → https://git.io/JfCf3
<{^_^}> [nixpkgs] @bjornfor pushed commit from @wamserma to master « mupdf: add MIME types to .desktop »: https://git.io/JfCP8
hlisp has quit [Remote host closed the connection]
<slack1256> I also have to deal with save-files. On a FHS-distro, this game is put on /opt and it can write data on its own folder.
hlisp has joined #nixos
vidbina has joined #nixos
<{^_^}> [nixpkgs] @stianlagstad opened pull request #87383 → dstask: init at 0.17 → https://git.io/JfCP7
<ircuser5678> adisbladis: Thanks but I guess I'm too dumb. A very simple case: blk=abc. I can then use echo $blk. But if I need to use this variable like so (e.g. in a string) echo ${blk}. It fails. The bot said that I need to escape it this way: echo \${blk}. But leads (again) to the undefined variable error when switching the build
<balsoft> ircuser5678: try passing inherit blk to your stdenv.mkDerivation call
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87384 → python27Packages.pyroute2: 0.5.11 -> 0.5.12 → https://git.io/JfCXI
<ircuser5678> balsoft: I don't have such a call in this .nix file. https://pastebin.com/AFuZBhvw
booterror7 has joined #nixos
<balsoft> Ah, I interpreted "build" wrong
<balsoft> Just do ''${blk}
alp has quit [Remote host closed the connection]
<ircuser5678> just one double quote in front of the $ and nothing else needs to be escaped?
<balsoft> The syntax for single-line strings is "\${blk}", for multi-line it's '' ''${blk} ''
<balsoft> Intuitive, I know
alp has joined #nixos
booterror has quit [Ping timeout: 256 seconds]
booterror7 is now known as booterror
<balsoft> No, two single quotes :)
chagra_ has quit [Ping timeout: 256 seconds]
<ircuser5678> balsoft: Ahhhhh. Yeah, very intuitive^^ That works :) Thanks && thanks @adisbladis
philr has quit [Ping timeout: 256 seconds]
<qyliss> fwiw, that's mostly convention
<qyliss> ''hello'' is a valid string
<qyliss> The difference between is more like '' strings being "raw" strings
<qyliss> > "\n"
<{^_^}> "\n"
<qyliss> > ''\n''
<{^_^}> "\\n"
<qyliss> "\n" gives you a newline, ''\n'' gives you literal \n
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @ccellado opened pull request #87385 → vips: 8.9.1 -> 8.9.2 → https://git.io/JfC16
chagra_ has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #86923 → gnomeExtensions.window-is-ready-remover unstable-2020-03-25 -> 1.02 → https://git.io/JfGS5
<{^_^}> [nixpkgs] @bjornfor pushed commit from @firmero to master « gnomeExtensions.window-is-ready-remover unstable-2020-03-25 -> 1.02 »: https://git.io/JfCMv
inkbottle has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #86886 → [20.03] ceph: 14.2.8 -> 14.2.9 → https://git.io/JfGrT
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to release-20.03 « ceph: 14.2.8 -> 14.2.9 »: https://git.io/JfCMq
<{^_^}> [nixpkgs] @FRidh pushed 6 commits to staging-20.03: https://git.io/JfCMO
zupo has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #87382 → python2: 2.7.17 -> 2.7.18 (security, backport) → https://git.io/JfCPG
<{^_^}> [nixpkgs] @FRidh pushed to staging-20.03 « python2: 2.7.17 -> 2.7.18 (security, backport) »: https://git.io/JfCM3
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #87384 → python27Packages.pyroute2: 0.5.11 -> 0.5.12 → https://git.io/JfCXI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfCM8
zupo has quit [Client Quit]
<{^_^}> [nixpkgs] @ccellado closed pull request #87385 → vips: 8.9.1 -> 8.9.2 → https://git.io/JfC16
o1lo01ol1o has quit [Remote host closed the connection]
<the_pumpkin_man[> MichaelRaskin: I'm late, but thanks for the info ! (and the nix manual part)
shafox has quit [Remote host closed the connection]
<{^_^}> [nixops] @grahamc reopened pull request #1202 → [WIP] Flake support → https://git.io/Jecjd
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @ccellado opened pull request #87386 → vips: 0.8.1 -> 0.8.2 → https://git.io/JfCMF
captn3m0 has quit [Quit: ZNC 1.7.5 - https://znc.in]
fling has quit [Ping timeout: 260 seconds]
captn3m0 has joined #nixos
shafox has joined #nixos
<{^_^}> [nixpkgs] @ccellado opened pull request #87387 → Phpmd → https://git.io/JfCDL
ixxie has joined #nixos
fling has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @joachifm merged pull request #86767 → tor: fix cross compiling → https://git.io/Jfsp5
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JfCDw
chloekek has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #87388 → Python packageOverrides improvements → https://git.io/JfCys
cr4y1 has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/f860b7b6083 (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
steevveen has joined #nixos
<{^_^}> [nixpkgs] @adisbladis merged pull request #87138 → php: correctly set outputsToInstall after withExtensions. → https://git.io/JfnJS
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/JfCyD
<hyper_ch> I have a weird issue: have networking.nameservers = [ "127.0.0.1" "10.10.10.1" "8.8.8.8" "8.8.4.4" ]; but the /etc/resolv.conf only shows: nameserver 127.0.0.53 and options edns0
virus_dave has joined #nixos
<steevveen> Hi! I'm learning Perl, version5, and I try to do some little scripts. For one I need a CPAN module. I have a default.nix that includes perl528Packages.CPAN. I launch the command line, but when installing the module install X11::FullScreen, at some moment there is an error. I suspect CPAN is conflicting with the nix way, as it obviously tries to do
<steevveen> stuff inside the /nix/store. To perl5 programmers, how do you do with external CPAN module , when doing the nix way ?
fling has quit [Remote host closed the connection]
<adisbladis> hyper_ch: Thats normal I think
<adisbladis> hyper_ch: IIRC the nameservers populate your resolver which I'm gonna guess is either systemd-resolved or unbound ?
<hyper_ch> adisbladis: If I add explizit nameserver in the nixos config and then they don't appear in resolv.conf is normal? resulting in not actually being able to resolve domain names?
<{^_^}> [nixpkgs] @sorki opened pull request #87389 → tor: fix cross compiling → https://git.io/JfCyF
<hyper_ch> adisbladis: and which is the resolver?
<adisbladis> Let me look into exactly what the module is doing, but I'm pretty sure that's the way things work.
<hyper_ch> adisbladis: I had to manually add a namserver to /etc/resolv.conf because otherwise I couldn't update nixos because it couldn't resolve nixos.org
<adisbladis> Indeed
<adisbladis> hyper_ch: Are you using resolved or some other caching resolver like unbound or bind?
<adisbladis> Are you using networkmanager?
<hyper_ch> adisbladis: no
_d0t has joined #nixos
<_d0t> ohai! How do I check if my derivation is built with sandboxing enabled?
<adisbladis> Fwiw this is my /etc/resolv.conf http://ix.io/2lnT/text
<adisbladis> I'm using unbound
<hyper_ch> why is expecting networking.nameserver entries to be added to /etc/resolv.conf wrong?
<adisbladis> _d0t: Enabling/disabling sandboxing doesn't affect the hashes of the derivation. So I'm pretty certain you can't check after the fact.
<adisbladis> hyper_ch: Because you are very likely using a resolver daemon
<_d0t> adisbladis: no, but I want to check for sandboxing because some features of the build can't be used in a sandbox.
<adisbladis> /etc/resolv.conf is pointing to that one
<hyper_ch> adisbladis: how would I find this out what is being used?
<hyper_ch> adisbladis: I do use systemd.network for setting up a bridge
FRidh has quit [Quit: Konversation terminated!]
<adisbladis> hyper_ch: I'd start by checking the value of https://nixos.org/nixos/options.html#services.resolved.enable
<hyper_ch> adisbladis: by default false and I don't have it in my configuration.nix
<adisbladis> hyper_ch: If you enable network resolved is also enabled by default
<adisbladis> if you enable networkd*
<adisbladis> So that would explain things
<hyper_ch> I can add services.resolved.fallbackDns and see how it goes... thx
jnbrains has joined #nixos
slack1256 has quit [Remote host closed the connection]
tobiasBora has joined #nixos
<tobiasBora> Hello,
__monty__ has quit [Quit: leaving]
<{^_^}> [nix] @TerrorJack opened pull request #3581 → Update "Upgrading Nix" documentation → https://git.io/JfCSc
<exarkun> clever: "nix-store --verify --check-contents" exited with 0 and no further output fwiw
<tobiasBora> I'm quite curious to know, the version of Ocaml that uses flambda seems pretty common and famous, but I just tried to install it and it compiles everything from scratch (and takes ages). Is there any reason the flambda version of ocaml is not compiled by Hydra?
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<adisbladis> tobiasBora: Just quickly eyeing the expression it's not enabled by default
<adisbladis> And there isn't a derivation in nixpkgs setting it to true
shabius has quit [Quit: Leaving]
shabius has joined #nixos
codygman has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @joachifm merged pull request #87041 → mksh: 58 -> 59 → https://git.io/JfZCa
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JfCS2
codygman has joined #nixos
aveltras has joined #nixos
<tobiasBora> adisbladis: why not creating another expression that sets it to true for people interested by the flambda optimizer?
mmatthieu has left #nixos ["User left"]
<adisbladis> tobiasBora: I'm not qualified to answer that
<tobiasBora> adisbladis: ok thanks!
grumble has quit [Quit: As we empty our lint traps, we're just slowly throwing our clothes in the garbage.]
codygman has quit [Ping timeout: 256 seconds]
codygman has joined #nixos
<{^_^}> [nixpkgs] @joachifm merged pull request #87389 → [20.03] tor: fix cross compiling → https://git.io/JfCyF
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to release-20.03: https://git.io/JfCS9
<{^_^}> [nixpkgs] @xrelkd opened pull request #87391 → firecracker: 0.20.0 -> 0.21.1 → https://git.io/JfCS7
grumble has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @lheckemann opened pull request #87392 → Freerdp backport → https://git.io/JfC9V
pbb has joined #nixos
<infinisil> <3 adisbladis for #82453!
<{^_^}> adisbladis's karma got increased to 71
<infinisil> #82453
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82453 (by adisbladis, 8 weeks ago, merged): Python: introduce NIX_PYTHONPREFIX in order to set site.PREFIXES
m0rphism has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @bjornfor merged pull request #86504 → genpass: init at 0.4.1 → https://git.io/Jf3GH
<{^_^}> [nixpkgs] @bjornfor pushed 2 commits to master: https://git.io/JfCHm
vidbina has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @B4dM4n opened pull request #87394 → lib: add makeOverridableWithName + build*Package overrides → https://git.io/JfCHM
<{^_^}> [nixpkgs] @bjornfor merged pull request #86464 → multibootusb: patchelf syslinux, add missing dependencies → https://git.io/JfOdm
<{^_^}> [nixpkgs] @bjornfor pushed commit from @symphorien to master « multibootusb: patchelf syslinux, add missing dependencies »: https://git.io/JfCHS
palesz has joined #nixos
jakobrs has joined #nixos
tom[m]4 has joined #nixos
<{^_^}> [nix] @bhipple opened pull request #3582 → doc: consistently refer to 'fixed-output' with a dash → https://git.io/JfCQT
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
alexherbo2 has joined #nixos
vidbina has joined #nixos
cole-h has joined #nixos
splintah has joined #nixos
<{^_^}> [nixpkgs] @Luflosi opened pull request #87395 → kitty: 0.17.3 -> 0.17.4 → https://git.io/JfCQP
<jakobrs> Could somebody take a look at #86955? It makes it possible to perform a bind mount in initramfs without having to have the file systems ordered alphabetically.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/86955 (by jakobrs, 3 days ago, open): fsBefore does not recognise one filesystem as depending on another filesystem in the case of bind mounts where the source of the bind mount is not itself a mount point
<jakobrs> Wrong number, #86967 is the correct one
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86967 (by jakobrs, 3 days ago, open): nixos/lib/utils: Generalise fsBefore (in response to #86955)
proofofkeags has joined #nixos
<jakobrs> There is also a linked branch that provides a more general fileSystems.<name>.depends option.
steevveen has quit [Ping timeout: 245 seconds]
alexherbo2 has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e56fe0ec151 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
zarel has quit [Quit: ZNC 1.7.4 - https://znc.in]
zarel has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87396 → python27Packages.nine: 1.0.0 -> 1.1.0 → https://git.io/JfCQA
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87397 → python37Packages.PyGithub: 1.47 -> 1.51 → https://git.io/JfC7L
WoC has quit [Remote host closed the connection]
WoC has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #87273 → virtualbox: Fix build issue due to open-watcom-bin → https://git.io/Jfcy0
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfC7Z
zeenk has joined #nixos
<{^_^}> [nixpkgs] @Luflosi opened pull request #87398 → ipfs: 0.5.0 -> 0.5.1 → https://git.io/JfC7C
kim0 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @bjornfor merged pull request #86148 → bitcoin: 0.19.0.1 -> 0.19.1 → https://git.io/Jfqdl
<{^_^}> [nixpkgs] @bjornfor pushed commit from @prusnak to master « bitcoin: 0.19.0.1 -> 0.19.1 »: https://git.io/JfC7B
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
splintah has quit [Quit: leaving]
hlisp has quit [Remote host closed the connection]
hlisp has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87399 → python27Packages.portalocker: 1.5.2 -> 1.7.0 → https://git.io/JfC7a
<azazel> is it possible to have "variable retention" with the systemd journal? I.e. one year for some logs and the default for others?
fengdaolong has quit [Ping timeout: 246 seconds]
fengdaolong has joined #nixos
hlisp has quit [Ping timeout: 258 seconds]
WoC has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 256 seconds]
jnbrains has quit [Quit: jnbrains]
beww has quit [Ping timeout: 256 seconds]
hlisp has joined #nixos
hlisp has quit [Ping timeout: 246 seconds]
asbachb has quit [Ping timeout: 245 seconds]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87401 → python27Packages.ldap3: 2.6.1 -> 2.7 → https://git.io/JfC5G
<adisbladis> infinisil: =)
<adisbladis> That was a tough one to hunt down
hlisp has joined #nixos
alp has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #87263 → nixos/resolved: Include dbus alias of resolved unit → https://git.io/Jfco4
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfC5C
user_0x58 has joined #nixos
<infinisil> adisbladis: Unfortunately mypy still doesn't work in the checkPhase of a buildPythonApplication, but I'll probably just make a separate derivation instead :)
<infinisil> I guess dependencies are installed differently in there
hlisp has quit [Ping timeout: 256 seconds]
jakobrs has left #nixos ["WeeChat 2.8"]
zupo has joined #nixos
civodul has joined #nixos
plutes has quit [Ping timeout: 256 seconds]
plutes has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3461eacc9ea (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
hlisp has joined #nixos
wavirc22_ has joined #nixos
wavirc22 has quit [Ping timeout: 260 seconds]
luna has joined #nixos
luna has quit [Client Quit]
luna has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87402 → python27Packages.plotly: 4.4.1 -> 4.6.0 → https://git.io/JfC51
<palesz> This might be a highly controversial question: is there a way to use nix on windows? Did anyone try it?
<simpson> palesz: I hear that there is Nix on Cygwin and Nix on WSL, but I have no idea what their status is. They're not officially supported, AFAIK.
<simpson> (ISTR whispers of some sort of tier system for supported platforms (or at least supported triples) but I don't know where that would be.)
wavirc22 has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
wavirc22_ has quit [Ping timeout: 260 seconds]
alp has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
<palesz> Nix on Cygwin or on WSL (latter is pretty much a VM, especially WSL2). I was looking for using nix to manage Windows "packages".
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<palesz> * works for sure
chaoflow has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87403 → python27Packages.parver: 0.2.1 -> 0.3.0 → https://git.io/JfCde
mallox has joined #nixos
hlisp has joined #nixos
SomeStranger has joined #nixos
<palesz> thanks for the platform support wiki
<palesz> *rfc
<simpson> TIL, cole-h++
<{^_^}> cole-h's karma got increased to 46, it's a crit!
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87404 → python37Packages.pyenchant: 2.0.0 -> 3.0.1 → https://git.io/JfCdn
hlisp has quit [Ping timeout: 240 seconds]
mallox has quit [Quit: WeeChat 2.8]
alp has quit [Quit: Leaving]
hlisp has joined #nixos
waleee-cl has joined #nixos
wavirc22 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
SomeStranger has quit [Remote host closed the connection]
<adisbladis> infinisil: Yes, this is to fix it with buildEnv
<adisbladis> I've never really wanted to run mypy inside a derivation
wavirc22 has joined #nixos
alexherbo25 has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
wnklmnn has joined #nixos
wavirc22 has quit [Read error: Connection reset by peer]
WoC has joined #nixos
wavirc22_ has joined #nixos
kl3 has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87405 → python27Packages.rdflib: 4.2.2 -> 5.0.0 → https://git.io/JfCdp
wavirc22_ has quit [Read error: Connection reset by peer]
wavirc22 has joined #nixos
<infinisil> adisbladis: I wonder if it's reasonable to use buildEnv's for buildPythonApplication
hlisp has quit [Ping timeout: 272 seconds]
hlisp has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #87406 → arcanist: Fix on darwin → https://git.io/JfCFY
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #87407 → doc: update python manual to reference python 3.8 instead of 3.5 → https://git.io/JfCFW
<{^_^}> [nixpkgs] @bjornfor merged pull request #86436 → maintainers/scripts/build.nix: script to build all maintainer packages → https://git.io/JfOPz
<{^_^}> [nixpkgs] @bjornfor pushed commit from @gnidorah to master « maintainers/scripts/build.nix: script to build all maintainer packages »: https://git.io/JfCFl
alexherbo25 has quit [Ping timeout: 264 seconds]
sarcasticadmin has joined #nixos
<{^_^}> [nixpkgs] @rpearce opened pull request #87408 → Bashcards → https://git.io/JfCFV
<adisbladis> infinisil: It propagates _way_ too much stuff
WoC has quit [Remote host closed the connection]
m0rphism has joined #nixos
hlisp has quit [Ping timeout: 256 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @rasendubi opened pull request #87409 → melpa-packages: 2020-05-09 → https://git.io/JfCF7
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #86170 → [20.03] palemoon: 28.8.4 -> 28.9.1, add GTK3 option → https://git.io/JfmUt
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to release-20.03: https://git.io/JfCFb
WoC has joined #nixos
sigmundv_ has joined #nixos
<infinisil> adisbladis: You mean buildEnv's propagate too much stuff?
<adisbladis> Yes
<adisbladis> And it would make overrides super awkward
Maxdamantus has quit [Ping timeout: 256 seconds]
<infinisil> Kind of disappointing to have python package builds work very differently from python environments
hlisp has joined #nixos
user_0x58 has quit [Quit: Leaving]
Maxdamantus has joined #nixos
<ixxie> hmm why is vscode unfree? I thought it was open source...
gustavderdrache has joined #nixos
<balsoft> It's open-source but the license on the binary is non-free
justan0theruser is now known as justanotheruser
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has quit [Quit: knupfer]
<simpson> ixxie: `vscodium` is the corresponding build from source with a free license.
knupfer has joined #nixos
<ixxie> that's weird... okay
<simpson> On one hand, I don't know why we tolerate trademarked artwork. OTOH, Firefox. It's not an easy situation.
<ixxie> Wait, so its only due to the trademark?
<cole-h> We have permission for Firefox.
<ixxie> Thats a bit... silly
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87410 → python37Packages.starlette: 0.13.2 -> 0.13.4 → https://git.io/JfCbB
endformationage has joined #nixos
<ixxie> aha
WoC has quit [Remote host closed the connection]
<etu> ixxie: vscode that you download from the project website also contains tracking
WoC has joined #nixos
<ixxie> oh... thats... interesting
<etu> ixxie: Which you don't get off you build it from source iirc
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3461eacc9ea (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<cole-h> It's Microsoft, did you expect anything different? :P
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87411 → python27Packages.twilio: 6.35.1 -> 6.39.0 → https://git.io/JfCbw
hlisp has quit [Ping timeout: 272 seconds]
WoC has quit [Client Quit]
fabianhjr has joined #nixos
<etu> cole-h: no :)
zeta_0 has joined #nixos
<ixxie> what do you use?
<etu> "VS Code automatically sends telemetry data and crash dumps to help us improve the product." -- https://code.visualstudio.com/#home-terms
<cole-h> I use doom-emacs (:
<ixxie> I just want an editor which is not a project to configure
rock_rerrigan10 has joined #nixos
<ixxie> but which I can declaratively configure :D
<cole-h> Why not?
<cole-h> That's the best part!
<etu> I started configuring my Emacs 12 years ago, it works well enough now. It's quite rare that I change the config.
rock_rerrigan10 has quit [Remote host closed the connection]
<adisbladis> Did someone say emacs? :)
<clever> exarkun: weird
<adisbladis> Tbh you probably save time setting up emacs properly :P
the_stanley_hote has joined #nixos
zeenk has quit [Ping timeout: 260 seconds]
<hyper_ch> if emacs only had a decent editor
the_stanley_hote has quit [Remote host closed the connection]
<cole-h> That's why I use evil-mode :^)
tandem20 has joined #nixos
tandem20 has quit [Remote host closed the connection]
<ixxie> I don't know, I kinda wish I could have an editor without its own configuration DSL
<MichaelRaskin> ixxie: so, Textadept?
<ixxie> so lua configs
<ixxie> I guess that's an improvement
<adisbladis> Well... Everyone has their own thing I gues...
<{^_^}> [nixpkgs] @bjornfor pushed to master « gnomeExtensions: add 'uuid' attr to all extensions »: https://git.io/JfCb9
<zeta_0> hello there, i am finally able to get ihaskell to build in a shell.nix config using ghc883 without any errors, to be used with my (lorr+direnv+emacs-direnv) setup, after initializing everything and running `lorri shell` most of my shell.nix projects work out-of-the-box, but for some reason ihaskell is giving me some problems, when running `M-x ein:run`, emacs throws an error that it can't find jupyter? i'm thinking
<zeta_0> it's because the emacs environment is not in sync with nix environment?
<zeta_0> here's the issue that i think is related to my problem: https://github.com/syl20bnr/spacemacs/issues/2294
<{^_^}> syl20bnr/spacemacs#2294 (by ublubu, 4 years ago, open): spacemacs does not use PATH from nix-shell
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has joined #nixos
ixxie has quit [Quit: Lost terminal]
hlisp has joined #nixos
<adisbladis> zeta_0: I have a hunch which may or may not be correct. Could you paste your shell.nix ?
shibboleth has joined #nixos
<zeta_0> i tried placing `use_nix shell.nix` in the .envrc file in the root directory of the project where the shell.nix file is, it opens another emacs application with everything working, but that defeats the purpose of using this lorri setup, any tips on how i can get this working correctly?
<zeta_0> adisbladis: one second
<zeta_0> adisbladis: https://dpaste.org/6g20
<iqubic> Did home-manager remove all the options relating to picom recently?
hlisp has quit [Ping timeout: 240 seconds]
<zeta_0> adisbladis: here's the .envrc file as well: https://dpaste.org/MHtR
<iqubic> Oh, actually, it looks like the picom options are only in a newer version of home-manager.
<iqubic> So, how do I update home-manager?
<cole-h> Depends on how you installed it.
<rycee> iqubic: Which version are you using now? Generally it should be a matter of changing which channel you are fetching HM from.
<rycee> iqubic: Remember to check the release notes to see if you need to take any action when upgrading.
<iqubic> `nix-channel --list` shows this: "home-manager https://github.com/rycee/home-manager/archive/master.tar.gz"
<rycee> iqubic: If you tracking master then you should have the picom module.
<iqubic> Basically my issue is that running `home-manager switch` tells me I don't have the picom module.
<rycee> … unless you haven't done a nix-channel --update in a very long time.
<cole-h> (Might need to update the channel itself -- `nix-channel --update home-manager`)
<iqubic> rycee: I haven't done a nix-channel update in like 3 months
<cole-h> Then, maybe you should try that.
<{^_^}> [nixpkgs] @alyssais opened pull request #87412 → cgit: 1.2.1 -> 1.2.3 → https://git.io/JfCN8
<rycee> Umm, that'll do it.
<iqubic> Yeah, that was the issue. Thanks.
<cole-h> (considering picom was added to hm on March 24...)
hlisp has joined #nixos
eoli3n__ has joined #nixos
<iqubic> I noticed that.
ixxie has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87413 → python27Packages.python-utils: 2.3.0 -> 2.4.0 → https://git.io/JfCN6
<iqubic> How does the picom module work?
<zeta_0> adisbladis: so, do you have any tips on how to fix this ihaskell issue?
<cole-h> iqubic: Try `man home-configuration.nix` and search for picom.
<iqubic> Will picom work with EXWM out of the box, or will I need some additional configuration?
oborot has joined #nixos
j_ has joined #nixos
j_ is now known as kimat
<kimat> can I ask someone to have a look at my MR : https://github.com/NixOS/nixpkgs/pull/86495 ?
<{^_^}> #86495 (by kimat, 1 week ago, open): espanso: init at 0.5.5
ATuin has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
pxc has quit [Quit: Konversation terminated!]
maxdevjs has joined #nixos
zupo has joined #nixos
<iqubic> Well, my home-manager switch failed for bizarre reasons: http://dpaste.com/28SA14S
<iqubic> Anyone know how I can fix this?
<kimat> I imagine OfBorg not being green for a week made people ignore this. Should I close & reopen the MR instead ?
<pistache> iqubic: have you installed "dunst" using nix-env ?
<iqubic> No. No I haven't.
fresheyeball has joined #nixos
<iqubic> but the strange thing is that I didn't get this issue last night when I ran home-manager switch.
<adisbladis> zeta_0: I need to eat something first
<pistache> iqubic: I get this error when HM tries to install something that was already installed through nix-env
<adisbladis> [picom + exwm]: Yes, it just works(tm)
<iqubic> It's only today, after updating my channel that this fails.
hlisp has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed to master « Revert "nixos/resolved: Include dbus alias of resolved unit" »: https://git.io/JfCAv
<iqubic> adisbladis: Good to hear.
oborot has quit [Ping timeout: 240 seconds]
<cole-h> kimat: No need to close and open anew; we just get such a large volume of PRs it's impossible to get to every single one (and they are easily missed).
<cole-h> Also, ofborg looks perfectly green to me on your PR :)
alexherbo2 has quit [Ping timeout: 256 seconds]
<kimat> I had to rebase master 2 days ago and force push to get it green
b42 has quit [Ping timeout: 265 seconds]
<kimat> it was hanging on one check for 5+ days
<zeta_0> adisbladis: that's fine, i posted this on reddit as well, so i'm not in a rush: https://www.reddit.com/r/NixOS/comments/gghifv/nix_setup_ihaskell_configuration_using_nix_emacs/
<iqubic> So, I'm not sure what's up with my `home-manager switch` not working.
b42 has joined #nixos
<zeta_0> i'm going to go eat as well
hlisp has quit [Ping timeout: 246 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
Fare has joined #nixos
pxc has joined #nixos
<hpfr[m]> hi, I'm trying to add nerd fonts locally because my connection is poor and it rebuilds whenever a dependency updates. with the following nix, I get `error: attribute 'requireFile' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:221:28`: https://bin.privacytools.io/?09885406fe170af1#ihMjIEjXflpD8ndWIh2xbHJgTPZBySOtUTWVendDpS4=
<rycee> iqubic: What does `nix-env -q` say?
<iqubic> Ah. Oh. I see.
<iqubic> Turns out I did actually have dunst installed locally.
<rycee> Indeed :-)
hlisp has joined #nixos
<{^_^}> [nixpkgs] @chkno opened pull request #87414 → nixos/test-driver: Specify /bin/sh shell when running a bourne shell script as the user → https://git.io/JfCAs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87415 → python37Packages.sparse: 0.8.0 -> 0.9.1 → https://git.io/JfCAW
<{^_^}> [nixpkgs] @matthewbauer merged pull request #87157 → Add libgccjit → https://git.io/JfncI
<{^_^}> [nixpkgs] @matthewbauer pushed 3 commits to staging: https://git.io/JfCA8
andymandias_ has joined #nixos
hlisp has quit [Ping timeout: 264 seconds]
andymandias has quit [Ping timeout: 246 seconds]
acowley has quit [Ping timeout: 246 seconds]
chagra_ has quit [Ping timeout: 264 seconds]
acowley has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Maxdamantus has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #61210 → llvm8: handle clangStdenv better → https://git.io/fjCGE
Maxdamantus has joined #nixos
<balsoft> kimat: Are you sure about platforms.all ?
morgrimm has joined #nixos
<cole-h> balsoft: The software touts itself as cross-platform and has Windows, Linux, and macOS helpers, so I'd imagine it's fine.
<balsoft> cole-h: I've seen the platforms being limited for software that _should_ have support for a certain platform but doesn't, like SDL
<cole-h> I guess it could be -> platforms.x86_64 if aarch is untested/unknown
<balsoft> cole-h: I mean it'll try to build it for e.g. Windows cross, and I'm not sure we even have Rust toolchain for Windows...
<emily> does hydra even build much windows stuff?
<emily> it's always been compiling a bunch manually whenever I've tried
<emily> (I think platforms.all is fine)
domogled has joined #nixos
<emily> (if there are portability issues in dependent packages then those should be fixed separately)
<balsoft> Maybe I should rephrase my question: what does meta.platforms really mean?
<emily> having to manually override platforms because they're too conservative because of past breakage is frequent and annoying
<balsoft> Does it have the same semantics as broken or not?
<clever> balsoft: nixpkgs will automatically block trying to build a package on an OS where meta.platforms doesnt list it
<balsoft> Yeah, I guess you're right, so meta.platforms actually mean "what platforms upstream supports" and not "for what platforms this package actually builds"
<balsoft> clever: yes, I understand that, and I think it'
<balsoft> s the proper behavior in some cases
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87416 → python37Packages.slixmpp: 1.4.2 -> 1.5.1 → https://git.io/JfCAh
<clever> balsoft: hydra will also try to build it for all platforms, that are enabled within hydra
<emily> balsoft: tbh, I'm not sure why we'd have platforms at all rather than broken = isPlatform
<{^_^}> [nixpkgs] @matthewbauer closed pull request #43300 → [wip] haskell: add core libraries logic to remove need for global package db → https://git.io/fNTR7
<emily> I guess because in a lot of cases it's intentional rather than "brokenness"
<{^_^}> [nixpkgs] @ajs124 opened pull request #87417 → glusterfs: fix snapshots → https://git.io/JfCxv
WoC has joined #nixos
<balsoft> kimat: Also, it looks like espanso might need a NixOS module to function properly, since it needs a systemd service?
<balsoft> clever: emilazy: Do you think we should fix platforms where they don't match the definition of "does upstream support it?" (e.g. SDL)
<balsoft> And ocaml
<emily> balsoft: I wouldn't necessarily object, but I don't know if it's worth changing after the fact without actually fixing the build
<emily> like, I'd rather ask "can we get SDL working for Windows"
alp has joined #nixos
<balsoft> Oh, RE: OCaml, is there any work on making it cross-compile to windows? I tried to do that with 4.09 and failed miserably because apparently mingw doesn't have enough libraries or something
<balsoft> I don't remember the exact issue, just that I couldn't make it work. Maybe another question would be whether anybody else cares about this?
<emily> ocaml on windows has historically been flaky, right? I think it's gotten better recently, but "Nix Windows builds are flaky" + "OCaml on Windows has historically been flaky" makes me worry it might be a bit of a mess
chagra_ has joined #nixos
<balsoft> I've heard that massive improvements are happening in 4.10 and 4.11
ircuser5678 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<balsoft> I don't really care about it much, just would be nice to show off how cool nix is to a client by shipping windows executables...
<{^_^}> [nixpkgs] @martinetd opened pull request #87418 → mpd service: remove user/group from conf → https://git.io/JfCxP
<{^_^}> [nixpkgs] @thefloweringash opened pull request #87419 → compiler-rt: fix build on armv7l → https://git.io/JfCxX
hlisp has joined #nixos
<ixxie> anybody familiar with the vscode extension system?
<balsoft> ixxie: I'm slightly familiar with it, and it's a pain
<{^_^}> [nixpkgs] @veprbl merged pull request #78352 → pxview: init at 0.2.5 → https://git.io/JvtYf
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/JfCxS
<{^_^}> [nixpkgs] @veprbl merged pull request #86142 → Itk: 5.0.1 -> 5.1.0 → https://git.io/Jfqyx
<{^_^}> [nixpkgs] @veprbl pushed 6 commits to master: https://git.io/JfCx9
wnklmnn has quit [Ping timeout: 245 seconds]
<ixxie> balsoft: I'm getting this weird situation where random extensions are not being discovered, including the nixfmt and the nix-env-selector extension
hlisp has quit [Ping timeout: 258 seconds]
<balsoft> Are you installing them via the vscode's builtin extension manager or with nix?
<asymmetric> is there a way to change the path of /etc/nixos/configuration.nix?
<ixxie> balsoft: nix... via the home-manager specifically
<asymmetric> i'd like to keep it together with the rest of my dotfiles
<asymmetric> is a symlink the best option?
<ixxie> asymmetric: works fine for me
<balsoft> asymmetric: yes, NIX_PATH=nixos-config=/home/you/nixos-config
<balsoft> asymmetric: a symlink works too
<asymmetric> thx
<{^_^}> [nixpkgs] @matthewbauer merged pull request #87212 → nixos/gdk-pixbuf.nix: don’t set GDK_PIXBUF_MODULE_FILE in cross → https://git.io/Jfnj7
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JfCxp
<evanjs> Hey guys, any advice on how I might be able to easily test #86893? Need to do so in a VM or something with a clean config >_>
<{^_^}> https://github.com/NixOS/nixpkgs/pull/86893 (by r-ryantm, 4 days ago, open): gitkraken: 6.5.4 -> 6.6.0
<balsoft> I'd try a simple nixos-container
<balsoft> With minimal config
<{^_^}> [nixpkgs] @martinetd opened pull request #87420 → nixos/confinement: add conflict for ProtectSystem service option → https://git.io/JfCpT
<ixxie> balsoft: have you encountered such things?
<balsoft> ixxie: You mean extensions problems? Yes, it's one of the reasons I switched to emacs
<ixxie> balsoft: buah :P are you configuring everything in emacs?
<balsoft> xah-fly-keys keep my IDE addiction happy
<ixxie> balsoft: sorry I mean elisp
<evanjs> maybe using nixos-generators or something, hrm
<ixxie> balsoft: or is there a way to do much of it in nix
<balsoft> I just hastily copy-pasted some obscure configs from stackoverflow and random elisp websites and it works
<balsoft> Yes, there's a way to do a lot in nix
hlisp has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #87324 → [20.03] build-bazel-package: switch hash mode to “flat” → https://git.io/JfCcj
verdys has joined #nixos
hlisp has quit [Ping timeout: 260 seconds]
numkem has joined #nixos
<numkem> I'm trying to build a qcow2 image using nix-generators, I get this error: `error: file 'format-config' was not found in the Nix search path`
<clever> numkem: something is doing <format-config> somewhere, and it probably wants you do `-I format-config=./something`
<numkem> clever: it's in the nix-generators code, `share/nixos-generator/nixos-generate.nix:3:19` to be more exact
<numkem> installed from master just now
<numkem> tried doing an iso and that works just fine
dottedmag has quit [Quit: QUIT]
<clever> numkem: yep, its doing <format-config>
hlisp has joined #nixos
<clever> numkem: and thats just inserted into the modules on line 20, so it must point to a nixos module
<clever> numkem: likely one of the files under formats
<numkem> clever: I'm on unstable if that means anything, I guess it might
dottedmag has joined #nixos
dottedmag has quit [Changing host]
dottedmag has joined #nixos
<clever> numkem: it should be doing -I format-config= for you
<numkem> clever: just `=` nothing else?
<clever> numkem: no, it should be pointing to a dir under formats
<numkem> clever: well I think I get it now, turns out qcow2 doesn't exists, just qcow
<clever> file*
<{^_^}> [nixpkgs] @bhipple merged pull request #75827 → python3Packages.pytorch: 1.2.0 -> 1.4.1, python3Packages.ignite: 0.2.1 -> 0.3.0 → https://git.io/Je7Db
<{^_^}> [nixpkgs] @bhipple pushed 5 commits to master: https://git.io/JfCpM
<clever> numkem: ah, was it saying something about how qcow2 in search path does not exist?
<numkem> nope just the file-format error
<clever> qcow is the name you want, to get qcow2
<numkem> clever: i'll open a PR to fix the documentation
<numkem> clever++ thanks!
<{^_^}> clever's karma got increased to like 410, I think
cizra has joined #nixos
hlisp has quit [Ping timeout: 264 seconds]
<lovesegfault> What's happening to trunk-combined? https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents
<lovesegfault> there are multiple green evals but no release in 10 days
<lovesegfault> c.f. status.nixos.org/
<lovesegfault> cc. gchristensen
o1lo01ol1o has quit [Remote host closed the connection]
pxc has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @tbenst opened pull request #87421 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/JfChe
vidbina has quit [Ping timeout: 264 seconds]
luna has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @tbenst closed pull request #87421 → <!-- Nixpkgs has a lot of new incoming Pull Requests, but not enough people to review this constant stream. Even if you … → https://git.io/JfChe
<{^_^}> [nixpkgs] @Mic92 merged pull request #87337 → python27Packages.flask_wtf: 0.14.2 -> 0.14.3 → https://git.io/JfCla
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfChU
asymmetric has quit [Quit: Peace.]
CitadelCore has joined #nixos
asymmetric has joined #nixos
hlisp has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #76841 → nixos/apropos: init → https://git.io/JexPg
<eoli3n___> o/ lovesegfault
<cizra> Hello! I'd like to fetch a hosts file in my nixos/configuration.nix from a remote source and stuff it into networking.extraHosts - is that possible? The closest I could find in Google is commented out (https://github.com/bjornfor/nixos-config/blob/master/cfg/base-small.nix#L77)
<lovesegfault> eoli3n___: o/
<lovesegfault> (fwiw the question you asked is for #nixos-chat :D)
* lovesegfault 302's there
hlisp has quit [Ping timeout: 256 seconds]
verdys has quit [Ping timeout: 256 seconds]
<kimat> balsoft, I can run `result/bin/espanso daemon` then type :espanso and it works without systemd. A NixOs module could be a nice addition
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87422 → python27Packages.snakeviz: 2.0.1 -> 2.1.0 → https://git.io/JfChV
<cole-h> eoli3n___: Looks like "Envy Code R" to me
<balsoft> kimat: Nice
<{^_^}> [nixpkgs] @tbenst opened pull request #87423 → [20.03] Mlflow backport → https://git.io/JfChw
<eoli3n___> thx cole-h but that's not it :)
<cole-h> How can you be sure? It looks exactly the same to me.
<aleph-> Huh well that's interesting. https://github.com/kirelagin/nix-dns
<cole-h> Scaling a little off, but...
zupo has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
c4rc4s has joined #nixos
<cole-h> eoli3n___: https://i.imgur.com/7xv1Xy3.png Pretty sure it's a match (font may not look exactly the same because it was drawn in-browser)
<eoli3n___> cole-h: th'as envy-code-r ?
<eoli3n___> oh your link is cool
hlisp has joined #nixos
<cole-h> My picture is Envy Code R, yes.
<eoli3n___> thx cole-h
uvnikita[m] has joined #nixos
knupfer has quit [Remote host closed the connection]
<cole-h> eoli3n___: For the future that kind of question belongs in #nixos-chat.
knupfer has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87424 → python27Packages.pytest-metadata: 1.8.0 -> 1.9.0 → https://git.io/JfChA
mcwitt has joined #nixos
oborot has joined #nixos
<c4rc4s> newb question: I'm on NixOS 20.03 and trying to install (what I believe to be) a package derivation, obs-v4l2sink, but it isn't found when I try to add it to systemPackages. It exists in the nixpkgs repo, under obs-studio, but when I query for it with nix-env I'm notified that "selector 'obs-v4l2sink' matches no derivations"
<c4rc4s> Do I need to do something special to make that available..? Other derivations are found OK, e.g. obs-ndi
<MichaelRaskin> I think it might be simply newer than the release branch branch-off
o1lo01ol1o has joined #nixos
morgrimm has quit [Ping timeout: 256 seconds]
<clever> c4rc4s: id say start by greping nixpkgs, to see what is loading it
<c4rc4s> That would probably explain it MichaelRaskin -- https://github.com/NixOS/nixpkgs/tree/20.03/pkgs/applications/video/obs-studio doesn't show it there, I was looking at master
<{^_^}> [nixpkgs] @bjornfor merged pull request #87412 → cgit: 1.2.1 -> 1.2.3 → https://git.io/JfCN8
<{^_^}> [nixpkgs] @bjornfor pushed commit from @alyssais to master « cgit: 1.2.1 -> 1.2.3 »: https://git.io/JfCjV
<c4rc4s> Now I feel silly but know to look at finding the way to pull in more recent stuff... it's all a learning process. Thanks
<clever> pkgs/top-level/all-packages.nix: obs-v4l2sink = libsForQt5.callPackage ../applications/video/obs-studio/v4l2sink.nix { };
mjsir911 has quit [Quit: Goodbye, World!]
<clever> c4rc4s: i see it right in the top-level, so try `nix-build '<nixpkgs>' -A obs-v4l2sink` ?
<cole-h> FTR, obs-v4l2sink was merged 22 days ago
<cole-h> So it's definitely not in 20.03
<{^_^}> [nix] @domenkozar merged pull request #3580 → Fix typo → https://git.io/JfC6P
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/JfCjX
zaeph has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
bhipple has quit [Remote host closed the connection]
iqubic has quit [Remote host closed the connection]
hlisp has quit [Ping timeout: 264 seconds]
dnlkrgr has quit [Ping timeout: 256 seconds]
zaeph has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4a0446664e0 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87425 → python27Packages.rope: 0.16.0 -> 0.17.0 → https://git.io/JfWel
<c4rc4s> Cool, made the unstable channel available ala https://stackoverflow.com/a/48838322 since I didn't want to switch everything to it and was able to install that package. Thanks for the pointers folks.
mcwitt has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
codygman has quit [Read error: Connection reset by peer]
fresheyeball has quit [Quit: WeeChat 2.7.1]
codygman has joined #nixos
drewr has joined #nixos
fdert has joined #nixos
snicket has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #87426 → kernel: enable module signing → https://git.io/JfWep
<snicket> any idea why 'nixpkgs.overlays = [ (self: super: { sdrangel = super.callPackage ./packages/sdrangel { libusb-compat-0_1 = self.libusb; }; });' fails with the "anonymous function called without required argument 'mkDerivation' error?
mac10688 has joined #nixos
<snicket> sdrangel is just the file copied from nixpkgs
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87427 → python27Packages.tensorflow-estimator_2: 2.1.0 -> 2.2.0 → https://git.io/JfWvU
<cole-h> snicket: It looks like sdrangel is a Qt app, so you'll need `super.libsForQt5.callPackage`, I believe
<snicket> cole-h: oh wow, that helped, thanks so much!
<snicket> would've looked for it for hours myself probably
<{^_^}> [nixpkgs] @matthewbauer closed pull request #67725 → LIBCLANG_PATH hook → https://git.io/fjxrB
<cole-h> snicket: Or you could look in `pkgs/top-level/all-packages.nix` for where it's defined ;^)
<snicket> ;)
<cole-h> It uses `libsForQt5.callPackage` there, which would have been your hint.
<snicket> thanks, good to know
<cole-h> > builtins.unsafeGetAttrPos "sdrangel" pkgs
<{^_^}> { column = 3; file = "/var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix"; line = 17411; }
fendor has quit [Read error: Connection reset by peer]
hlisp has joined #nixos
eoli3n____ has joined #nixos
_kwstas has joined #nixos
slack1256 has joined #nixos
hlisp has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #87417 → glusterfs: fix snapshots → https://git.io/JfCxv
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/JfWvi
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hlisp has joined #nixos
<infinisil> > showSrc pkgs "sdrangel"
<{^_^}> "all-packages.nix:17411 sdrangel = libsForQt5.callPackage ../applications/radio/sdrangel { };"
eoli3n_____ has joined #nixos
<cole-h> > :v showSrc
<{^_^}> showSrc = p: a: viewSource2 a p
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<cole-h> I remember going down this rabbit hole before...
<cole-h> > :v viewSource2
<{^_^}> viewSource2 = name: pattr: let apos = builtins.unsafeGetAttrPos name pattr; in "${lib.last (lib.splitString "/" apos.file)}:${toString apos.line} ${getLineNumber (apos.line - 1) 0 (builtins.readFile apos.file)}"
<cole-h> Yep, I remember now.
<{^_^}> [nix] @mkenigs opened pull request #3583 → Installables refactor → https://git.io/JfWfJ
<cole-h> :D
eoli3n____ has quit [Ping timeout: 264 seconds]
eoli3n__ has quit [Ping timeout: 264 seconds]
growpotkin has joined #nixos
eoli3n__ has joined #nixos
dnlkrgr has joined #nixos
chagra_ has quit [Ping timeout: 272 seconds]
Maxdamantus has quit [Ping timeout: 272 seconds]
codygman has quit [Read error: Connection reset by peer]
Maxdamantus has joined #nixos
codygman has joined #nixos
<{^_^}> [nixpkgs] @tbenst opened pull request #87428 → mlflow-server: support additional packages for other database backends → https://git.io/JfWfV
alp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87429 → python27Packages.subliminal: 2.0.5 -> 2.1.0 → https://git.io/JfWfr
hlisp has quit [Ping timeout: 258 seconds]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<numkem> how do you generate the `mod256` for a go modules? I think it's `go.sum` it's looking at. Using nix-hash I can't reproduce the same hash.
<cole-h> ,tofu
<{^_^}> To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
<numkem> cole-h: what if I need to automate it and replace the value?
<cole-h> Automate how?
<{^_^}> [nixpkgs] @vojta001 opened pull request #87430 → python: coverage: 4.5.4 -> 5.1 → https://git.io/JfWfy
<cole-h> I've seen scripts in nixpkgs that just use that trick and then look for the expected hash on stdout and replace it that way, I think.
<numkem> cole-h: that's what I'd do but I figured there was a nicer way of doing it. If that's considered good enough, fine by me
<cole-h> Curious what you're automating, though.
<numkem> cole-h: maybe I'm approaching it the wrong way, still trying to wrap my head around it. I'd like to use Nix to build docker containers. In order to do that i need to do a `default.nix` for my package. It says in the docs you can set it to `null` but if you do it breaks sandboxing and reproducable builds which I'd like to avoid. So I was wondering how I could make a git hook that would just swap the values if my `go.sum` or `go.mod` changes
<numkem> trying to make it as transparent as possible for developers to use
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87431 → python27Packages.rfc3986: 1.3.2 -> 1.4.0 → https://git.io/JfWfQ
<bdju> another new firefox issue. after manually quitting with ctrl-q to try out a new about:config setting, it won't relaunch until I pkill the process. I've waited whole minutes. No errors about it being open already either. Just nothing.
<bdju> I have an issue with text input boxes being dark background and dark text or light bg/light text so it's unreadable, and I'm trying some suggestions related to overriding gtk theme settings, but here another issue slows me down
hlisp has joined #nixos
seku has joined #nixos
<numkem> bdju: have you noticed too that screenshots doesn't work anymore? Wondering if it's just me
Maxdamantus has quit [Ping timeout: 272 seconds]
<fabianhjr> Is it just me or has there been no updates to nixos-unstable channel in a while?
<numkem> fabianhjr: status.nixos.org says it was last updated 10 days ago
<fabianhjr> https://hydra.nixos.org/jobset/nixos/trunk-combined/evals shows several evaulations but https://channels.nixos.org nixos-unstable hasn't been updated since 29 of April.
Maxdamantus has joined #nixos
<bdju> numkem: I just took one earlier and I *think* it worked. I chose to save it, but then I didn't look at it afterward, so I just think it worked.
<cole-h> fabianhjr: It's a known problem. Potentially fixed by #87138. We'll have to wait and find out.
sigmundv_ has quit [Read error: Connection reset by peer]
<numkem> bdju: for me the menu entry on right-click isn't there anymore
<{^_^}> https://github.com/NixOS/nixpkgs/pull/87138 (by lukegb, 3 days ago, merged): php: correctly set outputsToInstall after withExtensions.
alp has joined #nixos
<lukegb> oh, hum
sigmundv_ has joined #nixos
<cole-h> Sorry for the ping
<bdju> numkem: ah, it's there for me still.
<numkem> bdju: very strange, 76 right?
<lukegb> eh, it's alright, I hadn't realised nixos-unstable was wedged because of the PHP thing
<bdju> numkem: oh, I'm still on 75 for some reason.
<bdju> I swear I've updated recently, though.
<cole-h> It's wedged because of *a* PHP thing :P Still TBD if you've fixed it.
<bdju> and I'm on unstable
<lukegb> I still haven't figured out how to parse the information Hydra is giving me :P
<cole-h> Hydra is indeed hard to parse :D
iqubic has joined #nixos
<iqubic> Well, I've got a major issue now.
<iqubic> My xserver isn't starting at all.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87432 → python37Packages.qiskit-ibmq-provider: 0.6.1 -> 0.7.0 → https://git.io/JfWJO
<iqubic> I ran `systemctl status display-manager.service` and that gave me the following output: https://dpaste.com/3J6RGGY
<iqubic> I have no idea how to fix this issue.
<iqubic> This issue happened after I updated my nixos config, and my home-manager config and tried rebooting.
<iqubic> I'm currently running irssi in a tty to talk to you guys.
fendor has joined #nixos
punkj has joined #nixos
<lukegb> hmm, dpaste doesn't like me
<cole-h> Yeah, I get EOF
<iqubic> Oh. I see.
<lukegb> cole-h: Out of interest, what points towards a PHP thing contributing to channel-advancement-brokenness
<iqubic> Might be the method I'm using to upload the file.
<cole-h> lukegb: 08:37 <gchr*stensen> nixos-unstable is not updating because of this: error: in package ‘php’: this derivation has bad 'meta.outputsToInstall'
<cole-h> Yesterday in nixos-dev
<lukegb> Ahhh
hlisp has quit [Ping timeout: 264 seconds]
<iqubic> Is that a better link?
<iqubic> See, I have no idea what could be causing this.
<cole-h> iqubic: Yes. But systemctl status usually has very little useful information. You'll want to look in `journalctl -u display-manager`
<cole-h> Since it only shows the last X lines of output
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87433 → python27Packages.pyudev: 0.21.0 -> 0.22.0 → https://git.io/JfWJg
<iqubic> Yeah, that's not very helpful
<iqubic> How do I share the contents of that file with you?
<iqubic> *command
<cole-h> Well, ideally you would look at the contents yourself and figure out what went wrong :P You can redirect it to a file and upload the most interesting parts.
hlisp has joined #nixos
user_0x58 has joined #nixos
<monokrome> there's a cool service called sprunge for uploading text files via curl
<monokrome> that could help
<monokrome> just don't include any private data/secrets
<monokrome> of course
<{^_^}> [nixpkgs] @bhipple merged pull request #87407 → doc: update python manual to reference python 3.8 instead of 3.5 → https://git.io/JfCFW
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JfWJP
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
virus_dave has quit [Quit: virus_dave]
<bdju> for some reason I'm still on firefox 75 even after running updates again. is something wrong with my setup?
<{^_^}> [nixpkgs] @prusnak opened pull request #87434 → lite: init at 1.03 → https://git.io/JfWJQ
<iqubic> Here's all the relevent stuff from journalctl
<iqubic> I hope that paste looks right.
<cole-h> Nice, actually 0 information in that paste as well :D Next step is to look at Xorg logs. On traditional systems, it's `/var/log/Xorg.0.log`. No idea if NixOS follows that.
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<iqubic> cole-h: I'm just trying to pull up whatever logs I can.
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #87435 → treewide: strip more things in cross → https://git.io/JfWUk
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87436 → python27Packages.tomlkit: 0.5.11 -> 0.6.0 → https://git.io/JfWUI
asymmetric has quit [Ping timeout: 264 seconds]
<cole-h> Worse comes to worse: just roll back to a previous generation :)
<iqubic> I will try that.
ATuin has quit [Quit: WeeChat 2.8]
<iqubic> But I want to see if I can fix this issue now.
<iqubic> And /var/logs only has x-0.log, x.0.log, x-0.log.old, and x.0.log.old. No Xorg.0.log
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4a0446664e0 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @matthewbauer opened pull request #87437 → shadow: add runtime-shell.patch for cross-compilation → https://git.io/JfWUZ
verdys has joined #nixos
<iqubic> I can't tell what I'm meant to be looking at here.
o1lo01ol1o has joined #nixos
<cole-h> Sorry, I can't help much more. Been many years since I last touched X11.
asymmetric has joined #nixos
<iqubic> Actually, I found my error.
<{^_^}> [nixpkgs] @matthewbauer opened pull request #87438 → mesa: make more things optional → https://git.io/JfWUB
hlisp has quit [Read error: Connection timed out]
<iqubic> here's an exceprt from my configuration.nix: https://termbin.com/r8rx
CitadelCore has quit [Quit: Connection closed for inactivity]
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
wykurz has joined #nixos
<wykurz> hipple
Maxdamantus has quit [Ping timeout: 240 seconds]
<iqubic> the xorg logs tells me that the extraConfig section has a parse error: "the Section keyword requires a quoted string to follow it"
<iqubic> So, something there is screwing me up.
vika_nezrimaya has joined #nixos
Maxdamantus has joined #nixos
<cole-h> iqubic: It's probably the indentation that's screwing you.
<iqubic> Ah, yes. That would be the issue: In multiline strings in nix, I don't need to escape quotes. So the config file just has extra backslashes in it causing a parse error. X11 treats that parse error as a fatal error and crashes on me.
<cole-h> The `Section` is not indented at all, yet the `EndSection` is, excessively so.
<infinisil> > '' Section \"foo\" ''
<{^_^}> "Section \\\"foo\\\" "
<iqubic> But also, yeah. How do I ensure consistent spacing here?
<cole-h> Newline after the first ''; instead of `''Section`, it would be `''\nSection`
<{^_^}> [nixpkgs] @marsam opened pull request #87439 → gopass: 1.9.0 -> 1.9.1 → https://git.io/JfWUD
<iqubic> How does that fix it?
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<iqubic> so like this: https://termbin.com/pbve ?
ixxie has quit [Ping timeout: 264 seconds]
snicket has quit [Ping timeout: 240 seconds]
<cole-h> I only did \n because you can't type multiline in IRC. Expanding the \n into an actual enter key-press was left as an excercise to the reader...
<iqubic> Ah. I see.
ixxie has joined #nixos
remirol has joined #nixos
<iqubic> Yeah. That seems to have worked.
<iqubic> And oddly enough once I did that rebuild, lightdm started up.
zupo has joined #nixos
<iqubic> Why might that happen?
<cole-h> Why might what happen/
<iqubic> Why might LightDM start after I changed the extraConfig section of my xserver config and then do a rebuild?
numkem has quit [Ping timeout: 256 seconds]
lorimer has quit [Ping timeout: 240 seconds]
wykurz has quit [Read error: Connection reset by peer]
<cole-h> If you `switch`ed to the new generation, I would imagine modified services get reloaded and restarted to take on these new changes.
<qyliss> Can I have a NixOS option that will do a deep merge if specified multiple times?
<infinisil> qyliss: By deep you mean that attribute sets get merged together recursively?
<qyliss> Yeah
<qyliss> Like, recursiveUpdate
<{^_^}> [nixpkgs] @bhipple opened pull request #87440 → doc: use idiomatic overlay names in the python manual example → https://git.io/JfWTT
<infinisil> qyliss: You can encode that in the type, e.g. `let atom = oneOf [ str int ]; value = attrsOf (either atom value); in value`
<qyliss> _Technically_ it only has to go two layers deep
<balsoft> yes, you can, but the way you implement that is not simple I don't think...
morgrimm has joined #nixos
<qyliss> In fact, exactly two layers deep I guess
ixxie has quit [Ping timeout: 256 seconds]
<qyliss> So I suppose attrsOf (attrsOf str) is probably what I want
<balsoft> qyliss: I think you should go for a simple-minded two-layers-deep merge approach, because otherwise you'll have to write your own type that merges recursively (I don't think there's one OOTB)
<infinisil> Yeah that works :)
<infinisil> Btw there are some recursive types in https://github.com/NixOS/nixpkgs/pull/75584
<{^_^}> #75584 (by Infinisil, 21 weeks ago, open): Configuration file formats for JSON, INI, YAML and TOML
<balsoft> Oh, infinisil already wrote such a type, nice
<qyliss> That PR would be great :)
ixxie has joined #nixos
<infinisil> I want to finish https://github.com/NixOS/nixpkgs/pull/82743 first :)
<{^_^}> #82743 (by Infinisil, 7 weeks ago, open): Fallback-typing for NixOS modules
<infinisil> But both of those are related to rfcs#42, which is kind of long overdue
<{^_^}> https://github.com/NixOS/rfcs/pull/42 (by Infinisil, 1 year ago, open): [RFC 0042] NixOS settings options
eoli3n_____ has quit [Ping timeout: 246 seconds]
eoli3n__ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87441 → python27Packages.testfixtures: 6.10.3 -> 6.14.1 → https://git.io/JfWTG
<infinisil> (but that RFC will be so much better with fallback typing!)
fendor has quit [Read error: Connection reset by peer]
Maxdamantus has quit [Ping timeout: 256 seconds]
seku has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @marsam opened pull request #87442 → ripgrep: 12.0.1 -> 12.1.0 → https://git.io/JfWTa
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
<morgrimm> Anyone here using Lorri with home-manager?
<iqubic> time to see if picom works as expected.
hlisp has joined #nixos
iqubic has quit [Quit: leaving]
<morgrimm> I've just set lorri up with home manager and not specifically systemd, but it seems to not have the permissions it needs to run
Maxdamantus has joined #nixos
<morgrimm> do I just have to elevate every lorri command? or is there a correct way to set it up?
mpiechotka has joined #nixos
iqubic has joined #nixos
<mpiechotka> Hi. I want to dual boot NixOS on my machine which has Arch. Is it possible to configure nix to only create loader entries and not to install its own bootloader?
<iqubic> So, not only did picom work out of the box, but enabling vsync via picom fixed the screen tearing issues I was having. Well, it was either that, or it was adding that services.xserver.extraConfig options that did it.
user_0x58 has quit [Quit: Leaving]
hlisp has quit [Ping timeout: 260 seconds]
chloekek has quit [Ping timeout: 272 seconds]
<morgrimm> iqubic: I'm considering dropping picom into my NixOS flake - how does it perform?
<morgrimm> Do you have a dGPU, and if so, any issues running it? :O
Maxdamantus has quit [Ping timeout: 256 seconds]
<iqubic> I don't have a dedicated GPU, and I don't have enough experience with picom to tell you how it performs. Ask me again in a week or two.
Maxdamantus has joined #nixos
<morgrimm> Fair enough - hope it works well :D
dnlkrgr has quit [Ping timeout: 256 seconds]
<iqubic> I'm sure it will.
_kwstas has quit [Quit: _kwstas]
knupfer has quit [Ping timeout: 260 seconds]
Maxdamantus has quit [Ping timeout: 256 seconds]
Maxdamantus has joined #nixos
Maxdamantus has quit [Ping timeout: 272 seconds]
Maxdamantus has joined #nixos
dsg has quit [Remote host closed the connection]
dsg has joined #nixos
ixxie has quit [Ping timeout: 272 seconds]
ixxie has joined #nixos
hlisp has joined #nixos
mpiechotka has quit [Quit: mpiechotka]
mpiechotka has joined #nixos
mpiechotka has quit [Client Quit]
zupo has quit [Ping timeout: 272 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
chagra_ has joined #nixos
hlisp has quit [Ping timeout: 246 seconds]
zupo has joined #nixos
morgrimm has quit [Ping timeout: 264 seconds]
dongcarl has joined #nixos
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
tobi_ has joined #nixos
hlisp has joined #nixos
<ldlework> I just did `nix-env -iA qsynth` then ran qsynth and got
<ldlework> qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
<ldlework> This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
<ldlework> I thought everything in nixpkgs is supposed to work :P
<Yaniel> qt is not very friendly to the nixos approach to things
<ldlework> Yeah but how did qsynth make it into nixpkgs
<ldlework> if it does not work
<ldlework> I noticed the same for supercollider
<ldlework> fails with same message
<Yaniel> it probably works when installed in systemPackages
<Yaniel> or something like that
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<Yaniel> Qt is somewhat leaky on nixos
<ldlework> What does that mean?
<Yaniel> it depends on stuff existing in your environment that is not handled by packages
<Yaniel> it sucks
<ldlework> Yaniel: how do I make QT apps working then? Just add something?
<Yaniel> they Just Work for me
<Yaniel> then again I'm using plasma as my desktop environment
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ldlework> :|
<cole-h> I mean, it works for me as well from `nix-shell -p qsynth`
<Yaniel> same here
nckx has quit [Quit: Updating my Guix System — https://guix.gnu.org]
<Yaniel> well other than not finding JACK
<ldlework> doesn't work for me
<ldlework> dumps core with qt error
<Yaniel> try logging out and back in
nckx has joined #nixos
<ldlework> what would that do?
<cole-h> ldlework: Did you try qsynth from master?
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<ldlework> master nixpkgs you mean?
<ldlework> Is there some cli oneliner to nixpkgs from an arbitrary nixpkgs rev?
<tobi_> hello, I have packaged https://github.com/pdbpp/pdbpp. before I can make a pull request I have a few questions: 1. in order to package pdbpp, I had to package a few dependencies as well. is it ok to create a single pull request for all of them? 2. how important are tests? I'm not that familiar with python unittesting and when I tried to make them run I ran into significant problems. 3. In the packaging
<tobi_> process, I installed the packages to my machine, however I didn't have "useSandbox" enabled. Is there an easy way to completely remove the packages again, so they have to be rebuilt? I've tried removing them from system packages and running "nix-collect-garbage-d" but it didn't seem to work
<Yaniel> tobi_: preferrably create separate pull requests for dependencies
<Yaniel> as in one PR per package
<Yaniel> tests are not strictly required but if you have any, do share
luna has joined #nixos
<Yaniel> useSandbox is also not a strict requirement for non-essential userspace stuff
<Yaniel> uninstalling depends on how you installed it
luna has quit [Client Quit]
<ldlework> OK
<Yaniel> if you used `nix-env -i` then `nix-env -e` and `nix-collect-garbage` will take care of it
cosimone has quit [Ping timeout: 260 seconds]
<ldlework> I am officially considering this Nix to be shitting the bed.
<tobi_> Yaniel: thanks for your quick answers! I added them to my systemPackages via an overlay
quinn has joined #nixos
<Yaniel> tobi_: then remove them, nixos-rebuild switch, nix-collect-garbage, readd and nixos-rebuild switch
<ldlework> Yaniel: what would logging out do?
<infinisil> Yaniel: tobi_: Hm actually I'd much rather have a single PR for all dependencies
<Yaniel> not logging out but I'm guessing there are some environment variables that are set on login
<Yaniel> infinisil: noted
gustavderdrache has joined #nixos
<tobi_> Yaniel: hm, I thought I did that, but I will try again. infinisil: will do
hlisp has quit [Ping timeout: 272 seconds]
<ldlework> Yaniel: for what though? I don't run Qt or any kind of desktop environment.
<ldlework> I just don't know what environment variable is supposed to magically appear.
iqubic has joined #nixos
fling has joined #nixos
<Yaniel> idk how nix handles them
<Yaniel> but I do recall there being some env variable(s) that Qt needs in order to work
<Yaniel> namely QT_PLUGIN_PATH
<ldlework> Yeah but I don't expect that to be magically setup by me logging out and back in.
<infinisil> ldlework: The QT stuff got recently fixed with https://github.com/NixOS/nixpkgs/pull/54525#
<infinisil> The fix is to add wrapQtAppsHook to nativeBuildInputs of the derivation
<ldlework> Ah OK so if I use a newer nixpkgs for, say, QSynth, maybe it'll work.
<Yaniel> which channel are you using?
* infinisil checks master
mbrgm_ has joined #nixos
<Yaniel> last summer isn't exactly what I'd call "new" anymore
<infinisil> Doesn't seem to have wrapQtAppsHook in latest master
<Yaniel> hmm
mbrgm has quit [Ping timeout: 240 seconds]
<infinisil> So nope
mbrgm_ is now known as mbrgm
<bdju> When I click on the output device for a specific program on the playback tab of pavucontrol, the menu doesn't appear, it's like it's invisible. Can't seem to select with arrows either, though.
<monokrome> Is there a specific package I need in a nix-build for it to use HTTPS? I don't know why it can't pull from PyPi here? https://builds.sr.ht/~monokrome/job/205315
<ldlework> well nix-channel --list doesn't return anything
<ldlework> So I'm unsure.
<Yaniel> bdju: worksforme
fdert has quit [Read error: Connection reset by peer]
<bdju> Yaniel: pcmanfm's right click menu has never worked for me on NixOS either. I'm sure I've got all sorts of GTK brokenness or something
<monokrome> Download error on https://pypi.org/simple/dj_database_url/: [Errno -2] Name or service not known -- Some packages may not be found!
<ldlework> Yaniel: how do I know?
lunik1 has quit [Quit: :x]
<Yaniel> idk, I'm not a nix guru :D
<Yaniel> oh yeah, try with sudo
hlisp has joined #nixos
<ldlework> ah
<Yaniel> that shows that I'm on nixos-unstable
<ldlework> I'm running unstable
<Yaniel> without sudo it shows nothing
WoC has quit [Read error: Connection reset by peer]
<ldlework> but I haven't updated it in forever
<ldlework> because I'm afraid everything will break
<Yaniel> the good thing about nixos is that worst case you have to reboot
<bdju> https://paste.debian.net/plainh/59175a41 got these errors in my shell when trying to select the menu. (segfault was after I hit ctrl-q)
<ldlework> I've just been doing fetchGitHub for specific nixpkgs revisions for specific packages.
<ldlework> Yaniel: you mean to pick a previous generation?
<Yaniel> yes
<ldlework> But that doesn't work with channel updates does it?
<Yaniel> as long as you don't garbage collect
<Yaniel> it does
<ldlework> so nix-channel --update
<ldlework> then reboot
<ldlework> if it broke
<Yaniel> channel updates don't touch your generations
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<ldlework> but switch will
<ldlework> I see
<Yaniel> switch changes the current generation
<monokrome> I think it's because my nix-build was using global pip instead of venv pip *facepalm*
<Yaniel> nixos-rebuild boot does, too
<Yaniel> but neither removes the old ones
<Yaniel> only garbage collection does that
<ldlework> well I guess I should update
<ldlework> rip my productivity for the next few days
<Yaniel> very recommended
<infinisil> Worst case with NixOS is the bootloader breaking
<Yaniel> my experience with nixos updates has been smooth so far
<ldlework> Oh god if the bootloader breaks
<Yaniel> I have had less bootloader breakage with nixos than with arch linux fwiw
<ldlework> I will go back to ubuntu
<infinisil> ldlework: Your goal is to just get qsynth to work right?
<ldlework> lol
<Yaniel> that was what made me switch in the first place xD
<ldlework> infinisil: yeah
<ldlework> trying to get midishits working
<infinisil> ldlework: Via configuration.nix I assume?
<Yaniel> tfw spending an entire saturday recovering my desktop TWICE
<ldlework> infinisil: yeah I have that module system we made together
<ldlework> so I can do like a fetchGit for a certian nixpkgs if I want
<ldlework> for a specific package
<ldlework> you're probably gonna tell me to use a recent nixpkgs, and do an override attrs to add the QT thing you mentioned?
<infinisil> ldlework: Try `environment.systemPackages = [ (pkgs.qsynth.overrideAttrs (old: { nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.libsForQt5.wrapQtAppsHook ]; })) ]`
<ldlework> OK I will
<infinisil> With just the existing pkgs you have
<ldlework> I wonder what someone does when the bootloader breaks.
<Yaniel> cries
<monokrome> Nope, that didn't fix it either >.<
<Yaniel> and then finds a live USB stick somewhere
<infinisil> It actually does happen to some recently.. https://github.com/NixOS/nixpkgs/issues/61718
<{^_^}> #61718 (by gnidorah, 50 weeks ago, open): grub efi fails on latest nixos-unstable
quinn has joined #nixos
ircuser5678 has joined #nixos
<Yaniel> so glad I'm not using grub I guess
<infinisil> (above issue seems to happen with grub 2.04 on other distros as well, so it's at least not our fault)
fresheyeball has joined #nixos
<ldlework> i'm so nervous
<ldlework> it's not like if i put it off, i'll avoid such issues in the future right
<{^_^}> [nixpkgs] @romildo opened pull request #87444 → nordic: 1.8.1 -> 1.9.0 → https://git.io/JfWIr
<aleph-> Hmm, is there a util to see if all reqs of a python package are in nixpackages?
<ircuser5678> hi. the wiki entry for samba states that I shoud be able to e.g. restart the service with systemctl restart samba. Great, unfortunately I'm getting this (as root): Failed to restart samba.service: Unit samba.service not found.
alp has quit [Ping timeout: 260 seconds]
<Yaniel> ldlework: again, worst case you have to reboot
<ircuser5678> But it is currently running... I can see that when using: ps aux | grep samba
<ldlework> even if it breaks the bootloader?
<Yaniel> okay, absolute worst case you need to get a live USB'
<Yaniel> and then reboot
<Yaniel> if you have another computer at hand that you can use for writing the live USB then you have nothing to worry
<Yaniel> if not, consider making one before updating
<cole-h> infinisil: Why would wrapQtapps hook need to be added? It uses `libsForQt5.callPackage` already
hlisp has quit [Ping timeout: 256 seconds]
<ldlework> I do have another machine.
<infinisil> cole-h: Ah, does that do it automatically?
<Yaniel> ldlework: then you will at most lose half an hour of time
<Ashy> ldlework: nixos is amazing for updates, i have successfully upgraded and downgraded multiple times without issues
<ex-parrot> oh hello Ashy
mpiechotka has joined #nixos
<Yaniel> plus however long it takes to download the iso
<cole-h> infinisil: IIRC
<infinisil> cole-h: The error does still happen for ldlework, so they probably use a version where it doesn't do that yet
<ex-parrot> <-- food_pics
<tobi_> ircuser5678: I think you have to use smbd.service
<Ashy> ex-parrot: ah i was wondering haha
<ex-parrot> :)
<ircuser5678> tobi_: Failed to restart smbd.service: Unit smbd.service not found.
<ldlework> Wait
<ldlework> After updating the channel
<ldlework> Isn't there some VM fuckery
<ldlework> I can use to test whether my configuration will work after switching to it / rebooting?
<ldlework> I feel like I use Nix because I don't like this feeling.
<ldlework> LOL
<mpiechotka> How to skip installing bootloader? I'm trying to install dual boot but nixos-install seems to insist to install something.
<Ashy> ex-parrot: dunno if you're interested in apl-j too, i'm working on getting all the addons included in nixpkgs atm, in #jsoftware if you're interested
<infinisil> ldlework: `nixos-rebuild build-vm` :)
asymmetric has quit [Quit: Peace.]
<ex-parrot> Ashy: I am academically interested in apl but never really done anything with it
<Ashy> same, heh
<Ashy> instead of learning it properly i'm doing this nixpkgs side quest...
<infinisil> mpiechotka: I believe with boot.loader.grub.device = "nodev"
<ex-parrot> Ashy: sounds good. I want to get an APL typeball for one of my Selectrics...
asymmetric has joined #nixos
<ldlework> infinisil: how do I boot it after
<infinisil> ldlework: result/bin/run-nixos-vm
<bdju> how do I check a meta.maintainers list? trying to file an issue
<ldlework> infinisil: btw, you still using that module system we made?
<infinisil> ldlework: I'm not sure what you mean
<mpiechotka> infinisil: "File system "/boot" is not a FAT EFI System Partition (ESP) file system."
<ex-parrot> Ashy: I'm working on remaking the PowerDNS module again today
<mpiechotka> infinisil: NM. Forgot to disable systemd
hlisp has joined #nixos
<ldlework> infinisil: the "mine" options/config system
<infinisil> bdju: Got more info on that?
<ldlework> recImport
<ldlework> etc
<ldlework> maybe you evolved so far you don't even see the abstractions anymore
<{^_^}> [nixpkgs] @romildo opened pull request #87445 → nordic-polar: 1.6.0 -> 1.9.0 → https://git.io/JfWID
<ldlework> :P
<infinisil> Ah yeah, not really a module system on its own, just some definitions
<ldlework> yeah, you're right
<Ashy> ex-parrot: you have multiple selectrics? :O
<ex-parrot> currently two, but one of them is technically only on loan from sharrow
<ex-parrot> the other one is mine
<bdju> infinisil: part of the issue template says to check the meta.maintainers list for a package and then mention the maintainer of the package with the bug on github, but I'm not sure how I do this
<infinisil> bdju: In the package file you're changing, there should be a meta.maintainers section at the bottom
<bdju> I'm not changing anything
<bdju> how do I get the a package file?
<bdju> s/the/to
<infinisil> Ah
<bdju> I'm just reporting a bug
<tobi_> ircuser5678: just checked on my server, "samba-smbd" should work
<infinisil> bdju: You can do `nix-instantiate --eval -A <package attribute>.meta.maintainers --strict`
<infinisil> Or even here
<infinisil> > :p firefox.meta.maintainers
<{^_^}> [ { email = "edolstra+nixpkgs@gmail.com"; github = "edolstra"; githubId = 1148549; name = "Eelco Dolstra"; } { email = "andreas@rammhold.de"; github = "andir"; githubId = 638836; name = "Andreas Rammh...
<bdju> :p pavucontrol.meta.maintainers
<bdju> > :p pavucontrol.meta.maintainers
<{^_^}> [ { email = "ab@fmap.me"; github = "abbradar"; githubId = 1174810; name = "Nikolay Amiantov"; } { email = "mail@glob.in"; github = "globin"; githubId = 1447245; name = "Robin Gloster"; } ]
<bdju> thank you!
<infinisil> I guess it might ping people here, so probably a local nix-instantiate is preferred :)
<infinisil> Np :)
<infinisil> bdju: Oh, and if you don't mind using the still-experimental CLI: nix eval nixpkgs.pavucontrol.meta.maintainers
<bdju> Oh, that seems to work well also. Thanks again. I will write that down.
MmeQuignon has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bcdarwin opened pull request #87447 → ocamlPackages.torch: init at 0.8 → https://git.io/JfWLf
<{^_^}> [nixpkgs] @AshyIsMe closed pull request #87376 → J addons → https://git.io/JfC6b
<ircuser5678> tobi_: That works. Thanks!
maddo has quit [Quit: See ya]
mpiechotka has quit [Remote host closed the connection]
codygman has quit [Ping timeout: 256 seconds]
<tobi_> ircuser5678: you're welcome, by default there are also samba-nmbd and samba-winbindd
<ircuser5678> tobi_: Yeah, noticed that afterwards. Maybe the wiki could be updated...
codygman has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #87448 → shades-of-gray-theme: 1.2.1 -> 1.3.0 → https://git.io/JfWLm
tobi_ has quit [Quit: leaving]
bhipple has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JfWL3
Maxdamantus has quit [Ping timeout: 256 seconds]
xcmw has joined #nixos
philr has joined #nixos
xcmw has quit [Client Quit]
Maxdamantus has joined #nixos
hlisp has quit [Ping timeout: 272 seconds]
aveltras has quit [Quit: Connection closed for inactivity]
fresheyeball has quit [Quit: WeeChat 2.7.1]
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #87442 → ripgrep: 12.0.1 -> 12.1.0 → https://git.io/JfWTa
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfWLg
waleee-cl has quit [Quit: Connection closed for inactivity]
nckx has quit [Quit: Updating my Guix System — https://guix.gnu.org]
fengdaolong has quit [Quit: WeeChat 1.9.1]
lunik1 has joined #nixos
codygman has quit [Ping timeout: 272 seconds]
ircuser5678 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
hlisp has joined #nixos
<ldlework> infinisil: so I just booted up the VM
<ldlework> lol it doesn't accept my password
Maxdamantus has quit [Ping timeout: 256 seconds]
<ldlework> for logging in?
<infinisil> Hm well I guess if you haven't specified it in your configuration.nix it can't know about it
<ex-parrot> I think if you're not using immutable users the VM won't come up with your users
Maxdamantus has joined #nixos
<ldlework> How does one safely put the password into their config?
<ldlework> hash?
<infinisil> ldlework: I'd just use a bogus one for the vm
<infinisil> And remove it afterwards
<infinisil> (or have a vm-specific configuration.nix which does that and imports your standard configuration.nix)
<ldlework> huh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #87449 → python27Packages.pyvmomi: 6.7.1.2018.12 -> 7.0 → https://git.io/JfWLQ
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos