gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<VaNilLa[m]> what's the "canonical" way for setting it up? The manual is fairly outdated, and the Git Hub issues regarding it are a year old now.
<simpson> VaNilLa[m]: Hydra is not an easy package to administer. You will likely want to be running on NixOS.
<wrl> is hydra the best option for self-hosted nix-based CI?
<VaNilLa[m]> Well it certainly isn't easy given that the first page of the manual is outdated.
<simpson> wrl: Not really, but people seem to think that just running plain Nix commands is not an option.
<VaNilLa[m]> I have the same question as wrl: I want self-hosted CI, and I'd like to try nix with it
<simpson> VaNilLa[m]: Make your stuff build with Nix first, *then* figure out Hydra.
<VaNilLa[m]> I tried hydra largely because it also provides a web interface, and that's one of the things I'd like.
<simpson> Exactly, apparently just running plain Nix commands isn't an option for you, for some reason. https://nixos.wiki/wiki/Hydra explains how to Hydra on NixOS.
<VaNilLa[m]> Alright, guess I'll do that. I'm mostly just experimenting with it
<simpson> And what will you do once you've got a Hydra set up? You'll need to give it some Nix expressions and a place to pull them from.
<VaNilLa[m]> right, which goes back to your comment of getting my stuff to build with nix
emptyfl4sk has quit [Ping timeout: 258 seconds]
<hpfr[m]> How should I set up the Emacs daemon with home-manager?
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<VaNilLa[m]> Out of curiosity though, I still would like to know why hydra is only provided in the NixOS channel and conflicts with nix-build
<clever> VaNilLa[m]: after you ran nix-build, did you `ls -l result/bin/` ?
wildtrees[m] has joined #nixos
<VaNilLa[m]> I didn't run nix build. I merely tried to install the hydra package. Following this issue https://github.com/NixOS/hydra/issues/532 I ended up installing nix-build, with no sign of hydra. Finally, I added the NixOS-19.03 channel and tried to install hydra, which conflicted with nix-build.
<{^_^}> hydra#532 (by gilligan, 1 year ago, open): Link for installling hydra is outdated
<clever> VaNilLa[m]: what is the exact command you ran?
<Ashy> i've been looking at getting some personal projects to build with nix and that has been quite helpful
<VaNilLa[m]> Ashy: thanks!
<VaNilLa[m]> Clever: I ran nix-env -i hydra (no matches). As per the issue, I ran nix-env -iA hydra (installed nix-build). Then I added the nixos 19.03 channel via nix-channel --add, and finally ran nix-env -i hydra (package conflict in file Hydra.pm)
<clever> VaNilLa[m]: `nix-env -iA hydra` shouldnt install nix-build, what does `nix-env -q` report?
noudle has quit []
<VaNilLa[m]> let me fire up my VM.
<jackdk> I am packaging a brother printer driver for my printer, because it's not in nixpkgs and is similar to existing ones. Before I go full copypasta on this, anyone know if there's work afoot to unify the brother driver packaging (e.g., a function over URL, printer name, etc?)
<VaNilLa[m]> `nix-env -q` reports only nix-build. I gave you the wrong command: I ran `nix-env -iA nixpkgs.hydra`
<clever> VaNilLa[m]: can you pastebin the entire output of `nix-env -q` ?
<VaNilLa[m]> clever, when I say only nix-build, I'm not kidding. That's the __only__ entry.
<{^_^}> [nixpkgs] @utdemir opened pull request #68178 → shunit2: init at 2019-08-10 → https://git.io/fjjW1
<VaNilLa[m]> it's a fresh install, and nix is not the "original" package manager
<clever> VaNilLa[m]: there is no package called nix-build, can you pastebin the contents of ~/.nix-profile/manifest.nix ?
<VaNilLa[m]> this will be difficult considering I am in a VM without x-org. Give me a second
<clever> VaNilLa[m]: can you enable ssh, then just ssh into it?
<VaNilLa[m]> that's probably easier
adamantium has joined #nixos
<VaNilLa[m]> honestly, as simpson suggested, I should probably get my packages to build with nix first, before caring about hydra.
mjsir911 has joined #nixos
<VaNilLa[m]> so if no fix is immediately obvious, I'd rather stop wasting people's time in this channel
<clever> VaNilLa[m]: what does `ls -l /nix/store/3ragnilnlj035dkwirkq6x0sypidjpq9-nix-build/bin/` show?
<clever> the bin at the end is missing
noogie has quit [Ping timeout: 245 seconds]
<VaNilLa[m]> there's a `bin` entry in the first row, isn't there?
adamantium has quit [Read error: Connection reset by peer]
<clever> VaNilLa[m]: the command i gave, will ls bin
<VaNilLa[m]> additionally `nix-build` is a command I can run
<VaNilLa[m]> oh!
<VaNilLa[m]> my bad
<VaNilLa[m]> now that's interesting....
<VaNilLa[m]> hydra-init is in there.
<clever> yeah, thats hydra
<VaNilLa[m]> nonetheless, the command's not found.
<clever> is ~/.nix-profile/bin/ in $PATH?
<clever> boom, theres the entire cause of the confusion
<VaNilLa[m]> shoot! That's weird. it's not. another user's nix-profile is....
<clever> the "name" of the hydra package, is nix-build!!
<VaNilLa[m]> thanks clever, that's probably a botched install on my part. I appreciate you taking the time to help me figure it out
<clever> wait, thats not even the hydra package
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjjW9
<clever> something funky is going on with the hydra package
jtojnar has quit [Read error: Connection reset by peer]
<VaNilLa[m]> I suppose it could've been renamed. that's why the issue I link recommends installing nix-build
<clever> nix-build is the default name for that helper function
<VaNilLa[m]> that's not my issue either way - my path is loading the wrong user's env....
<clever> whoever packaged hydra, forgot to set the name to hydra
<clever> so you need confusing advice like `nix-env -i nix-build`
jtojnar has joined #nixos
<VaNilLa[m]> so there's two issues involved
slicertaps has quit [Ping timeout: 245 seconds]
<clever> oh, it was called hydra, somebody upgraded it to the newer pname style
<clever> but releaseTools.nixBuild doesnt support pname!
<VaNilLa[m]> :O
<VaNilLa[m]> I am going for dinner. Thank you very much for your help, and for your clarification of what's going on with `hydra` vs `nix-build`.
emptyfl4sk has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
slicertaps has joined #nixos
_ris has quit [Ping timeout: 250 seconds]
m0rphism has quit [Ping timeout: 268 seconds]
schjetne has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
schjetne has quit [Ping timeout: 245 seconds]
Rusty1 has joined #nixos
Guanin has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fjjWx
ddellacosta has joined #nixos
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #66669 → palemoon: 28.6.0.1 -> 28.7.0, drop hardeningDisable → https://git.io/fjdYD
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjjlJ
Fare has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #68031 → tree-wide: s/GTK+/GTK/g → https://git.io/fjhtN
Guest87745 has quit [Ping timeout: 264 seconds]
Zer0xp has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @aanderse opened pull request #68179 → kdevelop, kdev-php, kdev-python: 5.4.1 -> 5.4.2 → https://git.io/fjjlq
iqubic has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 138 commits to staging-next: https://git.io/fjjlm
jluttine has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jtojnar pushed 139 commits to staging: https://git.io/fjjlY
georges has quit [Ping timeout: 245 seconds]
dycan has quit [Remote host closed the connection]
jluttine has joined #nixos
drakonis has joined #nixos
jtojnar has quit [Ping timeout: 246 seconds]
fresheyeball has quit [Quit: WeeChat 2.4]
fresheyeball has joined #nixos
<fresheyeball> clever: you still around?
uranther has quit [Quit: Connection closed for inactivity]
Fare has quit [Ping timeout: 252 seconds]
emptyflask has joined #nixos
<fresheyeball> \q
fresheyeball has quit [Quit: WeeChat 2.4]
jtojnar has joined #nixos
<VaNilLa[m]> can anyone tell me how to set up lightdm properly? I see https://github.com/NixOS/nixpkgs/blob/22fb70a9962563154b5748ef3371d2b148c52bcb/nixos/modules/services/x11/display-managers/lightdm.nix#L99, but it seems to want a `greeter` package. I try with
<VaNilLa[m]> `pkgs.lightdm-gtk-greeter`, and that doesn't exist. What's the "correct" way?
<buckley310> i think lightdm is the default login manager if you just turn on xserver.enable, right?
<VaNilLa[m]> Is it? and the gtk greeter is the default greeter/
georges has joined #nixos
<buckley310> yeah i think so
<VaNilLa[m]> I'll try that. But hypothetically, should I have wanted a different greeter, is setting lightdm.package = pkgs.some-greeter-package the right way?
<simpson> Yeah, but overriding .package in config is always a bit of a gamble. It's generally not what you'll want to do.
<VaNilLa[m]> uhoh, I didn't quite mean that specific line
<VaNilLa[m]> lightdm's package has an option called "greeter.package"
<VaNilLa[m]> which I assume is a way to set the greeter?
<simpson> It's how to choose the Nix package that will be called by the greeter service configuration.
noogie has joined #nixos
<simpson> For most of the Xorg stuff, the way to choose which of the various flavors of similar compatible package (DM, WM, DE, etc.) is to simply `.enable = true;` it.
<VaNilLa[m]> interesting.
<VaNilLa[m]> thank you!
kvda has joined #nixos
wfranzini has quit [Remote host closed the connection]
emptyfl4sk has joined #nixos
wfranzini has joined #nixos
noogie has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #68134 → wtf: Add `infocmp` to PATH, fixes #68103 → https://git.io/fjjTh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjjlr
teej has joined #nixos
noogie has joined #nixos
emptyfl4sk has quit [Ping timeout: 268 seconds]
oborot has joined #nixos
spease has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jbedo opened pull request #68180 → bedtools: 2.28.0 -> 2.29.0 → https://git.io/fjjli
felixfoertsch has joined #nixos
felixfoertsch23 has quit [Ping timeout: 245 seconds]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 252 seconds]
ddellacosta has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #68181 → doc: Disable wrapping source → https://git.io/fjjlM
ddellacosta has joined #nixos
<CMCDragonkai> When attempting to build a container, I'm getting a kvm error on one of my machines (but not on another machine with the same nixos configuration)
<CMCDragonkai> I then checked the kernelModules:
<CMCDragonkai> ` boot.kernelModules = [ "kvm-amd" "k10temp" ];`
<CMCDragonkai> So that's right
<ivan> check journalctl -b kvm-related messages?
<CMCDragonkai> And then I checked `ls: cannot access '/dev/kvm': No such file or directory`
<ivan> BIOS might need something toggled to enable virtualization
<CMCDragonkai> so on one of my machines `/dev/kvm` is gone, while on my other machine `/dev/kvm` is on
<CMCDragonkai> oooh
<CMCDragonkai> it might be bios
<CMCDragonkai> lets see
das_j has quit [Remote host closed the connection]
abathur has joined #nixos
das_j has joined #nixos
mexisme has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
emptyfl4sk has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
emptyfl4sk has quit [Ping timeout: 245 seconds]
lord| has joined #nixos
noogie has quit [Ping timeout: 268 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
mexisme has quit [Ping timeout: 268 seconds]
<Enzime> does anyone know how to fix sound issues with Minecraft? (I'm using ALSA)
<Enzime> does /etc/openal/alsoft.conf normally exist/does any package/service create it?
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #68182 → nixos/gnome3: enable chrome-gnome-shelll → https://git.io/fjjlb
domogled has joined #nixos
<switchy> on one of my machines, I use `nix-shell -p meta-pkg1 python-env` to get a build environment for some particular software (where meta-pkg1 and python-env are defined in my config.nix) -- how do I get the store paths for these to copy to another machine with nix-copy-closure?
mmlb has joined #nixos
aither has quit [Ping timeout: 244 seconds]
snajpa has quit [Ping timeout: 264 seconds]
<mmlb> hey all, I'm having trouble installing and booting on a GPT bios HPE ml350p gen 8 machine. I've tried a bunch of things to no avail, but just had this last thought, re `boot.loader.grub.device`
<ivan> mmlb: do you mean UEFI boot or MBR boot of a GPT disk?
<mmlb> I've got `ef02` type
<mmlb> I've been setting `boot.load.grub.device = "/dev/disk/by-id/wwn-....";` should that be `wwn-...-part1` maybe?
snajpa has joined #nixos
<mmlb> ivan: BIOS boot
<ivan> you don't have to put the EF02 partition in the nixos configuration, grub detects it
<ivan> boot.load.grub.device should be set to the whole disk device
<ivan> how does the boot fail?
<mmlb> doesn't boot, skips hdd and goes off and tries pxe which is next in line
<ivan> also I think I've had HP's RAID stuff mangle my grub before
<mmlb> nope no raid, I set the raid to HBA and that wasn't working either before. I'm currently attempting to boot from usb2sata converter
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 is now known as Supersonic
<ivan> nixos-rebuild output is good and grub doesn't complain?
<mmlb> everything looks great
<ivan> maybe your BIOS is just fubar
jtojnar has quit [Ping timeout: 245 seconds]
<mmlb> yeah could be, I'm going to try with just msdos
<mmlb> I have not ever experience this situation of BIOS not booting from GPT, though I've heard of it
jtojnar has joined #nixos
domogled has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/56b84277cc8 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
drakonis has quit [Ping timeout: 276 seconds]
<angerman> wine (wine64) tries to build alsa as a dependency on macOS O_o
<switchy> oh bah, nix-copy-closure wants to call nix-store but I can't seem to make that available in a non-interactive shell, oh well
Tony[m]3 has joined #nixos
rick68 has joined #nixos
<mmlb> ivan: yep thats what it is, hpe gen8 bios does *not* like GPT, too bad :(
EsperLily has quit [Ping timeout: 258 seconds]
jol has quit [Ping timeout: 258 seconds]
EsperLily has joined #nixos
philr has quit [Ping timeout: 258 seconds]
Palpares has quit [Ping timeout: 260 seconds]
Palpares has joined #nixos
<{^_^}> [nixpkgs] @bhipple opened pull request #68183 → aws-adfs: 1.12.3 -> 1.17.0 → https://git.io/fjj8B
jol has joined #nixos
<samueldr> I learned recently that UEFI support was added only at gen 9 of hp servers
<samueldr> so it wouldn't really surprise me that the older bios don't play nicely with anything else than MBR, though is a bit sad :(
dustinm- has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
dustinm has joined #nixos
teej has quit [Quit: Connection closed for inactivity]
ivan has joined #nixos
gyroninja has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bhipple opened pull request #68184 → waf: 2.0.15 -> 2.0.18 → https://git.io/fjj8o
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
gyroninja has joined #nixos
<gyroninja> hyperfekt: Just in case you didn't know, the narrator works in my derivation for minecraft.
emptyflask has quit [Ping timeout: 246 seconds]
fusion809 has joined #nixos
oborot has quit [Ping timeout: 268 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
<ivan> rebooted on digitalocean and `kernel: random: crng init done` took almost 3 minutes
ddellacosta has quit [Ping timeout: 244 seconds]
wfranzini has quit [Remote host closed the connection]
emptyfl4sk has joined #nixos
emptyfl4sk has quit [Ping timeout: 258 seconds]
<averell> needs services.haveged.enable probably :/
abathur has quit [Ping timeout: 245 seconds]
palo1 has joined #nixos
o1lo01ol1o has joined #nixos
<gyroninja> I don't need that for my droplet (nor do I get that problem with low entropy)
palo has quit [Ping timeout: 258 seconds]
palo1 is now known as palo
<averell> do you have anything that generates network or disk i/o on boot? cause that solves it automatically.
<gyroninja> I'm not sure what counts as that but it's a pretty normal web server with FDE
growpotk- has quit [Ping timeout: 258 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<ivan> averell: thanks
<ivan> I think ssh startup was waiting for crng init, but I also have wireguard
<cocreature> How do I debug “error: cannot auto-call a function that has an argument without a default value ('mkDerivation')”? Is there any way to get some backtrace of what exactly is going wrong?
<savanni> cocreature: Did you get this when running nix-shell or nix-build?
<cocreature> savanni: nix-shell
<savanni> k. You can get a backtrace with --show-trace.
<cocreature> That doesn’t seem to work for this error for some reason
<savanni> Usually, the problem is that one of your functions (with me, it's frequently the shell.nix function), has a required parameter that I didn't provide a value to.
<cocreature> oh actually I’m just stupid, I was in the wrong directory …
<savanni> lol
<savanni> :)
<cocreature> thanks for the help :)
<cocreature> That’s what I get for trying to fix things before having coffee
<savanni> Anyway, I have my own question. I'm wanting to create version of git that uses a particular configuration file that I've defined. First question: should I be using mkDerivation with git as a buildInput, or should I be using buildEnv with git as one of the paths?
<savanni> Like, my strategy is going to be to write the configuration files out to the store, and then probably use wrapProgram to set XDG_CONFIG_HOME to the configuration file... but I'm actually starting with just trying to understand what kind of thing I'm building to make this work.
<{^_^}> [nixpkgs] @srhb merged pull request #68138 → ceph: 14.2.1 -> 14.2.3 → https://git.io/fjjLD
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjj4n
emptyfl4sk has joined #nixos
alex`` has quit [Ping timeout: 246 seconds]
emptyfl4sk has quit [Ping timeout: 245 seconds]
Fare has joined #nixos
Synthetica has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
<elvishjerricco> Is there a way to access a nix store that's been mounted read only? I'm booted from a usb stick and want to `nix copy` from my hard drive, but I want the hard drive mounted readonly to make sure I don't mess with anything
<elvishjerricco> I get `error: opening lock file '/mnt/nix/var/nix/db/big-lock': Read-only file system`
<dminuoso> elvishjerricco: What do you mean by "access a nix store" exactly?
<elvishjerricco> dminuoso: Mainly just `nix copy` from it without having to mount it rw
<elvishjerricco> the nix store on a non-root disk
<dminuoso> elvishjerricco: Curious, why does one need rw access to copy from the store?
ixxie has joined #nixos
<elvishjerricco> Dunno. Tries to acquire some lock file
DariusTh` has quit [Ping timeout: 258 seconds]
dasj19 has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #68186 → procs: 0.8.5 -> 0.8.9 → https://git.io/fjj4H
o1lo01ol1o has joined #nixos
noudle has joined #nixos
marusich has joined #nixos
marusich has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 252 seconds]
judson_ has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 268 seconds]
judson_ has joined #nixos
Ariakenom has joined #nixos
dansho has quit [Ping timeout: 246 seconds]
<worldofpeace> savanni: hey
<worldofpeace> I think you can you use symlinkJoin with git in the paths
<worldofpeace> and in a let in use one of the trivial builders like writeTextFile for your configuration file, and wrap the programs in postBuild in symlinkJoin
domogled has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
zupo has joined #nixos
wfranzini has joined #nixos
DariusTh` has joined #nixos
<{^_^}> [nixpkgs] @jb55 opened pull request #68187 → grub: enable copyKernels by default → https://git.io/fjjBG
mexisme has joined #nixos
teej has joined #nixos
infinee has quit [Ping timeout: 268 seconds]
zupo_ has joined #nixos
<Enzime> hyperfekt: gyroninja: does sound work for you guys in Minecraft? are you guys using ALSA or Pulse?
infinee has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
zupo_ has quit [Client Quit]
<gyroninja> Enzime: Yes and pulse
<{^_^}> [nixpkgs] @xrelkd opened pull request #68188 → eksctl: 0.5.0 -> 0.5.1 → https://git.io/fjjB0
<hyperfekt> Enzime: pulse, and mind that I force pushed to put pulse in the EnvLibs. The same might be necessary for alsaLibs to get sound.
<Enzime> hyperfekt: what do you mean by EnvLibs?
<hyperfekt> In the derivation there's two sets of lib paths, most are patched into the binary but some are passed via $LD_LIBRARY_PATH.
aither has joined #nixos
<Enzime> hyperfekt: pkgs.minecraft?
<Enzime> or pkgs.multimc?
<hyperfekt> The minecraft one from my PR.
<Enzime> what PR?
<hyperfekt> Nevermind then, I thought you were using the official launcher.
emptyfl4sk has joined #nixos
<gyroninja> hyperfekt: Did you see my mention from earlier tonight?
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « add matplotlib again »: https://git.io/fjjBK
<srhb> Any good ideas on how to debug "Failed to start session" in lightdm? I don't see any errors in display-manager.service
<hyperfekt> I did, must be a problem local to me then (it's not loading flite for me).
<hyperfekt> ^ gyroninja
emptyfl4sk has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjjBS
<gyroninja> all I did to get it working was add flite to my library path
<gyroninja> (rpath in my derivation)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjjBH
hyper_ch2 has joined #nixos
<worldofpeace> srhb: logs are at /var/logs/lightdm
<worldofpeace> * /var/log
<srhb> Oh, didn't realize it didn't use journald. Thanks.
<{^_^}> [nixpkgs] @peti pushed commit from @mdorman to haskell-updates « jailbreak-cabal: updated package needs updated Cabal library »: https://git.io/fjjB5
<srhb> Ah, I think I see the problem. "Can't find session configuration xterm" -- looks like we broke something..
<{^_^}> [nixpkgs] @peti closed pull request #68157 → jailbreak-cabal: updated package needs updated Cabal library → https://git.io/fjjGf
<worldofpeace> yeah, one of those long running issues with lightdm in nixos
<worldofpeace> xterm was removed from defaults
<worldofpeace> was your previous session xterm?
<srhb> #67365 probably
<srhb> Yes :)
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67365 (by dywedir, 1 week ago, merged): hcxtools: 5.1.6 -> 5.2.0
<srhb> Er, no, no that..
<worldofpeace> try selecting a different session in the session chooser so it can change it
<worldofpeace> yep I revieved that PR too (thought something like this could happen cuz it felt buggy)
<{^_^}> [nixpkgs] @mmahut merged pull request #68167 → pythonPackages.requests-mock: 1.5.2 -> 1.7.0 → https://git.io/fjjnB
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjjBb
vonfry has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #68173 → gitg: 3.32.0 -> 3.32.1 → https://git.io/fjjcL
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjjBN
<{^_^}> [nixpkgs] @avdv opened pull request #68189 → wtf: No longer use vendored dependencies → https://git.io/fjjBA
<srhb> It definitely needs a clearer release note at least. :D
<srhb> Actually, I also think it's a bad idea. Isn't it pretty common with .xsession-based logins?
<srhb> But maybe we can make that clearer anyway instead of relying on that session.
<worldofpeace> I don't think in other distros xterm is enabled as a session default. always seemed weird to me and someone can always enable it.
<worldofpeace> srhb: what DE do you use? (maybe wm)
Tucky has joined #nixos
<srhb> xmonad.
abbiya has joined #nixos
schjetne has joined #nixos
<srhb> And that's entirely possible. My main concern is that I think most people who use a home-manager-based xsession start up will experience silentish breakage with this PR. Maybe expanding the release note to explain what's going on and who's affected will suffice..
<worldofpeace> I'm not familiar with how people use home-manager based xsessions. Do you mean the "breakage" you just experienced?
<srhb> Yes. :)
<worldofpeace> Was it with the gtk greeter?
<srhb> Without the scare quotes though xD
<srhb> Yeah :)
infinee has quit [Ping timeout: 268 seconds]
<srhb> Maybe we should just throw a huge warning if lightdm is enabled but no sessions are.
asheshambasta has joined #nixos
<srhb> I literally had an empty list, which I didn't think about because I never open that menu.
<worldofpeace> Ok, so I'm not sure where the code is or if it's there. But the greeter should discard sessions that don't exist anymore in the sessions list.
<worldofpeace> Your list was empty even when using xmonad?
<srhb> I'm not using xmonad as desktopManager (the NixOS option)
<srhb> I was relying on xterm being there by default.
<worldofpeace> ooooh, Can you paste your actual config?
<srhb> Erm.. I can probably cook up a minimal example, but can't paste it all. The gist of it is that lightdm is enabled, no desktopManagers were, and I was relying on ~/.xsession taking over from there
<srhb> Which is sufficient to reproduce the issue.
<worldofpeace> Yeah you can paste a minimal example :D I just need to be able to reproduce it.
<srhb> Sure. :)
m0rphism has joined #nixos
vonfry has quit [Quit: WeeChat 2.5]
<Ariakenom> noob here. trying to make a package. C compilatin fails because it needs #include <GL/glut>. I tried adding to freeglut to buildinputs but same issue in a freeglut file.
zupo has joined #nixos
rick68 has quit [Quit: leaving]
LnL has quit [Ping timeout: 244 seconds]
cfricke has joined #nixos
Makaveli7 has joined #nixos
<srhb> Basically I'm opposed to the idea that you can end up with no valid sessions after the upgrade, especially because the failure is pretty silent.
infinee has joined #nixos
dwdr has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/609fe21661d (from 17 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
thc202 has joined #nixos
<Ariakenom> is that something that should work? maybe makefile needs a whack?
johanot has joined #nixos
LnL has joined #nixos
LnL is now known as Guest64138
MightyJoe has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyraxjoe has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjjRA
domogled1 has joined #nixos
domogled has quit [Ping timeout: 245 seconds]
domogled1 is now known as domogled
Zer0xp has joined #nixos
boxdot has joined #nixos
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @markus1189 opened pull request #68190 → imv: 3.1.2 -> 4.0.1 → https://git.io/fjj0s
<boxdot> Where is the configuration stored in nixpkgs whether sandbox is used or not? E.g. for darwin it seems to be disabled, but not for linux.
<srhb> boxdot: /etc/nix/nix.conf usually
sb0 has joined #nixos
<boxdot> srhb: this is for nixos, right? What if I have a local install of nix. Or is it somewhere inside of the store?
<srhb> boxdot: No, still in /etc/nix/nix.conf usually.
<srhb> boxdot: It may not exist to start with.
<srhb> boxdot: In which case sandbox is on by default on Linux with recent versions, and off on other platforms.
joshuagl has joined #nixos
chr15 has joined #nixos
<boxdot> Is it actually configurable through a nix expression? E.g. overlay?
<srhb> boxdot: I mean, NixOS generates the config file via Nix, so in that sense, yes.
emptyfl4sk has quit [Ping timeout: 245 seconds]
<srhb> boxdot: But that relies on the NixOS activation stuff which can symlink things in place outside of the store
<srhb> boxdot: You generally don't have that option outside of NixOS
<Ashy> boxdot: `nixos-option nix.useSandbox`
<Ashy> boxdot: found it by searching here: https://nixos.org/nixos/options.html#sandbox
<boxdot> Ashy: Ah, this one I saw. But it looks like it is NixOS related. To be clear, I am just using nixpkgs.
<boxdot> Basically, what I try to understand is the fact that if there is no configuration nix-build decides based on the system (linux or macos) whether to activate sandbox or not, and it is not clear for me where this switch is done.
<srhb> boxdot: You will probably just need to create that file then. If you're on Linux, sandbox is likely already on, but you can check with nix show-config
<srhb> boxdot: In the Nix source code :)
Zer0xp has quit [Ping timeout: 244 seconds]
<boxdot> srhb: good point. Found it in src/libstore/globals.hh:228.
<srhb> boxdot: There's also a hard switch that sets the default to smEnabled for Linux builds, and Disabled for others.
<srhb> boxdot: but nix show-config is your friend.
<{^_^}> [nixos-hardware] @Mic92 merged pull request #120 → thinkpad/x250: add acpi_call → https://git.io/fjhNF
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/fjj02
chr15 has quit [Ping timeout: 244 seconds]
Zer0xp has joined #nixos
<{^_^}> [nixos-hardware] @Mic92 merged pull request #119 → Update README.md → https://git.io/fjpdp
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/fjj0a
<{^_^}> [nixpkgs] @Infinisil merged pull request #67805 → nix-prefetch-git: Remove some pack file non-determinism → https://git.io/fjxxE
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjj0V
chr15 has joined #nixos
v88m has quit [Ping timeout: 246 seconds]
veske2 has joined #nixos
<worldofpeace> srhb: So I think we can do this
veske2 has quit [Client Quit]
<worldofpeace> No DE or WM is enabled and xserver is enabled we enable xterm
<worldofpeace> And it stays default false.
veske2 has joined #nixos
chloekek has joined #nixos
knupfer has joined #nixos
abbiya_ has joined #nixos
<{^_^}> [nixpkgs] @bzizou opened pull request #68191 → bayescan: init at 2.1 → https://git.io/fjj0D
<srhb> worldofpeace: That sounds like a reasonable fix to me. As long as we don't end up with none. :-)
janneke_ is now known as janneke
abbiya_ has quit [Read error: Connection reset by peer]
noudle has quit []
asymptotically has joined #nixos
abbiya_ has joined #nixos
<worldofpeace> srhb: right, and in the end it would be no-op for users like you who rely on it. We could use stateVersion, but I think it's kinda silly. And a warning if no DE or WM might be annoying.
<srhb> worldofpeace: Yeah, I completely agree. I mean, even a release note that warned "if you didn't have any enabled before, take note that you will need to enable one now" would be a cheap "fix"
abbiya has quit [Read error: Connection reset by peer]
abbiya_ is now known as abbiya
boxdot1 has joined #nixos
boxdot has quit [Read error: Connection reset by peer]
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
noonien has quit [Quit: Connection closed for inactivity]
<worldofpeace> Think you could note what home-manager users relied on in https://github.com/NixOS/nixpkgs/pull/67355#issuecomment-528768962? srhb (think you mentioned that)
<Taneb> I've got something using "pkgs.writeScript". Is there a way I can add a derivation to its runtime environment easily?
<worldofpeace> Taneb: maybe writeTextDir ( I think that's name) could do that. and if runtime environment is directories the scripts are in. Or perhaps wrappers
<Taneb> Wrappers was what I was thinking but I don't quite know how to do this
<Taneb> (I want to add something to PATH)
<johanot> but pretty it not is :D
<Taneb> Ooh er
<Taneb> Maybe something like this should be added to trivial-builders? (although they're getting less and less trivial :D)
<johanot> sorry.. did I hurt your eyes there?
<{^_^}> [nixpkgs] @Mic92 merged pull request #68189 → wtf: No longer use vendored dependencies → https://git.io/fjjBA
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjj0j
<srhb> Taneb: imo once you're at that point just use runCommand :P
asymptotically2 has joined #nixos
<srhb> There's too many potentially useful permutations of "only use this option in runCommand" to name them all, I think :P
asymptotically2 has quit [Client Quit]
<srhb> Of course, you could always wrap PATH with yet-another trivial builder inside the writeScriptBin >_>
<{^_^}> [nixpkgs] @Mic92 merged pull request #68172 → xmlroff: 0.6.2 -> 0.6.3 → https://git.io/fjjcT
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjjEv
cfricke has quit [Quit: WeeChat 2.5]
chloekek has quit [Ping timeout: 245 seconds]
schjetne has quit [Read error: No route to host]
schjetne has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #68192 → xmlroff: remove old patch → https://git.io/fjjEW
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjjER
<{^_^}> [nixpkgs] @mmahut merged pull request #68192 → xmlroff: remove old patch → https://git.io/fjjEW
o1lo01ol1o has joined #nixos
<sphalerite> hyper_ch2: what did you use to manage your VMs again?
<{^_^}> [nixpkgs] @chkno opened pull request #68193 → nixos-option C++ rewrite with --all → https://git.io/fjjE2
<hyper_ch2> sphalerit: virtmanager and virsh
<{^_^}> [nixpkgs] @adisbladis closed pull request #68176 → Drop unsupported go versions 1.10 and 1.11 → https://git.io/fjjcF
<hyper_ch2> sphalerite:
<{^_^}> [nixpkgs] @adisbladis opened pull request #68194 → Drop unsupported go version 1.10 → https://git.io/fjjEK
<sphalerite> hyper_ch2: didn't you have a web ui or something? Or was it just the stuff we did together, with the spicejs thing?
<hyper_ch2> sphalerite: yeah, it's in the wiki
<sphalerite> hyper_ch2: cool, thanks!
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68144 → Switch my qt packages to qt-specific mkDerivation → https://git.io/fjjY6
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/fjjE1
<{^_^}> [nixpkgs] @adisbladis opened pull request #68195 → Drop unsupported go version 1.11 → https://git.io/fjjEM
knupfer has quit [Ping timeout: 264 seconds]
ng0 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #68196 → rl-1909: make services.gnome3 links sensible → https://git.io/fjjE5
abbiya has quit [Quit: abbiya]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67280 → fortune: 2.6.2 -> 2.10.0, use official tarball → https://git.io/fjNOS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjjEb
boxdot1 has quit [Quit: Leaving.]
sb0 has quit [Quit: Leaving]
qubasa has quit [Ping timeout: 245 seconds]
philr has joined #nixos
qubasa has joined #nixos
<blitzclone_> infinisil: regarding the node2nix issue: I'm using nodePackages.node2nix. This gives me 1.6.0. There seems to be 1.7.0, but I'm not sure where it comes from
o1lo01ol1o has quit [Remote host closed the connection]
<infinisil> blitzclone_: Are you not using the generate.sh script?
<blitzclone_> yes, I am
<blitzclone_> it uses nodePackages.node2nix as dependency
__monty__ has joined #nixos
vonfry has joined #nixos
shabius has quit [Remote host closed the connection]
veske2 has quit [Read error: Connection reset by peer]
shabius has joined #nixos
<vonfry> Does someone use parallels desktop to run nixos on macos? How to run the new version of prl-tools on 19.03? I try to update the scripts in nixpkgs for prl-tools, and now it can be built but run failed.
shabius has quit [Max SendQ exceeded]
veske2 has joined #nixos
dasj19 has quit [Quit: dasj19]
ng0 has quit [Remote host closed the connection]
vonfry has quit [Quit: WeeChat 2.5]
ng0 has joined #nixos
veske3 has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #68177 → [19.03] signal-desktop: 1.26.2 -> 1.27.1 (backport) → https://git.io/fjjCZ
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.03: https://git.io/fjjuC
civodul has joined #nixos
veske2 has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
alex`` has joined #nixos
sigmundv has joined #nixos
o1lo01ol1o has joined #nixos
emptyfl4sk has joined #nixos
hc has quit [Ping timeout: 245 seconds]
hc has joined #nixos
emptyfl4sk has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
orivej has joined #nixos
dasj19 has joined #nixos
vika_nezrimaya has joined #nixos
o1lo01ol1o has joined #nixos
vika_nezrimaya has quit [Client Quit]
<{^_^}> [nixpkgs] @jtojnar merged pull request #68196 → rl-1909: make services.gnome3 links sensible → https://git.io/fjjE5
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fjjze
philr has quit [Quit: WeeChat 2.5]
<colemickens> worldofpeace: hey, just wanted to say thank you - you've been reviewing many of my PRs lately and giving advice/fixes and I appreciate that :) Cheers
<worldofpeace> colemickens: thanks, and thank you too 😃 My idea is to make a culture around real helpfulness without any harshness that open source communities can have. So something pretty tender we can all share in and capitalize off of. I'm glad it has reached you ✨
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #68197 → nixos/doc/manual: Fix Makefile → https://git.io/fjjzI
<eyJhb> If I run e.g. Plex in a NixOS container, is there any simple way of opening the ports, like if it did not run in a container, I could use 'services.plex.openFirewall'?
dasj19 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @roberth merged pull request #68007 → clipp: init at 1.2.3 → https://git.io/fjphX
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fjjzt
<etu> eyJhb: you can use the regular firewall thingys, but if it's web stuff I would consider having ngnix as a proxy in front and have a hostname to send it to the right container
<manveru> eyJhb: i think that's still done with firewall.extraCommands
ericsagnes has quit [Ping timeout: 264 seconds]
<adisbladis> etu++
<{^_^}> etu's karma got increased to 11
<manveru> looks simpler :)
<{^_^}> [nixpkgs] @roberth merged pull request #68006 → megacli: requireFile -> fetchurl → https://git.io/fjph6
<{^_^}> [nixpkgs] @roberth pushed 2 commits to master: https://git.io/fjjzY
<adisbladis> Stick an nginx in front of it
<adisbladis> It's just a few lines of nix :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8b8b4abd55f (from 82 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<eyJhb> I would have hoped `containers.<name>.forwardPorts` did it, but that seems like host->guest. But it is more of, could the openFirewall be reused?
<adisbladis> As a nice bonus you'll get letsencrypt tls
<eyJhb> That
<eyJhb> Looks
<eyJhb> Awesome
<manveru> hehe
<eyJhb> But need to test how well plex.tv reacts to that... :p So the standard is, that host -> container communcation works fine? Or? Because shouldn't the ports still be forwarded from container to host?
<manveru> afaik you still need the NAT
ixxie has quit [Ping timeout: 246 seconds]
<eyJhb> manveru: the answer specifies, that you can use "forwardPorts", but it just says, "from host to container", so it seems one way, and in the wrong direction
<eyJhb> BUt it might just be worded badly
Zer0xp has quit [Ping timeout: 244 seconds]
<manveru> well, the container has a different IP, if you know the IP you could put that into nginx config as well and it'd work
chr15 has quit [Ping timeout: 250 seconds]
<manveru> if you want to make the container appear as a normal port on localhost, you need the forwarding
<manveru> at least that's my understanding
noudle has joined #nixos
<manveru> the config of adisbladis doesn't look like it's using containers
<eyJhb> Guess I have to try when I get the time
<infinisil> blitzclone_: Ah damn, the generate script doesn't pin nixpkgs
<infinisil> Meaning it uses whatever nixpkgs you're using on your system, not the one in the nixpkgs you're editing
<elvishjerricco> Can you boot a `nesting.clone` config from grub?
<{^_^}> #45345 (by vmandela, 1 year ago, merged): nixos/install-grub: include child configs in grub menu
judson_ has quit [Ping timeout: 264 seconds]
<eyJhb> adisbladis: actually, it won't work, seeing as I don't serve the page on port '80'
<elvishjerricco> Oh yay. That might make one of my crazier projects a little less crazy and more useful
judson_ has joined #nixos
ericsagnes has joined #nixos
<elvishjerricco> Rather than having multiple different nixos installs, I can just have my main config have an alternate version with the minor tweaks I need. Namely the stuff for a VFIO VM on my only GPU. Currently the second system is bare bones so my file servers and stuff go down when I want to game on Windows.
<infinisil> Neat
ixxie has joined #nixos
<blitzclone_> infinisil: but even in nixpkgs I only get 1.6.0. There is 1.7.0. If I install this manually, I get changes in pkgs/development/node-packages/node-env.nix. but that actually works
<blitzclone_> I'm confused ;)
<infinisil> Huh
jtojnar has quit [Remote host closed the connection]
<blitzclone_> ah, the generate script defaults to nodejs 6
<blitzclone_> which is probably not helpful
jtojnar has joined #nixos
<blitzclone_> I'm such a n00b with this node.js stuff... sorry for the noise
<{^_^}> [nixpkgs] @doronbehar opened pull request #68198 → tinc: 1.0.36 -> 1.0.35 → https://git.io/fjjz2
hax404 has quit [Ping timeout: 264 seconds]
<worldofpeace> infinisil: didn't realize there were directives from peterix. https://minecraft.gamepedia.com/Petr_Mr%C3%A1zek working on the launcher for linux so pretty much the prefect person :)
<{^_^}> [nixpkgs] @marsam merged pull request #68186 → procs: 0.8.5 -> 0.8.9 → https://git.io/fjj4H
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjjzw
iyzsong has joined #nixos
<infinisil> worldofpeace: Oh nice! I just noticed he's from mojang but didn't know he worked on that specifically
<worldofpeace> infinisil: Right. I usually have to verify people's credentials somehow before I can take their word for it. Good nonetheless because I don't think there'd be a good way to resolve the issue without a correspondence from someone internally.
bnh^ has quit []
iyzsong has quit [Remote host closed the connection]
<infinisil> Yeah.. no fixed url for the .deb, no fixed url for the icon, possibly can't distribute the item by embedding into nixpkgs either..
psyanticy has joined #nixos
iyzsong has joined #nixos
tmaekawa has joined #nixos
Fare has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #68200 → pdfcpu: 0.2.3 -> 0.2.4 → https://git.io/fjjzM
tsrt^ has joined #nixos
xkapastel has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #68201 → luarocks: 3.1.3 -> 3.2.1 → https://git.io/fjjgT
boxdot has joined #nixos
o1lo01ol1o has joined #nixos
civodul has quit [Read error: Connection reset by peer]
<savanni> worldofpeace: why symlinkJoin instead of buildEnv? buildEnv has basically no documentation, so are we intended to not be using it? I'd encountered a comment I think on the discourse, indicating that it was commonly used in adding configurations to derivations, but the examples I found in nixpkgs weren't quite clear.
<worldofpeace> savanni: fuzzy search for wrapper.nix for examples maybe. some of which I've authored so It's just how I do it. Usually I find `buildEnv` is more for joining multiple things, I'm not sure if they're really different.
civodul has joined #nixos
hax404 has joined #nixos
<savanni> It does sound like the two are very similar. I'm using buildEnv right now primarily in setting up my shell environment in config.nix.
tmaekawa has quit [Quit: tmaekawa]
<{^_^}> [nixpkgs] @vbgl merged pull request #67764 → coqPackages.stdpp: 1.1 -> 1.2.1; coqPackages.iris: 3.1.0 -> 3.2.0 → https://git.io/fjxSM
<{^_^}> [nixpkgs] @vbgl pushed to master « coqPackages.stdpp: 1.1 -> 1.2.1; coqPackages.iris: 3.1.0 -> 3.2.0 »: https://git.io/fjjgR
<worldofpeace> It seems that symlinkJoin is defined in trivial-builders, and it looks pretty simple. buildEnv looks a bit more complex. but the comments say they pretty much do the same thing.
<worldofpeace> so typical duplication maybe.
mounty has quit [Read error: Connection reset by peer]
pingveno has quit [Ping timeout: 245 seconds]
mounty has joined #nixos
veske3 has quit [Ping timeout: 268 seconds]
<worldofpeace> oh and you can control buildEnv more
pingveno has joined #nixos
barrett has joined #nixos
<hc> win 32
Ariakenom has quit [Ping timeout: 258 seconds]
Ariakenom has joined #nixos
<wedens> back to my cache on ssd question, is it possible/feasible to copy current generation closure to ssd and symlink currernt generation to this copied closure?
<infinisil> wedens: Nix probably doesn't care where your symlinks in /nix/var/nix/profiles go, so yeah that might wokr
<{^_^}> [nixpkgs] @domenkozar merged pull request #68197 → nixos/doc/manual: Fix Makefile → https://git.io/fjjzI
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/fjjg1
BlessJah1 has quit [Ping timeout: 246 seconds]
emptyfl4sk has joined #nixos
zupo has joined #nixos
emptyfl4sk has quit [Ping timeout: 244 seconds]
zupo has quit [Ping timeout: 258 seconds]
Fare has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken Haskell builds »: https://git.io/fjj2m
johanot has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken Haskell builds »: https://git.io/fjj23
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjj2G
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fjj2W
domenkozar[m] has joined #nixos
domenkozar[m] has quit [Changing host]
Makaveli7 has quit [Quit: WeeChat 2.5]
<Notkea[m]> hello, I have a question regarding embargoed security updates. Is NixOS receiving those?
<{^_^}> [nixpkgs] @FRidh merged pull request #68184 → waf: 2.0.15 -> 2.0.18 → https://git.io/fjj8o
<{^_^}> [nixpkgs] @FRidh pushed commit from @bhipple to staging « waf: 2.0.15 -> 2.0.18 »: https://git.io/fjj2u
selfsymmetric-pa has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #62592 → waf: 2.0.15 -> 2.0.18 → https://git.io/fjESy
evanjs| has joined #nixos
<alexarice[m]> anyone know if it's possible to make a font available to a program, would adding the package to PATH be sufficient?
<infinisil> That most certainly won't do anything, because PATH is for binaries
<infinisil> alexarice[m]: https://nixos.wiki/wiki/Fonts
<alexarice[m]> that's what I suspected
Fare has joined #nixos
<alexarice[m]> thanks for the link
<alexarice[m]> infinisil: The link is all about installing fonts system wide, is there no way to supply a font to one program without access to the system configurationL
<exarkun> having nixos / stack / C library problems: https://stackoverflow.com/questions/57822288/how-do-i-supply-a-c-library-to-stack-on-nixos - anyone have any ideas? seems kind of basic...
<manveru> alexarice[m]: unless there's some magic environment variable that fontconfig picks up... probably not
<manveru> oh, there is FC_CONFIG_FILE i see
<manveru> so, you could write your own fontconfig file with the location to the font
<manveru> i guess that will hide all other fonts on the system though, but worth a try :)
<{^_^}> [nixpkgs] @FRidh opened pull request #68203 → Staging next → https://git.io/fjj2X
<{^_^}> [nixpkgs] @MP2E merged pull request #68132 → discord-ptb: 0.0.15 -> 0.0.16 → https://git.io/fjjUV
<{^_^}> [nixpkgs] @MP2E pushed commit from @shyim to master « discord-ptb: 0.0.15 -> 0.0.16 »: https://git.io/fjj2M
<{^_^}> [nixpkgs] @pacien opened pull request #68204 → [security] exim: 4.92.1 -> 4.92.2 → https://git.io/fjj29
<{^_^}> [nixpkgs] @pacien opened pull request #68205 → [19.03] [security] exim: 4.92 -> 4.92.2 → https://git.io/fjj2H
<Notkea[m]> security update for exim ^
FRidh has joined #nixos
selfsymmetric-pa has quit [Ping timeout: 264 seconds]
emptyfl4sk has joined #nixos
<alexarice[m]> manveru: Thanks, i'll look into it
<alexarice[m]> infinsil++ manveru++
<{^_^}> manveru's karma got increased to 27
<alexarice[m]> infinisil++
<{^_^}> infinisil's karma got increased to 137
<manveru> alexarice[m]: if everything fails, there's always https://cafbit.com/post/forcing_gnome_terminal_to_use/ :)
<alexarice[m]> I'm just trying to get my emacs to not depend on my system configuration at all. Perhaps there is an emacs setting on where to look for fonts
<manveru> but the normal convention for nixpkgs would be, i think, to add a `programs.<name>.enable` option that puts the right font in your `fonts.fonts`
dasj19 has joined #nixos
<manveru> uh... yeah, good luck with that...
<exarkun> apparently I just failed at reading stack docs last night...
<manveru> i've had my fair share of font issues with emacs recently :P
emptyfl4sk has quit [Ping timeout: 246 seconds]
<alexarice[m]> one day I'll get a unicode font to work
<manveru> i just fixed that issue
<manveru> otherwise i had to manually switch fonts depending on what language i work on...
<alexarice[m]> manveru: thanks for the help
npmccallum has joined #nixos
tsrt^ has quit [Ping timeout: 258 seconds]
<DariusTh`> I have a Haskell package which marked as broken in unstable but when I build it with allowBroken = true; builds with no problems
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<betaboon> in nixos-installer-tests: why is the system started in bios-mode prior to installing the bootloader even for tests that should use EFI ?
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<worldofpeace> hey infinisil. Do you have any opinions on the issue I'm having with option namespacing in #67585 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/67585 (by worldofpeace, 1 week ago, open): nixos/system-config-printer: init
Ariakenom has quit [Ping timeout: 268 seconds]
<multun> Is there anything anybody can do to fix the unstable channel :/ ? It hasn't been updated for 4 days and the current active revision has some major issues
<worldofpeace> pretty much it's internally used as a "service" but we still need an option that works differently as a "program". I suggested (to myself) to do this https://github.com/NixOS/nixpkgs/pull/67585#issuecomment-526959271
<worldofpeace> frequently, because how I'm getting how the nixos option interface is. I'm making pretty dummy options just so it looks pretty.
<infinisil> worldofpeace: Hm I feel like the ones in programs.* are often very simple things for adding support for programs, whereas services.* usually have a bunch of additional options for configuring it or so
<infinisil> Just based on that programs.* sounds better for this, but yeah the distinction isn't very clear in this case
<{^_^}> [nixpkgs] @FRidh pushed 9 commits to staging: https://git.io/fjjaG
<{^_^}> [nixpkgs] @FRidh closed pull request #64997 → Split buildPythonPackage into setup hooks → https://git.io/fj1u9
veske has joined #nixos
<worldofpeace> infinisil: don't look at any of the gnome modules then because the services are just one option :P. in particular here, the only think we have to do for it too be used as a program is all the config for the service and just dropping it in systemPackages.
<infinisil> Hehe
<infinisil> Hm maybe services then
<worldofpeace> and just a suboption of sorts?
<{^_^}> [nixpkgs] @FRidh closed pull request #67734 → python: pip 19.1.1 -> 19.2.3 → https://git.io/fjx6T
<infinisil> Although, "program" is really the thing it's about, we configure the program as a service and for the user environment
<infinisil> So that's like a superset of "services"
<infinisil> If we were to restructure nixpkgs into not differentiating between the two, we'd have to choose "program" as the name
<infinisil> On the other hand, people might not expect program.* to enable services
<{^_^}> [nixpkgs] @FRidh merged pull request #68170 → [staging]pythonPackages.setuptools_scm: 3.2.0 -> 3.3.3 → https://git.io/fjjnK
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to staging « pythonPackages.setuptools_scm: 3.2.0 -> 3.3.3 »: https://git.io/fjjaC
<infinisil> Not sure, maybe we need an RFC for option restructuring :P
<{^_^}> [nixpkgs] @adisbladis opened pull request #68207 → elasticsearch5/kibana5/beats5: Remove EOL packages → https://git.io/fjja8
<worldofpeace> I have a hard time with the `program` interface because I feel like it really just boils down to interactive applications IMHO that require more setup
<infinisil> Yeah it's used like that currently, but the term "program" really doesn't mean that specifically
<infinisil> Maybe the current programs.* should be applications.*
Guillaum has quit [Ping timeout: 245 seconds]
selfsymmetric-pa has joined #nixos
<worldofpeace> infinisil: I'd really like to do an RFC on option restructuring. Like a nice redesign of the interface and that's documented.
<infinisil> I feel like there's a fundamental problem about how options can't be assigned a single category
chloekek has joined #nixos
<infinisil> I wonder if NixOS options could be based on a tag-like system
<worldofpeace> Well one thing is that certain programs need this special setup for like dbus, systemd, etc. This is nice, but I really expect for when a program is just going to be globally installed to just work. not sure if that's a popular or pure opinion though
<infinisil> Ah you mean like, add it to environment.systemPackages, and it would somehow pull in the necessary nixos configuration automatically?
<{^_^}> [nixpkgs] @ryantm pushed 0 commits to cve: https://git.io/fjjag
<marius851000[m]> I have a nix derivation and I want to know it's path in the nix store (like derivation {...} -> "/nix/store/*/"). How should I do ?
<infinisil> (I'd find that neat)
<worldofpeace> we'd need some really special stuff in nix directly for this infinisil
<worldofpeace> (for desktop applications it'd look similar, maybe better, to what's done in flatpak)
<infinisil> worldofpeace: I think it wouldn't be very hard actually, each package could define e.g. passthru.nixosModule = { lib, ... }: { ... }
<infinisil> Oh
Guillaum has joined #nixos
<infinisil> Yeah no that wouldn't work
<{^_^}> [nixpkgs] @FRidh merged pull request #67066 → python37Packages.loguru: 0.3.1 -> 0.3.2 → https://git.io/fjbIc
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python37Packages.loguru: 0.3.1 -> 0.3.2 »: https://git.io/fjjaV
<infinisil> I was gonna say "Then go through each entry in systemPackages and include the modules if they exist"
<infinisil> But that will give infinite recursion because of how the module system works
<worldofpeace> I think I discussed in the past playing with stuff that packaged could define what dbus interfaces they need with passthru. But I think in the end it'd be a feature i'd like in nix if that sounds crazy
<worldofpeace> infinisil: currently packages installed to systemPackages do get added to the dbus config automatic but we could do much better for like everything else
<infinisil> marius851000[m]: In nix code?
<marius851000[m]> infinisil: yes (that's a fixed hash derivation)
Fare has quit [Ping timeout: 252 seconds]
<marius851000[m]> so I can do somthing like home.path."a/path.png" = pkgs.fetchurl {...}
<infinisil> marius851000[m]: You want to know this even though it breaks purity?
<marius851000[m]> It break purity ?
<infinisil> marius851000[m]: Ahh I misread your question
<infinisil> marius851000[m]: To get the output path of a derivation you can just look at the outPath attribute
<clever> > let drv = stdenv.mkDerivation { name = "foo"; }; in "${drv}"
<{^_^}> "/nix/store/6gsva05fg8kyv85dhiihhdlblf39lb4q-foo"
<infinisil> Or do that which does the same ^
<clever> marius851000[m]: also, you can treat any derivation as a string, which gets the outPath
<marius851000[m]> ok. Thanks
<infinisil> marius851000[m]: And actually just `home.path."a/path.png".source = pkgs.fetchurl { ... }` should work
<marius851000[m]> infinisil: It doesn't
<infinisil> Damnit
dansho has joined #nixos
ddellacosta has joined #nixos
<clever> marius851000[m]: why doesnt it work?
<clever> what error did it give?
<marius851000[m]> @clev
<marius851000[m]> clever: alue is a function while a set was expected, at /home/marius/.config/nixpkgs/imagemix.nix:76:12
<marius851000[m]> * @freenode_clever:matrix.org: value is a function while a set was expected, at /home/marius/.config/nixpkgs/imagemix.nix:76:12
<DariusTh`> Is nix-shell -E 'with import <nixpkgs> ... the same as nix-shell -p ...?
<clever> marius851000[m]: can you paste the entire imagemix.nix file?
<clever> DariusTh`: -p will generate a drv, that has everything listed under buildInputs
<infinisil> clever: marius851000[m]: Ah, home-manager does something fancy: https://github.com/rycee/home-manager/blob/05d91c5f50ba37f7ee31ce533d533ee84aafe676/modules/files.nix#L17-L24
<DariusTh`> If I use ghci with shells created by both then in one case modules from the imported package are available but not in the other
<clever> DariusTh`: can you paste the full command that doesnt work?
<DariusTh`> clever: it would be a pleasure
Ariakenom has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
ddellacosta has quit [Ping timeout: 245 seconds]
<marius851000[m]> clever: Here is my code: https://gist.github.com/marius851000/e59562520fa730c1aad3ce81769d083b (the problem is with DOTDIs in imagemix.nix)
<clever> DariusTh`: you didnt put ghcWithPackages into the buildInputs of something
<clever> DariusTh`: that is a shell suitable for creating ghcWithPackages, not using it
<clever> 2019-09-06 10:38:19 < clever> DariusTh`: -p will generate a drv, that has everything listed under buildInputs
<clever> DariusTh`: you need to add a stdenv.mkDerivation { name = "name"; buildInputs = [ (ghcWithPackages ...) ]; }
<clever> marius851000[m]: your problem is on line 1
<clever> marius851000[m]: you have pkgs ? import <nixpkgs>
<clever> marius851000[m]: that is a function, not a set, so you cant do pkgs.fetchurl
selfsymmetric-pa has quit [Remote host closed the connection]
<marius851000[m]> clever: Ok, will try to find how to solve this (maybe pkgs.callPackage)
<clever> marius851000[m]: pkgs.callPackage will fail the same way, pkgs if a function, not a set
<clever> marius851000[m]: you want import <nixpkgs> {}
<marius851000[m]> clever: ok, thanks
<marius851000[m]> clever: It work
mexisme has quit [Ping timeout: 264 seconds]
<DariusTh`> clever: :thumbsup:
<hyper_ch2> sphalerite: going to set up spice access?
<rycee> marius851000: I would suggest changing the import line to `images = import ./imagemix.nix { inherit pkgs; };`
<rycee> Otherwise you'll be reevaluating Nixpkgs and also lose any overlays and such that have been applied.
selfsymmetric-pa has joined #nixos
fendor has joined #nixos
<marius851000[m]> rycee: thanks
ddellacosta has joined #nixos
drakonis has joined #nixos
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #68188 → eksctl: 0.5.0 -> 0.5.1 → https://git.io/fjjB0
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjjVI
Jackneill has quit [Ping timeout: 245 seconds]
veske has quit [Ping timeout: 244 seconds]
<alexarice[m]> manveru: with the unicode fonts did you find a package for quivira?
<manveru> no, i didn't need it
<manveru> most using it for japanese
<manveru> *mostly
<clever> manveru: thats usually in a CJK font package
<manveru> clever: yes, but they look mostly crappy for code
<clever> 166 fonts = {
<clever> 170 fonts = [ pkgs.unifont pkgs.noto-fonts-cjk ];
<clever> thats what ive been using
tejok[m] has joined #nixos
<manveru> i wanted to have 3 different fonts basically
<manveru> and yeah, the `fonts.fonts` works for pretty much all other programs, but not graphical emacs :P
dasj19 has quit [Quit: dasj19]
Jackneill has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #68208 → Bump elasticsearch 6/7 versions → https://git.io/fjjVC
Guillaum has quit [Ping timeout: 244 seconds]
cartwright has quit [Remote host closed the connection]
Guillaum has joined #nixos
cartwright has joined #nixos
<worldofpeace> I'm not sure why, but it just seems best. In the end a minor detail.
asymptotically has quit [Quit: Leaving]
drakonis has quit [Read error: Connection reset by peer]
pie_ has joined #nixos
iyzsong has quit [Ping timeout: 258 seconds]
v88m has joined #nixos
<exarkun> dang, annoying, stack wants to rebuild Haskell stripe-core any time I change the derivation for a native library that a *different* Haskell library depends on...
<{^_^}> [nixpkgs] @adisbladis merged pull request #68207 → elasticsearch5/kibana5/beats5: Remove EOL packages → https://git.io/fjja8
<{^_^}> [nixpkgs] @adisbladis pushed 8 commits to master: https://git.io/fjjVy
emptyflask has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/609fe21661d (from 24 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
hc has quit [Ping timeout: 245 seconds]
<jonreeve[m]> Hey if I'm trying to factor out some of my config into modules, is there a way I can get access to the variables from the parent config?
<eraserhd> jonreeve[m]: do you mean options? Or do you mean let bindings in the caller?
<jonreeve[m]> Let bindings
<clever> jonreeve[m]: not possible, but you can define your own options, and then just set them like any other option
<tejok[m]> hey there, when trying to upgrade I'm getting `The fork "dmenu2" is not maintained by upstream anymore. Please use the
<tejok[m]> original "dmenu" instead.`, then when I try to switch to `dmenu` I get an error telling me the package is broken... is there anybody here that did face similar issue? no more dmenu ☹️ ?
<alexarice[m]> manveru: fonts.fonts seems to work fine for my emacs, anyway thanks for the help, I at least have some unicode now, even if it looks horrific
<jonreeve[m]> Oh nice. How can I do that? It's only just stuff like my email address that I'm putting in a lot of configs
Okinan has joined #nixos
<clever> jonreeve[m]: this is the config for my vim, and it also defines a programs.vim.fat option, that controls if my vim config should include some heavy deps
<clever> jonreeve[m]: i can then just programs.vim.fat = false; to trim the fat
<manveru> alexarice[m]: yeah, i think it must be some issue with spacemacs that only sets a single font at startup
<manveru> alexarice[m]: anw, good it works :)
<jonreeve[m]> Awesome, thanks!
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 49 commits to staging-next: https://git.io/fjjwW
<{^_^}> [nixpkgs] @jtojnar pushed 50 commits to staging: https://git.io/fjjwl
<{^_^}> [nixpkgs] @ivan opened pull request #68210 → nixos/railcar: remove use of the deprecated string type → https://git.io/fjjwB
Tucky has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @bergey opened pull request #68211 → update arduino to 1.8.9 → https://git.io/fjjwR
chloekek has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @vcunat pushed to release-19.03 « thunderbird: 60.8.0 -> 60.9.0 »: https://git.io/fjjwu
endformationage has joined #nixos
selfsymmetric-pa has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
boxscape has joined #nixos
emptyfl4sk has quit [Ping timeout: 258 seconds]
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to master: https://git.io/fjjwr
<worldofpeace> ,locate ead.service
<{^_^}> Found in packages: iwd
<worldofpeace> ,locate *ead.service
<{^_^}> Couldn't find in any packages
<{^_^}> [nixpkgs] @danieldk opened pull request #68212 → makemkv: 1.14.4 -> 1.14.5 → https://git.io/fjjw6
boxscape has quit [Remote host closed the connection]
boxscape has joined #nixos
nschoe has joined #nixos
schjetne has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @vcunat merged pull request #67754 → thunderbird, thunderbird-bin: 60.8.0 -> 68.0 → https://git.io/fjxD0
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @veprbl merged pull request #65726 → gildas: 20190701_a -> 20190901_a → https://git.io/fj9WE
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjjwX
<{^_^}> [nixpkgs] @vcunat pushed to master « qt5 on darwin: revert back to 5.11 »: https://git.io/fjjw9
<tjg1> is there a nixcon wiki
<adisbladis> tjg1: No there is not
<das_j> has anyone used node packages with native bindings?
<adisbladis> tjg1: What would you like to know?
<tjg1> looking for people to hitchhike with from vienna
<das_j> because it seems like they are missing
Blessjah has joined #nixos
<manveru> tjg1: not taking the bus?
<adisbladis> tjg1: I seem to remember there was a discourse thread
<tjg1> manveru: i like hitchhiking
<manveru> :)
<manveru> it's like hitchhiking... just larger, and paid :P
<adisbladis> tjg1: Btw, try asking in #nixcon
<adisbladis> It's less noisy than here
<tjg1> ok
<adisbladis> But discourse is probably your best bet
o1lo01ol1o has quit [Remote host closed the connection]
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 6 commits to haskell-updates: https://git.io/fjjrv
the-kenny-w has quit [Quit: WeeChat 2.5]
<{^_^}> [nixpkgs] @peti pushed 6 commits to master: https://git.io/fjjrf
the-kenny has joined #nixos
Ariakenom has quit [Remote host closed the connection]
jgeerds has joined #nixos
v88m has quit [Ping timeout: 245 seconds]
spacekookie_ has joined #nixos
sorbits has joined #nixos
allan has quit [Ping timeout: 244 seconds]
pbogdan has quit [Ping timeout: 244 seconds]
unacceptable has quit [Ping timeout: 244 seconds]
mog- has joined #nixos
drgbr has quit [Ping timeout: 244 seconds]
drgbr has joined #nixos
spacekookie has quit [Ping timeout: 244 seconds]
ciil has quit [Ping timeout: 244 seconds]
globin has quit [Ping timeout: 244 seconds]
hyper_ch has quit [Ping timeout: 244 seconds]
kmein has quit [Ping timeout: 244 seconds]
migy has quit [Ping timeout: 244 seconds]
xqsl has quit [Ping timeout: 244 seconds]
DerGuteMoritz has quit [Ping timeout: 244 seconds]
duckfullstop has quit [Ping timeout: 244 seconds]
IooNag has quit [Ping timeout: 244 seconds]
pbogdan has joined #nixos
ciil has joined #nixos
globin has joined #nixos
hyper_ch has joined #nixos
kmein has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #68213 → nixos/iwd: add tmpfiles rule for ead service → https://git.io/fjjrt
mog has quit [Read error: Connection reset by peer]
mog- is now known as mog
acceptable has joined #nixos
xqsl has joined #nixos
IooNag has joined #nixos
duckfullstop has joined #nixos
DerGuteMoritz has joined #nixos
migy has joined #nixos
<{^_^}> [nixpkgs] @Infinisil merged pull request #68210 → nixos/railcar: remove use of the deprecated string type → https://git.io/fjjwB
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjjrZ
ixxie has quit [Ping timeout: 245 seconds]
fendor has quit [Quit: Leaving]
dasj19 has joined #nixos
zajko has joined #nixos
<zajko> my .config/nixpkgs/config.nix contains "{ allowUnfree = true; allowBroken = true; }" ... how can I parse this? like, can I parse this, see if allowUnfree is there, if not, add it there and get an ouput?
<zajko> I need this from script
<zajko> something like jq command if it would be json
<clever> $ nix-instantiate ~/.nixpkgs/config.nix --eval -A allowUnfree
<clever> true
<zajko> and how to add into the atribute set if ti's not here
<zajko> I would not like to do echo >> as that's ugly
<clever> zajko: you would need to edit it manually, theres not really an automated way to do it yet
<zajko> just checking if allowUnfree exists, if not add it and return the whole expression
<zajko> yeah, need it for scripting
<clever> but you can just ignore config.nix entirely
<zajko> what I want to do is to setup unfree for users
<zajko> so I will put it in bashrc
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<clever> nix-build '<nixpkgs>' -A hello --arg config '{ allowUnfree = true; }'
<zajko> sadly I did not find any other way :(
<infinisil> Ehh, you want to force allowUnfree into users configs? ://
<clever> this will just ignore config.nix entirely, and always use the value you give it
<zajko> infinisil: yes
<clever> so the user can choose for himself, for most things, but the script will have its own choice
<zajko> at work we are giving desktop to users and I want to make sure this is enable for them
<zajko> without having to do it manually
<infinisil> And you use unfree software at work?
<zajko> yes, we do
<{^_^}> [nixpkgs] @jb55 closed pull request #47891 → Trezor GPG agent → https://git.io/fxYrz
<infinisil> If you are configuring the desktop from scratch, then can't you assume that config.nix is empty initially?
<clever> zajko: you could just modify your nix exprs to ignore the users config.nix file
<zajko> clever: you mean system wide? how so?
<clever> zajko: in the nix file that is loading unfree software, you can just set allowUnfree = true;
<zajko> oh, they want to use nix-env -iA
wfranzini has quit [Remote host closed the connection]
<clever> with import <nixpkgs> { config.allowUnfree = true; };
<zajko> from nixpkgs directly, for stuff like spotify or opera
<clever> and you cant just have thst installed by default for them, via configuration.nix?
<zajko> yeah, I want them to have the freenode to install it only if they want to
<zajko> but I guess it's pretty complicated :/
<clever> one other option
<clever> $ echo $NIXPKGS_CONFIG
<clever> /etc/nix/nixpkgs-config.nix
<clever> if this file exists, then nixpkgs will entirely ignore config.nix in $HOME
<infinisil> zajko: As I said, if you set up the computer, config.nix is probably gonna be empty, you can just write to config.nix a new string like { allowUnfree = true; }
<clever> but thats just going to cause more confusion? when config.nix doesnt do anything
<zajko> infinisil: you are probably right, I will probably create some sort of lock file or input a special string :/
<zajko> kinda ugly but it will do
<infinisil> Huh what lock file/special string?
<zajko> like at bashrc if "mystringisthere" do nothing, if not, create allowUnfree
<clever> zajko: how about a simple if file doesnt exist, create it with this string
<infinisil> I'm saying just do `echo '{ allowUnfree = true; }' > ~/.config/nixpkgs/config.nix`
<zajko> ah right, so that file is not there from skel?
<zajko> sorry I thought it was
<infinisil> Nope it's not there indeed :)
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.ocaml_lwt: 4.1.0 -> 4.2.1 »: https://git.io/fjjrx
<{^_^}> [nixpkgs] @vbgl merged pull request #67816 → ocamlPackages.ocaml_lwt: 4.1.0 -> 4.2.1 → https://git.io/fjpef
<zajko> ooooh thankyou!
<infinisil> clever: I'm wondering about having a system-level config in /etc/nixpkgs/config.nix
<infinisil> And then it could merge it with the user-level one
<zajko> that would be awesome
zajko has quit [Remote host closed the connection]
<infinisil> Which would be easy with #56227 probably
<{^_^}> https://github.com/NixOS/nixpkgs/pull/56227 (by oxij, 27 weeks ago, open): Typed `nixpkgs.config` with Gentoo-like use-flags
<clever> infinisil: without typing, you would just have to // things together
<clever> your only setting a single top-level key, so merging it easy
<infinisil> clever: Actually config gets merged on the NixOS level already
spacekookie_ is now known as spacekookie
<infinisil> The merge function up to recently didn't handle recursive attrs though, so above issue was reported
fresheyeball has joined #nixos
<infinisil> I'd really like a typed config though
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67585 → nixos/system-config-printer: init → https://git.io/fjAAF
<{^_^}> [nixpkgs] @worldofpeace pushed 9 commits to master: https://git.io/fjjrj
<fresheyeball> so I am trying to get my build box to serve its nix-store to my workstation and not having much luck
<fresheyeball> I generated keys
<fresheyeball> told the nix store to sign everything with the private key
phreedom_ has joined #nixos
<fresheyeball> added the private key as the secret-key-file
<clever> $ nix path-info /nix/store/4nlyyzbl1r1vr4jiqlnl134w5xpznh34-binutils-wrapper-2.30 --sigs
<clever> /nix/store/4nlyyzbl1r1vr4jiqlnl134w5xpznh34-binutils-wrapper-2.30 hydra.iohk.io:WpdhvMryCHyb9DmUYOwfvdWePPK7mwYtZb8pUPGewpTBw0rEByfL9334c1VPM9uMu03CUa886Fc5XBFY7w2xCA==
<fresheyeball> turned on sshServe
<clever> fresheyeball: run this, on a path that is failing to copy, what signatures are on it?
phreedom has quit [Ping timeout: 260 seconds]
krgn has joined #nixos
<fresheyeball> clever: the path-info one?
<clever> fresheyeball: yeah
<boxdot> Has anyone tried ccache for local development with nix? I am just curious. I have a working setup, but obviously ccache does not cache that much since all flags contain ever changing hashes. :)
<fresheyeball> error: path '/nix/store/4nlyyzbl1r1vr4jiqlnl134w5xpznh34-binutils-wrapper-2.30' is not valid
<clever> fresheyeball: on a path that is failing to copy
<krgn> hi. I was wondering how I could set the default gcc package globally. there are some hints out there, and I tried replacing stdenv in packageOverrides with the output of stdenvAdapters.overrideCC but that didn't work
<fresheyeball> /nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir ultimate dunlap:bo/MN3Ci5mvY1VxIoH4EkFef3xhUJRa0keY0ArBEYSJi1zdvDIXHNgUY72n+60BZOFPQLx9nchCV4sz8A/NeCQ==
<fresheyeball> on the build box
<fresheyeball> error: path '/nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir' is not valid
<fresheyeball> on the workstation
<clever> fresheyeball: and on the other machine, what is in trusted-public-keys on nix.conf?
<{^_^}> [nixpkgs] @vbgl opened pull request #68214 → ocamlPackages.js_of_ocaml*: 3.3.0 -> 3.4.0 → https://git.io/fjjoJ
<fresheyeball> binaryCachePublicKeys = [
<fresheyeball> "dunlap:hNZjWyQWXRd6KHYdaEgYxsh2MgrsIErd33dPK3edDJA="
<fresheyeball> ];
<fresheyeball> trustedBinaryCaches = [
<fresheyeball> "ssh://isaac@192.168.1.10"
<fresheyeball> ];
<clever> fresheyeball: trustedBinaryCaches does almost nothing, it jsut allows untrusted users to opt-in
<clever> you want the other option
<fresheyeball> binaryCachePublicKeys = [
<fresheyeball> "dunlap:hNZjWyQWXRd6KHYdaEgYxsh2MgrsIErd33dPK3edDJA="
<fresheyeball> ];
<fresheyeball> binaryCaches = [
<fresheyeball> "ssh://isaac@192.168.1.10"
<fresheyeball> ];
<fresheyeball> this did not help
<fresheyeball> same problem
<clever> fresheyeball: what was the error message?
<fresheyeball> no error message
<fresheyeball> just did not pull from cache
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<fresheyeball> sudo nix ping-store --store ssh://isaac@192.168.1.10
<fresheyeball> gives no output
<fresheyeball> same for when I omit sudo
<clever> fresheyeball: find a path on one machine, and not another, preferably also not in the upstream cache (like `ls -l /run/current-system`) and then run `nix-store -r /nix/store/thatpath` on the other machine
<{^_^}> [nixpkgs] @abbradar opened pull request #68215 → [WIP] ZeroC Ice - update, add Python module, fix Murmur RC → https://git.io/fjjoq
<fresheyeball> clever: so the path I posted before
<fresheyeball> is on the build machine
<fresheyeball> but not on my workstation
<fresheyeball> it is created by running nix-build in my project
<fresheyeball> both machines have the project cloned and at the same git hash
<clever> fresheyeball: what happens if you run `nix-store -r /nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir` ?
<fresheyeball> warning: you did not specify '--add-root'; the result might be removed by the garbage collector
<fresheyeball> /nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir
<fresheyeball> ^^ on build machine
<clever> and on the other one?
provessor[m] has quit [Remote host closed the connection]
bikki[m]1 has quit [Remote host closed the connection]
Christian[m]5 has quit [Remote host closed the connection]
truby[m]1 has quit [Remote host closed the connection]
Tony[m]3 has quit [Remote host closed the connection]
cgm[m] has quit [Remote host closed the connection]
Gopal[m] has quit [Remote host closed the connection]
grahamc[m] has quit [Remote host closed the connection]
kxlljoyy[m] has quit [Remote host closed the connection]
jwaksbaum[m] has quit [Remote host closed the connection]
tobim[m] has quit [Remote host closed the connection]
fidgetspinoza[m] has quit [Remote host closed the connection]
jonreeve[m] has quit [Remote host closed the connection]
hackeryarn[m] has quit [Remote host closed the connection]
ZD[m] has quit [Remote host closed the connection]
arianvp[m] has quit [Remote host closed the connection]
peterhoeg[m] has quit [Remote host closed the connection]
mariusz-kowalski has quit [Remote host closed the connection]
corpix[m] has quit [Remote host closed the connection]
Diamaths[m] has quit [Remote host closed the connection]
worldofpeace has quit [Remote host closed the connection]
luftmensch[m] has quit [Remote host closed the connection]
MiloIgnis[m] has quit [Read error: Connection reset by peer]
NickHu has quit [Read error: Connection reset by peer]
hr[m] has quit [Read error: Connection reset by peer]
jak[m] has quit [Read error: Connection reset by peer]
spacekitteh[m] has quit [Read error: Connection reset by peer]
schmittlauch[m] has quit [Read error: Connection reset by peer]
Smith[m] has quit [Remote host closed the connection]
smolboye[m] has quit [Remote host closed the connection]
grim_reaper[m] has quit [Remote host closed the connection]
sputny[m] has quit [Remote host closed the connection]
eqyiel has quit [Remote host closed the connection]
y0x3y[m] has quit [Remote host closed the connection]
Dan[m]8 has quit [Remote host closed the connection]
groggy[m] has quit [Remote host closed the connection]
Yakulu[m] has quit [Remote host closed the connection]
alxev[m] has quit [Read error: Connection reset by peer]
NfixEstrada[m] has quit [Remote host closed the connection]
aterius has quit [Remote host closed the connection]
alienpirate5 has quit [Write error: Connection reset by peer]
ilya-fedin has quit [Remote host closed the connection]
bennofs[m] has quit [Read error: Connection reset by peer]
cornu has quit [Remote host closed the connection]
wangoe[m] has quit [Read error: Connection reset by peer]
Seb[m] has quit [Read error: Connection reset by peer]
LinuXit has quit [Read error: Connection reset by peer]
iceychris[m] has quit [Write error: Connection reset by peer]
ronny has quit [Read error: Connection reset by peer]
ptotter[m] has quit [Remote host closed the connection]
MilkManzJourDadd has quit [Read error: Connection reset by peer]
colemickens has quit [Write error: Connection reset by peer]
coniferous-cube[ has quit [Read error: Connection reset by peer]
frederic_chopwn[ has quit [Read error: Connection reset by peer]
escaP[m] has quit [Read error: Connection reset by peer]
joepie91[m] has quit [Read error: Connection reset by peer]
chuzz_ has quit [Read error: Connection reset by peer]
Thinkofname[m] has quit [Read error: Connection reset by peer]
weebull[m] has quit [Write error: Connection reset by peer]
fulgjon has quit [Read error: Connection reset by peer]
steshaw[m] has quit [Write error: Connection reset by peer]
manveru[m] has quit [Write error: Connection reset by peer]
regnat[m] has quit [Write error: Connection reset by peer]
yangm has quit [Read error: Connection reset by peer]
blitzclone_ has quit [Read error: Connection reset by peer]
zmlww[m] has quit [Write error: Connection reset by peer]
danielrf[m] has quit [Read error: Connection reset by peer]
bee[m]1 has quit [Read error: Connection reset by peer]
Noughtmare[m] has quit [Remote host closed the connection]
balsoft has quit [Remote host closed the connection]
MayeulC_backup has quit [Read error: Connection reset by peer]
momack2[m] has quit [Remote host closed the connection]
atopuzov[m] has quit [Write error: Connection reset by peer]
peel has quit [Remote host closed the connection]
klbrn[m] has quit [Remote host closed the connection]
AntonSchirg[m] has quit [Remote host closed the connection]
bnasty[m] has quit [Remote host closed the connection]
ck3d[m] has quit [Remote host closed the connection]
cab404[m] has quit [Remote host closed the connection]
info_supplicant[ has quit [Remote host closed the connection]
freddie_freeload has quit [Remote host closed the connection]
Brio[m] has quit [Read error: Connection reset by peer]
Ericson2314 has quit [Write error: Connection reset by peer]
slabity has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
codyopel has quit [Read error: Connection reset by peer]
das-g[m] has quit [Remote host closed the connection]
olejorgenb[m] has quit [Write error: Connection reset by peer]
rihardsk[m] has quit [Remote host closed the connection]
roberth has quit [Write error: Connection reset by peer]
musicmatze has quit [Write error: Connection reset by peer]
domenkozar[m] has quit [Read error: Connection reset by peer]
tejok[m] has quit [Write error: Connection reset by peer]
vdot0x23[m] has quit [Write error: Connection reset by peer]
mildred has quit [Write error: Connection reset by peer]
clacke[m] has quit [Read error: Connection reset by peer]
macerbi[m] has quit [Write error: Connection reset by peer]
neonfuz2 has quit [Write error: Connection reset by peer]
ninjatrappeur[m] has quit [Write error: Connection reset by peer]
abbradar[m] has quit [Read error: Connection reset by peer]
bikki[m] has quit [Write error: Connection reset by peer]
copy` has quit [Write error: Connection reset by peer]
MarkOtaris has quit [Write error: Connection reset by peer]
pingveno[m] has quit [Write error: Connection reset by peer]
arcnmx has quit [Write error: Connection reset by peer]
frislie[m] has quit [Write error: Connection reset by peer]
am3on[m] has quit [Write error: Connection reset by peer]
goibhniu has quit [Write error: Connection reset by peer]
ejpcmac has quit [Write error: Connection reset by peer]
Nyanloutre[m] has quit [Write error: Connection reset by peer]
Ox4A6F has quit [Write error: Connection reset by peer]
hiroshi[m] has quit [Write error: Connection reset by peer]
white_bluff[m] has quit [Write error: Connection reset by peer]
timokau[m] has quit [Write error: Connection reset by peer]
Vskilet has quit [Write error: Connection reset by peer]
Moredread[m] has quit [Write error: Connection reset by peer]
balsoft[m] has quit [Write error: Connection reset by peer]
RobinKroonen[m] has quit [Write error: Connection reset by peer]
isgy[m] has quit [Write error: Connection reset by peer]
Lisanna[m] has quit [Write error: Connection reset by peer]
rnhmjoj has quit [Remote host closed the connection]
HappyEnt[m] has quit [Remote host closed the connection]
fasd has quit [Remote host closed the connection]
flip[m]1 has quit [Remote host closed the connection]
kyleondy[m] has quit [Remote host closed the connection]
Woland[m] has quit [Remote host closed the connection]
anton-latukha[m] has quit [Remote host closed the connection]
divansantana has quit [Remote host closed the connection]
bohan[m] has quit [Read error: Connection reset by peer]
wrunt[m] has quit [Read error: Connection reset by peer]
TravisRt2botio[m has quit [Read error: Connection reset by peer]
nocent has quit [Read error: Connection reset by peer]
dtz has quit [Read error: Connection reset by peer]
yoho[m]1 has quit [Remote host closed the connection]
imj[m] has quit [Write error: Connection reset by peer]
abbafei[m] has quit [Remote host closed the connection]
sphalerit has quit [Read error: Connection reset by peer]
bbigras has quit [Remote host closed the connection]
roadt[m] has quit [Write error: Connection reset by peer]
rycee has quit [Read error: Connection reset by peer]
layus[m] has quit [Read error: Connection reset by peer]
otini has quit [Remote host closed the connection]
pachacuti[m] has quit [Read error: Connection reset by peer]
jonge[m] has quit [Write error: Connection reset by peer]
vvbb[m] has quit [Read error: Connection reset by peer]
icetan has quit [Read error: Connection reset by peer]
M0ddba11[m] has quit [Read error: Connection reset by peer]
aquarial has quit [Read error: Connection reset by peer]
MerlinGttlinger[ has quit [Write error: Connection reset by peer]
midi[m] has quit [Read error: Connection reset by peer]
matthewbauer has quit [Write error: Connection reset by peer]
sm[m] has quit [Read error: Connection reset by peer]
thequux[m] has quit [Read error: Connection reset by peer]
tokudan[m] has quit [Read error: Connection reset by peer]
bachp has quit [Read error: Connection reset by peer]
siraben has quit [Write error: Connection reset by peer]
wildtrees[m] has quit [Remote host closed the connection]
vxzero[m] has quit [Remote host closed the connection]
bpye has quit [Remote host closed the connection]
alex[m]16 has quit [Remote host closed the connection]
badmutex[m] has quit [Remote host closed the connection]
Shyim[m] has quit [Remote host closed the connection]
bkchr has quit [Remote host closed the connection]
orospakr[m] has quit [Remote host closed the connection]
schmittlauch[m]1 has quit [Remote host closed the connection]
KarelWDingeldey[ has quit [Remote host closed the connection]
elais[m] has quit [Remote host closed the connection]
BinkyTheClown has quit [Remote host closed the connection]
contrun[m] has quit [Write error: Connection reset by peer]
florianjacob has quit [Remote host closed the connection]
vaibhavsagar has quit [Write error: Connection reset by peer]
abbec has quit [Read error: Connection reset by peer]
Ralith has quit [Write error: Connection reset by peer]
laas has quit [Read error: Connection reset by peer]
sauyon[m] has quit [Write error: Connection reset by peer]
ptival[m] has quit [Write error: Connection reset by peer]
Notkea[m] has quit [Write error: Connection reset by peer]
pinage404[m] has quit [Write error: Connection reset by peer]
joelpet2 has quit [Write error: Connection reset by peer]
philipp[m] has quit [Write error: Connection reset by peer]
li_matrix has quit [Write error: Connection reset by peer]
is0x3F has quit [Write error: Connection reset by peer]
bendlas has quit [Write error: Connection reset by peer]
ndarwincorn has quit [Write error: Connection reset by peer]
submoo[m] has quit [Remote host closed the connection]
kaychaks[m] has quit [Write error: Connection reset by peer]
clefru has quit [Write error: Connection reset by peer]
ma27[m] has quit [Write error: Connection reset by peer]
nilsirl[m] has quit [Write error: Connection reset by peer]
Minijackson[m] has quit [Write error: Connection reset by peer]
Dandellion[m] has quit [Write error: Connection reset by peer]
EuAndreh[m] has quit [Write error: Connection reset by peer]
alj[m] has quit [Write error: Connection reset by peer]
IslandUsurper has quit [Write error: Connection reset by peer]
timclassic has quit [Write error: Connection reset by peer]
drakonis has quit [Ping timeout: 250 seconds]
<fresheyeball> don't know how to build these paths:
<fresheyeball> error: build of '/nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir' failed
<fresheyeball> /nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir
<fresheyeball> ?
krgn has quit [Quit: leaving]
<fresheyeball> woah why spamming
boredom101[m]1 has quit [Write error: Broken pipe]
gspia[m] has quit [Remote host closed the connection]
gudea[m] has quit [Remote host closed the connection]
pop[m]1 has quit [Remote host closed the connection]
infinisil-m has quit [Remote host closed the connection]
ajirx[m] has quit [Remote host closed the connection]
tindvik[m] has quit [Remote host closed the connection]
GerdFlaig[m] has quit [Remote host closed the connection]
syntaxtree[m] has quit [Remote host closed the connection]
tonic0x539[m] has quit [Remote host closed the connection]
xbreak[m] has quit [Remote host closed the connection]
bricewge has quit [Remote host closed the connection]
nh2[m] has quit [Write error: Connection reset by peer]
ArtemVorotnikov[ has quit [Read error: Connection reset by peer]
fgaz has quit [Write error: Connection reset by peer]
bkl[m] has quit [Write error: Broken pipe]
JaakkoLuttinen[m has quit [Remote host closed the connection]
tyx2q[m] has quit [Read error: Connection reset by peer]
craigevil[m] has quit [Write error: Connection reset by peer]
harkenedraven has quit [Write error: Broken pipe]
zaphar_ps[m] has quit [Remote host closed the connection]
aymenstudios[m] has quit [Write error: Broken pipe]
b-m-f[m] has quit [Write error: Connection reset by peer]
haslersn has quit [Read error: Connection reset by peer]
marius851000[m] has quit [Read error: Connection reset by peer]
zmlww[m]1 has quit [Write error: Broken pipe]
zurdo has quit [Remote host closed the connection]
cyberwolf[m] has quit [Write error: Connection reset by peer]
dwagenk has quit [Read error: Connection reset by peer]
DanP[m] has quit [Read error: Connection reset by peer]
hpfr[m] has quit [Read error: Connection reset by peer]
wak-work has quit [Write error: Connection reset by peer]
alexarice[m] has quit [Write error: Connection reset by peer]
attente[m] has quit [Write error: Connection reset by peer]
craige[m] has quit [Write error: Connection reset by peer]
malteof[m] has quit [Write error: Connection reset by peer]
tails[m] has quit [Write error: Connection reset by peer]
jschievink has quit [Write error: Connection reset by peer]
sylvie[m] has quit [Write error: Connection reset by peer]
VaNilLa[m] has quit [Write error: Connection reset by peer]
simbergm has quit [Write error: Connection reset by peer]
arturo[m] has quit [Write error: Connection reset by peer]
<clever> and we got matrixed!
<fresheyeball> don't know how to build these paths:
<fresheyeball> /nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir
<fresheyeball> error: build of '/nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir' failed
<fresheyeball> here is the output from my workstation
<clever> fresheyeball: try adding a -vvv, and use a pastebin for the full log
<boxdot> Is there a way to list all dependencies (incl. transitive) of a package? Something nix-build actually show in the beginning on a clean store.
<boxdot> s/show/shows
<fresheyeball> clever: https://www.lpaste.com/llPP9rL4F1
<clever> boxdot: nix-store -qR
<fresheyeball> perhaps module merging for the `nix` option is bunk?
<clever> fresheyeball: nix show-config | grep substituters
<clever> fresheyeball: or you have a 2nd nix.conf in $HOME, or you used mkForce
<fresheyeball> I was using `imports = [ ../shared/nix.nix ]`
<fresheyeball> to compose my nix configs together
<fresheyeball> let me try inlining it
<clever> fresheyeball: compare /etc/nix/nix.conf to `nix show-config | grep substituters`
<clever> fresheyeball: do they agree?
<fresheyeball> wait actually
colemickens has joined #nixos
worldofpeace has joined #nixos
<worldofpeace> always colemickens :)
<colemickens> To be clear, right now, I do not have the IWD module enabled (networking.wireless.iwd.enable), nor do I have your proposed change of adding the wantedBy to the PR.
<colemickens> And yet, it works, so I'm not sure I understand why the wantedBy should be copied into the NM module and activated when `iwd` backend is used for NM.
<colemickens> worldofpeace: ping, mind if we sync real quick instead of more back/forth on the PR? I can add a summary reply for the thread, but this might be easier real quick.
<fresheyeball> how is hie in there?
<fresheyeball> I don't even have that in my nix code anymore
Guillaum has quit [Ping timeout: 245 seconds]
<colemickens> (I do agree with the change to pre-create the /var/lib/iwd directory though)
<clever> fresheyeball: do you have a nix.conf in $HOME?
<colemickens> (s/precreate directory/use the tempfiles rule/g)
<fresheyeball> clever: no
<fresheyeball> ok
<boxdot> I see some dev dependencies as part of the closure (e.g. openssl-dev). Did I propagate them in a wrong way?
<fresheyeball> nix.conf shows dunlap and no hie
<fresheyeball> but show-config does not
<fresheyeball> show-config is showing wrong stuff
<clever> fresheyeball: `find ~ -name nix.conf`
<clever> fresheyeball: or just: ls -lh ~/.config/nix/nix.conf
<worldofpeace> colemickens: So, not sure if you saw the second half of my latest reply. But I did look over the code in networkmanager and cfg.packages adds the package to all the options iwd module already does. Reading some wiki articles etc. most distros want iwd installed global so I don't think we need to assert iwd not being enabled. My suggestion to duplicate what the module does is now null after figuring that out.
<fresheyeball> ah!
<fresheyeball> there is one there
<clever> fresheyeball: so you lied :P
<worldofpeace> colemickens: so instead we need to enable iwd when the backend is iwd
<fresheyeball> clever: I looked to shallow
<fresheyeball> just at ~
<fresheyeball> that nix.conf must a relic from years ago
<clever> 2019-08-23 01:13:55< ryantm> "We do not recommend using ~/.config/nix/nix.conf unless you are a power user. It's simpler to have only one global config file."
<clever> fresheyeball: check its timestamps
alp has quit [Ping timeout: 245 seconds]
tdeo has quit [Changing host]
tdeo has joined #nixos
<fresheyeball> now nix-build shows https://www.lpaste.com/llPP9rL4F1
<fresheyeball> ick
<fresheyeball> now nix-build show `error: cannot connect to 'isaac@192.168.1.10'`
<fresheyeball> so its trying now atleast
<clever> fresheyeball: root must have an ssh key in its ~/.ssh, that lacks a passphrase
<fresheyeball> my key requires a passphrase
<fresheyeball> let my try doing ssh-add as root
<clever> fresheyeball: make a second key for the cache usage
<clever> an agent wont work
o1lo01ol1o has joined #nixos
<clever> fresheyeball: and the sshServe option creates a nix-ssh user for that key, so you dont give out root
<{^_^}> [nixpkgs] @xrelkd opened pull request #68216 → eksctl: 0.5.1 -> 0.5.2 → https://git.io/fjjo4
<worldofpeace> colemickens: sorry if I did cause any confusion. I did look over the past PRs and it seems people think this is somehow like how you can't use networking.wireless.enable and networking.networkmanager. Are there other combinations we need to guard against?
<colemickens> worldofpeace: I am indeed confused. :) I am running this configuration now, I don't enable IWD, I just have the current PR, and NM seems to be starting IWD.
Guillaum has joined #nixos
<colemickens> I don't have IWD enabled, I don't have the wantedBy in the NM module, and yet it works, so I'm confused why we need to chain enable IWD.
alp has joined #nixos
<colemickens> I think that's why the original author added the specific assert to prevent the networking.wireless.iwd.enable from being enabled at the same time as making NM backend=IWD, as that would cause IWD to start and then NM to try to start it again and fail? I don't know, I haven't exactly tried it.
<worldofpeace> I ran that and it worked fine. I think it actually relies on the service running.
<fresheyeball> clever: its been a while
<worldofpeace> At runtime the issue I ran into was /var/lib/iwd not exists which is what the tempfile rule should create. So I think your system just has it there.
<fresheyeball> what do I do with the private key?
<colemickens> I understand the temp file thing, or at least don't dispute it. I'm still hung up on the wantsBy though, sorry if I'm being stubborn or confused... https://github.com/colemickens/nixcfg/blob/master/machines/xeep-base.nix#L89
<colemickens> for example, that's my config, I had to disable wireless.iwd.enable to get the NM/IWD scenario to work.
<colemickens> And I don't have your wantedBy addition to the module. And I've rebuilt/reloaded this config and restarted, so it's not some fluke of IWD just happening to be running.
<clever> fresheyeball: the private key just goes into the default dir, run `ssh-keygen` as root, and do all defaults
<colemickens> So I'm confused why we need to chain-enable wireless.iwd.enable or copy the wantsBy... it seems like NM is somehow doing the right thing without either of those.
<worldofpeace> colemickens: The wantedBy thing is in the actual iwd module. looking at the service it has wants network.target
<worldofpeace> #47217 added the wantedBy. didn't get lots of review, maybe disputable.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/47217 (by dywedir, 49 weeks ago, merged): iwd: 0.7 -> 0.8
<colemickens> I don't dispute that it's necessary with IWD by itself...
<colemickens> Let me restate - let's ignore the temp files thing, I think we would either need to copy it, or chain enable wireless.iwd.enable in order to fix the temp files portion.
<colemickens> However, on my machine, `systemctl status iwd` shows it as running, even though I have the IWD module disabled.
schjetne has joined #nixos
<colemickens> Which makes me think that we do NOT need to copy the wantsBy, NOR enable the iwd module when using NM+IWD.
<joepie91> !tofu
<joepie91> ,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.
<worldofpeace> Ok I see what you're saying.
<colemickens> BUT, I also think being able to manually enable IWD and NM (w/ IWD backend) makes conceptually more sense.
asheshambasta has quit [Ping timeout: 245 seconds]
<colemickens> BUT2, I assume the assert was added for a reason.
<colemickens> How about this -- I'll do some testing and see what happens if I manually enable the IWD module along with the PR. In my opinion, that would be conceptually cleaner anyway.
<worldofpeace> "However, on my machine, `systemctl status iwd` shows it as running, even though I have the IWD module disabled." and this is with the networkmanager PR? Anything in cfg.packages is added to systemd.packages in that module.
<colemickens> (or put another way, make the PR chain enable wireless.iwd.enable, and see what happens when something other than NM is managing IWD. Maybe it will all work out)
vesper11 has quit [Quit: ZNC 1.7.3 - https://znc.in]
vesper11 has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<worldofpeace> And the iwd module also add it to systemd.packages. These module implement the sames things in identical ways.
<fresheyeball> clever: so I generated a key on the workstation with `sudo ssh-keygen -t ed25519`
<fresheyeball> accepted all defaults
<colemickens> worldofpeace: well, almost
<colemickens> worldofpeace: the IWD module explicitly adds it to wantedBy.
<fresheyeball> and added the public key on the build server under nix.sshServe.keys
<colemickens> worldofpeace: whereas my PR merely tells NM to use IWD and doesn't add the wantedBy.
<worldofpeace> colemickens: right, I'm not sure if that's even needed in iwd.nix
<colemickens> oh
<fresheyeball> error: cannot connect to '192.168.1.10'
<fresheyeball> error: cannot connect to 'isaac@192.168.1.10'
<fresheyeball> on the workstation when running nix-build
justanotheruser has quit [Quit: WeeChat 2.4]
<clever> fresheyeball: your not using the nix-ssh user
<fresheyeball> clever: I don't understand
nschoe has quit [Quit: Program. Terminated.]
<clever> 2019-09-06 13:50:33 < fresheyeball> error: cannot connect to 'isaac@192.168.1.10'
<clever> fresheyeball: nix adds the keys to a user called nix-ssh, not isaac
<fresheyeball> clever: I also tried it without specifiying the user
<fresheyeball> error: cannot connect to '192.168.1.10'
<fresheyeball> I made this key as root
<fresheyeball> perhaps I need to generate the key as nix-ssh?
o1lo01ol1o has quit [Remote host closed the connection]
* colemickens is realizing he isn't quite sure how the IWD module works anyway :S
justanotheruser has joined #nixos
<colemickens> Is uh, systemd.packages = [ pkgs.iwd ]; automatically making the service be seen to systemd?
<clever> fresheyeball: no, you want nix-ssh@192.168.1.10
<colemickens> It must be, maybe that's where my confusion is all based on :S
<fresheyeball> error: cannot connect to 'nix-ssh@192.168.1.10'
<clever> fresheyeball: can root ssh to that user&ip?
<fresheyeball> no
<clever> fresheyeball: double-check /etc/ssh/authorized_keys.d/ on the remote machine, is ~/.ssh/id_rsa.pub authorized on nix-ssh?
<fresheyeball> there is only one file in there
<worldofpeace> colemickens: yeah if you look at what cfg.packages (which iwd is in in networkmanager module) adds the package to: systemPackages, dbus.packages, systemd.packages, udev. The iwd.nix does the exact thing so they'll work identically minus the wantedBy and tempfiles rule. (minus udev rules because iwd doesn't have them)
<fresheyeball> err sorry
<fresheyeball> was looking at the wrong machine
<fresheyeball> ok on the build machine
<fresheyeball> there is a /etc/ssh/authorized_keys.d/nix-ssh
<fresheyeball> and the contents looks good
<worldofpeace> colemickens: all that config is correct os there's no reason to even leverage the networkmanager module when there's iwd.nix. it duplicating it will actual make maintainership harder
<worldofpeace> (leverage meaning adding it to cfg.packages) the main backend config is needed
<fresheyeball> clever: however the workstation has no such file
<clever> fresheyeball: its created when you enable sshServe
<fresheyeball> right
<fresheyeball> but my workstation has no nix-ssh user
<fresheyeball> the build server does though
FRidh2 has joined #nixos
<clever> fresheyeball: check the journal on the machine with nix-serve, does it say anything in the sshd logs, when you try to ssh into nix-serve?
<clever> nix-ssh*
<fresheyeball> clever: how can I check the journal?
<clever> fresheyeball: journalctl -f -u sshd
<colemickens> worldofpeace: I think I more or less understand what you're saying, but I don't think I'm articulating my concern very well. It will be easier for me to try out a couple options and report back on what works.
<colemickens> Ideally, I'd prefer to just chain... networkmanager.wireless.backend="iwd" triggers wireless.iwd.enable=true and it all just works. That sounds ideal, I just have a concern that it might not be that simple. But I can test and report back.
<clever> colemickens: config = lib.mkIf (networkmanager.wireless.backend == "iwd") { wireless.iwd.enable=true; };
<colemickens> (I think it sounds like that's what you want too. Remove any possible duplication of IWD settings/pkgs in the NM module, separate the concerns.)
<worldofpeace> Was you that's exactly what I mean :D
<worldofpeace> colemickens: I think that's good to check. don't take my word for it.
<worldofpeace> * yse that's exactly
<colemickens> If it weren't for the existing assert, I wouldn't think anything of it.
<colemickens> Might just be one of those things I have to prove to myself or struggle through for the last piece to click ;)
<fresheyeball> clever: the journal
<colemickens> I probably won't get to it for another day or so now though. Thanks for the review/guidance again :)
<fresheyeball> on the workstation:
<fresheyeball> root@goldwater> ssh nix-ssh@192.168.1.10 ~
<fresheyeball> PTY allocation request failed on channel 0
<clever> fresheyeball: that means it worked, try with nix again
<fresheyeball> clever: also I just found my persissions where too open on the private key
<fresheyeball> I fixed it and now it doesn't complain about "can't connect" when I run nix-build
<fresheyeball> however its still not pulling from cache
<{^_^}> [nixpkgs] @FRidh pushed 11 commits to staging: https://git.io/fjjKG
<clever> fresheyeball: check `nix-store -r -vvv` again on a path it should pull
<{^_^}> [nixpkgs] @FRidh closed pull request #60147 → pythonPackages: fix missing PyPI references → https://git.io/fj3AG
o1lo01ol1o has joined #nixos
<fresheyeball> clever: looks like it did!
<{^_^}> [nixpkgs] @FRidh merged pull request #68164 → python: beancount: 2.2.1 -> 2.2.3 → https://git.io/fjjZB
<{^_^}> [nixpkgs] @FRidh pushed commit from @AluisioASG to master « python: beancount: 2.2.1 -> 2.2.3 »: https://git.io/fjjKZ
<fresheyeball> but why not when I run nix-build?
<worldofpeace> Option 1 supports exactly what I was thinking colemickens
<clever> fresheyeball: is nix-build creating the exact same $out ?
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed commit from @AluisioASG to master « python: google-auth: make tests compatible with pytest 5 »: https://git.io/fjjKn
<{^_^}> [nixpkgs] @FRidh merged pull request #68163 → python: google-auth: fix usage of pytest.warns in tests → https://git.io/fjjZO
<fresheyeball> clever: no interestingly
<fresheyeball> both checkouts are at the same git hash
<fresheyeball> yet
<fresheyeball> /nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir
<fresheyeball> on the build machine
<clever> fresheyeball: use nix-copy-closure to get the .drv from both of them onto the same machine, then run nix-diff on both drv files
<fresheyeball> /nix/store/armxfbl7k0gnp2r2myhp7vx0x5jw0r4i-kassir.drv
<fresheyeball> on the workstating
<clever> dont bother comparing drv and non-drv files
<clever> the hashes will never match
<clever> you want the output path inside the drv
* colemickens nods and stares suspiciously at the assert
emptyfl4sk has quit [Ping timeout: 245 seconds]
<fresheyeball> clever: sorry I don't understand what you are asking me to do
justanotheruser has quit [Ping timeout: 264 seconds]
<sphalerite> hyper_ch: yeah maybe sometime soon, but mostly came up with it because I was talking to a colleague about his virt setup
<fresheyeball> I am officially down the rabbit hole here
<{^_^}> [nixpkgs] @jonringer opened pull request #68217 → pythonPackages.elpy: drop package → https://git.io/fjjKB
<clever> fresheyeball: if you have a /nix/store/foo and a /nix/store/foo.drv, dont bother trying to compare them
<{^_^}> [nixpkgs] @FRidh merged pull request #68212 → makemkv: 1.14.4 -> 1.14.5 → https://git.io/fjjw6
<{^_^}> [nixpkgs] @FRidh pushed commit from @danieldk to master « makemkv: 1.14.4 -> 1.14.5 »: https://git.io/fjjKR
<clever> fresheyeball: first, do `nix-store --query --binding out /nix/store/foo.drv` to get the $out, so they are the same type
<{^_^}> [nixpkgs] @FRidh merged pull request #68200 → pdfcpu: 0.2.3 -> 0.2.4 → https://git.io/fjjzM
<{^_^}> [nixpkgs] @FRidh pushed commit from @doronbehar to master « pdfcpu: 0.2.3 -> 0.2.4 »: https://git.io/fjjK0
<{^_^}> [nixpkgs] @FRidh merged pull request #68198 → tinc: 1.0.35 -> 1.0.36 → https://git.io/fjjz2
<{^_^}> [nixpkgs] @FRidh pushed commit from @doronbehar to master « tinc: 1.0.35 -> 1.0.36 »: https://git.io/fjjKE
<fresheyeball> /nix/store/ja42xx9pfrv6g1qd8pm9743vjbygs2km-kassir <- on workstation
<clever> fresheyeball: seperately, do `nix-instantiate something.nix -A something` on your project, on both machines, then do `nix-copy-closure --from 192.168.2.10 /nix/store/something.drv` to get both versions of the drv on the same machine, then use nix-diff to compare the 2
<fresheyeball> /nix/store/891q5c3xk5ipdpx89zvwah381vnq2m9f-kassir <- on build box
<{^_^}> [nixpkgs] @FRidh merged pull request #68194 → Drop unsupported go version 1.10 → https://git.io/fjjEK
<{^_^}> [nixpkgs] @FRidh pushed 14 commits to master: https://git.io/fjjKu
wildtrees has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #68162 → dep: 0.5.1 -> 0.5.4 → https://git.io/fjjZL
<{^_^}> [nixpkgs] @FRidh pushed commit from @vladdy to master « dep: 0.5.1 -> 0.5.4 »: https://git.io/fjjKV
<worldofpeace> colemickens: the assert probably existed because when they built their configuration, it duplicated systemd units in the system path breaking it. But if they'd just enabled iwd module it would have been exactly the same.
<colemickens> oooooooh
<{^_^}> [nixpkgs] @FRidh merged pull request #68152 → maturin: 0.7.1 -> 0.7.2 → https://git.io/fjj3s
<{^_^}> [nixpkgs] @FRidh pushed commit from @danieldk to master « maturin: 0.7.1 -> 0.7.2 »: https://git.io/fjjKr
<worldofpeace> yeah, I can read programmers past thoughts :P
M0ddba11[m] has joined #nixos
is0x3F has joined #nixos
Ox4A6F has joined #nixos
vvbb[m] has joined #nixos
cornu has joined #nixos
Noughtmare[m] has joined #nixos
zurdo has joined #nixos
laas has joined #nixos
MiloIgnis[m] has joined #nixos
Ericson2314 has joined #nixos
EuAndreh[m] has joined #nixos
fulgjon has joined #nixos
Minijackson[m] has joined #nixos
MilkManzJourDadd has joined #nixos
abbradar[m] has joined #nixos
alexarice[m] has joined #nixos
alienpirate5 has joined #nixos
abbec has joined #nixos
abbafei[m] has joined #nixos
alxev[m] has joined #nixos
am3on[m] has joined #nixos
alj[m] has joined #nixos
_ris has joined #nixos
atopuzov[m] has joined #nixos
aquarial has joined #nixos
arturo[m] has joined #nixos
arcnmx has joined #nixos
attente[m] has joined #nixos
balsoft has joined #nixos
bennofs[m] has joined #nixos
bachp has joined #nixos
bendlas has joined #nixos
Guest16074 has joined #nixos
balsoft[m] has joined #nixos
b-m-f[m] has joined #nixos
bkl[m] has joined #nixos
bohan[m] has joined #nixos
bikki[m] has joined #nixos
Brio[m] has joined #nixos
blitzclone_ has joined #nixos
copy` has joined #nixos
clacke[m] has joined #nixos
coniferous-cube[ has joined #nixos
clefru has joined #nixos
chuzz_ has joined #nixos
corpix[m] has joined #nixos
cyberwolf[m] has joined #nixos
Dandellion[m] has joined #nixos
BinkyTheClown has joined #nixos
craige[m] has joined #nixos
danielrf[m] has joined #nixos
craigevil[m] has joined #nixos
VaNilLa[m] has joined #nixos
das-g[m] has joined #nixos
ndarwincorn has joined #nixos
RobinKroonen[m] has joined #nixos
DanP[m] has joined #nixos
fgaz has joined #nixos
divansantana has joined #nixos
dwagenk has joined #nixos
escaP[m] has joined #nixos
domenkozar[m] has joined #nixos
dtz has joined #nixos
frederic_chopwn[ has joined #nixos
frislie[m] has joined #nixos
tails[m] has joined #nixos
florianjacob has joined #nixos
goibhniu has joined #nixos
hr[m] has joined #nixos
harkenedraven has joined #nixos
hpfr[m] has joined #nixos
hiroshi[m] has joined #nixos
icetan has joined #nixos
iceychris[m] has joined #nixos
hackeryarn[m] has joined #nixos
ajirx[m] has joined #nixos
anton-latukha[m] has joined #nixos
ilya-fedin has joined #nixos
isgy[m] has joined #nixos
aymenstudios[m] has joined #nixos
AntonSchirg[m] has joined #nixos
codyopel has joined #nixos
JaakkoLuttinen[m has joined #nixos
joepie91[m] has joined #nixos
jak[m] has joined #nixos
joelpet1 has joined #nixos
jonge[m] has joined #nixos
imj[m] has joined #nixos
IslandUsurper has joined #nixos
badmutex[m] has joined #nixos
arianvp[m] has joined #nixos
layus[m] has joined #nixos
kaychaks[m] has joined #nixos
jschievink has joined #nixos
li_matrix has joined #nixos
ejpcmac has joined #nixos
bnasty[m] has joined #nixos
aterius has joined #nixos
fasd has joined #nixos
cab404[m] has joined #nixos
bricewge has joined #nixos
bikki[m]1 has joined #nixos
ma27[m] has joined #nixos
LinuXit has joined #nixos
MarkOtaris has joined #nixos
luftmensch[m] has joined #nixos
macerbi[m] has joined #nixos
manveru[m] has joined #nixos
marius851000[m] has joined #nixos
Lisanna[m] has joined #nixos
bkchr has joined #nixos
ck3d[m] has joined #nixos
cgm[m] has joined #nixos
malteof[m] has joined #nixos
MayeulC_backup has joined #nixos
mildred has joined #nixos
MerlinGttlinger[ has joined #nixos
musicmatze has joined #nixos
Thinkofname[m] has joined #nixos
momack2[m] has joined #nixos
matthewbauer has joined #nixos
simbergm has joined #nixos
Moredread[m] has joined #nixos
bpye has joined #nixos
olejorgenb[m] has joined #nixos
NickHu has joined #nixos
Nyanloutre[m] has joined #nixos
nocent has joined #nixos
nilsirl[m] has joined #nixos
ninjatrappeur[m] has joined #nixos
neonfuz2 has joined #nixos
nh2[m] has joined #nixos
elais[m] has joined #nixos
eqyiel has joined #nixos
otini has joined #nixos
pachacuti[m] has joined #nixos
philipp[m] has joined #nixos
peel has joined #nixos
pingveno[m] has joined #nixos
pinage404[m] has joined #nixos
ptival[m] has joined #nixos
Diamaths[m] has joined #nixos
Notkea[m] has joined #nixos
GerdFlaig[m] has joined #nixos
boredom101[m]1 has joined #nixos
roadt[m] has joined #nixos
rihardsk[m] has joined #nixos
ptotter[m] has joined #nixos
ronny has joined #nixos
roberth has joined #nixos
Ralith has joined #nixos
sauyon[m] has joined #nixos
rycee has joined #nixos
Dan[m]8 has joined #nixos
freddie_freeload has joined #nixos
fidgetspinoza[m] has joined #nixos
siraben has joined #nixos
schmittlauch[m] has joined #nixos
haslersn has joined #nixos
Smith[m] has joined #nixos
slabity has joined #nixos
Seb[m] has joined #nixos
gudea[m] has joined #nixos
sm[m] has joined #nixos
grim_reaper[m] has joined #nixos
HappyEnt[m] has joined #nixos
midi[m] has joined #nixos
gspia[m] has joined #nixos
tokudan[m] has joined #nixos
steshaw[m] has joined #nixos
sylvie[m] has joined #nixos
sphalerit has joined #nixos
spacekitteh[m] has joined #nixos
groggy[m] has joined #nixos
Christian[m]5 has joined #nixos
infinisil-m has joined #nixos
regnat[m] has joined #nixos
thequux[m] has joined #nixos
flip[m]1 has joined #nixos
grahamc[m] has joined #nixos
timclassic has joined #nixos
thefloweringash has joined #nixos
bee[m]1 has joined #nixos
timokau[m] has joined #nixos
tejok[m] has joined #nixos
ArtemVorotnikov[ has joined #nixos
vdot0x23[m] has joined #nixos
info_supplicant[ has joined #nixos
vaibhavsagar has joined #nixos
Vskilet has joined #nixos
contrun[m] has joined #nixos
TravisRt2botio[m has joined #nixos
truby has joined #nixos
tyx2q[m] has joined #nixos
jonreeve[m] has joined #nixos
jwaksbaum[m] has joined #nixos
KarelWDingeldey[ has joined #nixos
wangoe[m] has joined #nixos
weebull[m] has joined #nixos
white_bluff[m] has joined #nixos
wak-work has joined #nixos
yoho[m]1 has joined #nixos
wrunt[m] has joined #nixos
kxlljoyy[m] has joined #nixos
klbrn[m] has joined #nixos
zmlww[m]1 has joined #nixos
zmlww[m] has joined #nixos
yangm has joined #nixos
zaphar_ps[m] has joined #nixos
kyleondy[m] has joined #nixos
NfixEstrada[m] has joined #nixos
mariusz-kowalski has joined #nixos
peterhoeg[m] has joined #nixos
orospakr[m] has joined #nixos
alex[m]16 has joined #nixos
provessor[m] has joined #nixos
pop[m]1 has joined #nixos
rnhmjoj has joined #nixos
Shyim[m] has joined #nixos
smolboye[m] has joined #nixos
sputny[m] has joined #nixos
syntaxtree[m] has joined #nixos
schmittlauch[m]1 has joined #nixos
tindvik[m] has joined #nixos
tonic0x539[m] has joined #nixos
submoo[m] has joined #nixos
vxzero[m] has joined #nixos
Woland[m] has joined #nixos
xbreak[m] has joined #nixos
y0x3y[m] has joined #nixos
Gopal[m] has joined #nixos
wildtrees[m] has joined #nixos
Yakulu[m] has joined #nixos
Tony[m]3 has joined #nixos
tobim[m] has joined #nixos
ZD[m] has joined #nixos
<clever> and matrix is back to matrix is once more!
<scoates> 👀
shabius has joined #nixos
* colemickens its gonna be embarrassing when I get tripped up on a nix syntax thing after all this
nfip^ has joined #nixos
o1lo01ol1o has joined #nixos
<fresheyeball> clever: https://www.lpaste.com/adDYTNzYOM
justanotheruser has joined #nixos
boxdot has quit [Quit: Leaving.]
boxdot has joined #nixos
boxdot has quit [Client Quit]
boxdot has joined #nixos
boxdot has left #nixos [#nixos]
<clever> fresheyeball: you need to use lib.cleanSource when doing ./.
<clever> fresheyeball: your ./. doesnt match perfectly between the 2 machines, so its considered a different version
<fresheyeball> yes I see the difference
<fresheyeball> there is a stray file
<clever> fresheyeball: also, try using `diff -r /nix/store/ia83szf79darxc2m1275f0vx1h6ykix2-kassir /nix/store/9srk6j3zx2qhbaasy0v9dnv7pgh0yf35-kassir`
<fresheyeball> I deleted the file and am rebuilding on the build server
<clever> cleanSource can clean most of those up
<fresheyeball> clever: what is cleanSource?
xkapastel has quit [Quit: Connection closed for inactivity]
<fresheyeball> yeah diff showed it to me
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
<clever> fresheyeball: its in the nixpkgs manual i believe
<fresheyeball> ok I see the source
<{^_^}> [nixpkgs] @abbradar pushed to master « murmur service: fix typo in description »: https://git.io/fjjKS
<fresheyeball> clever: I do this already, but by adding `[".git"]` in gitignore source
<DariusTh`> I am getting warning: unable to download 'https://mpickering.cachix.org/z7418hsf1vdmx6wif7wllyb2xzdj81gi.narinfo': HTTP error 504; retrying in 317 ms
phreedom_ has quit [Remote host closed the connection]
<DariusTh`> So I presume I set up cachix at some point in the past
<__monty__> Hmm, how do I install ffmpeg-full with libfdk_aac? I see that I need to pass `fdkaacExtLib=true` but I also have to pass `fdk_aac`, which defaults to `null`.
phreedom has joined #nixos
<clever> fresheyeball: cleanSource will already ignore .git by default
tokudan has joined #nixos
<clever> 2019-08-23 01:13:55< ryantm> "We do not recommend using ~/.config/nix/nix.conf unless you are a power user. It's simpler to have only one global config file."
<clever> DariusTh`: does that file exist?
<fresheyeball> clever: I see that, just saying I am doing it explicilty"
<DariusTh`> How do I turn cachix off
<fresheyeball> clever: it pulled from cache!
<fresheyeball> hurray!
<fresheyeball> wooot!
<fresheyeball> clever++
<{^_^}> clever's karma got increased to 194
<{^_^}> [nixpkgs] @FRidh merged pull request #68068 → mesa_glu: 9.0.0 -> 9.0.1 → https://git.io/fjhYe
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « mesa_glu: 9.0.0 -> 9.0.1 »: https://git.io/fjjK7
<DariusTh`> clever: I don't know - I put the url into a browser but I imagine the request will timeout
<{^_^}> [nixpkgs] @FRidh merged pull request #68049 → librsvg: 2.44.14 -> 2.44.15 → https://git.io/fjhmI
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « librsvg: 2.44.14 -> 2.44.15 »: https://git.io/fjjKF
<clever> DariusTh`: check your local machine to see if the file i just pasted exists
<{^_^}> [nixpkgs] @FRidh merged pull request #68046 → numactl: 2.0.12 -> 2.0.13 → https://git.io/fjhqb
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « numactl: 2.0.12 -> 2.0.13 »: https://git.io/fjjKb
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #68041 → harfbuzz: 2.6.0 -> 2.6.1 → https://git.io/fjhqS
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « harfbuzz: 2.6.0 -> 2.6.1 »: https://git.io/fjjKN
<{^_^}> [nixpkgs] @FRidh merged pull request #68040 → cups: 2.2.11 -> 2.2.12 (security!) → https://git.io/fjhqD
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « cups: 2.2.11 -> 2.2.12 (security!) »: https://git.io/fjjKA
<DariusTh`> clever: in my nix store?
<clever> DariusTh`: in your home dir
<clever> 2019-08-23 01:13:55< ryantm> "We do not recommend using ~/.config/nix/nix.conf unless you are a power user. It's simpler to have only one global config file."
dbmikus has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #68064 → libusb1: 1.0.22 -> 1.0.23 → https://git.io/fjhmA
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to staging: https://git.io/fjjKp
polman has quit [Ping timeout: 245 seconds]
<DariusTh`> I seem to have a ~/.config/cachix
<{^_^}> [nixpkgs] @FRidh merged pull request #68072 → libX11: 1.6.7 -> 1.6.8 → https://git.io/fjhYq
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « libX11: 1.6.7 -> 1.6.8 »: https://git.io/fjjKh
<alexarice[m]> can I temporarily disable cachix if it appears to be down?
<clever> DariusTh`: ls -lh ~/.config/nix/nix.conf
alex`` has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @FRidh merged pull request #68073 → libXi: 1.7.9 -> 1.7.10 → https://git.io/fjhYm
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « libXi: 1.7.9 -> 1.7.10 »: https://git.io/fjj6v
<eeva> Mic92: Thank You so much for backporting the rdrand systemd workaround for AMD 3000 series CPUS/BIOS bug
<eeva> to systemd 242 (no need to wait for 243!)
alex`` has joined #nixos
emptyfl4sk has joined #nixos
Myhlamaeus1 has joined #nixos
<DariusTh`> clever: ls: /Users/dom/.config/nix/nix.conf: No such file or directory
<clever> DariusTh`: is cachix configured in /etc/nix/nix.conf ?
<DariusTh`> clever: I got rid of the nix config stuff
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to staging « kexectools: 2.0.19 -> 2.0.20 »: https://git.io/fjj6U
polman has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #65953 → kexectools: 2.0.19 -> 2.0.20 → https://git.io/fjH8F
<DariusTh`> Should I remove the mpickering cache?
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @abbradar merged pull request #68215 → ZeroC Ice - update, add Python module, fix Murmur RC → https://git.io/fjjoq
<{^_^}> [nixpkgs] @abbradar pushed 5 commits to master: https://git.io/fjj6L
<DariusTh`> My colleague has no such file
hc has joined #nixos
<DariusTh`> clever: I moved the config file but nix is still finding it
<clever> DariusTh`: you have to restart nix-daemon if you change nix.conf
mkgvt has joined #nixos
Myhlamaeus1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #68218 → nixos/cupsd: passwordless admin for wheel with polkit → https://git.io/fjj6Z
ddellacosta has quit [Ping timeout: 245 seconds]
<alexarice[m]> that was fun, couldn't rebuild because I couldn't connect to cachix and couldn't remove cachix because I couldn't rebuild
<DariusTh`> clever: I turned cachix off and restarted and now my derivation which used to build now fails
<DariusTh`> So somehow the cachix version succeeded and I got the cached version?
<DariusTh`> I'll try again
mkgvt has quit [Remote host closed the connection]
<DariusTh`> Ignore the line above
<DariusTh`> I now get
<DariusTh`> configure: error: Platform surfaceless requires libdrm >= 2.4.75
<DariusTh`>
<DariusTh`> builder for '/nix/store/2scpxw8yic4f46qa0bz8msz7w5b3srlx-mesa-noglu-18.3.4.drv' failed with exit code 1
<clever> DariusTh`: that sounds like the nix expr is just broken
<DariusTh`> My nix expr?
<DariusTh`> Ok let me paste it
<DariusTh`> I can also try it on ubuntu
<{^_^}> [nixpkgs] @roberth pushed to master « Fix typo in lists.nix »: https://git.io/fjj64
<{^_^}> [nixpkgs] @FRidh closed pull request #53416 → funkwhale: init at 0.19 → https://git.io/fhO5J
<DariusTh`> Now it's building on both macos and ubuntu
<DariusTh`> It failed on macos
<DariusTh`> And worked on ubuntu
* DariusTh` is not sure how to debug this
<{^_^}> [nixpkgs] @wldhx opened pull request #68219 → nixos/airsonic: Fix user configuration → https://git.io/fjj6w
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
phreedom has quit [Remote host closed the connection]
phreedom has joined #nixos
Guest64138 has joined #nixos
Guest64138 has quit [Changing host]
orivej has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #61347 → magma: 2.0.2 -> 2.5.0 → https://git.io/fjWL0
<{^_^}> [nixpkgs] @FRidh pushed commit from tbenst to master « magma: 2.0.2 -> 2.5.0 »: https://git.io/fjj66
growpotkin has joined #nixos
emptyfl4sk has quit [Ping timeout: 268 seconds]
<kalbasit> is Cachix still down?
<DariusTh`> clever: is there something which makes my script work on ubuntu but not on macos?
<DariusTh`> And why does it work on macos when cachix is up?
dansteeves has joined #nixos
<fresheyeball> clever: so this is very odd
emilis has joined #nixos
<fresheyeball> if I have the same project on both machines
<fresheyeball> and the same git hash
boxdot has joined #nixos
dansteeves has quit [Client Quit]
<fresheyeball> they don't line up right now
<boxdot> Which output is usually used for tests? dev?
<fresheyeball> nix-diff shows the workstation include .git
<fresheyeball> and the one on the build server does not
<fresheyeball> how is that possible?
<DariusTh`> fresheyeball: I seem to be having the same problem
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/4e60699fa72 (from 4 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
dwdr has quit [Remote host closed the connection]
<clever> fresheyeball: did you get new .drv files, and are you using cleanSource?
<fresheyeball> clever: yes I got new .drv
<fresheyeball> and no I am not using cleanSource
dansteeves has joined #nixos
<fresheyeball> but still
<fresheyeball> the same nix expression one 2 machines
<fresheyeball> on one machine it filters out .git
<fresheyeball> on the other its not filtering it out
<DariusTh`> I think cachix must still be down
Izorkin has joined #nixos
<fresheyeball> oh wait
<fresheyeball> duh
<fresheyeball> I have a derivation representing the git hash
<clever> fresheyeball: builtins.fetchgit ./. will get you that
alex``` has joined #nixos
Myhlamaeus1 has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
<fresheyeball> clever: o
<fresheyeball> error: attribute 'fetchgit' missing,
<clever> fresheyeball: oops, fetchGit
growpotkin has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
<fresheyeball> fatal: not a git repository (or any of the parent directories): .git
<clever> fresheyeball: is it being ran on a git repo?
<fresheyeball> clever: yes
<DariusTh`> Is there someone we should tell about cachix being down?
<clever> DariusTh`: domenkozar[m]
alex``` has quit [Ping timeout: 246 seconds]
growpotkin has joined #nixos
<DariusTh`> clever: I just tweeted to him
<DariusTh`> His twitter handle was on the cachix website
pikajude has joined #nixos
<roberth> hi everyone, I've noticed cachix is down and have tried to fix it. To no success, sadly. I've tried to call him, but no success either
equivrel has quit [Read error: Connection reset by peer]
<pikajude> that's funny, i came in here to ask about that
<pikajude> is there a way to get nix to temporarily blacklist a substituter
<clever> pikajude: --option can be used to override any field in nix.conf
<pikajude> yeah
<roberth> --option substitute false is easiest if that's sufficient
<pikajude> no, I need the reflex one
<pikajude> okay just thought I'd ask
<clever> --option substituters "https://cache.nixos.org" would use that
<clever> you could add more to that list
o1lo01ol1o has joined #nixos
<roberth> --option substituters https://cache.nixos.org
<pikajude> yeah, i know
<roberth> you beat me to it clever :)
equivrel has joined #nixos
<fresheyeball> clever: is there a version of filtersource that is a whitelist?
<clever> fresheyeball: use ! to invert the filter
<{^_^}> #56985 (by nh2, 26 weeks ago, open): sources: Add explicitFilterSource
<{^_^}> [nixpkgs] @jonringer opened pull request #68220 → radeontool: 1.5 -> 1.6.3 → https://git.io/fjjie
Myhlamaeus1 has quit [Read error: Connection reset by peer]
Myhlamaeus1 has joined #nixos
<fresheyeball> clever: so what I really want is a derivation that is the git hash
<fresheyeball> right now I use mkDerivation and git rev-parse @
o1lo01ol1o has quit [Remote host closed the connection]
alex``` has joined #nixos
pikajude has quit [Quit: Leaving]
<fresheyeball> if I make the whole .git folder the source
<fresheyeball> I can do that
<fresheyeball> but that means I don't get build cacheing unless .git folders match exactly
<fresheyeball> which they don't
<clever> fresheyeball: fetchGit, and several lib functions (that i cant find) will do that, without a derivation
<fresheyeball> clever: I want a derivation
<fresheyeball> its how I let my binary report its version at runtime
<clever> fresheyeball: why must it be a derivation?, an eval time string can do the same thing
<infinisil> And a derivation can be trivially made from a string
<infinisil> If necessary
<infinisil> (with pkgs.writeText)
<infinisil> (or builtins.toFile even)
pikajude0 has joined #nixos
<infinisil> (if there's no context, which you wouldn't have in this case)
Izorkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
<Acou_Bass> hey everyone, im looking to switch over my mini server to Nixos, curious to know if anyone's ran a Piwigo instance on nixos and how that setup goes?
Izorkin has joined #nixos
<fresheyeball> clever: I don't see how I would use that
pikajude0 is now known as pikajude
pikajude has joined #nixos
pikajude has quit [Changing host]
Izorkin has quit [Client Quit]
<clever> fresheyeball: that will return a string with a sha1 in it, which you then just add to your drv
<fresheyeball> clever: ok
pikajude has quit [Client Quit]
Izorkin has joined #nixos
pikajude has joined #nixos
pikajude has joined #nixos
pikajude has quit [Changing host]
pikajude has quit [Client Quit]
<fresheyeball> clever: commitIdFromGitRepo returns a string?
pikajude has joined #nixos
<clever> fresheyeball: yes
<pikajude> haven't been on IRC in over a year btw, hi everyone
<Acou_Bass> welcome ;D
Guest64138 is now known as LnL
ixxie has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evanjs| has quit [Ping timeout: 244 seconds]
<fresheyeball> clever: that worked perfectly
<fresheyeball> clever++
<{^_^}> clever's karma got increased to 195
<fresheyeball> infinisil++
<{^_^}> infinisil's karma got increased to 138
fusion809 has quit [Remote host closed the connection]
emptyfl4sk has joined #nixos
knupfer has joined #nixos
knupfer has quit [Remote host closed the connection]
<Ericson2314> Anyone know what controls the mount setting for /run/user/xxxx ?
<{^_^}> [nixpkgs] @Infinisil merged pull request #67996 → lib.cleanSourceWith: Allow name to be set, optional filter, doc → https://git.io/fjpNz
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjjiM
psyanticy has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @FRidh merged pull request #68169 → python3.pkgs.libcloud: 2.5.0 -> 2.6.0 → https://git.io/fjjno
<{^_^}> [nixpkgs] @FRidh pushed commit from @flokli to master « python3.pkgs.libcloud: 2.5.0 -> 2.6.0 »: https://git.io/fjjiD
knupfer has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #68055 → bear: 2.4.1 -> 2.4.2 → https://git.io/fjhmR
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « bear: 2.4.1 -> 2.4.2 »: https://git.io/fjjiS
emilis has quit [Quit: Leaving]
<infinisil> Ericson2314: My suspicion was systemd, and indeed it is, see `man pam_systemd`
<Ericson2314> infinisil: thanks!!
<{^_^}> [nixpkgs] @FRidh pushed commit from @risicle to master « pythonPackages.pybind11: enable tests »: https://git.io/fjji9
<{^_^}> [nixpkgs] @FRidh merged pull request #67885 → pythonPackages.pybind11: enable tests → https://git.io/fjpnw
<infinisil> (found by grepping through systemd's source)
emptyfl4sk has quit [Ping timeout: 245 seconds]
<Ericson2314> eek!
<{^_^}> [nixpkgs] @FRidh merged pull request #68166 → gotools: 2019-07-06 -> 2019-09-05 → https://git.io/fjjnO
<{^_^}> [nixpkgs] @FRidh pushed commit from @rvolosatovs to master « gotools: 2019-07-06 -> 2019-09-05 »: https://git.io/fjji5
pikajude has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @FRidh merged pull request #68165 → fava: 1.10 -> 1.11 → https://git.io/fjjZg
<{^_^}> [nixpkgs] @FRidh pushed commit from @AluisioASG to master « fava: 1.10 -> 1.11 »: https://git.io/fjjid
<{^_^}> [nixpkgs] @FRidh merged pull request #68065 → acpid: 2.0.31 -> 2.0.32 → https://git.io/fjhmx
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to master « acpid: 2.0.31 -> 2.0.32 »: https://git.io/fjjib
<fresheyeball> clever: ok
<fresheyeball> so now if the hashes match nix-instantiate shows drvs that match
<fresheyeball> /nix/store/zdryzkwzy3adkddsy1rx2diqv511spkz-kassir.drv
<fresheyeball> on both machines
dansteeves has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @FRidh merged pull request #68024 → nvidia_x11: fix for vulkan in >= 435 → https://git.io/fjhTR
<{^_^}> [nixpkgs] @FRidh pushed commit from Averell Dalton to master « nvidia_x11: fix for vulkan in >= 435 »: https://git.io/fjjiA
<fresheyeball> but for some reason it doesn't pull from the cache
<fresheyeball> oic the error now
<fresheyeball> warning: substituter 'ssh://nix-ssh@192.168.1.20' does not have a valid signature for path
jtojnar has quit [Quit: jtojnar]
<{^_^}> [nixpkgs] @FRidh pushed commit from @jbedo to master « bedtools: 2.28.0 -> 2.29.0 »: https://git.io/fjjih
<{^_^}> [nixpkgs] @FRidh merged pull request #68180 → bedtools: 2.28.0 -> 2.29.0 → https://git.io/fjjli
jtojnar has joined #nixos
Acou_Bass has quit [Quit: byeeeeeeeeeeeeeee]
<fresheyeball> This is so great, I love nix
<fresheyeball> and this IRC is absurdly helpful
<fresheyeball> copied from cache
<etu> That's one thing that made me stick with nix
<fresheyeball> I now have bidirectional nix store sharing
<fresheyeball> if I built it on my workstation by build machine downloads it
<etu> These are the most friendly linux distro irc channels I've ever been in :)
<fresheyeball> and if it build on the build machine, the workstation downloads it
<fresheyeball> fantastic!
<catern> nix-channel --update does caching, so it won't re-download the channel if you run it again
<catern> how do I bypass this caching?
o1lo01ol1o has joined #nixos
zupo has joined #nixos
civodul has joined #nixos
<LnL> I think --option tarball-ttl 0 will force updates
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/fjjPJ
<catern> Yes, that works, thanks LnL
eraserhd has quit [Quit: WeeChat 2.5]
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
eraserhd has joined #nixos
shibboleth has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
growpotkin has joined #nixos
wfranzini has joined #nixos
emptyfl4sk has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed to master « pythonInterpreters.pypy*prebuilt: use openssl 1.0 »: https://git.io/fjjP3
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/194b732bf6e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 1.8.2 -> 1.8.4 »: https://git.io/fjjPs
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @FRidh merged pull request #52828 → pyflame: fix the build on machines with kernel.yama.ptrace_scope > 0 → https://git.io/fhU5E
<{^_^}> [nixpkgs] @FRidh pushed 2 commits to master: https://git.io/fjjPW
logzet has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #68190 → imv: 3.1.2 -> 4.0.1 → https://git.io/fjj0s
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/fjjP8
<{^_^}> [nixpkgs] @FRidh merged pull request #68216 → eksctl: 0.5.1 -> 0.5.2 → https://git.io/fjjo4
<{^_^}> [nixpkgs] @FRidh pushed commit from @xrelkd to master « eksctl: 0.5.1 -> 0.5.2 »: https://git.io/fjjP4
<{^_^}> [nixpkgs] @FRidh merged pull request #68145 → cri-o: 1.15.0 -> 1.15.1 → https://git.io/fjjYM
<{^_^}> [nixpkgs] @FRidh pushed commit from @saschagrunert to master « cri-o: 1.15.0 -> 1.15.1 »: https://git.io/fjjPB
dansteeves has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #68141 → hugo: 0.57.2 -> 0.58.0 → https://git.io/fjjmg
<{^_^}> [nixpkgs] @FRidh pushed commit from @amazari to master « hugo: 0.57.2 -> 0.58.0 »: https://git.io/fjjP0
<{^_^}> [nixpkgs] @FRidh merged pull request #68136 → vscode-extensions.ms-vscode.cpptools: 0.25.0 -> 0.25.1 → https://git.io/fjjLC
<{^_^}> [nixpkgs] @FRidh pushed commit from @eadwu to master « vscode-extensions.ms-vscode.cpptools: 0.25.0 -> 0.25.1 »: https://git.io/fjjPE
<{^_^}> [nixpkgs] @FRidh merged pull request #68156 → cockroachdb: 1.19.1 -> 1.19.4 → https://git.io/fjjs9
<{^_^}> [nixpkgs] @FRidh pushed commit from @vladdy to master « cockroachdb: 1.19.1 -> 1.19.4 »: https://git.io/fjjPu
<{^_^}> [nixpkgs] @FRidh merged pull request #68099 → graphviz: stable_release_2.40.1 tag disappeared → https://git.io/fjhCu
<{^_^}> [nixpkgs] @FRidh pushed commit from @dylex to master « graphviz: use git hash for removed release tag »: https://git.io/fjjPa
Acou_Bass has joined #nixos
Acou_Bass has quit [Client Quit]
<{^_^}> [nixpkgs] @FRidh merged pull request #68076 → xorg.xinput: 1.6.2 -> 1.6.3 → https://git.io/fjhYn
<{^_^}> [nixpkgs] @FRidh pushed commit from @dtzWill to staging « xorg.xinput: 1.6.2 -> 1.6.3 »: https://git.io/fjjPw
shyim has joined #nixos
szicari has quit [Ping timeout: 252 seconds]
fresheyeball has quit [Quit: WeeChat 2.4]
v88m has joined #nixos
szicari has joined #nixos
iqubic has joined #nixos
o1lo01ol1o has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
jb55 has quit [Ping timeout: 260 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @WilliButz opened pull request #68221 → remove prometheus1 → https://git.io/fjjPS
evanjs has joined #nixos
jb55 has joined #nixos
<ivan> does anyone else use the usbguard GUI?
ixxie has quit [Ping timeout: 246 seconds]
<ivan> (0.7.5 upgrade in master removed it and if someone else is reverting it maybe it's worth reverting in nixpkgs)
<kalbasit> I'm curious, what format is `nar.xz`? How can I decompress one and look inside?
selfsymmetric-pa has joined #nixos
<ivan> man nix-store and check the OPERATION --DUMP section
stramble-M has quit [Remote host closed the connection]
stramble-M has joined #nixos
dasj19 has quit [Quit: dasj19]
<{^_^}> [nixpkgs] @tetraptych opened pull request #68222 → Add pygam 0.8.0 → https://git.io/fjjXv
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #68223 → rustracerd: fix darwin build → https://git.io/fjjXT
<aminechikhaoui> Any systemd gurus around :) ? I have a server @work that started showing the following when I deploy/run a simple command such as systemctl
<aminechikhaoui> `System has not been booted with systemd as init system (PID 1). Can't operate.`
<aminechikhaoui> first time I see this kind of error which is really weird
<ivan> aminechikhaoui: did systemd crash?
sigmundv has quit [Ping timeout: 244 seconds]
<multun> Init crashing results in a kernel panic.
<multun> So no
<aminechikhaoui> yeah don't see anything in the logs that show any crash
<{^_^}> [nixpkgs] @erictapen opened pull request #68224 → scribusUnstable: use harfbuzzFull instead of harfbuzz → https://git.io/fjjXt
<aminechikhaoui> and I'm sshing to the server so sshd for instance is running
<aminechikhaoui> seems like services are running
<aminechikhaoui> just some kind of issues in the way systemd checks itself ? :D
ixxie has joined #nixos
<ivan> aminechikhaoui: systemd source says it checks for /run/systemd/system/
<aminechikhaoui> right strace shows it couldn't find that
<{^_^}> [nixpkgs] @vcunat pushed to master « ghc on aarch64: try to work around #66277 »: https://git.io/fjjXq
<ivan> check your journal for things touching /run or trying to delete everything?
<manveru> aminechikhaoui: so... what's pid 1 then?
<aminechikhaoui> manveru systemd :)
<manveru> :D
<aminechikhaoui> ivan yeah might be something that deleted it, I'll check the history
<aminechikhaoui> not the only one using the server so who knows :)
<{^_^}> [nixpkgs] @lheckemann merged pull request #68221 → remove prometheus 1 → https://git.io/fjjPS
<{^_^}> [nixpkgs] @lheckemann pushed 4 commits to master: https://git.io/fjjXm
Zer0xp has joined #nixos
AntonSchirg[m] has left #nixos ["User left"]
<{^_^}> [nixpkgs] @FRidh pushed 83 commits to staging-next: https://git.io/fjjXn
Zer0xp has quit [Ping timeout: 276 seconds]
asymptotically has joined #nixos
aswanson has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @FRidh merged pull request #68203 → Staging next → https://git.io/fjj2X
knupfer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 169 commits to master: https://git.io/fjjXc
<{^_^}> [nixpkgs] @FRidh pushed 66 commits to staging-next: https://git.io/fjjXC
lord| has quit [Read error: Connection reset by peer]
aswanson has joined #nixos
<selfsymmetric-pa> Where can I see the status of 19.09?
nfip^ has quit []
lord| has joined #nixos
<ivan> it hasn't been branched yet
<{^_^}> [nixpkgs] @alyssais merged pull request #68204 → [security] exim: 4.92.1 -> 4.92.2 → https://git.io/fjj29
<{^_^}> [nixpkgs] @alyssais pushed commit from @pacien to master « exim: 4.92.1 -> 4.92.2 »: https://git.io/fjjXB
npmccallum has quit [Quit: npmccallum]
<{^_^}> [nixpkgs] @alyssais merged pull request #68205 → [19.03] [security] exim: 4.92 -> 4.92.2 → https://git.io/fjj2H
<{^_^}> [nixpkgs] @alyssais pushed commit from @pacien to release-19.03 « exim: 4.92 -> 4.92.2 »: https://git.io/fjjX0
<{^_^}> [nixpkgs] @symphorien opened pull request #68225 → epkowa: update → https://git.io/fjjXE
<selfsymmetric-pa> Any way to predict when it will be?
<{^_^}> [nixpkgs] @FRidh merged pull request #68032 → systemd: fix CVE-2019-15718 → https://git.io/fjhtp
iqubic has quit [Ping timeout: 244 seconds]
<sphalerite> selfsymmetric-pa: tomorrow :)
lord| has quit [Ping timeout: 264 seconds]
<selfsymmetric-pa> :O So exciting!
<selfsymmetric-pa> sphalerite++
<{^_^}> sphalerite's karma got increased to 65
<sphalerite> of course that doesn't mean it'll be released tomorrow ;) but beta starts
<DariusTh`> I am trying to use the derivation here: https://nixos.wiki/wiki/R#Jupyter_Notebook
Myhlamaeus1 has quit [Remote host closed the connection]
<buckley310> 19.09 will be branched directly off of master, right?
npmccallum has joined #nixos
<DariusTh`> On ubuntu it works but not on macos
<infinisil> buckley310: Yeah
<infinisil> Release should follow in ~1month
<buckley310> sweet, an update just merged into master yesterday that i want :)
<DariusTh`> Depending on whether I use nixpkgs-unstable or nixos-19.03 I get different errors
<DariusTh`> I suppose I should raise a ticket
lord| has joined #nixos
<DariusTh`> builder for '/nix/store/bjq49yyvwpl1xz1xan166qp248xgr1i0-qtwebkit-5.212-alpha-01-26-2018.drv' failed with exit code 1
Zer0xp has joined #nixos
<shyim> Hey
<DariusTh`> configure: error: Platform surfaceless requires libdrm >= 2.4.75
<DariusTh`> builder for '/nix/store/2scpxw8yic4f46qa0bz8msz7w5b3srlx-mesa-noglu-18.3.4.drv' failed with exit code 1
<{^_^}> [nixpkgs] @simonchatts opened pull request #68226 → pythonPackages.ncclient: enable Python 3 support → https://git.io/fjjXg
boxscape has quit [Ping timeout: 258 seconds]
lord| has quit [Read error: Connection reset by peer]
<infinisil> So if somebody wants to potentially have their PR in the next release, now's the time to mention it :)
lord| has joined #nixos
chr15 has joined #nixos
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
evanjs| has joined #nixos
iqubic has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
ilikeheaps has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #68227 → network-interfaces.nix: escape '.' in interface names passed to sysctl → https://git.io/fjjXM
ozychhi has quit [Quit: WeeChat 2.5]
<codedmart> What is the best way to set vim as nvim. Ie I installed nvim and have it working. I added an environment.shellAlias but when I git commit it expects vim.
DariusTh` has quit [Ping timeout: 246 seconds]
<codedmart> Rather then change the git config there are other programs that rely on vim. What is the best way to global have vim run nvim?
<waleee-cl> codedmart: you have to set the EDITOR environment variable
<codedmart> in bash?
<waleee-cl> yes
<waleee-cl> ... or did you ask if you can set it in configuration.nix?
<codedmart> I was thinking in configuration.nix.
<evanjs> man configuration.nix example is { EDITOR = "nvim"; VISUAL = "nvim"; }
<evanjs> in environment.variables
<waleee-cl> environment.variables.EDITOR = "nvim"
<evanjs> But I just use home-manager :P
<waleee-cl> ah you found it
<evanjs> Which has programs.neovim.vimAlias and programs.neovim.viAlias
<codedmart> Ah right thanks!
<waleee-cl> which I guess doesn't quite cut if for git
<emily> yeah, aliases don't help you with external programs
<evanjs> welp. Mine seems to work
<evanjs> e.g. help.txt Nvim
<evanjs> inside a git commit -v .
<evanjs> Perhaps the wording of the option is misleading
<evanjs> description: Symlink `vim` to `nvim` binary.
<waleee-cl> hm, isn't there some options for vim where you can set which vim-package it should use?
<evanjs> For NixOS, I'm not certain, outside of overrides. For home-manager: programs.neovim.package and programs.vim.package.
<codedmart> hmm... I set EDITOR = "nvim" but when I echo I still see vim?
<codedmart> Is something else overriding it possibly?
xkapastel has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<evanjs> might need to log out and back in. I can never remember
knupfer has joined #nixos
<codedmart> I did that :(
<{^_^}> [nixpkgs] @FRidh pushed 26 commits to staging-next: https://git.io/fjjXh
<waleee-cl> do you use zsh or some other shell as your interactive shell? I don't remember if environment.variable.___ will set it in non-bash shells
<codedmart> I just use bash
WhittlesJr has joined #nixos
<waleee-cl> ... try the "nuclear" option and reboot and see if it still persists?
<WhittlesJr> Would someone with commit rights and an interest in Jenkins like to look at this one-line PR? https://github.com/NixOS/nixpkgs/pull/66124
<{^_^}> #66124 (by WhittlesJr, 4 weeks ago, open): nixos/jenkins: Copy plugins as .jpi instead of .hpi
<{^_^}> [nixpkgs] @FRidh pushed 111 commits to staging: https://git.io/fjj1e
<{^_^}> [nixpkgs] @sikmir opened pull request #68228 → alpine: fix links → https://git.io/fjj1v
<emptyfl4sk> I've just been looking into nixops and how to use it in a work environment where any developer could provision/deploy -- what's the currently preferred way of handling this? having a nixops repo and using `-s localstate.nix` and committing, using krops, or what?
<{^_^}> [nixpkgs] @FRidh merged pull request #68217 → pythonPackages.elpy: drop package → https://git.io/fjjKB
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to master « pythonPackages.elpy: drop package »: https://git.io/fjj1m
orivej has quit [Ping timeout: 264 seconds]
dansteeves has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dansteeves has joined #nixos
DariusTh` has joined #nixos
<pbb> ,locate include efi.h
<pbb> ,locate bin bash
<WhittlesJr> emptyfl4sk: Our network + modules are all in a git repo, and each developer's machine can clone the repo and create a local deployment targeting the whole network. The trick lies in ensuring that everyone uses the same channel. Only way I know of to deal with that is documentation, but maybe someone here has a better idea.
<{^_^}> Found in packages: bash, bash_5, bashInteractive, bashInteractive_5
<{^_^}> Found in packages: R, ao, cl, go, i3, iv, v8, vc, wt, wv, ace, agg, apt, arb, bro, bsc, caf, cbc, cdk, cln, clp, daq, dar, dee, dlx, ecl, ecm, eql, fam, fox, gap, gdl, gle, glm, gmm, gpm, gsl, gsm, gss, gts, h2o, hpx, ijs, iml, ipe, isl, itk, k3b, k3d, kbd, kea, lrs, lsh, lua, lv2, lxc, lzo, mlt, mps, mpv, msf, nas, nco, ntk, ntl, nut, ode, ois, ola, olm, osl, pcl, ppl, ppp, qbs, qt3, qt4, qwt, re2, rxp, sbc, scs, sox, srt, stb, stp, and 3383 more
<pbb> ,locate efi.h
<{^_^}> Found in packages: gnu-efi, linux.dev, linux_mptcp.dev, linuxPackages_4_4.kernel.dev, linuxPackages_4_9.kernel.dev, linuxPackages_5_0.kernel.dev, linuxPackages_4_14.kernel.dev, linuxPackages_4_20.kernel.dev, linuxPackages_xen_dom0.kernel.dev, linuxPackages_latest-libre.kernel.dev, linuxPackages_latest_hardened.kernel.dev, linuxPackages_latest_xen_dom0.kernel.dev, linuxPackages_testing_bcachefs.kernel.dev, linuxPackages_xen_dom0_hardened.kernel.dev
<{^_^}> [nixpkgs] @alyssais merged pull request #68228 → alpine: fix links → https://git.io/fjj1v
<{^_^}> [nixpkgs] @alyssais pushed commit from @sikmir to master « alpine: fix links »: https://git.io/fjj1W
FRidh2 has quit [Quit: Konversation terminated!]
<emptyfl4sk> WhittlesJr: same channel as in nixpkgs channel? I was thinking of just using one specific commit... But what do you do about the nixops state?
dansteeves has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @alyssais merged pull request #68150 → gerrit: 2.14.6 -> 3.0.2 → https://git.io/fjjOB
<{^_^}> [nixpkgs] @alyssais pushed commit from @petabyteboy to master « gerrit: 2.14.6 -> 3.0.2 »: https://git.io/fjj1l
<pbb> ,locate elf_x86_64_efi.lds
<{^_^}> Found in packages: gnu-efi
WhittlesJr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @dywedir opened pull request #68229 → source-serif-pro: 2.010 -> 3.000 → https://git.io/fjj1R
alex``` has quit [Ping timeout: 258 seconds]
evanjs| has quit [Ping timeout: 244 seconds]
ddellacosta has joined #nixos
alex``` has joined #nixos
<infinisil> pbb: I recommend PM'ing the bot :)
<{^_^}> [nixpkgs] @johanot opened pull request #68230 → morph: 1.2.0 -> 1.3.0 → https://git.io/fjj12
evanjs| has joined #nixos
xelxebar_ has joined #nixos
xelxebar has quit [Ping timeout: 260 seconds]
<pbb> infinisil: good point, sorry
phreedom_ has joined #nixos
<infinisil> No worries :)
logzet has quit [Ping timeout: 264 seconds]
phreedom has quit [Ping timeout: 260 seconds]
DariusTh` has quit [Ping timeout: 264 seconds]
knupfer has quit [Ping timeout: 264 seconds]
WhittlesJr has joined #nixos
growpotkin has quit [Read error: Connection reset by peer]
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @Chiiruno opened pull request #68231 → Update: Zeronet, Init: pythonPackages: merkletools → https://git.io/fjjMv
<WhittlesJr> emptyfl4sk: Yeah, nixpkgs channel. Like you said, you can also use a specific commit. Specifically what we do is this: we have a branch at whatever commit of nixpkgs we want, which may include PRs that aren't yet merged into master. Then we create the deployment like this:nixops create <path to network definition>.nix -d <name of deployment> -I
<WhittlesJr> nixpkgs=https://<private github address>/<organization>/nixpkgs/tarball/<branch name>Each machine can do this. I've never encountered a need to share the "NixOps state." As long as the network definition stays in sync and everyone's on the same channel, it works just fine. I usually add the `-k` flag to `nixops deploy` to clean up machine names
<WhittlesJr> that may have gotten deleted or renamed in the network definition.
selfsymmetric-pa has joined #nixos
<WhittlesJr> (sorry for bad formatting)
ixxie has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/56c18e6fef7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
Okinan has quit [Quit: Konversation terminated!]
selfsymmetric-pa has quit [Remote host closed the connection]
<WhittlesJr> emptyfl4sk: Er that may have gotten screwed up, here's the command again just in case:
Okinan has joined #nixos
<WhittlesJr> emptyfl4sk: `nixops create <path to network definition>.nix -d <name of deployment> -I nixpkgs=https://<private github address>/<organization>/nixpkgs/tarball/<branch name>`
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67917 → nixos/lightdm: fix pam rules → https://git.io/fjpzT
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjjMY
evanjs| has joined #nixos
shibboleth has quit [Quit: shibboleth]
visrelic has quit [Remote host closed the connection]
emptyfl4sk has quit [Ping timeout: 268 seconds]
__monty__ has quit [Quit: leaving]
alex``` has quit [Ping timeout: 245 seconds]
numkem has joined #nixos
tokudan has quit [Quit: ZNC 1.7.3 - https://znc.in]
orivej has joined #nixos
<numkem> Hello, I'm planning on switching to NixOS soon (already running it on a server) and was wondering if there was a way to use the packages for KDE from unstable instead. Some packages expose an option for doing just that.
tokudan has joined #nixos
jgeerds has quit [Ping timeout: 244 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.27.1 -> 1.27.2 »: https://git.io/fjjM4
selfsymmetric-mu has quit [Remote host closed the connection]
<alexarice[m]> numkem: you want to run everything from stable apart from KDE?
<{^_^}> [nixpkgs] @primeos opened pull request #68232 → [19.03] signal-desktop: 1.26.2 -> 1.27.1 (backport) → https://git.io/fjjMR
<numkem> alexarice[m]:I'm gonna pull some packages from unstable since I'd like to get a recent version. Or maybe I should just use unstable. I'm really not sure what would be best
<alexarice[m]> numkem: it is easy to switch between stable and unstable channels so you could always try unstable and if you don't like it you could switch to stable
<alexarice[m]> but it is also possible to get some packages from stable and some from unstable
<numkem> so far on my server I've done the trick to add the unstable channel as the "unstable" variable in the config. I haven't really played much with channel appart from that
<infinisil> ,unstable numkem
iqubic has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #68233 → nixos/plasma5: enable libinput → https://git.io/fjjMM
iqubic has joined #nixos
<numkem> my understanding is nixpks-unstable is only the packages while the other is the whole OS (master?)
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjjM7
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68233 → nixos/plasma5: enable libinput → https://git.io/fjjMM
abathur has joined #nixos
gyroninja has quit [Ping timeout: 258 seconds]
<alexarice[m]> numkem: nixpkgs-unstable is the same packages as nixos-unstable. it just has fewer tests
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
asymptotically has quit [Quit: Leaving]
gyroninja has joined #nixos
<numkem> alexarice[m]:got it, thank you
<numkem> I think I'll just switch to unstable and see how it goes
<evanjs> I've been considering just adding a "master" channel to my config for some packages because I'm so impatient...
mbrgm_ has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to master: https://git.io/fjjDf
mbrgm has quit [Ping timeout: 276 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @NeQuissimus pushed 5 commits to release-19.03: https://git.io/fjjDU
selfsymmetric-mu has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #68234 → rtags: 2.16 -> 2.33 → https://git.io/fjjDT
polman has quit [Ping timeout: 245 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
Soo_Slow has quit [Remote host closed the connection]
polman has joined #nixos
adamantium has joined #nixos
noudle has quit []
ddellacosta has quit [Ping timeout: 244 seconds]
wildtrees has quit [Quit: Leaving]
evanjs| has quit [Ping timeout: 246 seconds]