andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
henry_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @Infinisil merged pull request #85241 → Revert "lib/options: Use escapeNixIdentifier for showOption" → https://git.io/Jfe5b
<{^_^}> [nixpkgs] @Infinisil pushed 3 commits to master: https://git.io/JfvJn
vidbina_ has quit [Ping timeout: 240 seconds]
<bqv> <stdin>:2:0: internal compiler error: Segmentation fault
<bqv> :D
Darkmatter66 has joined #nixos
Darkmatter66_ has quit [Ping timeout: 265 seconds]
Blessjah has quit [Ping timeout: 264 seconds]
Blessjah has joined #nixos
bkv has joined #nixos
bqv has quit [Ping timeout: 240 seconds]
henry_ has joined #nixos
Zer000 has quit [Quit: Leaving]
zeta_0 has joined #nixos
iyzsong has joined #nixos
<zeta_0> hey everyone, i've had problems using ghcide in nix-shell(it's not recognizing the haskell packages/modules), have you guys had similar issues? https://github.com/digital-asset/ghcide/issues/527
<{^_^}> digital-asset/ghcide#527 (by zeta-00, 7 hours ago, open): ghcide is not recognizing haskell pkgs/modules:
<dsal> Is there any magic for making my projects' needs sticky from a gc perspective? i.e., I'd like to be able to gc, but also would like to keep things around I use a lot.
* dsal downloads world after gc
ncl has joined #nixos
<mdash> dsal: sure, nix-store --add-root
invra has joined #nixos
<dsal> What does it look for?
<mdash> dsal: a store path
<ottidmes> dsal: I am pretty sure lorri has something for this for nix-shell's and for system related stuff that has no GC roots, you could always create a little dummy derivation that writes the out paths of the stuff you want to some file, making sure they are considered part of the system, even though they are not in e.g. systemPackages
m0rphism has quit [Ping timeout: 250 seconds]
<invra> hey guys i am following the wiki to install nixos from my running system.. https://nixos.wiki/wiki/Installing_from_Linux i am stuck tho at the point where i run nixos-install
<dsal> In this case, I've just got a vanilla stack project. That causes ghc, gcc, and a bunch of other stuff to come down.
<invra> http://dpaste.com/3KSWSDG this is the error
<dsal> invra: nix-channel --update
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfvJS
<dsal> Hmm... You don't even have a channel.
<invra> the only difference is that i used the latest minimal install iso nixos-minimal-19.09.2405.f6c1d3b113c-x86_64-linux.iso
<invra> i followed the wiki world by word
<invra> im not sure
<zeta_0> dsal: the nix-pills have a section on garbage collection, if you haven't seen that yet: https://nixos.org/nixos/nix-pills/garbage-collector.html
<zeta_0> dsal: i'm assuming you meant garbage collector when you said `gc`
<invra> dsal what should i do?
<dsal> invra: Yeah, it just looks like you weren't given a channel. I had a similar thing where I ended up with a channel, but it needed to be updated. I'm not entirely sure how you ended up with no channel at all. :/
<dsal> zeta_0: I read through that. I'm just not entirely sure how to make a stack project be a gc root.
<energizer> dsal: lorri does it automatically
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3759b67af2d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ncl has left #nixos [#nixos]
<dsal> invra: You could try adding the channel. sudo nix-channel --add https://nixos.org/channels/nixos-19.09 nixos ; sudo nix-channel --update
<dsal> energizer: I'm doing this on my mac like an evil heritic.
<dsal> But good to know. I'm using lorri on my nixos machine where I should be right now.
<energizer> dsal: lorri supports macos
<dsal> hmm... Deeper into the rabbit hole, I guess.
<dsal> Not sure it works as a service.
bkv has quit [Ping timeout: 246 seconds]
<energizer> i dont have a mac, but i'd bet it does
bqv has joined #nixos
<dsal> I mean home-manager's magic doesn't work.
<energizer> that's supposed to work too
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #83822 → atari++: 1.81 -> 1.83 → https://git.io/Jv5L3
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfvUt
<zeta_0> energizer: i'm happy with lorri, but i can't get ghcide to recognize haskell's pks and modules: https://github.com/digital-asset/ghcide/issues/527
<{^_^}> digital-asset/ghcide#527 (by zeta-00, 7 hours ago, open): ghcide is not recognizing haskell pkgs/modules:
<energizer> zeta_0: i can't help with that
<hr[m]> dsal: I use lorri on mac. I use tmux for all terminal usage so just run a 'background' session with `lorri daemon`
<zeta_0> energizer: oh, do you know someone else that understands this issue? because i've been stuck on this issue for a while
<dsal> I was trying some of the magic setups.
<energizer> zeta_0: a lot of people in here use haskell, but i'm not one of them
<dsal> I mostly program in haskell, but I don't use ghcide. *shrug*
thc202 has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @taku0 opened pull request #85256 → flashplayer: 32.0.0.344 -> 32.0.0.363 → https://git.io/JfvUc
<zeta_0> oh ok, this same ghcide setup works fine in home-manager, so something might be wrong with nix-shell, or it's that i'm missing something
bqv has quit [Ping timeout: 240 seconds]
bqv has joined #nixos
<zeta_0> when i add a haskell package and go into a nix-shell, nix builds the hoogle database and the haddock, so maybe it has something to do with lorri in emacs, i don't know, i'm just guessing
<invra> what is wrong with my configuration http://dpaste.com/1YA02SH it wont let me install
pi123 has quit [Quit: WeeChat 2.3]
johnjay has joined #nixos
<energizer> invra: 'services.xserver.enable' at /mnt/etc/nixos/configuration.nix:79:3 already defined at /mnt/etc/nixos/configuration.nix:76:3
<zeta_0> invra: i think that means that you defined `services.xserver.enable` twice, look at lines 76 and 79
organixpear has joined #nixos
<invra> dsal what should i do?ohh!!
<invra> ohh!
<invra> wow that was some random
<invra> message lol
<{^_^}> [nixpkgs] @marsam opened pull request #85257 → nodejs-13_x: 13.12.0 -> 13.13.0 → https://git.io/JfvUg
h0m1 has quit [Ping timeout: 246 seconds]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #85236 → corerad: 0.2.2 -> 0.2.3 → https://git.io/JfeS1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfvUr
medvid has quit [Ping timeout: 250 seconds]
broccoli has quit [Ping timeout: 256 seconds]
pbb has quit [Ping timeout: 272 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/1ad005458f4 (from 9 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
ntqz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #85258 → netdata: 1.21.0 -> 1.21.1 → https://git.io/JfvUy
inkbottle has joined #nixos
markus1199 has joined #nixos
zebrag has quit [Ping timeout: 265 seconds]
markus1189 has quit [Ping timeout: 256 seconds]
morgrimm has quit [Ping timeout: 256 seconds]
medvid has joined #nixos
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 260 seconds]
morgrimm has joined #nixos
cyraxjoe has joined #nixos
MightyJoe has quit [Ping timeout: 240 seconds]
morgrimm has quit [Ping timeout: 258 seconds]
sigmundv_ has quit [Ping timeout: 260 seconds]
leotaku has quit [Ping timeout: 264 seconds]
leotaku has joined #nixos
MightyJoe has joined #nixos
cyraxjoe has quit [Ping timeout: 265 seconds]
morgrimm has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
captjakk has quit [Remote host closed the connection]
morgrimm has quit [Ping timeout: 256 seconds]
plutes has quit [Quit: See ya around!]
asbachb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @AndersonTorres closed pull request #84518 → mednafen: 1.22.2 -> 1.24.1 → https://git.io/JvAYw
h0m1 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jb55 opened pull request #85259 → colorpicker: init at git-2018-01-14 → https://git.io/Jfvko
h0m1 has joined #nixos
reallymemorable has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 250 seconds]
felixfoertsch23 is now known as felixfoertsch
<dsal> Well, I got direnv and lorri working on my mac without any regard to why I wanted to do it in the first place.
evertedsphere has joined #nixos
hmpffff has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « be able to directly search from navbar »: https://git.io/JfvIB
henry_ has quit [Quit: henry_]
hmpffff_ has quit [Ping timeout: 265 seconds]
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « hide search in navbar when on search pages »: https://git.io/JfvIr
xkapastel has quit [Quit: Connection closed for inactivity]
captjakk has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #85230 → haskellPackages.postgrest: unbreak → https://git.io/JfeXp
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfvIK
romildo has quit [Quit: Leaving]
jb55 has joined #nixos
teto has quit [Ping timeout: 246 seconds]
<clever> energizer: line 395, the configDir defaults to a subdir of dataDir
<clever> energizer: line 444, the home of the user is set to dataDir, and createHome=true; is set, so nixos will try to make the user and chown the dir to it
<clever> energizer: line 31, something is made that points to the configDir
<clever> energizer: line 474, 476, 479, 487, things are copied to configDir and the program is ran and told where to find configDir
<energizer> clever: why provide a dataDir parameter at all instead of just a configDir?
<clever> energizer: not sure, maybe some things in syncthing expect it to be in ~/.config/syncthing, so its being setup with dataDir as the parent and $HOME, to maintain that setup
<clever> energizer: oh!, line 394!!
<clever> energizer: if you are at least nixos 19.03, it will use ${dataDir}/.config/syncthing, but if you are older then 19.03, everything goes directly into dataDir
bqv has quit [Remote host closed the connection]
<clever> so that was changed somewhere just before march of 2019
<clever> and its using stateVersion to figure out if you installed before or after, and keep it from changing and breaking
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<energizer> clever: aha, got it. thanks
<zeta_0> clever: hello again, i was finally able to get ghcide working in 2 shell.nix's, but for some reason ghcide is not recognizing the haskell pkgs/modules, like when i try to import a module: https://dpaste.org/C4Un https://dpaste.org/d0XE
<clever> zeta_0: ive not used ghcide, so i'm not sure i can help much more
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7e07846d99b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<zeta_0> clever: it's ok i understand, i'm trying to find someone that can help me fix this problem, i've posted the issue on github already, and waiting for someone to respond, this setup works fine in home.nix, but with nix-shell, i've ran into some problems
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
LysergicDreams has quit [Ping timeout: 250 seconds]
LysergicDreams has joined #nixos
<dsal> I'm trying an armv7 install and am really confused.
<dsal> I booted sd-image-armv7l-linux.img and like, is this even nixos?
<gchristensen> I would assume so
<gchristensen> where did you get it from?
<dsal> It doesn't have any nix-looking stuff on it
<clever> dsal: what is it lacking?
<dsal> It doesn't have anything with 'nix' in the name. No configuration.nix, no nix-rebuild, etc...
<gchristensen> not sure where you actually got the file from
<clever> dsal: what is in /lib ?
<dsal> no /lib
<clever> dsal: what about /nix ?
<dsal> No nix
<clever> dsal: ls -l / ?
<dsal> I did an ls -lR | grep nix | grep -v unix Nothing showed up.
<clever> dsal: which directory did you run that in?
<dsal> root@dolphin-fvd-p1:/ # ls -lR / | grep nix | grep -v unix
<clever> dsal: that looks like android
<clever> dsal: if you plug a monitor in, youll see it should look identical to android
<dsal> I don't have a monitor.
<zeta_0> i am finally able to get ghcide recognize the haskell pkgs/modules, it was because ${emacs} needed to be replaced with $(emacs) , damn syntax, https://dpaste.org/FUS9
<dsal> oh wait.
<dsal> I just rebooted without the sd card.
<dsal> It does the same thing.
cantstanya has quit [Ping timeout: 240 seconds]
<dsal> OK. This makes a bit more sense.
<zeta_0> finally i was stuck trying to get this to work for 2 days
<clever> dsal: you have netboot setup?
<dsal> No. No idea what this is booting off of. I think it's coming from... inside the computer.
<clever> dsal: what computer is it?
<dsal> orange pi pc plus
<dsal> I used to run armbian on it
<clever> dsal: ahh, i was thinking it was an rpi
cantstanya has joined #nixos
<dsal> I think there's more magic that needs to be done. I just wrote the stuff with etcher, but further docs suggest there's other required junk.
<clever> dsal: the 1st pic here, says there is an 8gig EMMC chip on it, which is basically an 8gig SD card
<dsal> Oh. I didn't know this had one. I've got another machine that does. Pretty handy.
<dsal> Well, once I figure out how to boot off of SD, we should be in good shape.
<clever> dsal: down under "boot u-boot", you need a copy of the right u-boot blob at a certain offset within the SD card
<clever> dsal: you may need to do that, after using etcher to put sd-image-armv7l-linux.img onto the SD card
<dsal> Yeah, I found some nixos specific docs that also suggested that.
<clever> one min
eyJhb has quit [Quit: Clever message]
<dsal> Going to see how this goes. I was just super creeped out by having an OS booted on this that seemed unrelated to the SD card I put in.
eyJhb has joined #nixos
eyJhb has quit [Changing host]
eyJhb has joined #nixos
<clever> dsal: this shows how to get a u-boot-sunxi-with-spl.bin using nix, but it needs an armv7 builder
<clever> and that happens to be the exact name you need for the orange pi as well
<{^_^}> [nixpkgs] @marsam merged pull request #85257 → nodejs-13_x: 13.12.0 -> 13.13.0 → https://git.io/JfvUg
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfvtx
<{^_^}> [nixpkgs] @marsam merged pull request #85245 → openttd: 1.10.0 -> 1.10.1 → https://git.io/JfeF1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jfvtj
<clever> dsal: it looks like my banana-pi and your orange-pi are both sunxi/allwinner based, so the exact same directions work on both
<dsal> Awesome. Huh. Now it's trying to pxeboot.
growpotkin has quit [Ping timeout: 256 seconds]
<clever> dsal: #nixos-aarch64 may also be of more help
zaeph1 has joined #nixos
<zeta_0> when i run nix-shell, emacs opens up and all the ghcide stuff works, but when i try to do this through lorri+direnv in emacs(emacs-direnv), ghcide does not recognize haskell's pkgs/modules, i guess i'm going to need to contact the lorri devs for help on this
<cole-h> Is there a way to disable networking for a specific test VM (VM being `nix-build ./nixos/tests/...`)?
zaeph has quit [Ping timeout: 256 seconds]
<cole-h> Trying to test a test, and it keeps getting stuck on networking stuff (nscd)
freeman42x has quit [Ping timeout: 246 seconds]
<zeta_0> gchristensen: hello there, yesterday i read a nixos weekly post on lorri, and i saw your name as one of the authors of the post, anyways, do you have any idea why i'm running into this issue? i'm sorry to bother you, i'm looking for someone that has expertise in lorri
selfsymmetric-mu has left #nixos ["gone to the land of dead hiccups and extinguished light bulbs"]
codygman___ has joined #nixos
abathur has quit [Quit: abathur]
<zeta_0> gchristensen: if you can't help me its ok, i'm just trying to find someone for help, i've only been using nix for about 6 months, so there's still a lot that i don't know
<cole-h> (It's late for him, so I wouldn't be surprised if he's already left)
<simpson> zeta_0: Get everything working with direnv first, and then extend that to working with lorri, perhaps. direnv is plenty tough to debug on its own.
<codygman___> zeta_0: Start from a Haskell environment working if that's what you're trying to get help with, I started with this and adapted my project to it: https://medium.com/better-programming/easily-reproducible-development-environments-with-nix-and-direnv-e8753f456110
<codygman___> environment working with direnv/nix-shell*
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84519 → icewm: update url → https://git.io/JvAYx
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jfvqg
<zeta_0> simpson codygman___ : my setup is: (lorri+direnv+emacs-direnv), i've tested it and it works great, the only functionality that i'm missing is: ghcide is not recognizing certain things when using lorri in emacs, the workaround that i'm using now is just executing `nix-shell`, which opens up emacs with ghcide being able to recognize everything: https://dpaste.org/gdcs
<zeta_0> codygman___: thanks for the link, i'll take a look now
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84398 → cherrytree: 0.39.0 -> 0.39.2 → https://git.io/JvN2M
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jfvqr
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84345 → sound-of-sorting: 2015-07-21 -> 2017-12-23 → https://git.io/JvNsi
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jfvqo
<codygman___> zeta_0: Could it be the problem I ran into today with ghcide not supporting multi cradle yet. There is an experimental branch that supports multi-cradle by mpickering but I couldn't get it building because lsp-types/etc issues.
<codygman___> ah I see you said it works fine in nix-shell
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84275 → cimg: 2.8.4 -> 2.9.0 → https://git.io/Jvb5R
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfvqK
orivej has joined #nixos
<simpson> zeta_0: Okay, that's the sort of workaround that could break everything. Running lots of nix-shells recursively, with some in direnv and some not.
<codygman___> so everything seemed to work fine for my project then didn't work for some reason with ghcide... and I *think* the reason for me was I have a test directory for instance that kept throwing errors. Do you have an hie.yaml cradle for your project?
<simpson> You'll probably want to do your environment setup in your .envrc, not in your shell.nix.
<{^_^}> [nixos-homepage] @garbas pushed to landing-page « some more structure to landing page »: https://git.io/Jfvq6
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<zeta_0> codygman___: no i don't have a hie.yaml setup, i hope the devs automate that soon so i don't have to mess with it, and i haven't messed with .envrc, so far i've just left it to it's default
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84607 → libtap: 1.12.0 -> 1.14.0 → https://git.io/JvAPe
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jfvq1
<zeta_0> codygman___: i'm probably having the same issues your having, but that hie-bios stuff confuses the hell out of me
<codygman___> zeta_0: What does your ghcide output look like after cd'ing into your project directory and the direnv initialization happens?
evanjs- has quit [Quit: ZNC 1.7.5 - https://znc.in]
<codygman___> hie-bios supports multi cradle, I felt I was going insane today too until I used the `hie-bios check` command with my multi-cradle to prove I wrote it correclty. Shortly after I found the issue about multi-cradle not yet implemented in ghcide.
<codygman___> it is implemented in hie, but last time I used hie I had performance issues so not ready for potential disappointment there again (even if it's really just my fault it's slow because I'm setting it up wrong)
<codygman___> it == multi-cradle
<zeta_0> simpson: ya, in my .envrc file, all that's there is: `eval "$(lorri direnv)"` , so i maybe need to add more things to get my setup to work correctly
<zeta_0> codygman___: one second, i'm going to test it out again
evanjs has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84603 → gp2c: 0.0.11pl2 -> 0.0.11pl3 → https://git.io/JvA62
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfvqS
<simpson> zeta_0: I would try first getting a simpler `use nix` setup working, and incrementally build up .envrc until it has the right environment.
<simpson> IME it's usually only like 5-10 lines, mostly `export` commands.
<srxl[m]> When is a derivation's setup hook called?
<zeta_0> here's the: direnv buffer in emacs: http://dpaste.com/0QPY8TM , and here's cd'ing in terminal: https://dpaste.org/JaSP
<codygman___> zeta_0: From in that terminal I wanted to see the ghcide output so I could see what cradle it's using
<zeta_0> codygman___: https://dpaste.org/i0SO
drakonis has quit [Quit: WeeChat 2.8]
<codygman___> So that implies that ghcide is working, is that correct? What is broken and what action do you use to reproduce that issue?
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84587 → ppsspp: 1.9.3 -> 1.9.4 → https://git.io/JvAVF
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jfvmf
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84539 → mksh: 57 -> 58 → https://git.io/JvAG7
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfvmI
<zeta_0> with this shell.nix: https://dpaste.org/NcYb , when i run nix-shell in terminal, emacs opens up into the directory and ghcide is able to recognize modules when i try to import, but when i try to use (lorri+direnv+emacs-direnv) in emacs, ghcide works but it's not able to recognize modules, like when i try to import Yesod for example
<zeta_0> codygman___: ^
<zeta_0> codygman___: so it's not an error, more like missing functionality
domogled has quit [Ping timeout: 240 seconds]
bqv has joined #nixos
<{^_^}> [nixpkgs] @globin pushed 1000 commits to structured-attrs: https://git.io/JfvmZ
mjrosenb has quit [Ping timeout: 264 seconds]
<codygman___> zeta_0: show me the output of `ghcide` from an `M-x shell` buffer after cd'ing into that same directory
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « librsvg: fix eval »: https://git.io/Jfvmc
<codygman___> also compare `which ghcide` (might require adding to your shell.nix) in both the normal shell and the shell within emacs that takes on emacs-direnvs variables
<hyper_ch> hmm, the nixos live cd can be booted into bios and uefi... is it possible to do so also with a real install, that it can be started from bios and uefi?
<srxl[m]> When does a derivation's setupHook get called? And what are the arguments passed to it?
<codygman___> The eglot package for emacs uses a version of flymake that doesn't have a feature I want. I made a nix expression that installs flymake and verified it doesn't have the feature I want, but then I had trouble overriding that emacs' eglot dependencies flymake version with an overlay. It just seems to use the old flymake version and not my overlay.,
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85260 → nix-zsh-completions: 0.4.3 -> 0.4.4 → https://git.io/Jfvm8
<{^_^}> [nixpkgs] @globin pushed to structured-attrs « python.pkgs.cryptography: fix merge »: https://git.io/Jfvmu
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85261 → notejot: 1.6.0 -> 1.6.3 → https://git.io/Jfvmg
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84538 → jupp: 31 -> 39 → https://git.io/JvAGQ
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/Jfvm2
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84631 → Update biblesync+sword → https://git.io/JvAQ5
<{^_^}> [nixpkgs] @AndersonTorres pushed 3 commits to master: https://git.io/Jfvma
drakonis1 has joined #nixos
tf29 has joined #nixos
mjrosenb has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos
<zeta_0> codygman___: sorry i took so long, i was getting a glass of orange, let me run those commands real quick, then i'll show you the output
<tf29> if I use nix to install nginx, where can I find those configuration files to configure nginx?
<zeta_0> tf29: for configuration.nix: https://nixos.org/nixos/options.html#services.nginx , i'm not sure if home-manager has those options yet
drakonis1 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #85262 → freerdp: re-enable tests except for one failing test → https://git.io/JfvmX
<tf29> I only have nix on my fedora, does configuration.nix work as well?
<{^_^}> [nixpkgs] @jamesottaway opened pull request #85263 → git: 2.25.1 -> 2.26.1 → https://git.io/JfvmS
<codygman___> Ah the manual told me how to always ensure my chose emacs version is used transitively with `overrideScope` at the bottom of https://nixos.org/nixpkgs/manual/#sec-emacs
<zeta_0> codygman___: ok, i cd'd into the dir, did M-x shell, and executed `ghcide`: https://dpaste.org/5abm
<zeta_0> codygman___: i'm doing the which ghcide right now, hold on a bit
reallymemorable has quit [Quit: reallymemorable]
<zeta_0> tf29: here's the main nix wiki: https://nixos.wiki/ , there's a nix-pills link that should help you get started
tf29 has quit [Remote host closed the connection]
<zeta_0> codygman___: both in emacs shell and terminal: https://dpaste.org/U9oo
<zeta_0> codygman___: do i need to add `which ghcide` as a value to an environment variable in shell.nix?
<codygman___> zeta_0: No, I was just trying to rule out any issue with emacs-direnv.
<codygman___> I haven't set any environment variables for ghcide to work with nix actually, but I keep hearing others say they had to use them.
<codygman___> Sorry I couldn't help more
efriend has quit [Quit: Wed Apr 15 00:39:18 2020]
efriend has joined #nixos
<zeta_0> codygman___: it's ok, i learned a couple of new things which is great
<zeta_0> codygman___++
<{^_^}> codygman___'s karma got increased to 1
<zeta_0> hopefully that multi-cradle support comes soon
ddellacosta has quit [Ping timeout: 265 seconds]
Intensity has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #85264 → git-lfs: git config and git hook should refer to full path of git-lfs → https://git.io/JfvYU
<zeta_0> later, thanks for the help everyone
<codygman___> zeta_0: Hopefully indeed. Also <3 for the +'s. Gnight.
relaxmax has joined #nixos
<codygman___> If anyone can help on overriding transitive (think that's the case here) emacs dependencies I posted my problem in detail on discourse: https://discourse.nixos.org/t/override-a-transitive-emacs-dependency/6700
zeta_0 has left #nixos ["rcirc on GNU Emacs 26.3"]
magnetophon has joined #nixos
<{^_^}> [nixpkgs] @ryantm closed pull request #85260 → nix-zsh-completions: 0.4.3 -> 0.4.4 → https://git.io/Jfvm8
<{^_^}> [nixpkgs] @etu opened pull request #85266 → transifex-client: 0.13.6 -> 0.13.9 → https://git.io/JfvY8
<srhb> codygman___: That does seem surprising. To confirm, can you try overriding eglot specifically in overrides, passing in flymake? Just to confirm that's really what's going on.
<srhb> codygman___: I would _assume_ that p is construct with the new "callPackage-analog" from the fixpoint.
<srhb> (Which i guess is what you are assuming as well)
palo1 has joined #nixos
endformationage has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85267 → nix-zsh-completions: 0.4.3 -> 0.4.
Heirlung has quit [Ping timeout: 256 seconds]
bqv has quit [Ping timeout: 246 seconds]
bqv has joined #nixos
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<codygman___> srhb: Not quite sure how you mean, like this maybe? `eglot = super.eglot.override({ buildInputs = [];});`
<codygman___> that still builds atually, maybe emacs packages use another attribute besides buildInputs?
<srhb> codygman___: I'm surprised if eglot takes buildInputs as an argument at all (I would expect it to take flymake)
<srhb> codygman___: So yes, that looks vaguely like "p is not what we expect"
troydm has quit [Ping timeout: 240 seconds]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<codygman___> srhb: I'm not sure it's quite what your thinking, but I tried this and it doesn't work (a flymake temp file is still created and I don't see that version of flymake in the directory it's installed in): https://github.com/codygman/flymake-default-temp-file-clutter-haunts-me/commit/8951fe321c1d7705f3af636210a25000fe21699a
<srhb> codygman___: Then again, now that I look at it, I the flymae override looks wrong too, it's just a source. Shouldn't it be an emacs package of some kind? Or is that normal for emacsPackages?
<codygman___> srhb: I think you are right.. it's late :)
Heirlung has joined #nixos
captjakk has quit [Ping timeout: 264 seconds]
chagra has joined #nixos
<srhb> codygman___: This is what I think you meant to write: https://gist.github.com/af60d32b1cf8cc21b20957726ba45f81
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a584339fafc (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
chagra_ has quit [Ping timeout: 258 seconds]
zeenk has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #85262 → freerdp: re-enable tests except for one failing test → https://git.io/JfvmX
<{^_^}> [nixpkgs] @lheckemann closed pull request #85020 → freerdp: re-enable tests → https://git.io/JvhQp
<{^_^}> [nixpkgs] @lheckemann pushed 2 commits to master: https://git.io/JfvO9
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
disasm has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @knedlsepp opened pull request #85268 → python: Fix creating RPMs from Python packages → https://git.io/JfvOj
<codygman___> srhb That nix expression looks like it would work, but I'm getting: No such file or directory, haskell-mode :D link again to github if needed: https://github.com/codygman/flymake-default-temp-file-clutter-haunts-me/blob/master/emacs.nix
<srhb> codygman___: To clarify, when do you get that err?
<jluttine> How do I make "none" desktop manager available in nixos? My sddm doesn't list it as an option and I can't figure out how to enable it..
<codygman___> When running nix-shell --pure emacs.nix --keep HOME --run "emacs --batch --eval='(load \"$HOME/init.el\")'" with https://github.com/codygman/flymake-default-temp-file-clutter-haunts-me/blob/master/init.el
drakonis has quit [Ping timeout: 246 seconds]
<srhb> codygman___: Sorry, reintroduce your mkDerivation if you want to do that.
<codygman___> jluttine I found the answer with this github search: https://github.com/search?q=none+language%3Anix+filename%3Aconfiguration.nix&type=Code
<codygman___> I change to `filename:home.nix` for home-manager examples ;)
disasm has joined #nixos
<jluttine> codygman___: desktopManager.session is deprecated. I used displayManager.defaultSession="none" but it didn't get listed..
<srhb> jluttine: I remember changing mine to xterm for some reason in 19.09.
<srhb> jluttine: What are you actually trying to achieve?
linarcx has joined #nixos
<jluttine> srhb: just a minimal DE which is started by user's .xinitrc. basically i3 but i don't want to use nixos i3 window manager option.
<srhb> I have a setup like that, launching ~/.xsession from lightdm, which in turn starts xmonad..
drakonis has joined #nixos
<srhb> But I think that was all reverted...
<srhb> jluttine: So it looks to me that if desktopManager.xterm.enable = true; and you have an ~/.xsession (not sure if ~/.xinitrc works, isn't that for startx without a DM?) it should work like it does on my system.
<{^_^}> [nixpkgs] @euank opened pull request #85269 → containerd: fix --version output → https://git.io/Jfv3r
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85270 → openvdb: 6.2.1 -> 7.0.
drakonis1 has quit [Ping timeout: 256 seconds]
drakonis_ has joined #nixos
zaeph1 is now known as zaeph
<srhb> codygman___: Does that still cause problems?
drakonis has quit [Ping timeout: 246 seconds]
<jluttine> srhb: ok. sddm just opens xterm now.. as if it doesn't read my .xsession file which just executes i3
linarcx has quit [Quit: WeeChat 2.8]
<codygman___> srhb: Yes. I also tried messing with `propogatedUserEnvPkgs ` and passing flymake directly to eglot https://github.com/codygman/flymake-default-temp-file-clutter-haunts-me/blob/cbc91421d0d94734bad747ec03f0fa5cc952002d/emacs.nix#L13
<srhb> jluttine: Huh, okay, I guess I'm wrong then
<jluttine> srhb: or i'm doing something wrong which is very much possible.. :/
<srhb> jluttine: I don't think I'm doing anything else to make it work here, so I'm a bit surprised.
<srhb> codygman___: Not the same problem though, right?
<srhb> codygman___: As in file not found
<jluttine> srhb: are you using nixos-unstable?
<codygman___> srhb: Right, the file is found it's just using the old version of flymake stil.
<srhb> codygman___: I'm not convinced that it is. I can certainly see that the path of flymake is changed in the closure of the new emacs
<srhb> jluttine: I am. But I have not altered this part of my setup since 19.09 beta iirc.
<srhb> codygman___: However, when I grep for flymake-run-in-place in the final flymake path, I get no results. I do see it in its source though, so maybe emacs packages are different
captjakk has joined #nixos
<codygman___> srhb: I see in my nixstore that the right one downloaded somewhere
<srhb> codygman___: Yes. And it is used in your composed emacs, but I feel like my assumption about src is wrong
<jluttine> srhb: ah, .xsession needs to be executable..
<srhb> jluttine: Oh. That did it? :P
<srhb> codygman___: flymake isn't even a (proper) dependency of haskell-mode as far as I can see..
<srhb> codygman___: Looks like a lot of assumptions went wrong here :-)
<jluttine> srhb: yep! Thanks for the tip. Though I still find it weird that it's "xterm" I need to choose in sddm :D
captjakk has quit [Ping timeout: 256 seconds]
<srhb> jluttine: Yes, it's discussed in linked issues from the one I linked, but unfortunately no one has fixed it yet :)
asheshambasta has joined #nixos
<codygman___> srhb: haskell-mode has an init function later loaded by flymake-init it uses.
<codygman___> so flymake is only activated in a haskell buffer if haskell-mode is present IIRC
<srhb> codygman___: Yes, but it's not a nix dependency of haskell-mode. Oh, I think I see. The installPhase of flymake uses the elpa package directlry
<srhb> codygman___: So maybe your pure src approach was actually right
<srhb> But how does Emacs know how to find it the...
<srhb> codygman___: Well, at least that's the problem. The actual flymake needs to override the installPhase or something to point emacs at the new source. I don't know how to tell emacs to do that though
waleee-cl has joined #nixos
Naptra has joined #nixos
<dsal> Trying a stack project build from lts on my Mac. It's currently building ghc. Hopefully it finishes tonight.
<{^_^}> [nixpkgs] @sternenseemann opened pull request #85272 → asn1-combinators: 0.2.0 -> 0.2.2 → https://git.io/Jfvsh
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85273 → otfcc: 0.9.6 -> 0.10.
<srhb> dsal: From _which_ lts?
<srhb> dsal: I'm assuming you're using Nix to get ghc?
<dsal> Yeah. stack --resolver=lts
<dsal> I think it's available via normal stack.
<srhb> What does hat mean? Which lts does that give you?
<srhb> Oh
<dsal> 15.8
<dsal> Whatever the latest is
<srhb> I'm not sure what that has to do with Nix then?
<dsal> There's no compiled ghc, so it's building one.
<srhb> Sorry, I guess I thought this was a support request. :P
<dsal> Haha. No
<dsal> I guess maybe 20.03 on Mac doesn't have ghc 8.8.3 (I think... Not at my computer)
<srhb> dsal: If you want Nix caching, enable Nix in stack and use the LTS we're based on for your nixpkgs rev.
<srhb> (or don't use stack at all)
invra has quit [Quit: WeeChat 2.3]
invra has joined #nixos
<dsal> I'm using nix in stack. I've got a few projects with different lts versions. I think it's just the latest that's missing, and it seems to only be on Mac. I started the build so long ago I forgot was I was building.
<dsal> I'll see the various build glory in the morning, I guess.
relaxmax has quit [Ping timeout: 260 seconds]
LysergicDreams has quit [Ping timeout: 258 seconds]
ATuin has joined #nixos
<srhb> codygman___: This ends up with the correct closure at least, as far as I can see: https://gist.github.com/f2af4c7e046838f0df6bcd2eb24509ea
<srhb> codygman___: Emacs packages are weird, it's probably easier defining flymake from scratch than figuring out how to override the individual kinds of packages
<srhb> codygman___: For instance, overriding melpa packages is different from elpa packages etc., and none of them expose the source in an easily overridable way, hence the overriding of elpaBuild itself.
maddo has joined #nixos
<srhb> codygman___: But I'm talking out of my ass, I don't know the emacs infra in nixpkgs. This does what I think you want though. :)
relaxmax has joined #nixos
<srhb> They even have some primitives for overriding sources, but it looks like they're all unexported
<srhb> codygman___: And I can at least see flymake run in place in M-x customize-group
LysergicDreams has joined #nixos
<codygman___> srhb I can verify that does print out a different version of flymake. However.. a temp file is still being created... why flymake... why not just have a choice of how to create temp files... lol
<codygman___> ah you're right its in customize group
<codygman___> now I just have an elisp error :D
<codygman___> thanks!
cole-h has quit [Ping timeout: 264 seconds]
<srhb> Welcome. Always fun diving into new and diffent infras in nixpkgs..
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85274 → pgmetrics: 1.8.1 -> 1.9.
<{^_^}> [nixpkgs] @vbgl opened pull request #85275 → ocamlPackages.merlin: 3.3.3 → 3.3.4 → https://git.io/JfvGD
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85276 → pidgin-carbons: 0.1.3 -> 0.2.
Jackneill has quit [Ping timeout: 252 seconds]
codygman___ has quit [Ping timeout: 240 seconds]
nschoe has joined #nixos
xO1 has joined #nixos
disasm has quit [Ping timeout: 258 seconds]
cfricke has joined #nixos
disasm has joined #nixos
rauno has joined #nixos
Jackneill has joined #nixos
revtintin has joined #nixos
mallox has joined #nixos
<{^_^}> [nixpkgs] @jamesottaway opened pull request #85277 → git: 2.25.1 -> 2.25.3 → https://git.io/JfvZD
opthomasprime has joined #nixos
revtintin has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jamesottaway opened pull request #85278 → Allow the Git update script to target non-latest versions → https://git.io/JfvZQ
Ariakenom has joined #nixos
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85279 → pwsafe: 1.09.0 -> 3.52.
Darkmatter66 has quit [Ping timeout: 265 seconds]
cjpbirkbeck has quit [Quit: cjpbirkbeck]
m0rphism has joined #nixos
opthomasprime has left #nixos [#nixos]
lsix has joined #nixos
Darkmatter66 has joined #nixos
sogatori has joined #nixos
arjen-jonathan has joined #nixos
Ariakenom has quit [Ping timeout: 264 seconds]
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @rnhmjoj merged pull request #78129 → airsonic: fix virtualHost option → https://git.io/JvI6z
<{^_^}> [nixpkgs] @rnhmjoj pushed 2 commits to master: https://git.io/Jfvnq
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85280 → qtstyleplugin-kvantum-qt4: 0.11.2 -> 0.15.
revtintin has joined #nixos
seku has joined #nixos
dermetfan1 has joined #nixos
relaxmax has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rnhmjoj pushed commit from Florian to release-20.03 « airsonic: enable nginx.recommendedProxySettings with virtualHost »: https://git.io/Jfvnr
<energizer> i have a bunch of configuration values that are shared between different machines except for certain parts that need to be passed. for example i have ` users.users.${username} = {isNormalUser = true; group = username; extraGroups = [ "wheel" "networkmanager" ]; shell = pkgs.zsh;};`
relaxmax has joined #nixos
<energizer> where the username needs to be passed in
<energizer> is `users = import ./users.nix {username="energizer";}` the way to do this?
<energizer> ideally i could somehow put it in the imports list but still pass it the username
johnw has quit [Ping timeout: 260 seconds]
<nschoe> Hi everyone. Has anyone any luck with Font Awesome in nixOS ?
captjakk has joined #nixos
andi- has quit [Ping timeout: 264 seconds]
johnw has joined #nixos
andi- has joined #nixos
relaxmax has quit [Ping timeout: 256 seconds]
<nschoe> energizer, IIUC this will work, but you need your ¨users.nix¨ file to be a function which takes ¨username¨ as an argument. So it would look somehting like: {username} : {users.users.${username} = {isNormalUser = true, [...]
<nschoe> (But I´m pretty new to nixOS so don take what I say for the Holly Truth)
captjakk has quit [Ping timeout: 240 seconds]
domogled has joined #nixos
Jackneill has quit [Ping timeout: 256 seconds]
nschoe has quit [Ping timeout: 256 seconds]
xiaomat has joined #nixos
relaxmax has joined #nixos
domogled has quit [Quit: domogled]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85281 → rdma-core: 28.0 -> 29.
<xiaomat> Hey everyone! I'm trying to configure plugins for mattermost, but have run into a small issue. The /var/lib/mattermost/client directory points to the read-only filesystem /nix/store[..], which makes mattermost unable to create ./client/plugins etc... Is this a mistake or am I missing some configuration?
<arianvp[m]> I'm pretty sure it's a mistake
<{^_^}> [nixpkgs] @xrelkd opened pull request #85282 → sn0int: init at 0.18.2 → https://git.io/JfvCf
<arianvp[m]> I remember running into it as wel
<arianvp[m]> Perhaps we should make plugins configurable as nix derivations?
<arianvp[m]> Instead of through matter most UI. Not sure if there's an option for that yet
<{^_^}> [nixos-hardware] @Mic92 merged pull request #153 → Improve support for t460s → https://git.io/Jfex5
<{^_^}> [nixos-hardware] @Mic92 pushed 3 commits to master: https://git.io/JfvCU
<xiaomat> @arianvp:matrix.org: It would make it much easier to deploy. How would I go about fixing this situation without wrecking everything?
<xiaomat> (so ./client gets writeable now)
<arianvp[m]> You mean how to unblock yourself right away?
<arianvp[m]> Hmm lemme think
<xiaomat> Yes
<xiaomat> I'm fairly new to NixOS :)
<xiaomat> Not sure where the pitfalls lay yet ;)
<arianvp[m]> Cool! Welcome
mvnetbiz_ has joined #nixos
jgeerds_ has quit [Remote host closed the connection]
<arianvp[m]> Usually wherever mutability pops up :p
jgeerds_ has joined #nixos
<xiaomat> Thanks, I'm peasantly surprised so far :)
<arianvp[m]> Ah I remember now that my matter most install is in fact an Ubuntu box not a NixOS box... Darnit
<xiaomat> The only wart I have seen yet is persistant /var/lib/<dependency package> lingering after removing <responsible package> from configuration.nix, so data would be tainted after getting reintroduced in configuration.nix. It was solved by manually deleting /var/lib/<dependency package>
<arianvp[m]> What happens when you set services.mattermost.mutableConfig = true ?
<xiaomat> The config is mutable
<xiaomat> Set in configuration.nix
civodul has joined #nixos
<arianvp[m]> Yes state is always hard unfortunately
scribbler has joined #nixos
<arianvp[m]> NixOS makes 99% of your things immutable. That is everything up to "actually storing state that is needed"
Jackneill has joined #nixos
scribbler has quit [Remote host closed the connection]
<xiaomat> Just the way I like it :)
<arianvp[m]> And it's hard to make choices there. Should your dB be nuked if you remove the postgres module?
<arianvp[m]> Probably not.
revtintin has quit [Ping timeout: 250 seconds]
<arianvp[m]> This line symlinks the paths where plugins are to an immuabtle thing
<arianvp[m]> You could try overriding the preStart task manually so it copies the files instead of symlink
<arianvp[m]> It's a hack!! There be dragons. But it would work :p
__monty__ has joined #nixos
snicket has joined #nixos
<arianvp[m]> systemd.services.mattermost.preStart = lib.mkForce "your hack here"
<xiaomat> I thought an easier hack would be to delete the symlink, make a proper directory and copy content into it?
<arianvp[m]> That will also work.
<xiaomat> I guess it would be overwritten on next rebuild switch, right?
knupfer has joined #nixos
<arianvp[m]> Yep.
o1lo01ol1o has joined #nixos
thc202 has joined #nixos
<xiaomat> hmm
<arianvp[m]> Hence I think overriding the preStart might be a bit more permanent
<xiaomat> Oh, that's persistant?
<arianvp[m]> Yes. Your configuration.nix is the truth
<arianvp[m]> So if you say "I actually want the preStart to be X" it will be X
<xiaomat> Oh, right, forgot it goes into configuration.nix, I had systemd configuration in my head
<arianvp[m]> Yeh we change the systemd configuration through the configuration.nix
<xiaomat> right
<arianvp[m]> Could you open an issue about msttermost plugins? We could either make mutable folders for plugins opt in or add NixOS module options for installing plugins. Both sound useful
<{^_^}> [nixpkgs] @talyz merged pull request #85227 → testssl: 3.0rc6 -> 3.0 → https://git.io/JfeKp
<{^_^}> [nixpkgs] @talyz pushed 2 commits to master: https://git.io/JfvC5
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<xiaomat> It's unfortunately a big barrier of entry for me to make a github issue right now, but I'll help in other ways if possible :)
broccoli has joined #nixos
sigmundv_ has joined #nixos
lsix has quit [Quit: WeeChat 2.7.1]
<xiaomat> @arianvp:matrix.org: Thanks for the help! :)
<arianvp[m]> Bugs can also be reported through a mailing list for people who can not or don't want to use GitHub FYI
<arianvp[m]> I think?
<arianvp[m]> Anyhow I'll create a ticket myself
<xiaomat> Thanks! Your help is much appreciated :)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1d8a8d0359a (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
relaxmax has quit [Ping timeout: 260 seconds]
lsix has joined #nixos
<arianvp> Has anybody gotten keycloak running on NixOS?
revtintin has joined #nixos
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
aswanson has quit [Quit: WeeChat 2.7.1]
buckley310 has joined #nixos
LysergicDreams has quit [Ping timeout: 250 seconds]
pbb has joined #nixos
boegel has joined #nixos
<xiaomat> arianvp: I guess I have to write out a complete preStart that replaces the one defined in the package, right? What would be the sane way to write the variables - type them out manually or import the whole environment needed for their definitions? Is there any easy way to import all the definitions required in preStart?
fendor has joined #nixos
LysergicDreams has joined #nixos
<arianvp> let cfg = cfg = config.services.mattermost;
<arianvp> I think by default (if you leave out mkForce) it will _append_ to the preStart script
o1lo01ol1o has joined #nixos
<arianvp> perhaps you can use that to your advantage
<xiaomat> ahh
<xiaomat> That's nice
<xiaomat> You mean "let cfg = config.services.mattermost;"?
<arianvp> yes
<arianvp> sorry typo :P
PlasmaStrike has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85283 → smarty3: 3.1.34 -> 3.1.3
vk3wtf has quit [Quit: WeeChat 2.7.1]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<xiaomat> I'm unsure where to put the statement without getting a syntax error for an unexpected let...
<xiaomat> I thought about doing something like this (not sure about the syntax): https://cryptpad.fr/code/#/2/code/edit/26JvHiFP9lDtDb1dvzGqioGh/
zupo has joined #nixos
rauno has quit [Remote host closed the connection]
<xiaomat> Ok, I think I have figured out the syntax, but new cfg is defined for whole config :o
<xiaomat> Apr 15 11:08:44 koma 8gihlykfnb8ak5kxlhcvl9xnzsqva3qi-unit-script-mattermost-pre-start[1691]: ln: /var/lib/mattermost/client: cannot overwrite directo>
<xiaomat> Guess it has to be forced
CMCDragonkai has quit [Remote host closed the connection]
evertedsphere has quit [Ping timeout: 258 seconds]
<xiaomat> And then we are back to defining everything
wspthr6 has joined #nixos
wspthr has quit [Read error: Connection reset by peer]
wspthr6 is now known as wspthr
asymmetric has quit [Remote host closed the connection]
Mrmaxmeier5 has joined #nixos
asymmetric has joined #nixos
xqsl has quit [Remote host closed the connection]
DerGuteMoritz has quit [Ping timeout: 258 seconds]
Mrmaxmeier has quit [Ping timeout: 258 seconds]
DerGuteMoritz has joined #nixos
Mrmaxmeier5 is now known as Mrmaxmeier
xqsl has joined #nixos
<xiaomat> Cool, so now I'm getting "error: cannot coerce a set to a string," for " systemd.services.mattermost.preStart = lib.mkForce '' "
M-Gregoire495 has quit [Ping timeout: 256 seconds]
revtintin has quit [Ping timeout: 256 seconds]
johnny101m has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e393449b434 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
revtintin has joined #nixos
pingiun has joined #nixos
revtintin has quit [Ping timeout: 260 seconds]
<xiaomat> arianvp: Thanks for the help, I have everything working now, except for the fact that all the plugins requires a newer matter version xD
<xiaomat> Just tell me if you want the preStart diff
troydm has joined #nixos
<ocharles> Has anyone seen this before? "error: opening file '/proc/27578/setgroups': No such file or directory". I get this when I try and install Nix on an Ubuntu 14.04 machine
captjakk has joined #nixos
<ocharles> The PID changes on each invocation, not really sure what's up...
ok2`- has joined #nixos
vidbina_ has joined #nixos
ok2` has quit [Ping timeout: 264 seconds]
<DamienCassou> hi
<DamienCassou> I have this message when doing a git fetch on the nixos-hardware repo:
<DamienCassou> > unable to access 'https://github.com/NixOS/nixos-hardware.git/': SSL certificate problem: unable to get local issuer certificate
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):296:18
ok2`- is now known as ok2`
<DamienCassou> I'm on NixOS :-)
captjakk has quit [Ping timeout: 260 seconds]
knupfer has quit [Ping timeout: 240 seconds]
revtintin has joined #nixos
zupo has quit [Ping timeout: 256 seconds]
noudle has joined #nixos
zupo has joined #nixos
revtintin has quit [Ping timeout: 250 seconds]
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
magnetophon has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to master « nix-zsh-completions: 0.4.3 -> 0.4.4 (#85267) »: https://git.io/Jfv4j
<{^_^}> [nixpkgs] @hedning merged pull request #85267 → nix-zsh-completions: 0.4.3 -> 0.4.
magnetophon has joined #nixos
<thequux[m]> ocharles: Your kernel is too old. I think you need at least 3.8, but I'm not sure.
<ocharles> thequux[m]: I'm on 3.16
<thequux[m]> hmm... does /proc/self/setgroups exist?
<thequux[m]> Ah, you need 3.19
<thequux[m]> at least for that specific file
<ocharles> oof
<thequux[m]> You may be able to get around it by disabling sandboxing, but I don't know how to do that from the nix installler
<ocharles> I can't upgrade this kernel :( Any idea when Nix started requiring this?
<ocharles> How did you find out 3.19 is needed?
<thequux[m]> Search for setgroups on http://man7.org/linux/man-pages/man5/proc.5.html
magnetophon has quit [Ping timeout: 256 seconds]
magnetophon has joined #nixos
chloekek has joined #nixos
<ocharles> rad, thanks
<{^_^}> [nixpkgs] @andersk opened pull request #85284 → system-syzygy: Fix invalid desktopFile arguments → https://git.io/JfvBt
<thequux[m]> Are you stuck on that kernel because nothing newer is packaged for 14.04 or because you need some out-of-tree module?
<ocharles> "Old releases are also available." on https://nixos.org/download.html takes me to https://releases.nixos.org/nix which an S3 error message :(
<ocharles> thequux[m]: neither. I'm trying to get Nix onto a machine that isn't really a server, but rather a machine that drives some proprietary machinery. I don't really want to go messing with the kernel on that if I can avoid it
waleee-cl has quit [Quit: Connection closed for inactivity]
<sshow> What is the recommended type in place of types.string?
<thequux[m]> Oof. Having dealt with such hardware, I agree with your abundance of caution
broccoli has quit [Quit: leaving]
<srhb> sshow: types.str
<srhb> sshow: Well, really it depends on your data.
<srhb> sshow: It could be lines, or commas, or [ ... ]
<ocharles> thequux[m]: yea... given the fact that we just had an engineer "upgrade" the machines and they are still running an unsupported Ubuntu LTS... I don't wanna touch this any more than I have to!
<srhb> ocharles: Yikes!
<thequux[m]> I'd almost wonder about how advisable it is to be playing with the software on it at all
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @stigok opened pull request #85285 → lib/types: give usage hint in types.string deprecation message → https://git.io/JfvBz
<ocharles> Not very, but we've been doing it for a year or two now (and need to, but I can't go into more specifics). But we do it by installing Nix and then copying closures over, so at least we aren't messing with /usr/bin
joko has joined #nixos
<sshow> srhb: but I think types.str is fine here. The deprecation message for types.string does not show what should be used instead.
<sshow> srhb: I made this draft PR. Maybe you could take a look and leave a comment? https://github.com/NixOS/nixpkgs/pull/85285
<{^_^}> #85285 (by stigok, 52 seconds ago, open): lib/types: give usage hint in types.string deprecation message
<{^_^}> [nixpkgs] @tfc opened pull request #85286 → meshcommander: init at 0.8.0-e → https://git.io/JfvB2
<srhb> sshow: There is no exact analog because the behaviour of `string` is what was wrong. Re-implementing that under a different name makes no sense. So the programmer is forced to make a choice of what's semantically correct instead. :)
<srhb> sshow: Which is why the answer "str" I gave was wrong in principle.
<sshow> srhb: but for newbies, could it be that it is the correct assumption anyway?
<srhb> sshow: It depends how, if at all, you want config values to merge.
<srhb> sshow: say two modules define yourOption = "foo" and yourOption = "bar" -- what should the final value be? Or should it be an error?
<ocharles> Looks like our last machine ran 2.0.4, so I'll try and install that
revtintin has joined #nixos
<{^_^}> [nixpkgs] @spacekookie closed pull request #78199 → Mullvad VPN module → https://git.io/JvLYR
Ariakenom has quit [Ping timeout: 256 seconds]
CMCDragonkai has joined #nixos
<{^_^}> [nixpkgs] @ElXreno closed pull request #85076 → chromium-vaapi: init → https://git.io/Jvj3d
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @kirelagin opened pull request #85287 → pgpgme: Fix build with python on macOS → https://git.io/JfvB6
<sshow> srhb: okay. I see. Do you think the deprecation message could be further improved to provide some more information? Like next steps you should take? Or a page you should read?
<evils> ocharles: https://nixos.wiki/wiki/Nix_Installation_Guide mentions disabling sandboxing, which is enabled since Nix 2.2; keep in mind that wiki is unofficial, there's no guarantee about fitness for purpose
<ocharles> evils: thanks, I'll take a look that. For now I installed 2.0.4 and that seemed to at least install and `nix-env` did something
<srhb> sshow: Leading question! Of course. ;-) It's sort of intended to be implied in the message, but if it wasn't clear to you, improvements are definitely an idea.
<srhb> sshow: And just to be clear, `str` is what you want if you want two modules defining different values for your option to be an _error_
<sshow> srhb: Ok, cool with the `str` behaviour. I don't meant to be leading :P I totally out of my habitat with functional programming and nix in general, so I don't know what should be assumed of the user's knowledge
<srhb> sshow: Frankly I'm not sure either. I would have thought it was rare for self-described beginners to write their own options, but maybe my expectations are wrong. :)
<sshow> srhb: I'm a trial and failure kind of guy. I am connecting my own dots as I go right now. You may be right too
<srhb> sshow: Makes sense. :) Maybe it helps if I motivate why the option was bad
<sshow> srhb: It could be beneficial either way to link to the manual describing string types. The only one I can find is https://nixos.org/nixos/nix-pills/basics-of-language.html#idm140737320621664
<sshow> and that link looks like something that will be broken in a doc update
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85288 → vertcoind: 0.14.0 -> 0.15.0.
<srhb> sshow: People ended up using it for config files with multi lines
<srhb> sshow: Say, `directive1 = value1\ndirective2 = value2` -- but now, if they added `directive3 = value3` in a second file, that would cause a missing newline, rendering the config file invalid.
<srhb> s/file/module
<srhb> sshow: Yeah, I believe this section was added to the manual after the deprecation warning was created: https://nixos.org/nixos/manual/#sec-option-types
<sshow> I see. I understand your point. And I definitely think a warning is great! I just think the warning can be further improved :D
<srhb> sshow: Please do. :)
<srhb> sshow: fwiw people have used the actual source files for documentation until recently because there _was_ no documentation.
<sshow> Is the option types the only place you defined string functions?
<srhb> So module writers were prone to go grepping for the message in the source tree.
<sshow> srhb: good to know. I will do my best to help improve them
<srhb> sshow: I didn't understand that question, sorry.
<sshow> srhb: is when creating options the only place you use types.* types?
<srhb> sshow: Afaik yes.
<srhb> The module system is the only part of nixpkgs (NixOS, really) that's equipped to handle them.
<{^_^}> [nixpkgs] @7c6f434c merged pull request #85129 → advancecomp: version number correctly embedded in binaries → https://git.io/JvjPO
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/JfvRf
<srhb> Some people retrofit it for other purposes, though. But same rule applies, usually. Only new options use these types.
m4ts has quit [Quit: bye]
vk3wtf has joined #nixos
m4ts has joined #nixos
jeromelanteri has quit [Quit: Leaving]
<sshow> Cool! Thanks :) I am learning a lot here!
<srhb> You're welcome.
<sshow> srhb++ ofc
<{^_^}> srhb's karma got increased to 100
<{^_^}> [nixpkgs] @sternenseemann opened pull request #85289 → fetchFromGitHub: add possibility to fetch release assets → https://git.io/JfvR8
dsg has quit [Remote host closed the connection]
chloekek has quit [Ping timeout: 256 seconds]
ok2` has quit [Ping timeout: 240 seconds]
ok2` has joined #nixos
snicket has quit [Remote host closed the connection]
snicket has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85290 → xmrig-proxy: 5.0.1 -> 5.10.
cfricke has quit [Quit: WeeChat 2.8]
<{^_^}> [nix] @edolstra merged pull request #3458 → NIX_USER_CONF_FILES → https://git.io/Jv7Mi
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jfv0f
<{^_^}> [nix] @edolstra merged pull request #3492 → SourceExprCommand: allocate the vSourceExpr via uncollectable memory → https://git.io/JfeJp
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Jfv0U
evertedsphere has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85291 → zafiro-icons: 1.0 -> 1.
ok2`- has joined #nixos
ok2` has quit [Ping timeout: 256 seconds]
johnny101m2 has joined #nixos
ok2`- is now known as ok2`
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 272 seconds]
pingiun has quit [Read error: Connection reset by peer]
zaeph has quit [Read error: Connection reset by peer]
pingiun has joined #nixos
zaeph has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85292 → acpica-tools: 20200110 -> 2020032
Guest30 has joined #nixos
<Guest30> How could I write an option which has the same type with `users.users.<name>`?
pingiun has left #nixos ["Textual IRC Client: www.textualapp.com"]
<Guest30> If I just copy the submodule, it would be dumb and next time if module in nixpkgs updates, I have to cope with the updates.
<immae> I don’t understand your question Guest30
noudle has quit []
{`-`} has joined #nixos
judson has joined #nixos
ggp0647 has joined #nixos
locallycompact has quit [Remote host closed the connection]
cr4y1 has quit [Ping timeout: 264 seconds]
v0|d has quit [Read error: Connection reset by peer]
<arianvp> xiaomat: that's why you're getting that error
Ultrasauce has joined #nixos
<xiaomat> Ehm... How would plugins ever work for mattermost on NixOS then?
<immae> Guest30: I’m sorry I still don’t understand your question... ^_^'
bbarker has quit [Quit: Leaving]
<arianvp> you'll need to rewrite the .so file paths in the binary
apeyroux has quit [Ping timeout: 258 seconds]
mg- has quit [Ping timeout: 258 seconds]
jtcs has joined #nixos
<xiaomat> arianvp: Seems reasonable for why it's happening, but I'm not quite sure of how its hould be fixed.
locallycompact has joined #nixos
<arianvp> it means you'll need to make a nix derivation for the plugins that either ubild the binaries from source, or patch in the correct libraries
mg- has joined #nixos
apeyroux has joined #nixos
<immae> Guest30: you want to apply some configuration to every user defined via users.users.<name> maybe?
<xiaomat> So much work :(
<immae> Can you tell us the end goal of what you’re trying to achieve?
<xiaomat> Guess I won't be having plugins on this mattermost anytime soon :|
<{^_^}> [nixpkgs] @petabyteboy opened pull request #85293 → WIP: gitlab: 12.8.8 -> 12.9.3 → https://git.io/JfvEt
<arianvp> xiaomat: yep. im sorry :( it's just NixOS is very ... precise about what it wants to run
KeiraT has quit [Ping timeout: 240 seconds]
<arianvp> it cant guess where libraries are.
<Guest30> I want to write the options which would be passed through to `users.users.<name>` and other customized modules together
<arianvp> because there is no global place where they're installed
<xiaomat> arianvp: I guess the ./client fix is irrelevant when it needs more fixing before plugins can be run then :/
<{^_^}> [hydra] @ehmry opened pull request #738 → [draft] Add SoTest plugin → https://git.io/JfvEG
<Guest30> The option infinisil defined here could be passed through to the modules in nixpkgs. What I want is to create an option to pass settings to `users.usres.<name>`
<Guest30> In other words, just a clone of that module without copy the code literraly
<immae> Oh
<srk> you can create your own module extending existing one with more options and functionality
KeiraT has joined #nixos
<Guest30> Is it viable to have such a
<Guest30> proxy?
<immae> It’s the only possibility for now
<immae> as far as I know there is no good way to get the "content" of the module
arjen-jonathan has quit [Ping timeout: 246 seconds]
<Guest30> Sorry, but I don't know what the only possibility?
KeiraT has quit [Ping timeout: 240 seconds]
<immae> What srk said
<Guest30> So I define my options standalone withe what existed in nixpkgs?
<arianvp> xiaomat: im afraid so
<arianvp> unless you can recompile these plugins as static binaries
<arianvp> which shouldnt be too hard given they're go
<arianvp> they should then just work
<immae> Guest30: you define options.myUsersSettings = { your set of settings } in your module, and then in config you use that to define the users.users.<name> like you want
<immae> thus you have a myUsersSettings that looks like what you want (with more options or default ones if needed)
<Guest30> actually I don't need to define extra settings for users.users.<name>
<immae> I don’t know what you want to do with your module since you didn’t say it, so do whatever you want with it :)
relaxmax has joined #nixos
<xiaomat> arianvp: I could try that, but that is a real nasty hack :(
<Guest30> I want have something like myUserSettings = { regular = {users.users.foo = { regular settings in nixpkgs };}; others = {users.users.foo = { other settings for home-manager for user foo};} }
<Guest30> Sorry for format
<Guest30> I am formatting it.
captjakk has joined #nixos
Dav1d23 has joined #nixos
snicket has quit [Remote host closed the connection]
<Guest30> Like this. The reason why I want the type of it is because I want to have strict type checking on `regular` option.
snicket has joined #nixos
Dav1d23 has quit [Client Quit]
<immae> ok
<Guest30> I updated gist with a more concrete example
<Guest30> Is it possible...? Thanks
<{^_^}> [nixpkgs] @marsam merged pull request #85109 → victoriametrics: 1.34.5 -> 1.34.7 → https://git.io/JvjzA
<immae> so you want to check that whatever you will devine via myUserSettings.regular.users.users.foo will contain the same things as the standard users.users.foo ?
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfvEx
<immae> s/devine/define/
captjakk has quit [Ping timeout: 250 seconds]
<Guest30> Yes!
<{^_^}> [nixpkgs] @marsam merged pull request #85274 → pgmetrics: 1.8.1 -> 1.9.
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfvEh
<Guest30> exactly
<Guest30> And pass it to the users.users
chagra has quit [Ping timeout: 250 seconds]
<immae> Well I have good news then: If you do config.users.users = myUserSettings.regular.users.users then you have it for free :)
<Guest30> So how do I define type for `myUserSettings.regular`?
<immae> you don’t need to
<Guest30> should it be an option?
<immae> you can leave it as unspecified
<immae> because the check will happen later
<immae> but it will happen anyway
<Guest30> mkOption without type?
<immae> or unspecified yes
arjen-jonathan has joined #nixos
<immae> (lib.types.unspecified )
<Guest30> That's unheard of. Thanks for your help. I will try it.
<immae> The only thing is that if there is errors, it will show you config.users.users errors instead of myUserSettings.regular.users.users errors
<immae> might be a bit misleading
<Guest30> all nixos erros are misleading...
<immae> Well if you take it like that :D
<Guest30> Always saying something has happened in lib...
Jackneill has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85294 → atlassian-cli: 9.1.1 -> 9.2.
<flokli> johanot: got some spare cycles to take a look at https://github.com/NixOS/nixpkgs/pull/85252 ?
<{^_^}> #85252 (by flokli, 14 hours ago, open): nixosTests.flannel: port to python, unbreak
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfvuW
<{^_^}> [nixpkgs] @Mic92 merged pull request #85278 → git: Allow the update script to target non-latest versions → https://git.io/JfvZQ
KeiraT has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85295 → felix: 5.6.1 -> 6.0.
captn3m0 has quit [Ping timeout: 250 seconds]
snicket has quit [Remote host closed the connection]
snicket has joined #nixos
<{^_^}> [nixpkgs] @alyssais opened pull request #85296 → mblaze: install msuck and mblow → https://git.io/Jfvuo
captn3m0 has joined #nixos
Jackneill has joined #nixos
arcz has joined #nixos
bsjd has joined #nixos
<{^_^}> [nixops] @adisbladis opened pull request #1283 → Add SSH jump host support → https://git.io/Jfvuy
<gchristensen> adisbladis++
<{^_^}> adisbladis's karma got increased to 47
linarcx has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #85205 → [20.03] mkl: 2020.0.166 -> 2020.1.217 → https://git.io/JfvzU
<{^_^}> [nixpkgs] @bhipple pushed commit from @robertodr to release-20.03 « mkl: 2020.0.166 -> 2020.1.217 »: https://git.io/JfvzT
dsg has joined #nixos
<adisbladis> =)
arcz has left #nixos [#nixos]
arcz has joined #nixos
dsg has quit [Client Quit]
dsg has joined #nixos
revtintin has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85297 → bibclean: 3.03 -> 3.0
cruxeternus has joined #nixos
revtintin has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #85272 → ocamlPackages.asn1-combinators: 0.2.0 -> 0.2.2 → https://git.io/Jfvsh
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.asn1-combinators: 0.2.0 -> 0.2.2 »: https://git.io/JfvzK
<{^_^}> [nixpkgs] @nh2 merged pull request #82903 → ivan: add full iconset → https://git.io/Jv1cL
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jfvzi
Jackneill has quit [Ping timeout: 265 seconds]
init_6[m] has joined #nixos
<init_6[m]> I got almost the same error https://github.com/NixOS/nixpkgs/issues/47340 but for plasma-browser-integration in chromium
<{^_^}> #47340 (by mickours, 1 year ago, open): Firefox extension that uses native messaging does not work
dhess has quit [Quit: ZNC - https://znc.in]
<init_6[m]> "Specified native messaging host not found."
<{^_^}> [nixpkgs] @symphorien opened pull request #85298 → pdfarranger: 1.4.2 -> 1.5.0 → https://git.io/Jfvzp
reallymemorable has joined #nixos
revtintin has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @Ninlives closed pull request #82408 → wpsoffice: 11.1.0.9080 -> 11.1.0.9126 → https://git.io/Jv6RM
chagra has joined #nixos
teto has joined #nixos
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
Guest30 has quit [Quit: Connection closed]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
Ariakenom has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85299 → bitlbee-discord: 0.4.2 -> 0.4.
<{^_^}> [nixpkgs] @romildo merged pull request #85291 → zafiro-icons: 1.0 -> 1.
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JfvgY
Jackneill has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
Ariakenom has joined #nixos
revtintin has joined #nixos
tdeo has quit [Quit: Quit]
tdeo has joined #nixos
tdeo has quit [Changing host]
tdeo has joined #nixos
captn3m0- has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
captn3m0 has quit [Ping timeout: 258 seconds]
mallox has joined #nixos
cosimone has joined #nixos
chagra has quit [Ping timeout: 256 seconds]
cfricke has joined #nixos
reallymemorable has joined #nixos
Izorkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
linarcx has quit [Read error: Connection reset by peer]
Izorkin has joined #nixos
linarcx has joined #nixos
chagra has joined #nixos
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.ounit2: init at 2.2.2 »: https://git.io/Jfv2v
c0c0 has joined #nixos
sogatori has quit [Remote host closed the connection]
mallox has quit [Quit: WeeChat 2.8]
mallox has joined #nixos
freeman42x has joined #nixos
syd has joined #nixos
<syd> Hi peeps! Are there any factorio players here?
revtintin has quit [Ping timeout: 258 seconds]
mallox has quit [Client Quit]
revtintin has joined #nixos
mallox has joined #nixos
reallymemorable has quit [Quit: reallymemorable]
<pbb> syd: haven't played it in a while, but yes
<syd> pbb: I was trying to run it on nixos but the experimental version hasn't been updated in the nixpkgs
aswanson has joined #nixos
<syd> and it's not overridable either
<syd> did you work around that?
<pbb> I ran it through steam
<syd> and that 'just works' on nixos?
<pbb> yes
<syd> oeh I will have to try that then
<syd> thanks!
mallox has quit [Client Quit]
<pbb> Most things on steam work without additional modifications, because steam basically runs in a Ubuntu 14.04 container or something like that
<pbb> It's ugly but it works well
mallox has joined #nixos
cosimone has quit [Remote host closed the connection]
jakobrs has joined #nixos
cosimone has joined #nixos
<jakobrs> What's new in 2.3.4?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cfricke has quit [Quit: WeeChat 2.8]
reallymemorable has joined #nixos
cosimone_ has joined #nixos
cosimone has quit [Read error: Connection reset by peer]
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e393449b434 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
mallox has joined #nixos
jco has joined #nixos
cosimone_ has quit [Remote host closed the connection]
cosimone_ has joined #nixos
revtintin has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85300 → AgdaStdlib: 1.1 -> 1.
linarcx has quit [Quit: WeeChat 2.8]
relaxmax has quit [Ping timeout: 264 seconds]
<aranea> Are there any alternatives to nix-serve for serving local caches via http?
<aranea> More specially, any that support ipv6? I don't feel like hacking around in a perl code base such as nix-serve.
revtintin has joined #nixos
_d0t has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #85301 → spago: 0.14.0 -> 0.15.1 → https://git.io/Jfval
jollyjester has joined #nixos
<jollyjester> how can i add a channel to my configuration.nix?
<gchristensen> no
<_d0t> ohai! Is there a way to evaluate an arbitrary bash script in my nix expression?
<hexa-> aranea: andi- was working on some tool to re-serve packages from your local nix store via http. discovery via mdns. https://github.com/andir/local-nix-cache
<hexa-> we used it for a while at our local hackerspace and it was quite amazing
<aranea> Oh, hi. Neat idea. :)
hmpffff_ has quit [Ping timeout: 264 seconds]
<andi-> yet another project to document and work on again /o\
<hexa-> pretty please :)
jakobrs has quit [Quit: WeeChat 2.8]
<gchristensen> andi-: leave it up to the users to document and work on? :)
<pbb> _d0t: short answer is yes, you can run a bash script in a derivation and generate nix expressions as an output, and then import that
<andi-> gchristensen: didn't work out so far..
<_d0t> pbb: any examples of how to do this?
captjakk has joined #nixos
<manveru> aranea: otherwise you can proxy it using nginx or something
<aranea> Yeah, but at that point, it's less work to just write a shell alias that calls nix-copy-closure first and then nixos-rebuild. :P
<pbb> _d0t: It will be rather difficult to find examples of this, because it does not work on Hydra (the build farm used to populate the NixOS binary cache), so is not used anywhere in nixpkgs. The only place I remember that uses it is yarn2nix, although from this file it's a bit difficult to understand: https://github.com/moretea/yarn2nix/blob/master/default.nix#L45
gustavderdrache has joined #nixos
captjakk has quit [Ping timeout: 258 seconds]
<_d0t> pbb: hmm... thanks, I think I got the general direction
glittershark has joined #nixos
zupo has joined #nixos
<hyperfekt> jollyjester: channels configured via nix-channel are added to $NIX_PATH, values in which can be accessed by using <angle/brackets>
waleee-cl has joined #nixos
<jollyjester> hyperfekt i don't want to add it using nix-channel
<infinisil> _d0t: What's your use-case?
<jollyjester> so i want to add the hoeme-manager channel to my configuration.nix and then install home-manager
<jollyjester> how can i do that?
vidbina_ has quit [Ping timeout: 260 seconds]
<pbb> _d0t: try this:
<pbb> nix eval -f test.nix hello
<pbb> curl https://termbin.com/00qq > test.nix
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hyperfekt> jollyjester: it's not technically a channel then but you can make any nix expression available using import, so you would go 'import (pkgs.fetchFromGitHub { ... }) {}' to get access to the home-manager attrset, in which .home-manager is the program and .nixos is the module
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « zoom-us: 3.5.383291.0407 -> 3.5.385850.0413 »: https://git.io/JfvV2
syd has quit [Quit: Connection closed]
horek has joined #nixos
LysergicDreams has quit [Ping timeout: 265 seconds]
bsjd has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jollyjester> hyperfekt, what do i add between the curly braces? do i just add `import (pkgs.fetchFromGitHub { ... }) {}` to my configuration.nix and how do i add the home-manager package to `environment.systemPackages`?
LysergicDreams has joined #nixos
linarcx has joined #nixos
<hyperfekt> jollyjester: as i said importing gets you an attribute set, which you'll probably want to assign to a variable using let. then teh attribute home-manager in there is the package and nixos is a nixos module that you can import if you want to do all user configuration in your nixos configuration instead of in the user directory
<linarcx> Hi. I wana develop a val-gtk application and using `libgit2-glib`. When i compile the program, got this error:
<linarcx> Package `libgit2-glib-1.0' not found in specified Vala API directories or GObject-Introspection GIR directories
<_d0t> pbb: splendid!
<_d0t> Thanks.
<{^_^}> [nixpkgs] @das-g opened pull request #85302 → chromedriver: 80.0.3987.16 -> 81.0.4044.69 → https://git.io/JfvV7
knupfer has quit [Ping timeout: 240 seconds]
ATuin has quit [Ping timeout: 256 seconds]
<est31> why is still clang 7 the default?
<jollyjester> hyperfekt, all i want to do is install home-manager. when i reinstall nixos, i want home-manager's channel to be added and begin installation along with the packages and configuration within home-manager's own configuration file
<jollyjester> nothing else
<noonien> hello folks!
<jollyjester> hyperfekt, i just want home-manager to be installed without me needing to manually add it using nix-channel
<noonien> i'm trying to get qtdesigner to start working, but i'm getting this error: `qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""`, i know qt apps need to be wrapped with wrapQtAppsHook, but i'm unsure how to do this with this particular package
<hyperfekt> jollyjester: for installing home-manager you already know everything you need to. just add the imported package to your systemPackages like any other. if you want nixos to trigger home-manager you'll have to do some more work, maybe as part of the activation script
<{^_^}> [nixpkgs] @romildo merged pull request #84292 → xfce: add update script → https://git.io/JvbAN
<{^_^}> [nixpkgs] @romildo pushed 7 commits to master: https://git.io/JfvVp
<hyperfekt> jollyjester: reminder that nix is an expression language so import is not a statement, but stands for a value which you have to use.
<jollyjester> so how do i import it i want to know specifically the line which i need to add to my configuration.nix to add the channel
<jollyjester> https://github.com/rycee/home-manager/archive/release-19.09.tar.gz is the channel, how do i add it?
<_d0t> pbb: is there any way to reference existing nix files from that expression?
<pbb> _d0t: sure, you can use ${} in the bash script
<{^_^}> [nixpkgs] @rissson opened pull request #85303 → yubioath-desktop: 5.0.2 -> 5.0.3 → https://git.io/JfvwJ
<{^_^}> [nixpkgs] @Lassulus merged pull request #85299 → bitlbee-discord: 0.4.2 -> 0.4.
<{^_^}> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « bitlbee-discord: 0.4.2 -> 0.4.3 »: https://git.io/JfvwU
<_d0t> pbb: I mean, I have a nix expression in a file, but it's incomplete. I want to run a specific command before importing that file.
<{^_^}> [nixpkgs] @timokau merged pull request #83537 → line-awesome: init at 1.3.0 → https://git.io/JvHbB
<{^_^}> [nixpkgs] @timokau pushed 2 commits to master: https://git.io/Jfvwk
<pbb> oh
<pbb> _d0t: that's just what import does
fusion809 has joined #nixos
<hyperfekt> jollyjester: there is no such thing on its own as adding a channel in your configuration. but you can use a channel. if you want to use that URL, (import (fetchFromTarball { ... } ) {}).home-manager will take the value of the package you're after.
<pbb> _d0t: you can insert "import ./file.nix" and it will mostly be equivalent to pasting the entire content of the file
<_d0t> pbb: that's what I have right now. But that file.nix is incomplete (i.e. it references non-existing files), and I need to run a script before importing it.
<_d0t> it's a tricky setup, I know.
<pbb> "it references non-existing files" sounds very wrong
<jollyjester> hyperfekt, do i replace ... with the link?
<hyperfekt> _d0t: you may just want to use runCommand for that if that's really the right way to do this
<_d0t> well, they have to be generated first before the import call.
eadwu[m] has joined #nixos
<hyperfekt> jollyjester: the manual i linked earlier explains what arguments the fetchers need. i am not going to copy and paste that here
<pbb> _d0t: you can not modify files outside the nix store while running a nix-build
<_d0t> I figured. Another way I see could be generating that code on the fly, but it's expensive. Is there a way to cache an expression in the store somehow?
<hyperfekt> jollyjester: i guess fetchtarball isn't in there but you should be able to use fetchzip just as well
<pbb> everything is cached automatically. If nothing you reference in the script changes it will not be rebuilt.
Cadey is now known as Xe
<_d0t> pbb: what about invalidating the cache? My expression is basically produced by an external tool from a yaml file. How do I go about that, if the yaml is changed?
<pbb> _d0t: that will happen automatically
<_d0t> pbb: again, do you have any examples? My nix-fu is lacking.
Cadey has joined #nixos
<pbb> _d0t: try this: https://termbin.com/kzjx
zupo has joined #nixos
<pbb> _d0t: the instructions are in the paste, because I did not want to spam the channel
codygman has quit [Ping timeout: 256 seconds]
<freeman42x> trying to configure fish on NixOS, here it says to put this under extraUsers: https://nixos.wiki/wiki/Fish but I have a section called users... can I put that setting there?
<hyperfekt> _d0t: runCommand "output.nix" {} "my-tool ${/path/to/input.yaml}"
codygman has joined #nixos
<_d0t> hyperfekt: pbb: thank you guys!
<_d0t> I think this is about what I want.
<hyperfekt> but you should either make sure my-tool is packaged or also have nix fill that in at runtime like the yaml file, and make sure that the command writes to $out if the tool doesn't do that already
<_d0t> it is packaged. It's just called by an external script.
<pbb> _d0t: you should also be aware of the fact that the script does not have network access
<_d0t> Again, the whole setup is rather tricky.
<_d0t> pbb: I know. I guess I'll have to work around this.
codygman has quit [Read error: Connection reset by peer]
sshow_ has joined #nixos
<hyperfekt> _d0t: i just mean you cannot directly reference an external script in a string. it has to be interpolated during evaluation (like the yaml file is) or otherwise made available
codygman has joined #nixos
<_d0t> I have a feeling I'll have to significantly refactor all this one way or the other.
<_d0t> But thank you guys anyway.
sshow_ has quit [Client Quit]
<{^_^}> [nixops] @adisbladis closed pull request #1248 → WIP: Add deploy without creating a state file → https://git.io/JvKik
jollyjester has quit [Quit: Leaving]
drakonis has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
ddellacosta has joined #nixos
drakonis_ has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #85304 → common-updater: add update script to all-packages → https://git.io/Jfvrf
nschoe has joined #nixos
drakonis has quit [Ping timeout: 272 seconds]
nschoe has quit [Client Quit]
captjakk has joined #nixos
nschoe has joined #nixos
<noonien> anyone with a bit more knowledge with how packaging qt modules works?
<noonien> i'm trying to use wrapQtAppsHook in nixpkgs/pkgs/development/libraries/qt-5/modules/qttools.nix to be able to run the qtdesigner
revtintin has quit [Ping timeout: 265 seconds]
<noonien> adding `nativeBuildInputs = [ wrapQtAppsHook ];` doesnt seem to do anything, nor adding `postFixup = "wrapQtAppsHook";`
linarcx has quit [Ping timeout: 258 seconds]
pbogdan has joined #nixos
revtintin has joined #nixos
pamplemousse has joined #nixos
revtintin has quit [Ping timeout: 258 seconds]
<noonien> does anyone have any idea how to do this? i've been trying for a while and can't seem to get anything to work
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/946287b3197 (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<raboof> I deleted some /nix/store/(...).drv files, assuming they'd be regenerated when needed. Turns out they aren't :) - anything I can do to clean things up?
<niksnut> maybe --repair will recreate them
<clever> raboof: run `nix-store --delete` on the path you had deleted
<clever> so nix knows it was deleted
<raboof> clever++
<{^_^}> clever's karma got increased to 394
revtintin has joined #nixos
zaeph1 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85305 → python27Packages.autopep8: 1.5 -> 1.5.
<johanot> flokli: ping. 85252 looks good to me too, and the test passes locally on my machine
drakonis has joined #nixos
zaeph has quit [Ping timeout: 264 seconds]
reallymemorable has quit [Quit: reallymemorable]
growpotkin has joined #nixos
vidbina_ has joined #nixos
linarcx has joined #nixos
revtintin has quit [Ping timeout: 250 seconds]
devhell has joined #nixos
devhell has left #nixos [#nixos]
Guest30 has joined #nixos
mctl has joined #nixos
zaeph1 is now known as zaeph
erasmas has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #85305 → python27Packages.autopep8: 1.5 -> 1.5.
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master « python27Packages.autopep8: 1.5 -> 1.5.1 »: https://git.io/Jfvoy
<Guest30> Would the stuff written in `config` here be confined? Or can I write other regular stuff like `programs.zsh.enable` at that position?
<{^_^}> [nixpkgs] @xaverdh opened pull request #85307 → firefox-wrapper: remove dead npapi plugin code → https://git.io/JfvoH
aanderse_ has joined #nixos
abathur has joined #nixos
<hyper_ch> is it possible to do a nixos bios and uefi install at the same time? the live cd also supports uefi and bios boot
aanderse_ has quit [Client Quit]
devhell has joined #nixos
linarcx has quit [Quit: WeeChat 2.8]
kugal has joined #nixos
reallymemorable has joined #nixos
<pie_[bnc]> how do i `cp -r "$sourceRoot" "$out"` , but where i want to copy the contents of the directory, and not miss dotfiles
<pie_[bnc]> ?
<pie_[bnc]> id do "sourceroot"/* but then that gets messy with dotfiles
<pie_[bnc]> basically i want to copy the directory but not end up with a nested directory
<pie_[bnc]> oh thats just mv lol
<pie_[bnc]> thanks
drakonis1 has joined #nixos
cosimone_ is now known as cosimone
horek has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
kugal has quit [Client Quit]
drakonis_ has quit [Ping timeout: 256 seconds]
johnny101m2 has quit [Remote host closed the connection]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen1 has joined #nixos
devhell has joined #nixos
devhell has quit [Changing host]
dingenskirchen1 is now known as dingenskirchen
eoli3n__ has joined #nixos
sigmundv_ has quit [Read error: Connection reset by peer]
sigmundv_ has joined #nixos
devhell has quit [Quit: WeeChat 2.8]
linarcx has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #85162 → nixos/build-vms: propagate file location → https://git.io/Jvjbd
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfvKz
devhell has joined #nixos
chloekek has joined #nixos
revtintin has joined #nixos
drakonis_ has joined #nixos
drakonis1 has quit [Ping timeout: 246 seconds]
justanotheruser has joined #nixos
never_released_ has quit [Quit: ZNC 1.7.5 - https://znc.in]
<raboof> how does nix know whether a derivation still needs to be built, or is ready to be used from the nix store?
never_released has joined #nixos
<sshow> raboof: hashing the derivation and including that hash in the filename
<HedgeMage> Does anyone know how to globally and permanently disable middle-click-to-paste ? I'm using XFCE+i3 in case that's relevant. double-middle-click is my KVM control, so having that randomly paste things kinda screws me.
<Cadey> you know how each path in the nix store starts with a hash?
<Cadey> it asks the cache server if it has a copy and if it does, then it downloads that
<Cadey> if not then it downloads it
<ldlework> builds it
Guest30 has quit [Ping timeout: 260 seconds]
reallymemorable has quit [Quit: reallymemorable]
<ivegotasthma> hello, how can I install postgres with a nix-shell dev environment that's completely local to the user and the folder where the shell.nix script is?
philr has quit [Ping timeout: 250 seconds]
Ariakenom has quit [Quit: WeeChat 2.7]
<raboof> right - but calculating the hash is not enough to know if the derivation has successfully built, or is still in the process of being built, right? Is that stored in /nix/var/nix/db?
<{^_^}> [nixops] @grahamc closed pull request #1237 → Fix leaking secret keys: Allow defining keyFiles as strings → https://git.io/Jv2IC
<pie_[bnc]> clever: I forgot how we deal with python loadlibrary again https://github.com/llvm-mirror/clang/blob/65acf43270ea2894dffa0d0b292b92402f80c8cb/bindings/python/clang/cindex.py#L4172 , my attempts at using LD_PRELOAD seem to have failed
LysergicDreams has quit [Remote host closed the connection]
<pie_[bnc]> clever: also what were you guys trying to do here lol https://logs.nix.samueldr.com/nixos/2019-05-13#2217097
reallymemorable has joined #nixos
<hyperfekt> do we actually build any electron apps from source in nixpkgs?
<raboof> I was experimenting with nix-on-Arch a bit, and somehow got into a state where a `writeTextFile` derivation was cached in the nix store, but it was an empty file instead of the file I expected there. Trying to to understand what could've gone wrong there
<adisbladis> raboof: Power loss on a crappy file system?
<clever> pie_[bnc]: at the time, it was just to detect that it was running under wine
<pie_[bnc]> why dont we jus tpatch python to make loadlibrary work properly and search an env var or something?
<pie_[bnc]> "why dont we just" x)
<raboof> adisbladis: it was in docker. I did ^C some builds, but nothing fancy beyond that
relaxmax has joined #nixos
<clever> pie_[bnc]: you need to basically patch the python code to use an absolute path, or use LD_LIBRARY_PATH to adjust where it can search
glittershark has quit [Ping timeout: 258 seconds]
revtintin has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @athas opened pull request #85308 → futhark: stop wrapping the executable → https://git.io/Jfv6n
sshow has quit [Quit: leaving]
sshow has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dsal> What does it mean for a package to be marked as broken?
<pie_[bnc]> clever: a'ight
<dsal> Oh. It just says 'broken = true' I'm looking at stack2nix. what makes it broken?
<Athas> dsal: it means that the CI job for that package failed recently.
<Athas> The reasons can be very varied.
<dsal> Ah, that helps. If a human did this, I'd expect it to have a reason listed.
<Athas> I guess humans can also do it, but the broken packages I have seen have all been marked automatically.
<Athas> And in particular, those have all been Haskell packages!
teto has quit [Ping timeout: 246 seconds]
<dsal> Yeah, the other time I'd seen this was with stylish-haskell.
bqv has quit [Read error: No route to host]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/946287b3197 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<betaboon> anyone knows why we dont have a nomad-service-module but we have had the nomad package for ages?
<nh2> betaboon: My guess: nobody has put in the effort yet to make one
<{^_^}> [nixpkgs] @ryantm merged pull request #85238 → linode-cli: remove deprecated perl version, init python version at 2.14.1 → https://git.io/JfeQt
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jfv6x
<dsal> nobody gets so much done
bqv has joined #nixos
knupfer has joined #nixos
<andi-> Is anyone atually using the mdmonitor service? It has been failing for me since forever since there is no way to configure it (out of the box).
teto has joined #nixos
bukkitgerman8608 has quit [Ping timeout: 256 seconds]
<das-g[m]> Can someone who knows about (login) shells on NixOS have a look at https://github.com/NixOS/nixpkgs/pull/84330 ?
<{^_^}> #84330 (by das-g, 1 week ago, open): nixos/xonsh: source NixOS environment
revtintin has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.fmt: 0.8.6 -> 0.8.8 »: https://git.io/Jfvi2
freeman42x has quit [Read error: Connection reset by peer]
magnetophon has quit [Ping timeout: 256 seconds]
freeman42x has joined #nixos
evertedsphere has quit [Ping timeout: 265 seconds]
arjen-jonathan has quit [Ping timeout: 264 seconds]
rtjure has quit [Read error: Connection reset by peer]
nschoe has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85309 → chirp: 20200213 -> 2020040
waleee-cl has quit [Quit: Connection closed for inactivity]
zupo has joined #nixos
nschoe has joined #nixos
<ottidmes> ldlework: xorg is not a package itself, so you just want to do xorg = pkgs.xorg // { ...stuff...
<ldlework> hey it's building
<ottidmes> ldlework: or better follow the advice in #nixos-chat :P
Neo-- has quit [Ping timeout: 264 seconds]
Thra11 has joined #nixos
rtjure has joined #nixos
<Cadey> how do I use private git repos as dependencies for Nix programs?
<adisbladis> Cadey: builtins.fetchGit
<Cadey> and that uses my ssh keys like i'd expect?
<dsal> How do I install a thing after I nix-build it?
<adisbladis> Yes, that runs in the evaluator so it has access to the same keys as your user
<Cadey> :+1: cool
<Cadey> thanks
<Cadey> dsal: nix-env -i /nix/store/whatever is one way
<dsal> Ah, nix-env -i `readlink result` did it. Thanks.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85310 → cfdg: 3.2_2 -> 3.
bukkitgerman8608 has joined #nixos
magnetophon has joined #nixos
evanjs has quit [Quit: ZNC 1.7.5 - https://znc.in]
johnw has quit [Quit: ZNC - http://znc.in]
evanjs has joined #nixos
cole-h has joined #nixos
glitters` has joined #nixos
Maxdamantus has quit [Ping timeout: 260 seconds]
cosimone has quit [Quit: Quit.]
Maxdamantus has joined #nixos
<{^_^}> [nixpkgs] @hedning pushed commit from @r-ryantm to release-20.03 « nix-zsh-completions: 0.4.3 -> 0.4.4 (#85267) »: https://git.io/JfvPQ
cosimone has joined #nixos
cosimone has quit [Client Quit]
turion has joined #nixos
cosimone has joined #nixos
<turion> I'm trying to package Canon drivers. I'm still getting this error message:
<turion> ./configure: line 5784: `AM_PATH_GTK_2_0(2.6.0, ,'
<turion> ./configure: line 5784: syntax error near unexpected token `2.6.0,'
<turion> I don't understand the problem. The bracket is closed on the next line, and afaik the second argument can be empty
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/JfvXv
<turion> AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
<turion> AM_PATH_GTK_2_0(2.6.0, ,
<turion> The corresponding code is:
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c6ca626b4bd (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<qy[m]1> adisbladis: oh hey, you're back. curious, is there a cachix repo for emacs-overlay?
<turion> Normally, we'd define CFLAGS or something in the second argument, but it should be possible to have it empty as well..?
<{^_^}> [nixpkgs] @vbgl pushed to master « Revert "[Don’t merge] Recurse into OCaml packages" »: https://git.io/JfvXU
<turion> Or is nix doing something strange to that configure.in file?
<symphorien> turion: add glib to buildInputs iirc
<ldlework> Isn't there some attribute you can flip on a derivation to skip tests
<turion> symphorien: I already have that :/
<symphorien> dontCheck, ldlework
<turion> It seems like autoconf doesn't have support for AM_PATH_GTK_2_0
<freeman42x[m]> where is correct place to set an environment variale under NixOS? eg. export DIRENV_LOG_FORMAT=
<freeman42x[m]> would .bashrc be ok? or should it be in configuration.nix?
<betaboon> symphorien: isnt it `doCheck = false;` ?
<ldlework> symphorien: I'm guessing that doesn't propagate... a bunch of stuff is getting rebuilt because I overrode part of the org package and now things like Python Twisted are running their test suites etc...
<manveru> freeman42x[m]: `environment.variables.DIRENV_LOG_FORMAT`
<symphorien> betaboon: oh right sorry
<ldlework> oh
<ldlework> argh, Twisted's test suite is still running
<manveru> freeman42x[m]: bashrc is fine too, but then you have to use bash :)
chloekek has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #84456 → higan: 106 -> 110 → https://git.io/JvN5o
<{^_^}> [nixpkgs] @AndersonTorres pushed 2 commits to master: https://git.io/JfvXg
vidbina_ has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @ajs124 opened pull request #85312 → pythonPackages.configshell: 1.1.27 -> 1.1.28 → https://git.io/JfvXa
<{^_^}> [nixpkgs] @ajs124 opened pull request #85313 → pythonPackages.rtslib: 2.1.71 -> 2.1.72 → https://git.io/JfvX6
<betaboon> Profpatsch: i got a question regarding the terraform-nixos-provider, maybe you can help: is there a way to pass additional attributes to the configuration? i cant seem to figure it out
<freeman42x[m]> > freeman42x: `environment.variables.DIRENV_LOG_FORMAT` is this inside configuration.nix, top level? like `environment.variables.DIRENV_LOG_FORMAT = "";` ? PS: seems like this is where we met. twitch streaming now :)
<{^_^}> error: syntax error, unexpected $undefined, at (string):296:13
<freeman42x[m]> manveru:
organixpear has quit [Quit: leaving]
<turion> Oooh, it went away when I passed it gtk2 :D
<Profpatsch> betaboon: what kind of attributes to which configuration?
zeenk has quit [Ping timeout: 272 seconds]
Neo-- has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<betaboon> Profpatsch: lets assume i pass the path of a configuration.nix to `nixos_config` and that configuration.nix expects `{ pkgs, foo, ... }`. i want to provide `foo`
<Profpatsch> betaboon: you can’t pass additional arguments to a nixos config directly, you have to use the module system
<Profpatsch> Add an option like with a normal module and pass it as a config value
Keith[m]1 has joined #nixos
<betaboon> Profpatsch: do you have an example for that ?
<Keith[m]1> how do I unzip something in a derivation? It isn't part of the src so I can't just use unpackPhase
<Profpatsch> betaboon: In a closed source repo unfortunately. I have to jump, but I’m sure there’s people in here that know how to write options
<betaboon> Profpatsch: i do know how to write options. I'm just somewhat lost on how to pass them to the provider
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85314 → chromaprint: 1.4.3 -> 1.5.
<qyliss> ,locate bin unzip Keith[m]1
<{^_^}> Found in packages: unzip, busybox, unzipNLS
<qyliss> Add one of those as a nativeBuildInput, then just run unzip in your derivation
cole-h has quit [Quit: Goodbye]
<Keith[m]1> okay, thanks
ashesham` has joined #nixos
bqv has quit [Ping timeout: 252 seconds]
bqv has joined #nixos
asheshambasta has quit [Ping timeout: 272 seconds]
<nh2> WebRTC programs adjust my ALSA mic levels incorrectly. To disable that, I essentially need to modify `/nix/store/vg3q364zl6q9lnsfcy1vg7f5a3jj9448-pulseaudio-12.2/share/pulseaudio/alsa-mixer/paths/analog-output.conf`. Does anybody know whether I can place/override these files somewhere else?
<nh2> Right now, modifying them seems to require rebuilding pulse, and all of its dependencies.
revtintin has quit [Ping timeout: 260 seconds]
Desetude has joined #nixos
ashesham` has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7c21abdf4ca (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
teto has quit [Ping timeout: 246 seconds]
<lejonet> What is the correct way to include an optional preBuild hook? When I try to do preBuild = stdenv.lib.optionalString (checkStuff) '' doSomething '';, I just get the error that it cannot coerce a list to a string, but from what I can find in other packages that use preBuild, its supposed to be a string
cole-h has joined #nixos
ashesham` has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
revtintin has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #85315 → cjdns: 20.5 -> 20.
johnw` has joined #nixos
<hyper_ch> in case you haven't seen yet: https://blocksandfiles.com/2020/04/14/wd-red-nas-drives-shingled-magnetic-recording/ be aware of newer WD Red HDDs
eoli3n__ has quit [Ping timeout: 256 seconds]
<azazel> nh2: good question, I would like to know the answer too... do you care to open a thread on discourse?
<nh2> azazel: ok will do
<Desetude> I've read that with ZFS you shouldn't split a disk into two active partitions. Is it fine to have the /boot partition, the ZFS dataset partition and a swap partition on one disk?
<{^_^}> [nixpkgs] @alyssais opened pull request #85316 → nixos/rss2email: globally install rss2email → https://git.io/Jfv1S
zeta_0 has joined #nixos
<azazel> Desetude: maybe this can shed some ligh thttps://grahamc.com/blog/nixos-on-zfs
<azazel> Desetude: at the end
<azazel> nh2: thanks
<Desetude> azazel: then my question becomes does a swap partition count as an active partition?
linarcx has quit [Quit: WeeChat 2.8]
<ldlework> I'm so confused. I have a nix-shell. When I execute "rofi" from the shell, it finds the writeScriptBin I made at that name. Everything I try, it finds the right rofi. Somehow... when I do from Python subprocess.Popen(["rofi"]) it finds the real one....
<azazel> Desetude: I don't think that swap is managed like the other partition types, so I would exclude it from the count
<{^_^}> [nixpkgs] @alyssais opened pull request #85317 → nixos/rss2email: move from /var to /var/lib → https://git.io/Jfv1p
<ldlework> How is that even possible?
<gchristensen> ldlework: you might need to run `hash`, but I'd be surprised if you would need to
<ldlework> hashing disabled bash tells me
<Desetude> azazel: great then I'll go ahead with the 3 partitions then, thanks
<jluttine> is there a simple way to install also libexec content of a package under /run/current-system/sw/ ? i'd like to use a dimmer from xsecurelock in my dotfiles in my home directory, so i don't want to point to nix store
<jluttine> (or some other fixed location)
<{^_^}> [nixpkgs] @veprbl merged pull request #85211 → wpsoffice: 11.1.0.9080 -> 11.1.0.9505 → https://git.io/JfezM
<{^_^}> [nixpkgs] @veprbl pushed 7 commits to master: https://git.io/JfvML
kleisli_ has quit [Remote host closed the connection]
kleisli_ has joined #nixos
captjakk has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<pbogdan> jluttine: maybe a dummy / wrapper derivation that copies / symlinks what you need from xsecurelock to $out/bin ?
<azazel> hyper_ch: thanks for that link, I didn't knew
<pbogdan> or a `writeScriptBin` wrapper that calls the binary you need via full path
knupfer1 has joined #nixos
Desetude has quit [Quit: WeeChat 2.8]
arjen-jonathan has joined #nixos
<jluttine> pbogdan: yeah. but do i need to put it under $out/bin or can i make $out/libexec/* to appear under /run/current-system-sw/libexec/ ?
teto has joined #nixos
<pbogdan> oh you could put libexec with environment.pathsToLink
<hyper_ch> azazel: no worries .)
<jluttine> pbogdan: ah, ok. thanks!
knupfer1 is now known as knupfer
domogled has joined #nixos
relaxmax has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #85252 → nixosTests.flannel: port to python, unbreak → https://git.io/JfejI
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JfvMg
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #85318 → xfce: update most packages → https://git.io/JfvMa
kleisli_ has quit [Ping timeout: 260 seconds]
<jluttine> hmm.. nixos doesn't seem to respect ~/.config/locale.conf for setting user specific locale?
<{^_^}> [nixpkgs] @Ma27 merged pull request #85294 → atlassian-cli: 9.1.1 -> 9.2.
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfvMw
captjakk has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<jluttine> or is that something the desktop manager should read and export?
captjakk has quit [Remote host closed the connection]
captjakk has joined #nixos
<turion> I'm still trying to package this Canon driver, but I'm not experienced enough in C, linking and autoconf in order to get it to work. Can someone have a look on this branch: https://github.com/turion/nixpkgs/tree/canon_pixma_driver
KeiraT- has joined #nixos
<turion> I'm sure an experienced C dev will quickly make sense of Canon's mess.
<turion> I'm getting something like this:
<turion> /nix/store/nfs9wf6ipffr9g9ylzb4i9c1i607nxvq-binutils-2.31.1/bin/ld: cannot find -lbscc2sts
<turion> gcc  -O2 -L../../../com/libs_bin64 -L../../../lgmon/src  -o cnijnpr cnijnpr.o -lcnnet -lbscc2sts -ldl  
blackshadow has joined #nixos
<turion> The issue is somehow that they couldn't bother to put this local library in its own directory, but it's somehow in a subdirectory and can't be found properly
<jluttine> answering to myself: yes, it works if i just export them in .xsession which then launches my desktop/window manager i3
WilliamHamilton has joined #nixos
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<{^_^}> [nixpkgs] @aanderse opened pull request #85319 → php.extensions.sqlsrv: 5.8.0 -> 5.8.1 → https://git.io/JfvMH
KeiraT has quit [Ping timeout: 240 seconds]
KeiraT- is now known as KeiraT
<{^_^}> [nixpkgs] @filalex77 opened pull request #85320 → drill: init at 0.5.0 → https://git.io/JfvMx
<blackshadow> quit
<{^_^}> Let me do that for you
blackshadow has quit [Quit: leaving]
<WilliamHamilton> question: when I have some derivation, and I nix-build it, does nix make a snapshot of the inputs? What happens if I modify some code after I launch a nix build?
<dsal> Try it?
<dsal> I guess racing would be more than a "Try it"
<dsal> If we had better filesystems, the obvious thing would be obvious. But the only reasonable thing nix could do on general filesystems is ensure the hash input and build input are the same when computing the final hash value for a build.
<immae> do we really have a possible race condition? As soon as you have a recipe (in the sense "a .drv file") then you have everything settled in rock no? (considering that you cannot modify /nix/store from outside of nix)
henry_ has joined #nixos
<immae> ah you mean maybe it could refer to ./., calculate the hash of ., and only later move it to /nix/store ? and inbetween you modify the content?
<dsal> I guess that's the question. Is a snapshot of all inputs made before the build starts?
henry_ has quit [Client Quit]
<immae> I assume it will put ./. (or local folders more generally) in the store (or in a temporary location) before computing its hash, and that will be used as a snapshot. Remote places have a pre-known hash so we don’t care much if we download before or after
<WilliamHamilton> yes, the question is: should I be worried if I launch a nix-build for a project that uses nix, and in the meantime I change some code (not nix code, but some of the source code of the project, for example)
<immae> But interesting question actually
<infinisil> WilliamHamilton: Nah that's no problem. Once the build starts, all inputs are copied to /nix/store already
ixxie has joined #nixos
<WilliamHamilton> infinisil very well, thanks! For curiosity, is there a variation of this question in which this would be a problem?
<{^_^}> [nixpkgs] @lilyball opened pull request #85321 → macvim: 8.2.319 -> 8.2.539 → https://git.io/JfvDl
ashesham` has quit [Ping timeout: 246 seconds]
<infinisil> I guess if you disable sandboxing and use builtins.unsafeDiscardStringContext it would be possible for Nix to use the original code without copying it to the store
<WilliamHamilton> thanks infinisil :)
<infinisil> Ah, even just with sandboxing disabled that could occur
thc202 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Charg opened pull request #85322 → terraform-compliance: init v1.1.16 → https://git.io/JfvD2
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
<ornxka> how do i start init manually
<ornxka> from initrd shell
WilliamHamilton has quit [Ping timeout: 240 seconds]
<ornxka> there is an init program in $PATH but it complains about not being pid 1 even though i pressed f at the shell prompt
<MichaelRaskin> You need to exec it
<MichaelRaskin> Not just call
<MichaelRaskin> exec init
<ornxka> hmm im still in a prompt..
<ornxka> did i need to execute stage-2-init.sh
orivej has quit [Ping timeout: 264 seconds]
<sonercirit[m]> hi, how long does it take for something merged into master to be available in unstable?
<infinisil> sonercirit[m]: Usually a couple days at most
<infinisil> ,status
<{^_^}> infinisil: Did you mean stats?
<infinisil> {^_^}: No
<sonercirit[m]> ty infinisil
<infinisil> ,howoldis
<sonercirit[m]> anything I can do the speed the process?
<infinisil> From the status page there it seems that there's a build problem with current nixos-unstable
<infinisil> Which would have to be fixed before it can be advanced
<{^_^}> [nixops] @grahamc merged pull request #1272 → Add a flag to enter PDB in post-mortem debugging mode → https://git.io/Jv52R
<{^_^}> [nixops] @grahamc pushed 2 commits to master: https://git.io/JfvyY
zeta_0 has joined #nixos
lukegb has quit [Quit: ~~lukegb out~~]
lukegb has joined #nixos
<zeta_0> hello everyone, i copied the 2 `let in` expressions from the quick start section of the haskell.nix infrastructure(https://github.com/input-output-hk/haskell.nix), anyways , i'm running into namespace conflicts, so i was thinking of just renaming the attributes, is there a better way to avoid this namespace conflict with nix(like wrapping the `(let in)` expression with parentheses)? https://dpaste.org/R5J4
<zeta_0> that's the shell.nix file that i'm trying to configure ^
abathur has quit [Quit: abathur]
<lordcirth> How do I figure out what buildGoModule is actually doing? "make install" in the go-ipfs source dir works, but buildGoModule fails
<zfnmxt> Anyone have a clue why this is happening with not TTF fonts? https://i.imgur.com/YDsVqci.png If not, any suggestions on how to debug it?
<zfnmxt> s/not/non
thc202 has joined #nixos
<cole-h> Specifically, look at buildPhase on line 122
<Thra11> Why does the output from `nix eval nixpkgs.whatever.outPath` have double quotes around it (can a path have spaces in or something?)? It makes it harder to use with other commands. e.g. I can't do `ls $(nix eval nixpkgs.whatever.outPath)/bin`
<colemickens> Thra11: `nix eval` has --raw at least
<niksnut> because it's a string
<Thra11> colemickens: Thanks!
<Thra11> niksnut: It appears to be a string with quotes *in* it though
<lordcirth> cole-h, thanks! It's hard to read... It's calling 'go' directly to build it?
<niksnut> let me rephrase that: the output of nix eval is a value, so strings have quotes around them
<Thra11> niksnut: I see. It's a nix string, which gets 'printed', which results in a shell string with quotes in?
codygman has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
zupo_ has joined #nixos
<aranea> I'm using a custom kernel config via pkgs.linuxPackages_custom, but I'd rather not build that kernel on all my hosts. So I built it on one, spun up nix-serve there and put it into the nix.binaryCaches of the other hosts. That seems to work in principle, just not for the kernel package.
<aranea> I suspect that's because the kernel config file is set to a local path? (Identical contents everywhere, ofc.)
<aranea> How can I fix this?
glitters` has quit [Ping timeout: 250 seconds]
<aranea> In the long run, I should probably set up my own hydra or sth eventually, but right now I'd like a somewhat quicker workaround.
<{^_^}> [nixpkgs] @jtojnar merged pull request #85210 → gtk-mac-integration: 2.0.8 -> 2.1.3 → https://git.io/JfezO
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/JfvSV
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/67e45efa3a4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @disassembler pushed 0 commits to treewide-broken-20.03: https://git.io/JfvSi
bukkitgerman8608 has quit [Ping timeout: 256 seconds]
AmandaC has joined #nixos
AmandaC_ has quit [Ping timeout: 264 seconds]
<cole-h> 👀 ^
ixxie has quit [Ping timeout: 256 seconds]
ixxie has joined #nixos
<benny> is there a nixos equivalent to /etc/rc.local from the days of yore? ;-)
<nschoe> Hi, I have a quick question: in my systemPackages I have set: (python3.withPackages (pyPkgs: with pyPkgs; [ dbus ])), yet when I run `python3 my_python_file.py` it complains with import dbus.service. ModuleNotFoundError: No module named ´dbus´. AM I doing the installation wrong?
<{^_^}> [nixpkgs] @elseym merged pull request #83872 → unifiStable: 5.12.35 -> 5.12.66 → https://git.io/Jv5zX
<{^_^}> [nixpkgs] @elseym pushed 2 commits to master: https://git.io/Jfv9J
<zfnmxt> My issue was pango 1.44 dropping bitmap support. Feelsbadman.
teto has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @ju1m opened pull request #85323 → tremc: init at 0.9.1 → https://git.io/Jfv9m
codygman has quit [Read error: Connection reset by peer]
<cole-h> Pango didn't drop bitmap entirely. They dropped the old, archaic bitmap format.
codygman has joined #nixos
jco has quit [Ping timeout: 246 seconds]
nobrak`` has joined #nixos
<zfnmxt> Well, apparently literally all my fonts were the old, archaic style.
<zfnmxt> But I guess there's this as a fix? https://fedoraproject.org/wiki/BitmapFontConversion
<zfnmxt> Haven't really looked into it.
<ixxie> how do I find the path of a command in NixOS?
nobrak` has quit [Ping timeout: 256 seconds]
<energizer> ixxie: `which`?
o1lo01ol1o has quit [Remote host closed the connection]
<energizer> oh i guess that's not so helpful
o1lo01ol1o has joined #nixos
<ixxie> energizer: readlink -f `which command` gets you to the store address at least
<ixxie> but I think there is also a nix subcommand
Wharncliffe has joined #nixos
<ixxie> what I really want is the package name
<{^_^}> [nixpkgs] @turboMaCk opened pull request #85324 → elmPackages: Refactor `lib` and expression for related packages → https://git.io/Jfv90
<{^_^}> [nixpkgs] @turion opened pull request #85325 → Support Canon iP72*0 and other printers - Work in progress, help needed → https://git.io/Jfv9E
<nschoe> Ah I think it was ´dbus-python´ that was needed
sshow has quit [Quit: leaving]
pamplemousse has quit [Ping timeout: 258 seconds]
pareidolia_ has quit [Ping timeout: 265 seconds]
pareidolia has joined #nixos
<energizer> ixxie: there are some answers here but they all seem inadequate imo. https://discourse.nixos.org/t/how-to-find-the-package-name-for-executable/6120/6
o1lo01ol1o has quit [Remote host closed the connection]
<energizer> maybe the question is more complicated than it seems
peelz_ has quit [Remote host closed the connection]
<ixxie> I'm just looking to install uuidgen :D
o1lo01ol1o has joined #nixos
<energizer> ,locate uuidgen
<energizer> ,locate bin/uuidgen
<{^_^}> Found in packages: toybox, utillinux, libuuid.bin, utillinux.bin
<{^_^}> Found in packages: toybox, libuuid.bin, utillinux.bin
<energizer> ixxie: ^
mokasin has joined #nixos
<ixxie> cheers energizer
<benny> ,locate bb
<{^_^}> Found in packages: bb, atom, moodle, povray, graphviz, atom-beta, jre.debug, glibc.debug, graphviz-nox, graphviz_2_32, rtmpdump.debug, glibc_memusage.debug, libsForQt511.kdelibs4support, kdeFrameworks.kdelibs4support, python27Packages.bitbucket-cli
<ixxie> energizer: in that thread the suggestion to readlink -e $(which command) seems to work
<energizer> ixxie: i think it depends on what question you want to ask
<ixxie> ,locate ddate
<ixxie> ,locate bin/ddate
<mokasin> How can I reuse an acme certificate for different services? I am running into a permission problem. Let's say, the key is generated for nginx, it gets 600 mode. If I use allowKeysForGroup, how do I add the user of services to that group?
<{^_^}> Found in packages: ddate
<{^_^}> Found in packages: ddate
xiaomat has left #nixos ["User left"]
o1lo01ol1o has quit [Remote host closed the connection]
zeenk has joined #nixos
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
Wharncliffe has quit [Quit: Lost terminal]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
abathur has joined #nixos
Taneb has quit [Quit: I seem to have stopped.]
Taneb has joined #nixos
o1lo01ol1o has joined #nixos
DerHorst has quit [Remote host closed the connection]
<ixxie> Anybody got example configs of NixOS build slaves?
revtintin has quit [Quit: WeeChat 1.9.1]
hmpffff has quit [Quit: nchrrrr…]
DerHorst has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
loewenheim has joined #nixos
cosimone has quit [Quit: Quit.]
mokasin has quit [Quit: Leaving]
<loewenheim> Hi, I’ve found an incorrect example in the manual. Is the nixpkgs github repository the right place to open an issue?
<gchristensen> which manual?
pamplemousse has joined #nixos
<loewenheim> Sorry, the Nixos manual
Darkmatter66_ has joined #nixos
zeta_0 has joined #nixos
Darkmatter66 has quit [Ping timeout: 256 seconds]
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @sikmir opened pull request #85326 → xournalpp: 1.0.17 -> 1.0.18 → https://git.io/JfvHu
knupfer has quit [Quit: knupfer]
<zeta_0> how do i fix this error in this shell.nix? https://dpaste.org/2naV https://dpaste.org/yHZp , when i try to move lines 8-9, down to the haskell infrastructure section, it throws another error(the ? mark gets marked with an error) ?
knupfer has joined #nixos
drakonis_ has quit [Ping timeout: 260 seconds]
knupfer has joined #nixos
arjen-jonathan has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @bjornfor merged pull request #85218 → tig: fix tig-completion's dependency on __git_complete → https://git.io/Jfe24
<{^_^}> [nixpkgs] @bjornfor pushed commit from @basilgood to master « tig: fix tig-completion's dependency on __git_complete »: https://git.io/JfvHK
<{^_^}> [nixpkgs] @arianvp closed pull request #68702 → Afterburn module → https://git.io/JfvHi
<{^_^}> [nixpkgs] @arianvp closed pull request #68680 → afterburn: init at 4.1.3 → https://git.io/JfvHX
teto has joined #nixos
<zeta_0> i tried using the separate `let in` expressions, but then it throws another error unexpected ID in the attribute names of the 2nd `let in` expression? https://dpaste.org/W94b
o1lo01ol1o has joined #nixos
drakonis_ has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/67e45efa3a4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
drakonis1 has quit [Ping timeout: 265 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed commit from @basilgood to release-20.03 « tig: fix tig-completion's dependency on __git_complete »: https://git.io/JfvQk
knupfer has quit [Quit: knupfer]
Desetude has joined #nixos
knupfer has joined #nixos
cosimone has joined #nixos
<Desetude> Is it completely fine to have my hostId public (in a public git repo)?
<iceypoi> that's just your internal host name
zaeph has quit [Quit: zaeph]
<edef> Desetude: yes
<iceypoi> much like a dns entry is public
<edef> if you're using ZFS, it's just there to mark which machine has the pool imported
zaeph has joined #nixos
<edef> on non-NixOS it's derived from your network interface MACs
<edef> but in ZFS it's for basically keeping a mutex on the pool in multipathed storage arrays
ghuntley has joined #nixos
jco has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 4 commits to master: https://git.io/JfvQz
<ixxie> gchristensen: do you know of any nice examples of Nix build agents? Or is nothing fancy typically added to configs?
<energizer> I have some configuration that's the same across multiple computers except that my username differs. Currently I'm doing a configuration.nix with ` users = import ./../users.nix { inherit pkgs username; };` but this feels a little silly. Is there a preferred way to parametrize configurations?
<eadwu[m]> You can create a local settings module
bukkitgerman8608 has joined #nixos
<eadwu[m]> I have stuff like config.nixos.settings.username
<eadwu[m]> Which I set in the host configuration
kuznero has joined #nixos
seku has quit [Quit: Connection closed]
loewenheim has left #nixos [#nixos]
<kuznero> Hi All, I have trouble installing codelldb extension for VS Code, it seems that the binary is not properly linked: https://pastebin.com/zNzu56vc Please help!
<energizer> eadwu[m]: is config.nixos.settings already a thing?
<eadwu[m]> No
o1lo01ol1o has joined #nixos
jb55 has quit [Remote host closed the connection]
<eadwu[m]> kuznero: You want to create a derivation that also patches the interpreter and `patchelf --set-interpreter` that binary
kleisli_ has joined #nixos
<eadwu[m]> patches the interpreter through*
<kuznero> eadwu[m], thanks!
<energizer> eadwu[m]: curious why the config.nixos.settings namespace instead of config.settings?
mallox has quit [Quit: WeeChat 2.8]
<eadwu[m]> There was no real reason, just didn't want any conflicts and I was sure `nixos.settings` didn't exist
<eadwu[m]> When I created it
<energizer> alright
<niso> pkgs can't be passed as an argument to a nixos-container, right?
ris has joined #nixos
<ris> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<{^_^}> [nixpkgs] @langston-barrett opened pull request #85328 → nixos/networkmanager: restart dispatcher when nameservers change → https://git.io/Jfv7Y
<Desetude> iceypoi: Great thanks
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « cargo-make: 0.30.4 -> 0.30.5 »: https://git.io/Jfv7n
jb55 has joined #nixos
arcz has quit [Ping timeout: 260 seconds]
<drakonis> bqv: do you have some advice on how to rebuild a system using your config?
<qy[m]1> i would stick to the template branch to begin with
cr4y1_ has quit [Ping timeout: 260 seconds]
<drakonis> the template branch is out of date anyways
<qy[m]1> import your config into that
<drakonis> so its missing a couple niceties
<drakonis> i have been porting my config to it
<qy[m]1> then switch to that. that way the only thing you're changing is whether it's flake based or channel-based
<qy[m]1> after that, feel free to pilfer whatever you like from my modifications
<qy[m]1> mm, well, i suppose it's easy enough to create a host and some users
<qy[m]1> make a host that points to your old config, and ensure users.mutableUsers is false if you need it to be
<qy[m]1> beyond that, it's just tiny issues
<drakonis> the actual troublesome thing is getting the rebuilds to see my host
<drakonis> but i'll figure this out
<qy[m]1> you'll notice i'm actually still in the process of porting zeta to this structure :p
<drakonis> i can see
<drakonis> moving things off git crypted config files
<energizer> how do i get a user's home directory path in nix?
<qy[m]1> ah, one thing i changed from the template branch is from hosts/<hostname>.nix to hosts/<hostname>/default.nix
<{^_^}> [nixpkgs] @romildo merged pull request #85233 → humanity-icon-theme: init at 0.6.15 → https://git.io/JfeDF
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/Jfv7V
<drakonis> so i've done that, yes.
<drakonis> but what's the trick to get it to build the first time?
<drakonis> it doesnt see the host
<gchristensen> energizer: you can't
<qy[m]1> does the code in lib/utils.nix and er, is it flake.nix, that imports the host file, reflect that change too?
<qy[m]1> ah hang on, how are you building it
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<energizer> gchristensen: i want to set services.syncthing.dataDir = userHome; what should I do instead?
<gchristensen> oh, that you can do
<qy[m]1> i think i've butchered the configuration.nix quite heavily so you might actually be better off building nixFlakes and running that with no daemon
<gchristensen> config.users.users.username.homesomething
_d0t has quit [Quit: Konversation terminated!]
<drakonis> with nixos-rebuild
<{^_^}> [nixpkgs] @disassembler pushed to treewide-broken-20.03 « treewide: mark broken packages for 20.03 »: https://git.io/Jfv76
<{^_^}> [nixpkgs] @jonringer opened pull request #85329 → python3Packages.dotnetcore2: 2.1.11 -> 2.1.13 → https://git.io/Jfv7i
turion has quit [Ping timeout: 272 seconds]
<drakonis> might as well just use the original template and port anything else
<qy[m]1> yeah, that is pretty likely to fail, it's going to try and use configuration.nix
<energizer> gchristensen: .home thanks
<qy[m]1> you could use the manual build command
<drakonis> i already have nixflakes as my default nix
<drakonis> it looks for flakes
<qy[m]1> `nix build .#nixosConfigurations.<hostname>.config.system.build.toplevel
<qy[m]1> ah ok
<qy[m]1> hmm
<drakonis> lib/util.nix doesn't look like it includes the hosts yet? i'm not sure if i can read it
<drakonis> its kinda vaguely unreadable
<qy[m]1> check the bottom of hosts/default.nix
<{^_^}> [nixpkgs] @risicle merged pull request #79772 → [19.09] aspell: 0.60.6.1 -> 0.60.8 → https://git.io/JvCJ0
<{^_^}> [nixpkgs] @risicle pushed 2 commits to release-19.09: https://git.io/Jfv7H
<qy[m]1> the function in that utils file is used there to enumerate the hosts
<qy[m]1> that's why it's relevant
<{^_^}> [nixpkgs] @chkno opened pull request #85330 → openmvg: 1.3 -> 1.5 (unbreak) → https://git.io/Jfv7Q
<drakonis> i'm aware.
<qy[m]1> so as long as that all links up, the nix build command should definitely work, and once you have a system built, you can always just manually switch-to-configuration
<{^_^}> [nixpkgs] @worldofpeace pushed to treewide-broken-20.03 « treewide: mark broken wip »: https://git.io/Jfv7d
<qy[m]1> that function could definitely be cleaner
kuznero has quit [Quit: Leaving]
<qy[m]1> i'm mostly only keeping it cause then i have an excuse to keep utils.nix, which might be useful in the future :p
jco has quit [Quit: WeeChat 2.7]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #85331 → treewide: mark broken packages for 20.03 → https://git.io/Jfv7x
<qy[m]1> drakonis: here's a thought. what happens if you run "nix flake check" in the root directory
<drakonis> with modifications?
<{^_^}> [nixpkgs] @arianvp opened pull request #85332 → Revert "nixos/acme: Fix allowKeysForGroup not applying immediately" → https://git.io/Jfv7h
<qy[m]1> yup, however you expect it to build
<drakonis> it seems to not like the existence of git-crypt files
<qy[m]1> cause that should just verify that the flake can eval and each of the configurations and packages
<zeta_0> i posted this issue that i'm having with the haskell.nix infrastructure, if anyone would like to help me fix it, thanks in advance: https://www.reddit.com/r/NixOS/comments/g20vga/integrating_haskellnix_alternative_infrastructure/
<qy[m]1> right, yes, because it'll be trying to build my hosts too
<qy[m]1> you could delete those
<drakonis> i'll do some purging here
<qy[m]1> :D
pbogdan has quit [Quit: ERC (IRC client for Emacs 26.3)]
<drakonis> hm, it appears that there are syntax errors here
<drakonis> pebcak
captjakk has quit [Remote host closed the connection]
<qy[m]1> 👀
captjakk has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jfv5m
pbogdan has joined #nixos
Naptra has quit [Remote host closed the connection]
NieDzejkob has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jfv5Z
NieDzejkob has joined #nixos
<{^_^}> [nixpkgs] @arianvp opened pull request #85333 → [20.03] Revert "nixos/acme: Fix allowKeysForGroup not applying immediately" → https://git.io/Jfv5l
<drakonis> can't wait for when the error changes get merged
<drakonis> knowing where exactly it broke would be a godsend
captjakk has quit [Ping timeout: 250 seconds]
<ToxicFrog> I was just looking at that, for the same reason
<ToxicFrog> > I wrongly assumed that PR fixed renewal too, which it didn't!
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):296:44
<{^_^}> [nixpkgs] @worldofpeace pushed to treewide-broken-20.03 « fixup »: https://git.io/Jfv5u
<drakonis> ah, this one's about home-manager
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/21750051b26 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.03)
xO1 has quit [Ping timeout: 256 seconds]
<qy[m]1> ah
zaeph has left #nixos [#nixos]
sshow has joined #nixos
peelz has joined #nixos
<drakonis> wonderful, commented nearly the entire file and it still remains broken
hoplaahei has joined #nixos
<drakonis> "error: access to path '/nix/store/profiles/develop' is forbidden in restricted mode" now this one's something i haven't seen before
<qy[m]1> hahaha
<qy[m]1> incredible
<qy[m]1> ah... something's out of the right path
<qy[m]1> it's looking for /nix/store/<flake source>/profiles/develop/default.nix
<qy[m]1> but it's gone one too high
<hoplaahei> Should I be adding master.tar.gz channel if I am on 20.03 beta btw?
<drakonis> ah i believe i know why
<qy[m]1> ah, that gets pulled in from users/nixos.nix, which i never use so it's naturally quite broken
<{^_^}> [nixpkgs] @worldofpeace pushed to treewide-broken-20.03 « fixup »: https://git.io/Jfv5D
<qy[m]1> kill it with fire
<drakonis> the nixos user has that import
<drakonis> but it looks one up
<drakonis> oohh now its going
<qy[m]1> yeah, i guess i didn't bother migrating that one
<qy[m]1> i think there are other issues with that host anyway
<qy[m]1> woo
maddo has quit [Quit: See ya]
gustavderdrache has quit [Quit: Leaving.]
<drakonis> we'll see whether it works in the end
Khetzal has quit [Ping timeout: 264 seconds]
<zeta_0> so has nixos 20.03 officially been released yet? the download page still shows 19.09: https://nixos.org/download.html
<drakonis> well, seems like the check has gone through now
knupfer has quit [Ping timeout: 265 seconds]
philr has joined #nixos
<drakonis> beautiful, it works now
bqv has quit [Ping timeout: 272 seconds]
<qy[m]1> cool, presumably that should build then, or at least give you a clearer error
<qy[m]1> nice!
<{^_^}> [nixpkgs] @worldofpeace pushed to treewide-broken-20.03 « fixup »: https://git.io/Jfvdm
<drakonis> source tree is unclean though, is this something you set or was it by nrdxp?
<qy[m]1> welcome to life on a flake :p
<drakonis> actually that's set on hosts/default.nix
<drakonis> well i can get rid of that and build as i like
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfvdG
<{^_^}> [nixpkgs] @Ma27 merged pull request #85114 → offlineimap: 7.3.2 -> 7.3.3 → https://git.io/Jvj26
__monty__ has quit [Quit: leaving]
<qy[m]1> both
<drakonis> "or (throw "Cannot build from an unclean source tree!");"
<qy[m]1> he started it, i improved it :p
bqv has joined #nixos
<qy[m]1> you can't get self.rev without a fully clean tree
<drakonis> none shall stop me from being irresponsible with upgrades
<qy[m]1> yeah sure
<qy[m]1> but it still won't build with an unclean tree
<drakonis> hm
<qy[m]1> only if you remove that entire line will it work
<drakonis> aight
<qy[m]1> that throw is just so you actually know why it's failing
<drakonis> right right
<drakonis> well, its building now
<drakonis> at last...
o1lo01ol1o has quit [Remote host closed the connection]
<drakonis> i'm going to be finally in the forefront of nix
cjpbirkbeck has joined #nixos
<qy[m]1> :D
<drakonis> excitement abounds
tilcreator has quit [Quit: ZNC 1.7.5 - https://znc.in]
<drakonis> you should update the template
<drakonis> seems to be a fair bit behind the current setup
Guest66686 has joined #nixos
fendor has quit [Quit: Leaving]
<energizer> how do i get a package to be passed as an argument to my config module?
<qy[m]1> it is, extremely, but in my defense i'm not even done with the current setup
<drakonis> cleaning it up to be used as a reference flake config would be fine
<drakonis> there's a lot of stuff that nrdxp did that serves as "how to build a config"
<qy[m]1> yeah, true
tilcreator has joined #nixos
<drakonis> i'm not sure why pkgs.x86_64-linux inherits sddm-chili
<drakonis> seems really arbitrary to do that
<qy[m]1> the point of that is to expose all the packages we have "in house" so that flakes that import THIS flake can use them
<{^_^}> [nixpkgs] @worldofpeace pushed to treewide-broken-20.03 « fixup »: https://git.io/Jfvdu
<drakonis> ah i see
<qy[m]1> that said, i don't use sddm-chili
<qy[m]1> i'll totally delete that
<drakonis> well, flakes arent so widespread right now so
<qy[m]1> yeah
jgeerds_ has quit [Remote host closed the connection]
<gchristensen> (since they aren't merged and the RFC isn't accepted)
<{^_^}> [nixpkgs] @flokli opened pull request #85334 → systemd: 243.7 -> 245 → https://git.io/Jfvdr
<energizer> what are the arguments the configuration.nix function?
<energizer> *of the
<drakonis> still waiting for that one to happen
<energizer> pkgs, config, ___?
<drakonis> it'll be a grand day.
<arianvp> how do I rerun a nixos test that has succeeded locally?
<arianvp> im trying to reproduce a flake that only seems to happen on CI :/
<qy[m]1> <drakonis "it'll be a grand day."> indeed
<bqv> good lord that's how replies get formatted?
<peelz> yes haha
lsix has quit [Quit: WeeChat 2.8]
<drakonis> yuuuup
johnw` is now known as johnw
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
zeenk has quit [Quit: Konversation terminated!]
<drakonis> it certainly does teach good practices in config management
<drakonis> nix channels are hell and i can't wait to never worry about it again
<{^_^}> [nixpkgs] @Ma27 merged pull request #82339 → nixos/captive-browser: set chromium's data-dir to a XDG-compliant location → https://git.io/Jv6Uv
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfvdN
o1lo01ol1o has joined #nixos
<qy[m]1> i reccomend keeping some around for nixos-option, nix search, etc
<qy[m]1> but yeah
<drakonis> i figure that'll be dealt with once flakes get merged
<qy[m]1> yup
<hoplaahei> Is there a reason to specify pkgs.package prefix when installing packages? I just have the name of the package e.g., firefox, without the pkg. prefix, and it seems to work.
Thra11 has quit [Quit: WeeChat 2.8]
abathur has quit [Quit: abathur]
<cole-h> It's required if you don't do something like `with import <nixpkgs> {}` -- the packages won't be in scope otherwise.
nschoe has quit [Ping timeout: 240 seconds]
nschoe has joined #nixos
<hoplaahei> cole-h: why does it seem to work for me then? I don't do anything like that using /etc/nixos/configuration.nix.
<hoplaahei> But I call it like this:
<hoplaahei> environment.systemPackages = with pkgs; [ packages ]
<hoplaahei> ;
<cole-h> Yeah
<cole-h> See that `with pkgs;`?
<cole-h> You're bringin `pkgs` into scope for that list.
<cole-h> So `= with pkgs; [ package1 package2 package2 ];` is the same as writing `= [ pkgs.package1 pkgs.package2 pkgs.package3 ];`
<hoplaahei> ok do
<drakonis> #25311
<hoplaahei> ... so it is just a shorthand?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/25311 (by peterhoeg, 2 years ago, merged): display-manager: systemd-udev-settle serves no purpose, boot 10% faster
<hoplaahei> that environment.system
<hoplaahei> Understands?
<drakonis> it got merged
<drakonis> neat
erasmas has quit [Quit: leaving]
nschoe_ has joined #nixos
<hoplaahei> cole-h: wait I understand now. I already
miscellaneousbus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hoplaahei> start my config with
<qy[m]1> oh, is udev-settle finally gone
<drakonis> was merged, yes.
<drakonis> it still exists while a zfs pr wasnt merged
rtjure has quit [Read error: Connection reset by peer]
<qy[m]1> hm, awesome
nschoe has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #84266 → nixos/systemd-nspawn: disallow multiple packages with `.nspawn`-units → https://git.io/JvbHl
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JfvFB
<hoplaahei> cole-h: sorry my keyboard was running out of battery and kept pressing enter. But yea thanks, I understand now. B
sigmundv__ has joined #nixos
opthomasprime has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to treewide-broken-20.03: https://git.io/JfvF9
sigmundv_ has quit [Ping timeout: 256 seconds]
opthomasprime has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @zowoq opened pull request #85335 → podman: 1.8.2 -> 1.9.0 → https://git.io/JfvFH
nschoe_ has quit [Quit: Leaving]
Darkmatter66 has joined #nixos
<{^_^}> [hydra] @edolstra pushed to master « Only run the 'build' test »: https://git.io/JfvFx
miscellaneousbus has joined #nixos
miscellaneousbus has quit [Client Quit]
Darkmatter66_ has quit [Ping timeout: 258 seconds]
zaeph has joined #nixos
<peelz> is this the correct way to mark an option as "required"?
<{^_^}> [nixpkgs] @worldofpeace pushed to treewide-broken-20.03 « treewide: mark broken wip »: https://git.io/JfvbR
justanotheruser has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<infinisil> peelz: That would give an error that null isn't of type int
jboy has quit [Quit: bye]
<infinisil> peelz: What you can do is not declare a default at all. If the option then gets used and there are no definitions, people will get an error mentioning that
<peelz> infinisil: oh okay thanks
<{^_^}> [hydra] @edolstra merged pull request #737 → Get rid of dependency to SQLite → https://git.io/JvhLN
<{^_^}> [hydra] @edolstra pushed 4 commits to master: https://git.io/JfvbK
jboy has joined #nixos
<peelz> infinisil: are you sure it would give an error though? I'm looking at the mkOption source and it seems like it would evaluate to the same thing
<infinisil> Yup
<infinisil> Just try it
<peelz> alright
<infinisil> (keep in mind that you need to actually use the option somewhere for it to trigger though)
Desetude has quit [Quit: WeeChat 2.8]
geekthattweaks has quit [Quit: Connection closed for inactivity]
justanotheruser has joined #nixos
nikola_i has joined #nixos
ixxie has quit [Quit: Lost terminal]
hoplaahei has quit [Ping timeout: 256 seconds]
philr_ has joined #nixos
hoplaahei has joined #nixos
dermetfan1 has quit [Quit: WeeChat 2.7.1]
sshow has quit [Quit: leaving]
sshow has joined #nixos
philr has quit [Ping timeout: 260 seconds]
<drakonis> qy[m]1: how would i ensure that i'm installing packages from nixos-unstable?
<qy[m]1> with my current live system, you'd use pkgs.large
<qy[m]1> that way even if you change the base nixpkgs it'll definitely be from large
<qy[m]1> but i think it's currently set to large anyway so doesn't really matter
<qy[m]1> (can check in flake.nix)
fooker has quit [Ping timeout: 265 seconds]
<drakonis> cool
plutes has joined #nixos
<qy[m]1> i'd remove those silly traces if you're gonna make extensive use of that, i added them as a debugging trick and i've just been too lazy to remove them
plutes has quit [Max SendQ exceeded]
copy_ is now known as copy
copy is now known as test
test is now known as copy
<{^_^}> [nixpkgs] @petabyteboy pushed to feature/mark-broken « common-updater-scripts: add mark-broken script »: https://git.io/JfvNn
<gchristensen> worldofpeace cole-h ^
<cole-h> 👀
<{^_^}> [nixpkgs] @petabyteboy pushed 0 commits to feature/mark-broken: https://git.io/JfvNc
<gchristensen> sed and awk, love it
fooker has joined #nixos
plutes has joined #nixos
plutes has quit [Remote host closed the connection]
plutes has joined #nixos
gxt has quit [Remote host closed the connection]
gxt_ has joined #nixos
marsh has quit [Ping timeout: 272 seconds]
zeta_0 has joined #nixos
mbrgm_ has joined #nixos
xe4 has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<worldofpeace> 👀
<gchristensen> but go relax!
marsh has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy opened pull request #85337 → common-updater-scripts: add mark-broken script → https://git.io/JfvNz
<qy[m]1> why is this needed? :')
<cole-h> So that #85331 doesn't need to be done manually
<{^_^}> https://github.com/NixOS/nixpkgs/pull/85331 (by worldofpeace, 2 hours ago, open): treewide: mark broken packages for 20.03
<cole-h> Or as-manually
Henson has joined #nixos
<Henson> does anybody have a problem with Firefox not being able to connect to the internet after your computer wakes up from sleep, but nothing is actually wrong with the network connection?
<Henson> this has been going on ever since I upgraded to NixOS, and only affects firefox, and starting with a fresh profile, disabling all extensions, and installing new versions doesn't seem to make a difference.
<Henson> it doesn't happen every time, and sometimes it resolves on its own, sometimes it doesn't. I've looked this up and tried all of the suggestions but to no avail.
<drakonis> qy[m]1: is there something i forgot to include in order to have my system locate the filesystem?
<drakonis> i gave it the correct uuid but it cannot find it
o1lo01ol1o has quit [Remote host closed the connection]
<qy[m]1> not that i know of?
<drakonis> weird
<qy[m]1> including the right boot kernel modules maybe?
<qy[m]1> override all the boot stuff to your old config, i guess
<drakonis> hmm
cosimone has quit [Quit: Quit.]
<drakonis> its all correct tho
<qy[m]1> is it definitely pulling in your config? i had a thing where first time i switched it didn't actually load any of my values properly, not sure how i achieved that though
<qy[m]1> beyond that, no clue, sorry
<drakonis> its in the hosts
<drakonis> maybe i'll just have it look it up through the device number
<drakonis> hmm, seems like it worked now
<drakonis> huzzah
<qy[m]1> heh
<drakonis> brb reboot
drakonis has quit [Quit: WeeChat 2.8]
captjakk has joined #nixos
snicket has quit [Ping timeout: 240 seconds]
captjakk has quit [Remote host closed the connection]
Henson has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
captjakk has joined #nixos