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
Pidgeotto has quit [Read error: Connection reset by peer]
lassulus has joined #nixos
gustavderdrache has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #91331 → python27Packages.azure-mgmt-web: 0.46.0 -> 0.47.0 → https://git.io/Jfxl2
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.azure-mgmt-web: 0.46.0 -> 0.47.0 »: https://git.io/JfpGp
h0m1 has quit [Quit: WeeChat 2.8]
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #91384 → python37Packages.quandl: fix build → https://git.io/JfpZl
Pidgeotto has joined #nixos
thc202 has quit [Ping timeout: 260 seconds]
cr4y1 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JfpZy
Chiliparrot has joined #nixos
ninjin has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 264 seconds]
ninjin has joined #nixos
<kiwiirc> has nixos migrated to systemd-networkd from scripted networking? just saw an old talk from '18 about it
Chiliparrot has quit [Ping timeout: 260 seconds]
n3t has joined #nixos
bzLem0n has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @xrelkd opened pull request #91385 → sn0int: 0.18.2 -> 0.19.1 → https://git.io/Jfpn0
<infinisil> kiwiirc: It's not enabled by default
sbetrium has joined #nixos
<infinisil> networking.useNetworkd if you want to try it out (experimental though)
hoverbear has quit [Quit: Connection closed]
<infinisil> That implements most of the networking.* options using networkd I think
ris has quit []
<ajs124> You can also configure networkd "manually". It's already declarative, just not particulary nice/beautiful. I've done that for some systems and haven't had any problems with it.
<{^_^}> [nixpkgs] @peterhoeg opened pull request #91386 → bully: add documentation → https://git.io/Jfpn6
<{^_^}> [nixpkgs] @peterhoeg pushed to clean/bully « bully: add documentation »: https://git.io/Jfpni
miguel_clean has quit [Ping timeout: 256 seconds]
<kiwiirc> what's holding up nixos making systemd-networkd the default?
<{^_^}> #10001 (by edolstra, 4 years ago, open): Switch to systemd-networkd
lassulus has quit [Ping timeout: 260 seconds]
<kiwiirc> ah ty. looks like it'll get unblocked soon!
m0rphism has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/fb6c3a6831c (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<{^_^}> [nixpkgs] @gustavderdrache opened pull request #91387 → kubernetes-helm: Restore vendorSha256 → https://git.io/Jfpnh
rian_ has joined #nixos
lassulus has joined #nixos
rian_ has quit [Client Quit]
nanashi0x74Old[m has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/Jfpcc
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/39da4240609 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/ea13f90b5fd (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
codygman has joined #nixos
sigmundv_ has quit [Read error: Connection reset by peer]
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
<nanashi0x74Old[m> I'm trying to set up a wireguard vpn tunnel. The link seems to work, I'm routing outgoing traffic through my other server now, but now I'd like to forward some external ports to the machine, but that doesn't seem to work. Could anybody help me here?
<nanashi0x74Old[m> I've set networking.nat.enable = true, set external and internal interface and specified some ports to forward. Builds fine, but it just doesn't seem to work and I don't see any nat rules in iptables -L either
<b42> iptables -t nat -L ?
<nanashi0x74Old[m> where can I find kernel logs btw? 😅
<nanashi0x74Old[m> 🙈 thanks, I assumed -L gives me all tables/chains
<b42> journalctl should have them (journalctl -b for logs only from this boot)
<b42> (another useful option for iptables is -v which shows packet/byte counters so you can see which rules are getting applied)
markus1199 has joined #nixos
<nanashi0x74Old[m> ok, they actually do seem to be getting applied... I'll have a look at the other machine's logs also
user_0x58 has quit [Remote host closed the connection]
<nanashi0x74Old[m> I'm getting loads of spam traffic as well 😞
user_0x58 has joined #nixos
markus1189 has quit [Ping timeout: 240 seconds]
PyroLagus has quit [Quit: ZNC / WeeChat]
smatting has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/b3dcc2bfead (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
PyroLagus has joined #nixos
smatting_ has quit [Ping timeout: 246 seconds]
<MtotheM> I'm quite confused right now. I want to configure dwarf fortress which had an overlay in `/home/mtothem/.local/share/df_linux` but it's impossible to make any changes to the config file. it's read only.
<nanashi0x74Old[m> Still don't get what's going on. I inserted some log rules in the nixos-nat-pre chain and am assuming I should get some packets logged when rules get applied in there, no?
<nanashi0x74Old[m> Either way, I'm getting too tired, I'll have to continue tomorrow
pbb has quit [Remote host closed the connection]
<MtotheM> I get that this is an edge case. where the config isn't in a standard path like home or etc. but how would I get around this?
pbb has joined #nixos
hoverbear has joined #nixos
eta has quit [Ping timeout: 256 seconds]
eta has joined #nixos
sbetrium has quit [Quit: sbetrium]
gustavderdrache1 has joined #nixos
gustavderdrache1 has quit [Client Quit]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/4143654d6e2 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d5b6a9c6de1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<danderson> damn, nodejs 14 isn't in nixos stable afaict
<danderson> getting harder to use this as a dev machine without going nuts :(
elux has joined #nixos
<elux> does something change in latest nixos? my track pad settings no longer seem to take any effect. track pad feels very slow
<{^_^}> [nixpkgs] @svmhdvn opened pull request #91388 → haskellPackages.hsimport: unbreak → https://git.io/JfplO
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
Scriptkiddi has quit [Quit: killed]
mrpi has quit [Quit: killed]
das_j has joined #nixos
mrpi has joined #nixos
ajs124 has joined #nixos
Scriptkiddi has joined #nixos
nuncanada has quit [Quit: Leaving]
elux has quit [Quit: leaving]
<{^_^}> [nixpkgs] @wmertens merged pull request #90461 → bitwig-studio3: 3.1.3 -> 3.2.2 → https://git.io/Jf7BZ
<{^_^}> [nixpkgs] @wmertens pushed commit from @tasmo to master « bitwig-studio3: 3.1.3 -> 3.2.2 (#90461) »: https://git.io/JfplP
MinceR has joined #nixos
felixfoertsch23 has joined #nixos
justache has quit [Quit: The Lounge - https://thelounge.chat]
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
<{^_^}> [nixpkgs] @HugoReeves opened pull request #91389 → cargo-tarpaulin: 0.13.3 -> 0.13.4 → https://git.io/Jfp8J
justache has joined #nixos
justache has quit [Remote host closed the connection]
nwspk has joined #nixos
justache has joined #nixos
knerten1 has joined #nixos
aleph- has joined #nixos
<glittershark> MtotheM: I have a thing in my config for this if it helps to steal it: https://cs.tvl.fyi/depot/-/blob/users/glittershark/system/home/modules/games.nix
<MtotheM> i'll have a look, thanks
knerten2 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91319 → [haskell-updates] haskellPackages: Fix gtk2hs packages → https://git.io/JfxJJ
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jfp8C
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
boxscape has quit [Quit: Connection closed]
boxscape has joined #nixos
mzan has joined #nixos
stephank5 has joined #nixos
ddellacosta has quit [Ping timeout: 272 seconds]
PyroLagus has quit [Quit: ZNC / WeeChat]
tertl3 has quit [Quit: Connection closed for inactivity]
stephank has quit [Ping timeout: 256 seconds]
stephank5 is now known as stephank
drakonis has quit [Ping timeout: 260 seconds]
PyroLagus has joined #nixos
stoile has quit [Ping timeout: 240 seconds]
sb0 has joined #nixos
Supersonic112 has joined #nixos
grvy has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
grvy has left #nixos [#nixos]
stoile has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #91390 → buku: 4.3 -> 4.4 → https://git.io/Jfp4a
<hoverbear> How can I access the the other `a` in `rec { a = 1; second = { a = ..a }};`?
<hoverbear> So second.a would be 1
<energizer> use let/in instead of rec
<hoverbear> More concretely: I want to refer to this here.
<energizer> let a = 1; in {a = a; b = { c = a}
<hoverbear> So I can't, I'd have to bind it prior?
<gustavderdrache> there are ways, but they're really limited
<energizer> that is what i would do. it's nicer anyway
<hoverbear> Could you give me a breadcrumb so I can go investigate?
<chipb> could you 'rec { second = { a = 1 }; a = second.a; }'?
<hoverbear> energizer In this small example yes, but in my more greater idea perhaps it's not ideal for me :(
<gustavderdrache> > rec { foo = 1; bar.foo = foo: }
<{^_^}> error: syntax error, unexpected '}', at (string):317:31
<gustavderdrache> > rec { foo = 1; bar.foo = foo; }
<{^_^}> { bar = <CODE>; foo = 1; }
<chipb> a let/in scope seems like the more clear way to go though...
<gustavderdrache> yeah
<energizer> pretty much always
<hoverbear> chipb: Yes but I would like my configuration data localized to my cross compile targets since there will be almost a dozen, and having the configurations separate creates mental overhead
<hoverbear> If I could see my whole configuration and the outputs in one screenful I can think about it completely without needing to scroll :)
<hoverbear> gustavderdrache: Okay I think I can work with this, thank you :)
<gustavderdrache> just be wary, because the scoping rules of rec are subtler than you'd expect
boxscape has quit [Ping timeout: 246 seconds]
<hoverbear> Yeah :think: I kind of expected a 'parent' selector to be honest?
<gustavderdrache> there's not really an "up" in attrsets
<chipb> yeah, maybe think singly-linked list, not doubly-?
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/348503b6345 (from 18 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<hoverbear> Oh hold on I reverted my changes and it's still broken so clearly I'm an idiot in some other way xD
<chipb> a value could be bound to multiple keys, say.
<hoverbear> Good!
<gustavderdrache> also i would point out that in a functional language like nix, your unit of abstraction should be the function - i've found it's often fairly easy to write a small function that generates the config boilerplate from a smaller unit of dependencies
sb0 has quit [Quit: Leaving]
<hoverbear> Yeah I'm trying to get my configuration knobs all together then build simple functions to take those knobs and build, but the recsursive set support and args support has been a real challenge for me :S
<gustavderdrache> yeah, i'd advise starting with the functions
<hoverbear> They're done xD
<gustavderdrache> lol
<gustavderdrache> not in a functional language they're not :P
<gustavderdrache> time to wrap those functions in other functions :D
<hoverbear> Sweetheart I'm not going to write more builder fns when I can't even test my current ones because I can't get fn args working how they are explained to work lol
<hoverbear> I need more time hitting them with a wrench =D
<hoverbear> Bears are slow to learn clever things. :) I think I have figured out a good solution now, thank you very much!
plutes has quit [Ping timeout: 272 seconds]
<gustavderdrache> happy to help
<gustavderdrache> good luck and happy wrench-banging :)
<hoverbear> My issue was this
<hoverbear> > ( { foo ? null } @ args: if args ? foo then args.foo else args.foo) { }
<{^_^}> attribute 'foo' missing, at (string):317:59
<gustavderdrache> oh!
<gustavderdrache> there's a shortcut syntax for exactly that case
<gustavderdrache> > {}.foo or "default"
<{^_^}> "default"
<gustavderdrache> > ({ foo ? null }@args: args.foo or "bar") { }
<{^_^}> "bar"
<hoverbear> ooooooooo
<hoverbear> Hmmm
<hoverbear> > ({ foo ? null }@args: args.foo or null) { }
<{^_^}> null
<hoverbear> OohhH!
<hoverbear> That works!
<gustavderdrache> since you're already destructuring, though, you can just write:
<gustavderdrache> > ({ foo ? null }: foo) {}
<{^_^}> null
kleisli has quit [Remote host closed the connection]
kleisli has joined #nixos
<hoverbear> omg I feel powerful now
<gustavderdrache> welcome to nix! :D
<hoverbear> Okay let me try to apply this here...
<hoverbear> gustavderdrache I was doing this
<hoverbear> =D
<gustavderdrache> lol, i've done that one to myself a few times
azure1 is now known as zangi
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91388 → haskellPackages.hsimport: unbreak → https://git.io/JfplO
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JfpBE
<hoverbear> gustavderdrache So this should work?
Chiliparrot has joined #nixos
<gustavderdrache> unless args.pkgs is null or missing
<gustavderdrache> you may want (args.cross or pkgs)
plutes has joined #nixos
<gustavderdrache> since you're doing the default assignment in the function list
<hoverbear> So replacing it with `(if args ? cross && args.cross != null then cross else pkgs)` works?
<hoverbear> Or `(if args ? cross && args.cross != null then args.cross else args.pkgs)`
<gustavderdrache> hmmmm...
kleisli has quit [Ping timeout: 240 seconds]
<hoverbear> Yeah it's a fun puzzle right?
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91312 → Haskell: configuration-common: updates to overrides → https://git.io/JfApn
<{^_^}> [nixpkgs] @cdepillabout pushed 8 commits to haskell-updates: https://git.io/JfpBX
<gustavderdrache> hmmmmmmmmmmm
<gustavderdrache> one sec, lemme sketch some code out
proofofkeags has quit [Remote host closed the connection]
<hoverbear> gustavderdrache: =D I consider it solved enough for me right now
<hoverbear> I need to get back to wrenching about why my rust compiler can't detect it's on stdlib :(
annadane has left #nixos ["Leaving"]
<gustavderdrache> aha, i think i know what was irking me about the naming
<gustavderdrache> i think i'd suggest renaming "pkgs" to "hostPkgs" and "cross" to "targetPkgs" - you'll know you're cross-compiling when hostPkgs != targetPkgs
<hoverbear> You've got a very wise idea
justache has quit [Quit: The Lounge - https://thelounge.chat]
<gustavderdrache> and so you can write { hostPkgs ? pkgs, targetPkgs ? hostPkgs }: targetPkgs.makeRustPlatform (...)
<gustavderdrache> it'll cut down on some of the conditionals to always refer to targetPkgs for your, well, build targets
<gustavderdrache> hoverbear: something kinda like this: https://gist.github.com/gustavderdrache/cb123a35b07f8152b41d0ca8323a2c3e
justache has joined #nixos
<hoverbear> gustavderdrache: Yeah I like that more :think:
<hoverbear> gustavderdrache: I'm trying to do a whole bunch of restructuring unfortunately most of the attempts fail :S
<gustavderdrache> yeah, do it in small increments
<hoverbear> Yup right now trying to mush some files together
<gustavderdrache> my personal rule for these kinds of things is the rule of three: don't centralize it until you see it three times
<hoverbear> I have at least 12 build targets =D
<gustavderdrache> :)
<kiwiirc> rule of 3 is good
waleee-cl has quit [Quit: Connection closed for inactivity]
<gustavderdrache> alrighty, i'm heading off to sleep
<gustavderdrache> catch y'all later
<hoverbear> Night!
gustavderdrache has quit [Quit: Leaving.]
radvendii has joined #nixos
moet has joined #nixos
moet has quit [Client Quit]
<radvendii> hey y'all! I'm back, with more questions about cross-compiling (in particular, for SDL2)
<hoverbear> radvendii: omg I'm about to go to bed but I want to listen
<radvendii> first, it seems like things suceed at cross compiling way more when they're set to build static libraries as opposed to dynamic. I know libraries work differently on windows... should i just be making everything static libraries?
<radvendii> hahaha
kleisli has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #91387 → kubernetes-helm: Restore vendorSha256 → https://git.io/Jfpnh
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfpRR
<radvendii> i've just been setting dontDisableStatic = 1 and configureFlags = ["--enable-static" "--disable-shared"] on everything mostly, and it seems to get them to compile. is there any danger in doing that? is that standard for cross-compiling?
<{^_^}> [nixpkgs] @marsam merged pull request #91354 → rakudo: 2020.05.1 -> 2020.06 → https://git.io/Jfx1T
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JfpR0
<radvendii> another question is: do i just need to set nativeBuildInputs = [ buildPackages.cmake ]; instead of buildInputs = [cmake]; for cross compiling with cmake to work? Is that best practice?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4398e9e346c (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Rusty1 has quit [Quit: WeeChat 2.3]
kw4775 has joined #nixos
kw4775 has left #nixos [#nixos]
rootatarch has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @thefloweringash opened pull request #91392 → chromium: 83.0.4103.106 -> 83.0.4103.116 → https://git.io/JfpR9
<hoverbear> radvendii According to my research cmake can go in buildinputs
<radvendii> huh. that kept failing when cross compiling
<samueldr> things that run when compiling needs to be in nativeBuildInputs
<hoverbear> Hmm I wonder if that is my issue...
<samueldr> so yeah
<radvendii> so why does it need to be buildPackages.cmake instead of just cmake?
<samueldr> though if it's in a normal derivation called with callPackage, you can skip `buildPackages` and use `cmake` directly, there's some heavy-handed stuff that does it for you
<samueldr> it's complicated, as I alluded to
<samueldr> radvendii: is your derivation built through a call to `callPackage`?
<hoverbear> I wonder if that's part of why my rustcs can't find their stdlibs...
<radvendii> right now i'm just using nix-build
<samueldr> right, so the splicing (<- important keyword) doesn't happen
<samueldr> that's why you have to specify buildPackages
<radvendii> oh interesting
<radvendii> i'll have to look up splicing
<radvendii> so why do I often see cmake in buildInputs rather than nativeBuildInputs? is that just people being slopy?
<samueldr> kind of
<samueldr> it may be legacy from before the splicing thing was a thing
simba1 has joined #nixos
<hoverbear> samueldr: Is `buildRustPackage` similar?
<samueldr> or people not knowing about it and not knowing/caring (innocently) about cross-compilation
<samueldr> hoverbear: I don't know for rust stuff, sorry
<hoverbear> Ok :)))
<samueldr> I didn't have success when I tried, but I also don't know the rust ecosystem either
<hoverbear> I know rust I've just been trying to figure out an issue with the nix-rust overlay not pulling my core/std dependencies for some reason Q_Q
<hoverbear> Current suspicion is what you just taught us =D
<hoverbear> Might have a tool in the wrong buildinput
<radvendii> okay, so i finally have my project cross-compiling, and I actually had to get rid of the --enable-static and --disable-shared (but kept the dontDisableStatic = 1.
<radvendii> now i'm trying to get it to run through wine, and it's not finding any of the libraries
<radvendii> the .dll files
<radvendii> i know i saw stuff about how cross-compiling is a pain because windows deals with dynamic libraries weirdly
<radvendii> but i didn't find a resolution
<radvendii> does anyone know how to get it to find them besides `cp`ing them all into the directory with the .exe?
<hoverbear> radvendii I can't wait to ask you more questions when I get to windows
<radvendii> hahaha, i'm actually such a noob when it comes to windows. I'm slowly learning though
<radvendii> I've been on mac and linux my whole life
<radvendii> so it's quite a shock
<hoverbear> I feel like you could teach me lots!
<radvendii> =)
<hoverbear> I used windows for dev for awhile
<radvendii> ah yeah? with visual studio?
<hoverbear> Uhhhh I was running `make` and rust compiler stuff =D
<hoverbear> `scoop` is a great gift
<bqv> Gosh, windoes
<radvendii> is that for rust?
<bqv> I pray I never have to use it
<hoverbear> Scoop is a windows package manager.... scoop.sh
<cole-h> scoop is kinda like a package manager for Windows, I guess?
<hoverbear> It's not good or anything
<hoverbear> It just, is.
<hoverbear> But on windows, well, that's enough!
<radvendii> yeahhh
<radvendii> i was looking for windows package managers and didn't find that one
<hoverbear> Well good news microsoft made(/copied off appget) winget
<{^_^}> [nix] @domenkozar merged pull request #3739 → docs/installer: add correct curl flags → https://git.io/JfpqS
<{^_^}> [nix] @domenkozar pushed 2 commits to master: https://git.io/Jfp0W
<radvendii> IT WORKS
<radvendii> copying all the dlls it said were missing recursively into the folder with the executable worked
<radvendii> XD
<hoverbear> omg yay
<radvendii> my program runs though!
<hoverbear> !!!
<radvendii> i'll have to refine the process of compiling obviously, but at least in theory it can run on windows =D
<bqv> At least its not DLL Hell
<bqv> Ah those were the days
<radvendii> i'll have to make pull requests to nixpkgs with the changes i made to SDL2 &c
<radvendii> what's DLL hell?
endformationage has quit [Quit: WeeChat 2.6]
<bqv> DLLs used to be incredibly brittle-y versioned, so not only did you have to have all the dlls for your program, but also hunt down each specific version
<radvendii> oh wow
<radvendii> yikes
<hoverbear> Yeah static link binaries you distribute
<hoverbear> If you include them in a repo yeah dynamic link like nuts
<radvendii> I'm not sure how to force nix to statically link. looking into that now
<bqv> Involves pkgsStatic, which is almost certainly comprehensively fscked on windows
aruniiird has joined #nixos
aruniiird has left #nixos ["Leaving"]
aij has quit [Ping timeout: 264 seconds]
palo1 has joined #nixos
cole-h has quit [Quit: Goodbye]
<radvendii> what is the point of having dynamic libraries if they just end up putting them all in each folder with an exe?
<hoverbear> I'm building llvm for musl so if anyone wants to roast marshmallows please come visit
palo has quit [Ping timeout: 264 seconds]
palo1 is now known as palo
<radvendii> hahaha. i just built a really powerful computer for gaming. little did i know i would mostly be using that power for compiling
<hoverbear> Yup I am shopping for a threadripper as we chat
aij has joined #nixos
<radvendii> ooh nice
<radvendii> i went intel because gaming but now i'm kind of regretting it :P
<hoverbear> Yeah times have changed
<hoverbear> I'm having a lot of issues finding a good matching gpu for a threadripper though, seems the AMD 5700 XTs dont really come water cooled yet :(
<patrickod> hey folks. I'm new to nixos packaging and trying to wrap my head around how nixos deals with packages that also ship libraries, specifically looking at extending the obs-studio package to include libobs from the same project.
<hoverbear> Hi! =D
<radvendii> hoverbear: ah bummer
<patrickod> is it possible/common for packages to ship both? I know people recommend looking at existing examples for reference but I'm not aware of any to hand
<radvendii> I'm pretty sure there are packages that ship both
<hoverbear> patrickod: I have seen openssl can have both `openssl` and `openssl.dev` etc...
<radvendii> i'll look around see if i can remember which
<patrickod> the background is that I'm trying to compile looking-glass's new obs-studio plugin which relies on the libobs package embedded in obs-studio
<hoverbear> patrickod I wonder if it deserves its own package?
<lopsided98> hoverbear: that is split outputs, which is often used to put libraries in a separate derivation, but I would avoid that if you are just learning Nix
<patrickod> if that's the nix way to do it then happy to take that approach
<hoverbear> Hmmm I know rdkafka ships a dynamic runtime lib but it has no matching binary...
<lopsided98> normally you can just put executables in $out/bin and libraries in $out/lib and everything works
<lopsided98> split outputs are only really useful to save space when some part of a package is large and you don't usually need it
<radvendii> the description of flac says that it has tools and libraries, but i can't actually find the binaries
<patrickod> lopsided98: it's possible that not all users of looking glass would like the entire obs-studio app installed
<lopsided98> yes, that does seem like a useful case, but it might be good to get it working without splitting first
<lopsided98> radvendii: flac uses split outputs; the libraries are in flac.out. Normally though, if you just include it in buildInputs you don't have to worry about that
<{^_^}> [nixpkgs] @danieldk opened pull request #91394 → cadical: enable tests → https://git.io/JfpEI
growpotkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
<radvendii> I found this, but the thread seems to have died even though the underlying problem hasn't gone away? Hello package now cross-compiles fine, but DLLs are still not forwarded: https://github.com/NixOS/nixpkgs/issues/38451
<{^_^}> #38451 (by expipiplus1, 2 years ago, open): Cross compiling for mingw doesn't find gcc DLLs
<lopsided98> patrickod: in your case, I would expect that just adding obs-studio to looking-glass's buildInputs should work. If so, then you could look into splitting obs-studio.
<patrickod> lopsided98: it does appear that the library is working as expected. the remaining part is compiling the obs-studio plugin within the looking glass source directory.
<{^_^}> [nixpkgs] @Mic92 merged pull request #91384 → python37Packages.quandl: fix build → https://git.io/JfpZl
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfpEG
<{^_^}> [nixpkgs] @danieldk merged pull request #91389 → cargo-tarpaulin: 0.13.3 -> 0.13.4 → https://git.io/Jfp8J
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JfpEc
<patrickod> https://github.com/gnif/LookingGlass/tree/master/obs it's nested in the looking glass source. can you reference a subdirectory from a fetchFromGithub?
<{^_^}> [nixpkgs] @danieldk merged pull request #91381 → hstr: install manpage → https://git.io/Jfpmg
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JfpE4
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
user_0x58 has quit [Quit: Leaving]
SanchayanMaity has joined #nixos
<lopsided98> patrickod: you can set sourceRoot or just cd to the directory in preConfigure
<{^_^}> [nixpkgs] @danieldk merged pull request #91375 → discord: fix appindicator tray icon support → https://git.io/JfpTY
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JfpEg
SanchayanMaity has quit [Client Quit]
kristofers has joined #nixos
karantan has joined #nixos
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/39da4240609 (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
hoverbear has quit [Quit: Connection closed]
karantan has quit [Client Quit]
mtn has joined #nixos
simba1 has quit [Ping timeout: 272 seconds]
<mtn> I'm having trouble with `enableACME` in `services.nginx`. When I set it to false, everything works correctly and my site serves on the domain over http. When I enable it, ACME certificate renewal fails: the request to ${domainName}/.well-known... fails
<mtn> Anything obviously wrong in my config? It seems pretty simple in theory: https://gist.github.com/mtn/37b002baa284c1a7aa588938b9fd2fa5
<mtn> One potential bug might've been forcing SSL before getting the certificate, but I'm not doing that
<energizer> mtn i'm curious what kind of website you're making with fancy ml tools
<mica[m]> mtn: what's the full acme error?
<mtn> energizer: haha, for now it's just be serving a labeling app that I'm using with my friend to label some more data
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
gokkun has joined #nixos
<mica[m]> mtn: firewall problem? Do you have port 80 and 443 open?
<mica[m]> Can you ping the address for acme?
<mtn> Yep to firewall, checking acme
FRidh has joined #nixos
<mtn> Nope, can't ping acme, I suppose that's it
codygman has quit [Ping timeout: 264 seconds]
<mica[m]> Yeah that's probably it :)
codygman has joined #nixos
<mtn> mica[m]: Do I need to like switch DNS servers or something?
<mica[m]> mtn: does your ping just time out or what?
<mtn> `ping: https://acme-v02.api.letsencrypt.org/acme/authz-v3/5444277372: Name or service not known`
<mica[m]> Can you ping google?
<mtn> yep
gungoman has quit [Ping timeout: 265 seconds]
<mtn> So it's not an error message about ping, it's from ping :)
<mica[m]> Can you ping just let's encrypt.org?
<mtn> yep
<patagonicus> Eh. You can't ping a https URL. ping only knows about domain names.
<mica[m]> mtn: have you set security.acme.acceptTerms
<patagonicus> I.e. ping acme-v02.api.letsencrypt.org should work. To test if you can download that file, use curl or wget or something (wget will save it as a file by default).
<mtn> mica[m]: Yep
mallox has joined #nixos
<mtn> patagonicus: Yep, pinging that base url works. Curl returns a json blob, even though ping doesn't work (even without the https)
<mtn> I'll share the blob -- it seems like a more detailed error message
<patagonicus> mtn: ping also won't work for anything with a slash in it. I.e. `ping example.com/foo` will never work.
<mtn> patagonicus: Oh interesting, somehow I never realized that but it also makes complete sense
<mtn> I guess it'd be nice if it just ignored everything after the domain though
<mtn> Except maybe that doesn't make sense because it'd return even if there's no endpoint
<patagonicus> mtn: based on the log it looks like Let's Encrypt has trouble connecting to your server. Can you access the server from a different network? I'm assuming it's a server somewhere that's not your home.
mtn52 has joined #nixos
<mtn52> Ah, that seems like the problem
<mtn52> I can't access the server off my home network, even though I can ssh to the computer that's running it from off the home network
<mtn52> Weird, since port forwarding is set up the same way
<patagonicus> I'd guess your servers firewall is blocking it. Over SSH forwarding it'll work as that looks like a local connection to the firewall.
mtn has quit [Ping timeout: 245 seconds]
<mica[m]> mtn52: your ISP is likely blocking port 80 if its a home connection.
<energizer> nixos-fw special cases 22
<{^_^}> [nixpkgs] @peterhoeg pushed to u/mdbtools « mdbtools: 0.7.1 -> 0.8.2 »: https://git.io/Jfpux
<{^_^}> [nixpkgs] @peterhoeg opened pull request #91395 → mdbtools: 0.7.1 -> 0.8.2 → https://git.io/Jfpup
<patagonicus> mtn52: Would you be ok with sharing your configuration.nix? That might make things a lot easier to understand. :)
<energizer> networking.firewall.allowedTCPPorts = [80]
<mtn52> patagonicus: Yep! Just pushing it now
mtn52 has quit [Ping timeout: 245 seconds]
NeoCron has joined #nixos
mtn has joined #nixos
alp has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/22a81aa5fc1 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-unstable)
drakonis_ has quit [Ping timeout: 256 seconds]
dermetfan has joined #nixos
lsix has joined #nixos
cfricke has joined #nixos
bahamas has joined #nixos
<mtn> I also confirmed my ISP is blocking port 80
<mtn> So I guess the solution is to route around it, but do I have to configure with my domain provider to make the request go to the right new port?
proofofkeags has joined #nixos
fpob has joined #nixos
<{^_^}> [nixpkgs] @lsix merged pull request #91262 → ameba: 0.12.1 -> 0.13.0 → https://git.io/JfNQc
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/JfpzX
tru_tru has joined #nixos
<patagonicus> mtn: Oh, yeah. I doubt you'll be able to host a website with your ISP then. Some of them are really annoying with that. :/
<patagonicus> Basically, you can't have a domain use a different port by default, it will to be explicitly specified in the URL (i.e. http://example.com:1234/foo) and Let's Encrypt will not work, I'm pretty sure they require port 80 as others would open it up for some attacks.
<mtn> Ah, that's sad. Makes sense
<mtn> I guess I might have access to a server I forward traffic through, but that'd be a drag
Chiliparrot has joined #nixos
<mtn> Oh wait, one thing though
<mtn> When I first set up the domain, it didn't time out, visiting the domain just went to my router config page
<mtn> As if I'd visited 192.168.1.1 on the local network
drakonis_ has joined #nixos
<mtn> Oh wait, nevermind
<mtn> That was on the local network
aruniiird has joined #nixos
proofofkeags has quit [Ping timeout: 260 seconds]
kenji has joined #nixos
mtn has quit [Remote host closed the connection]
absoluutely has joined #nixos
<DigitalKiwi> you might be able to get the dns letsencrypt method to work
mtn has joined #nixos
<radvendii> is there a way to test the installPhase part of the build from nix-shell? It's giving me a permissions error, presumably because i'm not allowed to write to the nix store
<DigitalKiwi> my isp blocks port 80 too but i have letsencrypt on my router
<mtn> DigitalKiwi: oh neat, how does that work?
<mtn> My ISP doesn't block 443, fwiw
alp has quit [Ping timeout: 272 seconds]
WIIIHEIIM has joined #nixos
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
<DigitalKiwi> you add dns TXT records
<mtn> Oh, similar to editing a /etc/host?
thomasjm has quit [Ping timeout: 264 seconds]
<mtn> Oh wait, probably not like that, since that's for the computer resolving DNS requests rather than letsencrypt which needs to find our server/router
<DigitalKiwi> no on your dns provider
fpob has left #nixos ["Leaving."]
<{^_^}> [nixpkgs] @vbgl merged pull request #90655 → ocamlPackages.lwt2: remove at 2.7.1 → https://git.io/Jf5hc
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/Jfpg7
kleisli_ has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #91259 → ocamlPackages.dns(-client): 4.6.0 → 4.6.1 → https://git.io/JfN14
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.dns(-client): 4.6.0 → 4.6.1 »: https://git.io/JfpgF
karantan has joined #nixos
kleisli has quit [Ping timeout: 246 seconds]
<betaboon> damn the new github design is confusing xD
<WIIIHEIIM> Hello, I would like some pointer, I'm trying to update/upgrade a package, the overall project structure of the package changed, so I use `nix-shell $NIXPKGS -A anki` to interact and see where it fail but I'm having some issues: first, is my approach good? And second is there a way I can deal with absolute paths (/bin/bash and stuff) or do I need to
<WIIIHEIIM> fix it with a symlink? Thank you in advance.
Zetagon has joined #nixos
<symphorien> For absolute paths in shebang, there is patchShebangs
<symphorien> For other cases, you need to patch by hand
<WIIIHEIIM> Okay I'll look into it, thanks a lot
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<symphorien> PatchShebangs is automatically run at the end of the build, if you need it sooner you'll have to call it yourself
<symphorien> Like in postPatch or something like that
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos
<WIIIHEIIM> Is there a way to use it inside of a nix-shell? Sorry I'm not really familiar with the workflow of nix
<WIIIHEIIM> I think I got it, thanks again
m0rphism has joined #nixos
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomasjm has joined #nixos
miguel_clean has joined #nixos
aruniiird has quit [Ping timeout: 260 seconds]
mtn has quit [Remote host closed the connection]
<gregf> hmm, trying to deploy a server with nixos. It appears to be trying to downgrade packages that are already there. configuration.nix on the server is set to 20.03.. cany canyone tell me what might be going on here?
<gregf> erm nixops rather not nixos
<gregf> nixops info says Status Up / Outdated
<{^_^}> [nixpkgs] @flokli merged pull request #88598 → xdg-desktop-portal: 1.6.0 -> 1.7.2 → https://git.io/Jf2ax
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/JfpaU
copy has quit [Ping timeout: 264 seconds]
aruniiird has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #91396 → ocamlPackages.torch: 0.8 → 0.9b → https://git.io/JfpaB
<gregf> totally forgot how nixops works, forget that it builds locally. My local systme wasn't up to date with what the server had
<bahamas> while deploying a system with nix-copy-closure, I see lines like this: warning: unable to download 'https://cache.nixos.org/nix-cache-info': Couldn't resolve host name (6); retrying in 253 ms. anyone have any idea how I can debug this?
nikita` has joined #nixos
nikita` has joined #nixos
nikita` has quit [Changing host]
<pjt_tmp> bahamas: That just means it can't connect. Double check your connection--see if you can ping the device--and try again later.
<bqv> Fix host resolution :p
orivej has joined #nixos
graf_blutwurst has joined #nixos
boxscape has joined #nixos
Ashy has joined #nixos
karantan has joined #nixos
asymptotically has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
aw has quit [Remote host closed the connection]
spacefrogg has quit [Remote host closed the connection]
aw has joined #nixos
spacefrogg has joined #nixos
gxt has joined #nixos
thc202 has joined #nixos
amohan has joined #nixos
<{^_^}> [nixpkgs] @xrelkd opened pull request #91397 → just: 0.5.11 -> 0.6.0 → https://git.io/JfpVD
<radvendii> wow compiling everything from scratch takes forever...
aruniiird has quit [Ping timeout: 260 seconds]
<patagonicus> radvendii: Currently doing that on a RPi3. I totally agree. :D
orivej has quit [Quit: No Ping reply in 180 seconds.]
<radvendii> all i did was change a function that has to run on every package build!
o1lo01ol1o has joined #nixos
<radvendii> patagonicus: oof. I'm pretty sure nix burned out my raspbery pi's SSD because too many writes, but I might be wrong about what happened
orivej has joined #nixos
amohan has quit [Ping timeout: 260 seconds]
<patagonicus> radvendii: Yeah, wouldn't be surprised, it just crashed after ~a day, although I would be surprised if a day of writes would be enough to break a new SD card.
copy has joined #nixos
<radvendii> patagonicus: yours burned out after a day too?
kleisli__ has joined #nixos
<patagonicus> I don't think so, it rebooted fine. It might have just had a hiccup.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
kleisli_ has quit [Ping timeout: 260 seconds]
gxt has quit [Remote host closed the connection]
pjt_tmp has quit [Ping timeout: 240 seconds]
jmarhee has quit [Ping timeout: 260 seconds]
fendor has joined #nixos
kreyren has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @cdepillabout merged pull request #91383 → [haskell-updates] haskellPackages.stan: Fix build → https://git.io/JfpOi
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/Jfpwo
kreyren has joined #nixos
<{^_^}> [nixpkgs] @tasmo opened pull request #91398 → processing: 3.5.3 -> 3.5.4 → https://git.io/JfpwP
amohan has joined #nixos
absoluutely has quit [Ping timeout: 265 seconds]
sigmundv_ has joined #nixos
o1lo01ol1o has joined #nixos
pradyuman has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
proofofkeags has joined #nixos
KarlJoad has joined #nixos
o1lo01ol1o has joined #nixos
amohan has quit [Ping timeout: 256 seconds]
o1lo01ol_ has joined #nixos
proofofkeags has quit [Ping timeout: 265 seconds]
civodul has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<{^_^}> [nix] @regnat opened pull request #3740 → Minimal CA support → https://git.io/Jfpru
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
o1lo01ol_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #91399 → curl: fix CVE-2020-816 and CVE-2020-8177 → https://git.io/JfprX
alp has joined #nixos
<{^_^}> [nixpkgs] @lsix pushed to release-20.03 « qgis: 3.10.4 -> 3.10.7 »: https://git.io/Jfprp
__monty__ has joined #nixos
amohan has joined #nixos
_reanimus_ has quit [Ping timeout: 260 seconds]
karantan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jackneill has joined #nixos
tudorr has joined #nixos
Seebi has joined #nixos
pradyuman has quit [Remote host closed the connection]
magnetophon has joined #nixos
<evax> when specifying an input flake fetched from git over ssh, is there a way to specify a branch?
Seebi has quit [Read error: Connection reset by peer]
Flakebi has joined #nixos
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
<evax> actually I sorted it out, one should use `ref = "branchname"`
<KarlJoad> Is there a way to open a nix repl to a package on my system? For example, the home-manager repo?
drdee has joined #nixos
proofofkeags has joined #nixos
Izorkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
Izorkin has joined #nixos
ShaRose has quit [Ping timeout: 246 seconds]
ShaRose has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
<Taneb> How safe is it to upgrade the version of ZFS?
<Taneb> And also is there a good way to go from a "normal" ZFS configuration (made on the command line with zpool/zfs) to one specified in a NixOS config?
karantan has joined #nixos
karantan has quit [Ping timeout: 260 seconds]
<Ashy> Taneb: it's as safe as however many tested backups you have
lsix has quit [Ping timeout: 260 seconds]
meh` has joined #nixos
aveltras has joined #nixos
teto has quit [Ping timeout: 265 seconds]
<bahamas> KarlJoad: you can import a nix file inside nix repl, if that helps
<bahamas> `import ./path/to/default.nix`
zupo has joined #nixos
alexherbo2 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
knupfer has joined #nixos
arahael1 is now known as Arahael
orivej has joined #nixos
magnetophon has quit [Ping timeout: 265 seconds]
eoli3n_ has joined #nixos
lsix has joined #nixos
amohan has quit [Ping timeout: 265 seconds]
cosimone has joined #nixos
andymandias has quit [Ping timeout: 246 seconds]
gokkun has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @danieldk merged pull request #91397 → just: 0.5.11 -> 0.6.0 → https://git.io/JfpVD
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/Jfpiz
jboy has quit [Quit: bye]
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #nixos
amohan has joined #nixos
bahamas has quit [Ping timeout: 260 seconds]
lsix has quit [Ping timeout: 272 seconds]
Izorkin_ has joined #nixos
<hyper_ch_> Taneb: depends on how your pool is setup
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
agsdheidjd has joined #nixos
Izorkin has quit [Ping timeout: 260 seconds]
Izorkin_ is now known as Izorkin
gxt has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
Havvy has joined #nixos
<evax> how is the overlay output of flakes meant to be used?
<{^_^}> [nixpkgs] @timstott opened pull request #91400 → aws-okta: 0.26.3 -> 1.0.2 → https://git.io/JfpPd
tudorr has quit [Quit: ZNC 1.7.5 - https://znc.in]
KarlJoad has quit [Quit: Konversation terminated!]
metasyntactic has joined #nixos
KarlJoad has joined #nixos
tv has joined #nixos
tudorr has joined #nixos
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<metasyntactic> Does anyone know why I see a ton of messages like the following in my journald? I've been searching around through code and can't figure out what's causing all of the mounting behavior: run-docker-runtime\x2drunc-moby-5fb3bc2071eef752dd6adf645570811de6b538d1972dd68ba74cdc6ddcd093c0-runc.0BOB8I.mount: Succeeded.
agsdheidjd has quit [Ping timeout: 240 seconds]
pingiun has joined #nixos
<pingiun> zfs tells my that my rpool is degraded, with errors found in the /nix directory. is there a way to rewrite these files?
<pingiun> I'm thinking it might be that I got a bad ssd, but I want to try for a bit more to check if it was a fluke
<Arahael> ssd's usually die quite quickly.
<pingiun> it's brand new :p
<pingiun> wd green m.2
tudorr has quit [Quit: ZNC 1.7.5 - https://znc.in]
<Arahael> wd green? What's the green intended for?
<xwvvvvwx> pingiun: maybe try `nix-store --repair-path <store_path>`
<pingiun> Arahael: I believe it's just cheap or something
<Arahael> pingiun: Ah, fair enough.
fendor has quit [Remote host closed the connection]
<philipp[m]> Somebody here with mod rights in #nixos-chat? Please take a peek over and ban the troll.
<pingiun> xwvvvvwx: thanks for that, is there also a way to refresh links in /nix/store/.links?
tudorr has joined #nixos
<KarlJoad> I have added the nixos-unstable channel to my nix path using `nix.nixPath`, however, when I try to install a package with environment.systemPackages = [ <unstable>.mu ] I get error: value is a path while a set was expected. How do I handle this?
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/390742eb138 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @romildo opened pull request #91401 → qogir-icon-theme: 2020-02-21 -> 2020-06-22 → https://git.io/JfpXH
<pingiun> <unstable> is just the path to the unstable nix expression, to use it you should call it. i.e. (import <unstable>) {}
<pingiun> iirc
<pingiun> KarlJoad:
<KarlJoad> pingiun: Gotcha. Is there any way to make my unstable channel behave similarly to my stable channel, where all I need to say is environment.systemPackages = [ pkgs.program ], without the (import <unstable>) { config = config.nixpkgs.config }?
<pingiun> yeah, you can use overlays for that
<pingiun> I'll post a snippet of my config, (which I got from someone else in this irc)
agsdheidjd has joined #nixos
<txt-file> I want to install nvidiaLegacy340 but it fails to build with "Permission denied" https://paste.debian.net/1153624/
<{^_^}> [nixpkgs] @danieldk merged pull request #91159 → mp4v2: 2.0.0 -> 4.1.3 → https://git.io/Jfbim
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/Jfp1U
<pingiun> then you can use pkgs.nixos-unstable.program
<pingiun> or whatever you rename nixos-unstable
<pingiun> so just put that overlay anywhere within your config and you can use it everywhere super easy
<KarlJoad> PERFECT! Just 1 question, you seem to be missing a parentheses. Is that intentional?
<pingiun> nah was an error
<pingiun> because I copied it from a larger config
<KarlJoad> Ok, just a parentheses to close the list then?
<pingiun> yep just close everything
<xwvvvvwx> pingiun: no idea sorry :( I'd never heard of /nix/store/.links before tbh :D
<metasyntactic> Does anyone have any idea what these are?: run-docker-runtime\x2drunc-moby-5fb3bc2071eef752dd6adf645570811de6b538d1972dd68ba74cdc6ddcd093c0-runc.0BOB8I.mount: Succeeded.
<pingiun> xwvvvvwx: seems like I need to do a reinstall probably
<pingiun> which is not that hard because it's nixos :D
<pingiun> metasyntactic: seems like it's a docker volume
<xwvvvvwx> pingiun: what does /nix/store/.links contain normally out of curiosity? It's empty on my system.
<KarlJoad> pingiun: That works perfectly! Thanks!
<pingiun> xwvvvvwx: it contains lots of hashes, some linking to nix store files
<KarlJoad> pingiun: I have /nix/store/.links on my system. I have no idea what it does though..
<{^_^}> [nixpkgs] @danieldk opened pull request #91402 → [20.03] mp4v2: 2.0.0 -> 4.1.3 → https://git.io/Jfp18
itshaydendev has joined #nixos
<itshaydendev> Hey again
amohan is now known as aruniiird
<itshaydendev> Anyone in here got bspwm knowledge? Still having the issue with my config not updating
<pingiun> xwvvvvwx: it's used for nix-store --optimize
<pingiun> so that makes sense
<xwvvvvwx> ah right yes that does make sense
<itshaydendev> (that reminds me -- I need to run that lol)
<pingiun> I think I read somewhere that many hard links can cause trouble
<pingiun> so maybe I should deoptimise
tudorr has quit [Quit: ZNC 1.7.5 - https://znc.in]
<pingiun> itshaydendev: you can automate it! nix.optimise.automatic = true;
<itshaydendev> Oh damn
<itshaydendev> When does it run?
<itshaydendev> Because my machine is a laptop, so it's not on all the time
gungoman has joined #nixos
<KarlJoad> itshaydendev: It runs as a systemd service, so you can specify times to run. It has some default times though too.
<itshaydendev> Yknow it might just be easier to manually run every few days
<KarlJoad> You also mentioned that you're on a laptop, so you can add a systemd configuration to that unit to ensure it does it only on AC power.
<pingiun> itshaydendev: default seems to be 03:45
<itshaydendev> "574.78 MiB freed by hard-linking 112228 files"
<itshaydendev> peepohappy
<pingiun> which I believe is every day at that time
<itshaydendev> KarlJoad: Oh, that's cool
<KarlJoad> pingiun: How can that happen?
<pingiun> KarlJoad: what do you mean?
tudorr has joined #nixos
<KarlJoad> itshaydendev: `systemd.services.nix-optimise.unitConfig.ConditionACPower = true`
kiwiirc was banned on #nixos by gchristensen [*!68c88135@gateway/web/cgi-irc/kiwiirc.com/ip.104.200.129.53]
kiwiirc has left #nixos [requested by gchristensen (kiwiirc)]
<itshaydendev> Anyone know why I might be having problems with bspwm's `configFile` option in nixpkgs seemingly having a cache of some sorts?
orivej has quit [Ping timeout: 265 seconds]
<KarlJoad> pingiun: "many hard links can cause trouble". How can a hardlink cause troubles?
orivej has joined #nixos
<pingiun> KarlJoad: I can't remember lol. just that I had seen that somewhere
<KarlJoad> Ok, because, in my mind, that doesn't quite make sense to me.
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<pingiun> I think I remember it having to do with exotic file systems
<pingiun> but the problem is I don't remember if that was zfs, and I cannot find it in a google search now
<pingiun> so Il
<pingiun> so I'll just disregard that knowledge
derek_betak has joined #nixos
<pingiun> and I'll just order a new ssd because zfs keeps complaining about checksum errors
<KarlJoad> With ZFS, it might be something to do with snapshots, and the way those are handled.
jboy has joined #nixos
metasyntactic has quit [Remote host closed the connection]
<itshaydendev> Anyone?
<pingiun> KarlJoad: I found the thing I was thinking about: "Using NixOS on a ZFS root file system might result in the boot error external pointer tables not supported when the number of hardlinks in the nix store gets very high."
<pingiun> itshaydendev: are you restarting bspwm in between config changes?
<itshaydendev> Yeah. Even tried rebooting
<itshaydendev> The thing is, I looked in htop at what the arguments were, found the config file it was loading, and looked in.
<pingiun> itshaydendev: you can always look at the source of the module to see if there's something weird
<itshaydendev> It *has* my changes
<pingiun> hmm
<pingiun> itshaydendev: does bspwm have some config validation? maybe your config is invalid and it defaults to something
<KarlJoad> pingiun: That's an incredibly weird "bug". Interesting!
<pingiun> KarlJoad: yeah for sure, but it wasn't happening in my case as I have /boot on an efi partition
<itshaydendev> pingiun: The thing is, that's not the case. BSPWM is configured via an rc file and the `bspc` command. So for example, `bspc config window_gap 12`. If I run the config I changed manually from a terminal, it goes through ok
<KarlJoad> pingiun: I wonder what really causes that problem. It seems weird to me that having too many hardlinks causes a problem in a pointer table.
<pingiun> itshaydendev: it could be that you're using some commands in the rc file that are not available in the PATH at that point, but are available when you execute it manually
<itshaydendev> the commands are fine. it's only a *change* to the config that fails
<itshaydendev> the config loaded is the one that I was using when I set up my bspwmrc from before
<itshaydendev> it was working then
<pingiun> well that's really weird
<itshaydendev> it still is but it isn't taking any changes i make
<pingiun> but I don't think I can help any further, I don't use bspwm myself
<itshaydendev> i dont suppose just disabling services.xserver.windowManager.bspwm, rebuilding, adding it and rebuilding again would help would it?
<pingiun> don't think so
<pingiun> you could try
<pingiun> maybe gc inbetween
<itshaydendev> so remove, rebuild, gc, add, rebuild?
<KarlJoad> itshaydendev: What are you trying to change?
<itshaydendev> KarlJoad: The names of some of my workspaces, there were typos
proofofkeags has joined #nixos
<itshaydendev> And add my polybar launch script but that wouldn't halt execution because it's called *after* the workspace calls
bahamas has joined #nixos
<pingiun> itshaydendev: yeah I think that way you can be sure that the old config is removed
inkbottle has joined #nixos
<itshaydendev> pingiun: the thing is, the file that bspwm is being launched with *has* my changes
<pingiun> that's true
<pingiun> so probably it won't help at all
<pingiun> can you send the config?
<itshaydendev> yep. it's on my github, lemme grab the link
<itshaydendev> actually, need to update it first one sec
<Taneb> Upgraded a server at work from NixOS 18.09 to 20.03 :D
gungoman has quit [Ping timeout: 265 seconds]
zebrag has quit [Ping timeout: 256 seconds]
<itshaydendev> BSPWM *inclusion* is in modules/x/bspwm.nix
<itshaydendev> BSPWM *config* is in home/.config/bspwm/bspwmrc
<itshaydendev> And the module import for the inclusion is in hosts/itshaydenlpt.nix
uwap has quit [Quit: ZNC 1.8.0 - https://znc.in]
<pingiun> "If null, $HOME/.config/bspwm/bspwmrc will be used."
<pingiun> so can't you just
<pingiun> leave it null?
proofofkeags has quit [Ping timeout: 240 seconds]
<itshaydendev> no, you misunderstand -- when i say "home", i mean the folder called home in the repo
uwap has joined #nixos
<itshaydendev> i use that so my personal, more private changes are separate from the rest
<pingiun> oh of course
<pingiun> that makes sense
bahamas has quit [Ping timeout: 240 seconds]
<itshaydendev> yeye
<pingiun> and the last thing you changed was the addition of polybar/launch.sh?
turbo_MaCk has joined #nixos
<itshaydendev> that and fehbg
<pingiun> I think the problem must be with PATH not being what you expect
<itshaydendev> but that top command that changes workspaces also doesnt run
<pingiun> because bspwm is started with a very limited path
<pingiun> and running the rc file keeps the limited PATH probably
<itshaydendev> "bspc monitor -d dv1 dv2 dv3 sys ct1 ww1 ww2 ct2 mus msc" doesn't run either though
<pingiun> but does it run when you remove the .sh inclusions from the bottom?
<KarlJoad> Do any of the `bspc` commands run?
<asymmetric> does anyone want to merge this fonts PR? https://github.com/NixOS/nixpkgs/pull/88533
<{^_^}> #88533 (by rileyinman, 4 weeks ago, open): iosevka, iosevka-bin: 2.3.3 -> 3.2.2
<itshaydendev> KarlJoad: initially, yes. not after changes
<pingiun> I think it will be good to narrow down the problem, so checking if it works without the .sh file execution seems smart
<itshaydendev> ok
<KarlJoad> Double check the shebang at the top. You /bin/sh doesn't really exist. Try to use ${pkgs.sh} or something like that. That might be causing some issues too.
derek_betak has quit [Quit: derek_betak]
<pingiun> KarlJoad: /bin/sh should just exist though
<itshaydendev> /bin/sh does exist tho ._.
<pingiun> in fact it's the only thing in /bin
<itshaydendev> Oh, i see what you mean
<itshaydendev> It's a symlink
<pingiun> I don't think the problem lies there
<pingiun> and using ${pkgs.sh} makes this a factor more difficult
<pingiun> because you're including the whole file and not doing any string interpolation in it atm
<KarlJoad> yeah, I doubt it too, but I'd like to eliminate that as a possibility. If it still doesn't work, then it can be changed back.
<pingiun> KarlJoad: but first remove the polybar and fehbg .sh files to check if it's a PATH issue
<itshaydendev> Okay
<KarlJoad> I don't use BSPWM, so I'm making some guesses as to what might be wrong. It feels like a path issue though. If only the scripts, and only the first line of the bspwmrc file are not loading, then it feels like a path issue.
itshaydendev has quit [Quit: itshaydendev]
itshaydendev has joined #nixos
<itshaydendev> No dice
<itshaydendev> removing didnt work
<pingiun> :(
<pingiun> what is dunst?
<itshaydendev> notification daemon
<itshaydendev> i removed that too
crazazy has joined #nixos
<itshaydendev> i get the feeling this might actually be a case of bspwm not reading the config at all
<pingiun> itshaydendev: so that would support the case of the config file containing some errors
<pingiun> doesn't bspwm log those anywhere?
<pingiun> in the journal?
<itshaydendev> not that ive been able to find
alp has quit [Ping timeout: 272 seconds]
<pingiun> what happens if you execute the file yourself with an empty path?
<pingiun> or limited PATH
<itshaydendev> How would I emulate that?
<pingiun> you can check what a limited path looks like by checking a systemd unit with `systemctl cat nix-optimise.service` (for example)
<pingiun> then `PATH=blabla /location-of-rc-file`
Chiliparrot has joined #nixos
<betaboon> flokli: around? i just noticed that #50925 has been closed as it is supposed to successfully crosscompile now. that seems to be true for aarch64 but not for armv7l. would you be able to try building it for armv7l just to get a 2nd confirmation that it is still broken ?
<{^_^}> https://github.com/NixOS/nixpkgs/issues/50925 (by eburimu, 1 year ago, closed): btrfs-progs doesn't cross compile
<itshaydendev> Uhhhhh...
<itshaydendev> Okay...
<itshaydendev> The config file doesn't exist
<flokli> betaboon: I build for armv7l
<pingiun> itshaydendev: it's empty or it doesn't exist?
<flokli> Ah, but I don't build btrfs-progs anymore
<itshaydendev> Doesn't exist
<itshaydendev> It's calling config on a file that doesn't exist
<pingiun> that's really weird
<pingiun> because nix store paths are dependencies
<pingiun> so nix should make sure it exists
<flokli> betaboon: as the whole "generate sdcard" toolchain is currently somewhat hardwired to build a FIRMWARE vfat and a NIXOS_SD with ext4
<itshaydendev> It's in a file starting with 281 in the nix store... But there aren't any files starting 281 in my nix store
itshaydendev has quit [Quit: itshaydendev]
itshaydendev has joined #nixos
<pingiun> maybe it's a good idea to remove the module, gc, and add the module again in that case
<itshaydendev> Could this be lightdm's fault?
taylskid has joined #nixos
<taylskid> .
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pingiun> itshaydendev: nix dependencies don't suddenly vanish from the store
<pingiun> nix always makes sure that it exists
<itshaydendev> No, I'm saying could this be lightdm not getting the updated file path
<flokli> betaboon: I disabled udisks2 and polkit on that machine, I think udisks2 pulled in btrfs-progs. I kicked off cross-builds for btrfs-progs on armv7l and aarch64 and will report back
<pingiun> itshaydendev: you can check that with systemctl status lightdm maybe
<itshaydendev> Unit lightdm.service could not be found.
<betaboon> flokli: i am building against 536aad5776fd58a4576e482667ee4a6efc5b0c5d (trying to finish that docker cross-compile PR) and just noticed it still fails for btrfs-progs. just to clarify what I'm running: `nix-build https://github.com/NixOS/nixpkgs/archive/536aad5776fd58a4576e482667ee4a6efc5b0c5d.tar.gz -A pkgsCross.armv7l-hf-multiplatform.btrfs-progs`
<itshaydendev> Ah, it's display-manager
<flokli> the attribute sounds correct. currently building with nixpkgs d8d19f249793966d1cce391d54203cc717764e63 (current master)
<itshaydendev> Right... that's just calling xsession.
<pingiun> itshaydendev: yeah I was just guessing, I don't run nixos with a display
<crazazy> https://hydra.nixos.org/build/122701057 says that racket failed building, however i seem to be able to build it from source on my computer when i called it as a dependency
<stoile> 7~
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @jansol closed pull request #85721 → xow: actually launch when enabled → https://git.io/JfkGD
<betaboon> flokli: ok. so thats the only difference right now. the mentioned commit is where i forked my branch this morning. gonna rebase and try again. just so we're on the same commit :D
<flokli> betaboon: nah, all good. It's enough if I burn my CPU cores :-D
<flokli> I confirmed it
<itshaydendev> Ah!
rajivr has joined #nixos
<itshaydendev> it's not using the updated xsession!
<betaboon> flokli: thanks for confirming and documenting in #50925
<{^_^}> https://github.com/NixOS/nixpkgs/issues/50925 (by eburimu, 1 year ago, open): pkgsCross.armv7l-hf-multiplatform.btrfs-progs fails to build
<itshaydendev> Lightdm is running a cached version of it from what I can see here
<asymmetric> can someone explain the difference between `buildInputs = [ foo ]`, and `wrapProgram --prefix PATH ${foo}/bin/foo`?
<flokli> betaboon: no worries :-)
zupo has joined #nixos
<immae> asymmetric: buildInputs also sets include paths for gcc and other things
orivej has quit [Ping timeout: 246 seconds]
<asymmetric> immae: but buildInputs does not manipulate `PATH`, right? so how is the package available at runtime?
<immae> I think it does
orivej has joined #nixos
<immae> I’m looking at https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh which is where I expect it to be defined but I may look at the wrong place
<Arahael> Has anyone tried nix on the latest macos yet?
codygman has quit [Read error: Connection reset by peer]
<Arahael> I'm wondering if native docker could be a way to run nix.
crazazy has quit [Remote host closed the connection]
codygman has joined #nixos
<symphorien> asymmetric: it does not influence runtime through a wrapper but through patchShebangs iirc
lsix has joined #nixos
Negher has quit [Quit: Leaving ...]
<immae> asymmetric: ah yes it’s in the file, around line 466 the _PATH variable is filled-in with buildInputs, and then later PATH is set to that variable
<immae> Oh I misread "runtime"
Negher has joined #nixos
o1lo01ol1o has joined #nixos
zupo has quit [Client Quit]
<asymmetric> yeah it def doesn't use a wrapper to set PATH
<asymmetric> symphorien: patchShebangs only pins a specific interpreter, right? or does it also handle environment?
<pingiun> itshaydendev: you got it working?
<pingiun> Arahael: do you mean on big sur? I have it working on mojave
<symphorien> No it does not do environment. But there is no implicit wrapping with stdenv.mkDerivation
<xwvvvvwx> asymmetric: I think buildInputs is used as the set of potential runtime deps, and the actual runtimes deps are the buildInputs whose hash is found in the derivation output somewhere
<Arahael> pingiun: Yes, Big Sur, after the disappointments in Catalina.
<pingiun> Arahael: did they actually announce native docker for big sur though? I didn't hear that
<Arahael> pingiun: They announced that they'll "work on it, maybe in the next... 3 or 6 months" or something like that, I believe.
<Arahael> Work with docker, that is.
<Arahael> If it happens, I think it'd potentially be wonderful for nix.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<pingiun> Arahael: I don't think they were talking about native docker
<pingiun> just docker with virtualization (as it's running now)
<Arahael> pingiun: Hmm, that's unfortunate, if true. :(
<pingiun> Arahael: I can't find mention of native docker anywhere
<pingiun> and I don't think it would work anywhere like native docker on linux
<Arahael> pingiun: I remember hearing about it from their State of the Union.
<pingiun> just like with "native" docker on windows
<Arahael> Oh, it's not native on windows, either?
<pingiun> docker on windows only runs windows containers I believe
<pingiun> or alternatively it can work with WSL2
<{^_^}> [nixpkgs] @jansol opened pull request #91403 → xow: 0.4 -> 0.5 → https://git.io/Jfpyl
<Arahael> It can either run windows, or linux containers. (But not both simultaniously)
tudorr has quit [Quit: ZNC 1.7.5 - https://znc.in]
ardumont has quit [Ping timeout: 260 seconds]
xwvvvvwx has joined #nixos
o1lo01ol1o has joined #nixos
turbo_MaCk has quit [Quit: WeeChat 2.8]
__monty__ has quit [Quit: leaving]
<asymmetric> xwvvvvwx: hmm, but wrapProgram works (by correctly patching the PATH) even if a dep is not declared in buildInputs.. so i'm not clear on why the list of potential runtime deps is needed in the first place
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to master: https://git.io/JfpyM
<xwvvvvwx> asymmetric: I guess you use wrapProgram if the automatic runtime dep detection fails for some reason?
<xwvvvvwx> Or maybe I wrong, the more I think about it the more confused I get haha
ardumont has joined #nixos
alp has joined #nixos
oida has quit [Ping timeout: 240 seconds]
alp has quit [Client Quit]
orivej has quit [Quit: No Ping reply in 180 seconds.]
fpob has joined #nixos
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #91333 → progress: 0.14 -> 0.15 → https://git.io/Jfx4q
orivej has joined #nixos
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JfpSU
zupo has joined #nixos
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.mirage-runtime: 3.7.7 → 3.8.0 »: https://git.io/JfpSm
meh` has quit [Ping timeout: 246 seconds]
rootatarch has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #91404 → fbmenugen: 2020-05-20 -> 0.85 → https://git.io/JfpSu
<symphorien> asymmetric: it's required for the c compiler to detect libraries and
<symphorien> for things which have a setul hook
knupfer1 is now known as knupfer
<{^_^}> [nixpkgs] @jojosch opened pull request #91405 → dbeaver: 7.1.0 -> 7.1.1 → https://git.io/JfpS6
orivej has quit [Read error: Connection reset by peer]
orivej has joined #nixos
<WIIIHEIIM> Hi, I once again seek your help, I'm trying to compile a rust project within a nix-shell but I got an error saying `No such file or directory` while the file does really exist, the path is correct (in relative or absolute) in the source code but I keep crashing, is it possible it's due to how nix-shell/nixos works? On other OS like Manjaro it seems
<WIIIHEIIM> fine.
agsdheidjd has left #nixos [#nixos]
oida has joined #nixos
<pie_> can give more details about the context of the error and maybe paste a shell backlog? WIIIHEIIM
Rusty1 has joined #nixos
aruniiird has quit [Ping timeout: 260 seconds]
lordcirth has joined #nixos
<WIIIHEIIM> Yes of course, I'm compiling anki in order to update the nixpkgs and so I got an weird error stating `thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/tale/anki-2.1.22/rslib/build.rs:127:5`
<WIIIHEIIM> And when looking where the function crashes I see nothing weird, it's looking for an existing file
<WIIIHEIIM> The line where it crash correspond to: prost_build::compile_protos(&["../proto/backend.proto"], &["../proto"]).unwrap(); but ../proto/backend.proto really exists
<WIIIHEIIM> Sorry I forgot to put some backtip to make it cleaner
<WIIIHEIIM> I'm not really familiar with Rust but since it compile without issue on other OS I'm thinking it may be related to nixos/nix-shell
dsg has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @neonfuz opened pull request #91406 → yaxg: Removed unstable from name → https://git.io/Jfp9x
cosimone has joined #nixos
meh` has joined #nixos
<asymmetric> symphorien: ah, yes that makes sense
hoverbear has joined #nixos
aruniiird has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
<AmandaC_> I'm getting this when trying to build hydra on my server: https://gitlab.darkdna.net/amanda/nix/snippets/100 -- I'm not seeing anything about it in the various projects, so I'm not sure if this is just a new issue, or soemthing I caused somehow?
drakonis_ has joined #nixos
<WIIIHEIIM> pie_ I fixed it, it's related to https://github.com/danburkert/prost/issues/305, so it wasn't really about path, the error message was just misleading, thanks tho
<{^_^}> danburkert/prost#305 (by Baughn, 9 weeks ago, closed): prost-build doesn't allow build.rs to override protoc
Flakebi has quit [Read error: Connection reset by peer]
dsg has joined #nixos
Seebi has joined #nixos
drakonis has joined #nixos
<itshaydendev> Can someone help me out? I'm incredibly confused here
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/b3dcc2bfead (from 22 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
meh` has quit [Remote host closed the connection]
drakonis_ has quit [Ping timeout: 265 seconds]
<itshaydendev> I've got this configuration for lightdm for bspwm, and the session config for bspwm is pointing at an xsession file
<itshaydendev> In that file, it uses the correct config
<itshaydendev> But it's not using that config in the boot args
<itshaydendev> It's like lightdm is caching configs?
cfricke has quit [Quit: WeeChat 2.8]
proofofkeags has joined #nixos
gustavderdrache has joined #nixos
spacekookie has quit [Quit: **aggressive swooshing**]
drakonis_ has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
spacekookie has joined #nixos
<{^_^}> [hydra] @basvandijk opened pull request #788 → updateDeclarativeJobset: only set the emailresponsible column when defined → https://git.io/JfpQW
spacekookie has quit [Client Quit]
spacekookie has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
<srhb> AmandaC_: Is that hydra-unstable?
<AmandaC_> srhb: I don't believe so? I
<AmandaC_> 'm on nixos-unstable, though
<srhb> AmandaC_: How did you try to build hydra?
itshaydendev has quit [Remote host closed the connection]
<srhb> AmandaC_: Ah, yes, I see, I just bumped unstable and I get the same error. Looks like the nix version is incompatible with it indeed.
<AmandaC_> srhb: it;s being built as pasrt of the `services.hydra` options of nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<duairc> Has anyone ever come across "error: value is a string while a set was expected, at [..]/lib/modules.nix:266:25" when trying to do stuff with NixOS submodules?
zupo has joined #nixos
<srhb> AmandaC_: (So to clarify, yes, it's a new issue, not just you, and probably caused by b505bf202b0c23e3bd22d2555d79d6fbb2fa498c)
dermetfan has quit [Ping timeout: 272 seconds]
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 258 seconds]
Mateon2 is now known as Mateon1
rootatarch has quit [Changing host]
rootatarch has joined #nixos
rootatarch has joined #nixos
rootatarch has quit [Changing host]
<{^_^}> [nixpkgs] @mweinelt opened pull request #91408 → [20.03] curl: 7-68.0 -> 7.70.0; apply patches for CVE-2020-8169 and CVE-2020-8177 → https://git.io/Jfp7a
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<pbogdan> any ideas why I'm getting this error https://gist.github.com/pbogdan/f54f60f7b57ae099883b4bf3c9bfb593 when trying to update to latest unstable?
<pbogdan> seems to be related to home manager's manual; and the path is actually referenced by some old generations so I don't quite understand why it's not valid
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
kfound has joined #nixos
zupo has joined #nixos
kfound has quit [Remote host closed the connection]
marsh has joined #nixos
lukebfox has joined #nixos
lukebfox has quit [Remote host closed the connection]
ddellacosta has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
arahael1 has joined #nixos
Arahael has quit [Ping timeout: 264 seconds]
<KarlJoad> pbogdan: To my inexperienced eye, it looks like a derivation for a package that another package depends on is broken.
itshaydendev has joined #nixos
itshaydendev has quit [Client Quit]
mallox has quit [Quit: WeeChat 2.8]
<axx[m]> hey everyone, i'd like to try NixOS out on my rpi4, do i understand correctly that the default `aarch64` image requires me to be able to connect a screen and keyboard to the rpi4 to be able to go through set up?
<axx[m]> i'm looking at doing it headless
boxscape has quit [Quit: Connection closed]
sigmundv_ has quit [Read error: Connection reset by peer]
orivej has quit [Quit: No Ping reply in 180 seconds.]
sigmundv_ has joined #nixos
itshaydendev has joined #nixos
kreyren has quit [Remote host closed the connection]
orivej has joined #nixos
boxscape has joined #nixos
jakobrs has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #85776 → fverb: init at unstable-2020-06-09 → https://git.io/Jfk7v
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Jfpd9
<hoverbear> axx[m]: In theory you could install it to your sdcard and test it with qemu etc before you load it on
<jakobrs> I think I've seen a nixos-specific fork of it somewhere? I couldn't find it.
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fendor has joined #nixos
<jakobrs> ty evils
<jakobrs> and adisbladis too I suppose
cfricke has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #91410 → [20.03] pcre: 8.43 -> 8.44 → https://git.io/JfpFW
itshaydendev has quit [Quit: itshaydendev]
cfricke has quit [Client Quit]
<jakobrs> Is there a way to imperatively setup NAT (non-persistently) without editing configuration.nix?
orivej has quit [Ping timeout: 246 seconds]
ebopp has joined #nixos
<jakobrs> I mean I could do ipconfig with the relevant arguments but I can never remember which
<jakobrs> So I was wondering if there's a standard way to do this
<evax> I'm trying to build a flake to share a set of python and R packages between projects. Ideally it should support both x86_64-linux and x86_64-darwin, but the relation between overlays and systems isn't very clear to me.
orivej has joined #nixos
<adisbladis> Wat, someone else is using that
MtotheM has quit [Ping timeout: 260 seconds]
<pie_> jakobrs: afaik people use iptables
<pie_> there might be other frontends for it, idk if ufw does nat
<pie_> idk if nix has ufw
<pie_> i havent used ufw but i remember it being something maybe worth looking into
<jakobrs> It seems like a bad idea to use both nixos's firewall and ufw at the same time
<pie_> otoh maybe im mixing it with something else
<jakobrs> I remember reading through the nixos/nat module and there seemed to be some sort of system
<jakobrs> so presumably there *is* a way to use iptables to do this that's consistent
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<b42> looks like as long as you have networking.nat.enable = false nixos doesn't even touch the nat table
<{^_^}> [nixpkgs] @mweinelt opened pull request #91411 → wordpress: 5.4.1 -> 5.4.2 → https://git.io/Jfpbk
zupo has joined #nixos
<{^_^}> [nixpkgs] @prusnak opened pull request #91412 → protobuf: 3.12.0 -> 3.12.3 → https://git.io/JfpbR
wpcarro_ has joined #nixos
<Raito_Bezarius> is there a way to use a nixos channel on a non-nixos machine?
growpotkin has joined #nixos
<jakobrs> Raito_Bezarius: You can just add it
wpcarro has joined #nixos
<Raito_Bezarius> okay
<jakobrs> nix-channel --add https://nixos.org/channels/nixos-20.03 nixos; nix-channel --update
wpcarro_ has left #nixos [#nixos]
<Raito_Bezarius> does it add nixpkgs?
<jakobrs> It's added as "nixos"
<Raito_Bezarius> okay
<jakobrs> You can change te name: "nix-channel --add <url> <name>", replace <name> with whatever you want to call the channel
<hoverbear> So how can I create a folder hierarchy of several outputs in my `nix build --out-link foo/` location isntead of ending up with `foo` `foo-1`?
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @mweinelt opened pull request #91413 → [20.03] wordpress: 5.3.3 -> 5.3.4 → https://git.io/JfpNt
<jakobrs> ,locate networks/default.xml
<{^_^}> Found in packages: libvirt, libvirt_5_9_0
<Raito_Bezarius> jakobrs: it looks like nixpkgs or nixos is not found anymore once I use nixos-20.03-small
<jakobrs> What does `nix-channel --list` output?
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
o1lo01ol1o has joined #nixos
<pie_> jakobrs: you can also look through how the tables are set up with the iptables dumping commands
<jakobrs> Raito_Bezarius: $ ls ~/.nix-defexpr/channels/
<Raito_Bezarius> jakobrs: moving to nixos-20.03 rather than -small looked like it has fixed the issue
Chiliparrot has joined #nixos
<Raito_Bezarius> jakobrs: manifest.nix nixos
o1lo01ol_ has quit [Ping timeout: 240 seconds]
<jakobrs> If it works now then I don't see a problem
<jakobrs> That is the correct output
o1lo01ol_ has joined #nixos
<Raito_Bezarius> nixos-20.03-small has this output but does not work I think
<Raito_Bezarius> but nixos-20.03 works fine
<jakobrs> Though most people would keep `nixpkgs` as well
<Raito_Bezarius> is it expected?
<jakobrs> Is what expected?
<jakobrs> nixos-20.03-small should work as well; perhaps you just forgot to run `nix-channel --update`
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<Seebi> Hi, is here someone who can merge #82305? It has been tested for a while now
<{^_^}> https://github.com/NixOS/nixpkgs/pull/82305 (by Flakebi, 15 weeks ago, open): amdvlk: init at 2020.Q2.5
alexherbo21 has joined #nixos
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo21 is now known as alexherbo2
dingenskirchen has quit [Quit: dingenskirchen]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7b9448665e4 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<seven-eleven> hi
proofofkeags has joined #nixos
<numkem> I'm looking into integration between nixos and nomad and I was wondering if there was a way to get a closure of some kind built so I could than just start it by invoking systemd directly? It would be in an insolated systemd container
drakonis has joined #nixos
o1lo01ol_ has quit [Remote host closed the connection]
drakonis1 has joined #nixos
cr4y1 has joined #nixos
<seven-eleven> ;declarative
<seven-eleven> ,declarative
<{^_^}> There are multiple ways of managing declarative profiles. 1) Attrset, compatible with imperative use of nix-env https://git.io/fAQHW ; 2) buildEnv, providing more control over the paths that are linked into the profile https://git.io/fp0aU ; 3) home-manager, providing nixos-like config for your ~ https://github.com/rycee/home-manager
drakonis_ has quit [Ping timeout: 258 seconds]
<seven-eleven> the bot {^_^} recommends to write a buildEnv config.nix like this https://git.io/fp0aU is this also compatible to multi user installations, because when I use that config I get following permission error: error: getting status of /home/user/.cache/borg/de6415b3992d82c72aa2f9237e0a5bfd6e75730b7ead7e55804e5978e8d4048a/default.nix: Permission denied
drakonis has quit [Ping timeout: 240 seconds]
tokudan[m] has joined #nixos
<tokudan[m]> numkem: depends on what exactly you want to build. basically you always get a closure when something is built. but what exactly do you need?
drakonis has joined #nixos
jakobrs has left #nixos ["WeeChat 2.7.1"]
<numkem> tokudan[m]: I think what I want is what containerTarball gives, minus the tarball. If it was all in the store that would be preferable
o1lo01ol1o has joined #nixos
<Ankhers> I seem to be having an issue updating nixops from nixpkgs-unstable at the moment. It is complaining that boto3 could not be installed because it could not satisfy the botocore dependency. Is anyone else having this issue?
__monty__ has joined #nixos
drakonis1 has quit [Ping timeout: 258 seconds]
Thra11 has quit [Ping timeout: 260 seconds]
mokulus has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f3241e1b437 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<thefloweringash> Should I expect linux_5_7 to appear in nixos-20.03? I don’t remember the exact backport policy for the kernel
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Seebi> Ankhers: I think this was fixed on master a few days back
noudle has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #91321 → wesnoth: 1.14.12 -> 1.14.13 → https://git.io/JfxkO
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/Jfpxs
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
Thra11 has joined #nixos
kreyren has joined #nixos
noudle has quit []
drakonis1 has joined #nixos
drakonis_ has joined #nixos
nixbitcoin has quit [Remote host closed the connection]
drakonis has quit [Ping timeout: 260 seconds]
<numkem> tokudan[m]: that sounds promissing. But unfortunately it doesn't seems like ti would be as easy as I though as I'd need to somehow make an isolated root since that method has it's own nix store, I'd like to use the system's
<{^_^}> [nixpkgs] @FelschR opened pull request #91416 → brave: 1.8.95 -> 1.10.97 → https://git.io/Jfppm
<{^_^}> [nixpkgs] @vcunat pushed 80 commits to staging-20.03: https://git.io/Jfppr
<{^_^}> [nixpkgs] @vcunat merged pull request #91410 → [20.03] pcre: 8.43 -> 8.44 → https://git.io/JfpFW
<{^_^}> [nixpkgs] @vcunat merged pull request #91408 → [20.03] curl: 7.68.0 -> 7.70.0; apply patches for CVE-2020-8169 and CVE-2020-8177 → https://git.io/Jfp7a
o1lo01ol_ has joined #nixos
<{^_^}> [nixpkgs] @elohmeier opened pull request #91417 → octoprint: freeze werkzeug → https://git.io/JfppF
o1lo01ol1o has quit [Ping timeout: 240 seconds]
camsbury has joined #nixos
codygman has quit [Ping timeout: 265 seconds]
nixbitcoin has joined #nixos
inkOne_ has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
quinn has joined #nixos
knupfer1 is now known as knupfer
proofofkeags has quit [Remote host closed the connection]
camsbury has quit [Remote host closed the connection]
proofofkeags has joined #nixos
camsbury has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
fpob has left #nixos ["Leaving."]
<{^_^}> [nix] @jtojnar opened pull request #3741 → doc: Add prompt elements → https://git.io/JfphS
Seebi has quit [Quit: Leaving]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
dermetfan has joined #nixos
noudle has joined #nixos
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
erasmas has joined #nixos
cosimone has quit [Quit: Quit.]
MtotheM has joined #nixos
<sephii> I'm still struggling with building a derivation for my Python app and its plugin. "A" is the Python application, "B" is the plugin, which is a Python package that depends on "A" (because it uses parts of its library). I've tried creating a default.nix with "A" built with "buildPythonApplication" and "B" with "buildPythonPackage" with "A" in "propagatedBuildInputs", and I thought I could then use "mkDerivation"
<sephii> to create the derivation that would use both of them as "propagatedBuildInputs", but I need to set an "src" to "mkDerivation". I'm really out of ideas here :(
<numkem> tokudan[m]: the tarball brings a good approach and it might be what I need after all, right now I seem to have paths issues so I'm trying to figure that one out. my goal would be to have nomad being able to spawn tasks that would be a nix host definition through an passed expression
<numkem> tokudan[m]: the tarball approach is interesting as it could be a sort of image
<numkem> tokudan[m]:I'm not even sure if it's possible, it's just guess work at this point
D_ has quit [Ping timeout: 260 seconds]
oida has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @svmhdvn opened pull request #91420 → haskellPackages.rdf4h: dontCheck → https://git.io/JfheO
boxscape has quit [Quit: Connection closed]
o1lo01ol1o has joined #nixos
nixbitcoin has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/2cd2e7267e5 (from 34 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
o1lo01ol_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to master « python.pkgs.line_profiler: fix build »: https://git.io/Jfher
user_0x58 has joined #nixos
<axx[m]> found this for headless booting a rpi4 https://rbf.dev/blog/2020/05/custom-nixos-build-for-raspberry-pis/
<axx[m]> which i was asking about earlier
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #91421 → SuperTuxKart: Replaced some bundled libraries with system ones → https://git.io/Jfhe1
o1lo01ol1o has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
<FRidh> sephii: if B needs to import A then it needs to be buildPythonPackage, even though it is an application.
<{^_^}> [nixpkgs] @betaboon opened pull request #91422 → dnsmasq: fix cross-compilation → https://git.io/JfheS
codygman has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
justanotheruser has quit [Ping timeout: 272 seconds]
alp has joined #nixos
D_ has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #91390 → buku: 4.3 -> 4.4 → https://git.io/Jfp4a
<{^_^}> [nixpkgs] @Ma27 pushed 5 commits to master: https://git.io/Jfhej
<{^_^}> [nixpkgs] @FRidh pushed 211 commits to staging-next: https://git.io/JfhvJ
<{^_^}> [nixpkgs] @FRidh pushed 212 commits to staging: https://git.io/JfhvU
<{^_^}> [nixpkgs] @FRidh pushed 1000 commits to python-unstable: https://git.io/JfhvT
<gchristensen> woooo
oida has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 10 commits to python-unstable: https://git.io/Jfhvq
cole-h has joined #nixos
Rusty1 has joined #nixos
justanotheruser has joined #nixos
<betaboon> I'm currently thinkin about how to best integrate gitlab-ci in my teams workflows. We're building docker-containers and sd-card-images for armv7l and aarch64. can anyone point me in the right direction ?
miguel_clean has quit [Ping timeout: 256 seconds]
medvid has quit [Ping timeout: 265 seconds]
dingenskirchen has joined #nixos
<sephii> FRidh: thanks, I think I got it to work
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #91423 → xara: remove → https://git.io/JfhvM
<Raito_Bezarius> is it possible to do pip install -e in a nix-shell?
<Raito_Bezarius> with a python3.withPackages as build input
<Raito_Bezarius> but I don't want to wrap what I'm going to pip install -e
<seven-eleven> does someone have an example to install an application with buildEnv and use an overlay to override a configuration setting
arahael2 has joined #nixos
<{^_^}> [nixpkgs] @i077 opened pull request #91424 → nixos/restic: Add rclone options → https://git.io/JfhvN
arahael1 has quit [Ping timeout: 264 seconds]
noudle has quit []
medvid has joined #nixos
<seven-eleven> is this approach correct? https://dpaste.org/WXB7
<{^_^}> [nixpkgs] @primeos pushed commit from @Atemu to master « gns3-gui: Add the missing qt5Full runtime dependency »: https://git.io/Jfhfk
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed commit from @Atemu to release-20.03 « gns3-gui: Add the missing qt5Full runtime dependency »: https://git.io/JfhfW
st3r4g[m] has joined #nixos
pbb has quit [Remote host closed the connection]
pbb has joined #nixos
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #91425 → WiiUse: Init at 0.15.5 → https://git.io/Jfhfr
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @pstn opened pull request #91426 → (do not merge) gomuks: 0.1.0 -> 0.1.1 → https://git.io/Jfhf6
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a99ceffcb63 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @primeos closed pull request #90631 → Gns3: fix build and crash → https://git.io/Jf56z
gungoman has joined #nixos
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #91392 → chromium: 83.0.4103.106 -> 83.0.4103.116 → https://git.io/JfpR9
<{^_^}> [nixpkgs] @primeos pushed 2 commits to master: https://git.io/JfhJL
mokulus has left #nixos [#nixos]
<{^_^}> [nixpkgs] @primeos opened pull request #91427 → [20.03] chromium: 83.0.4103.106 -> 83.0.4103.116 (backport) → https://git.io/JfhJG
<dminuoso> What's the protocol for new nixos installation images? Is there a release cycle?
<dminuoso> Or are they generated as part of hydra?
MidHotaru has joined #nixos
bennofs has joined #nixos
<simpson> There's a documented release process, there's a release cycle and IIRC the next one will be 20.09, and yes, Hydra builds fresh installation media as part of its NixOS builds.
arahael2 has quit [Ping timeout: 260 seconds]
<dminuoso> Do you have a link handy where that documentation is?
jb55 has quit [Quit: jb55]
<dminuoso> Or I guess what Im wondering rather..
<dminuoso> If I submit a patch to nixos-generate-config now, will I get an updated 20.03 installation image?
<srk> only if it gets backported to release-20.03 branch
bennofs_ has quit [Ping timeout: 264 seconds]
<dminuoso> Fair enough. I suppose with the ease of making my own installation image ,it
<dminuoso> it's not a real big deal anyway
orivej has quit [Quit: No Ping reply in 180 seconds.]
<srk> exactly. depending on breaking potential of the change it should be fine to backport, not sure if there's a policy about backporting installer changes
<srk> installer tests are quite heavy tho :)
arahael2 has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @vulcoes opened pull request #91428 → add ufetch-nixos package → https://git.io/JfhJo
Kaligule has joined #nixos
<dminuoso> Is there any rules about backporting? Like if I did it myself, would it be accepted?
<dminuoso> Or would it be rejected on the basis of "too much work unless the backporting is important"?
knupfer has quit [Read error: Connection reset by peer]
<dminuoso> (Im just probing for general information, my PR is so miniscule and not important right now)
knupfer has joined #nixos
boxscape has joined #nixos
<srk> yes, it's good if you do it yourself, not sure if "too much work unless.." part, depends I guess (more on how intrusive the change is)
<dminuoso> Oh it's just this trivial "add another vendor/device id and load kernel module" of https://github.com/NixOS/nixpkgs/pull/91316
<{^_^}> #91316 (by dminuoso, 1 day ago, open): Support virtio_scsi devices on nixos-generate-config
<{^_^}> [nixpkgs] @nyanloutre opened pull request #91429 → ledger-live-desktop: 2.3.2 -> 2.6.0 → https://git.io/JfhJQ
<srk> sounds good to me backporting wise, best to ask as part of the PR conversation :)
<dminuoso> Alright :)
Kaligule has quit [Ping timeout: 260 seconds]
simba1 has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #90622 → tuijam: init at unstable 2020-06-05 → https://git.io/Jf5V7
<{^_^}> [nixpkgs] @kalbasit pushed to master « tuijam: init at unstable 2020-06-05 (#90622) »: https://git.io/JfhUf
camsbury has quit [Remote host closed the connection]
<evax> is there a way to get `nix shell` to work with nixFlakes? if the defaultPackage is built with mkShell is fails with nobuildPhase
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
nolash has joined #nixos
<nolash> nix-env -q --installed does not show what's installed for my current user in/outside nix-shell?
acarrico has quit [Ping timeout: 256 seconds]
camsbury has joined #nixos
simba1 has quit [Ping timeout: 272 seconds]
o1lo01ol_ has joined #nixos
o1lo01ol1o has quit [Read error: No route to host]
o1lo01ol1o has joined #nixos
<freeman42x[m]> I am trying to fix the lambdabot failed build in nixpkgs. Where can I change the Git SHA it builds for it?
<{^_^}> [nixpkgs] @veprbl merged pull request #91260 → zziplib: convert back to autotools build → https://git.io/JfN1A
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/JfhUS
o1lo01ol_ has quit [Ping timeout: 240 seconds]
mallox has joined #nixos
<{^_^}> [nixpkgs] @squalus opened pull request #91430 → ungoogled-chromium: 81.0.4044.138-1 -> 83.0.4103.106-1 → https://git.io/JfhUF
knerten2 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
o1lo01ol1o has joined #nixos
knerten1 has quit [Ping timeout: 260 seconds]
philr_ has quit [Ping timeout: 264 seconds]
<evax> using symlinkJoin instead of mkShell does the trick
kmein has quit [Ping timeout: 260 seconds]
kmein has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « tdesktop: 2.1.12 -> 2.1.13 »: https://git.io/Jfhkq
miguel_clean has joined #nixos
<taylskid> If I am running Nix 20.03, but I would like to install a package newer than what's available, is there some way to just take the {default,build}.nix from nixpkgs and install it myself with the version updated?
kleisli__ has quit [Ping timeout: 265 seconds]
bahamas has joined #nixos
<energizer> taylskid: make an overlay
bahamas has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
fresheyeball has joined #nixos
<freeman42x[m]> how could I deduplicate this? \z->(sort$map toLower z)==(sort$map toLower w)
mtn has joined #nixos
<mtn> Hey, I'm a bit confused by the docs on configuring ACME for dns validation: https://nixos.org/nixos/manual/index.html#module-security-acme-config-dns
<mtn> What is `/var/db/bin/${name}` here? Also, what's "rfc2136"
<mtn> Oh wait, I see that "rfc2136" is a DNS provider
<mtn> And that should've been ``/var/db/bind/${name}`
<fresheyeball> I saw a think a few weeks ago for people interested in data science in a nix context
<fresheyeball> I thought it was a slack channel, but I can't find it
<fresheyeball> anyone recall data-nix?
<{^_^}> [nixpkgs] @tmplt opened pull request #91432 → nixos/smartd: add option for notifiction email envelope sendor → https://git.io/Jfhka
<energizer> fresheyeball: post the link if you find it
amohan has joined #nixos
<fresheyeball> I cant find it
<mtn> Also interested and think I might've seen something but can't remember, I'll look later too
domogled has joined #nixos
derek_betak has joined #nixos
derek_betak has quit [Client Quit]
<nolash> > nix-env -q --installed does not show what's installed for my current user in/outside nix-shell?
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):318:1
<nolash> well it doesnt it returns nothing
orivej has quit [Ping timeout: 260 seconds]
derek_betak has joined #nixos
derek_betak has quit [Client Quit]
orivej has joined #nixos
<nolash> what i was expecting was return all packages installed on my system, and not query anything on network
derek_betak has joined #nixos
<nolash> is that the wrong expectation?
derek_betak has quit [Client Quit]
aruniiird has quit [Ping timeout: 258 seconds]
domogled has quit [Quit: domogled]
h0m1 has quit [Quit: WeeChat 2.8]
mtn has quit [Remote host closed the connection]
h0m1 has joined #nixos
qolen has joined #nixos
radvendii has quit [Quit: WeeChat 2.8]
codygman has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #91433 → [WIP] Sway 1.5 → https://git.io/JfhIm
codygman has joined #nixos
waleee-cl has joined #nixos
kmein has quit [Ping timeout: 260 seconds]
<{^_^}> [nixos-hardware] @Mic92 merged pull request #175 → dell/xps/13-7390: wifi fixes → https://git.io/JfpfA
<{^_^}> [nixos-hardware] @Mic92 pushed 2 commits to master: https://git.io/JfhIl
kmein has joined #nixos
alp has quit [Ping timeout: 272 seconds]
gungoman has quit [Quit: Konversation terminated!]
knupfer has quit [Quit: knupfer]
<visl> There are a few articles about how to set up Rust on nixos, but i'm wondering is there a way to compile a linux binary against the standard directory structure for distribution using nixos?
seven-eleven has left #nixos ["Leaving"]
<infinisil> visl: nix-bundle works
knupfer has joined #nixos
<visl> cool. thanks
<numkem> what's the proper way to link a configuration.nix prior to building it?
<numkem> *lint
knupfer has quit [Client Quit]
knupfer has joined #nixos
<infinisil> There's no standard way
knupfer has quit [Client Quit]
<infinisil> And there's not even a good linter available
knupfer has joined #nixos
<infinisil> There are nixfmt and nixpkgs-fmt for formatting nix code though
<nolash> nix-env -q --installed returns nothing
<nolash> its to be expected?
agsdheidjd has joined #nixos
<numkem> infinisil: thing is, nixfmt is not there by default, I guess I could just fetch it
zfnmxt has quit [Ping timeout: 246 seconds]
shibboleth has joined #nixos
orivej_ has joined #nixos
amohan is now known as aruniiird
orivej has quit [Ping timeout: 264 seconds]
<infinisil> nolash: It's expected if you have nothing installed in your default user profile yes. It won't show the packages you have installed with NixOS
knupfer has quit [Client Quit]
<infinisil> nolash: That is, it won't show the ones in configuration.nix
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
FRidh has quit [Ping timeout: 256 seconds]
<nolash> infinisil: so far i only know about default.nix and shell.nix ... and using arch nikpkgs setup
knupfer has joined #nixos
<nolash> never heard of configuration.nix so far
<infinisil> nolash: Oh well then I have no idea what you mean with "what i was expecting was return all packages installed on my system"
knupfer has quit [Client Quit]
<ryantm> infinisil: I have an issue with the NixOS module system. Recently a feature got added that checks if an option exists, and this check happens even if that option wouldn't get used because it is guarded by a `mkIf false`. We share a module system for multiple versions of NixOS at the same time, so when a new name for an option is added, we have trouble switching to it, because the new name becomes an error
<ryantm> for the old NixOS versions that don't have that option. I know we could get around this by switching to conditionally imported modules, but I was hoping to avoid that. Do you have any suggestions for how to avoid this issue?
knupfer has joined #nixos
cosimone has joined #nixos
<infinisil> nolash: Nix surely won't know about your arch packages :)
<nolash> infinisil: of course, but I would imagine it would know about SOMETHING and NOTHING was returned
<infinisil> ryantm: Got any more info on that? I'm not sure I know what you mean
<ryantm> infinisil: I'll try to write some minimal example.
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/6460602eec5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @neonfuz closed pull request #91406 → yaxg: Removed unstable from name → https://git.io/Jfp9x
knupfer has quit [Quit: knupfer]
<nolash> infinisil: so dunno if my expectations are wrong but somehow I expected having a nix folder seemingly in a shell context to return "you have there packages installed" when asking
knupfer has joined #nixos
o1lo01ol_ has joined #nixos
<infinisil> nolash: If nix-env -q doesn't return anything, you don't have any packages installed
domogled has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
<nolash> even if eg ls /nix/var/nix/profiles/per-user/lash/channels has content?
<nolash> i dont geddit
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @svmhdvn opened pull request #91435 → haskell: remove obsolete overrides → https://git.io/JfhLW
<infinisil> That's your channels, these aren't any packages you have installed
knupfer has joined #nixos
<infinisil> nix-channel --list will list your channels
<nolash> i know for a fact that i have lots of stuff installed in a nix shell env here
o1lo01ol1o has quit [Ping timeout: 240 seconds]
simba1 has joined #nixos
orivej_ has quit [Ping timeout: 260 seconds]
<infinisil> Oh nix-shell is something different, it's an isolated environment, totally separate from nix-env
<infinisil> nix-shell doesn't install anything permanently
orivej has joined #nixos
lsix has quit [Ping timeout: 260 seconds]
<nolash> ok thats the explanation then
<nolash> thanks infinisil
<nolash> good
<infinisil> :)
<pikajude> hey, i get a permission denied error when i run a nix build with --enforce-determinism on macos
<pikajude> "error: renaming '/nix/store/96w7i4jb5320r073i6gahknzdnkx72hx-nixpkgs-patched' to '/nix/store/96w7i4jb5320r073i6gahknzdnkx72hx-nixpkgs-patched.check': Permission denied"
<pikajude> is this one of those cases where nobody has ever used this feature on macos so it's not expected to work? i hope not
D_ has quit [Ping timeout: 240 seconds]
<pikajude> oh no, it's specifically with run-diff-hook actually
kmein has quit [Ping timeout: 265 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
FRidh has joined #nixos
kmein has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #90712 → ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0+α2 → 4.11.0+α3 → https://git.io/Jfd7F
<{^_^}> [nixpkgs] @vbgl pushed to master « ocaml-ng.ocamlPackages_4_11.ocaml: 4.11.0+α2 → 4.11.0+α3 »: https://git.io/JfhL5
D_ has joined #nixos
nolash has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @c0deaddict opened pull request #91436 → pyton3Packages.pytest-xvfb: 1.2.0 -> 2.0.0 → https://git.io/JfhLd
alp has joined #nixos
user_0x58 has quit [Remote host closed the connection]
user_0x58 has joined #nixos
<taylskid> So I am trying to write an overlay to install a more recent version of a package. I've gotten this far: https://gist.github.com/taylskid/a99cec7d36fde215adaefbb630792167 but now I need `fetchFromGitHub` to get the overridden source. Do I pass that in to the overlay as an arg or what? I'm not really sure.
<cole-h> That would be self.fetchFromGitHub
<cole-h> (Or is it super.fetchFromGitHub?)
tertl3 has joined #nixos
<taylskid> cole-h: I think it might have been super, we're building now :D thank you so much
<energizer> self
<energizer> unless you're overriding fetchFromGitHub
lord| has quit [Ping timeout: 240 seconds]
<cole-h> Yeah, that's what I thought.
lord| has joined #nixos
<taylskid> oh, okay, it just started building when I tried super so I just assumed
domogled has quit [Quit: domogled]
polypus74 has joined #nixos
<energizer> in general, you can start with `self`, and if it gives a recursion error, switch to `super`
<cransom> the handy rule of thumb is, always self, unless it complains about infinite recursion, then switch it to super
<cransom> energizer just that 2seconds ahead of me.
* energizer high-fives cransom
aruniiird has quit [Quit: Leaving]
absoluutely has joined #nixos
alexherbo2 has quit [Quit: The Lounge - https://thelounge.chat]
<taylskid> okay, that is good to know, I will keep that in mind
WIIIHEIIM has quit [Remote host closed the connection]
<taylskid> https://gist.github.com/taylskid/a99cec7d36fde215adaefbb630792167 so now i am here, the package builds in my shell and all that jazz, but it's just the previous version. 0.15.1. When I which the executable, is the "correct" 0.16 package, so I'm seemingly still downloading the wrong thing?
<{^_^}> [nixpkgs] @vbgl opened pull request #91437 → ocamlPackages.camlp5: 7.11 → 7.12 → https://git.io/Jfhq4
<TheSirC[m]> Does anyone has an idea why I can `nix-shell -p v4l2loopback` without an issue but when I try `extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];` it fails miserably ?
<{^_^}> [nixpkgs] @timokau merged pull request #77982 → nixos/sslh: make it possible (and the default) to listen on ipv6, plus regression test → https://git.io/Jvksq
<{^_^}> [nixpkgs] @timokau pushed 3 commits to master: https://git.io/Jfhqr
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @NickHu opened pull request #91438 → nodePackages.purescript-language-server: init at 0.12.9 → https://git.io/Jfhq9
orivej has joined #nixos
<infinisil> TheSirC[m]: Pedantic answer: Different things behave differently, just because two things share a similarity doesn't mean they're they have to share the property of "working" :)
o1lo01ol1o has joined #nixos
ris has joined #nixos
<TheSirC[m]> 🤔 Pedantic but accurate. I can take that
<TheSirC[m]> The question now is "why the difference in behavior then ?" :D
o1lo01ol_ has quit [Ping timeout: 240 seconds]
<taylskid> hmm, what's interesting is that I went to the source directory that nix mentioned when it started the build, and it does appear to be the correct .16 source. So where is the .15.1 code leaking in from?
ebopp has quit [Quit: leaving]
zfnmxt has joined #nixos
o1lo01ol_ has joined #nixos
s1341 has quit [Quit: Connection closed for inactivity]
jbox has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
zfnmxt_ has joined #nixos
zfnmxt has quit [Read error: Connection reset by peer]
pauldaoust has joined #nixos
<infinisil> TheSirC[m]: Well again, even assuming you meant `nix-shell -p linuxPackages.v4l2loopback`, they're still different things. And even assuming config.boot.kernelPackages points to the same linuxPackages as in nix-shell, they're still different things, one just evaluates the package for some binaries, the other adds a kernel module
<pauldaoust> Hello! quick Q that I couldn't find an answer for in the manual -- is there any way to run the new interactive installer in non-interactive mode? Asking because it's part of the CI pipeline for our documentation, whose bash commands ask users to install Nix first (and are stripped out of the markdown and fed to our CI scripts)
<infinisil> TheSirC[m]: If you need help on some problem with one or the other, you need to mention what the problem is
<pauldaoust> (or does it already recognise that there's a non-interactive terminal and just answers 'y' to everything)
<infinisil> Sorry I'm a bit annoying, but I see way too many vague questions being asked here
<TheSirC[m]> You're right I should be more straightforward
<TheSirC[m]> infinisil: Yes I did mean the kernel package.
kreyren has quit [Remote host closed the connection]
<TheSirC[m]> Do not be sorry, it sould be a riddle for you
<TheSirC[m]> I am the one asking for help
<TheSirC[m]> It should not be
cap_sensitive has joined #nixos
<{^_^}> [nixpkgs] @wamserma opened pull request #91439 → gpsbabel: enable usb → https://git.io/Jfhmw
zfnmxt_ is now known as zfnmxt
<TheSirC[m]> ` (that yields the kernel 5.4.33) I get the following error log (https://paste.rs/UID)
<TheSirC[m]> Anyway : by setting the option `boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];` with `kernelPackages = pkgs.linuxPackages_latest;
<evils> TheSirC[m] is trying to load a kernel module provided by linuxPackages.v4l2loopback
<TheSirC[m]> evils: Hey !
<TheSirC[m]> Yeah... Still not a thing
<{^_^}> [nixpkgs] @gebner opened pull request #91440 → uvloop: fix tests on python 3.8 → https://git.io/JfhmD
<infinisil> My suspicion is that that kernel module isn't compatible with the latest kernel
<{^_^}> [nixpkgs] @gebner closed pull request #91417 → octoprint: freeze werkzeug → https://git.io/JfppF
<{^_^}> [nixpkgs] @gebner reopened pull request #91417 → octoprint: freeze werkzeug → https://git.io/JfppF
<infinisil> > linuxPackages.v4l2loopback.meta.homepage
<evils> "should work"
cap_sensitive has quit [Quit: WeeChat 2.7.1]
Thra11 has quit [Ping timeout: 260 seconds]
<TheSirC[m]> infinisil: So...actually it is
jordansinn has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
FRidh has quit [Quit: Konversation terminated!]
<TheSirC[m]> I did the nasty thing of asking `nix-env` to install the package and then copy the ko from the outputed derivation and just `insmod` it... I am ashamed but it works flawlessly (when you do not forget to `modprobe videodev` before)
<{^_^}> [nixpkgs] @krtab opened pull request #91441 → sundials: 5.1.0 -> 5.3.0 → https://git.io/Jfhmb
dansho has joined #nixos
<TheSirC[m]> That's why I was coming to see if they were a better way
shibboleth has quit [Quit: shibboleth]
agsdheidjd has quit [Remote host closed the connection]
agsdheidjd has joined #nixos
jmarhee has joined #nixos
<pauldaoust> hey folks, disregard my question above -- turns out single-user installation is non-interactive, which is sufficient for my needs! Thanks for such an excellent system.
pauldaoust has quit [Remote host closed the connection]
drdee has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 260 seconds]
<infinisil> TheSirC[m]: If you have a nixpkgs version where it's not working (the one for NixOS) and one where it is working (the one from nix-shell), you could bisect the issue
<{^_^}> [nixpkgs] @NickHu opened pull request #91442 → nodePackages.purty: init at 6.2.0 → https://git.io/JfhY3
cyphase has quit [Ping timeout: 264 seconds]
Thra11 has joined #nixos
<TheSirC[m]> infinisil: The question is how do I determine what version is used for NixOS ?
<{^_^}> [nixpkgs] @gebner merged pull request #91440 → uvloop: fix tests on python 3.8 → https://git.io/JfhmD
<{^_^}> [nixpkgs] @gebner pushed 2 commits to master: https://git.io/JfhYz
<infinisil> TheSirC[m]: I think `sudo nix-channel --list` should tell you. And for nix-shell it's probably `nix-channel --list` as your user
orivej has quit [Quit: No Ping reply in 180 seconds.]
<TheSirC[m]> ...there are three channels for each...
<TheSirC[m]> at least (there are actually 4 for the user)
orivej has joined #nixos
<infinisil> Hm okay then just do `sudo nix-instantiate '<nixpkgs/lib>' -A version` and the same without sudo
<{^_^}> [nixpkgs] @jonringer merged pull request #91297 → beancount_docverif: init at 1.0.0 → https://git.io/JfAFT
<{^_^}> [nixpkgs] @jonringer pushed 2 commits to master: https://git.io/JfhY7
<TheSirC[m]> The sudo version sends an error
<TheSirC[m]> The one without too actually
<{^_^}> [nixpkgs] @veprbl pushed to release-20.03 « texlive: fix build for scheme-infraonly »: https://git.io/JfhYA
<infinisil> TheSirC[m]: What about `nix-instantiate '<nixpkgs/lib>' -A version`
<infinisil> Oh
kreyren has joined #nixos
<infinisil> Very weird
<infinisil> What's the output of `nix-info`?
<TheSirC[m]> ``system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.3.3, channels(root): "20.03-20.03.1754.b0e3df2f843, home-manager-19.03", channels(sirc): "home-manager-19.03, nixos-20.03-20.03.2310.fb6c3a6831c, nixos-unstable-20.09pre231796.22a81aa5fc1, nixpkgs-20.09pre230446.a84cbb60f02", nixpkgs: /home/sirc/.nix-defexpr/channels/nixpkgs``
<TheSirC[m]> infinisil: I am pretty sure I broke something; I am pretty good at that
<infinisil> TheSirC[m]: How do you rebuild your system?
<infinisil> Anything special or just nixos-rebuild switch?
<TheSirC[m]> `nixos-rebuild test` (or switch when I am sure I did not break anything)
miguel_clean has quit [Ping timeout: 246 seconds]
halfr[m] has joined #nixos
<infinisil> TheSirC[m]: What's the output of `sudo nix-instantiate --find-file nixpkgs`?
<{^_^}> [nixpkgs] @tesq0 opened pull request #91443 → unityhub: fix editor crashes after opening a project → https://git.io/JfhO2
<infinisil> Because nixos-rebuild should just look at that
qolen has quit [Quit: ZNC 1.7.5 - https://znc.in]
<infinisil> But it seems that nixpkgs/lib doesn't exist..
<infinisil> (and pretty much every nixpkgs should have nixpkgs/lib)
radvendii has joined #nixos
<infinisil> No idea what's up with that
<infinisil> And you're absolutely sure that `sudo nixos-rebuild build` works and nixos-rebuild isn't any wrapper?
radvendii has quit [Client Quit]
<TheSirC[m]> Oupsie, found the issue : no channel called nixos in the sudo
radvendii has joined #nixos
<TheSirC[m]> Now it sends back :
<TheSirC[m]> `error: expression does not evaluate to a derivation (or a set or list of those)`
<infinisil> What does
<TheSirC[m]> Both sudo and non-sudo sends back the same thing
<{^_^}> [nixpkgs] @veprbl merged pull request #91443 → unityhub: fix editor crashes after opening a project → https://git.io/JfhO2
<{^_^}> [nixpkgs] @veprbl pushed commit from @tesq0 to master « unityhub: fix editor crashes after opening a project (#91443) »: https://git.io/JfhOP
<{^_^}> [nixpkgs] @lorenzleutgeb opened pull request #91444 → os-specifix/linux/e1000e: 3.3.5.3 -> 3.8.4 → https://git.io/JfhOX
orivej has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #90087 → pythonPackages.srvlookup: init at 2.0.0 → https://git.io/JfS9B
<{^_^}> [nixpkgs] @jonringer pushed commit from @mmlb to master « pythonPackages.srvlookup: init at 2.0.0 »: https://git.io/JfhOD
<{^_^}> [nix] @edolstra pushed to warn-experimental-features « Warn when experimental features are used »: https://git.io/Jfh3v
miguel_clean has joined #nixos
<{^_^}> [nix] @edolstra opened pull request #3744 → Warn when experimental features are used → https://git.io/Jfh3J
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « postman: 7.24.0 -> 7.26.0 »: https://git.io/Jfh3C
<{^_^}> [nixpkgs] @jonringer merged pull request #91336 → postman: 7.24.0 -> 7.26.0 → https://git.io/JfxBR
knerten1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #85994 → pythonPackages.pycoin: init at 0.90.20200322 → https://git.io/JftUl
<{^_^}> [nixpkgs] @jonringer pushed commit from @nyanloutre to master « pythonPackages.pycoin: init at 0.90.20200322 »: https://git.io/Jfh3R
mallox has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @jonringer merged pull request #91329 → python27Packages.bitstruct: 8.10.0 -> 8.11.0 → https://git.io/JfxCj
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python27Packages.bitstruct: 8.10.0 -> 8.11.0 »: https://git.io/Jfh3r
simba1 has quit [Ping timeout: 260 seconds]
m0rphism has quit [Quit: WeeChat 2.7.1]
knerten2 has quit [Ping timeout: 240 seconds]
cosimone has quit [Read error: Connection reset by peer]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #91445 → nvidia_x11: 2020.06 → https://git.io/Jfh3F
<{^_^}> [nixpkgs] @Ma27 merged pull request #91368 → drawio: 13.2.2 -> 13.3.1 → https://git.io/JfxjV
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfh3p
<{^_^}> [nixpkgs] @Ma27 merged pull request #91357 → hydra-unstable: 2020-06-01 -> 2020-06-23 → https://git.io/Jfx95
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jfhsf
fendor_ has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #91426 → gomuks: 0.1.0 -> 0.1.2 → https://git.io/Jfhf6
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JfhsO
orivej_ has quit [Ping timeout: 240 seconds]
orivej has joined #nixos
fendor has quit [Ping timeout: 260 seconds]
gilligan has quit [Ping timeout: 260 seconds]
gilligan has joined #nixos
asymptotically has quit [Quit: Leaving]
spacekookie has quit [Quit: No Ping reply in 60 seconds.]
spacekookie has joined #nixos
alp has quit [Ping timeout: 272 seconds]
kmplsv has joined #nixos
mtn has joined #nixos
<mtn> How can I use an ACME cert from DNS validation with nginx? Here's the docs on getting that cert: https://nixos.org/nixos/manual/index.html#module-security-acme-config-dns
orivej_ has joined #nixos
blisszs has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « hydra-unstable: 2020-06-01 -> 2020-06-23 »: https://git.io/Jfhsj
orivej has quit [Ping timeout: 240 seconds]
cihancan has joined #nixos
<cihancan> how nixos community react to newbies?
<cihancan> i wanna try it but just for knowing its community which i care most in a linux distributioin
<cihancan> im using gentoo for 12 years but im a very slow learner so i will seek answers for my newbie question at the start
<cihancan> i wanna change my distribution because i sarted to hate gentoo cuommunity lately
<qyliss> I found the NixOS community to be extremely welcoming when I was new to it a few years ago, and I hope it still is
<qyliss> People ask for help in here and receive it all day every day
eoli3n_ has quit [Ping timeout: 264 seconds]
<visl> as someone new to the community this channel has been both friendly and helpful.
<qyliss> You can hopefully see examples of that here: https://logs.nix.samueldr.com/nixos/2020-06-24
<qyliss> (Those are just the channel logs from today)
<cihancan> ah another question i like how gentoo give the freedom of use which branch you want
<cihancan> is nixos lets you do this too?
<qyliss> What do you mean by branch here?
<cihancan> i mean you can mix unstable tree with the stable one
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qyliss> You can do that in NixOS
<cihancan> thats my second priority
<qyliss> It's pretty easy to install most packages from stable, but the occasional one from unstable, all in the same NixOS configuration
<cihancan> always felt stuck to gentoo because of that wish i did my research before
<samueldr> cihancan: 12 years of gentoo makes it most likely that you are mainly a newbie at nix specifics, so you're probalby starting one leg up with your Linux knowledge on hand :)
<blisszs> Hello! I just installed nixos today. One thing that is annoying me is that whenever I install a packages in userland it doesn't seem to show on the desktop environment altough it works if I write the command in the terminal.
<cihancan> im a slow learner
<qyliss> blisszs: how are you installing packages?
<blisszs> It seems that XDG_DATA_DIRS isn't updated, altough it should?
<qyliss> It also might be helpful if you tell us which desktop environment
<blisszs> most recently zathura
<cihancan> thats why im afraid of moving to a new distribution i wanna be able to use my system without problems but i can solve many problems thats what gentoo teach in years
<energizer> qyliss: can you link to how you install those unstable ones?
<qyliss> Isn't zathura a PDF reader?
<blisszs> I am using gnome
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #nixos
<qyliss> How did you install zathura?
<KarlJoad> cihancan: In that case, I would recommend making a VM and trying to tinker with it to see if it fits your needs first.
<KarlJoad> qyliss: Yes, Zathura is a PDF reader.
<blisszs> "nix-env -i zathura-with-plugins" IIRC
agsdheidjd has left #nixos [#nixos]
<qyliss> Have you tried installing it declaratively, in your configuration.nix?
<cihancan> KarlJoad, ok i can another question hows package availability?
<blisszs> That works but I would want something that works on userland
camsbury has quit [Remote host closed the connection]
<qyliss> blisszs: have you tried home-manager?
camsbury has joined #nixos
<qyliss> The reason I'm asking this is that lots of people configure nix-env -i semi-deprecated. It has a bunch of weird quirks and doesn't really get you the full advantage of NixOS.
<blisszs> I heard of it, but it doesn't solve the problem if I need to install a new package on the run :()
<{^_^}> [nixpkgs] @jonringer merged pull request #91441 → sundials: 5.1.0 -> 5.3.0 → https://git.io/Jfhmb
<{^_^}> [nixpkgs] @jonringer pushed commit from @krtab to master « sundials: 5.1.0 -> 5.3.0 »: https://git.io/JfhG4
<blisszs> well maybe it does
<blisszs> I will study it
<blisszs> It's kinda nixos-rebuild but for dotfiles and userland packages right?
<qyliss> cihancan: package availability is very good. Nixpkgs has more packages than any other package collection except the AUR according to https://repology.org/repositories/statistics/total.
<qyliss> It's also pretty easy to add packages if you find something that isn't already available.
julm has quit [Quit: migration shorewall -> nftables]
<qyliss> blisszs: yeah
<{^_^}> [nixpkgs] @jonringer merged pull request #85529 → tmuxPlugins.fingers: init at 1.0.1 → https://git.io/JfUmL
<cihancan> thats what i would love
<{^_^}> [nixpkgs] @jonringer pushed commit from @ceedubs to master « tmuxPlugins.fingers: init at 1.0.1 »: https://git.io/JfhGz
<qyliss> blisszs: I recommend trying to use nix-shell if you need something as a one-off, and home-manager otherwise. If you still have desktop problems with home-manager you're probably more likely to get help, because it's probably more widely used than nix-env -i, especially among more experienced users.
kreyren has quit [Remote host closed the connection]
<cihancan> ok guys thx for answers apreciate it i will give it a shot in vm
kreyren has joined #nixos
Zetagon has quit [Quit: WeeChat 2.8]
<qyliss> good luck cihancan! hope you like it
<cihancan> thx
julm has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #91416 → brave: 1.8.95 -> 1.10.97 → https://git.io/Jfppm
<{^_^}> [nixpkgs] @jonringer pushed commit from @FelschR to master « brave: 1.8.95 -> 1.10.97 »: https://git.io/JfhGo
<KarlJoad> cihancan: Like any other distro, it varies. But, you are very likely to find a package you want. But, there is almost anything you would want.
__monty__ has quit [Quit: leaving]
alp has joined #nixos
fendor_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #91412 → protobuf: 3.12.0 -> 3.12.3 → https://git.io/JfpbR
<{^_^}> [nixpkgs] @jonringer pushed commit from @prusnak to master « protobuf: 3.12.0 -> 3.12.3 »: https://git.io/JfhGS
<cihancan> KarlJoad, im not after aur i just want to be able to basic things with some alternatives in hand so i can change them when problems faced, gentoo have not that big repository too, sure it has overlays but they dont always work and tend to be outdated
<MtotheM> can I not make VM's and Containers with just nix?
justanotheruser has quit [Ping timeout: 265 seconds]
<KarlJoad> cihancan: If you want program alternatives, then you'll very likely be covered. Like always, depending on the program, the number of alternatives may vary.
<KarlJoad> With Nix, you can choose a channel that gives you an expression that builds the package you desired.
<cihancan> i dont do so much complicated things on my computer i think im likely to have no problems about that
<cihancan> if you say so i mean
<{^_^}> [nixpkgs] @jonringer merged pull request #91394 → cadical: enable tests → https://git.io/JfpEI
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « cadical: enable tests »: https://git.io/JfhGp
m0rphism has joined #nixos
<KarlJoad> I only say that because I do not know your workflow, work field, preferred programs, etc. Essentially, because you aren't me, I don't know what you want and what you want out of Nix/NixOS. But, so long as it's not crazy exotic, custom stuff, you'll probably be fine.
gustavderdrache has quit [Quit: Leaving.]
<cihancan> im just scared if i have hard time getting into the new concepts of nixos after 12 years of using the same distribution
tokudan has quit [Remote host closed the connection]
<cihancan> i wanna leave that too much after latest disaster i had with the community
mlvzk[m] has joined #nixos
radvendii has quit [Quit: ZNC 1.7.5 - https://znc.in]
<KarlJoad> NixOS has a large learning curve, correct. It's mostly due to the completely different way it manages things with Nix, nix channels, and system configuration. I'd recommend watching some videos about NixOS and making a VM or 2 before attempting to switch.
tokudan has joined #nixos
cyphase has joined #nixos
<emmanuel`> I've been scouring the internet for what this could mean. What does this "nixpkgs.lib.makeScope nixpkgs.newScope" do?
jordansinn has joined #nixos
blisszs has quit [Ping timeout: 246 seconds]
D_ has quit [Quit: No Ping reply in 180 seconds.]
<{^_^}> [nixpkgs] @prusnak opened pull request #91446 → use latest protobuf (3.12), remove overrides where possible → https://git.io/JfhZW
D_ has joined #nixos
stigo has quit [Remote host closed the connection]
julm has quit [Quit: migration to hardened profile]
justanotheruser has joined #nixos
julm has joined #nixos
pingiun has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mgdm has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
radvendii has joined #nixos
stigo has joined #nixos
orivej has joined #nixos
<{^_^}> [nixos-homepage] @bbcmgdm opened pull request #488 → Remove extra characters → https://git.io/JfhZ9
<gchristensen> bbc, eh
<mgdm> I'm on my work computer and I didn't have my phone to hand so I couldn't log into my non-work github
<gchristensen> no worries :P
<mgdm> if the lawyers want to get antsy for 2 characters, let them :D
<gchristensen> :D
mtn has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @sheeldotme opened pull request #91447 → coc-nvim hardcode nodejs path → https://git.io/JfhZh
<{^_^}> [nixos-homepage] @grahamc merged pull request #488 → Remove extra characters → https://git.io/JfhZ9
<{^_^}> [nixos-homepage] @grahamc pushed 2 commits to master: https://git.io/JfhnI
<jtojnar> emmanuel`: it sets up an attribute set that has its own `callPackage` that makes the attribute set available to the called packages
radvendii has quit [Quit: ZNC 1.7.5 - https://znc.in]
radvendii has joined #nixos
<radvendii> I just set up ZNC. does this work?
<{^_^}> [nixpkgs] @MetaDark opened pull request #91448 → pythonPackages.debugpy: init at 1.0.0b11 → https://git.io/Jfhns
<iwq> that reminds me, I should move my znc setup from ubuntu server to nixos<
<radvendii> it works! woo!
o1lo01ol_ has quit [Remote host closed the connection]
cosimone has quit [Quit: Quit.]
<radvendii> I wound up using acme certificates, which wasn't obvious to set up. Is it worth saying something on the wiki and/or setting up a nix option that will enable acme for znc? (also, is it necessary to set up a website in order to use acme certificates?)
itshaydendev has joined #nixos
<radvendii> not sure if anyone has opinions about this. maybe i should make a github issue
o1lo01ol1o has joined #nixos
itshaydendev has quit [Client Quit]
<cihancan> KarlJoad, ah just watched this https://www.youtube.com/watch?v=QujRHErFG4w ive seen nothing to afraid tomorrow ill do a real install having my system backed up
zupo has joined #nixos
tertl3 has quit [Quit: Connection closed for inactivity]
<iwq> radvendii: why not generate a self-signed certificate?
<radvendii> I tried that, and my irc client wouldn't connect.
fresheyeball has quit [Ping timeout: 265 seconds]
<radvendii> do i have to add it to the system's authorized certificates or something?
<cihancan> KarlJoad, the guy kinda annoying tho :)
<iwq> depends on your client, for weechat I had to use a command to add the certificate
<iwq> what is your client? googling client + znc should give some results, unless it's obscure
polypus74 has quit [Ping timeout: 272 seconds]
fresheyeball has joined #nixos
<radvendii> yeah, it was weechat. but i think i'm going to switch pretty soon
polypus74 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 240 seconds]
smatting has quit [Ping timeout: 264 seconds]
<radvendii> so it sounds like the standard way to do this is self-signed certificates, so I shouldn't advertise acme as a solution on the wiki page?
hoverbear has quit [Quit: Connection closed]
<{^_^}> [nixpkgs] @ericdallo opened pull request #91449 → material-design-icons: 4.7.95 -> 5.3.45 → https://git.io/JfhnD
cihancan has quit [Remote host closed the connection]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 240 seconds]
mbrgm_ is now known as mbrgm
MidHotaru has quit [Quit: Connection closed for inactivity]
<KarlJoad> cihancan: He can be. But, he doesn't exactly give a fair review of it, because he struggled to get it going. I would recommend https://www.youtube.com/watch?v=tl9I-R83lKo https://www.youtube.com/watch?v=DK_iLg2Ekwk and https://www.youtube.com/watch?v=VivXSoovUFI
erasmas has quit [Ping timeout: 246 seconds]
fresheyeball has quit [Ping timeout: 258 seconds]
dermetfan has quit [Ping timeout: 260 seconds]
fresheyeball has joined #nixos
camsbury has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @zowoq opened pull request #91450 → gitAndTools.gh: 0.10.0 -> 0.10.1 → https://git.io/JfhcT
<{^_^}> [nixpkgs] @callahad opened pull request #91451 → typeguard: fix tests → https://git.io/JfhcL
knerten2 has joined #nixos
gustavderdrache has joined #nixos
nikita` has quit [Remote host closed the connection]
knerten1 has quit [Ping timeout: 240 seconds]
absoluutely has quit [Ping timeout: 265 seconds]
kleisli__ has joined #nixos
<KarlJoad> How can I check that a directory exists or not? I do NOT want to make the directory if it does not exist.
whatisRT has joined #nixos
<KarlJoad> Wait, nevermind. Read the documentation too quickly the first time.
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
NeoCron has quit [Ping timeout: 260 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
erasmas has joined #nixos
acarrico has joined #nixos
proofofkeags has quit [Remote host closed the connection]
kenji has quit [Ping timeout: 265 seconds]
astrofog has joined #nixos
erasmas has quit [Ping timeout: 256 seconds]
philr_ has joined #nixos
cr4y1 has quit [Ping timeout: 260 seconds]
proofofkeags has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #nixos
kaliumxyz has quit [Remote host closed the connection]
whatisRT has quit [Ping timeout: 258 seconds]