worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || 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-inf
seanparsons has quit [Quit: ZNC 1.8.1 - https://znc.in]
slack1256 has joined #nixos
seanparsons has joined #nixos
__monty__ has quit [Quit: leaving]
m0rphism1 has quit [Ping timeout: 240 seconds]
meh` has quit [Ping timeout: 240 seconds]
sigmundv has quit [Remote host closed the connection]
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
nhs has quit [Ping timeout: 256 seconds]
nhs has joined #nixos
quinn has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #113140 → wine{Unstable,Staging}: 6.1 -> 6.2 → https://github.com/NixOS/nixpkgs/pull/113140
sigmundv has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #113085 → pdfcpu: 0.3.8 -> 0.3.9 → https://github.com/NixOS/nixpkgs/pull/113085
maddo has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #113160 → cascadia-code: 2009.22 -> 2102.03 → https://github.com/NixOS/nixpkgs/pull/113160
sigmundv has quit [Read error: Connection reset by peer]
nhs has quit [Ping timeout: 265 seconds]
jimmiehansson has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mweinelt opened pull request #113167 → pytestCheckHook: add support for disabling arbitrary paths → https://github.com/NixOS/nixpkgs/pull/113167
tim140123 has joined #nixos
domogled1 has joined #nixos
n-osborne has quit [Remote host closed the connection]
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
nhs has joined #nixos
plumm has quit [Ping timeout: 240 seconds]
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
nhs has quit [Ping timeout: 256 seconds]
zebrag has quit [Quit: Konversation terminated!]
plumm has joined #nixos
zebrag has joined #nixos
Rusty1 has joined #nixos
nhs has joined #nixos
nbathum has quit [Remote host closed the connection]
red[evilred] has joined #nixos
<red[evilred]> I have a curious question
<red[evilred]> when you have a NixOS service for something like say, a minecraft server
<red[evilred]> services.mincraft
<red[evilred]> * services.minecraft
<red[evilred]> even
<red[evilred]> I guess unless the modulle is designed for it, you can't run multiple instances of it?
<SomeoneSerge> RE: debugging flake-based "nix build". Just learned about "nix build -L" and "nix log /nix/store/...". They're totally awesome, but should be discoverable via "nix build --help"
domogled1 has joined #nixos
<infinisil> red[evilred]: Yup
domogled has quit [Ping timeout: 240 seconds]
domogled1 is now known as domogled
<hexa-> nixos-containers would be a workaround
<infinisil> I guess nixos containers is the next best workaround
<infinisil> Hehe
<hexa-> until infinisil comes up with another rfc
<red[evilred]> Unfortunately, nix-containers use cgroups and the java in nixos is broken for cgroups
<red[evilred]> :-/
<infinisil> I do have ideas!
<hexa-> Great!
rb2k has joined #nixos
<red[evilred]> Always happy to bring problems for people to write ideas about?
* red[evilred] looks sheepish
mbrgm_ has joined #nixos
<red[evilred]> apparently what's happening is that cgroups in nix-containers use cgroup v1
<red[evilred]> (even though the host uses v2)
<red[evilred]> and java misdetects cgroup v1 and cgroup v2
<red[evilred]> which causes anything that tries to use it to crash out as it can't read the correct fields
mbrgm has quit [Ping timeout: 264 seconds]
mbrgm_ is now known as mbrgm
nhs has quit [Ping timeout: 272 seconds]
nhs has joined #nixos
mizu_no_oto has joined #nixos
<red[evilred]> I could probably use virtual machines
<red[evilred]> little heavy on resources, but beats the alternatives
<red[evilred]> or...
<red[evilred]> I could just build all my definitions in my configuration.nix and learn how to do these things properly once and for all
<red[evilred]> (crazy - I know)
<red[evilred]> If I want to help NixOS more than I am now, I really do need to get over my irrational fear of some parts of the build system
nhs has quit [Ping timeout: 240 seconds]
Jd007 has joined #nixos
domogled has quit [Ping timeout: 272 seconds]
gustavderdrache has quit [Quit: Leaving.]
nhs has joined #nixos
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tim140123 has quit [Quit: Connection closed]
nhs has quit [Ping timeout: 265 seconds]
marcusr has quit [Remote host closed the connection]
<{^_^}> [patchelf] @neheb opened pull request #262 → clang-tidy fixes → https://github.com/NixOS/patchelf/pull/262
marcusr has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JtPHK
<lunik1> another possible workaround could be to use arion? https://docs.hercules-ci.com/arion/
nhs has joined #nixos
marcusr has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #113168 → libuv: 1.40.0 -> 1.41.0 → https://github.com/NixOS/nixpkgs/pull/113168
marcusr has joined #nixos
<lunik1> idk if docker's container engine will have the same issue
plumm has quit [Ping timeout: 264 seconds]
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
gustavderdrache has joined #nixos
plumm has joined #nixos
kaliumxyz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #113127 → rippled-validator-keys-tool: 20180927-d7774bc → 0.3.2 → https://github.com/NixOS/nixpkgs/pull/113127
inkbottle has joined #nixos
cmk_zzz has quit [Remote host closed the connection]
cole-h has joined #nixos
cmk_zzz has joined #nixos
zebrag has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #113133 → piston-cli: change buildPythonPackage to buildPythonApplication → https://github.com/NixOS/nixpkgs/pull/113133
mkaito has quit [Quit: WeeChat 3.0]
kaliumxyz has joined #nixos
SomeoneSerge has quit [Ping timeout: 240 seconds]
rb2k has joined #nixos
rajivr has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #113169 → libsidplayfp: 2.0.5 -> 2.1.0 → https://github.com/NixOS/nixpkgs/pull/113169
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #113002 → R: fix dylib install_name → https://github.com/NixOS/nixpkgs/pull/113002
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [Client Quit]
aaa_aaa has joined #nixos
aaa_aaa has quit []
orivej has quit [Ping timeout: 246 seconds]
<red[evilred]> lunik1 (IRC): if docker uses cgroups then yes. If there is anotehr way to run docker then maybe not?
<red[evilred]> but most of the bug reports I saw came from docker users
<red[evilred]> (probably because docker is teh most common container management?)
<red[evilred]> In other news - I have to say that that systemd integration was seamless
<red[evilred]> I have to say, I may slowly be becoming a convert
<red[evilred]> (maybe)
orivej has joined #nixos
<{^_^}> [nixpkgs] @happysalada opened pull request #113170 → nodePackages: fix generate.sh failure → https://github.com/NixOS/nixpkgs/pull/113170
jonringer has joined #nixos
Jd007 has quit [Quit: Jd007]
rb2k has joined #nixos
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life has joined #nixos
Jd007 has joined #nixos
<{^_^}> [nixpkgs] @andersk opened pull request #113171 → gnome-session: Fix 2 minute shutdown delay → https://github.com/NixOS/nixpkgs/pull/113171
n-osborne has joined #nixos
n-osborn_ has joined #nixos
n-osborne has quit [Ping timeout: 272 seconds]
LnL has quit [Ping timeout: 264 seconds]
LnL has joined #nixos
h0m1 has quit [Ping timeout: 264 seconds]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
h0m1 has joined #nixos
grawlinson has quit [Quit: SIGTERM]
nhs has quit [Ping timeout: 240 seconds]
grawlinson has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #113128 → racket: 7.9 -> 8.0 → https://github.com/NixOS/nixpkgs/pull/113128
<{^_^}> [nixpkgs] @marsam merged pull request #113168 → libuv: 1.40.0 -> 1.41.0 → https://github.com/NixOS/nixpkgs/pull/113168
nhs has joined #nixos
nhs has quit [Ping timeout: 256 seconds]
nhs has joined #nixos
poscat1 is now known as poscat
Dotz0cat_ has joined #nixos
slack1256 has quit [Remote host closed the connection]
nhs has quit [Ping timeout: 264 seconds]
Dotz0cat has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @orivej-nixos pushed 2 commits to master: https://git.io/JtPd0
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
aw has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #112910 → zfs: 2.0.2 -> 2.0.3 → https://github.com/NixOS/nixpkgs/pull/112910
spacefrogg has joined #nixos
stephank3 has joined #nixos
nhs has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #113173 → zfs: 2.0.2 -> 2.0.3 → https://github.com/NixOS/nixpkgs/pull/113173
stephank has quit [Ping timeout: 256 seconds]
stephank3 is now known as stephank
nhs has quit [Ping timeout: 256 seconds]
pieguy128_ has joined #nixos
nhs has joined #nixos
orivej has quit [Ping timeout: 256 seconds]
pieguy128 has quit [Ping timeout: 265 seconds]
LilleCarl has quit [Ping timeout: 272 seconds]
berberman has quit [Quit: ZNC 1.8.2 - https://znc.in]
berberman has joined #nixos
nhs has quit [Ping timeout: 256 seconds]
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LnL- has joined #nixos
LnL has quit [Ping timeout: 260 seconds]
jmeredith has joined #nixos
plumm has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
bqy has joined #nixos
nhs has joined #nixos
helithumper[m] has joined #nixos
jonringer has quit [Remote host closed the connection]
<bqy> > 1
<{^_^}> 1
nhs has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #113174 → metabase: 0.37.8 -> 0.37.9 → https://github.com/NixOS/nixpkgs/pull/113174
bqy has quit [Remote host closed the connection]
nhs has joined #nixos
nhs has quit [Ping timeout: 240 seconds]
<Gaelan> Dumb question: currently, the NixOS manual recommends MBR for BIOS systems and GPT for EFI. Any good reason we don't recommend GPT for both?
<simpson> Older systems don't recognize GPT.
<{^_^}> [nixpkgs] @jtojnar merged pull request #113171 → gnome-session: Fix 2 minute shutdown delay → https://github.com/NixOS/nixpkgs/pull/113171
riksteri has joined #nixos
rb2k has joined #nixos
<Gaelan> Is there something in the hardware that cares about the partition table? I thought that was GRUB's job.
<simpson> Lucky 10000: The motherboard has to read a sector from the hard drive and load it for the CPU. Traditionally, it was always the first (zeroth?) sector. This is why the MBR and GRUB live at the front of the disk.
blahblah441_ is now known as blahblah441
nhs has joined #nixos
dani- has quit [Read error: Connection reset by peer]
srhb has quit [Read error: Connection reset by peer]
jackdk has quit [Read error: Connection reset by peer]
dani- has joined #nixos
CustosLimen has quit [Ping timeout: 246 seconds]
mgsk has quit [Ping timeout: 240 seconds]
sss2 has quit [Quit: Leaving]
valwal_ has quit [Ping timeout: 265 seconds]
jackdk has joined #nixos
srhb has joined #nixos
jkkm has quit [Read error: Connection reset by peer]
victorbjelkholm has quit [Read error: Connection reset by peer]
joedevivo has quit [Read error: Connection reset by peer]
inkbottle has quit [Quit: Konversation terminated!]
kozowu has quit [Read error: Connection reset by peer]
typetetris has quit [Read error: Connection reset by peer]
valwal_ has joined #nixos
joedevivo has joined #nixos
jkkm has joined #nixos
mgsk has joined #nixos
kozowu has joined #nixos
typetetris has joined #nixos
Supersonic112 has joined #nixos
victorbjelkholm has joined #nixos
CustosLimen has joined #nixos
Supersonic has quit [Ping timeout: 260 seconds]
Supersonic112 is now known as Supersonic
nhs has quit [Ping timeout: 256 seconds]
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<supersandro2000> on linux gpt should work in uefi and bios
<supersandro2000> windows and mac enforce uefi for gpt
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @cyraxjoe opened pull request #113175 → fop: 2.1 -> 2.6 → https://github.com/NixOS/nixpkgs/pull/113175
nhs has joined #nixos
nhs has quit [Ping timeout: 265 seconds]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
Orbstheorem has quit [Ping timeout: 264 seconds]
nhs has joined #nixos
nhs has quit [Ping timeout: 265 seconds]
gustavderdrache has quit [Quit: Leaving.]
<jawr> with nix, how can i call a function and merge its return with the calling set? im trying { inherit (fn arg); ... }
Rusty1 has quit [Quit: WeeChat 2.3]
nhs has joined #nixos
slack1256 has joined #nixos
plumm has joined #nixos
nhs has quit [Ping timeout: 256 seconds]
supersandro2000 has quit [Quit: Ping timeout (120 seconds)]
supersandro2000 has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #113176 → buildRustPackage: add cargoDepsName attribute → https://github.com/NixOS/nixpkgs/pull/113176
sangoma has joined #nixos
nhs has joined #nixos
slack1256 has quit [Remote host closed the connection]
nhs has quit [Ping timeout: 265 seconds]
<srhb> jawr: let res = fn arg; in arg // res ?
<srhb> jawr: Or something like that. Note that you may want to be careful with set update, as it's not recursive (see recursiveUpdate and friends)
<jawr> tbh i think im shoehorning here, i was trying to make have wireguard attributes set, but now im trying a different approach
plumm has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<jawr> \// would overwrite values from the right i think?
<srhb> jawr: Values in the right set take precedence.
<srhb> > { a = 1; } // { a = 2; }
<{^_^}> { a = 2; }
<jawr> my newest issue is: peers = [ map createWgPeer metadata.hosts ]; where createWgPeer = hostname: { publicKey = metadata.hosts."${hostname}".wgPublicKey; allowedIPs = metadata.hosts."${hostname}".wgIPs; }
<jawr> but of course isnt creating a list of sets as i expected
<srhb> jawr: You definitely have a problem with the peers list, since that's a list of three elements, and that's not what you meant
<srhb> jawr: (Element 1 in map, element 2 is createWgPer, element 3 is metadata.hosts)
<srhb> s/in/map
<srhb> ...
<srhb> coffee.. s/in/is :D
<jawr> ah yeah that was me trial by erroring, i had originally tried without the [] as map returns a list
<srhb> That sounds more right
<jawr> (trial by desperation)
<srhb> jawr: What should the type of peers be ultimately, a list of sets?
<jawr> yes
<srhb> Then what you just said is right.
<jawr> hmm error: value is a set while a list was expected,
<srhb> jawr: Oh right... Well, metadata.hosts can't be both a list and a set.
<srhb> jawr: On one side you're mapping createWgPeer over it, so it must be a list.
<srhb> jawr: On the other, metadata.hosts."${hostname}" means it's clearly a set.
<jawr> ah so its complaining about the argument not the return
<jawr> perfect, thanks for the hand holding :)
<srhb> jawr: I can't tell, I haven't seen its value.
<srhb> jawr: but it can't be both :)
<srhb> jawr: Sure.
<jawr> its from a toml file, i was hoping i could iterate over the keys implicitly
n-osborn_ has quit [Remote host closed the connection]
<srhb> jawr: If it's deserialized into a set, you'll probably just need to use one of the set-mapping-functions
nhs has joined #nixos
andoriyu has quit [Read error: Connection reset by peer]
andoriyu has joined #nixos
nhs has quit [Ping timeout: 246 seconds]
nhs has joined #nixos
<srhb> jawr: (eg. mapAttrs)
nhs has quit [Ping timeout: 240 seconds]
philr has quit [Ping timeout: 246 seconds]
<jawr> i had tried mapAttrsToList as it needs to be a list, but havent cracked it yet
<jawr> peers = pkgs.lib.mapAttrsToList createWgPeer metadata.hosts; where createWgPeer = hostname: value: { ... }
<srhb> jawr: Good start. :) The "skeleton" looks right.
<jawr> error: The option value `networking.wireguard.interfaces.wg0.peers.[definition 1-entry 3].allowedIPs' in `/home/admin/kluster' is not of type `list of strings'.
<srhb> jawr: And how did you define allowedIPs in createWgPeer?
<jawr> and trying to use `nix-instantiate --eval --strict ./kluster` also fails
<jawr> ahh ofc
<jawr> building, merci
<srhb> *quack* :)
<jawr> much appreciated :)
palo1 has joined #nixos
<jawr> this is what i have so far: https://pastebin.com/8271tfvD is it more idiomatic to be using modules instead of functions?
nhs has joined #nixos
palo has quit [Ping timeout: 272 seconds]
palo1 is now known as palo
<srhb> jawr: I prefer modules when I can get away with it, but I think it's a matter of taste. Modules always compose the same (ie. via imports) while arbitrary functions compose via arbitrary function application. I wouldn't call it un-idiomatic though. Your indentation is, however. :-P
<srhb> jawr: Plus there's something neat about `imports = [ wg-peer kube-master kube-kubelet ];` :)
<srhb> jawr: Makes it very clear what's going on.
<srhb> I guess it's not really so much the composition part than it is the fact that it's a common "interface" which ultimately makes things very reusable.
<jawr> yeah originally i was using imports, but i found that a lot was repeated
nhs has quit [Ping timeout: 246 seconds]
<srhb> That really oughtn't be the case.
<srhb> But practice makes perfect :)
<jawr> im using vms so theyre all using the same hardware-config.nix abar the uuid for example
<srhb> Well, you're still free to do that.
<jawr> this is for nixops if it wasnt clear before
<srhb> I guessed (or one of its many clones) :)
<jawr> ill try changing this to modules so i get more exposure. once again thanks for your help
<srhb> jawr: A quick rundown of my preferred layout is basically `hostname = { imports = [ role1 role2 role3 common-hardware ]; host-specific-stuff = ...; };`
<jawr> but if role1 is a .nix file, how are you passing arguments to it?
<jawr> or role1 is statically typed to that roles configuration?
<srhb> jawr: I do that via the module system. Either I create a specific options module with the necessary "arguments" or I use the ad-hoc config.lib attrset
<srhb> jawr: In fact, the "Args" can just be defined in each role
<srhb> jawr: So, hostname = { imports = [ role1 ]; role1options.foo = 42; }
<srhb> jawr: This is great for error messages too, because if I miss a "mandatory option" for a role, it'll say so very specifically.
<{^_^}> [nixpkgs] @khumba opened pull request #113177 → dirdiff: init at 2.1 → https://github.com/NixOS/nixpkgs/pull/113177
<srhb> jawr: The key point I'm trying to make, I think, is that defining new ad-hoc options is really cheap, and makes things compose nicely via the module system :)
ahmed_elgabri has joined #nixos
<jawr> ok, i will have another crack at the modules method. current way definitely doesnt feel nix'y
<srhb> jawr: Feel free to ask if you get stuck. :) I think it'll feel "obvious" once you create a simple role module that defines some options (for you to use as args in the "main" file)
nhs has joined #nixos
<srhb> jawr: And try at first with the little known config.lib! It's a really handy quick-and-dirty way to hack "args" :)
fabian_a has joined #nixos
<srhb> jawr: ie. you can set `lib.role1.optionA = 42;` in your "main" file and use the value `config.lib.role1.optionA` in your role without having to define new options
ahmed_elgabri has quit [Ping timeout: 272 seconds]
<jawr> that does indeed sound nice, going to read up on role modules
Orbstheorem has joined #nixos
<srhb> That's just a term I've been using for our conversation, I don't think you'll find any resources online. However, it's just "modules" :)
<jawr> recapping with: https://nixos.wiki/wiki/Module
n-osborne has joined #nixos
<jawr> yeah the example seems pretty straightforward now in hindsight
nhs has quit [Ping timeout: 246 seconds]
philr has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #113178 → ripgrep: link PCRE2 dynamically → https://github.com/NixOS/nixpkgs/pull/113178
m0rphism1 has joined #nixos
n-osborne has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
ahmed_elgabri has joined #nixos
nhs has joined #nixos
n-osborne has joined #nixos
puffnfre- has quit [Quit: ZNC 1.8.0 - https://znc.in]
evhan has quit [Quit: De IRC non curat rex...]
delan has quit [Quit: ZNC - http://znc.in]
mallox has joined #nixos
ahmed_elgabri has quit [Ping timeout: 264 seconds]
tom39291 has quit [Remote host closed the connection]
delan has joined #nixos
tom39291 has joined #nixos
nhs has quit [Ping timeout: 256 seconds]
puffnfresh_ has joined #nixos
evhan has joined #nixos
cfricke has joined #nixos
sangoma has quit [Ping timeout: 246 seconds]
LilleCarl has joined #nixos
<jawr> ok this is much nicer :)
<jawr> im still doing: `node` = (node "hostname"); though to save on more typing
sangoma has joined #nixos
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #113179 → ncmpc: 0.44 -> 0.45 → https://github.com/NixOS/nixpkgs/pull/113179
nhs has joined #nixos
zupo has joined #nixos
Jd007 has quit [Quit: Jd007]
ahmed_elgabri has quit [Ping timeout: 260 seconds]
nhs has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @tobim opened pull request #113180 → perlPackages.TextWrapI18N: don't propagate glibc → https://github.com/NixOS/nixpkgs/pull/113180
blissdev has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sangoma has quit [Ping timeout: 246 seconds]
malook has joined #nixos
ahmed_elgabri has joined #nixos
saschagrunert has joined #nixos
respawn has joined #nixos
nhs has joined #nixos
medvid has quit [Ping timeout: 264 seconds]
ahmed_elgabri has quit [Ping timeout: 240 seconds]
lsix1 has joined #nixos
sangoma has joined #nixos
coco has quit [Quit: WeeChat 2.9]
nhs has quit [Ping timeout: 272 seconds]
malook has quit [Quit: malook]
hugolgst has joined #nixos
hugolgst has quit [Client Quit]
nhs has joined #nixos
woffs has joined #nixos
jimmiehansson has joined #nixos
ahmed_elgabri has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #113181 → newsflash: 1.1.1 -> 1.2.1 → https://github.com/NixOS/nixpkgs/pull/113181
nhs has quit [Ping timeout: 264 seconds]
<{^_^}> [nixos-planet] @garbas pushed to switch-to-flake « Switch to flake »: https://git.io/JtXeO
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixos-planet] @garbas opened pull request #6 → Switch to flake → https://github.com/NixOS/nixos-planet/pull/6
supersandro2000 has joined #nixos
nhs has joined #nixos
<{^_^}> [nixos-planet] @garbas pushed to switch-to-flake « Add unstable nix channel to install nixFlakes »: https://git.io/JtXeZ
<{^_^}> [nixos-planet] @garbas merged pull request #6 → Switch to flake → https://github.com/NixOS/nixos-planet/pull/6
ahmed_elgabri has quit [Ping timeout: 260 seconds]
berberman_ has joined #nixos
medvid has joined #nixos
nhs has quit [Ping timeout: 246 seconds]
berberman has quit [Ping timeout: 272 seconds]
vidbina_ has joined #nixos
shibboleth has joined #nixos
m0rphism1 has quit [Ping timeout: 256 seconds]
ptrcmd has joined #nixos
<eyJhb> Currenty build a `make-disk-image.nix`, is it possible to run the optimize nix store after everything has been copied over?
<eyJhb> Ie. I want to run `nix-store --optimise` ? Not sure if it is necsessary
respawn has quit [Quit: Leaving]
<supersandro2000> you mean inside the disk image?
orivej has joined #nixos
<eyJhb> Yes supersandro2000 :)
<eyJhb> Trying to do a little hack and slash now, but unsure how I can specify the store path for `nix-store --optimise`
<eyJhb> (ie. right now I am just editing the `make-disk-image.nix`, and throwing it in there to see if it actually reduces the images size (in this case)
nhs has joined #nixos
berberman_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
ahmed_elgabri has joined #nixos
berberman has joined #nixos
FRidh has joined #nixos
<eyJhb> Trying nixos-enter now
<immae> eyJhb: after wrapping nixos-enter you should have nix-store in /nix/var/nix/profiles/system/sw/bin/nix-store
nhs has quit [Ping timeout: 265 seconds]
ahmed_elgabri has quit [Ping timeout: 260 seconds]
<immae> Otherwise the only way I can see in make-disk-image.nix to add some code is to hijack the configFile value (which is not protected) with a inlined shell code that redefines the umount function (which is the last command executed with the partition mounted)
<eyJhb> immae: Wondering, shouldn't it just work with `nix-enter --root /mnt -- nix-store --optimise` ?
<immae> eyJhb: it should, the best way is to test
lambdanature[m] has quit [Quit: Idle for 30+ days]
cypher25519[m] has quit [Quit: Idle for 30+ days]
<eyJhb> But doesn't seem like it does much
ahmed_elgabri has joined #nixos
rhyfore[m] has quit [Quit: Idle for 30+ days]
boskote[m] has quit [Quit: Idle for 30+ days]
eganjs[m] has quit [Quit: Idle for 30+ days]
<eyJhb> It instantly finished
<immae> So it doesn’t have anything to do I guess
<eyJhb> Trying again with verbose (if possible)
<eyJhb> Just going to upload the current image
<immae> if you have nothing in the logs it means it worked correctly, otherwise you may test with `nix-enter --root /mnt -- env` and look at the PATH
<eyJhb> Oh it does something
<eyJhb> Running it now. Would be cool if it could shrink the image noticebly from 750 MB to less!
berberman has quit [Quit: ZNC 1.8.2 - https://znc.in]
<immae> (I don’t expect so much but who knows)
berberman has joined #nixos
<eyJhb> "immae, the hopes and dreams crusher" \s :D
<eyJhb> `11.20 MiB freed by hard-linking 3904 files` fuck.
<eyJhb> WELL! It was something.
<eyJhb> Basically no difference, guessing it is because of compression anyways...
<eyJhb> I am unsure if this is true, but seems like it might have gotten bigger actually...
<immae> probably also because it builds most things *before* sending it to the VM
<immae> how much bigger?
<eyJhb> I am going by the space digatalocean reports in my current upload, from the previous one, and the output from du -hs for the current one
<eyJhb> But 23MB seems excessive.
<eyJhb> Running once more
<eyJhb> Yes, it got bigger immae
<immae> just by adding the "nixos-enter ..." ?
<eyJhb> 737MB without nix-store --optimise, and 759MB WITH nix-store --optimise
<eyJhb> Yup
<eyJhb> I also added a echo penis statement, so I could see when it did it. but yeah
<eyJhb> `nixos-enter --root $mountPoint -- nix-store --verbose --optimise`
<eyJhb> I added it right before it unmounted /mnt
<immae> Maybe it optimized for speed :D
<eyJhb> POOOWEEEEEEEEEEEEEEEEEEEEER!
<eyJhb> Maybe, but might be because of symlinking stuff and the long names? Dunno?
<immae> (I honestly don’t know, the only way would be to compare both images)
<immae> Maybe diffoscope can compare iso images?
<eyJhb> ;) Do you want 700+ MB images with minecraft stuff in it? ;) :p
<{^_^}> [nixpkgs] @06kellyjac opened pull request #113182 → starboard: 0.9.1 -> 0.9.2 → https://github.com/NixOS/nixpkgs/pull/113182
<eyJhb> It is qcow2.gz files :)
<immae> not really :p
<immae> (it doesn’t mean diffoscope cannot compare them)
nhs has joined #nixos
<eyJhb> But but, minecraft! Also, you just waved goodbye to a image with my Digital ocean API keys in them! :p
<immae> I don’t think the image has the API keys :p
<eyJhb> No no, I have baked it into them :p I use it in a script inside the container
<immae> oh
<eyJhb> Really really secure + smart
<{^_^}> [nixpkgs] @r-ryantm opened pull request #113183 → operator-sdk: 1.4.0 -> 1.4.1 → https://github.com/NixOS/nixpkgs/pull/113183
<supersandro2000> wasn't there a stats tool for nix-build? Can someone remember the name?
berberman has quit [Ping timeout: 264 seconds]
<eyJhb> immae: Running diffoscope on it now. buuuuuut, dunno :D
<immae> Let’s see
berberman has joined #nixos
<immae> otherwise you’ll have to mount both images and diff -r
<eyJhb> I like how a keyboard interupt will put the % to 100%
nhs has quit [Ping timeout: 256 seconds]
Mrmaxmeier has quit [Quit: Ping timeout (120 seconds)]
Mrmaxmeier has joined #nixos
<eyJhb> Well , I don't have enough memory to do it immae
johnnyfive has quit [Ping timeout: 265 seconds]
dminuoso has quit [Remote host closed the connection]
anders^ has quit []
kaletaa has quit [Quit: ZNC 1.8.1 - https://znc.in]
Gohla has quit [Quit: Bye.]
<{^_^}> [nixpkgs] @dali99 opened pull request #113184 → vcsi: 7.0.12 -> 7.0.13 → https://github.com/NixOS/nixpkgs/pull/113184
trfl has quit [Remote host closed the connection]
dustinm has quit [Quit: Leaving]
Lord_of_Life has quit [Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine]
Gaelan_ has joined #nixos
NieDzejkob has quit [Remote host closed the connection]
johnnyfive has joined #nixos
ky0ko has quit [Read error: Connection reset by peer]
Gaelan has quit [Read error: Connection reset by peer]
dminuoso has joined #nixos
kaletaa has joined #nixos
anders^ has joined #nixos
<immae> oh
<eyJhb> Something is slurping all my ram atm. Think it is chrome as usual...
trfl has joined #nixos
Gohla has joined #nixos
<immae> Then the second option should work: mounting both images and compare them with diff -r
dustinm has joined #nixos
Lord_of_Life has joined #nixos
NieDzejkob has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #113178 → ripgrep: link PCRE2 dynamically → https://github.com/NixOS/nixpkgs/pull/113178
Qwerky has joined #nixos
<eyJhb> Might do that later :D
<immae> (mounting doesn’t take memory and diff -r is memory-friendly)
<immae> Sure
ky0ko has joined #nixos
<immae> Don’t hesitate to poke me once you have the answer, I’m interested
__monty__ has joined #nixos
FRidh has quit [Ping timeout: 272 seconds]
FRidh has joined #nixos
supersandro2000 has quit [Changing host]
supersandro2000 has joined #nixos
nhs has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #113136 → i3: 4.19 -> 4.19.1 → https://github.com/NixOS/nixpkgs/pull/113136
zupo has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #113144 → cargo-whatfeatures: init at 0.9.6 → https://github.com/NixOS/nixpkgs/pull/113144
<{^_^}> [nixpkgs] @fabaff opened pull request #113185 → libreddit: init at 0.2.9 → https://github.com/NixOS/nixpkgs/pull/113185
nhs has quit [Ping timeout: 272 seconds]
rembo10 has quit [Quit: ZNC 1.8.2 - https://znc.in]
rembo10 has joined #nixos
shibboleth has quit [Quit: shibboleth]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sigmundv has joined #nixos
<{^_^}> [nix] @regnat pushed 3 commits to cache-getflake: https://git.io/JtXJt
<{^_^}> [nixpkgs] @06kellyjac opened pull request #113186 → xh: add changelog → https://github.com/NixOS/nixpkgs/pull/113186
rembo10 has quit [Quit: ZNC 1.8.2 - https://znc.in]
fendor has joined #nixos
nhs has joined #nixos
rembo10 has joined #nixos
Qwerky has quit [Remote host closed the connection]
nhs has quit [Ping timeout: 268 seconds]
<ronthecookie> how can i enable programs.steam but using a different nixpkgs that i have imported in this file under a let binding?
<makefu> ronthecookie: using options from different nixpkgs versions is kinda hard to get right. i recommend you copy-paste the module implementation into a nix file and import it. replace the environment.systemPackages = [ pkgs.steam ] with unstable-pkgs.steam
<ronthecookie> makefu: alright, fair enough
nhs has joined #nixos
Qwerky has joined #nixos
Qwerky_ has joined #nixos
Qwerky has quit [Read error: Connection reset by peer]
simukis__ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #113187 → nixos/nextcloud: redirect /.well-known/*dav to https url → https://github.com/NixOS/nixpkgs/pull/113187
simukis_ has joined #nixos
Dotz0cat_ has quit [Ping timeout: 240 seconds]
nhs has quit [Ping timeout: 272 seconds]
lsix1 has quit [Ping timeout: 265 seconds]
lsix1 has joined #nixos
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #113188 → bambootracker: un-mark broken on darwin → https://github.com/NixOS/nixpkgs/pull/113188
SomeoneSerge has joined #nixos
thc202 has joined #nixos
Dotz0cat has joined #nixos
cole-h has quit [Ping timeout: 272 seconds]
edwtjo has quit [Ping timeout: 246 seconds]
nhs has joined #nixos
Qwerky_ has quit [Remote host closed the connection]
<{^_^}> [nix] @domenkozar pushed to installer-artifact « Generate installer script for each PR/push »: https://git.io/JtXTH
ATuin has joined #nixos
nhs has quit [Ping timeout: 265 seconds]
haritz has quit [Ping timeout: 256 seconds]
ahmed_elgabri has quit [Ping timeout: 265 seconds]
haritz has joined #nixos
haritz has quit [Changing host]
haritz has joined #nixos
edwtjo has joined #nixos
edwtjo has joined #nixos
edwtjo has quit [Changing host]
<ronthecookie> how can I use fetchFromGithub in a let binding on my root configuration.nix? `{ fetchFromGitHub ? (import <nixpkgs> { }).fetchFromGitHub }:` blows up with error: anonymous function at /home/ron/git/nixfiles/hosts/cookiemonster/default.nix:1:1 called with unexpected argument 'config'
nhs has joined #nixos
ahmed_elgabri has joined #nixos
haritz has quit [Ping timeout: 265 seconds]
nhs has quit [Ping timeout: 265 seconds]
<makefu> try { fetchFromGitHub, ... }:
<{^_^}> [nixpkgs] @erictapen merged pull request #113031 → nixos/mastodon: update service configuration → https://github.com/NixOS/nixpkgs/pull/113031
haritz has joined #nixos
haritz has quit [Changing host]
haritz has joined #nixos
<NobbZ[m]> <ronthecookie "how can I use fetchFromGithub in"> `pkgs.fetchFromGitHub`
<ronthecookie> NobbZ[m]: its in a let binding so i cant do that
ahmed_elgabri has quit [Ping timeout: 264 seconds]
<ronthecookie> makefu: undefined variable
fuiltilt has quit [Quit: WeeChat 2.9]
ahmed_elgabri has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
nhs has joined #nixos
<{^_^}> [nixpkgs] @573 opened pull request #113189 → qemu: guard desktop file removal → https://github.com/NixOS/nixpkgs/pull/113189
<{^_^}> [nixpkgs] @Izorkin opened pull request #113190 → nixos/mastodon: enable hardening mode → https://github.com/NixOS/nixpkgs/pull/113190
<makefu> ronthecookie: the ... was the important part there
<ronthecookie> makefu: yeah i did it with the ... but anyhow ive worked around that issue now
<makefu> when you use imports = [ ./file ]; then the default function parameters are { pkgs, config, lib } i think. when you do not need everything you can add a placeholder ...
SomeoneSerge has quit [Ping timeout: 272 seconds]
<ronthecookie> ill just say what im trying to do: i wanna get the steam pkg from https://github.com/LuigiPiucco/nixpkgs 's pressure-vessel branch
<ronthecookie> i added it to nixpkgs.config.packageOverrides but it's not happy with a very obscure error
nhs has quit [Ping timeout: 264 seconds]
erictapen has joined #nixos
ahmed_elgabri has quit [Ping timeout: 240 seconds]
k4nar has quit [Ping timeout: 240 seconds]
haritz has quit [Ping timeout: 256 seconds]
hiro98 has joined #nixos
erictapen has quit [Quit: leaving]
m4tsa_ has joined #nixos
m4ts has quit [Ping timeout: 240 seconds]
haritz has joined #nixos
haritz has quit [Changing host]
haritz has joined #nixos
nhs has joined #nixos
<{^_^}> [nix] @domenkozar pushed to installer-artifact « Generate installer script for each PR/push »: https://git.io/JtXtG
<__monty__> ronthecookie: You probably want to use an overlay instead of packageOverrides `self: super: { steam = otherpkgs.steam; }`
<ronthecookie> whats the difference?
<__monty__> Overrides are an older mechanism and don't always work for reasons I don't grok.
<ronthecookie> nix is weird
<__monty__> Just not very well documented yet.
nhs has quit [Ping timeout: 246 seconds]
<ronthecookie> ooh it might actually build
<ronthecookie> __monty__: thank you! overlays work
<__monty__> \o/
k4nar has joined #nixos
SomeoneSerge has joined #nixos
<{^_^}> [nixpkgs] @06kellyjac opened pull request #113191 → starboard-octant-plugin: 0.9.1 -> 0.9.2 → https://github.com/NixOS/nixpkgs/pull/113191
nhs has joined #nixos
<{^_^}> [nixpkgs] @iAmMrinal0 opened pull request #113192 → google-cloud-sdk: 325.0.0 -> 327.0.0 → https://github.com/NixOS/nixpkgs/pull/113192
<{^_^}> [nixpkgs] @danieldk opened pull request #113193 → buildRustPackage: factor out cargoCheckHook and cargoInstallHook → https://github.com/NixOS/nixpkgs/pull/113193
nhs has quit [Ping timeout: 256 seconds]
<shla> hi, am I correct to understand that linuxPackages_latest is pointing to a latest stable kernel version -1 minor version?
<{^_^}> [nixpkgs] @lheckemann merged pull request #109105 → linux: enable display core support for all amd gpus → https://github.com/NixOS/nixpkgs/pull/109105
Izorkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
<__monty__> > pkgs.linuxPackages_latest.version
<{^_^}> attribute 'version' missing, at (string):475:1
Izorkin has joined #nixos
Qwerky has joined #nixos
<adisbladis> > pkgs.linuxPackages_latest.kernel.version
<{^_^}> "5.10.10"
<adisbladis> But {^_^} may not be 100% up to date
<__monty__> adisbladis++
<{^_^}> adisbladis's karma got increased to 140
<adisbladis> shla: Generally it should be pointing to the latest (minus some nixpkgs/channel lag)
hiro98 has quit [Ping timeout: 256 seconds]
<adisbladis> Generally speaking we have the latest kernel within a few days of release
<shla> it.s 5.10.15 at the moment
<shla> my question was more about whether it always points to a latest minus 1 stable kernel release
<adisbladis> No, it points to the latest stable
<adisbladis> Minus any lag to get it into nixpkgs and a channel bump
<shla> latest stable is 5.10.16
<shla> I see.
<shla> so it's 15 because of some lag.
<shla> in the CI pipelines and channel cache/CDN?
ahmed_elgabri has joined #nixos
<__monty__> Hmm, package search says unstable has 5.10.14.
<__monty__> If CI finishes it's already cached, so just CI. A channel needs to pass some conditions before it advances. Like the big popular packages need to have been built/cached.
<adisbladis> shla: Our kernel package maintainer is in north america and it's just been a weekend
<adisbladis> I think we'll see some PRs later today
<adisbladis> Also feel free to contribute PRs yourself :)
<{^_^}> [nixpkgs] @Lassulus merged pull request #110627 → nixos/users: use proper name for per-user packages → https://github.com/NixOS/nixpkgs/pull/110627
<__monty__> Ah, maybe package search doesn't have it because it's unfree? I was wondering why linuxPackages_latest-libre was showing up instead.
<shla> i have no problems with the versions :) i'm happy it has 5.10.15 already in stable
<adisbladis> Alright, all good
<shla> my ultimate question was supposed to be when we gonna get 5.11?
<shla> is this when it will be promoted to stable branch by Linus?
ahmed_elgabri has quit [Ping timeout: 240 seconds]
<shla> currently it's been released to mainline
nhs has joined #nixos
<adisbladis> I don't know what our backport policy is on stable around kernels
<adisbladis> I'd expect 5.11 on unstable in the next few days
nhs has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @adisbladis opened pull request #113194 → Linux updates 2021 02 15 → https://github.com/NixOS/nixpkgs/pull/113194
<adisbladis> shla: ^
oxalica1 has joined #nixos
ahmed_elgabri has joined #nixos
jimmiehansson has quit [Read error: Connection reset by peer]
jimmiehansson has joined #nixos
Qwerky_ has joined #nixos
nhs has joined #nixos
BrightOne[m] has joined #nixos
Qwerky has quit [Ping timeout: 240 seconds]
<{^_^}> [patchelf] @edolstra merged pull request #262 → clang-tidy fixes → https://github.com/NixOS/patchelf/pull/262
nhs has quit [Ping timeout: 272 seconds]
Qwerky_ has quit [Remote host closed the connection]
<{^_^}> [patchelf] @edolstra pushed to master « Style fixes »: https://git.io/JtXYq
Dotz0cat has quit [Ping timeout: 264 seconds]
lsix1 has quit [Ping timeout: 264 seconds]
<sphalerite> __monty__: no, package search should have it. May only be under the name "linux" and "linux_latest" though, not linuxPackages.kernel
kmein has quit [Quit: ciao kakao]
kmein has joined #nixos
lawr3nce has joined #nixos
nhs has joined #nixos
Qwerky has joined #nixos
nhs has quit [Ping timeout: 265 seconds]
philipp[m]1 has left #nixos ["User left"]
Qwerky has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #113197 → python39Packages.zetup: fix Python 3.9 and switch to pytestCheckHook → https://github.com/NixOS/nixpkgs/pull/113197
<{^_^}> [nixpkgs] @Izorkin opened pull request #113198 → nixos/mastodon: fix send e-mail notifications → https://github.com/NixOS/nixpkgs/pull/113198
nhs has joined #nixos
hyper_ch2 has quit [Read error: Connection reset by peer]
BaughnLogBot has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
hyper_ch2 has joined #nixos
stephank has quit [Quit: Ping timeout (120 seconds)]
Mrmaxmeier has quit [Quit: Ping timeout (120 seconds)]
<hyper_ch2> ma27[m], you saw my reply regarding nextcloud/nginx/acme?
stephank has joined #nixos
Mrmaxmeier has joined #nixos
nhs has quit [Ping timeout: 265 seconds]
nixuser has joined #nixos
emre has joined #nixos
vidbina_ has quit [Ping timeout: 256 seconds]
vidbina_ has joined #nixos
kaliumxyz has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @poscat0x04 opened pull request #113199 → haskellPackages.hinit: unbreak, also add to top level → https://github.com/NixOS/nixpkgs/pull/113199
vidbina_ has quit [Ping timeout: 240 seconds]
nhs has joined #nixos
pandion[m] has left #nixos ["User left"]
hiro98 has joined #nixos
emre has quit [Quit: Leaving]
lawr3nce has quit [Quit: Leaving]
nhs has quit [Ping timeout: 256 seconds]
meh` has joined #nixos
lsix1 has joined #nixos
nhs has joined #nixos
nhs has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #113200 → luna-icons: 0.9.2 -> 1.0 → https://github.com/NixOS/nixpkgs/pull/113200
sigmundv has quit [Read error: Connection reset by peer]
sigmundv has joined #nixos
euandreh has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @talyz opened pull request #113201 → gitlab: Add patch for db_key_base length bug, fix descriptions → https://github.com/NixOS/nixpkgs/pull/113201
euandreh has joined #nixos
zebrag has joined #nixos
nhs has joined #nixos
ahmed_elgabri has quit [Remote host closed the connection]
Qwerky has joined #nixos
euandreh has quit [Ping timeout: 240 seconds]
nhs has quit [Ping timeout: 246 seconds]
ahmedelgabri has joined #nixos
euandreh has joined #nixos
<{^_^}> [nix] @domenkozar pushed to installer-artifact « Generate installer script for each PR/push »: https://git.io/JtXG5
euandreh has quit [Ping timeout: 272 seconds]
euandreh has joined #nixos
nhs has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #113105 → cudnn_cudatookit_11: add $ORIGIN/ to library RPATHs → https://github.com/NixOS/nixpkgs/pull/113105
simonpe^^ has joined #nixos
<simonpe^^> I often generate a script using runCommand in combination with substituteAll, I wrote a function to do that but I'm thinking there must be something like that in the standard library already
nhs has quit [Ping timeout: 272 seconds]
dev_mohe has joined #nixos
euandreh has quit [Ping timeout: 265 seconds]
BaughnLogBot has joined #nixos
euandreh has joined #nixos
<{^_^}> [nixpkgs] @leonardp opened pull request #113203 → nixos/ceph: fix ceph.client.extraOptions type → https://github.com/NixOS/nixpkgs/pull/113203
sangoma has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #113156 → libical: 3.0.8 -> 3.0.9 (fix build on staging) → https://github.com/NixOS/nixpkgs/pull/113156
nhs has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #113161 → [20.09] Tailscale updates → https://github.com/NixOS/nixpkgs/pull/113161
blissdev has joined #nixos
nhs has quit [Ping timeout: 240 seconds]
euandreh has quit [Ping timeout: 268 seconds]
euandreh has joined #nixos
sangoma has joined #nixos
<{^_^}> [nix] @domenkozar pushed to installer-artifact « Generate installer script for each PR/push »: https://git.io/JtXnK
qbit has quit [Quit: leaving]
<{^_^}> [nixpkgs] @oxalica opened pull request #113204 → rust-analyzer: 2021-02-08 -> 2021-02-15 → https://github.com/NixOS/nixpkgs/pull/113204
cmk_zzz_ has joined #nixos
cmk_zzz has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ilian opened pull request #113205 → yaml2json: unstable-2017-05-03 -> 1.3 → https://github.com/NixOS/nixpkgs/pull/113205
Qwerky has quit [Remote host closed the connection]
orivej has joined #nixos
sangoma has quit [Ping timeout: 265 seconds]
xelxebar_ has joined #nixos
xelxebar has quit [Ping timeout: 268 seconds]
nhs has joined #nixos
malook has joined #nixos
cmk_zzz_ has quit [Ping timeout: 265 seconds]
cmk_zzz has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #112829 → rtsp-simple-server: 0.14.0 -> 0.14.1 → https://github.com/NixOS/nixpkgs/pull/112829
nhs has quit [Ping timeout: 272 seconds]
rb2k has joined #nixos
sss2 has joined #nixos
oxalica has quit [Quit: oxalica]
oxalica1 is now known as oxalica
Qwerky has joined #nixos
<__monty__> simonpe^^: Hmm, sounds kinda like you want resholve.
plumm has joined #nixos
sangoma has joined #nixos
nhs has joined #nixos
nhs has quit [Ping timeout: 256 seconds]
Qwerky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @adisbladis merged pull request #113205 → yaml2json: unstable-2017-05-03 -> 1.3 → https://github.com/NixOS/nixpkgs/pull/113205
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
davidv7 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #113154 → ccls: use llvmPackages_latest → https://github.com/NixOS/nixpkgs/pull/113154
davidv7 has joined #nixos
medvid has quit [Ping timeout: 246 seconds]
meh` has quit [Ping timeout: 256 seconds]
nhs has joined #nixos
meh` has joined #nixos
medvid has joined #nixos
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malook has quit [Quit: malook]
nhs has quit [Ping timeout: 240 seconds]
Qwerky has joined #nixos
<{^_^}> [nix] @domenkozar pushed to installer-artifact « Generate installer script for each PR/push »: https://git.io/JtXWa
rb2k has joined #nixos
fuzzypixelz has joined #nixos
dev_mohe has quit [Quit: dev_mohe]
jnbrains has joined #nixos
plumm has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
plumm has joined #nixos
nhs has joined #nixos
respawn_ has joined #nixos
nhs has quit [Ping timeout: 240 seconds]
aswanson has joined #nixos
jnbrains has quit [Quit: jnbrains]
hyper_ch4 has joined #nixos
<fuzzypixelz> nix flake update --recreate-lock-file followed by nixos-rebuild switch --flake, really slows down my system to a halt
plumm has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
FRidh has quit [Ping timeout: 256 seconds]
<fuzzypixelz> not during the evaluation nor the download (though they are noticeable too), but especially during the build
<fuzzypixelz> I basically can't move the cursor anymore and have to stop using the computer
FRidh has joined #nixos
hyper_ch2 has quit [Ping timeout: 272 seconds]
nhs has joined #nixos
plumm has joined #nixos
<fuzzypixelz> I do realize that by not upgrading my lock file very frequently (I do it once every 2 weeks?) there is much more work to do once I do upgrade it, but still? can I limit its access to ressources somehow?
<{^_^}> [nixpkgs] @fabaff opened pull request #113206 → python3Packages.aioesphomeapi: 2.6.4 -> 2.6.5 → https://github.com/NixOS/nixpkgs/pull/113206
gustavderdrache has joined #nixos
Qwerky has quit [Remote host closed the connection]
nhs has quit [Ping timeout: 264 seconds]
Jd007 has joined #nixos
m0rphism1 has joined #nixos
<{^_^}> [nix] @domenkozar pushed to installer-artifact « Generate installer script for each PR/push »: https://git.io/JtX8P
vidbina_ has joined #nixos
maier has joined #nixos
<maier> What nix code formatter should I use nowadays, if any? Is there a de facto standard? (I found nixfmt and nixpkgs-fmt)
plumm has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
oxalica1 has joined #nixos
philr has quit [Ping timeout: 256 seconds]
Qwerky has joined #nixos
nhs has joined #nixos
berberman has quit [Quit: ZNC 1.8.2 - https://znc.in]
berberman has joined #nixos
plumm has joined #nixos
Qwerky has quit [Ping timeout: 240 seconds]
nhs has quit [Ping timeout: 265 seconds]
plumm has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #113207 → python3Packages: add compute capabilities for CUDA 11 → https://github.com/NixOS/nixpkgs/pull/113207
inkOne_ has quit [Quit: WeeChat 2.7]
Dotz0cat has joined #nixos
rb2k has quit [Ping timeout: 264 seconds]
plumm has joined #nixos
rb2k has joined #nixos
nhs has joined #nixos
xeron832 has quit [Quit: Idle for 30+ days]
critbase[m] has quit [Quit: Idle for 30+ days]
tomfi[m] has quit [Quit: Idle for 30+ days]
nhs has quit [Ping timeout: 256 seconds]
nhs has joined #nixos
zupo has joined #nixos
lsix1 has quit [Ping timeout: 260 seconds]
lsix1 has joined #nixos
rb2k has quit [Remote host closed the connection]
rb2k_ has joined #nixos
rb2k_ has quit [Client Quit]
gianarb has joined #nixos
<gianarb> Hello! I am new to nix, so probably it is nothing too complex but I am trying to build a Go program as part of nix-shell https://gist.github.com/gianarb/ca22098f7137c47040625ca4fea1cf04
<gianarb> It is not going well, any feedback? I am probably missing some environment variable like GOROOT or GOPATH but I can't find exmaple online! Thanks
kaliumxyz has joined #nixos
oushri has joined #nixos
<simpson> It seems like all of the dependencies are missing. I'm not sure what you've tried so far, but usually one will want to use go2nix or dep2nix depending on how the application references its dependencies.
<{^_^}> [nixpkgs] @iblech opened pull request #113209 → quickjs: 2019-12-21 -> 2020-11-08 → https://github.com/NixOS/nixpkgs/pull/113209
<Ke> I guess nix channels are added to /root/.nix-channels, how do people manage these with impermanence or something
<gchristensen> the root user is subscribed to the channel used to create the system on startup if it isn't already subscribed to any channels, I just do that
<{^_^}> [nix] @domenkozar pushed to installer-artifact « Generate installer script for each PR/push »: https://git.io/JtXRs
<Ke> I guess this is rather trivial problem, but just asking
<{^_^}> [nix] @domenkozar opened pull request #4549 → Generate installer script for each PR/push → https://github.com/NixOS/nix/pull/4549
<Ke> gchristensen: yes, this is why it took me so long to notice something was wrong, I occasionally used 2 versions and now home-manager
<Ke> I guess I'll create tmpfiles.d symlink to a nix derivation, probably will just work
heywoodlh has quit [Quit: ZNC 1.8.2 - https://znc.in]
heywoodlh has joined #nixos
<{^_^}> [nix] @domenkozar pushed to installer-artifact « Generate installer script for each PR/push »: https://git.io/JtXRg
plumm has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @danieldk opened pull request #113210 → libtorch-bin: remove dependency on nvidia_x11, fix passthru test → https://github.com/NixOS/nixpkgs/pull/113210
<gianarb> Thanks simpson ! I will have a look!
rb2k has joined #nixos
plumm has joined #nixos
oushri has quit [Ping timeout: 246 seconds]
sangoma has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @SFrijters opened pull request #113211 → maestral-gui: 1.3.1 -> 1.4.0 → https://github.com/NixOS/nixpkgs/pull/113211
oushri has joined #nixos
respawn_ has quit [Quit: Leaving]
oxalica1 has quit [Quit: oxalica1]
<{^_^}> [nixpkgs] @ryantm merged pull request #112469 → argo: 2.12.7 -> 2.12.8 → https://github.com/NixOS/nixpkgs/pull/112469
DanC has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
Dotz0cat has quit [Ping timeout: 256 seconds]
DanC has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #113212 → lib/systems/platforms: remove TI_CPTS override → https://github.com/NixOS/nixpkgs/pull/113212
plumm has quit [Quit: Textual IRC Client: www.textualapp.com]
nixuser has quit [Ping timeout: 265 seconds]
fuzzypixelz has left #nixos [#nixos]
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @leifhelm closed pull request #113011 → nixos/picom: Add package option → https://github.com/NixOS/nixpkgs/pull/113011
zebrag has joined #nixos
ahmedelgabri has quit [Ping timeout: 272 seconds]
oxalica1 has joined #nixos
rb2k has quit [Ping timeout: 265 seconds]
jrhawley[m] has joined #nixos
rb2k has joined #nixos
meh` has quit [Read error: Connection reset by peer]
nhs has quit [Ping timeout: 246 seconds]
oxalica2 has joined #nixos
oxalica1 has quit [Ping timeout: 246 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
oxalica2 is now known as oxalica1
sysfs has joined #nixos
sysfs has left #nixos ["Leaving"]
noudle has joined #nixos
sysfs has joined #nixos
<{^_^}> [nixpkgs] @lopsided98 opened pull request #113213 → spidermonkey: use LLVM 11 → https://github.com/NixOS/nixpkgs/pull/113213
meh` has joined #nixos
nhs has joined #nixos
ky0ko has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #113125 → hwdata: 0.335 -> 0.344 → https://github.com/NixOS/nixpkgs/pull/113125
oxalica1 has quit [Ping timeout: 265 seconds]
erasmas has joined #nixos
oxalica1 has joined #nixos
rb2k has quit [Remote host closed the connection]
rb2k has joined #nixos
mupf has quit [Quit: WeeChat 2.9]
mupf has joined #nixos
zceejkr has joined #nixos
gianarb has quit [Quit: WeeChat 3.0.1]
<{^_^}> [nixpkgs] @stigtsp merged pull request #113180 → perlPackages.TextWrapI18N: don't propagate glibc → https://github.com/NixOS/nixpkgs/pull/113180
nhs has quit [Ping timeout: 256 seconds]
rb2k has quit [Remote host closed the connection]
<zceejkr> Hello, I am trying to run a service on my nixos machine and I ran into a problem. The service is running on UDP port 30000. I have opened it like so: networking.firewall.allowedUDPPorts = [ 30000 ]. Connection from LAN work fine. However, when I try connecting from an external IP, my connection seems to get filtered by the firewall. I am pretty sure my router port forwarding is set up correctly. Should the configuration I listed work on
<zceejkr> it's own, or is there special treatment of external IPs in NixOS's firewall?
rb2k has joined #nixos
<gchristensen> nixos's firewall doesn't treat them special afaik, so I'd look at your router a bit more carefully
oxalica1 has quit [Ping timeout: 265 seconds]
<zceejkr> I used this service to check my port: https://www.ipvoid.com/udp-port-scan, and it reports the port as opened, but filtered...
<gchristensen> I think that means the traffic is being dropped without a reply
<gchristensen> which is consistent with a firewall blocking it
<edef> tcpdump time
<simpson> How do you know that your router is correctly configured?
ahmedelgabri has joined #nixos
<zceejkr> simpson: I don't XD
<cransom> udp can't be reliably checked like tcp can. tcpdump is the only way
<edef> `nix run nixpkgs.tcpdump -c sudo tcpdump -vv udp port 3000` and try to poke the port from outside
<{^_^}> [nixpkgs] @hlolli opened pull request #113214 → macbook15-spi-driver: init at 0.1 → https://github.com/NixOS/nixpkgs/pull/113214
maier has quit [Quit: Lost terminal]
rb2k has quit [Remote host closed the connection]
rb2k_ has joined #nixos
mkaito has joined #nixos
mkaito has joined #nixos
mkaito has quit [Changing host]
ahmedelgabri has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #113215 → python3Packages.fonttools: 4.19.1 -> 4.20.0 → https://github.com/NixOS/nixpkgs/pull/113215
nhs has joined #nixos
<zceejkr> Ok sorry for such stupid questions, but I found the firewall settings on my router, and I need to add specific rules about which connections to allow. It wants me to specify a Destination address and a Source address. I assume the destionation address is the LAN address of my server. For source address I want to allow any address, but if I put in 0.0.0.0, the router software complains it's not a valid address. Is there an alternative
<zceejkr> way to specify any address?
<zceejkr> The field just says: "Source IP address[/prefix length]:", and gives a text box...
<cransom> use 0.0.0.0/0
<zceejkr> Still says it's an invalid IPv4 address...
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cransom> and it's wrong. maybe there's other docs for that router around? maybe some other magic value for that.
<{^_^}> [nixpkgs] @alarsyo opened pull request #113216 → nixos/bitwarden_rs: make package configurable → https://github.com/NixOS/nixpkgs/pull/113216
<zceejkr> I don't really understand subnetting, but if I set the prefix value large enough, will it match all addresses?
<{^_^}> [nixpkgs] @ryantm closed pull request #113075 → kustomize: 3.10.0 -> 4.0.0 → https://github.com/NixOS/nixpkgs/pull/113075
<gchristensen> small enough
<gchristensen> you're defining how many bits of the address are significant for matching
<cransom> /0 is the largest prefix value. you could split it and use 0/1 and 128/1 (with all the missing dots in there) and maybe thats a cheat
nhs has quit [Ping timeout: 265 seconds]
nhs has joined #nixos
SomeoneSerge has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @iblech opened pull request #113217 → qemacs: init at 0.3.3 → https://github.com/NixOS/nixpkgs/pull/113217
ahmedelgabri has joined #nixos
rb2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ardumont has quit [Ping timeout: 240 seconds]
zceejkr has quit [Read error: Connection reset by peer]
<gustavderdrache> as someone who had a lot of trouble with CIDR notation, what finally clicked about the "/x" notation is that it means "keep this many bits"
<gustavderdrache> so an address like "0.0.0.0/0" means "every bit can vary"
zceejkr has joined #nixos
<dupon1> Hi, do people already packaged Elixir services? The nixpkgs manual is pretty light about BEAM languages
<gustavderdrache> and "1.2.3.4/32" means "keep all 32 bits"
shibboleth has joined #nixos
<gchristensen> ipcalc is a nice tool for visualizing it
nhs has quit [Ping timeout: 272 seconds]
ahmedelgabri has quit [Ping timeout: 272 seconds]
<oushri> Does anyone have an example of using a separate home manager flake in a Nixos system flake? I'd like to keep them in two separate repositories (so I can use the HM in non-Nixos systems), and I'd like to avoid using git submodules. I've got my NixOS system working using flake, but I currently have the home manager config in the same repo, and use HM's Nixos modules to pull it in. But it seems like it should
<oushri> be possible to just use 2 flakes (I'm very new to Nix).
nhs has joined #nixos
puffnfresh_ has quit [Quit: ZNC 1.8.0 - https://znc.in]
evhan has quit [Quit: De IRC non curat rex...]
ardumont has joined #nixos
evhan has joined #nixos
puffnfresh_ has joined #nixos
Mirrexagon has quit [Ping timeout: 256 seconds]
Mirrexagon has joined #nixos
nhs has quit [Ping timeout: 256 seconds]
slack1256 has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
zupo has joined #nixos
waleee-cl has joined #nixos
Streetwalrus has quit [Quit: ZNC 1.7.5 - https://znc.in]
Izorkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
Streetwalrus has joined #nixos
Izorkin has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #113046 → buildGoModule: use assert for checking goPackagePath → https://github.com/NixOS/nixpkgs/pull/113046
<{^_^}> [nixpkgs] @Ma27 merged pull request #113187 → nixos/nextcloud: redirect /.well-known/*dav to https url → https://github.com/NixOS/nixpkgs/pull/113187
cfricke has quit [Quit: WeeChat 3.0.1]
<{^_^}> [nixpkgs] @Ma27 merged pull request #113108 → nixos/nextcloud: fix regex to not return 404 on ACME challenges → https://github.com/NixOS/nixpkgs/pull/113108
oxalica1 has joined #nixos
slack1256 has quit [Ping timeout: 265 seconds]
rb2k has joined #nixos
nhs has joined #nixos
mupf has quit [Quit: WeeChat 3.0]
<{^_^}> [nixpkgs] @mweinelt opened pull request #113219 → python3Packages.uvloop: 0.15.0 -> 0.15.1 → https://github.com/NixOS/nixpkgs/pull/113219
<hyper_ch> ma27[m]: thanks for the quick fix
mupf has joined #nixos
srhb has quit [Ping timeout: 264 seconds]
CustosLimen has quit [Ping timeout: 260 seconds]
dani- has quit [Ping timeout: 260 seconds]
victorbjelkholm has quit [Ping timeout: 272 seconds]
ghuntley has quit [Ping timeout: 268 seconds]
englishm_ has quit [Ping timeout: 265 seconds]
sangoma has joined #nixos
ocharles has quit [Read error: Connection reset by peer]
heatm1s3r has quit [Read error: Connection reset by peer]
abbe has quit [Read error: Connection reset by peer]
srhb has joined #nixos
heatm1s3r has joined #nixos
abbe has joined #nixos
ocharles has joined #nixos
zceejkr has left #nixos ["ERC (IRC client for Emacs 27.1)"]
dani- has joined #nixos
HeN has quit [Ping timeout: 260 seconds]
victorbjelkholm has joined #nixos
CustosLimen has joined #nixos
saschagrunert has quit [Remote host closed the connection]
englishm_ has joined #nixos
ghuntley has joined #nixos
HeN has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.09: https://git.io/JtX2q
SomeoneSerge has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #113113 → go_bootstrap: remove top-level attribute → https://github.com/NixOS/nixpkgs/pull/113113
<{^_^}> [nixpkgs] @rmcgibbo opened pull request #113220 → pytestCheckHook: improve disabledTestFiles whitespace handling → https://github.com/NixOS/nixpkgs/pull/113220
ahmedelgabri has joined #nixos
<{^_^}> [nixpkgs] @arthurteisseire opened pull request #113221 → ocaml-sha: init at 1.13 → https://github.com/NixOS/nixpkgs/pull/113221
bitmapper has joined #nixos
alexherbo2 has joined #nixos
datakurre has quit [Ping timeout: 240 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
malook has joined #nixos
datakurre has joined #nixos
rb2k has quit [Remote host closed the connection]
rb2k has joined #nixos
ahmedelgabri has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @kalbasit merged pull request #112248 → go_1_14, go_1_15, go_2-dev: only override stdenv if it is gcc → https://github.com/NixOS/nixpkgs/pull/112248
rb2k has quit [Client Quit]
<{^_^}> [nixpkgs] @kalbasit merged pull request #111662 → Remove Ruby 2.5 → https://github.com/NixOS/nixpkgs/pull/111662
sangoma has quit [Quit: WeeChat 3.0]
turion has joined #nixos
<shapr> When using direnv, should I add the .envrc to my git repos?
<turion> I want to build a Haskell project, and all its dependencies, with a fork of GHC. Where do I specify the src of that fork?
<shapr> turion: ooh, updating your packages for ghc 9?
<turion> shapr: Haha, no :D but that would be a cool application!
sss2 has quit [Remote host closed the connection]
sss2 has joined #nixos
malook has quit [Quit: malook]
noudle has quit []
<turion> I would have done something like haskell.compiler.ghc8101 = super.haskell.compiler.ghc8101.overrideAttrs
<turion> In an overly
<turion> But it seems nested attribute overwriting in an overlay doesn't work?
<andoriyu> so i have a place where I list python packages that I need. Is there a way to define a new package that isn't in nixpkgs inline?
rdk31 has joined #nixos
<andoriyu> figured it out
n-osborne has quit [Remote host closed the connection]
zupo has quit [Ping timeout: 264 seconds]
zupo has joined #nixos
oushri has left #nixos [#nixos]
Lord_of_Life has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @Pacman99 opened pull request #113222 → deadd-notification-center: service files for dbus and systemd → https://github.com/NixOS/nixpkgs/pull/113222
n-osborne has joined #nixos
<{^_^}> [nixpkgs] @collares closed pull request #109370 → emacs: disable trampoline generation when installing packages → https://github.com/NixOS/nixpkgs/pull/109370
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<rdk31> Hi guys, I'm trying to use c# extension for vscode. As far as I know there are two methods, vscode-with-extensions or installing omnisharp-roslyn manually and setting the path in vscode settings. I've tried the latter with no success as I get the error described in the issue list of omnisharp-roslyn
<rdk31> (https://github.com/OmniSharp/omnisharp-roslyn/issues/2027). I don't wanna go the former because I believe it's not gonna work with vscode sync feature. How do you guys have it set up?
<{^_^}> OmniSharp/omnisharp-roslyn#2027 (by grendello, 11 weeks ago, open): [Mono] NuGet version too old on Linux
thongpv87 has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #113223 → python3Packages.pytorch-bin: do not depend on nvidia_x11 → https://github.com/NixOS/nixpkgs/pull/113223
lsix1 has quit [Ping timeout: 272 seconds]
n-osborne has quit [Remote host closed the connection]
n-osborne has joined #nixos
turion has quit [Quit: Leaving.]
Lord_of_Life has joined #nixos
BaughnLogBot has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
BaughnLogBot has joined #nixos
n-osborne has quit [Remote host closed the connection]
berberman_ has joined #nixos
berberman has quit [Ping timeout: 272 seconds]
ATuin has quit [Ping timeout: 240 seconds]
thc202 has quit [Quit: thc202]
bn_work has joined #nixos
<Ke> nix search always lists duplicate results for like this, is it reallt true that this is just the way things are https://discourse.nixos.org/t/duplicate-results-in-nix-search/4922
<Ke> I do understand that I do have both nixos and nixpkgs, but should I have them?
<Ke> should I rename my channel to nixpkgs?
<{^_^}> [nixpkgs] @globin merged pull request #110042 → libpcap: 1.9.1 -> 1.10.0 → https://github.com/NixOS/nixpkgs/pull/110042
rb2k has joined #nixos
drozdziak1 has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #113026 → libvirt: python2 -> python3 → https://github.com/NixOS/nixpkgs/pull/113026
<drozdziak1> In my nix-shell spec I have two inputs (docker-compose and tmuxp) that overwrite each other's PYTHONPATH with the wrong python version, what can I do about that?
<drozdziak1> i.e. docker-compose finds a 2.7 PyYAML which breaks on module `error` and tmuxp finds 3.8 `PyYAML` which breaks on some syntax for docker-compose
<drozdziak1> I'm reading `default.nix` in `interpreters/python`, would `wrapPython` be the correct way to do things in this case?
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #113150 → ophis: init at 2019-04-13 → https://github.com/NixOS/nixpkgs/pull/113150
marusich has quit [Quit: Leaving]
mizu_no_oto has joined #nixos
<simpson> Hm. Those are Python applications, so they should already be wrapped. I wonder why not.
mizu_no_oto has quit [Client Quit]
<simpson> I agree that $PYTHONPATH is partially to blame. It looks very crowded in there.
meh` has quit [Ping timeout: 265 seconds]
sysfs has quit [Ping timeout: 265 seconds]
<drozdziak1> simpson I can patch that once I confirm that fixes my concrete issue
<drozdziak1> That would be my first contribution, is there a common pitfall I might want to avoid?
rb2k has quit [Ping timeout: 256 seconds]
mallox has quit [Quit: WeeChat 3.0.1]
mallox has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 240 seconds]
naivesheep has quit [Remote host closed the connection]
naivesheep has joined #nixos
SomeoneSerge has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #112970 → portfolio: 0.50.3 -> 0.50.4 → https://github.com/NixOS/nixpkgs/pull/112970
hiro98 has quit [Remote host closed the connection]
zakame has quit [Ping timeout: 272 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cwslimy[m]> How can I delete old profiles from GRUB?
<cwslimy[m]> I made too many and now I only have 2 options for prior system configurations, hah
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
rb2k has joined #nixos
SomeoneSerge has joined #nixos
<cwslimy[m]> is it as simple as deleting the profile from `/nix/var/nix/profiles/`?
n-osborne has joined #nixos
oxalica1 has quit [Quit: oxalica1]
<cwslimy[m]> * is it as simple as deleting the profile from `/nix/var/nix/profiles/`?
<cwslimy[m]> EDIT: No. They are still in grub
zupo has joined #nixos
vrinek has quit [Ping timeout: 272 seconds]
<gchristensen> cwslimy[m]: `nixos-rebuild boot` will clean it up
sigmundv has quit [Read error: Connection reset by peer]
<cwslimy[m]> Ah cool, thanks!
sigmundv has joined #nixos
<cwslimy[m]> Is there any way to generate profiles automatically with the nix language or are they all imperative? I have a few that all end up being outdated as I make changes to the system
<V> define "generate profiles automatically"
<V> you can add a new generation for a specific profile using nix-env -p <profile> --set <path>
alexherbo2 has quit [Ping timeout: 240 seconds]
<V> profiles aren't something you deal with at the Nix language level, they're just a way of providing versioned environments - you have an environment for your system, one for each user on the system, and so on
ahmedelgabri has joined #nixos
wnklmnn has joined #nixos
vidbina_ has quit [Ping timeout: 264 seconds]
kmein has quit [Quit: ciao kakao]
kmein has joined #nixos
Byp33 has joined #nixos
blahblah441_ has joined #nixos
blahblah441 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @mroi opened pull request #113225 → linux: improve cross compilation with clang → https://github.com/NixOS/nixpkgs/pull/113225
riksteri has quit [Quit: riksteri]
ahmedelgabri has quit [Ping timeout: 264 seconds]
Byp33 has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @prusnak opened pull request #113226 → tor: 0.4.4.7 -> 0.4.5.6 → https://github.com/NixOS/nixpkgs/pull/113226
n-osborne has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @xworld21 opened pull request #113227 → perlPackages.PerlTidy: use shortenPerlShebang on darwin → https://github.com/NixOS/nixpkgs/pull/113227
fuiltilt has joined #nixos
<{^_^}> [nixpkgs] @SCOTT-HAMILTON opened pull request #113228 → cqrlog: init at 2.5.2 → https://github.com/NixOS/nixpkgs/pull/113228
adyatlov has joined #nixos
<cwslimy[m]> <V "you can add a new generation for"> As a simple example, I'd like to be able to boot up with or without VPN and some of my noisier network software enabled. These are defined in `noisy-network.nix`.
<adyatlov> Nix-env gets stuck downloading at 100%. Why? https://paste.c-net.org/LashesDazzled
dev_mohe has joined #nixos
<cwslimy[m]> <V "define "generate profiles automa"> As a simple example, I'd like to be able to boot up with or without VPN and some of my noisier network software enabled. These are defined in `noisy-network.nix`.
mallox has quit [Quit: WeeChat 3.0.1]
<ivan> adyatlov: maybe still downloading something else
<adyatlov> ivan: How can I see what? Verbose -v doesn't work
<ivan> adyatlov: try nethogs as root
<V> cwslimy[m]: I'm not sure what you're doing in Matrix, but you sent that message twice over IRC. I recommend staying away from editing/etc
turion has joined #nixos
<adyatlov> ivan: Thanks, I see a curl process from nixbld1 user
<cwslimy[m]> I did edit the message because I replied to the wrong one. Didn't think about the irc bridge, sorry
<drozdziak1> What's the easiest way to wrap an existing nix-enabled Python program?
<V> cwslimy[m]: would you find the `specialisation` module useful here?
<tpw_rules> aynish: yeah idk how that works. it seems to just show the curl for headers, then not any progress for the actual download. it will finish at some point
<tpw_rules> probably in a while because iirc that archive is several hundred megs
<drozdziak1> `wrapPythonPrograms` looks promising but I wonder if there's an easier way without manual copying
dev_mohe has quit [Client Quit]
n-osborne has joined #nixos
<cwslimy[m]> <V "cw (Annuit Coeptis): would you f"> A quick search I can't find anything about that. Do you have a link?
AmandaC has quit [Ping timeout: 246 seconds]
AmandaC has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #113229 → gallery-dl: 1.16.4 -> 1.16.5 → https://github.com/NixOS/nixpkgs/pull/113229
<adyatlov> ivan: It's still downloading. Is there any way to see what it is downloading?
Byp33 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #113189 → qemu: guard desktop file removal → https://github.com/NixOS/nixpkgs/pull/113189
<ivan> adyatlov: probably the thing listed in the derivation :-)
<adyatlov> ivan: I don't understand what you mean
<adyatlov> nix-env spits out all sorts of things but it can't tell me what it's downloading?
<tpw_rules> adyatlov: i don't think the nix-env passes through the terminal control codes curl uses to update the display
<adyatlov> tpw_rules: it finished after 15m. https://paste.c-net.org/ChevronOutgoing
<adyatlov> Somehow it lied about the 100%
<tpw_rules> like i said i think the 100% is just HTTP headers
<ivan> that was the other thing
<adyatlov> The other thing?
<adyatlov> Which thing
<tpw_rules> but nix doesn't show the progress line because curl never outputs a \n
<ivan> oh I see
<ivan> github doesn't tell you the length of the archiv
<tpw_rules> github does
<tpw_rules> it's a problem in nix
<ivan> tpw_rules: I don't see the download size in chrome
<tpw_rules> i see it in firefox
<ivan> Length: unspecified [application/x-gzip]
<tpw_rules> i'm confused, it's not showing me the length eithe
<tpw_rules> r
<tpw_rules> in any case, it's not because the length is unspecified
<{^_^}> [nixpkgs] @bobrik opened pull request #113230 → go: use binary bootstrap for all platforms → https://github.com/NixOS/nixpkgs/pull/113230
<tpw_rules> yeah uh it does show me the length
<tpw_rules> maybe it depends on which server you get
<adyatlov> In Gentoo I could tail a particular log file to see parallel downloading output
<tpw_rules> like i said earlier it's a problem in nix-env
<tpw_rules> i don't think you can do it. it does show more if you use nix build -L instead
davidv7 has quit [Quit: Konversation terminated!]
rb2k has quit [Remote host closed the connection]
blahblah441_ has quit [Ping timeout: 246 seconds]
<matthewcroughan> Is there a way, as root, to `nix-env -i` into another user's profile?
davidv7 has joined #nixos
davidv7 has quit [Client Quit]
<tpw_rules> using -p to specify the path to it might work. but i wonder if it would leave the permissions screwed up
<matthewcroughan> how do you list profiles?
oushri has joined #nixos
davidv7 has joined #nixos
rb2k has joined #nixos
mep1911 has joined #nixos
meh` has joined #nixos
FRidh has quit [Quit: Konversation terminated!]
<aleph-> Hmm with delugeweb, have folks seen errors such as this? https://paste.rs/azs Bit of an odd perm issue that seems to be occuring.
<aleph-> And I'm not sure why...
<aleph-> Especially given the perms are extremely permissive and the group/user are set right.
fendor_ has joined #nixos
fendor has quit [Remote host closed the connection]
fendor_ is now known as fendor
<{^_^}> [mobile-nixos] @samueldr merged pull request #300 → Finish stage-0 boot features → https://github.com/NixOS/mobile-nixos/pull/300
fendor_ has joined #nixos
oushri has quit [Ping timeout: 272 seconds]
sigmundv has quit [Read error: Connection reset by peer]
herrin has joined #nixos
oushri has joined #nixos
sigmundv has joined #nixos
lsix has joined #nixos
rb2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewcroughan> prusnak: Hey, I'm trying to use your nixos/docker, and it only sets up the nix profiles for root, do you think there'll ever be a solution to this?
mcwitt has joined #nixos
<matthewcroughan> This means that we can't use any user other than ROOT in any container made with this image.
<prusnak> matthewcroughan: it's not mine, I just contributed - please file an issue on github
<prusnak> @peti has the final word on it
<prusnak> as he's the repo owner
fendor has quit [Remote host closed the connection]
vidbina_ has joined #nixos
fendor_ is now known as fendor
fendor has quit [Read error: Connection reset by peer]
leah2 has quit [Ping timeout: 264 seconds]
<matthewcroughan> ah sorry
fendor has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #113231 → python37Packages.Nikola: 8.1.2 -> 8.1.3 → https://github.com/NixOS/nixpkgs/pull/113231
oushri has quit [Quit: leaving]
<{^_^}> [nixpkgs] @pacien opened pull request #113232 → wrapFish: fix singleton expansion in shell init → https://github.com/NixOS/nixpkgs/pull/113232
zakame has joined #nixos
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #113233 → ryujinx: 1.0.6498 -> 1.0.6574 → https://github.com/NixOS/nixpkgs/pull/113233
<{^_^}> [nixpkgs] @Trundle opened pull request #113234 → ponyc: 0.38.1 -> 0.38.3 → https://github.com/NixOS/nixpkgs/pull/113234
leah2 has joined #nixos
rb2k has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #113235 → python3Packages.ConfigArgParse: 1.2.3 -> 1.3 → https://github.com/NixOS/nixpkgs/pull/113235
<mep1911> hi, i'm trying to install nixos on a rather new Tuxedo Polaris notebook (AMD Ryzen). Booting from the Live-ISO the display manager won't start. I tried the recent stable and unstable versions. With a recent unstable the status says "Failed to read display number from pipe"
mcwitt has quit [Remote host closed the connection]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
<rmcgibbo[m]> I think I had the same problem (? i can't totally remember), and I have an AMD Ryzen 7 4700U. IIRC I had to use a newer kernel.
<Yaniel> yeah the ryzen APUs need very recent kernels
<makefu> +1 for recent kernel otherwise the gpu is not supported
<makefu> boot.kernelPackages = pkgs.linuxPackages_latest;
<Yaniel> that won't help with the live iso though
<mep1911> can't do that on the live iso, no
<Yaniel> not that that matters
<Yaniel> I don't bother with the graphical iso to begin with since the installation is entirely console-based anyway
<{^_^}> [nixpkgs] @blitz opened pull request #113236 → linux: enable kcmp() system call → https://github.com/NixOS/nixpkgs/pull/113236
<colemickens> we even have an iso with a newer kernel
<colemickens> and an issue about it, but I still haven't gotten the link to the latest successful one :P we should have a bot command for it
pie_ has quit [Ping timeout: 256 seconds]
vancz has quit [Ping timeout: 256 seconds]
<colemickens> well, I guess it's the minimal ISO, but this is a dynamic link that points to the latest good build: https://hydra.nixos.org/job/nixos/trunk-combined/nixos.iso_minimal_new_kernel.x86_64-linux/latest/download-by-type/file/iso
<mep1911> to be able to set it on the live iso would help to make sure it would work at all after installation
<colemickens> That's a good point. I don't think it's unreasonable to wish for a newer graphical iso too.
<colemickens> mep1911 is this a blocker for you? Are you capable of making your own ISO, or would providing you with one help keep ya around?
<colemickens> lmk, I'm down to help for a bit if you want.
fabian_a has quit [Ping timeout: 246 seconds]
nhs has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jflanglois opened pull request #113237 → nixos/services/kmscon: fix systemd configuration → https://github.com/NixOS/nixpkgs/pull/113237
Dotz0cat has joined #nixos
helithumper[m] is now known as Helithumper[m]
turion has quit [Ping timeout: 272 seconds]
nhs has joined #nixos
fresheyeball has joined #nixos
<andoriyu> anyone has any luck using remote-ssh from vscode with nixos as target? I've read the wiki, but I'm getting node vesrsion mismatche error
cole-h has joined #nixos
<mep1911> colemickens thx :)  i'll handle it, i used to install arch and such things, but it's not my specialty, i'm out of the loop. nixos is usually easier to install than arch actually afair, can do it almost entirely graphically (with gparted)
<colemickens> mep1911
n-osborne has quit [Remote host closed the connection]
turlando has quit [Remote host closed the connection]
NeoCron has joined #nixos
turlando has joined #nixos
ambroisie has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
vidbina_ has quit [Ping timeout: 265 seconds]
__monty__ has quit [Quit: leaving]
gustavderdrache has quit [Quit: Leaving.]
<{^_^}> [mobile-nixos] @samueldr merged pull request #298 → boot/lib/lvgui: fix libxkbcommon after nixpkgs#108004 → https://github.com/NixOS/mobile-nixos/pull/298
philr has joined #nixos
ahmedelgabri has joined #nixos
n-osborne has joined #nixos
ambroisie has joined #nixos
endformationage has joined #nixos
ahmedelgabri has quit [Ping timeout: 272 seconds]
erasmas has quit [Quit: leaving]
simonpe^^ has quit [Remote host closed the connection]
<{^_^}> [mobile-nixos] @samueldr closed pull request #38 → [WIP] device: add google-taimen → https://github.com/NixOS/mobile-nixos/pull/38
vidbina_ has joined #nixos
zakame has quit [Quit: WeeChat 2.9]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
gustavderdrache has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
zupo has quit [Client Quit]
adyatlov has quit [Quit: Connection closed]
jkt has quit [Ping timeout: 265 seconds]
jkt has joined #nixos
shibboleth has quit [Quit: shibboleth]
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
CcxWrk has quit [Ping timeout: 246 seconds]
qbit has joined #nixos
<qbit> hio! anyone using home-manager with an inherit thing ("//") ? so like: home-manager.users.bob = baseUser // { programs.git = {..} };
snajpa has joined #nixos
<qbit> it seems to not work, but if i set home-manager.users.bob = { programs.git = {..} };
<qbit> it does
jess is now known as j
m0rphism1 has quit [Ping timeout: 265 seconds]
CcxWrk has joined #nixos
lsix has quit [Quit: WeeChat 3.0.1]
<{^_^}> [nixpkgs] @chkno opened pull request #113241 → Run userActivationScripts at login → https://github.com/NixOS/nixpkgs/pull/113241
marsh has quit [Ping timeout: 240 seconds]
fendor has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107838 → python3Packages.moto: 1.3.14 -> 1.3.16 → https://github.com/NixOS/nixpkgs/pull/107838
<qbit> i guess because "//" doesn't do nested stuff?
<drakonis> still no ruby 3.0 on nixpkgs yet?
<tpw_rules> qbit: yes, that syntax would override all of the programs attribute from baseUser
<qbit> is there a way to inherit baseUser, and allow modifying it?
<tpw_rules> i think there's a function but i can't recall it, or if it works in this situation
<tpw_rules> you could say home-manager.users.bob = baseUser // { programs = baseUser.programs // {git = {..};} };
mmmattyx has joined #nixos
K0kada has joined #nixos
<tpw_rules> alternately, because of how nix combines options, i believe you could just say home-manager.users.bob = baseUser; home-manager.users.bob.programs.git = {...};
<qbit> hm. i tried that, but it errored with "programs.git already defined"
<cwslimy[m]> <tpw_rules "you could say home-manager.users"> What operation is `//`?
<tpw_rules> a // b is the attribute set a with any attributes defined by b replaced by their values in b
<{^_^}> #107933 (by marsam, 6 weeks ago, open): ruby_3_0: init 3.0.0
<cwslimy[m]> tpw_rules thanks
jimmiehansson has quit [Remote host closed the connection]
<drakonis> ah, good.
thedodger[m] has joined #nixos
janneke has quit [Quit: janneke quits Mes'sing]
janneke has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
<qbit> maybe lib.attrsets.recursiveUpdateUntil could be of use in this case?
zebrag has joined #nixos
<qbit> recursiveUpdate oo
<qbit> that did it!
vidbina_ has quit [Ping timeout: 240 seconds]
marsh has joined #nixos
wnklmnn has quit [Quit: Leaving]
joebobjoe has joined #nixos
<joebobjoe> hello
<joebobjoe> is nix on mac still in its piss poor sorry broken state?
rdk31 has quit [Quit: Connection closed]
<matthewcroughan> joebobjoe: Is MacOS still in its proprietary, unmaintainable state?
<joebobjoe> please pull the software