worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<DigitalKiwi> if you replaced unstable with nixos-2003 and the vim with the way you override vscode for your plugins...might work
<mattlevan> Great I'll probably try that tomorrow! Thank you.
<mattlevan> I'm outta here, goodbye!
ninjin has joined #nixos
jtcs has joined #nixos
* DigitalKiwi checks wiki; nixos-2003.vscode-extensions
<DigitalKiwi> basically anywhere you use pkgs use nixos-2003 instead
<{^_^}> [nixpkgs] @doronbehar opened pull request #94202 → mailnag: enable to configure plugins → https://git.io/JJgUZ
develCuy has quit [Client Quit]
<exarkun> is this the right direction?
<exarkun> postBuild = "wrapProgram amlite --set LD_LIBRARY_PATH $(pkg-config --variable=libdir freetype2)";
<exarkun> seems like it shouldn't be this hard
develCuy has joined #nixos
Bunogi has quit [Quit: Ping timeout (120 seconds)]
Bunogi has joined #nixos
noudle has quit []
zupo has joined #nixos
<disasm> is there something that prevents openssh.enable = true from working in an installer?
develCuy has quit [Client Quit]
<disasm> after booting I have to run systemctl restart sshd to get openssh to accept connections from an installer usb image.
<{^_^}> [nixpkgs] @Ma27 pushed to master « gitea: 1.12.2 -> 1.12.3 »: https://git.io/JJgU4
cosimone_ has joined #nixos
CptCaptain has quit [Quit: WeeChat 2.9]
<exarkun> disasm: I seem to remember some part of some installer doing something extra that disables the ssh server, yes
develCuy has joined #nixos
<DigitalKiwi> there is a way to make it work though
<oopisthedevil[m]> For the raspberry pi image, "services.sshd.enabled = true;" works. Have you tried that?
<DigitalKiwi> systemd.services.sshd.wantedBy = lib.mkOverride 10 [ "multi-user.target" ];
<DigitalKiwi> services.openssh.permitRootLogin = lib.mkForce "yes";
<DigitalKiwi> is what i have in my sd-image.nix
<exarkun> oh yea, the wantedBy thing is what I was thinking of
<DigitalKiwi> it doesn't start by default is all
<DigitalKiwi> and i'm headless
rjmill has joined #nixos
<{^_^}> [nixpkgs] @Artturin opened pull request #94203 → autotiling: init at 1.1 → https://git.io/JJgUr
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93942 → nixos/boot: some documentation improvements → https://git.io/JJ0md
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJgUK
<disasm> ah, so sshd, not openssh
afreak has quit [Ping timeout: 240 seconds]
<disasm> I'll rebuild this image again and try it
<clever> disasm: there is an mkForce in the installer image, to stop sshd from starting on boot, because there is no pw setup
<disasm> one more question, is there a way to disable auto-login in the installer image clever?
<clever> one second
<clever> default was null, mkForce it back!
alp has quit [Ping timeout: 240 seconds]
<disasm> thanks :)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJgUj
<disasm> now I have an installer image that can boot from anywhere with an internet connection that I can log into remotely but no one can login locally :)
<disasm> yay for wireguard and ssh :)
<DigitalKiwi> ohhi clever what's the way to override a module (which is i think what mattlevan needs to do for gnome if they want to use nixos-20.03 for everything except that which they want from nixos-unstable)
<DigitalKiwi> oh found this from the last time i asked
<DigitalKiwi> 07:44 <srhb> DigitalKiwi: If you literally mean module, mixing them might not be possible, but the way to do it is via disabledModules and imports.
<DigitalKiwi> 07:44 <srhb> DigitalKiwi: That is, you can disable the one from the channel your NixOS install uses and then manually import another.
nij has joined #nixos
<clever> disasm: ive done the same before with toxvpn
* DigitalKiwi has too
<DigitalKiwi> ;D
<nij> Hello.. I'm still struggling with how to compile programs in nixos manually with nix derivation.
<DigitalKiwi> clever++
<{^_^}> clever's karma got increased to like 488, I think
<nij> I decided to start understanding from scratch, so I write a plain hello.c.
<nij> I realized it works even with `gcc hello.c -o hello`.. even while <stdio.h> is included.
<nij> Why would `gcc` know where to find <stdio.h> in nixOS?
<clever> nij: the stdenv sets up -I flags for you
<aaronjanse> My understanding is that the location of <stdio.h> is hard-coded into the gcc compiler when it's built
<clever> for everything in the buildInputs, plus glibc
<nij> aaronjanse: That's my point. Isn't <stdio.h> in /nix/store by deafult in nixOS?
<aaronjanse> Correct
<nij> aaronjanse: If that's the case, `gcc` won't know where to look at?
<aaronjanse> I don't think you ever need `-l` for standard library. But yeah, Nix adds it for stuff like `zlib`
<clever> nij: run `gcc -v` and youll see what its doing
<aaronjanse> One sec, I'll send you the derivation
<aaronjanse> In the gcc derivation, it has `stdenv` and `libcCross` as inputs, which in turn have the libc derivation as an input https://github.com/NixOS/nixpkgs/blob/92a047a6c4d46a222e9c323ea85882d0a7a13af8/pkgs/development/compilers/gcc/7/default.nix
<aaronjanse> You can see a new libc being added to nixpkgs here https://github.com/NixOS/nixpkgs/pull/93568#
maier has joined #nixos
<aaronjanse> > That's my point. Isn't <stdio.h> in /nix/store by deafult in nixOS?
<aaronjanse> nij: whoops, sorry. It's in /nix/store whenever you're using gcc because libc is a dependency of `gcc`
<{^_^}> error: syntax error, unexpected IN, expecting ')', at (string):318:34
<aaronjanse> {^_^}--
<aaronjanse> Aww
<{^_^}> [nixpkgs] @ggreif opened pull request #94204 → llvmPackages_11: start with 11.0.0rc1 → https://git.io/JJgTt
<nij> clever: I ran `gcc -v` but I'm illiterate.. I tried to search "stdio" in its output, but get nothing..
<nij> DigitalKiwi: That link is the reason why I'd like to try from scratch. It's a bit too advanced for me.
<clever> nij: with the other stuff, `gcc -v hello.c -o hello`
<nij> aaronjanse: Do you mean `stdenv` is hardcoded in my `gcc`?
<{^_^}> [nixpkgs] @nh2 opened pull request #94205 → openexr, ilmbase: Fix compilation on non-glibc. → https://git.io/JJgTm
<aaronjanse> nij: Correct. Just like the path to `zlib` might be hardcoded into a derivation output that has `zlib` as an input
<bqv> "store path mismatch"
<nij> clever: Ah yeah.. that's what I ran: `gcc -v hello.c -o hello 2>&1 | tee see.txt`
<bqv> never had that error before
<bqv> what to make of it
<clever> nij: it should be listing search paths at some point
<DigitalKiwi> are you nixUnstable
<aaronjanse> Hold up, wait, I might be wrong
<bqv> DigitalKiwi: me? yes
<nij> aaronjanse: Oh. That makes sense now. Then in order to really use derivation, I need to write a c program that is more complicated.
<DigitalKiwi> what to make of it is that nixUnstable is broken :(
<DigitalKiwi> it breaks aarch64.nixos.community too
<bqv> oh fantastic
maier has quit [Ping timeout: 264 seconds]
<DigitalKiwi> no i'm not bitter at all
<bqv> :D
<DigitalKiwi> there appear to be commits that might fix it but have not made it to nixUnstable yet
<bqv> hmm
<bqv> oh
<bqv> well i'm on the flake, so i can probably slurp those up
<DigitalKiwi> err, i'm not sure there are ones that fix the store path, but the one i get on the build box
<bqv> hm
<bqv> i might just revert updating it for now
<{^_^}> nix#3799 (by jtojnar, 2 weeks ago, open): hash '' has wrong length for hash type 'md5'
jonringer has joined #nixos
<DigitalKiwi> i'm not even sure they fix the ones on the build box since i can't update the build box and i think it's nix-daemon on the server side...
<nij> aaronjanse: I entered the link. What is that supposed to show me?
rjm has joined #nixos
<aaronjanse> It shows that libc paths are hardcoded into the gcc binary
<DigitalKiwi> well and i couldn't do a nixos-rebuild with a version of nixpkgs that used an updated nixUnstable :/
<aaronjanse> nij: Note that `gcc-wrapped` has a hard path to `gcc`, which has hard paths to your libc
<nij> aaronjanse: I see. So this `gcc` is really different from the `gcc` I have, say, on archlinux.
<aaronjanse> How so?
<nij> It is customized to some extent for nixos, and knows the location of some basic libs.
rjmill has quit [Ping timeout: 244 seconds]
<aaronjanse> Ah, correct
<nij> aaronjanse: :D :D Thanks!
<aaronjanse> nij: no problem! :-)
jonringer has quit [Quit: Leaving]
jonringer has joined #nixos
<nij> aaronjanse: If the problem gets more involved, where not all libs are hardcoded into gcc, I suppose I will need to write derivation.
<nij> aaronjanse: I'm trying to compile lukesmith's st (https://github.com/LukeSmithxyz/st), and I have written a derivation for it.
<{^_^}> [nixpkgs] @colemickens closed pull request #86267 → tor: 0.4.2.6 -> 0.4.3.5 → https://git.io/JfmSU
<nij> with import <nixpkgs> {}; stdenv.mkDerivation {
<nij> buildInputs = [ coreutils gcc x11 hb ];
<nij> src = ./.;
<nij> name = "st-lukesmith";
<nij> configurePhase = ''
<nij> #declare -xp
<nij> '';
<nij> buildPhase = ''
<DigitalKiwi> oh no
<nij> make install
<nij> '';
<nij> }
<aaronjanse> nij: I recommend using pastebin or something to send code
<aaronjanse> nij: Also, you might want to check out how the nixpkgs st derivation works https://github.com/NixOS/nixpkgs/blob/33f65a5b3926fe32f1cb46d14b50ccafe5abddd6/pkgs/applications/misc/st/default.nix
<nij> aaronjanse: I didn't have x11 nor hb in the beginning, but `nix-build` complained about it. So I added `x11`. It complained about missing `hb.h`, so I include `hb`. But then it says it's not right.
<nij> OH NO :O I did something wrong? leeme check what pastebin is.
<DigitalKiwi> otherwise you might feel the wrath of Sigyn https://twitter.com/ArchKiwi/status/1249096234163470336 (parent tweets)
<DigitalKiwi> please don't use pastebin.com
<DigitalKiwi> gist.github.com is ok i use that or dpaste.org usually
<aaronjanse> ^Agreed with DigitalKiwi
incognito9999 has quit [Quit: ZNC 1.7.2+deb3~bpo9+1 - https://znc.in]
incognito9999 has joined #nixos
<aaronjanse> nij: try removing `configurePhase` and `buildPhase`. Nix has really good defaults for those based on your buildInputs etc
<DigitalKiwi> or i put it on my server in /files/ ;D
<nij> DigitalKiwi: .. I'm afraid I did not get it :S :D I'll use dpaste.org in the future
<aaronjanse> No worries nij
<aaronjanse> Ty
<nij> DigitalKiwi: (By the way, why not using pastebin, but dpaste?)
<DigitalKiwi> nij: Sigyn is a freenode thing (and others exist) that can ban/k-line (some channels have bots that will kick/ban) if you paste too much
<nij> DigitalKiwi: Ah... I see :O
<nij> Thanks for that info!
<{^_^}> [nix] @illiusdope opened pull request #3879 → Prevent nix-build from accepting nix-shell flags → https://git.io/JJgTo
<DigitalKiwi> from #archlinux Pastebin.com is swamped with advertisements and random captchas. Malware found on pastebin.com has resulted in it being blocked for some users. It injects CRLF line-endings. Please, use something else. Use something sane like https://gist.github.com https://bpaste.net http://ix.io https://paste.rs
<DigitalKiwi> i like dpaste.org and the pastebin client i'm writing supports it :)
thc202 has quit [Ping timeout: 260 seconds]
<nij> Woah serious issues
<DigitalKiwi> dpaste.de is now dpaste.org :(
<nij> aaronjanse: I tried to read the official derivation for st, but it's way more than what I understand so far..
<DigitalKiwi> that's the fourth paste client i've written lol
<DigitalKiwi> possibly fifth if you count ompluad...
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
<nij> lol you wrote so many paste clients xD why would you do that
<{^_^}> [nixpkgs] @cdepillabout merged pull request #94174 → ip,bytebuild: disable test suites. → https://git.io/JJzOa
<{^_^}> [nixpkgs] @cdepillabout pushed 3 commits to haskell-updates: https://git.io/JJgT5
<aaronjanse> nij: That's okay. What errors do you get when you try this derivation (a more basic version of the official one) https://gist.github.com/aaronjanse/e4c1ab3b99e588656d59cca2d3f74e2f
<aaronjanse> *?
<aaronjanse> DigitalKiwi: that's insane
evanjs has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
<nij> It says
<DigitalKiwi> i used to use wgetpaste and it didn't support a service i wanted and was hard to add so i wrote my own. there was one that was lua using native sockets (luapaste, i don't think it's public), one that was curl based, but had a lot nicer option system, and another that was lua sockets but had the niceness of curlpaste (Uppity), and then this haskell one. ompluad was based on luapaste and was a client for the defunct omploader (and was a lua version
<DigitalKiwi> of ompload, thus the name)
<DigitalKiwi> Uppity usurped curlpaste and apc will replace Uppity
<nij> aaronjanse: error: cannot auto-call a function that has an argument without a default value ('stdenv')
<aaronjanse> nij: Oh. I assume you're doing `nix-build default.nix`. The problem is that `default.nix` is a function that has arguments. You can provide those arguments by running the shell commend `nix-build -E '(import <nixpkgs> {}).callPackage ./default.nix {}'`
<DigitalKiwi> omploader was a file host not only text site but people kept abusing it and it got too expensive so omp had to shut it off
h0m1 has quit [Ping timeout: 272 seconds]
<aaronjanse> nij: `callPackage` is a special function that autofills function arguments with everything it cal be find (in this case nix packages)
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
proofofkeags has quit [Remote host closed the connection]
<aaronjanse> DigitalKiwi: aaah, I should learn Haskell, shouldn't I?
<DigitalKiwi> yes
<DigitalKiwi> i'll do my best to help anyone if they want
<aaronjanse> <3
proofofkeags has joined #nixos
<nij> DigitalKiwi: (I'm learning too... and got distracted by nixos)
h0m1 has joined #nixos
<aaronjanse> DigitalKiwi: Rust has taught me to love monads and generics. Any recommended learning resources for good use cases for Haskell apart from parsing?
<nij> aaronjanse: sorry for the delay. I'm running nixos on virtualbox, so I have to literally type/copy/paste manually
<aaronjanse> nij: Oh no, ha, no worries
<nij> aaronjanse: xmonad!
<nij> aaronjanse: in 500 lines. I wish I can understand that this year.
<aaronjanse> nij: Oh nice! I currently use i3, maybe I should check out xmonad
<DigitalKiwi> i'm a huge fan of programming in haskell by hutton (and he has a few videos on computerphile too, and is on twitter and is really nice)
<nij> aaronjanse: I was learning haskell, and got hooked by the conciseness of xmonad, and I got hooked by nixos.
dbmikus has quit [Ping timeout: 240 seconds]
evanjs has joined #nixos
<aaronjanse> DigitalKiwi: sweet, I'll check that out!
<nij> aaronjanse: fatal error: hb.h: No such file or directory
<DigitalKiwi> i have a program i wrote that lets me convert resistor values to/from color codes
<DigitalKiwi> my paste client, obviously
<aaronjanse> nij: Similar story here. Elm led me to Nix
<DigitalKiwi> my website is hakyll https://mostlyabsurd.com
<nij> DigitalKiwi: I've checked the new book in 2020 "algorithm design in haskell"
<nij> DigitalKiwi: Have you looked into that? I was intimidated within the first 3 chaps.
<DigitalKiwi> i have a script i run that makes a bunch of urls for bing search to get my rewards in a few seconds
<aaronjanse> nij: please send me a screenshot (because it's in a VM) of the full build logs
<DigitalKiwi> no i have not
<DigitalKiwi> is that the one by bird?
<nij> DigitalKiwi: yep
rjm has quit [Remote host closed the connection]
proofofkeags has quit [Ping timeout: 240 seconds]
<nij> DigitalKiwi: I quickly understand that haskell can be fast, but you gotta understand it (and ghc) very very very well.. so in usual cases expect that only to be used in cases where performance is not too required..
<DigitalKiwi> i <3 bird but sometimes (i'm looking at you perls of functional algorithm design) it hurts my brain good
<nij> aaronjanse: hmm
<DigitalKiwi> https://abhinavsarkar.net/posts/fast-sudoku-solver-in-haskell-1/ is a good 3 part series on steps to optimize a haskell program
<nij> aaronjanse: It seems that adding the package "harfbuzz" solves the problem.
<nij> aaronjanse: It also says: No package 'harfbuzz' found
<{^_^}> [nixpkgs] @aanderse merged pull request #93187 → perlPackages: fixes for perl 5.30.3 -> 5.32.0 → https://git.io/JJsAb
<{^_^}> [nixpkgs] @aanderse pushed 9 commits to staging: https://git.io/JJgka
<nij> DigitalKiwi: <3 <3
dbmikus has joined #nixos
<nij> aaronjanse: then this gives a working and simplie derivation :D thanks!
<aaronjanse> nij: No problem!
<nij> I can learn around it
<DigitalKiwi> oh hledger is cool too if you want things written in haskell (and pandoc is like the defacto example alongside xmonad)
<nij> DigitalKiwi: I wish there will be more haskell programs that shine
<DigitalKiwi> nix search hledger (there are multiple parts, hledger-web is yesod i think) but i avoid snoyberg software myself so i'd look at snap if i wanted to build something hakyll wasn't good for ;P
<DigitalKiwi> https://ihp.digitallyinduced.com/ is new idk how it is yet but might be good for something
<nij> DigitalKiwi: But I find the next step I should do is to setup project developing environment... I can do easy problems in haskell syntax now, but I still cannot build a project.
<DigitalKiwi> i have a shell.nix i will send that is useful
<DigitalKiwi> here's one i just used for Unique https://gist.github.com/Kiwi/aa483a99779c67b5eb8489ed4e9223d0
<nij> I use cabal in archlinux, and was starting to develop.. and I got hooked to nixos. haha
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94206 → python27Packages.tblib: 1.6.0 -> 1.7.0 → https://git.io/JJgIe
proofofkeags has joined #nixos
<DigitalKiwi> https://mostlyabsurd.com/files/shell.nix this is an out of date version for my hakyll site
<nij> DigitalKiwi: do you use cabal v2* style?
<DigitalKiwi> i use cabal too so my shell.nix just sets it up so cabal works. i'm not advanced enough to build everything with haskell though haskell.nix https://github.com/input-output-hk/haskell.nix might start getting some usage
<DigitalKiwi> nij: yes
<nij> I wish I can setup my nixos asap so I can have my environment and get back to haskell
<DigitalKiwi> with that shell.nix (though i have a Makefile to make it easier) i can use cabal commands as you would normally
<nij> Useful :D Thank you! I archived our conversation today. There are a lot to learn, and I will gradually grasp them.
<nij> DigitalKiwi: Thank you!
<nij> aaronjanse: Thank you!
<nij> Bed time. See you guys soon :)
<DigitalKiwi> goodnight
<aaronjanse> Goonight nij!
nij has quit [Quit: leaving]
pjjw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<DigitalKiwi> cabal-shell is nice, nix-shell is nice, but what's better than either of those? BOTH!
<DigitalKiwi> you could use that if you wanted to use nix for dependencies but for some reason you needed to build something with cabal (e.g. it's broken in nixpkgs but will compile with cabal)
Guest38 has joined #nixos
<DigitalKiwi> which i believe was the case at the time for shelly when i came up with it
rajivr has joined #nixos
mjrosenb has quit [Ping timeout: 260 seconds]
dbmikus has quit [Ping timeout: 240 seconds]
Guest38 has quit [Ping timeout: 264 seconds]
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
domogled has quit [Ping timeout: 260 seconds]
proofofkeags has quit [Ping timeout: 240 seconds]
<DigitalKiwi> aaronjanse: oh and if you see my website i have a little set of programs i wrote to help me edit haskell imports ... i should probably put them on github in a way that's easier to use
<DigitalKiwi> and there are libraries for writing arduino programs too
* DigitalKiwi going through projects dirs
<{^_^}> [nixpkgs] @romildo merged pull request #94132 → ibm-plex: 5.0.0 -> 5.1.0 → https://git.io/JJuVk
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJgtZ
<{^_^}> [nixpkgs] @nh2 opened pull request #94207 → mesa: Fix `-Werror=int-conversion` build error on musl. → https://git.io/JJgtc
<DigitalKiwi> oh here's one i wrote to help me calculate/convert transfer rates to know how long a transfer would take
<DigitalKiwi> aaronjanse: basically haskell all the things :D
<DigitalKiwi> one of the bots used to respond to queries of the kind 'can haskell do this always with something like 'yes haskell can do that'
<DigitalKiwi> one of the bots used to respond to queries of the kind 'can haskell do this' always with something like 'yes haskell can do that'
<{^_^}> [nixpkgs] @romildo merged pull request #94065 → enlightenment.enlightenment: 0.24.1 -> 0.24.2 → https://git.io/JJErS
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJgtR
mjrosenb has joined #nixos
mattlevan has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #93839 → humioctl: init at 0.25.0 → https://git.io/JJB1L
<{^_^}> [nixpkgs] @kalbasit pushed 3 commits to master: https://git.io/JJgtF
<infinisil> DigitalKiwi: Damn neat, double shebang
<DigitalKiwi> yeah i was surprised it worked (that's why i tried it mostly, to see if it was possible)
afreak has joined #nixos
MarcWeber has joined #nixos
MarcWebe1 has quit [Ping timeout: 240 seconds]
wnklmnn has quit [Quit: Leaving]
<energizer> ,locate bin/nvidia-smi
<{^_^}> Couldn't find in any packages
domogled has joined #nixos
mattlevan has joined #nixos
cjpbirkbeck has quit [Quit: Goodbye, take care]
<mattlevan> Hello! I'm back.
<infinisil> energizer: it's in linuxPackages.nvidia_x11
<energizer> infinisil: thanks!
<mattlevan> @DigitalKiwi did you get any reply regarding the module override?
<energizer> <3 infinisil
<{^_^}> infinisil's karma got increased to 322
<infinisil> :)
* mattlevan sips his beer
nek0 has joined #nixos
maier has joined #nixos
nek0 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danderson opened pull request #94209 → tailscale: 0.100.0-153 -> 1.0.0 → https://git.io/JJgYw
<{^_^}> [nixpkgs] @marsam merged pull request #94119 → lxd: 4.2 -> 4.3 → https://git.io/JJuEW
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JJgYX
nek0 has joined #nixos
maier has quit [Ping timeout: 260 seconds]
<DigitalKiwi> mattlevan: only what i found from a previous conversation https://logs.nix.samueldr.com/nixos/2020-07-30#3802823;
<{^_^}> [nixpkgs] @marsam merged pull request #94199 → nvidia-docker: remove ldconf patch (fixes #93511) → https://git.io/JJzP9
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJgY9
<{^_^}> [nixpkgs] @marsam merged pull request #94146 → victor-mono: 1.3.1 -> 1.4.1 → https://git.io/JJuwW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJgY7
<{^_^}> [nixpkgs] @marsam merged pull request #94129 → monetdb: 11.37.7 -> 11.37.11 → https://git.io/JJuak
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJgYF
cole-h has joined #nixos
work__ has quit [Quit: Connection closed for inactivity]
<mattlevan> Thanks @DigitalKiwi! I imported the stable channel of nixpkgs and am successfully using vscode from it.
<mattlevan> Everything works as expected.
<mattlevan> Beautiful.
bqv has quit [Ping timeout: 260 seconds]
<aaronjanse> DigitalKiwi: That's super cool!
bqv has joined #nixos
afreak has quit [Ping timeout: 240 seconds]
CMCDragonkai1 has joined #nixos
gregf has left #nixos [#nixos]
<DigitalKiwi> mattlevan: did you do it like my gist for vim?
lambda-11235 has joined #nixos
Supersonic112 has joined #nixos
jumper149 has quit [Quit: WeeChat 2.9]
<DigitalKiwi> aaronjanse: the cabal-program.hs gist?
bqv has quit [Quit: WeeChat 2.9]
<DigitalKiwi> or everything else i said
Supersonic has quit [Ping timeout: 240 seconds]
Supersonic112 is now known as Supersonic
<DigitalKiwi> i know there to be at least one person that it was actually useful for lol
<DigitalKiwi> winning
bqv has joined #nixos
lambda-11235 has quit [Max SendQ exceeded]
lambda-11235 has joined #nixos
kir0ul85 has quit [Ping timeout: 240 seconds]
bqv has quit [Read error: Connection reset by peer]
bkv has joined #nixos
keidax has joined #nixos
keidax has quit [Remote host closed the connection]
keidax has joined #nixos
bkv has quit [Client Quit]
<keidax> hey, I'm struggling to set up a systemd service for a custom package
<keidax> after a lot of trial and error I got the service file showing up in /etc/systemd/system/
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/43dd81b3fe8 (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<keidax> but if I actually try to systemctl enable it, I get "Failed to enable unit: File /etc/systemd/system/display-manager.service: Read-only file system"
o1lo01ol1o has joined #nixos
orivej has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
bqv has joined #nixos
pjt_014 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
CMCDragonkai1 has quit [Ping timeout: 260 seconds]
domogled has quit [Quit: domogled]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.3]
<ryantm> keidax: Are you using NixOS?
<keidax> ryantm: yes, should have mentioned that
<ryantm> keidax: Can you share your nix expression for the service?
<keidax> technically this program is already in nixpkgs, but it's out of date and I wanted to test some things myself before submitting a PR
x0r-255 has joined #nixos
<keidax> ryantm: and then I reference it in configuration.nix as
<keidax> systemd.packages = [ (import /home/keidax/src/ly/default.nix) ];
<x0r-255> I am a manjaro user, and am wanting to switch to something more diy. I don't like gentoo, but am very interested in nixos and nix on artix. Is nix on an arch based system feasable?
bbennett37 has joined #nixos
eawsadads has joined #nixos
<eawsadads> on macOS homebrew has functionality to enable services, e.g. `brew services start xyz`, does `nix` have similar?
<{^_^}> [nixpkgs] @Mic92 merged pull request #93927 → Pwntools + unicorn update → https://git.io/JJRNC
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JJgZ7
<pjt_014> x0r-255: I've run nix on macos and wsl (weird combo I know), and It's certainly feasable in those cases. Much more so with macos of course. And since arch is notably linux-ier I imagine it'd be even more feasible.
<ryantm> keidax: You need to add something like https://github.com/NixOS/nixpkgs/blob/076860e0340a5e4a909b9a710e186508b14d1c90/nixos/modules/services/monitoring/monit.nix#L31-L43 to your NixOS config. You cannot install a systemd service from within a package.
cript0nauta has joined #nixos
<ryantm> x0r-255: Yes.
<pjt_014> I would note though that native package managers usually are better integrated, though, but that's probably to be expected.
simba1 has joined #nixos
<ryantm> keidax: and to add that service to nixpkgs you'd want to make a new NixOS module in nixpkgs for it.
<pjt_014> Also I hope to got windows has fixed their symlink implementation because WOW was it slow last time I used wsl. Can you imagine how painfully slow a symlink-heavy package manager runs with that?
kir0ul40 has joined #nixos
<keidax> ryantm: thanks, so there's no way to generate the nixos service config from an existing .service file? it has to be rewritten?
<pjt_014> x0r-255: only thing I'd recommend would be to to keep pacman installed pkgs to a minumum to avoid duplicates
<ryantm> keidax: Well things are different enough on NixOS that probably you can't reuse it, like you need to get the absolute paths for all the binaries and such.
iqubic` has joined #nixos
iqubic` has quit [Remote host closed the connection]
eawsadads has quit [Remote host closed the connection]
<ryantm> keidax: Some things also don't directly translate like wantedBy does something different because it isn't declarative in base systemd.
iqubic has quit [Ping timeout: 244 seconds]
<x0r-255> pjt_014 ok
waleee-cl has quit [Quit: Connection closed for inactivity]
<keidax> ryantm: okay, I'll give that a try, thanks!
<DigitalKiwi> x0r-255: replace your man in a jar with nixos
<x0r-255> DigitalKIwI man in a jar?
<x0r-255> wut
<DigitalKiwi> lots of recovering arch users here
<DigitalKiwi> manjaro
<DigitalKiwi> it used to be what phrik would say about it
<x0r-255> I'm so confused right now
alphy has joined #nixos
<DigitalKiwi> #archlinux has a bot named phrik that at some point used to make a reference to manjaro about it being a man in a jar
<DigitalKiwi> i guess you'd have to be there to get it :(
<DigitalKiwi> go inside my head it's funny
proofofkeags has joined #nixos
<DigitalKiwi> idk how much of that applies to manjaro
<DigitalKiwi> since it's a completely different thing from arch
<x0r-255> 100% I recon
<pjt_014> what'd be the best way to specify a different default pager?
<DigitalKiwi> you might be able to install nix the normal way as https://nixos.org/download.html
<pjt_014> also how badly could that break things?
proofofkeags has quit [Ping timeout: 264 seconds]
<DigitalKiwi> export PAGER=cat or w/e in your .bashrc?
<DigitalKiwi> and i don't know :)
alphy has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @lovesegfault opened pull request #94211 → shotwell: add glib-networking → https://git.io/JJgnC
<x0r-255> how's nix package-wise?
<x0r-255> is it comparable to arch+aur? (ik I won't need to worry much if I go with arch, but I still wonder)
<Ashy> x0r-255: pretty comparable yeah
<Ashy> i came to nixos from arch
<{^_^}> [nixpkgs] @ryantm opened pull request #94212 → discord-canary: 0.0.104 -> 0.0.105 → https://git.io/JJgnl
<x0r-255> did you have to give up any software that you used?
<simpson> x0r-255: It's comparable, and IMO preferable; consider https://repology.org/graph/map_repo_size_fresh.svg
maier has joined #nixos
<x0r-255> also is it possible to convert other package types to it?
<x0r-255> well that looks promising
sjkelly1 has quit [Ping timeout: 256 seconds]
<x0r-255> lol, me sitting over at the 1/6th mark being amazed at how easy it is to install and use things xD
<simpson> Some sorts of packages can be imported from foreign systems, but generally folks repackage stuff for nixpkgs instead.
<x0r-255> alright, and I looked at a setup guide for arch, is it always this complex?
<DigitalKiwi> Error in file "/nix/store/s239jg1qv4vaw58pyr10dmx7sbrifq6h-system-path/share/applications/krita_jpeg.desktop": "jpeg/jfif" is an invalid MIME type ("jpeg" is an unregistered media type)
<DigitalKiwi> Could not parse file "/nix/store/s239jg1qv4vaw58pyr10dmx7sbrifq6h-system-path/share/applications/meshlab.desktop": Key file contains line ?END_DESKTOP? which is not a key-value pair, group, or comment
<DigitalKiwi> these are new i think
maier has quit [Ping timeout: 240 seconds]
<DigitalKiwi> what do they mean
<{^_^}> [nixos-hardware] @Mic92 merged pull request #178 → Add system dell/xps/15-9500 → https://git.io/JJ8Rz
<{^_^}> [nixos-hardware] @Mic92 pushed 6 commits to master: https://git.io/JJgnR
<DigitalKiwi> x0r-255: NixOS/nixpkgs is really good about accepting new packages too so if on the offchance there's something you want but doesn't exist yet...
<DigitalKiwi> and depending on what you're doing it's not that hard
<DigitalKiwi> like my first contributions were a few znc plugins that weren't packaged yet that were keeping me from switching my freebsd server to nixos (now almost all of my computers and servers are nixos)
<x0r-255> hm
<ryantm> x0r-255: https://repology.org/repositories/graphs Nixpkgs is more up to date but has fewer packages than the AUR.
<ryantm> oops, simpson already sent that sorry.
<x0r-255> yes, however if I attempt to combine both, then I'll have (basically) infinite packages, quite nice.
<ryantm> :)
orivej has quit [Ping timeout: 246 seconds]
Rusty1 has quit [Quit: WeeChat 2.3]
<simpson> x0r-255: We do have the equivalent of AUR, https://github.com/nix-community/nur, with all the normal caveats about trust. But the other thing to keep in mind is that that massive number of fresh packages is in the main nixpkgs repository, so you may not need to add NUR.
simba1 has quit [Ping timeout: 244 seconds]
endformationage has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @Mic92 merged pull request #92323 → vimPlugins.LanguageClient-neovim: 0.1.157 -> 0.1.158 → https://git.io/JJILD
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJgnQ
<samueldr> I had a hunch
<samueldr> and I just looked it up
<samueldr> all our linux versions are bundled under the `linux` package name for repology
<samueldr> while e.g. AUR has all the different forks upon forks of kernels listed indepedently
<samueldr> I also saw that their cross-compilation packages are listed independently
<samueldr> meanwhile ours are totally hidden from their data source
cosimone_ has quit [Quit: Quit.]
cosimone has joined #nixos
<samueldr> though, all that points to one thing: the package count is not an easy metric to check :)
<{^_^}> [nixpkgs] @r-burns opened pull request #94213 → cmake-language-server: fix test error on macOS → https://git.io/JJgnx
maier has joined #nixos
codygman has quit [Ping timeout: 264 seconds]
codygman has joined #nixos
x0r-255 has quit [Ping timeout: 260 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @mikefaille opened pull request #94214 → lmms: 1.2.1 -> 1.2.2 → https://git.io/JJgcR
<DigitalKiwi> if you find something missing add something :D
stephaneyfx has quit [Ping timeout: 246 seconds]
stephaneyfx has joined #nixos
cole-h has quit [Quit: Goodbye]
jonringer has quit [Remote host closed the connection]
jonringer has joined #nixos
keidax has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 240 seconds]
bmc has joined #nixos
mallox has joined #nixos
drakonis has quit [Quit: WeeChat 2.8]
jonringer has quit [Ping timeout: 244 seconds]
mallox has quit [Client Quit]
buckley310 has joined #nixos
user_0x58 has quit [Quit: Leaving]
palo1 has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
gilligan has joined #nixos
terribleArtist has quit [Ping timeout: 256 seconds]
serrvan has joined #nixos
user_0x58 has joined #nixos
user_0x58 has quit [Remote host closed the connection]
lordcirth__ has joined #nixos
lordcirth_ has quit [Ping timeout: 260 seconds]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotkin has joined #nixos
kir0ul40 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mikefaille opened pull request #94215 → dhall: init at 1.0.8 on all packages → https://git.io/JJgCA
bmc has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94216 → python27Packages.Theano: 1.0.4 -> 1.0.5 → https://git.io/JJgWG
<srhb> jtojnar: Just had a look at the failing gnome3 test again. It looks to me like the most common issue is that "Wait for GNOME Shell" doesn't actually. I wonder if we can wait for some of the systemd user units?
domogled has joined #nixos
karantan has joined #nixos
alp has joined #nixos
alphy has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
alphy has quit [Ping timeout: 245 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cosimone has quit [Quit: Quit.]
SanchayanMaity has joined #nixos
<aaronjanse> > or everything else i said
<aaronjanse> DigitalKiwi: Just all the stuff you're building
<aaronjanse> DigitalKiwi: What's the context around those errors?
<aaronjanse> > what do they mean
<{^_^}> error: syntax error, unexpected OR_KW, at (string):318:1
<{^_^}> attempt to call something which is not a function but a string, at (string):318:1
<aaronjanse> (side note is there a way to quote without pissing off {^_^}?)
<aaronjanse> {^_^}++ ty for dealing with my quotes
<{^_^}> {^_^}'s karma got increased!
noudle has joined #nixos
<DigitalKiwi> in irc > doesn't mean anything
<DigitalKiwi> except to trigger bots :P
<aaronjanse> Oh dang. Does nobody quote?
<DigitalKiwi> context is nixos-rebuild
<DigitalKiwi> what client are you using
<{^_^}> [nixpkgs] @sorki opened pull request #94217 → haskellPackages.hnix: fix build for ghc-8.10 by adding repline → https://git.io/JJg8n
<aaronjanse> My client doesn't render `>` as anything other than `>`
<aaronjanse> I just thought it was convention to use that character to quote for some reason
<aaronjanse> (like in email)
<DigitalKiwi> oh usually people just copy paste the whole message and put <-- after it
<DigitalKiwi> 06:48 aaronjanse: DigitalKiwi: What's the context around those errors?
<DigitalKiwi> oops
<DigitalKiwi> 06:48 aaronjanse: DigitalKiwi: What's the context around those errors? <-- nixos-rebuild
<aaronjanse> Ah got it. Yeah no idea. It looked like some xdg error I had to deal with for ulauncher, but I don't think it is
<DigitalKiwi> i wonder if something got added/changed that verifies desktop files
<DigitalKiwi> worldofpeace: ^
malook has joined #nixos
malook has quit [Client Quit]
nixbitcoin has quit [Ping timeout: 240 seconds]
malook has joined #nixos
<{^_^}> [nixpkgs] @sorki opened pull request #94218 → haskellPackages.haskell-language-server+hls-ide: fix lsp-test override → https://git.io/JJg8d
<{^_^}> [nixpkgs] @jbedo opened pull request #94219 → hisat2: 2.1.0 -> 2.2.1 → https://git.io/JJg8F
lambda-11235 has quit [Quit: Bye]
zebrag has joined #nixos
nixbitcoin has joined #nixos
georg[m] has joined #nixos
malook has quit [Ping timeout: 240 seconds]
lsix has joined #nixos
urkk has joined #nixos
itshaydendev has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #94039 → zoom-us: use libturbojpeg from the zoom-us tar itself → https://git.io/JJEmw
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJgB3
<{^_^}> [nixpkgs] @danieldk merged pull request #94035 → pixz: 1.0.6 -> 1.0.7 → https://git.io/JJEIx
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJgBu
<{^_^}> [nix] @edolstra merged pull request #3879 → Prevent nix-build from accepting nix-shell flags → https://git.io/JJgTo
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/JJgBw
smatting_ has quit [Ping timeout: 246 seconds]
mpiechotka has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to master: https://git.io/JJgBp
<{^_^}> [nixpkgs] @vcunat merged pull request #94188 → nss: enable libpkix build → https://git.io/JJzaq
ylixir has joined #nixos
knupfer has joined #nixos
salentino44 has joined #nixos
salentino44 has quit [Remote host closed the connection]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
<typetetris> If a qemu machine from the nixos tests hangs, how can I find out, what it is doing?
<srhb> typetetris: If it's reproducible the easiest way is to run it with a head on, using the driver attr of the test
<{^_^}> [nixpkgs] @vcunat closed pull request #94101 → qt5: Add the ability to optionally use NSS 3.44 → https://git.io/JJuOb
<srhb> typetetris: That gives you a driver shell that you can use start_all() (python) or startAll (perl) to start the qemu machines, each of which you can log into and inspect. The tests themselves are ran with test_script() og testScript iirc
cfricke has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93649 → glogg: enable on darwin → https://git.io/JJlqY
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJgRB
<srhb> typetetris: (so, summary, nix-build nixos/tests/yourtest.nix -A driver -- run the result of that, start tests manually)
cfricke has quit [Client Quit]
cfricke has joined #nixos
ap29600 has joined #nixos
graf_blutwurst has joined #nixos
<graf_blutwurst> Good morning. Anyone else having issues with electron apps lately? Both slack and spotify are broken for me at the moment. (on nixpkgs unstable that is)
<srhb> graf_blutwurst: spotify works here, slack is indeed broken
<srhb> graf_blutwurst: Slack needs an update, I haven't gotten around to it yet, but may do it this weekend. You can use this: https://gist.github.com/srhb/c18a01f9bced51d27df00aa691680cf7
<srhb> Maybe someone can beat me to it ;-)
<graf_blutwurst> srhb: I wish i had the time to invest into learning how to properly put together a nixpkgs for official contribution rather than haphazardly slapping something together locally. sadly I'm drowning in work myself ^^'
<srhb> Ah well. :) Someone will get to it I'm sure.
<graf_blutwurst> but thanks again! I guess i'll just set that gist up for now. My browser of choice (qutebrowser) is also broken that's the next thing i have to hunt down. I was just surprised two electron apps broke for me at the same time so i thought maybe some dependency there is having issues
<srhb> I _think_ it's unrelated, since my spotify appears fine, but I may be mistaken of course.
fendor has joined #nixos
o1lo01ol1o has joined #nixos
mpiechotka has quit [Quit: mpiechotka]
gthm has joined #nixos
mpiechotka has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
D_ has quit [Remote host closed the connection]
michiel__ has joined #nixos
D_ has joined #nixos
<graf_blutwurst> hmm seems to be something different. slack with your derivation still is complaining about no network connection. i guess it's something else. time to go bughunting
cjpbirkbeck has joined #nixos
mokulus has quit [Quit: WeeChat 2.9]
<srhb> graf_blutwurst: That's exactly the problem it fixed for me.
<graf_blutwurst> huh
stephaneyfx has quit [Quit: Leaving]
<graf_blutwurst> srhb: just to make sure i didn't fuck up. how did you locally build it from the derivation?
<srhb> graf_blutwurst: I put it in an overlay that overrides slack entirely, eventually getting installed from systemPackages
kalbasit has quit [Ping timeout: 240 seconds]
Izorkin has joined #nixos
<srhb> graf_blutwurst: nix-build -e 'with import <nixpkgs> {}; callPackage ./the-thing.nix {}' should work too, if that's what you're doing. You may need to also install it though, not sure if it has other fun impurities
ylixir has quit [Remote host closed the connection]
cjpbirkbeck has quit [Ping timeout: 264 seconds]
<graf_blutwurst> I went through nix-env but none make a difference. hmm
<lejonet> Why is nix reaction on line 97 and 105 in this config: https://dpaste.com/DKUVCMB3V like the if expr then {} is nix-code, even tho it wasn't preceded with ${} in either case?
teto has joined #nixos
<lejonet> I get a "unexpected THEN" error when trying to do nixos-rebuild switch with that config...
<chrismatheson> has anyone set up emacs to use a nix-shell env for individual projects? im thinking like when switching projectile projects switch the shell in which sub commands / terminals etc started via emacs will use the local nix-shell env ?
nikita` has joined #nixos
<chrismatheson> * has anyone set up emacs to use a nix-shell env for individual projects? im thinking like when switching projectile projects switch the shell in which sub commands / terminals etc started via emacs to use the local nix-shell env ?
<chrismatheson> * has anyone set up emacs to use a nix-shell env for individual projects? im thinking like when switching projectile projects switch the shell in which sub commands / terminals etc started via emacs to use the local nix-shell env for that project?
o1lo01ol1o has joined #nixos
<lejonet> Even if I try and escape the t, like ''\then, then I get "error: attempt to call something which is not a function but a string, at /etc/nixos/configuration.nix:51:23" where line 51 is the start of the multiline string
dermetfan has joined #nixos
<graf_blutwurst> chrismatheson: I just use direnv-mode and lorri and that works out pretty neat
<srhb> lejonet: You're terminating the string there
<srhb> lejonet: if $!_UNIT = ''
<lejonet> srhb: duh... I've been starring at the string too long, thank you for dumb checking me xD
<srhb> lejonet: No problem, know the feeling :P
<clever> lejonet: the '' on line 97 marks the end of a nix string
<clever> ,escape''
<{^_^}> Escape this in '' strings with: '''
<{^_^}> Escape this in " strings with: ''
<makefu> ,escape${
<{^_^}> Escape this in '' strings with: ''${
<{^_^}> Escape this in " strings with: \${
<lejonet> Yeah, I know how to escape it, it just escaped me that I had to escape it! xD
Fare has quit [Ping timeout: 260 seconds]
plutes has quit [Quit: If you judge me now, you have judge me prematurely.]
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Izorkin has joined #nixos
pjt_014 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @petabyteboy merged pull request #93894 → nixos/gitlab-runner: add clone-url option → https://git.io/JJRo8
<{^_^}> [nixpkgs] @petabyteboy pushed to master « nixos/gitlab-runner: add clone-url option (#93894) »: https://git.io/JJgzv
orivej has joined #nixos
<dutchie> srhb: graf_blutwurst: https://github.com/NixOS/nixpkgs/issues/93955
<{^_^}> #93955 (by Elyhaka, 3 days ago, closed): NSS issue prevent apps to connect anymore
zupo has joined #nixos
AlpineLlama has joined #nixos
h0m1 has quit [Quit: WeeChat 2.9]
nixbitcoin has quit [Ping timeout: 240 seconds]
<graf_blutwurst> dutchie: Thanks for the issue link this covers all applications that i currently have trouble with! golden
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #94220 → oneDNN: disable tests to avoid illegal instructions → https://git.io/JJgz8
nixbitcoin has joined #nixos
<dutchie> np, and the fix is already merged :D
mpiechotka has quit [Quit: mpiechotka]
thc202 has joined #nixos
<yurb> tor browser is currently broken due to missing upstream source: https://github.com/NixOS/nixpkgs/pull/94200
<{^_^}> #94200 (by yurkobb, 9 hours ago, open): tor-browser-bundle-bin: 9.5 -> 9.5.3; fix missing source
phreedom has quit [Ping timeout: 240 seconds]
<graf_blutwurst> excellent, then i won't even bother overriding nss versions and just be patient for a bit. Slighlty tangential question. Are the packages immediatly available once hydra is through or am I missing a step there?
phreedom has joined #nixos
arjen-jonathan has joined #nixos
<symphorien> ,stuck
<dutchie> you'll have to do `nix-channel --update`
karantan has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #94167 → nixos/blockbook-frontend: adjust tests to bitcoind → https://git.io/JJzeQ
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JJggl
<srhb> dutchie: Thanks!
<graf_blutwurst> dutchie: yeah but will that work as soon as hydra is through or does it need another step that I'm not aware of?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<graf_blutwurst> merci!
<gthm> I have a program I run as a systemd service. I've figured out how to package and build a nix package out of it, but how can I run that package in a systemd service managed by nixos? (It's not part of nixpkgs. This one is public and could be, but I'm generally interested in the same Q for private software)
arahael1 has joined #nixos
asymptotically has joined #nixos
sigmundv has joined #nixos
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
turlando has joined #nixos
<srhb> gthm: overlay in the package so you can refer to it in your config, then take a look at the implementation for existing systemd services in nixos, eg: https://github.com/NixOS/nixpkgs/blob/release-20.03/nixos/modules/services/monitoring/prometheus/alertmanager.nix#L156-L172
<srhb> gthm: The simpler the program, the simpler the systemd service will be too. I think the minimal definition is wantedBy (for autostart) and script or serviceConfig.ExecStart
<gthm> > overlays
<{^_^}> [ ]
<gthm> sweet
<gthm> thanks!
quinn has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
afreak has joined #nixos
orivej has joined #nixos
cfricke has quit [Quit: WeeChat 2.9]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
SanchayanMaity has quit [Quit: leaving]
teto has quit [Quit: WeeChat 2.9]
arjen-jonathan has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #94209 → tailscale: 0.100.0-153 -> 1.0.0 → https://git.io/JJgYw
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJgrI
<{^_^}> [nixpkgs] @lsix opened pull request #94221 → nano: 4.9.3 -> 5.0 → https://git.io/JJgrO
fendor has quit [Ping timeout: 246 seconds]
<alexarice[m]> has anyone experienced bluetooth problems specifically when using `xdg.portals`
<alexarice[m]> As soon as I put anything in `extraPortals`, it seems I can't switch to the correct bluetooth profile
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a45f68ccac4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
orivej has quit [Ping timeout: 240 seconds]
sigmundv has quit [Remote host closed the connection]
Izorkin has joined #nixos
andreas303 has joined #nixos
sigmundv has joined #nixos
<alexarice[m]> appears my problem was actually something to do with pipewire
wavirc22 has joined #nixos
pitchzer0 has quit [Quit: authenticating]
pitchzer0 has joined #nixos
magnetophon has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Izorkin has joined #nixos
ManiacOfMadness has joined #nixos
<ikwildrpepper> adisbladis, zimbatm, Mic92: any of you available for a vgo2nix question (noticed you were committers in the repo)
alp has quit [Ping timeout: 260 seconds]
fendor has joined #nixos
marsh has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #94211 → shotwell: add glib-networking → https://git.io/JJgnC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJgiu
ezemtsov has joined #nixos
nixuser has joined #nixos
<ezemtsov> Hi! How can I find nettools 3.* on nixos? All the packages I've seen so far have 2.* and less. I need hostname -I command
<dminuoso> ezemtsov: just as a thought, you can use `ip` with `-j`, if you just need parsable data from ip addresses.
<dminuoso> e.g. `ip -j address`
<dminuoso> Is that an option for you?
o1lo01ol1o has quit []
<{^_^}> [nixpkgs] @rycee pushed commit from @LouisDK1 to master « mythtv: 30.0 -> 31.0 »: https://git.io/JJgi7
<{^_^}> [nixpkgs] @rycee closed pull request #93486 → MythTV: 30.0 -> 31.0 → https://git.io/JJcBa
nature has joined #nixos
<nature> Ok boys, wish me luck, gonna wipe arch and install nixos instead :D
<nature> Pray for me
<Mic92> ikwildrpepper: yes
<ezemtsov> dminuoso: `ip -j address` works but very verobose, is there an easy way to get plain list of ip addresses?
ManiacOfMadness has quit [Ping timeout: 272 seconds]
arjen-jonathan has joined #nixos
codezero has joined #nixos
<ezemtsov> ok, I'll stick with `ip addr show | grep "inet " |grep -v 127.0.0.1 | awk '{printf "%s \n", $2}' |awk -F\/ '{printf "%s ", $1}'
Jackneilll has joined #nixos
<ezemtsov> But generally is there a way to get recent hostname version? (what if there'd be no workaround?)
<dminuoso> ezemtsov: You can feed it into `jq` :)
o1lo01ol1o has joined #nixos
<dutchie> specifically: jq 'map(.addr_info | map(.local)) | flatten'
fendor has quit [Ping timeout: 246 seconds]
alp has joined #nixos
<demize> Or just .[].addr_info[].local
<dutchie> your jq-foo is stronger than mine :)
thblt has joined #nixos
<dminuoso> My foo-fu is stronger than yours.
<demize> Notably though, my version only works if you don't actually want JSON out of it.
<thblt> I'm trying to reinstall NixOS on an old laptop. the SSD fails smartctl -t long with a read failure. Is it just a bad block or is it an indication of a dying disk?
<demize> Since you end up with a sequence of strings, rather than a list of strings.
<thblt> This is a 2011 Macbook Air, so components reaching end of life wouldn't be unexpected.
<dminuoso> demize: Hard to say without seeing the output
fendor has joined #nixos
<typetetris> In a cabal file where I declare a test-suite, can I depend on an executable from the same package? Like for integration tests?
<dminuoso> typetetris: cabal lets you have subpackages.
<dminuoso> that is, sub-library components
<dminuoso> you can treat them like a regular package
itshaydendev has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #94225 → lowdown: init at 0.7.2 → https://git.io/JJg1K
<typetetris> dminuoso: I want the executable to build before the test suite is executed, because it will call the executable. Also it needs to be in path. Would sub-library help here?
<dminuoso> typetetris: Yes. Your test suite also depends on your program/library already too, doesnt it?
Neo--- has joined #nixos
<typetetris> dminuoso: Yes, it depends on the package itself. I thought, that was just a dependency on the library. It also declares dependencies to the executables?
<typetetris> Sorry
<typetetris> I am in the wrong channel. Of course with nixos-packages it works. Thought I was messaging in #haskell.
itshaydendev has joined #nixos
ap29600 has quit [Ping timeout: 264 seconds]
ap29600 has joined #nixos
<ikwildrpepper> Mic92: have you ever used a go project that uses different version of modules that are located in the same repo? (e.g. we have some project that uses some go-autorest modules, but it seems to only use one of the versions for go-autorest in deps.nix)
<Mic92> ikwildrpepper: no I mostly use buildGoModule so these days.
<Mic92> ikwildrpepper: are you trying to replace dependencies?
<ikwildrpepper> Mic92: no
<ikwildrpepper> Mic92: using something like this: https://pastebin.com/tBhJCJ81
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JJgMK
meh` has joined #nixos
fendor_ has joined #nixos
<Mic92> ikwildrpepper: that might be the issue: https://github.com/nix-community/vgo2nix/blob/master/main.go#L213
<Mic92> I deduplicates it with a map
<ikwildrpepper> Mic92: hm, didn't know about buildGoModule, thnx
<Mic92> Looks fixable so..
<ikwildrpepper> Mic92: that one works for my use-case
<Mic92> ikwildrpepper: it has documentation in nixpkgs as well
<ikwildrpepper> Mic92: yeah, thanks a lot :)
fendor has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @dotlambda opened pull request #94226 → qutebrowser: 1.13.0 -> 1.13.1 → https://git.io/JJgDE
<{^_^}> [nixpkgs] @Mic92 merged pull request #94183 → pt2-clone: 1.20 -> 1.22, add nixos test → https://git.io/JJzuv
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JJgDQ
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94227 → soapyremote: 0.5.1 -> 0.5.2 → https://git.io/JJgD5
<{^_^}> [nixpkgs] @Mic92 merged pull request #93405 → curseofwar,curseofwar-sdl: 1.2.0 -> 1.3.0 → https://git.io/JJnG5
<{^_^}> [nixpkgs] @Mic92 pushed 3 commits to master: https://git.io/JJgDA
tsujp has joined #nixos
magnetophon has quit [Ping timeout: 260 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/6eadc110053 (from 60 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ManiacOfMadness has joined #nixos
Rusty1 has joined #nixos
nixbitcoin has quit [Ping timeout: 240 seconds]
nixbitcoin has joined #nixos
Rusty1 has quit [Client Quit]
Rusty1 has joined #nixos
<Taneb> I've just switched my Hydra server to have store uri "daemon" rather than "local?secret-key=..." but this has lead to "possibly transient failure building '/nix/store/foo.drc' on 'nix@machine': cannot add path '/nix/store/foo' because it lacks a valid signature", for every step.
<Taneb> Any idea how I can resolve this?
svantepolk has joined #nixos
tsujp has quit [Quit: WeeChat 2.9]
<svantepolk> How do I find out when a package merged into nixos/nixpkgs get in the main channel?
graf_blutwurst has quit [Ping timeout: 272 seconds]
<svantepolk> I'd like to use this package https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/flutter/default.nix but nix can't seem to find it, so I'm assuming it's not in the channel yet.
<thblt> svantepolk: according to https://nixos.org/nixos/packages.html, it's only on unstable.
<svantepolk> Ah, that's where I can check. Thanks!
user_0x58 has joined #nixos
<symphorien> ,unstable
<symphorien> svantepolk: the faq above explains how to use a package from unstable while staying on 20.03
noudle has quit []
<{^_^}> [nixpkgs] @cdepillabout merged pull request #94217 → haskellPackages.hnix: fix build for ghc-8.10 by adding repline → https://git.io/JJg8n
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJg9K
<buffet> is it somehow possible to have an optional module import?
<buffet> lile imports = lib.optional cfg.enable the-module.nix
<infinisil> buffet: Nope
<buffet> alright
<infinisil> What you can do though is use `config = mkIf cfg.enable { ... }` in the module itself
<buffet> is my guess that config options depend on imports, and i create a dependency the other way correct at least?
<infinisil> buffet: Indeed
<buffet> alright, thanks
<svantepolk> Thanks symphorien, thblt
<exarkun> Anyone know what I need to do to address "xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb"?
orivej has joined #nixos
serrvan has quit [Ping timeout: 256 seconds]
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #94218 → haskellPackages.haskell-language-server+hls-ide: fix lsp-test override → https://git.io/JJg8d
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JJgHE
nij has joined #nixos
<nij> What's the default terminal emulator in nixOS? I find it appealing.
<adisbladis> nij: On the graphical live media?
<adisbladis> If so, it's Konsole
<srxl> What's the difference between `buildInputs` and `propagatedBuildInputs`?
<exarkun> X.propagatedBuildInputs also get made available to Y if Y has X as an input
<exarkun> notice I'm being vague about whether this is at build time or runtime, because I always forget and have to look it up
<exarkun> There's a table in the docs that does an alright job of explaining it all (though it never sticks for me)
orivej has quit [Ping timeout: 256 seconds]
<exarkun> (I read those docs not 12 hours ago...)
<cab404[m]> can someone merge this please? https://github.com/NixOS/nixpkgs/pull/93792
<{^_^}> #93792 (by cab404, 5 days ago, open): Packaged SL1ToPhoton
<cab404[m]> don't really want another good and reviewed PR to get stale)
<eyJhb> Ehm cab404[m]
<cab404[m]> y?
<eyJhb> Wouldn't it be a new package? Shouldn't it then be `SL1ToPhoton: init at xxxx` ?
<eyJhb> Damn it
<eyJhb> You did that
<eyJhb> Sorry, only looked at the PR title
<cab404[m]> no pr name guidelines in contributing (or I skimmed past them as always)
<eyJhb> Anyways, good luck! I can't really do anything soryy
<cab404[m]> (renamed it nontheless) thanks)
<nij> adisbladis: Woo.. I hope to use that after `startx`.. But cannot turn it on by `$ konsole`.. "ERROR: command not found".
<eyJhb> Thanks ! Always nice to have that in the PRs as well
joem86 has joined #nixos
<joem86> Hi folks, I'm using nix-env in Fedora, and I accidentally did `nix-env -i` and perhaps installed _all_ the nix packages. Luckily it stopped on one of the packges with an unfree license. Does that mean that the entire `nix-env -i` command was rolled back? Or do I have a few hundred packages to clean up on my system? :-)
<cab404[m]> also, speaking of packaging: will there be any info on adding flake repos to builtin ones, or PRing flakes into those?
<joem86> by stopped I mean threw an error
<exarkun> joem86: nix-env -q
<joem86> exarkun that answers my question :-)
<cab404[m]> <joem86 "Hi folks, I'm using nix-env in F"> that means you have a lot of cache for those packages, and none of them are connected by a gc root. they will be swept by next gc run
<joem86> turns out it didn't install everything.
<{^_^}> [nixpkgs] @Atemu opened pull request #94229 → jc: 1.11.8 -> 1.13.1 → https://git.io/JJgQM
<{^_^}> [nixpkgs] @marsam merged pull request #78998 → real_time_config_quick_scan: init at unstable-2020-01-16 → https://git.io/Jv3iw
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJgQ9
<nij> adisbladis: Maybe more importantly, where is Konsole and its config.rc stored? It must be somewhere in the /nix/store.. but I cannot find it :(
<thblt> joem86: if you have disk space issues because of that, you can nix-collect-garbage
<joem86> If I had accidentally installed everything, I could just roll back to a previous generation and garbage collect, right?
<joem86> (assuming no disk space issues)
<thblt> Yes.
<joem86> Wow. That is seriously cool.
<thblt> Or you just nix-env --uninstall, I don't think inactive generations are gc roots.
<nij> joem86: I found it cool too yesterday.
<thblt> But I'm not sure.
<{^_^}> [nixpkgs] @vbgl opened pull request #94230 → coq_8_12: 8.12+β1 → 8.12.0; coqPackages.equations: 1.2.2 → 1.2.3 → https://git.io/JJg7k
ManiacOfMadness has quit [Ping timeout: 272 seconds]
sjkelly1 has joined #nixos
fendor__ has joined #nixos
<nij> adisbladis: Hmm.. I mean the terminal we got in the minimal installation iso. Far before we login, there is a terminal already.
<nij> adisbladis: We used that for installing, for logging in .. etc
<cab404[m]> @nij you mean putty?
<joem86> Alright, another question if you don't mind. Is there a way to subscribe to an unstable channel for only a certain subset of packages? Or is it an all-or-nothing prospect?
<cab404[m]> <joem86 "Alright, another question if you"> yes there is.
<nij> cab404[m]: Hm.. I don't really know what putty is after googling it.
fendor_ has quit [Ping timeout: 265 seconds]
<cab404[m]> <nij "cab404: Hm.. I don't really know"> if you press Ctrl-Alt-F1, you'll get dropped in it. Ctrl-Alt-F7 to get back.
<nij> cab404[m]: I don't use a GUI. After I launch my NIXOS, I was thrown into a minimal login interface.
orivej has joined #nixos
ManiacOfMadness has joined #nixos
<nij> cab404[m]: Ah yes, I believe that's what I mean.
<nij> cab404[m]: I am using nixos on virtualbox over archlinux, so C-A-F2 brought me to my archlinux putty. Never knew I could do that :O
<cab404[m]> <nij "cab404: Ah yes, I believe that's"> if you need to configure it, just edit `console` section of your iso config
<nij> cab404[m]: So yes.. the putty. Can I keep using that, with how it's configured, as my daily terminal emulator?
<cab404[m]> yes you can, but character support is limited. and you can't zoom. and selecting is pain.
<cab404[m]> tl;dr you can try
<nij> cab404[m]: I see! That's why people don't use it daily.
<nij> I guess what I'm into is superficial: its look, its font, its font-color.. etc.
<cab404[m]> <nij "I guess what I'm into is superfi"> https://gitlab.com/cab404/nixos-config/-/blob/master/core.nix#L15
noudle has joined #nixos
<{^_^}> [nixpkgs] @jappeace opened pull request #94231 → nixos/postgres Add syslog option → https://git.io/JJg5I
<{^_^}> [nixpkgs] @q3k opened pull request #94232 → lightburn: init at 0.9.15 → https://git.io/JJg50
<nij> cab404[m]: Wow thanks. How did you find the default color pallete? I used nixos/option website, but it doesn't show it
<cab404[m]> <nij "cab404: Wow thanks. How did you "> man configuration.nix
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94233 → enlightenment.terminology: 1.7.0 -> 1.8.0 → https://git.io/JJg5K
<cab404[m]> I just stole values from built-in Guake themes
<Taneb> Crypto is bad for Haskell. There are several arguments to arrive at this conclusion but this is my preferred one. There are others.The Adjoint team is hiring ambitious individuals who have an interest in advancing the state of the art technology and changing the large-scale structure of markets. We're a diverse group of individuals from different backgrounds (finance, physics, medicine) who all believe in world-class engineering and product design through
<Taneb> a strong team that values diligence, deep understanding and honesty.
<{^_^}> [nixpkgs] @marsam merged pull request #93967 → azure-storage-azcopy: 10.4.3 -> 10.5.1 → https://git.io/JJ01j
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/JJg56
<{^_^}> [nixpkgs] @marsam merged pull request #94139 → iosevka-bin: 3.2.2 -> 3.3.1 → https://git.io/JJuV5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJg5P
<cab404[m]> that's a lot of disjoint words
<cab404[m]> like gpt-1 wanted to generate a job post
<nij> Ah cab404[m] what you read from the manpage is what I read in the webpage.
<nij> but it doesn't mention the default colors..
<cab404[m]> <nij "Ah cab404 what you read from the"> true
<{^_^}> [nixpkgs] @marsam merged pull request #93950 → jazzy: 0.13.3 -> 0.13.5 → https://git.io/JJ08P
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJg5N
<Taneb> https://twitter.com/home jonny @nathan can you revert to 19.03 so we can push for end of sprint please
<{^_^}> [nixpkgs] @marsam merged pull request #93951 → cocoapods-beta: 1.9.3 -> 1.10.0.beta.1 → https://git.io/JJ087
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JJgde
<cab404[m]> okay, I seriously suspect now that he's a robot
<Taneb> Sorry, my clipboard is being weird
<Taneb> I'm gonna close my IRC client
<cab404[m]> :)
<{^_^}> [nixpkgs] @lukego opened pull request #94234 → Spacenav nixpkgs → https://git.io/JJgdI
<{^_^}> [nix] @edolstra pushed to master « Fix build »: https://git.io/JJgdt
<eyJhb> Trying to execute a file - /nix/store/z44zkg1s193dkayn5hkn0cg330kjp7q6-Signal-gradle-project-env/com/google/protobuf/protoc/3.10.0/protoc-3.10.0-linux-x86_64.exe, but I get this using strace - https://termbin.com/ejqg
<eyJhb> Any ideas how I can get this more useful?
<cab404[m]> strace -fZ
<cab404[m]> -s 100
<eyJhb> Same shit cab404[m] :/
<eyJhb> I will try patchelf on it
<cab404[m]> ooops
<cab404[m]> clipboard madness
<cab404[m]> buildFHSUserEnv
sigmundv has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @bjornfor merged pull request #94196 → soundtracker: 1.0.0.1 -> 1.0.1 → https://git.io/JJzKj
<{^_^}> [nixpkgs] @bjornfor pushed commit from @fgaz to master « soundtracker: 1.0.0.1 -> 1.0.1 »: https://git.io/JJgdg
<cab404[m]> you can try fixing the deps this way, and then patch in required libs
<nij> cab404[m]: At least I now know where to configure :D
<nij> cab404[m]: Thank you.
<cab404[m]> 👍️
<nij> cab404[m]: It's darn hard to try one by one by guess the default color pallette
wnklmnn has joined #nixos
<nij> cab404[m]: I should look for where it's set in the system..
simonpe^^ has joined #nixos
<cab404[m]> copy/edit those, indexes are almost the same. I got my theme like that
<simonpe^^> I write a nix expression to disk using `writeText "filename.nix" ''...expression...''`, how can I escape double hyphens to use in the inner expression?
dermetfan has quit [Ping timeout: 244 seconds]
<cab404[m]> <simonpe^^ "I write a nix expression to disk"> ```
gnxlxnxx[m] has quit [Quit: Idle for 30+ days]
eoli3n has joined #nixos
<simonpe^^> cab404[m]: thank you
<cab404[m]> <simonpe^^ "cab404: thank you"> oops, there's a proper way
orivej has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 240 seconds]
<eyJhb> Nope, can't get `/nix/store/r043hxh0kwic172rjxlhlw2raygvxm09-Signal-gradle-project-env/com/google/protobuf/protoc/3.10.0/protoc-3.10.0-linux-x86_64.exe` working. Tried autopatchelfhook, but did not work...
<{^_^}> [nixpkgs] @nh2 merged pull request #94126 → fontforge: Fix uninterpolated `CMAKE_INSTALL_PREFIX` in RPATH. → https://git.io/JJu2v
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to staging: https://git.io/JJgFl
gustavderdrache has joined #nixos
LinusSexTips[m] has left #nixos ["User left"]
ezemtsov has quit [Remote host closed the connection]
virus_dave_ has joined #nixos
virus_dave_ is now known as virus_dave
nikita` has quit [Quit: leaving]
wnklmnn has quit [Ping timeout: 240 seconds]
domogled1 has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled1 is now known as domogled
ManiacOfMadness has quit [Ping timeout: 272 seconds]
virus_dave has quit [Ping timeout: 256 seconds]
sigmundv has joined #nixos
<sshow> infinisil: what do you consider flaky in nixus? in terms of not production ready?
<infinisil> It's not flaky, just experimental
<infinisil> Not production ready yeah
<infinisil> I won't hesitate to make breaking changes for example
fendor has joined #nixos
<sshow> infinisil: feel :)
virus_dave has joined #nixos
<sshow> I'll try out krops for now. I really liked the config format
<sshow> And I'm not a huge fan of the nixops CLI
<itshaydendev> If NixOps could do nixos-infect too, that'd be awesome
<palo> itshaydendev: you can use terraform + a provisioner that runs nixos-infect, thats what I do in https://github.com/mrVanDalo/terranix-hcloud/blob/terraform-0.12/module/nixserver.nix#L89
eoli3n has quit [Ping timeout: 240 seconds]
evanjs has quit [Read error: Connection reset by peer]
alp has quit [Ping timeout: 246 seconds]
evanjs has joined #nixos
<infinisil> sshow: I'm eager to know: Why do you like krops config format?
<infinisil> I just checked out the krops.nix example in the readme, but I find the use of a strings for the NixOS config pretty bad
seku has joined #nixos
<sshow> infinisil: I found it very easy to understand. Immediately understandable
<palo> infinisil: what mean by use of a string for the NixOS config? I can't find that part in the about
<infinisil> nixos-config.file = toString (pkgs.writeText "nixos-config" ''
<Mic92> infinisil: it evaluates on the remote server
<Mic92> So it works with shitty uploads
<Mic92> all the other solutions try to build on my laptop and than upload a lot of stuff.
<palo> ah this part, this is just an example. I see, I think nobody is doing that in real live :D
<Mic92> infinisil: most people are just using a symlink there
<infinisil> Mic92: Doesn't this have the problem that `imports` can't be resolved on the target host?
ddellacosta has joined #nixos
<Mic92> infinisil: no because all the sources are specified in the krops file. symlink is relative to the upload directory in example /var/src
<Mic92> nix also resolve symlinks before hand
<Mic92> before computing import paths
ManiacOfMadness has joined #nixos
<infinisil> If I write a krops.nix file as shown and do `nixos-config.file = builtins.readFile ./my-config.nix;`, in my-config.nix I have `{ imports = [ ./other-file.nix; ]; }`. And other-file.nix contains more config
<infinisil> Mic92: How does krops then know to copy other-file.nix over?
<{^_^}> [nixpkgs] @Sorixelle opened pull request #94235 → pebble-sdk: init at 4.5 → https://git.io/JJgA3
joem86 has left #nixos ["WeeChat 2.8"]
knupfer has joined #nixos
<infinisil> Ah, so what I said wouldn't work, but if you specify your whole config as a source, then refer to the config within that source it can work
<Mic92> krops is also flexible enough to just work with flakes already
<infinisil> Neat
<Mic92> It can even deploy home-manager
<infinisil> Ah I guess it doesn't use flakes to do the local eval, but because it does another eval on the target host, it can use flakes there
<infinisil> Correct?
<Mic92> Yes. Also you can use flakes locally with builtins.getFlake. Because all source is on the server you can just ignore krops and fix it on the machine itself.
svantepolk has left #nixos [#nixos]
<Mic92> Which is sometimes neet if you have messed up a physical machine
<Mic92> The only feature I am missing still is that it cannot deploy multiple things in parallel.
pmy has quit [Ping timeout: 240 seconds]
<Mic92> still very hacky though
pmy has joined #nixos
<infinisil> Mic92: home-managers nixos module would probably work too
<Mic92> Yes. I stole the home-manager import there
<Mic92> Is there any prior art except hail for continious delivery with nix?
kir0ul39 has joined #nixos
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @Ma27 opened pull request #94237 → matrix-synapse: 1.17.0 -> 1.18.0 → https://git.io/JJgxW
bbennett371 has joined #nixos
bbennett37 has quit [Ping timeout: 244 seconds]
fendor has quit [Remote host closed the connection]
jlv1 has joined #nixos
eta has joined #nixos
<jlv1> What package contains `gdb`? I'm trying to get a stack trace from a core dump.
<hexa-> ,locate gdb
<{^_^}> Found in packages: msf, glib, arduino, glib.dev, linux.dev, factor-lang, _389-ds-base, arduino-core, bashCompletion, gdb-multitarget, jetbrains.clion, linux-libre.dev, linux_mptcp.dev, gcc-arm-embedded, enlightenment.efl, linux_testing.dev, gcc-arm-embedded-6, gcc-arm-embedded-7, gcc-arm-embedded-8, linux_mptcp_94.dev, vimPlugins.caw-vim, gst_all_1.gstreamer, vimPlugins.nvim-gdb, linuxPackages_4_4.kernel.dev, and 11 more
<hexa-> ok, that is unhelpful, sorry :D
<hexa-> pretty sure the package is just called `gdb`
Fare has joined #nixos
<jlv1> hexa-: Huh, for some reason, typing `gdb` without it installed doesn't tell you what package the command it in, like it does for other commands.
<hexa-> wfm
<hexa-> The program ‘gdb’ is currently not installed. You can install it by typing:
<hexa-> nix-env -iA nixos.gdb
<Mic92> coredumpctl gdb is also helpful
fendor__ has quit [Ping timeout: 265 seconds]
x0r-255 has joined #nixos
<jlv1> hexa-: Oh, looks like my command lookup recently broke for some reason. Other commands aren't looked up either.
stephaneyfx has joined #nixos
<jlv1> Hmm, I'm getting a lot of "symbol table not found" . I guess I should enter a shell for the program?
<hexa-> puffnfresh_: are you still planning to continue your work on #89106?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/89106 (by puffnfresh, 9 weeks ago, open): matrix-appservice-irc: init at 0.17.1
nij has quit [Quit: leaving]
<evanjs> Any python peoples have some advice on how I might be able to use disabledTests as mentioned here? https://github.com/NixOS/nixpkgs/pull/94179#pullrequestreview-458166568
Neo--- has quit [Ping timeout: 240 seconds]
<evanjs> specifically, I'm having issues getting the right path/test names when combined with e.g. pytest/py.test
Cale has joined #nixos
<evanjs> e.g. before it was "vm_description/ovf/tests/test_item.py", what should I use if I'm also setting the checkPhase to something like `py.test`?
malook has joined #nixos
nixuser has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94239 → tmuxp: 1.5.4 -> 1.5.5 → https://git.io/JJgpP
ManiacOfMadness has quit [Ping timeout: 246 seconds]
Neo--- has joined #nixos
<evanjs> now I notice that some packages use _pytestrunner_ instead of pytest....
<evanjs> I noticed there's a decent lack of docs on testing stuffs lately. Like I understand if there is, just curious if there's a reference I'm missing or if it actually is documented somewhere
<{^_^}> [nixpkgs] @sternenseemann opened pull request #94240 → kitty: 0.18.1 → 0.18.2 → https://git.io/JJghI
ManiacOfMadness has joined #nixos
afreak has quit [Ping timeout: 240 seconds]
<evanjs> erm... and I guess some packages use both disabledTests _and_ `--ignore`? x_x
<evanjs> like which should I use lol
Jackie has joined #nixos
Jackie is now known as Guest33658
<Guest33658> Hey, the install prompt said to come here if I had trouble installing Nix?
itshaydendev has quit [Quit: itshaydendev]
<evanjs> yep. what seems to be the problem?
<evanjs> and to clarify -- Are you trying to install _only_ Nix or NixOS?
<Guest33658> nix-shell: command not found
<Guest33658> mmm I want to start with just nix on ubuntu?
<Guest33658> but maybe later add a nixos partition
<Guest33658> The install program said "alright we're done! just run nix-shell [some stuff]" in a new terminal but I did that and the shell can't find nix-shell
jlv1 has quit [Remote host closed the connection]
<evanjs> in a new terminal, right?
<Guest33658> yeah
<armin> so i generally stick with kernel 5.4 (the default) on servers and only go on kernel 5.7 on desktop machines. is that generally reasonable?
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<evanjs> *shrugs*
<evanjs> armin: I use latest whenever I can
<cransom> i only switch to a newer kernel if there are features i need for the hardware or somthign i want to test out
<evanjs> I'd say reasonable for desktops at least
<evanjs> conversely, I only switch to latest on stable if e.g. any kernel modules fail to build :P
<Guest33658> I'm guessing I should add something to my path in .bash_profile? but I'm not sure what
maier has quit [Ping timeout: 240 seconds]
<Mic92> Guest33658: usually it does so automatically
<Guest33658> ok. so... now what?
<armin> evanjs: i mostly feel the same, yes.
<Guest33658> would appreciate any next steps anyone might have
wnklmnn has joined #nixos
<x0r-255> I only bother with LTS kernel releases, I'm staying on 5.4 until the next one (but with some of the new features it's becoming hard to resist)
<evanjs> Guest33658: mrm, is the /nix/store present and everything?
<evanjs> often times I just try and relog lol
<Mic92> Guest33658: did you perform a single-user or multi-user installation?
<evanjs> lemme see what my WSL has (if anything) in my profile
<Mic92> Guest33658: what did say in the end?
<Mic92> If you have not specified any option it is a single user one
<Guest33658> yes /nix/store/ is present with many files
<Mic92> And you should have /home/nix/.nix-profile/etc/profile.d/nix.sh
<Mic92> where nix is your actual username
<Mic92> ls -la $HOME/.nix-profile/etc/profile.d/nix.sh
<Guest33658> I tried single user first then uninstalled that and tried to install multiuser and that didn't work
<Guest33658> I will try relogging in a minute
<slabity> Hey guys, I have a Nix flake that provides an 'overlay' and an 'overlays' output. How can I create a nix shell that loads with a package from that overlay?
<Mic92> slabity: you can describe it in the devShell attribute
<evanjs> my .profile on windows has "if [ -e /home/evanjs/.nix-profile/etc/profile.d/nix.sh ]; then . /home/evanjs/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer"
<Mic92> and use nix develop
<Guest33658> .nix-profile does not exist in my home directory
<evanjs> Guest33658: does your .profile have anything similar?
proofofkeags has joined #nixos
shibboleth has joined #nixos
<Guest33658> no there's no mention of nix in my .profile any more, I had to delete a line like that in order to install multi-use mode nix
<slabity> Mic92: That cannot be the only way though. I'm not looking to modify the flake itself. Just load a package from it
erasmas has joined #nixos
<Mic92> slabity: how do you load this flake?
<Mic92> usually its done with a flake itself.
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94242 → libsForQt5.vlc: 3.0.11 -> 3.0.11.1 → https://git.io/JJgjK
<Mic92> Otherwise there is the builtins.getFlake function
<Mic92> This you could put in a file to load the flake and load this file itself with nix-shell
<Mic92> having a flake.nix is easier though
<slabity> I just want to do something like `nix-shell -p myflake:wine`
<slabity> Not sure what the syntax for loading a single package would be though
<slabity> I have it in my `nix registry list` already. Just trying to load a single package from the overlay it provides
ManiacOfMadness has quit [Ping timeout: 246 seconds]
<Mic92> slabity: ideally the flake would expose those packages in the package apps or defaultApp attribute
jonringer has joined #nixos
ap29600 has quit [Ping timeout: 240 seconds]
<Mic92> Otherwise you need to write your own flake.nix or do some import with nix-shell -E 'buitins.getFlake ...'
drakonis has joined #nixos
<Mic92> I personally find overlays way to over complicated. Most people just want to expose packages and modify the world
<Mic92> *and not modify the world
ap29600 has joined #nixos
<slabity> I don't get why I would need to write a new flake to use my current one. This doesn't sound like it should be too difficult
<Mic92> slabity: the flake itself should expose it via apps. Than you can use nix run
fendor__ has joined #nixos
<Mic92> Because it exposes an overlay instead you need some glue code
D_ has quit [Ping timeout: 260 seconds]
<slabity> So just to be clear, I have a very simple flake that produces a single ouput: An 'overlay', but even if I have the flake registered I cannot use that overlay?
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
D_ has joined #nixos
<slabity> I'm trying to understand this more, but that doesn't seem right... I find it hard to believe I can't grab it via something like `nix shell myflake:wine` or some other similar syntax
<Mic92> You also cannot use normal overlays directly
<Mic92> you need to apply them to nixpkgs for example
<Mic92> like imports <nixpkgs> { overlays = []; }
fendor__ is now known as fendor
growpotkin has joined #nixos
davidv7_ has joined #nixos
<{^_^}> [nixpkgs] @johanot opened pull request #94243 → dockertools: fix buildLayeredImage nix-store permissions → https://git.io/JJ2ew
<Mic92> That's why I think people should not overuse overlays.
<Mic92> They are too complicated for exposing packages.
<{^_^}> [nixpkgs] @lourkeur opened pull request #94244 → electrum-ltc: fix #94238 → https://git.io/JJ2eS
proofofkeags has quit [Remote host closed the connection]
<slabity> Just to be clearer, here is my flake: https://gist.github.com/Slabity/55a854f757cccce4365965373f13a908
MarcWeber has quit [Ping timeout: 240 seconds]
proofofkeags has joined #nixos
x0r-255 is now known as kraeken
<slabity> To load `wine` from this in a simple `nix shell` I need to create a completely new flake and expose it in a `devShell` or something? I can't just use it directly?
<Mic92> untested
<Mic92> but I think you get the idea
<Mic92> Don't use an overlay if you use want to use it directly
<Mic92> Use an overlay if you want to apply it to nixpkgs itself.
<Mic92> updated. there was a typo
<slabity> I think that makes sense. Though I'm confused on how to overlay is suppose to be exposed then.
kraeken is now known as kraeXen
seku has quit [Quit: Connection closed]
malook has quit [Quit: malook]
<buckley310> I'm currently syncing some nixos configs around using git. are there any obvious issues with just pointing a channel at it instead, and then specifying `imports = [ <mynixconfig/configuration.nix> ]` to call it?
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @Infinisil merged pull request #93189 → nwg-launchers: init at 0.2.0 → https://git.io/JJspS
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/JJ2vH
<slabity> Well let me put it this way... Let's say I wanted to run a `nix shell` using a package (hello) from a specific nixpkgs flake (nixpkgs/master), Then I would run `nix shell github:NixOS/nixpkgs#hello`
<slabity> That would drop me into a shell with the `hello` package from `Nixos/nixpkgs`
kraeXen is now known as kraeZZZ
kraeZZZ is now known as kraeXen
simba1 has joined #nixos
<manu12[m]> can anyone using sway share its config
lunik1 has joined #nixos
kraeXen has quit [Quit: Konversation terminated!]
<slabity> Now if I had an flake that provides an overlay that provides its own `hello` package, then there should be a way for me to `nix shell` into that as well, correct?
<buckley310> manu12[m]: i've been playing with sway lately, this is the sway-specific bit from my config http://ix.io/2sHR
<slabity> Thanks for sharing your configs Mic92++
<{^_^}> Mic92's karma got increased to -2147483648
<slabity> Uhh... I think I broked it
kraeXen has joined #nixos
<makefu> slabity: {^_^} is trying to be funny again :)
K900 has joined #nixos
<K900> Hey guys
<K900> Question: what's the process for some random internet person to get an update into nixpkgs?
<K900> Do I just send a PR on Github or is there anything else?
<slabity> K900: PR to Github is pretty much the only thing
shabius has joined #nixos
<dutchie> isn't there a patch category on discourse or something
<dutchie> (for people who don't use github)
<K900> I'm fine with Github
<K900> Mostly just making sure there's no special maintainer status required or w/e
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a45f68ccac4 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<dutchie> i have yet to meet a foss project that won't accept patches/PRs from non-maintainers (as long as they are of sufficient quality/in keeping with the direction of the project)
<K900> Uhh
<K900> Debian?
<K900> lol
alp has joined #nixos
<K900> I mean, they'll accept patches, but you have to go through the maintainer to get anything in
<dutchie> yeah that's normal, right
<dutchie> you can't just get something in unreviewed, and the maintainer is the person to do that
<ajs124> nixpkgs's maintainer model is much weaker than that
<K900> Yeah, that's what I've been noticing too
<K900> Pretty new to the whole thing if you haven't already guessed :)
<ajs124> for half my PRs to packages, the maintainer didn't even show up
<dutchie> also woo nixos-unstable got updated
* dutchie can remove the nss overrides for all those electron apps
K900 has quit [Remote host closed the connection]
<slabity> You guys are getting PRs approved?
<slabity> 🤷‍♂️
K900 has joined #nixos
afreak has joined #nixos
<{^_^}> [nixpkgs] @K900 opened pull request #94245 → Cython: 0.29.19 -> 0.29.21 → https://git.io/JJ2fA
<K900> xd
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94247 → vulkan-headers: 1.2.131.1 -> 1.2.148 → https://git.io/JJ2fj
kraeXen has quit [Remote host closed the connection]
wnklmnn has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh pushed 643 commits to staging-next: https://git.io/JJ2Jq
<{^_^}> [nixpkgs] @FRidh pushed 100 commits to staging: https://git.io/JJ2Jm
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/71412714101 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
fendor has quit [Remote host closed the connection]
Thra11 has joined #nixos
<{^_^}> [nixpkgs] @K900 opened pull request #94248 → matplotlib: 3.2.1 -> 3.3.0 → https://git.io/JJ2Ja
<K900> Anyway, thanks guys :)
K900 has quit [Remote host closed the connection]
kaliumxyz has joined #nixos
cole-h has joined #nixos
<{^_^}> [nix] @matthewbauer opened pull request #3880 → Add "export" to Nix → https://git.io/JJ2Jy
kalbasit has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #92648 → python3Packages.lxml: 4.5.0 -> 4.5.2 → https://git.io/JJt9i
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to staging « python3Packages.lxml: 4.5.0 -> 4.5.2 »: https://git.io/JJ2JH
<{^_^}> [nixpkgs] @FRidh merged pull request #94245 → Cython: 0.29.19 -> 0.29.21 → https://git.io/JJ2fA
<{^_^}> [nixpkgs] @FRidh pushed commit from @K900 to staging « Cython 0.29.19 -> 0.29.21 »: https://git.io/JJ2Jd
<tyrion-mx> Hello, I am trying to define the "options" for a nixos module. Is it possible to have an attrset where only some keys have a specified type? i.e. an attrset where the "type" key must be an enum, and the other values can be anything
<{^_^}> [nixpkgs] @romildo opened pull request #94249 → untrunc-anthwlock: init at 2020.07.18 → https://git.io/JJ2UC
<infinisil> tyrion-mx: Not right now, but soon with https://github.com/NixOS/nixpkgs/pull/82743 :)
<{^_^}> #82743 (by Infinisil, 19 weeks ago, open): Fallback-typing for NixOS modules
wnklmnn has joined #nixos
cosimone has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94250 → unbound: 1.10.1 -> 1.11.0 → https://git.io/JJ2TO
Baughn has joined #nixos
nature has left #nixos ["WeeChat 2.9"]
ris has joined #nixos
<{^_^}> [nixpkgs] @petabyteboy merged pull request #94226 → qutebrowser: 1.13.0 -> 1.13.1 → https://git.io/JJgDE
<{^_^}> [nixpkgs] @petabyteboy pushed commit from @dotlambda to master « qutebrowser: 1.13.0 -> 1.13.1 (#94226) »: https://git.io/JJ2TV
alp has quit [Ping timeout: 256 seconds]
kraeXen has joined #nixos
kraeXen has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @rycee pushed commit from @LouisDK1 to master « libhdhomerun: git -> 20200521 »: https://git.io/JJ2Tx
sikmir has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @rycee closed pull request #93671 → libhdhomerun: git -> 20200521 → https://git.io/JJl22
sikmir has quit [Client Quit]
maier has joined #nixos
knupfer has quit [Ping timeout: 240 seconds]
endformationage has joined #nixos
sigmundv has quit [Read error: Connection reset by peer]
Thra11 has quit [Quit: WeeChat 2.8]
maier has quit [Ping timeout: 260 seconds]
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @twhitehead opened pull request #94251 → haskell-generic-builder: Use args ? attr for passthru (closes #94246) → https://git.io/JJ2kP
gv has quit [Remote host closed the connection]
jb55 has joined #nixos
<jlv> Did the "command not found" package locator stop working for anyone else, on the latest 20.03?
<{^_^}> [nixpkgs] @Ma27 pushed to master « linuxPackages.wireguard: 1.0.20200712 -> 1.0.20200729 »: https://git.io/JJ2IT
<infinisil> jlv: Can't say because I don't use it. But note that command-not-found relies on you getting nixpkgs from the channels
<infinisil> So if you don't get nixpkgs from channels (that is, chanels.nixos.org) then it won't work for sure
seku has joined #nixos
<tyrion-mx> infinisil: very cool, thanks! I will check it out
<armin> any vivaldi users here? i installed vivaldi-ffmpeg-codecs but still get a media support missing warning on startup - anyone a hint?
<hexa-> armin: how did you install them?
<armin> hexa-: added vivaldi and vivaldi-ffmpeg-codecs to environment.systemPackages and ran "nixos-rebuild switch --upgrade".
<jlv> infinisil: nixpkgs is from the channels. `https://nixos.org/channels/nixos-20.03` to be precise. It worked until recently. I can't say exactly when it stopped working, but I think it was after I updated NixOS (as in `--upgrade`).
<hexa-> brrr, the link to the pkg source vanished from the website <.<
<hexa-> armin: vivaldi has a proprietaryCodecs variable that you need to override
<infinisil> jlv: Does `/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite` exist?
<infinisil> > nixos.config.programs.command-not-found.dbPath
<armin> hexa-: oh indeed, thank you.
<{^_^}> "/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite"
<jlv> infinisil: Yes.
<infinisil> jlv: What's `which command_not_found_handle`?
<infinisil> (if bash)
<bqv> > lib.types.bool
<infinisil> Or command_not_found_handler with zsh
<{^_^}> { _type = "option-type"; check = <PRIMOP>; description = <CODE>; emptyValue = <CODE>; functor = <CODE>; getSubModules = null; getSubOptions = <CODE>; merge = <LAMBDA>; name = "bool"; substSubModules =...
<armin> hexa-: hm, still gives me said warning with proprietaryCodecs set to true after a rebuild.
<hexa-> armin: how did you override the package?
<jlv> infinisil: `which command_not_found_handler` shows a function, on zsh.
<hexa-> environment.systemPackages = [ (pkgs.vivaldi.override { proprietaryCodecs = true }) ];
<armin> hexa-: nixpkgs.config.vivaldi.proprietaryCodecs = true;
jumper149 has joined #nixos
<hexa-> hm, idk if that would work
<infinisil> jlv: Try running the code there manually
<hexa-> it could, idk
wnklmnn has quit [Read error: Connection reset by peer]
<jumper149> I want to add ghc as a runtime dependency to a project of mine, similar to what Xmonad does: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/xmonad/wrapper.nix
<infinisil> jlv: Or you could also try overriding command_not_found_handler with some `echo` or so to even see whether it's being called when you think it should
<jumper149> But, when I follow this approach, ghc isn't in my PATH when running the program
<armin> hexa-: tried with your one in environment.systemPackages (had to add a ";" after true) but still no dice.
wnklmnn has joined #nixos
<infinisil> jumper149: xmonad's source is patched to use the NIX_GHC env var. I don't recommend doing this for your project, but instead wrap the binary with makeWrapper using `--prefix PATH : ${lib.makeBinPath [ pkgs.ghc ]}`. This will add GHC to the programs PATH, so it should find it
<jlv> infinisil: I ran `command_not_found_handler vlc`, and the result was "vlc: command not found".
<infinisil> jlv: I mean to run the functions within command_not_found_handler
<infinisil> Like the command-not-found binary itself
<jlv> I ran `$p "vlc"` and the result was "vlc: command not found"
<jlv> infinisil: Working on it :)
knupfer1 has joined #nixos
<jlv> `if [ -x $p -a -f /nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite ]` is also true
<infinisil> I guess next you could inspect the command-not-found script itself
<infinisil> See what kind of things it does that could make it fail
<infinisil> jlv: Oh and try different binaries too, can it find `hello` or `ripgrep` perhaps?
<bqv> was there someone who had a script to autoinstall missing programs as part of the command-not-found handler
<bqv> i was against that idea at first but i'm warming to it
<infinisil> bqv: I'm just looking at it, and it apparently does that if you set NIX_AUTO_INSTALL
<bqv> hmm
dermetfan has joined #nixos
<bqv> so i get that working with flakes it could do
<infinisil> Or alternatively NIX_AUTO_RUN starts a nix-shell with it
ManiacOfMadness has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « linuxPackages.wireguard: 1.0.20200712 -> 1.0.20200729 »: https://git.io/JJ2LO
<bqv> ah nevermind, i remember why i gave up on command-not-found
<bqv> it's built around nixexprs.tar.xz
proofofkeags has quit [Remote host closed the connection]
<jlv> infinisil: It can find `hello`, `traceroute`, and `convert`! It cannot find `gdb`, `vlc`, `glxgears`, `grim`, `slurp`, `wofi`, `spectral`, `i3lock`.
bqv has quit [Quit: WeeChat 2.9]
proofofkeags has joined #nixos
<jlv> I'm not seeing the pattern, but it can find some things.
<infinisil> Ah so it has to be a problem with the database itself
<infinisil> jlv: You could now even do `sqlite3 <database path>` and do some sql queries to see what it contains
<jlv> infinisil: The database is 812K btw. What is it usually?
proofofkeags has quit [Remote host closed the connection]
ris has quit [Ping timeout: 256 seconds]
<infinisil> No idea
knupfer1 has quit [Ping timeout: 240 seconds]
proofofkeags has joined #nixos
cole-h has quit [Quit: Goodbye]
<jlv> My sql is a little rusty XD
<jlv> Regardless. Two different machines, both updated to the latest 20.03, have this issue. I'm inclined to think it is an issue with NixOS itself.
<infinisil> Yeah it looks like something must've gone wrong in the database generation
<jlv> Although, I'm not sure how the database is constructed.
<infinisil> Alternatively you could just abandon NixOS' command-not-found and instead use https://github.com/bennofs/nix-index/blob/master/command-not-found.sh
jb55 has quit [Remote host closed the connection]
<jumper149> infinisil: yeaaayyy! I got it working :)
<jumper149> infinisil++
<{^_^}> infinisil's karma got increased to 323
<jlv> I'm not desperate to get it working. I just wanted to know if it is something I need to fix on my end, or if I should wait for a fix upstream.
<infinisil> jumper149: Cool :)
zeta_0 has joined #nixos
<infinisil> (with the generate-program-index.cc file in the same directory)
nikita` has joined #nixos
zeta_0 has left #nixos [#nixos]
<jlv> infinisil: sounds like it will probably fix itself when the channel next updates.
cosimone has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 256 seconds]
cosimone has joined #nixos
<infinisil> Could be
<infinisil> I personally always use `nix-locate` to find binaries
<infinisil> (from nix-index)
<infinisil> O
philr_ has quit [Ping timeout: 240 seconds]
<infinisil> Or
<infinisil> ,locate bin vlc
<{^_^}> Found in packages: libsForQt5.vlc
<infinisil> Which uses nix-locate underneath
<infinisil> Huh, that's an unexpected result though
<infinisil> > libsForQt5.vlc
<{^_^}> "<derivation /nix/store/fyngywmsxczz1r2yj70jl08wldihc7fd-vlc-3.0.11.drv>"
<infinisil> > vlc
<{^_^}> "<derivation /nix/store/fyngywmsxczz1r2yj70jl08wldihc7fd-vlc-3.0.11.drv>"
<infinisil> > vlc_qt5
<{^_^}> "<derivation /nix/store/fyngywmsxczz1r2yj70jl08wldihc7fd-vlc-3.0.11.drv>"
<infinisil> Oh well
bqv has joined #nixos
<jlv> lol
<armin> hexa-: but thanks for trying to help. :)
<hexa-> :)
knupfer has joined #nixos
<evanjs> What might be the easiest way to get something that works with https://github.com/NixOS/nix/pull/3166/commits/f58604ac32d0ab0718a0e68b3c1b050e4ab121cb?
<hexa-> hm, nope, that doesn't fix it really
<evanjs> I know recursive nix isn't something I can do, but how about `nix build` (nix @ the commit I need) and then e.g. `result/bin/nix build <my-expression>`?
<infinisil> evanjs: "get something"?
<infinisil> Not sure what you ask
<evanjs> sorry lol
<evanjs> get a nix binary with fetchSubmodule support :P
<evanjs> maybe `nix build '(with import <nixpkgs> {}; nixUnstable.override { src = ./.; })'` in the repo will be enough :P
mattlevan has quit [Ping timeout: 244 seconds]
<evanjs> reallllly hoping this is released in time for 20.09 or something, thooo
<infinisil> Possibly `nix-build channel:nixpkgs-unstable -A nixUnstable` works
<infinisil> (or the nix build equivalent)
nDuff has joined #nixos
gv has joined #nixos
<bqv> wouldn't recursive nix need to be enabled in the daemon, not just at eval
<bqv> so you'd need to either not use the daemon, or replace it too
dbmikus has joined #nixos
<infinisil> I have the suspicion that the daemon doesn't do the evaluation
<infinisil> That the client does that part
<evanjs> omg I like the error messages in nix unstable
<evanjs> soooooo much different
<evanjs> or whatever I'm testing, 2.7?
<bqv> it's certainly more verbose
rajivr has quit [Quit: Connection closed for inactivity]
<evanjs> reminds me of rustc/cargo, yeah
<evanjs> all the colors
<evanjs> but yeah, -f channel:nixpkgs-unstable and etc only give 2.4pre*
davidv7_ has quit [Remote host closed the connection]
alp has joined #nixos
mattlevan has joined #nixos
<Izorkin> ,locate capable
davidv7_ has joined #nixos
<{^_^}> Found in packages: linuxPackages.bcc, linuxPackages_4_4.bcc, linuxPackages_4_9.bcc, linuxPackages_5_5.bcc, linuxPackages_4_14.bcc, linuxPackages_4_19.bcc, linuxPackages-libre.bcc, linuxPackages_hardened.bcc, linuxPackages_xen_dom0.bcc, linuxPackages_latest-libre.bcc, linuxPackages_latest_xen_dom0.bcc, linuxPackages_testing_bcachefs.bcc, linuxPackages_testing_hardened.bcc, linuxPackages_latest_xen_dom0_hardened.bcc
MarcWeber has joined #nixos
kreyren has joined #nixos
urkk has quit [Ping timeout: 240 seconds]
urkk has joined #nixos
urkk has quit [Client Quit]
kenran has joined #nixos
<{^_^}> [nixpkgs] @romildo merged pull request #94233 → enlightenment.terminology: 1.7.0 -> 1.8.0 → https://git.io/JJg5K
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJ2qF
PotentialUser-31 has joined #nixos
PotentialUser-31 is now known as jotaru
<jotaru> hi
<jotaru> do you guys have any opinions on guix?
LouisDK has joined #nixos
<LouisDK> I want to summit a new package to nixpkgs, however it requires a library which is present in nixpkgs but I don't know how to link to it.
<LouisDK> *submit
ris has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #86480 → nixos/steam: init → https://git.io/JfOhB
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/JJ2mO
<evanjs> well now I'm confused. built nix off master, but `nix build` is complaining and says it needs a flake
<evanjs> can I not do `./default.nix` or etc?
<bqv> add `-f ./.`
<bqv> or `-f default.nix`
<bqv> nixUnstable is very flakey
<bqv> in the more literal sense
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83911 → stage-1-init: add boot.persistence option → https://git.io/Jv5xa
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJ2mz
<{^_^}> [nixpkgs] @worldofpeace merged pull request #84141 → isolyzer: init at 1.3.0 → https://git.io/JvFVy
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JJ2ma
AluisioASG has joined #nixos
<jlv> Anyone want to review my pull request to add the `conplay` script to `mpg123`? It's been in limbo for a few months. https://github.com/NixOS/nixpkgs/pull/84069
<{^_^}> #84069 (by JustinLovinger, 17 weeks ago, open): mpg123: add conplay script
<LouisDK> I want to patch the source of a new package which requires libhdhomerun.so from the pkg: libhdhomerun. I'm just unsure which path to use or if I should specify it with a variable.
<jotaru> any opinions on ... guix?
kenran has quit [Quit: Lost terminal]
<kaliumxyz> pretty cool package manager.
nsnc has joined #nixos
<jotaru> ikr
kenran has joined #nixos
kenran has quit [Client Quit]
<bqv> pretty loaded question
<kaliumxyz> ?
kenran has joined #nixos
justanotheruser has quit [Ping timeout: 272 seconds]
simonpe^^ has quit [Remote host closed the connection]
Thra11 has joined #nixos
<nsnc> I'm fairly new to nix, I've been trying to package something (https://tmux.reconquest.io/pkg/tar/tmux-autocomplete_2.0.5.gc0658bf.tar), and was having a bit of trouble. It's looking for packages in /usr/share, and I'm not quite sure how to have nix patch it to look in the right directory instead. Can someone drop me a link to docs that explain it p
<nsnc> lz?
<simpson> jotaru: There are folks here who use both. You may have to ask a more specific question to get a better answer. What are you working on?
<Izorkin> ,locate pscap
<{^_^}> Found in packages: libcap_ng
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @mkg20001 closed pull request #78648 → users-groups: add skel support via environment.etc.skel → https://git.io/Jvm7e
LouisDK has quit [Remote host closed the connection]
maier has joined #nixos
alp has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @fadenb opened pull request #94253 → graylog: 3.3.2 -> 3.3.3 → https://git.io/JJ2Y0
maier has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @lukego closed pull request #94234 → Spacenav nixpkgs → https://git.io/JJgdI
<eyJhb> Do we have any examples of modules/packages where we parse all the dependencies, make a list/attrset of them, and then allow for them to be overriden?
<eyJhb> Something like vim-plugins, but just.. With dependencies I guess?
wnklmnn has quit [Read error: Connection reset by peer]
wnklmnn has joined #nixos
<{^_^}> [nixpkgs] @LouisDK1 opened pull request #94254 → Hdhomerun config gui → https://git.io/JJ2YK
<eyJhb> Also, is it possible to self/super something, that is read from a .json file?
thblt has left #nixos ["ERC (IRC client for Emacs 28.0.50)"]
<bqv> (self: super: builtins.fromJSON (builtins.readFile ./something.json))?
<bqv> not sure why you would, though
<eyJhb> bqv: I want to change the attributes it reads from the json file :p
<bqv> why json? sounds more like nix
<eyJhb> Well, I am unsure if I should do so it generates .nix instead of json
zupo has joined #nixos
<eyJhb> It is in relation to gradle2nix
<bqv> if it's plain data, json, if it's more than plain data, nix
<bqv> that's my policy, at least
<xe4> how do you add a dependency that is in nixpkgs when using niv? :)
<bqv> slowly and gently
ap29600 has quit [Read error: Connection reset by peer]
<eyJhb> But, this is plain data I guess, except like a single dependency from the .json file, that needs to point to another path :p
<bqv> xe4: likely add nixpkgs as a dependency and then reference it via (import %nixpkgs% {}).dependency
<bqv> though i don't use or understand niv so meh
<eyJhb> But I guess, it should be nix
<{^_^}> [nixpkgs] @xeji opened pull request #94255 → cryptpad: 3.13.0 -> 3.20.1 → https://git.io/JJ2YF
quinn has joined #nixos
slack1256 has quit [Remote host closed the connection]
evanjs has quit [Read error: Connection reset by peer]
alp has joined #nixos
ap29600 has joined #nixos
<{^_^}> [nixpkgs] @0x4A6F opened pull request #94256 → xandikos: 0.2.2 -> 0.2.3 → https://git.io/JJ2OU
evanjs has joined #nixos
<nsnc> I have a precompiled binary with the path in it: "/usr/share/itself/directory" How do I package that binary in nix?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> Not as easy to just throw out as .nix, as I don't do Java well
<evanjs> omg. infinisil. you were totally right
<evanjs> nixUnstable _does_ have _submodule_
<evanjs> not _fetchSubmodules_
<evanjs> 's;submodule;submodules;' but yeah. I had the attr name wrong lol
<evanjs> `nix run nixpkgs.nixUnstable --command nix-build -E '(with import <nixpkgs> {}; callPackage ./default.nix {})'` successfully builds the repo that uses submodules :P
<evanjs> no clue how to get it working with `nix build` from nixUnstable, but this should be _fine_ for now
fendor has joined #nixos
jotaru has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jotaru has joined #nixos
widmanstatten has joined #nixos
jotaru has quit [Client Quit]
nij has joined #nixos
<nij> Hello! I have a question on font setting..
<nij> I have followed the nixos wiki: https://nixos.wiki/wiki/Fonts
<evanjs> was just about to ask that :P
<nij> ! :D
<nij> So I like terminus by default.
<nij> But I also read Japanese and Chinese, and would really like to use Unifont in that case.
<nij> To my knowledge, Chinese/Japanese/Korean are not supported in terminus.
<nij> So if I just set terminus as my go-to font, the system picks another font to support Chinese/Japanese.
<nij> Can I set terminus as my go-to font, AND Unifont as my backup font?
<nij> Yes, that's the section I followed
<evanjs> Should be able to set them in order of precedence there, yeah
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/3caee59ed9d (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<nij> I did that.. but seems that unifont is not called automatically on Chinese/Japanese.
<widmanstatten> Hi, been trying to install nix on catalina 10.15.4 using //$ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume// gives me -> "(23) Failed writing body" . Can you help?
<nij> I'm also viewing this in alacritty.. so maybe alacritty overrides secretly..
<widmanstatten> Found here //https://nixos.org/nix/manual/#chap-quick-start//
<{^_^}> [nix] @edolstra merged pull request #3689 → Substitutions from different store dirs → https://git.io/JfHRM
<{^_^}> [nix] @edolstra pushed 34 commits to master: https://git.io/JJ2Or
<turq> how do you get the revision of nixpkgs currently being used?
<evanjs> nij: yeah, might want to try e.g. https://github.com/alacritty/alacritty/wiki/Changing-the-default-font first
<evanjs> turq: like `nix-info -m` or?
jbgi has joined #nixos
<evanjs> might be less helpful on stable channels
<turq> evanjs: I don't see nix-info
<{^_^}> [nixpkgs] @Kloenk opened pull request #94257 → openbgpd: init at 6.7p0 → https://git.io/JJ2OH
<evanjs> ohhhh are you not on nixos
<turq> evanjs: correct
<{^_^}> [nixpkgs] @Ma27 merged pull request #94253 → graylog: 3.3.2 -> 3.3.3 → https://git.io/JJ2Y0
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JJ2O7
<evanjs> how about `nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'`
<evanjs> lol or `nix eval nixpkgs.lib.version`
<evanjs> I like that one better :P
<turq> "20.09pre236343.78215a8395f"
<turq> thank you
<turq> I probably don't want to use that for my default.nix though
<turq> is it possible to find out the revision on the master branch at github.com/NixOS/nixpkgs
<bqv> you just did
<turq> oh, I thought master branch was stable
<evanjs> can also be crazy and just do it from the channel tarballs like me https://github.com/evanjs/nixos_cfg/blob/master/config/new-modules/channels.nix
<bqv> 7a215a8395f is the commit you're on
<evanjs> oh wait non nixos, derp
<evanjs> but yeah, nixpkgs-unstable is generally what I use if I need the latest stuff that's already been built by hydra
nij has quit [Quit: leaving]
gthm has quit [Ping timeout: 265 seconds]
MarcWeber has quit [Ping timeout: 265 seconds]
elibrokeit has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/82a441d3cfc (from 73 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
kraeXen has joined #nixos
alp has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @yrashk opened pull request #94258 → why3: 1.2.1 -> 1.3.1 → https://git.io/JJ23H
MarcWeber has joined #nixos
coderobe has joined #nixos
kraeXen has quit [Client Quit]
kraeXen has joined #nixos
kenran has quit [Quit: leaving]
meh` has quit [Remote host closed the connection]
MarcWeber has quit [Ping timeout: 264 seconds]
MarcWeber has joined #nixos
kraeXen has quit [Ping timeout: 256 seconds]
evanjs has quit [Ping timeout: 260 seconds]
eoli3n has joined #nixos
nij has joined #nixos
<nij> I followed this example to write a derivation for hello.c
<nij> `nix-build` did compile it, and did give a result with a symlink
<nij> and the `hello` in `result/bin` does work as expected
<nij> but it's not added into the "global PATH"
widmanstatten has quit [Remote host closed the connection]
<nij> what should I do for it to be globally "installed"?
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<nij> (By that I mean `$ hello` any where would launch the program.
<immae> nij: nix-env -i -f default.nix
<immae> nix-build will never put anything outside of the store (and the resulting symlink)
<nij> immae: but.. but.. isn't nix-env bad practice?
seku has quit [Quit: Connection closed]
<immae> There are not tons of way to escape the nix store anyway
<nij> immae: What if I want to put that into my configuration.nix?
<immae> well you can
<nij> by first uploading my `hello` into github
<immae> you don’t need to upload
<nij> and tell configuration.nix to fetch it everytime I run `nixos-revuild`
<immae> just put "callPackage /path/to/default.nix {}" in your environment.systemPaths
<immae> environment.systemPackages
<nij> Nice fu!
<nij> immae: I'd like to be more declarative.
<nij> immae: can I secure this process by telling configuration.nix the hash of my hello
<immae> actually the way your derivation is written you only need "import /path/to/default.nix"
<nij> so if the hello.c is changed, it won't be compiled
<immae> I don’t think you can do that for a local file
<nij> hmm.. how about for a github-hosted file?
<immae> then yes
<nij> immae: !
<nij> immae: wanted to learn this for a while
<immae> it’s a bit more complicated though
<nij> I expect it to be complicated.
<immae> since you need to import a derivation from a distant path
<nij> Yes!
<immae> you would need something along the line of that:
<immae> let myHello = fetchFromGitHub { ... }; in import myHello
<immae> then myHello will contain your repo content, and import myHello will import the default.nix in it
<immae> (the "import myHello" is the one that will need to end in environment.systemPackages, so you might as well put it in an intermediate variable)
<{^_^}> [nixpkgs] @xeji merged pull request #94153 → powertop: 2.10 -> 2.13 → https://git.io/JJuKa
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ2s9
<{^_^}> [nixpkgs] @dashmoho opened pull request #94259 → moinmoin: Fix usage of different root → https://git.io/JJ2sF
<nij> Hmm.. I think the keyword is fetchFromGithub
<nij> (and even fetchgit, as I just searched online)
<immae> yes
<nij> I still don't know exactly how it works
<nij> but I'll look into it
<nij> Thanks :D
<nij> But I think fetching it locally + hash secure is easier than this
<immae> fetch* will just download the path to the nix store
<nij> should be doable......
<immae> Then you will "import" from that part (the mecanism is called "import from derivation" or IFD)
<immae> (explanations there: https://nixos.wiki/wiki/Import_From_Derivation )
<nij> immae: I should look for the simplest example where this works..
<immae> yours is quite simple already
<nij> Like when I was looking at the simplest hello.c where it compiles from derivation.
jotaru has joined #nixos
<nij> Yeah, but I need a version that uses fetch*
evanjs has joined #nixos
<immae> I’m not sure I understand your last sentence
jotaru has quit [Client Quit]
jotaru has joined #nixos
<immae> your "hello" derivatoin is done there, now you’re working on integrating it to your system / configuration.nix
<nij> Yes.
<immae> ok
jotaru has quit [Client Quit]
jotaru has joined #nixos
proofofkeags has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
proofofkeags has joined #nixos
jotaru has quit [Client Quit]
<nij> immae: Oh I see. The page "Import From Derivation" has a similar hello.nix that might work :)
<nij> I will start from there. Thank you so much!
<{^_^}> [nixpkgs] @xeji merged pull request #94239 → tmuxp: 1.5.4 -> 1.5.5 → https://git.io/JJgpP
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ2Gk
MarcWeber has quit [Ping timeout: 246 seconds]
sybrand has joined #nixos
proofofkeags has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Mic92 opened pull request #94260 → Revert "actions/editorconfig: disable until we can combine this with … → https://git.io/JJ2G3
<immae> good
davidv7_ has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @xeji merged pull request #94256 → xandikos: 0.2.2 -> 0.2.3 → https://git.io/JJ2OU
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ2G8
davidv7_ has joined #nixos
<{^_^}> [nixpkgs] @adrian-gierakowski closed pull request #93811 → dockerTools.buildLayeredImage: fix /nix/store permissions (regression) → https://git.io/JJBL7
xeji has joined #nixos
Maria20 has joined #nixos
Maria20 has left #nixos [#nixos]
jbox has joined #nixos
YoshiRulz has joined #nixos
vivasvat has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #93973 → matcha-gtk-theme: 2020-06-18 -> 2020-07-27 → https://git.io/JJ09b
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ2GQ
<{^_^}> [nixpkgs] @Ma27 pushed to master « packer: 1.6.0 -> 1.6.1 »: https://git.io/JJ2GF
<{^_^}> [nixpkgs] @bjornfor merged pull request #94258 → why3: 1.2.1 -> 1.3.1 → https://git.io/JJ23H
<{^_^}> [nixpkgs] @bjornfor pushed commit from @yrashk to master « why3: 1.2.1 -> 1.3.1 »: https://git.io/JJ2Ze
<{^_^}> [nixpkgs] @xeji merged pull request #94144 → spleen: 1.8.0 -> 1.8.1 → https://git.io/JJuwq
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ2ZU
alp has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #94152 → bloaty: 1.0 -> 1.1 → https://git.io/JJuoY
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ2Zk
WilhelmVonWeiner has quit [Quit: leaving]
<{^_^}> [nixpkgs] @xeji merged pull request #93914 → theme-obsidian2: 2.12 -> 2.13 → https://git.io/JJRSX
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ2Zt
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94261 → bazarr: 0.8.4.4 -> 0.9 → https://git.io/JJ2ZZ
proofofkeags has joined #nixos
<{^_^}> [nixpkgs] @xeji merged pull request #92476 → dwm-status: 1.7.0 -> 1.7.1 → https://git.io/JJL88
<{^_^}> [nixpkgs] @xeji pushed 2 commits to master: https://git.io/JJ2Zz
codygman has quit [Ping timeout: 246 seconds]
maier has joined #nixos
<{^_^}> [nixpkgs] @bjornfor merged pull request #94155 → tvheadend: include dtv scan tables → https://git.io/JJuPK
<{^_^}> [nixpkgs] @bjornfor pushed commit from @danielfullmer to master « tvheadend: include dtv scan tables »: https://git.io/JJ2ZP
codygman has joined #nixos
<{^_^}> [nixpkgs] @rvolosatovs opened pull request #94262 → Add several (neo-)vim plugins and update → https://git.io/JJ2ZS
codygman has quit [Read error: Connection reset by peer]
maier has quit [Ping timeout: 260 seconds]
nij has quit [Quit: leaving]
knupfer has quit [Ping timeout: 260 seconds]
Guest33658 has quit [Remote host closed the connection]
codygman has joined #nixos
veleiro has quit [Ping timeout: 264 seconds]
jonringer has quit [Remote host closed the connection]
lsix has quit [Quit: WeeChat 2.9]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @Mic92 merged pull request #94260 → Revert "actions/editorconfig: disable until we can combine this with … → https://git.io/JJ2G3
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JJ2nm
xeji has quit [Quit: WeeChat 2.7.1]
cransom has joined #nixos
obadz has joined #nixos
<{^_^}> [nix] @matthewbauer opened pull request #3881 → Fix builtins path → https://git.io/JJ2ns
<hodapp> trying to build some old-ish software, and autoreconf is complaining about dnl, AC_DEFINE, AC_MSG_WARN, AM_PATH_GTK, AM_GNU_GETTEXT, and AM_PATH_ESD being undefined; anyone good at software archaeology and have a clue what simple fix I'm overlooking?
<{^_^}> [nixpkgs] @Ma27 merged pull request #93945 → hydra-unstable: 2020-06-23 -> 2020-07-28 → https://git.io/JJ0G2
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJ2nR
drakonis has quit [Quit: WeeChat 2.8]
marsh has quit [Remote host closed the connection]
Neo--- has quit [Ping timeout: 246 seconds]
drakonis has joined #nixos
jbgi has quit [Ping timeout: 265 seconds]
davidv7_ has quit [Quit: Konversation terminated!]
alp has quit [Ping timeout: 240 seconds]
davidv7_ has joined #nixos
jbox has quit [Quit: WeeChat 2.9]
sybrand has quit [Quit: WeeChat 2.9]
eoli3n has quit [Ping timeout: 256 seconds]
<sshow> I have multiple network interfaces and I want to set a custom metric to the routes. Any tips?
<aaronjanse> You want to measure bandwidth usage to each interface?
<aaronjanse> If so, check out `bandwhich`
<sshow> no, I just want to set the preferred interface for traffic
<{^_^}> [nixpkgs] @Ma27 pushed commit from @ivan to release-20.03 « hydra-unstable: 2020-06-23 -> 2020-07-28 »: https://git.io/JJ2cJ
arjen-jonathan has quit [Ping timeout: 260 seconds]
<Athas> How do I roll back my Nix channels to exactly the version that was used for the NixOS revision (or whatever the thing I pick from my bootloader) I'm currently running?
<Athas> Rollback doesn't really work if the channels don't follow...
<ashkitten> Athas: you can't, really
<ashkitten> well
<ashkitten> you can rollback the channels
<aaronjanse> This should at least tell you which channel your NixOS generation is using nix-shell -p nix-info --run "nix-info -m"
<ashkitten> with nix-channel --rollback
<{^_^}> [nixpkgs] @Ma27 pushed to master « wasm-bindgen-cli: 0.2.65 -> 0.2.67 »: https://git.io/JJ2cq
<Athas> ashkitten: do the channel generations have any correlation with the NixOS generations?
<ashkitten> the channels are stateful and not part of the system generation
<ashkitten> the channel generations correspond to when you ran nix-channel --update
<Athas> aaronjanse: how do I change my nixos-unstable channel state to point to a specific commit?
<Athas> I can only find information about how to import specific commits directly in .nix files.
<pikajude> hi, the networking.nat.forwardPorts option appears to do nothing
<pikajude> how do i figure out why
<pikajude> haha ignore me i used the wrong port number
<Athas> "host os: `Linux 5.6.16, NixOS, 20.09pre228622.029a5de0839 (Nightingale)`" means that 029a5de0839 is the commit I built from, right? It looks plausible, by looking at the commit timestamp.
Thra11 has quit [Quit: WeeChat 2.8]
sikmir has joined #nixos
<evanjs> Not seeing many (if any) packages replacing git dependencies for rust packages... how would one typically handle this? sed/substituteInPlace?
<aaronjanse> Athas: I'm not sure, sorry
<aaronjanse> evanjs: You mean, replacing git dependencies in Cargo.toml? May I ask why?
<aaronjanse> *If so, may I ask why?
<Athas> I guess I can just edit the data files directly.
<infinisil> Athas: Yes
<infinisil> (the commit question)
<evanjs> aaronjanse: I'm using fetchGit (w/submodule support) for private repos. I have all the deps pulled in, but it doesn't seem to take depsand complains that it can't clone things using git
sikmir has quit [Remote host closed the connection]
<evanjs> getting a bunch of 'Unable to update ssh://git@<repo>#<commit>' messages
<evanjs> mmm I wonder if it has something to do with out of sync lockfiles, tho...
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @tinahbu opened pull request #94263 → updated qds_sdk version to 1.15.2 → https://git.io/JJ2cB
erasmas has quit [Quit: leaving]
fendor has quit [Read error: Connection reset by peer]
wnklmnn has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @jonringer opened pull request #94264 → steam-chroot: add cacert → https://git.io/JJ2cj
<energizer> aaronjanse: i've wanted to do that before because naersk is extremely automatic and easy to use..but doesnt support git deps very well
<energizer> so i tried just eliminating the git deps
<evanjs> yeah, I updated all the lockfiles and it still seems to be dying
<evanjs> oh well duh
<evanjs> attempting to update a git repository, but --frozen was specified
<evanjs> soooo yeah, isn't `--frozen --locked` the default?
ap29600 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #94265 → github actions: update and add to codeowners → https://git.io/JJ2CJ
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
rardiol has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @wjlroe opened pull request #94266 → hikari: 2.0.4 -> 2.1.1 → https://git.io/JJ2CW
<{^_^}> [nixpkgs] @wjlroe closed pull request #93921 → hikari: 2.0.4 -> 2.1.0 → https://git.io/JJR7L
rardiol has joined #nixos
asymptotically has quit [Quit: Leaving]
proofofkeags has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
<virus_dave> hey folks! If i have a python package derivation from `buildPythonPackage`, and it has a `buildInput` of (say) `which`, or `nix`, is there a reason why this wouldn’t be on my PATH if i `nix-shell -A my-python-derivation` ?
<virus_dave> i guess “is there anything special about python derivations that change how nix-shell works” ?
marsh has joined #nixos
<virus_dave> i’m wondering if this is related to `meta.platform` for it
<Guest65220> Is there something in nixpkgs to make a LUA_PATH compatible string / folder for ngx_lua lua_package_path?
Guest65220 is now known as AmandaC
kraeXen has joined #nixos
captn3m0- has joined #nixos
kraeXen has quit [Client Quit]
simba1 has quit [Ping timeout: 244 seconds]
kraeXen1 has joined #nixos
nikita` has quit [Quit: leaving]
kraeXen1 is now known as kraeXen
afreak has quit [Ping timeout: 264 seconds]
kraeXen has quit [Client Quit]
kraeXen has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #94267 → delve: 1.4.1 -> 1.5.0 → https://git.io/JJ2Ch
dermetfan has quit [Ping timeout: 260 seconds]
<virus_dave> :pointing_up: It looks like i needed to place them into `nativeBuildInputs`, not `buildInputs`, for reasons that aren’t obvious to me :(
kraeXen has quit [Quit: [ - ]]
kraeXen has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
proofofkeags has joined #nixos
kraeXen has quit [Client Quit]
kraeXen has joined #nixos
orivej has joined #nixos
proofofkeags has quit [Remote host closed the connection]
maier has joined #nixos
proofofkeags has joined #nixos
maier has quit [Ping timeout: 240 seconds]
kraeXen has quit [Ping timeout: 260 seconds]
shibboleth has quit [Quit: shibboleth]
philr_ has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
gustavderdrache has joined #nixos
cosimone has quit [Ping timeout: 260 seconds]
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @Pamplemousse opened pull request #94268 → pythonPackages.binwalk: add dependencies → https://git.io/JJ2Wl
noudle has quit []
<{^_^}> [nixpkgs] @jonringer opened pull request #94269 → steam: chroot: export STEAM_LD_LIBRARY_PATH → https://git.io/JJ2W6
Rusty1 has quit [Quit: Konversation terminated!]
pamplemousse has quit [Ping timeout: 240 seconds]
ottidmes has quit [Ping timeout: 256 seconds]