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
matthiaskrgr has joined #nixos
nikivi has joined #nixos
zeta_0 has joined #nixos
zeta_0 has quit [Client Quit]
zeta_0 has joined #nixos
zeta_0 has left #nixos [#nixos]
kaivai has joined #nixos
<cmcaine[m]> pulseaudio isn't started automatically for me. Any ideas? If I run pulseaudio -D in a terminal, then I can get audio.
<cmcaine[m]> I have these lines in configuration.nix:
<cmcaine[m]> hardware.pulseaudio.support32Bit = true; # for compat with 32bit apps
<cmcaine[m]> hardware.pulseaudio.enable = true;
<cmcaine[m]> sound.enable = true;
<energizer> cmcaine[m]: systemctl --user status pulseaudio.service
<cmcaine[m]> Hmm. Maybe I know what's wrong with this.
<energizer> `journalctl --user -xe` see if you can find the reason
<hexa-> systemctl --user status pulseaudio.socket
<hexa-> and yeah, look through the journal if it fails to start
<cmcaine[m]> Yeah, it didn't start after I did a nixos-rebuild, so I put it in my .xinitrc and that seems to have interfered with the systemd unit.
<cmcaine[m]> Thanks all. I didn't realise it was managed through systemd
alp has quit [Ping timeout: 272 seconds]
ramses_ has quit [Ping timeout: 246 seconds]
<cmcaine[m]> How do I go about debugging a nix file? I posted one earlier that I'm trying to write, but the tutorials I've looked at are contradictory
<ldlework> cmcaine[m]: --show-trace, builtins.trace and ... uh... that's it?
<cmcaine[m]> This one https://nixos.wiki/wiki/Packaging/Tutorial suggests running `nix-shell '<nixpkgs>' -A hello`
drakonis has joined #nixos
mnoronha has joined #nixos
<cmcaine[m]> But when I run that replacing `hello` with something else, it can't find my stuff, and I don't know how I get my file included :/
<mnoronha> (Sorry if this is double-sending, not sure if my message just now went through)
<mnoronha> I'm using a shell environment with jupyter, and I installed some packages using pip into a virtualenv that weren't in nixpkgs. The jupyter kernel can't access them, presumably because it's running with the python binary in the nix store, not the one from the virtual environment
<mnoronha> Is there a solution besides installing jupyter with pip?
drakonis2 has joined #nixos
drakonis_ has quit [Ping timeout: 265 seconds]
<cole-h> cmcaine[m]: So, `nix-shell '<nixpkgs>' -A hello` looks for the package `hello` in `<nixpkgs>` (which is just a fancy way to refer to where nixpkgs is located). If the package you're trying to debug is not in nixpkgs, that won't work.
leo60228 has quit [Remote host closed the connection]
<cmcaine[m]> cole-h: yup, I get that, but I don't know how I get that to work with, say, a blah.nix I've written.
<cole-h> cmcaine[m]: Also, did you not see the link to the nixpkgs derivation for hub I posted earlier? https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/version-management/git-and-tools/hub/default.nix
jluttine has quit [Ping timeout: 246 seconds]
<cmcaine[m]> cole-h: Yes, I saw that and installed it, thank you :)
<cmcaine[m]> I'm doing this now to try and work out if I want to stick with nix.
drakonis has quit [Ping timeout: 260 seconds]
<cole-h> To do that with your own `.nix` file, you could do `nix-shell -E '(import <nixpkgs> {}).callPackage /path/to/file.nix {}'`
<{^_^}> [nixpkgs] @kini opened pull request #89232 → sbcl: add option to disable immobile space → https://git.io/Jf6IB
<cmcaine[m]> Installing hub in the traditional way (get source, cd, run make) works without any issue at all. But so far I can't work out how to make a nix package from it at all
<{^_^}> [nixpkgs] @romildo opened pull request #89233 → iconpack-obsidian: 4.11 -> 4.12 → https://git.io/Jf6I0
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Jf6IE
<{^_^}> [nixpkgs] @pasqui23 opened pull request #89234 → kwin: applying @tildearrow 's low latency patch → https://git.io/Jf6Iu
jluttine has joined #nixos
<manveru> ,locate bin hub
<{^_^}> Found in packages: gitAndTools.hub.bin, haskellPackages.hub
<cmcaine[m]> Yes, cole-h pointed it out to me earlier.
<cmcaine[m]> The point is, if I'm going to use a weird OS where you have to jump through hoops to get binaries to work or some sources to build, I should understand the hoop-jumping language
<cmcaine[m]> And there should be some benefit to jumping them hoops.
<abathur> cmcaine[m]: do you suspect there's no benefit?
<cmcaine[m]> Or I should go back to arch, where I understand how things work much better. Which isn't a diss on this project - it can be good and I can not get it.
<energizer> what's your question cmcaine[m]?
<cmcaine[m]> abathur: I think there's some benefit, or I wouldn't have installed it to start with ;)
<manveru> `nix edit nixpkgs.gitAndTools.hub` :)
<cmcaine[m]> manveru: so my issue with that is that it does some special stuff for go packages.
<energizer> mnoronha: you can't mix and match different pythons
<cmcaine[m]> manveru: But from my perspective, all I needed to do was clone, cd, make
<energizer> mnoronha: (in a single venv)
<cmcaine[m]> So I think I should be able to make a derivation that does something similar.
<energizer> mnoronha: you can install packages that aren't in nixpkgs with nix
<energizer> mnoronha: my suggestion would be using poetry to define the set of packages you want (including jupyter) and using poetry2nix to get them
eoli3n_ has quit [Ping timeout: 265 seconds]
<manveru> cmcaine[m]: not sure what you mean... you want to install all software using make?
<{^_^}> [nixpkgs] @7c6f434c merged pull request #89232 → sbcl: add option to disable immobile space → https://git.io/Jf6IB
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jf6IS
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<cole-h> cmcaine[m]: You may want to check out the Nixpkgs manual, as well as nix-1p: https://nixos.org/nixpkgs/manual/ and https://github.com/tazjin/nix-1p
<cmcaine[m]> manveru: no, I want to be able to take a package I know how to build without nix, and make it into a nix package without loads of effort.
growpotkin has joined #nixos
<cmcaine[m]> And without relying on someone else's build file.
<energizer> cmcaine[m]: that's not hard to do, the build${language}Package functions makes it a little
<energizer> easier
<cmcaine[m]> If I can write a shell script that could build the binaries and put them in the right dirs, then I want writing the nix expression and integrating that into my local setup to be about as easy.
<energizer> sure you can do that
<cmcaine[m]> cole-h: Thanks, I've been skimming the manual, but I'll try nix-1p :)
<cole-h> cmcaine[m]: So, the problem with just using the provided makefile is that go attempts to 1) access the network; and 2) access $HOME -- both of which are disallowed in the sandbox.
<energizer> cmcaine[m]: i think you're probably looking for stdenv.mkDerivation which has "buildPhase" "installPhase" etc corresponding to what you're talking about
urkk has joined #nixos
urkk_ has quit [Ping timeout: 246 seconds]
<evils> ,escape ${
<{^_^}> Escape this in '' strings with: ''${
<{^_^}> Escape this in " strings with: \${
<cmcaine[m]> energizer: I was trying that, and this is what I've got so far: https://clbin.com/254Vo
<cole-h> Which is why you need to somehow work around this, or just use the `buildGoModule` function that handles this for you.
philr has joined #nixos
<cmcaine[m]> Is there some way of relaxing the sandbox, or do you have to wrap each dependency as a nix function of its own?
<cmcaine[m]> And thanks both :)
<cole-h> You can relax the sandbox, but then what's the point of using Nix?
<energizer> cmcaine[m]: you can see what buildGoPackage is doing https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/go-packages/generic/default.nix
<cole-h> You don't need to wrap each dependency, no. You should probably look at what buildGoModule does to see how it achieves the "fetching dependencies, then using these dependencies in a hermetic build"
gustavderdrache has joined #nixos
magnetophon has quit [Ping timeout: 258 seconds]
teto has quit [Ping timeout: 246 seconds]
marusich has joined #nixos
o1lo01ol1o has joined #nixos
<simpson> And of course it should usually be theoretically possible to glue multiple derivations together into a single franken-pile of builders. But indeed, what would be the point of Nix?
sigmundv_ has joined #nixos
<cmcaine[m]> I mostly just want reproducible environments and declarative package management.
<energizer> nix is the tool for that job
<cmcaine[m]> I don't think those are compromised by a package having a strange build process, but I understand that I don't understand a lot about nix at the mo.
<simpson> It's not just a strange build process or a wrapper. It's a fundamentally different approach to tracking dependencies compared to the typical package manager. Rewriting the world is to be expected.
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<cmcaine[m]> To contrast, the programming language Julia cares a lot about reproducibility. So the community have built systems to provide binaries blobs of non-julia dependencies (like, I dunno SDL or GEOS).
hoplaahei has joined #nixos
<cmcaine[m]> Those binaries are made in some kind of containerised environment, that records what you do to something like a dockerfile, but the upshot for me as a developer is that I can just depend on various dumb scientific libraries that have horrible build systems and I just download a blob that's guaranteed to work with Julia and my system.
<energizer> sure you can do that here too
mnoronha has quit [Remote host closed the connection]
<hoplaahei> hi. If I use nix on another OS, will packages that run as daemons and e.g., run elevated privilege commands such as shutdown still work?
<energizer> you can download a binary blob at build time as long as you know its hash in advance
reallymemorable has joined #nixos
<simpson> hoplaahei: To a limited extent, yes. Integration with your OS's service management is done per-OS; if you're not on Darwin then you may be in for a bumpy ride.
<cmcaine[m]> simpson: could you elaborate on "fundamentally different approach to tracking dependencies"? Do you say this because e.g. two packages can depend on different versions of the same dependency? Or something else?
<simpson> cmcaine[m]: The traditional approach is codified in the FHS, and it says that dependencies live in specific locations on the root filesystem, an ambient mutable data store. Nix packages are immutable and, in typical usage, must be used explicitly by reference.
jluttine has quit [Ping timeout: 260 seconds]
<simpson> It happens that yes, two different versions of a single package might be includable in a single derivation's inputs. But this is just one small part of the flexibility gained by removing dependence on the filesystem's layout.
drakonis has joined #nixos
<cmcaine[m]> energizer: Cool, yeah. And the reason you care about touching the network is you want to be able to cache all the files that Nix packages touch on some server somewhere and be able to recreate systems in perpetuity?
<cmcaine[m]> Or is there some other reason?
drakonis_ has joined #nixos
<abathur> the network could do anything?
<cmcaine[m]> And as for not touching home, I don't really get that one. Why not just give the build environment a chroot or something to work in? It can touch a home dir there and nothing bad happens.
<simpson> In particular, The Network can adaptively return any bundle of bytes for any query. So we must double-check that everything retrieved from the network really has the claimed size and hash.
konobi has quit [Remote host closed the connection]
<energizer> cmcaine[m]: that's basically what happens. you can make any directories you want inside the sandbox. nix just doesn't provide those by default
konobi has joined #nixos
drakonis2 has quit [Ping timeout: 272 seconds]
<evils> ,escape /${
<{^_^}> Escape this in " strings with: /\${
<{^_^}> Escape this in '' strings with: /''${
<energizer> and then those directories will be inaccessible outside the sandbox, so there's not usually much point to doing that
drakonis has quit [Ping timeout: 260 seconds]
<abathur> cmcaine[m] may be thinking about it backwards? Nix cares more about $HOME getting into the package than the package messing with $HOME
<evils> ,escape "\${
<{^_^}> Escape this in " strings with: \"\\$\{
<{^_^}> Escape this in '' strings with: "\''${
<evils> but what about " strings nested in '' xD
<cmcaine[m]> re: network, Sure, but if we're talking about golang or something, it's going to be validating hashes against a manifest anyway. I only care that the package build eventually succeeds once, then I've got a binary blob that I can cache forever.
<cmcaine[m]> Is the point just to vendor all the dependencies on a common infrastructure so that the whole system can be built from source?
marcusr has quit [Remote host closed the connection]
<cmcaine[m]> What's the harm?
<cmcaine[m]> abathur: but it seems like nix-build stops a package building environment from accessing HOME. I just don't know why it doesn't permit access to some empty dir and call that HOME so that the build systems don't get confused.
<cmcaine[m]> Thanks all for humoring my questions
<cmcaine[m]> I'm trying to understand :)
<abathur> to break it for depending on home
<abathur> so it can be fixed, iirc
marcusr has joined #nixos
reallymemorable has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<cmcaine[m]> Just because looking at the home dir is a heuristic that something wacky is going on?
jluttine has joined #nixos
<cmcaine[m]> Because if every time we build, we always offer an empty home dir, that seems safe and reproducible to me?
<abathur> not if the program expects files it wrote to $HOME to actually exist there to run?
NeoCron has quit [Ping timeout: 260 seconds]
<cmcaine[m]> It looks like in the stdenv.mkDerivation, the person who writes the file is expected to know what files to pull out and out in $out, and everything else is thrown away.
<cmcaine[m]> So why is $HOME special?
<cmcaine[m]> Compared to e.g. the source dir or anything else you download?
<cmcaine[m]> * pull out and put in out
h0m1 has quit [Ping timeout: 265 seconds]
h0m1 has joined #nixos
<abathur> top of page 112
m0rphism has quit [Ping timeout: 240 seconds]
<abathur> if you want to second-guess the whole design you should probably go write a forum post or an email or something rather than grilling random people on IRC
<cmcaine[m]> My apologies, I didn't mean to grill anyone, I'm mostly looking for introductory materials (which I now have links for) and asking questions that I wasn't expecting to be so difficult.
<infinisil> evils: Those are just " strings :)
<simpson> cmcaine[m]: The answers to the questions are pretty easy, from beyond the looking glass. p190 of the thesis relates disconnecting from $HOME to the idea that "the component has no environment dependencies" at time of build; we shouldn't have to set up some special environment to build packages, besides the explicitly-described environment in each package's derivation.
<simpson> Rather than using heuristics to probe for purity, Nix starts from pure assumptions and then relaxes them a bit according to practical concessions.
<abathur> it's fair to be curious; you're just mostly asking people who didn't design the system about design questions that are probably better answered by talking to eelco, or a long theoretical discussion on the forum, or reading the thesis
tmaekawa has joined #nixos
<abathur> it just isn't a great venue for getting good answers to good questions
<abathur> erg, that came off as more of an IRC diss than I mean
<abathur> it's just a limited form for a deep discussion that actually lays things out; it's ephemeral and the people who know best don't have time to explain it every time it comes up on IRC
tmaekawa has quit [Quit: tmaekawa]
MmeQuignon has quit [Ping timeout: 246 seconds]
<evils> infinisil: the " didn't come through, i had to escape it too, `\"\''${` in ''
<infinisil> > '' "\''${ ''
<{^_^}> "\"\\${ "
<infinisil> Works without escaping here?
<cmcaine[m]> abathur: simpson thanks both. I'll do some more reading and come back another day :)
<cmcaine[m]> And I'll try the thesis first where I have questions about design. It's nice to have primary sources!
<evils> > '' echo \"\''${PATH}\" ''
<{^_^}> "echo \\\"\\${PATH}\\\" "
<abathur> <3 cmcaine[m]
<{^_^}> cmcaine[m]'s karma got increased to 1
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/5a462920ca6 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<abathur> cmcaine[m]: forum's at discourse.nixos.org btw
reallymemorable has joined #nixos
<cmcaine[m]> Yup, I got some help on there earlier about an issue with zsh :)
reallymemorable has quit [Client Quit]
LevelChart8 has joined #nixos
<LevelChart8> If I pull a github repo to my machine (Javascript project), and I want to use nix-shell to manage the development environment, does that git repo need to be a subdir of a dir that holds the shell.nix file?
<cmcaine[m]> LevelChart8: I think maybe you want to read about niv and lorri? https://github.com/nmattia/niv
<cmcaine[m]> Maybe not lorri, at least initially.
<simpson> LevelChart8: Nope. In fact, I usually keep my shell.nix in the root, and just don't check it in. I also keep my .envrc in the root, when using direnv, and don't check that in either. (Obviously they *can* be checked in, if you intend for folks to use a direnv workflow!)
<abathur> LevelChart8: no; you can write it in the project directory but not git add it if you want
<LevelChart8> Is there an idiot-friendly guide for setting up shell.nix
jluttine has quit [Ping timeout: 264 seconds]
codygman has quit [Ping timeout: 256 seconds]
codygman has joined #nixos
<hpfr[m]> Anyone manage their emacs config with nix? You’d lose out on editing it on the fly...
<gchristensen> I do
codygman has quit [Read error: Connection reset by peer]
<qyliss> I do
codygman has joined #nixos
<qyliss> Usually it's enough to be able to evaluate-sexp on the bit I just edited
<gchristensen> though I edit my config roughly every time adisbladis is annoyed by my config.
<qyliss> *eval-last-sexp
fusion809 has joined #nixos
jluttine has joined #nixos
<qyliss> My emacs config is one of the only configurations I haven't published because I'm so ashamed of it
<{^_^}> [nixos-search] @garbas pushed to one-index-per-channel « use one index per channel »: https://git.io/Jf6tb
<hpfr[m]> gchristensen: do you do a similar thing to qyliss where you eval sexp’s as needed
<gchristensen> yeah, but I cant stress enough how little I configure emacs
<{^_^}> [nixos-search] @garbas opened pull request #54 → use one index per channel → https://git.io/Jf6tN
<simpson> LevelChart8: https://bpa.st/SR4Q might get you up and running, for a development environment.
codygman has quit [Ping timeout: 260 seconds]
<hpfr[m]> Alright, thanks y’all
<LevelChart8> simpson: I drop that in a file called shell.nix?
<simpson> Yes.
<hpfr[m]> <gchristensen "yeah, but I cant stress enough h"> But that’s the point haha
<LevelChart8> where do i put it
<gchristensen> yeah, for that reason I've considered going back to vim
codygman has joined #nixos
<hpfr[m]> gchristensen I would consider doom emacs if you want something opinionated and configured
<simpson> You'd put shell.nix in the root of your project, and then when you run nix-shell in your root, it'll first look for shell.nix, then for default.nix. Check the man page for more information; nix-shell can do many things.
<LevelChart8> But it would be one dir above the local copy of the github repo
<abathur> why?
<LevelChart8> Is that directed at me?
<abathur> yes
<abathur> you asked, and he said, but then you refuted what he said, so--why?
<LevelChart8> I am trying to understand what "at the root of my project" means if I don't want it synced to github
<LevelChart8> that was a question
<simpson> Just don't check it in.
<LevelChart8> sorry, I forgot the question mark
<abathur> a git repo won't sync anything you don't commit
<simpson> If you like, use .gitignore.
<LevelChart8> Oh, yes.
<LevelChart8> I understand now
<LevelChart8> Thank you.
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
<{^_^}> [nixpkgs] @evils opened pull request #89235 → tuptime: 4.1.0 -> 5.0.0 → https://git.io/Jf6qZ
urkk has quit [Ping timeout: 246 seconds]
urkk has joined #nixos
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
codygman has quit [Read error: Connection reset by peer]
proofofkeags has quit [Ping timeout: 272 seconds]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
felixfoertsch23 has joined #nixos
aw has joined #nixos
spacefrogg has joined #nixos
felixfoertsch23 is now known as felixfoertsch
felixfoertsch has quit [Ping timeout: 246 seconds]
growpotkin has quit [Quit: ZNC 1.8.0 - https://znc.in]
fuzen has quit [Quit: Ping timeout (120 seconds)]
mumuluxi has quit [Quit: ZNC 1.7.5 - https://znc.in]
meatcar has quit [Quit: bye bye.]
mumuluxi has joined #nixos
fuzen has joined #nixos
maxter has quit [Remote host closed the connection]
eyJhb has quit [Quit: Clever message]
meatcar has joined #nixos
meatcar has quit [Changing host]
meatcar has joined #nixos
detran has quit [Quit: ZNC 1.7.5 - https://znc.in]
eyJhb has joined #nixos
eyJhb has quit [Changing host]
eyJhb has joined #nixos
detran has joined #nixos
maxter has joined #nixos
inkOne__ has quit [Ping timeout: 260 seconds]
mkaito_ has quit [Ping timeout: 260 seconds]
MarcWeber has quit [Ping timeout: 260 seconds]
cybertron has quit [Ping timeout: 260 seconds]
statusfailed has quit [Ping timeout: 260 seconds]
sshow has quit [Ping timeout: 260 seconds]
epta has quit [Ping timeout: 260 seconds]
electrocat has quit [Ping timeout: 260 seconds]
electrocat has joined #nixos
lejonet has quit [Ping timeout: 260 seconds]
suchar has quit [Ping timeout: 260 seconds]
statusfailed has joined #nixos
inkOne__ has joined #nixos
cybertron has joined #nixos
MarcWeber has joined #nixos
sshow has joined #nixos
suchar has joined #nixos
lejonet has joined #nixos
mkaito_ has joined #nixos
oida has quit [Ping timeout: 240 seconds]
<turq> (...).env in shell.nix somehow grabs the .env from default.nix. how is that? is (...).FOO equivalent to calling a function or using a getter in OOP?
gustavderdrache has quit [Quit: Leaving.]
urkk_ has joined #nixos
urkk has quit [Ping timeout: 246 seconds]
<energizer> what languages are you familiar with turq?
<LevelChart8> do most people use Home Manager to handle their git credentials?
<energizer> what kind of creds do you need to manage LevelChart8?
<LevelChart8> just my key so i can git clone from my github repos
oida has joined #nixos
sigmundv_ has quit [Ping timeout: 258 seconds]
<energizer> LevelChart8: anything that goes in /nix/store is world readable, so you dont want secrets in there
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d7e56965740 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<energizer> so dont do your ssh keys that way
<LevelChart8> how do you do your ssh keys
<energizer> i just have them mutable in ~/.ssh/, but people do it different ways
<energizer> there's a blog post that someone probably has the link to
<ldlework> I have this ~/.config/nixpkgs/overlays/leela13.nix : https://gist.github.com/dustinlacewell/bba56a17c8b73a6cb3e8066dcd2d0226
<ldlework> but `nix-env -i leela13` says: error: selector 'leela13' matches no derivations
<ldlework> what gives?
epta has joined #nixos
<energizer> i think ~/.config/nixpkgs/overlays/ is a fallback that only gets checked if higher priority things doesn't exist
<energizer> i forget what those things are tho
<ldlework> hmm that package doesn't exist though
xss517 has joined #nixos
<ldlework> I just accidentally saved over a file
<ldlework> a nix file, one that provides an installed package
<ldlework> anyway to recover it?
medvid_ has joined #nixos
<ldlework> damn why did i do that :(
<{^_^}> [nixpkgs] @marsam merged pull request #89228 → act: 0.2.8 -> 0.2.9 → https://git.io/JfKjW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf6md
medvid has quit [Ping timeout: 265 seconds]
<DigitalKiwi> have you heard of zfs snasphots
medvid has joined #nixos
<DigitalKiwi> or snapshots
<DigitalKiwi> the former is exclusive to me only i have snasphots
<DigitalKiwi> and you can't have them
Supersonic112 has joined #nixos
Supersonic has quit [Disconnected by services]
<{^_^}> [nixpkgs] @marsam merged pull request #89231 → jc: 1.10.12 -> 1.11.1 → https://git.io/Jf6kW
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf6mh
Supersonic112 is now known as Supersonic
<{^_^}> [nixpkgs] @marsam merged pull request #89230 → cocoapods: 1.9.2 -> 1.9.3 → https://git.io/Jf6U3
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jf6mj
medvid_ has quit [Ping timeout: 256 seconds]
xss517 has quit []
hoplaahei has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @veprbl merged pull request #88776 → vamp-plugin-sdk: 2.9 -> 2.10 → https://git.io/JfaAz
adam[m]1 has joined #nixos
<{^_^}> [nixpkgs] @veprbl pushed commit from @r-ryantm to master « vamp-plugin-sdk: 2.9 -> 2.10 »: https://git.io/Jf6Yc
waleee-cl has quit [Quit: Connection closed for inactivity]
LevelChart8 has quit [Ping timeout: 240 seconds]
thelounge61 has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #85293 → gitlab: 12.8.10 -> 12.10.6 → https://git.io/JfvEt
<{^_^}> [nixpkgs] @globin pushed 7 commits to master: https://git.io/Jf6YV
<ldlework> If you were installing a second version of a package, with a custom patch, along side the original; what is your personal favorite of way of avoiding the names of the binaries colliding?
<ldlework> I did a small writeScriptBin thing
<lovesegfault> can I construct a string from a path that doesn't exist?
<lovesegfault> like I want to pass /foo/bar/imnothere to a function that does (path: lib.warn "path doesnt exist!!" false)
<{^_^}> [nixpkgs] @zowoq opened pull request #89236 → .editorconfig: fix for node-packages → https://git.io/Jf6Yi
<{^_^}> [nixpkgs] @Gabriel439 opened pull request #89237 → Nixpkgs support for `dhall-to-nixpkgs` → https://git.io/Jf6YM
is_null has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Quit: WeeChat 2.7.1]
justanotheruser has joined #nixos
medvid_ has joined #nixos
KindTwo has joined #nixos
KindOne has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @tomfitzhenry opened pull request #89238 → Remove the deprecated 'copy_file_from_host' from the manual → https://git.io/Jf6Yd
medvid has quit [Ping timeout: 256 seconds]
<angerman> why is there no `nix-build-on <user@host> <nix-build-args>` That would basically do `nix-copy-closure --to <user@host> $(nix-instantiate <nix-build-args>) && ssh <user@host> 'nix-build $(nix-instantiate <nix-build-args>)', and then nix-copy-closure --from ...?
<lovesegfault> angerman: The right way to do this is to set up a remote builder
KindTwo is now known as KindOne
<angerman> lovesegfault: well that does not work if you local and remote systems are not identical.
<lovesegfault> angerman: Define identical
<angerman> That's what I tried at first, but then nix (on x86_64/macOS) tried to execute some `bash` build for aarch64/linux.
<lovesegfault> angerman: You can set remote builders of different architectures
<lovesegfault> I do it to work
<lovesegfault> one moment
<angerman> lovesegfault: I know.
<{^_^}> [nixpkgs] @mt-caret closed pull request #61873 → katex: init at 0.10.2 → https://git.io/fj4DE
<angerman> --option builders 'ssh://user@host aarch64-linux /poath/to/key <cores> <jobs>'
* lovesegfault nods
<angerman> or maybe I've messed up cores, and jobs.
<lovesegfault> you're missing a speedFactor
<angerman> still that ends up trying to execute bash for aarch64-linux on my mac. I don't discount this being a bug in the nix expressions... it's not the first time this happened htough.
<lovesegfault> Yeah that really shouldn't happen
<clever> angerman: are you using `--optino system` ?
<lovesegfault> trace: <PRIMOP>
<lovesegfault> why can't trace give me what I want? :(
<angerman> clever: yep
<clever> angerman: that would be your problem then
<clever> angerman: --option system aarch64-linux tells nix that your current cpu is aarch64
<clever> so it trusts you, and tries to run aarch64 binaries
<angerman> another day another surprise :-/
<clever> you want to instead set the system arg of nixpkgs to that, `import <nixpkgs> { system = "aarch64-linux"; }` and leave the --option alone
<clever> then it will want aarch64, but find it doesnt match the host, so it will look for a builder
<lovesegfault> You can do --argstr system aarch64-linux
<clever> if the default.nix your loading is nixpkgs, yeah
* lovesegfault nods
<lovesegfault> ARGH how can I get trace to show me the damn thing I'm tracing?
<clever> lovesegfault: how are you calling it?
<lovesegfault> It keeps complaining it can't cast a list to a string, so I'm trying to trace the value that supposedly is a list and it's exploding
<lovesegfault> clever: one moment, let me link it
<angerman> alright let me try to replace option with argstr.
<clever> lovesegfault: line 3, the problem is that trace takes 2 args `builtins.trace "foo" "bar"` will print "foo", but return "bar"
<clever> lovesegfault: so, line 3 will print self.lib.tail (the function), and then return the list
<lovesegfault> Argh
<lovesegfault> clever: is it possible to convert path to a string _even_ if the path doesn't exist?
<clever> > toString ./path/does/not/exist
<{^_^}> "/var/lib/nixbot/state/nixpkgs/path/does/not/exist"
<lovesegfault> oh, cool
<clever> if you toString a path, it returns its original location
<lovesegfault> so my thing is right
<clever> > "${./.}"
<{^_^}> access to path '/var/lib/nixbot/state/nixpkgs' is forbidden in restricted mode
<lovesegfault> how can I heh
<clever> but if you treat the path as a string (dont toString it), then it will copy to the store
<clever> and return the path to the copy instead
<lovesegfault> clever: how can I get the last element of a list?
<lovesegfault> as an element, not a singleton
<clever> hmmm, yeah, tail is not the last element, but rather, the 2nd element onward
<clever> for haskell style `x:rest = list` pattern matching
<lovesegfault> :(
<lovesegfault> Wtf
<clever> > builtins.tail [ 1 2 3 ]
<{^_^}> [ 2 3 ]
* lovesegfault screams
<clever> lovesegfault: oh, you want basename right?
<lovesegfault> clever: yep
<lovesegfault> basename of a path that may or may not exist
<clever> baseName = baseNameOf (toString name);
<clever> ,xy
<{^_^}> xyproblem is when you want to do X, and you think Y is how, so you ask about Y instead of X. See <http://www.perlmonks.org/index.pl?node_id=542341> or <http://mywiki.wooledge.org/XyProblem>
medvid has joined #nixos
<lovesegfault> where does baseNameOf come from?
<clever> > baseNameOf ./foo/bar
<{^_^}> "bar"
<clever> > baseNameOf
<{^_^}> <PRIMOP>
<lovesegfault> builtins?
<clever> its part of the c++ builtins, but not in the builtins set
<lovesegfault> O.o
medvid_ has quit [Ping timeout: 246 seconds]
<lovesegfault> clever: success!
<lovesegfault> thanks!
<lovesegfault> clever++
<{^_^}> clever's karma got increased to 452
orivej has quit [Ping timeout: 256 seconds]
medvid_ has joined #nixos
medvid__ has joined #nixos
medvid has quit [Ping timeout: 240 seconds]
medvid_ has quit [Ping timeout: 260 seconds]
palo1 has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
marusich has quit [Quit: afk means offline :D]
codygman has quit [Read error: Connection reset by peer]
xelxebar has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
xelxebar has joined #nixos
codygman has quit [Ping timeout: 260 seconds]
codygman has joined #nixos
<{^_^}> [nixpkgs] @globin opened pull request #89239 → gitlab: 12.10.8 -> 13.0.3 → https://git.io/Jf634
codygman has quit [Ping timeout: 240 seconds]
codygman has joined #nixos
NoctisLabs has quit [Ping timeout: 240 seconds]
ok2` has quit [Ping timeout: 246 seconds]
user_0x58 has quit [Quit: Leaving]
NoctisLabs has joined #nixos
drakonis1 has quit [Quit: WeeChat 2.8]
ok2` has joined #nixos
alp has joined #nixos
<simpson> Is there a way to know how old the current (nixpkgs) channel is? I want to know how long it's been since system.autoUpgrade's timer last ran, which I can get from systemd, but I also want to know how fresh the autoupgraded nixpkgs is.
alp has quit [Ping timeout: 272 seconds]
<energizer> simpson: nixos-version?
noudle has joined #nixos
<simpson> energizer: I guess I could parse that, but I still think that that's a bit oblique.
<energizer> simpson: what kind of answer are you looking for?
<energizer> like, a timestamp or what
<simpson> energizer: Yeah, a timestamp would be great. I want to export this to Prometheus; my current plan is to find some sort of timestamp and then munge it into Prometheus textfile format and use the node exporter.
n5771 has joined #nixos
n5771 has left #nixos [#nixos]
<energizer> simpson: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version' gives the same answer as nixos-version but without the nickname
codygman has quit [Ping timeout: 260 seconds]
<simpson> energizer: That's not nearly precise enough for me, but thanks.
<energizer> nix-env --list-generations gives timestamps too but probably not the info you want
<DigitalKiwi> love when X locks up (but mouse cursor still moves huh) and i have to ssh in from my phone and restart display-manager (hey, at least that worked, sometimes i can't even do that and have to force power off)
<energizer> sometimes that happens when i'm out of ram
<simpson> energizer: Motivating metric: At a glance, which machines have outdated nixpkgs?
<energizer> simpson: what's the relevant meaning of "have"
<energizer> ?
<energizer> like, recently updated channel, or also rebuilt
<simpson> energizer: Well, I'd like both numbers, right? But we could start with the latter. Presumably one would scrape a pair of raw metrics, and then compute a comparison to see whether the last update successfully built.
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b64205d164a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<energizer> simpson: what makes you say not precise enough?
<{^_^}> [nixpkgs] @Mic92 merged pull request #89236 → .editorconfig: fix for node-packages → https://git.io/Jf6Yi
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jf6st
<simpson> energizer: Hypothetical: There was an update 16hrs ago to nixpkgs. My system.autoUpgrade across the fleet is set to once per 24hrs, the default. So about a quarter of the fleet won't already have it, by expectation; which machines would those be?
ddellacosta has quit [Ping timeout: 246 seconds]
<energizer> simpson: i have a computer on which nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
<energizer> "20.09pre226148.0f5ce2fac0c"
<energizer> i imagine that hash corresponds to some git commit
<simpson> On at least one machine, I get "20.09pre-git" which seems not-wrong.
<energizer> might be worth looking at the source of lib.version to see what it's doing
<energizer> there's even some {^_^} command to do that but i forget
jakob_rs has joined #nixos
<jakob_rs> What's the policy on correcting spelling errors?
<{^_^}> [nixpkgs] @FRidh pushed 79 commits to staging-20.03: https://git.io/Jf6sn
<{^_^}> [mobile-nixos] @samueldr opened pull request #154 → Add "fb notify" quirk, fixing motorola-addison touch → https://git.io/Jf6sc
<jakob_rs> It's just a single spelling error.
<energizer> presumably, submit a pr
<jakob_rs> Is it considered bad to submit a pr for just one (minor) spelling error?
<DigitalKiwi> like is it color colour or a real error
<samueldr> I think it's fine
<samueldr> but yeah, it has to be an error :)
<samueldr> DigitalKiwi: or more like realise vs. realize
<samueldr> we all know it's color in code, colour in docs and text
<DigitalKiwi> i still don't know which is right
<jakob_rs> nixos/libvirtd option "onBoot": formally should be formerly (I think)
<DigitalKiwi> i spent probably 10 minutes fighting that on my pi earlier virtualisation...
<samueldr> heh :)
<jakob_rs> Unless there's an alternate meaning of the word "formally" which I don't know of
<samueldr> imagine living in a place where officially you're on the fence, DigitalKiwi https://www.btb.termiumplus.gc.ca/tcdnstyl-chap?lang=eng&lettr=chapsect3&info0=3#zz3
<energizer> jakob_rs: read linus torvalds on small patches https://lkml.org/lkml/2004/12/20/255
<DigitalKiwi> a lot of the british spelling just feel like "cheating at scrabble"
<jakob_rs> At least this text is seen by the end user, so one could argue it's for "professionalism" or whatever
meh` has joined #nixos
<DigitalKiwi> i say make the PR
<DigitalKiwi> i'm one to talk though since i'm bad about making those PRs
<DigitalKiwi> but i wish someone would ;P
<jakob_rs> ... I accidentally PRd my own fork instead of upstream ...
<energizer> jakob_rs: do it
<samueldr> here it's more than spelling, it's another word, which can confuse english-as-a-second-language (ESL) people even more
<samueldr> (or third, or fourth language)
<DigitalKiwi> speaking of prs sigh nobody has even commented on #88882 so i can assume it's perfect and i just need someone to merge it? :D
<{^_^}> https://github.com/NixOS/nixpkgs/pull/88882 (by Kiwi, 5 days ago, open): mlv-app: init at 1.11
<DigitalKiwi> samueldr: i'm EFL and still get confused sometimes :(
<{^_^}> [nixpkgs] @jakobrs opened pull request #89240 → nixos/libvirtd: correct spelling → https://git.io/Jf6sR
<DigitalKiwi> EOL
<samueldr> DigitalKiwi: huh, patches can be a single file?
<DigitalKiwi> english only language
<samueldr> I thought it had to be a list, but thinking about it, it makes sense that it works because of how it ends up interpreted in bash I guess
<DigitalKiwi> it definitely worked
<DigitalKiwi> i cargo culted it from another package
<samueldr> DigitalKiwi: just saying, when the patches are not for optimizations things, I would say "always apply them", but here it's the right call, since otherwise it'd lose some perfs I gather
<samueldr> a patch that is unconditionally applied will break faster when someone makes an update :)
<DigitalKiwi> i have a kvm of macos now i can install nix on and try to build all of my packages that support macos on... :D
<DigitalKiwi> like i said i was going to do in november
<samueldr> good on you, I started doing that in like 2018, but never finished :)
<{^_^}> [nixpkgs] @Izorkin opened pull request #89241 → nginxMainline: 1.18.0 -> 1.19.0 → https://git.io/Jf6sz
<DigitalKiwi> of 2019 that is just to be clear i've taken a long time not ahead of the curve
<DigitalKiwi> maybe i can document the changes i made to get it to work on nixos...
<samueldr> DigitalKiwi: sorry :) https://github.com/adisbladis/macOS-Simple-KVM
<DigitalKiwi> bah
<samueldr> not saying you shouldn't
<samueldr> do document, and maybe look and see what you did better
<DigitalKiwi> evils: why didn't you send me that one! :P
<jakob_rs> Speaking of macos on libvirt (or KVM), libvirt on macos is broken, in case anybody wants to have a look: #89166
<{^_^}> https://github.com/NixOS/nixpkgs/issues/89166 (by jakobrs, 1 day ago, open): libvirt is broken on x86_64-darwin
<DigitalKiwi> samueldr: lol we did pretty much the same things for the most part
<DigitalKiwi> but i didn't get to adding a shell.nix yet
<{^_^}> [nixpkgs] @samueldr merged pull request #88882 → mlv-app: init at 1.11 → https://git.io/JfV9w
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/Jf6sK
ok2` has quit [Ping timeout: 240 seconds]
<DigitalKiwi> ty samueldr
Heirlung has quit [Read error: Connection reset by peer]
jakob_rs has left #nixos ["WeeChat 2.8"]
<DigitalKiwi> samueldr: and if it doesn't work i'll be fixing it since i have video footage of this i want to process! https://www.dropbox.com/s/afpsje54ey0tyc4/2020-05-29%2023.05.41.jpg?dl=0
Heirlung has joined #nixos
ok2` has joined #nixos
alp has joined #nixos
iyzsong has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @vcunat pushed 3 commits to release-19.09: https://git.io/Jf6Gw
iyzsong has quit [Ping timeout: 246 seconds]
mallox has joined #nixos
iyzsong has joined #nixos
mallox has quit [Client Quit]
asymptotically has joined #nixos
o1lo01ol1o has joined #nixos
<pie_> can I somehow do the equivalent of setting XMODIFIERS=@im=fcitx for an already running process
o1lo01ol1o has quit [Ping timeout: 260 seconds]
thc202 has joined #nixos
maxdevjs has quit [Ping timeout: 246 seconds]
<freeman42x[m]1> I run into the following error and I think it is Nix related: https://gist.github.com/razvan-flavius-panda/8076e6139c10d310566cf282ecb6d915
pjt_014 has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @foxit64 opened pull request #89242 → update yamagi quake 2 - 7.30 => 7.43 → https://git.io/Jf6ZG
quinn has quit [Quit: ZNC 1.7.5 - https://znc.in]
fendor has joined #nixos
<{^_^}> [nixpkgs] @andersk opened pull request #89243 → libversion: Fix unsafe concatenation of $LD_LIBRARY_PATH → https://git.io/Jf6Zl
virus_dave has joined #nixos
<{^_^}> [nixpkgs] @doronbehar closed pull request #84577 → nodePackages.clean-css: rename to clean-css-cli → https://git.io/JvAR4
<{^_^}> [nixpkgs] @doronbehar reopened pull request #84577 → nodePackages.clean-css: rename to clean-css-cli → https://git.io/JvAR4
<{^_^}> [nixpkgs] @doronbehar opened pull request #89244 → gnuradio: 3.7.13.4 -> 3.7.14.0 → https://git.io/Jf6ZX
orivej has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging « glibc: patch CVE-2020-1752 »: https://git.io/Jf6Z1
<balsoft> freeman42x: what's the output of ldd /home/neo/.atom/packages/atom-ide-ui/node_modules/nuclide-prebuilt-libs/pty/build/pty-node-v69-linux-x64/pty.node ?
evanjs has quit [Read error: Connection reset by peer]
<freeman42x[m]1> balsoft: could we discuss this on the ticket itself? would be more useful for other people later
<freeman42x[m]1> No such file or directory
evanjs has joined #nixos
ok2` has quit [Ping timeout: 246 seconds]
jakobrs has joined #nixos
<jakobrs> Is there anything I need to remember if I want to use virtualisation.libvirtd and virt-manager on NixOS?
<jakobrs> I'm specifically thinking about groups, setuid wrappers, polkit stuff, etc
teto has joined #nixos
<balsoft> freeman42x: that file is a dynamically linked executable, right?
ok2` has joined #nixos
<freeman42x[m]1> <balsoft "freeman42x: that file is a dynam"> I do not know, I have not worked with C/C++ since forever
<b42> if you want to use virt-manager under non-root user you need to add him to the libvirt group and also export LIBVIRT_DEFAULT_URI=qemu:///system in your shell
<jakobrs> Should I also touch the kvm group?
__monty__ has joined #nixos
<b42> jakobrs: my user is not in it and things seem to work find
<b42> fine
<jakobrs> alright ty
mthst has joined #nixos
<jakobrs> It seems (according to https://github.com/NixOS/nixpkgs/issues/39618#issuecomment-474421046) that I should also setup a suid wrapper for spice-gtk usb redirection
<b42> perhaps, i have no experience with it
knupfer has joined #nixos
<b42> does anyone know what's the difference between "# packages defined here" and "# packages defined elsewhere" in pkgs/top-level/python-packages.nix?
jakobrs has left #nixos ["WeeChat 2.7.1"]
<adisbladis> b42: I think it's just a remnant from when packages were defined directly in python-packages.nix as opposed to pkgs/development/python-modules
<adisbladis> That file used to be full of inlined packages
<b42> adisbladis: makes sense, thanks!
<{^_^}> [nixpkgs] @Ma27 pushed to master « gitea: 1.11.5 -> 1.11.6 »: https://git.io/Jf6cv
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d82bae4bede (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
parkway-gong has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #89121 → matrix-synapse: 1.13.0 -> 1.14.0 → https://git.io/Jfoww
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jf6c3
o1lo01ol1o has quit [Ping timeout: 265 seconds]
averell has joined #nixos
asbachb has joined #nixos
jmeredith has quit [Quit: Connection closed for inactivity]
<asbachb> Can someone tell me why https://github.com/NixOS/nixpkgs-channels/tree/nixos-20.03 last update was in February but https://github.com/NixOS/nixpkgs/tree/release-20.03 was five days ago?
Avaq has joined #nixos
<Avaq> Hi. I can't find much information on type coercion in Nix. How do I deal with: "cannot coerce an integer to a string"? I want 1337 to simply become "1337" in interpolation.
<balsoft> Avaq: toString 1337
<balsoft> > toString 1337
<{^_^}> "1337"
<Avaq> Thanks :)
<{^_^}> [nixpkgs] @alexarice opened pull request #89245 → agda: install literate files → https://git.io/Jf6ci
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
matthiaskrgr has joined #nixos
chloekek_ has joined #nixos
nikivi has joined #nixos
<freeman42x[m]1> how can I install a package in `configuration.nix` which depends on a broken package? my use-case: https://gist.github.com/razvan-flavius-panda/5f7e3a367bd7cd81db11ee292a9ea257
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d82bae4bede (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<xfix> well, you can fix the broken package, that's about it
is_null has joined #nixos
whatisRT has joined #nixos
m0rphism has joined #nixos
cosimone has joined #nixos
aiverson has quit [Ping timeout: 256 seconds]
meh` has quit [Ping timeout: 260 seconds]
asbachb has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
vegai1 has joined #nixos
mthst has quit [Remote host closed the connection]
mthst has joined #nixos
<freeman42x[m]1> can anyone spot what is wrong with the overlay here (from configuration.nix)? https://gist.github.com/razvan-flavius-panda/5f7e3a367bd7cd81db11ee292a9ea257#gistcomment-3324547 It is not being applied
proofofkeags has joined #nixos
<betawaffle> if you `import` a file multiple times, is it only parsed/evaluated once?
proofofkeags has quit [Ping timeout: 256 seconds]
<Thra11> freeman42x[m]1: I notice that balsoft's comment uses `prev.haskellPackages.override`, while yours does `haskellPackages // { ... }` Does it make a difference if you use override?
NeoCron has joined #nixos
<eyJhb> How can I do a inline allowUnfree?
<eyJhb> `ExecStart = "${pkgs.dropbox-cli}/bin/dropbox start";`but it is unfree
<freeman42x[m]1> Thra11: if I do that I get: error: attribute 'cachix' missing, at /nix/store/iksxxik9x90v5j45l472v0rqkkxc0jcd-nixos-20.03.2015.e7752db2fb6/nixos/pkgs/top-level/all-packages.nix:11061:46
chloekek_ has quit [Ping timeout: 256 seconds]
mthst has quit [Ping timeout: 258 seconds]
<eyJhb> I have nixpkgs.config.allowUnfree = true; in both configuration.nix and the actual file that uses it
o1lo01ol1o has quit [Remote host closed the connection]
Thra11 has quit [Ping timeout: 272 seconds]
c4droid has joined #nixos
<{^_^}> [nixpkgs] @rasendubi merged pull request #89037 → uclibc: 1.0.33 -> 1.0.34 → https://git.io/JfrPW
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/Jf6Wx
<c4droid> Hi, How to change nix mirror with nix.binaryCaches? I don't know how to use this option with lib.mkForce
<LnL> you want to replace the defaults?
<c4droid> LnL: Yes, the defaults is to slow, so I want to change and replace it
<LnL> slow in what way? sounds strange, but yeah mkForce is the way to do that
<c4droid> LnL: because the firewall...
<LnL> nix.binaryCaches = [ "https://cache.example.org" ]; defines new values which are appended to existing entries
<c4droid> LnL: add it to /etc/configuration.nix ?
<LnL> nix.binaryCaches = mkForce [ "https://cache.example.org" ]; defines a new value with higher priority, replacing anything with a lower priority
<LnL> yep
Thra11 has joined #nixos
<LnL> you can also inspect the actual value of options with nixos-option nix.binaryCaches
<{^_^}> [nixpkgs] @mmilata opened pull request #89247 → pythonPackages.bitcoinlib: 0.9.0 -> 0.11.0 → https://git.io/Jf6lq
OmnipotentEntity has quit [Ping timeout: 240 seconds]
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
hmpffff has joined #nixos
CMCDragonkai1 has joined #nixos
<c4droid> LnL: Can be using the new mirror site when installing nixos?
<chrisaw> Just a quick question - in the NixOS Wiki it states that the following should enable native pulseaudio support in all apps which support it - is that still the case? nixpkgs.config.pulseaudio = true;
<chrisaw> ^ Disregard - answered my own question. Yes it does but it's already enabled by default now. Got it.
MmeQuignon has joined #nixos
<makefu> chrisaw: be sure to updat the wiki with this info :)
knupfer has quit [Ping timeout: 260 seconds]
<balsoft> Hi, does anybody know a good way to "copy" a nixos option type? In particular, I'm working on nixoses, trying to add functionality to separate some systemd units from the system. I'd like for users to be able to just copy their unit definitions from nixos config as-is, without the need to rewrite them in text, and I don't want to just copy-paste the modules from nixpkgs.
<balsoft> I'm fine with just evaluating config and then scavenging the units from environment.etc
<balsoft> But I need to set the type for my option.
chloekek_ has joined #nixos
iyzsong has quit [Ping timeout: 246 seconds]
iyzsong has joined #nixos
c4droid has left #nixos [#nixos]
eoli3n_ has joined #nixos
noudle has quit []
ok2` has quit [Ping timeout: 256 seconds]
AmandaC has quit [Ping timeout: 246 seconds]
agsdheidjd has joined #nixos
ok2` has joined #nixos
knupfer has joined #nixos
AmandaC has joined #nixos
<infinisil> balsoft: Is this about https://github.com/Infinisil/nixus which was previously named nixoses?
is_null has quit [Ping timeout: 265 seconds]
romdisc has joined #nixos
<romdisc> I'm confused. The nix-shell command creates an isolated environment. I have an overlay assigned to my shell.nix but it won't get fetched. Is nix-shell an isolation or not?
<romdisc> I downgraded gperf to 3.0.4
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<balsoft> infinisil: yes
<balsoft> Didn't notice the rename :)
rogue_koder_ has joined #nixos
rogue_koder has quit [Ping timeout: 264 seconds]
is_null has joined #nixos
Stuck_ has joined #nixos
<clever> romdisc: how did you assign the overlay in shell.nix?
<romdisc> nix-shell shell/shell.nix with and without --pure
<infinisil> balsoft: You can inspect option types through e.g. `options.environment.systemPackages.type`
<clever> romdisc: can you pastebin the shell.nix?
<balsoft> infinisil: that's what I thought, but it results in stack overflow here
<balsoft> infinisil: https://0x0.st/ifly.txt is what I'm trying to do
<Stuck_> hi, I've been messing around in /sys/class/leds/ath9k-phy0, which is the leds for my wireless driver, and now my wifi doesn't work... how can I reconfigure this stuff in nixos?
o1lo01ol1o has joined #nixos
<balsoft> Stuck_: easiest fix should be to reboot, but I know it's not a very interesting solution :)
<infinisil> balsoft: Can't reproduce with just that
<Stuck_> well The messing around was yesterday, and after a shutdown still doesn't work
<clever> romdisc: why is it not using stdenv.mkDerivation ?
cantstanya has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<clever> romdisc: also gperf doesnt use the version attribute, so overriding version wont actually change the version
<clever> romdisc: you need to override name and src
cantstanya has joined #nixos
<romdisc> name = "gperf"; is obvious. how do I look up the source
<clever> romdisc: look at the original gperf, `nix edit nixpkgs.gperf` and set src the same way, but with the new version and hash
Stuck_ has quit [Quit: leaving]
<romdisc> where do I find the hash
<romdisc> do I need to download and generate
<clever> ,tofu romdisc
<{^_^}> romdisc: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected. See: tofu-vim
Stuck_ has joined #nixos
<Stuck_> \msg balsoft even after a reboot the nmtui doesn't catch wifi...
<balsoft> Stuck_: oh, that's pretty bad. Sounds like you've actually messed up the card.
travelion78 has quit [Quit: bye]
<balsoft> Is it still recognized as a device in lspci/lshw ?
<Stuck_> yes it is
<clever> Stuck_: have you checked rfkill?
<Stuck_> no
<balsoft> Are there any obvious errors in dmesg | grep ath ?
<Stuck_> doesnt seem like there is any error in dmesg
travelion78 has joined #nixos
<Stuck_> hoo, rfkill says that is hard blocked
<clever> Stuck_: that implies you hit the switch to disable wifi
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<Stuck_> in the hardware?
<clever> Stuck_: depends on the machine, some have it in hw, some just have fn+f2 to toggle it in semi-software
<Stuck_> ... that was it, thank you, jesus f*ing christ I feel stupid
<{^_^}> [nixpkgs] @winpat opened pull request #89248 → pytest-factoryboy: init at 2.0.3 → https://git.io/Jf64G
LevelChart8 has joined #nixos
knupfer has quit [Ping timeout: 265 seconds]
Stuck_ has quit [Quit: leaving]
knupfer has joined #nixos
dermetfan has joined #nixos
dermetfan has quit [Client Quit]
dermetfan has joined #nixos
<cyris212> What is the best way to add a package to shell.nix which is not yet in nixpkgs?
is_null has quit [Ping timeout: 256 seconds]
philr has quit [Ping timeout: 246 seconds]
dermetfan has quit [Quit: WeeChat 2.7.1]
dermetfan has joined #nixos
<LevelChart8> Given that NodeJS is on version 12x, would I add the "nodejs" package to my config or "nodejs_v12x"?
<{^_^}> [nixpkgs] @david-sawatzke opened pull request #89249 → maxcso: init at 1.12.0 → https://git.io/Jf64M
<LevelChart8> My intuition is that "nodejs" is the standard that would get updated each time nix is rebuilt.
<betawaffle> is there a nix builtin to read a symlink?
chloekek_ has quit [Ping timeout: 240 seconds]
<teto> cyris212:if it's justfor your personal use, an overlay otherwise just open a PR on github
<balsoft> betawaffle: I think builtins.writeFile "name" (builtins.readFile /path/to/link) should work, but maybe there's a better solution
<xfix> `nodejs` for 20.03 is v10.19.0, if you need specifically Node.js 12, i would use `nodejs-12_x`
<betawaffle> balsoft: i mean to read what a synlink points to, not the contents of the destination
<balsoft> betawaffle: well, I thought in most cases you'd want the file to end up in the nix store anyways? What are you trying to achieve exactly?
<cyris212> teto: Ok thx
<LevelChart8> xfix: thanks
<betawaffle> just experimenting
<cyris212> Often I need to package a dependency which is not yet in nixpkgs. Contributing takes a couple of days/weeks. So I am looking for a solution for in-between.
<{^_^}> [nixpkgs] @ryantm merged pull request #89243 → libversion: Fix unsafe concatenation of $LD_LIBRARY_PATH → https://git.io/Jf6Zl
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jf6Bv
<teto> cyris212: that's the most annoying thing: you can use a VM, nixpkgs' buildFHSUserEnv to mimic traditional distribs in nixos, but the best is to package it for nix ofc :) There are some packages that are referenced in NUR but not in nixpkgs so you want to check that out
<bqv> cyris212: fwiw you can package it for nix and use it directly without making a PR to nixpkgs
<bqv> obviously the PR is what takes the longest so just don't depend on that part
<cyris212> That's why I am currently learning about how overlays work. So I can package them, send them upstream and use them in the mean time.
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
OmnipotentEntity has quit [Changing host]
<{^_^}> [nixpkgs] @globin opened pull request #89250 → docker-compose: fix zsh completion → https://git.io/Jf6Bs
LevelChart8 has quit [Ping timeout: 256 seconds]
omneh has joined #nixos
omneh has quit [Changing host]
omneh has joined #nixos
OmnipotentEntity has quit [Ping timeout: 240 seconds]
omneh_ has joined #nixos
omneh has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @flokli merged pull request #89244 → gnuradio: 3.7.13.4 -> 3.7.14.0 → https://git.io/Jf6ZX
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6Ba
oida has quit [Remote host closed the connection]
oida has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #89212 → keybase-gui: set platforms to x86_64-linux → https://git.io/JfKQt
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6Br
LevelChart8 has joined #nixos
litschi has quit [Quit: WeeChat 2.7.1]
OmnipotentEntity has joined #nixos
OmnipotentEntity has joined #nixos
litschi has joined #nixos
omneh_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @globin merged pull request #89250 → docker-compose: fix zsh completion → https://git.io/Jf6Bs
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/Jf6BP
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to release-20.03: https://git.io/Jf6BX
<{^_^}> [nixpkgs] @flokli merged pull request #89224 → unit: Expose PHP expressions used so it can easily be accessed for configs → https://git.io/JfKxx
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6B1
<{^_^}> [nixpkgs] @globin pushed to release-20.03 « docker-compose: fix zsh completion »: https://git.io/Jf6BD
LevelChart8 has quit [Ping timeout: 265 seconds]
omneh has joined #nixos
omneh has joined #nixos
omneh has quit [Changing host]
OmnipotentEntity has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #89138 → go-bindata: use fetchFromGitHub → https://git.io/JfoHW
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6Bb
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #89137 → colormake: use fetchFromGitHub → https://git.io/Jfo9Q
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6BA
LevelChart8 has joined #nixos
agsdheidjd has quit [Ping timeout: 260 seconds]
agsdheidjd has joined #nixos
LevelChart8 has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1607e821ff2 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @flokli merged pull request #89122 → appimage: replace radare2+jq with readelf+awk+sha256sum → https://git.io/Jforv
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6RO
omneh has joined #nixos
omneh has quit [Changing host]
omneh has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peterhoeg opened pull request #89251 → efivar: fix Could not parse device path: Invalid Argument → https://git.io/Jf6R6
cr4y1 has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #88887 → vsftpd: listen on both address families → https://git.io/JfVQG
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6RS
fendor_ has joined #nixos
whatisRT has quit [Ping timeout: 264 seconds]
fendor has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #88784 → redshift: enable appindicator support → https://git.io/Jfap9
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf60s
chloekek_ has joined #nixos
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
<{^_^}> [nixpkgs] @marsam merged pull request #89225 → hyperfine: install man and shell completion → https://git.io/JfKpz
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf60a
<{^_^}> [nixpkgs] @marsam merged pull request #89229 → yabai: 3.0.1 -> 3.0.2 → https://git.io/Jf6Uq
<{^_^}> [nixpkgs] @marsam pushed 3 commits to master: https://git.io/Jf60V
cosimone has quit [Quit: Quit.]
felixfoertsch has joined #nixos
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 260 seconds]
felixfoertsch23 is now known as felixfoertsch
vidbina has joined #nixos
acarrico has quit [Ping timeout: 240 seconds]
LevelChart8 has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @Luflosi opened pull request #89252 → python39: fix build on macOS → https://git.io/Jf6E2
<turq> energizer: you asked which languages I'm familiar with: feel free to speak to me in Python, Javascript, and preferably Haskell
emacsomancer has quit [Read error: Connection reset by peer]
<turq> I've used more, just trying to keep it simple :)
emacsomancer has joined #nixos
<LevelChart8> I was attempting to install expo-cli following the instructions presented here: https://stackoverflow.com/questions/56813273/how-to-install-npm-end-user-packages-on-nixos by putting nodePackages.expo-cli in the systemPackages list, but I got this error: error: attribute expo-cli missing
whatisRT has joined #nixos
<{^_^}> [nixpkgs] @Frostman opened pull request #89253 → hugo: 0.71.1 -> 0.72.0 → https://git.io/Jf6EN
emacsomancer has quit [Read error: Connection reset by peer]
<LevelChart8> It's especially confusing because nodePackages.typescript rebuilt fine.
emacsomancer has joined #nixos
acarrico has joined #nixos
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @tssm opened pull request #89254 → rabbitmq: fix darwin build → https://git.io/Jf6ug
orivej_ has joined #nixos
orivej has quit [Ping timeout: 265 seconds]
eoli3n_ has quit [Ping timeout: 265 seconds]
Jackneilll has quit [Read error: Connection reset by peer]
Jackneill has joined #nixos
o1lo01ol1o has joined #nixos
linarcx has joined #nixos
o1lo01ol1o has quit [Ping timeout: 256 seconds]
LevelChart8 has quit [Ping timeout: 240 seconds]
<bqv> ,quote ''
<bqv> ,quoted ''
<bqv> > bot?
<{^_^}> error: syntax error, unexpected ')', expecting ID or OR_KW or DOLLAR_CURLY or '"', at (string):316:1
<infinisil> bqv: ,escape?
<bqv> Yes
<bqv> ,escape ''
<{^_^}> Escape this in '' strings with: '''
<{^_^}> Escape this in " strings with: ''
<bqv> > ''test''''''ing"
<{^_^}> error: syntax error, unexpected $end, expecting IND_STR or DOLLAR_CURLY or IND_STRING_CLOSE, at (string):315:13
<bqv> > ''test''''''ing''
<{^_^}> "test''''ing"
<bqv> I'm confused
<bqv> Oh
<bqv> > ''test'''''''ing''
<{^_^}> "test'''''ing"
<bqv> Ok I get it
greizgh has quit [Quit: greizgh]
<infinisil> ,escape test'''''ing
<{^_^}> Escape this in '' strings with: test'''''''ing
<{^_^}> Escape this in " strings with: test'''''ing
<bqv> yes
jmeredith has joined #nixos
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/aca160ea229 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<chaoflow> nixos.sqlite3 seems to be missing readline support; cursor keys are not working on its prompt. Is somebody able to reproduce this?
<clever> chaoflow: sqliteInteractive has readline support
greizgh has joined #nixos
<simpson> chaoflow: Alternatively, the handy rlwrap utility works on sqlite3.
<bqv> What would you name ', ", '', respectively?
<bqv> Single quote, double quote, ??
LevelChart8 has joined #nixos
<simpson> Apostrophe, quotation mark, doubled apostrophe~ I'm not sure what they're called in Nix syntax.
<infinisil> single quote, double quote, double single quote :P
<bqv> dsquote it is
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b27a19d5bf7 (from 2 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
drakonis_ has quit [Read error: Connection reset by peer]
greizgh has quit [Client Quit]
philr has joined #nixos
drakonis has joined #nixos
<simpson> The lexer doesn't appear to give names to those constructions, treating them all as some sort of string-starting quotation: https://github.com/NixOS/nix/blob/master/src/libexpr/lexer.l
greizgh has joined #nixos
<{^_^}> [nixpkgs] @i077 opened pull request #89256 → todoist-electron: 1.20 -> 1.22 → https://git.io/Jf6zD
philr has quit [Ping timeout: 265 seconds]
fresheyeball has joined #nixos
<{^_^}> [nixpkgs] @filalex77 merged pull request #89253 → hugo: 0.71.1 -> 0.72.0 → https://git.io/Jf6EN
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/Jf6zF
<{^_^}> [nixpkgs] @i077 closed pull request #85824 → everdo: init at 1.3.5 → https://git.io/JfItK
codygman has joined #nixos
<{^_^}> [nixpkgs] @i077 opened pull request #89257 → everdo: init at 1.3.6 → https://git.io/Jf6gY
<LevelChart8> Is there a way to search all nodePackages that are available for import?
<calbrecht> LevelChart8: in nix repl they should show up after :l <nixpkgs>
<calbrecht> with tab completion, they do, for me at least. Also with nix-shell -p nodePackages.<tab>
drakonis_ has joined #nixos
<bqv> Overlay pkgs with lib.recurseIntoAttrs nodePackages
<LevelChart8> When I type $ nix-shell -p nodePackages.exp and hit tab nothing happens
<calbrecht> else, you can always grep Package nixpkgs/pkgs/development/node-packages/node-packages.nix
<LevelChart8> The packages is called "expo-cli" and nodePackages.expo-cli did not build
<LevelChart8> $ grep expo-cli nixpkgs/pkgs/development/node-packages/node-packages.nix
<LevelChart8> grep: nixpkgs/pkgs/development/node-packages/node-packages.nix: No such file or directory
drakonis has quit [Ping timeout: 265 seconds]
<bqv> I overlay recurseIntoAttrs to all those clusters in my flake, cause I'm not hydra so I don't care about hydra-specific filters
<calbrecht> LevelChart8: you need a clone of the nixpkgs repo to grep in.
<LevelChart8> That?
fusion809 has quit [Remote host closed the connection]
<calbrecht> yes
<calbrecht> bqv: that's good. it seems to me the shell completion does this as well?
ddellacosta has joined #nixos
<calbrecht> LevelChart8: however, the only reference i can find in node-packages.nix on the master is the source to create-react-native-app, did you search for this?
greizgh has quit [Quit: greizgh]
acarrico has quit [Ping timeout: 265 seconds]
<LevelChart8> Thank you. I will look at it. I am attempting to build someone else's project and they specifically use expo-cli.
<LevelChart8> I will read on the relationship between create-react-native-app and expo-cli
<betawaffle> am i supposed to use `edition` or `epoch` in a flake?
mchasard has joined #nixos
<mchasard> hi
<simpson> Is there a list of what is acceptable as far as bootstrapping, for packages which don't compile to C?
LevelChart8 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<mchasard> i would like to install bluetooth to appair a jbl go speaker ...what should i install ?
user_0x58 has joined #nixos
hazel has joined #nixos
hazel has quit [Remote host closed the connection]
hazel has joined #nixos
<hazel> hi so I just installed NixOS on encrypted ZFS
<hazel> and what I'm noticing is that /tmp doesn't wipe on reboot
<hazel> how do I make it... do that
<xfix> you need to enable one of /tmp options
<hazel> any docs?
<simpson> hazel: boot.tmpOnTmpfs = true;
<bqv> calbrecht: the shell completion ignores recurseForDerivations entirely
<bqv> but nix search doesn't
<xfix> either `boot.cleanTmpDir` or `boot.tmpOnTmpfs`
<hazel> what's the difference?
<simpson> xfix++ for alternatives.
<{^_^}> xfix's karma got increased to 4
<hazel> also, thank you very much!
<simpson> hazel: The former removes everything from /tmp; the latter mounts an in-memory tmpfs onto /tmp. The reason why we don't unilaterally tmpfs on /tmp like some other distros is because not everybody has the RAM for it.
<chaoflow> clever, simpson: Thanks a lot!
greizgh has joined #nixos
ddellacosta has quit [Ping timeout: 260 seconds]
greizgh has quit [Client Quit]
hazel has quit [Remote host closed the connection]
<calbrecht> bqv: ha, never used nix search, thanks :)
greizgh has joined #nixos
<calbrecht> when i started with nixos it was nix-env -qa, which confused me a lot
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
glasserc has joined #nixos
mchasard has left #nixos ["Konversation terminated!"]
codygman has quit [Read error: Connection reset by peer]
hazel has joined #nixos
<hazel> hi, back, and yes that worked
<hazel> another question
codygman has joined #nixos
acarrico has joined #nixos
<hazel> how do I prevent Nix (the language) from trimming the end of strings? like what if I have whitespace that's meant to be there?
<lassulus> hazel: do you have an example?
<lassulus> it doesn't trim trailing spaces for me?
<hazel> one moment
<hazel> -- wait, nevermind
<hazel> I need to quote things my bad
<hazel> that's not Nix that's Sway
<glasserc> Is there a way to build a binary on NixOS (my development machine) that I could deploy to non-NixOS (production)? My ELF binaries end up with interpreter /nix/store/nwsn18fysga1n5s0bj4jp4wfwvlbx8b1-glibc-2.30/lib/ld-linux-x86-64.so.2, which doesn't work
<simpson> glasserc: You could use dockerTools https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools or nix-bundle https://github.com/matthewbauer/nix-bundle or other all-in-one tools.
<qyliss> glasserc: pkgsStatic?
<hazel> should've been ''workspace "${ws}"''
<simpson> Ooh, qyliss++ for alternatives.
<{^_^}> qyliss's karma got increased to 66, it's a crit!
lafrenierejm has joined #nixos
Jackneill has quit [Ping timeout: 260 seconds]
<hazel> home-manager and nix has turned like just about everything into xmonad, it's wonderful
<hazel> i missed having a programming language to configure things
acarrico has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @lsix opened pull request #89258 → gnuchess: 6.2.6 -> 6.2.7 → https://git.io/Jf62N
<lafrenierejm> Nix noob here. Can someone tell me where exactly I should be placcing the overlay snippet from https://github.com/nix-community/emacs-overlay if I only want the overlay to be available to my personal user?
<hazel> lafrenierejm: are you using home-manager?
<lafrenierejm> I've read https://blog.flyingcircus.io/2017/11/07/nixos-the-dos-and-donts-of-nixpkgs-overlays/, but it seems concerned with writing overlays rather than pulling a pre-existing one in.
<lafrenierejm> hazel: Yes, I am.
<hazel> that's how I do it, at least
<glasserc> Thanks a ton qyliss and simpson, let me try those
vidbina has quit [Ping timeout: 260 seconds]
<lafrenierejm> hazel: Thanks much!
<hazel> no problem!
mchasard has joined #nixos
<mchasard> wich images viewer could i use i have kde install ?
romdisc has quit [Remote host closed the connection]
teto has quit [Ping timeout: 246 seconds]
<Izorkin> etu: I created a php build variant from github source. Need create PR?
Jackneill has joined #nixos
fendor_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @veprbl merged pull request #89254 → rabbitmq: fix darwin build → https://git.io/Jf6ug
<{^_^}> [nixpkgs] @veprbl pushed commit from @tssm to master « rabbitmq: fix darwin build »: https://git.io/Jf6aw
acarrico has joined #nixos
thelounge61 is now known as shindig
lafrenierejm has quit [Remote host closed the connection]
<hazel> where do I get started with Nix as a development/build tool, rather than just a config manager?
BlackLine has joined #nixos
fresheyeball has quit [Quit: WeeChat 2.7.1]
teto has joined #nixos
<hazel> like i hear talk about niv, lorri, direnv, no idea what any of these are
<hazel> where do I just begin
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/aca160ea229 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
alexherbo2 has joined #nixos
<{^_^}> [nixpkgs] @schmittlauch opened pull request #89259 → cawbird: 1.0.5 -> 1.1.0 → https://git.io/Jf6VL
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @schmittlauch opened pull request #89260 → cawbird: 1.0.5 -> 1.1.0 → https://git.io/Jf6V3
<simpson> hazel: nix-shell is a good starting point. direnv is a natural progression for most folks.
<hazel> where can I read up on it?
Deknos has joined #nixos
<simpson> (Which is not to say that direnv has wide adoption! It seems to be one of those things that folks either really like or dislike.)
artemist has quit [Ping timeout: 240 seconds]
artemist has joined #nixos
gustavderdrache has joined #nixos
mchasard has quit [Quit: Konversation terminated!]
pjt_014 has joined #nixos
<ashkitten> is there a library function to export a nix expression as a string? something like the toJSON functions but it just writes it out as-is in nix
<etu> Izorkin: What's the point in doing that?
endformationage has joined #nixos
Jackneill has quit [Ping timeout: 272 seconds]
<Izorkin> ,locate yacc
<{^_^}> Found in packages: eli, bison, byacc, plan9port, go_bootstrap, lispPackages.yacc, vimPlugins.syntastic, vimPlugins.xptemplate, google-app-engine-go-sdk
<etu> Izorkin: Yes, but then we realized that the releases that they release on github are different and not the official releases.
<etu> Izorkin: And it's a good thing to stick to the official releases.
<{^_^}> [nixpkgs] @servalcatty opened pull request #89261 → v2ray: 4.23.0 -> 4.23.2 → https://git.io/Jf6we
drakonis has joined #nixos
<Izorkin> etu: source https://www.php.net generated from github. https://www.php.net/git.php
eoli3n_ has joined #nixos
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos
<Izorkin> ,locate t
<{^_^}> Found in packages: t, git, abcl, atom, cjdns, codimd, moodle, slic3r, cypress, pysolfc, radare2, ncurses5, ncurses6, spacegun, sysbench, timetrap, atom-beta, linux.dev, gitMinimal, r2-for-cutter, linux-libre.dev, linux_mptcp.dev, lispPackages.dbi, lispPackages.woo, linux_testing.dev, lispPackages.lack, lispPackages.quri, gitAndTools.gitSVN, linux_mptcp_94.dev, lispPackages.clack, lispPackages.myway, lispPackages.prove, and 82 more
drakonis has quit [Ping timeout: 265 seconds]
hazel has quit [Remote host closed the connection]
Jackneill has joined #nixos
<energizer> turq: foo.env is the same in nix as it is in python
<energizer> ashkitten: maybe one of the debug/trace functions?
<etu> Izorkin: And from previous testing we realized that they contain different things
<etu> Izorkin: And I want to stick to the official releases, which is the website.
ddellacosta has joined #nixos
puffnfresh has quit [Quit: ZNC 1.8.0 - https://znc.in]
BlackLine has quit [Remote host closed the connection]
lafrenierejm has joined #nixos
puffnfresh has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/17b5c029759 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ddellacosta has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos
drakonis_ has joined #nixos
jhillyerd has joined #nixos
KindTwo has joined #nixos
cosimone has joined #nixos
drakonis1 has quit [Ping timeout: 256 seconds]
KindOne has quit [Ping timeout: 272 seconds]
teto has quit [Ping timeout: 256 seconds]
LevelChart8 has joined #nixos
KindTwo is now known as KindOne
drakonis has quit [Quit: WeeChat 2.8]
<{^_^}> [nixpkgs] @jtojnar merged pull request #89259 → cawbird: 1.0.5 -> 1.1.0 → https://git.io/Jf6VL
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Jf6rr
agsdheidjd has quit [Quit: WeeChat 2.8]
urkk_ is now known as urkk
delan has quit [Quit: ZNC - http://znc.in]
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
buckley310 has joined #nixos
<etu> Izorkin: Good find!
<buckley310> anyone here good with the X11/mesa stack? i've found a couple bugs making it so the options from /run/opengl-driver/share/drirc.d/00-mesa-defaults.conf are not applied, but even when i fix those its not working :\ a little bit out of my depth
agsdheidjd has joined #nixos
maxdevjs has joined #nixos
<abathur> anyone have a sense of what to look for if a CI build that ran clean a few days ago now fails with a `error: unknown hash algorithm ''` in fetchurl? guessing it has something to do with the dated 2.0.4 version of Nix installed there.
urkk has quit [Remote host closed the connection]
vidbina has joined #nixos
user_0x58 has quit [Remote host closed the connection]
drakonis has joined #nixos
user_0x58 has joined #nixos
<abathur> heh, on the 2-year anniversary of 2.0.4, even
<clever> abathur: sounds like the nix-daemon is too old for the new hashing setup
joko has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/Jf6oz
lafrenierejm has quit [Remote host closed the connection]
<abathur> clever: good spot; it ran clean on the 27th, so it's a recentish break; looks like rycee mentioned this a few weeks ago: https://logs.nix.samueldr.com/nixos/2020-05-01#1588336582-1588336626; so I assume something in my graph just finally got bumped up to the new format
<wadkar> Hi, I am on macOS and recently started using nix. How do I temporarily disable nix, so that I can go about using my brew/custom built packages? I wouldn't mind switching back to nix after a while. But currently it's getting a bit in my way of getting things done.
cript0nauta has joined #nixos
<samueldr> hm :/ what's the status of SRI hashes then?
<wadkar> I am on a limited bandwidth network (~1mbps) so downloading stuff is an expensive process. So I don't want to uninstall nix and it's store/cache.
<abathur> wadkar you shouldn't really need to "disable" Nix; are you just trying to make sure brew commands run instead of Nix for now?
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « linuxPackages.wireguard: 1.0.20200506 -> 1.0.20200520 »: https://git.io/Jf6o1
<abathur> wadkar you can either comment the nix line(s) out in your rc file and reload your terminal, or intentionally change your path to make sure that .nix-profile/bin is last
<abathur> or, at least, behind wherever you have brew installing to
shibboleth has joined #nixos
agsdheidjd has quit [Ping timeout: 246 seconds]
agsdheidjd has joined #nixos
<wadkar> abathur: yes - sort of
<wadkar> I get it.
<wadkar> so just "restore" my `/etc/zprofile` and other rc files to original ones and I should be good to go.
<{^_^}> [nixpkgs] @cript0nauta closed pull request #89145 → mpv: don't use generated luasocket → https://git.io/JfodE
LevelChart8 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
shyim has quit [Quit: Ping timeout (120 seconds)]
<abathur> wadkar as long as you aren't having trouble with a launchd service it's managing or something, of course; it might help to add a pair of functions in your shell rc/profile to add/remove it, or move it from the front to the back of the PATH, so you can get it out of the way when you want but make it easy to play with when you have time
shyim has joined #nixos
numkem has joined #nixos
<wadkar> abathur: I don't see any issues with launchd; I haven't installed any services with nix-env (yet)
<numkem> I'm trying to re-deploy a machine that has hydra configured. Nothing changed in my code relating to hydra but it triggers a build (stable or unstable) and that build fails because of some errors (error: no matching function for call to 'MyArgs::mkFlag()') is this something known and/or is there a workaround?
<{^_^}> [nixpkgs] @cript0nauta opened pull request #89262 → mpvScripts.simple-mpv-webui: init at 1.0.0 → https://git.io/Jf6Kl
<{^_^}> [nixpkgs] @romildo opened pull request #89263 → lxqt.lxqt-qtplugin: 0.15.0 -> 0.15.1 → https://git.io/Jf664
linarcx has quit [Ping timeout: 258 seconds]
<Izorkin> etu: draft https://github.com/NixOS/nixpkgs/compare/master...Izorkin:php-github Error build php74Extensions.json Need generate ext/json/json_scanner.c with re2c.
<{^_^}> [nixpkgs] @doronbehar opened pull request #89264 → ffmpeg: default to ffmpeg_4 → https://git.io/Jf6iu
teto has joined #nixos
o1lo01ol1o has joined #nixos
<abathur> anyone know of a tolerable way to search a build's dependency graph to confirm whether or not it has packages that've switched to SRI hashes?
<{^_^}> [mobile-nixos] @samueldr merged pull request #154 → Add "fb notify" quirk, fixing motorola-addison touch with boot GUI → https://git.io/Jf6sc
<{^_^}> [mobile-nixos] @samueldr pushed 3 commits to master: https://git.io/Jf6i6
<{^_^}> [nixpkgs] @erictapen closed pull request #88096 → libexif: 0.6.21 -> 0.6.22 → https://git.io/JfuYC
chloekek_ has quit [Ping timeout: 256 seconds]
wangoe[m] has joined #nixos
reanimus has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #89223 → intel-media-sdk: remove samples → https://git.io/JfKx5
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/Jf6Pf
reanimus has joined #nixos
glasserc has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @flokli merged pull request #62671 → tasks/network-interfaces.nix: Enable ip_forwarding for ipv4 and p… → https://git.io/fju8I
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6PT
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o 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]
codygman has joined #nixos
teto has quit [Quit: WeeChat 2.8]
<abathur> I guess it's pip
<{^_^}> [nixpkgs] @doronbehar opened pull request #89265 → hplip: don't reference gcc in binaries from /share and other locations → https://git.io/Jf6P2
<{^_^}> [nixpkgs] @talyz opened pull request #89266 → php.extensions.mysqlnd: Fix compression support → https://git.io/Jf6PD
<{^_^}> [nixpkgs] @mmilata opened pull request #89267 → nixos/bitcoin-prometheus-exporter: init → https://git.io/Jf6PA
<manveru> seems like building AMIs isn't the only thing broken on EC2 now due to the KVM requirement... you can't build docker images either: https://discourse.nixos.org/t/cannot-build-docker-image/7445
knupfer1 has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 is now known as knupfer
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
Bunogi has quit [Quit: The Lounge - https://thelounge.chat]
Bunogi has joined #nixos
<kini> What's the best way to get a shell environment that is as similar as possible to the build environment for a package? Normally I use `nix-shell --pure` but it seems that's not always enough, e.g. `nix-shell --pure` still has `/usr/bin/env` while the real build environment does not.
<manveru> kini: probably using the breakpointHook
o1lo01ol1o has quit [Ping timeout: 258 seconds]
<manveru> with that you can go into the sandbox that the build runs in
<energizer> how much work is involved in switching my nixoses from channels to flakes?
<{^_^}> [nixpkgs] @flokli merged pull request #88434 → nixos/haproxy: add reloading support, use upstream service hardening → https://git.io/JfzjN
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/Jf6XZ
o1lo01ol1o has joined #nixos
* energizer waits for the next blog post
<kini> manveru: oh awesome, didn't know about that. Thanks!
<drakonis> energizer: not a lot
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Ma27 merged pull request #89258 → gnuchess: 6.2.6 -> 6.2.7 → https://git.io/Jf62N
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jf6X4
kamid has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #89256 → todoist-electron: 1.20 -> 1.22 → https://git.io/Jf6zD
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jf6Xz
chloekek_ has joined #nixos
quinn has joined #nixos
leotaku has quit [Quit: ZNC 1.8.0 - https://znc.in]
o1lo01ol1o has quit [Remote host closed the connection]
<mica[m]> Does anyone know of plans to remove python2?
shibboleth has quit [Quit: shibboleth]
<energizer> that would be a crazy thing to do
<{^_^}> [nixpkgs] @marsam merged pull request #83307 → nixos/v2ray: check v2ray config during the build time → https://git.io/JvSfP
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf6XP
noudle has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #89261 → v2ray: 4.23.0 -> 4.23.2 → https://git.io/Jf6we
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf6XX
leotaku has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #89220 → out-of-tree: 1.2.1 -> 1.3.0 → https://git.io/JfKbM
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf6XQ
<{^_^}> [mobile-nixos] @samueldr opened pull request #155 → Add useful stage-2 examples/hello and cleanups → https://git.io/Jf6X7
<{^_^}> [nixpkgs] @terlar opened pull request #89269 → Node packages include peer dependencies → https://git.io/Jf6X5
o1lo01ol1o has joined #nixos
sigmundv_ has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/4a7821a1d32 (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
jhillyerd has quit [Quit: WeeChat 2.7.1]
vidbina has quit [Ping timeout: 260 seconds]
hmpffff has quit [Quit: nchrrrr…]
noreferences has joined #nixos
<noreferences> How could I install multiple versions of OpenJDK? Home-manager suggests that there is a collision when I try to declare both jdk and jdk11 in my configuration.
<{^_^}> [nixpkgs] @GTrunSec opened pull request #89270 → julia: fix julia_13 missing Lib of lapack. → https://git.io/Jf613
hmpffff has joined #nixos
<mica[m]> noreferences: try being more specific for the "jdk" I'd think
<clever> noreferences: better to not "install" any jdk's in that case, use makeWrapper&friends to make certain programs use the right jdk directly
hmpffff has quit [Client Quit]
<noreferences> I need openjdk11 and openjdk8 available for my work - namely, I need Intellij to have access to both.
<noreferences> mica[m]: jdk is the attribute name for openjdk-8u222-ga, I'm not sure I understand how I can be more specific.
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @dpausp opened pull request #89271 → eliot-tree: init at 19.0.1 → https://git.io/Jf61c
<{^_^}> [nixpkgs] @marsam opened pull request #89272 → haskellPackages.cachix: dontCheck → https://git.io/Jf61C
ddellacosta has joined #nixos
knupfer has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #89202 → atlassian-jira: 8.8.0 -> 8.9.0 → https://git.io/JfKPn
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jf61B
gustavderdrache has quit [Quit: Leaving.]
<infinisil> noreferences: How does intellij know about the two versions?
<noreferences> Normally on Arch, I'd have one java version that I'm using globally, say Java 11, but then if I want to, I can point to Java 8 SDK from Intellij if I need java 8
<infinisil> noreferences: How can you point it to a specific version though, like with a path to some jdk directory?
<noreferences> path, like /usr/lib/jvm/java-8-openjdk
<infinisil> And that's a binary?
<noreferences> no, it includes a bin folder, include folder, jre folder and a lib folder
NeoCron has quit [Ping timeout: 260 seconds]
<infinisil> Hm I see
<infinisil> noreferences: One slightly unorthodox way to do this then is to set e.g. `environment.etc.jdk11 = pkgs.jdk11` and similarly for others
<infinisil> Then you can point intellij to `/etc/jdk11`
<infinisil> Oh that should be `environment.etc.jdk11.source = pkgs.jdk11`
<noreferences> Oh nice, I'll try this now
<mpickering> I am trying to package something which needs an older version of a C library, tbb 2018 rather than tbb 2019 which is in nixpkgs
<mpickering> what is recommended to do here?
<ben> it's binary-only?
jmeredith has quit [Quit: Connection closed for inactivity]
<ben> (i dont have an answer, just also curious)
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
meh` has joined #nixos
<kini> manveru: Hmm, with breakpointHook I still see `/usr/bin/env`. In fact, it's even looser than `nix-shell --pure` because I also see various other programs I have installed systemwide which shouldn't be visible inside the sandbox.
<infinisil> mpickering: Ideally update the package to work with the newer version, but if that's too much work you can introduce the older version into nixpkgs too
<mpickering> ok
<mpickering> I took the third option
<mpickering> which was to use an old pin of nixpkgs and not bother to upstream it
<mpickering> sorry team
<infinisil> That's fine too, could even put this into NUR or so :)
<infinisil> mpickering: What's the package?
<mpickering> tracy
<mpickering> We are viewing eventlogs using it
o1lo01ol1o has quit [Remote host closed the connection]
<mpickering> Perhaps I could make an issue and post my nix expression in it explaining why I didn't make a PR
<kini> I think there are several packages in nixpkgs where there's an older version being kept around because it's used by something else
<adit[m]> on reboot, nixos seems to be rebooting to the previous generation
<adit[m]> how do i ensure this doesn't happen?
asymptotically has quit [Quit: Leaving]
<mpickering> good news, the package builds but segfaults as soon as I try and run it
<mpickering> If anyone has any ideas about glfw and nix segfaults https://www.irccloud.com/pastebin/5zVdJujL/
cosimone has quit [Quit: Quit.]
<{^_^}> #80936 (by shyim, 13 weeks ago, open): Kitty does not start more
aveltras has joined #nixos
<aveltras> any reason i don't get the user home directory when i deploy a configuration with the following ?
Rusty1 has joined #nixos
litschi has quit [Quit: WeeChat 2.7.1]
litschi has joined #nixos
alexherbo2 has quit [Ping timeout: 256 seconds]
chloekek_ has quit [Ping timeout: 265 seconds]
fendor has quit [Read error: Connection reset by peer]
noreferences90 has joined #nixos
noreferences90 has quit [Client Quit]
noreferences has quit [Ping timeout: 272 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @rileyinman opened pull request #89273 → plex: 1.19.2.2737-b69929dab -> 1.19.3.2852-219a9974e → https://git.io/Jf6MM
drakonis_ has joined #nixos
<Ashy> weird, gnome has not been locking for me for a while on multiple machines and i just fixed it in dconf-editor with the same steps as here: https://bbs.archlinux.org/viewtopic.php?pid=1718174#p1718174
<Ashy> i don't have anything related to this in my configuration.nix, is there something that would edit that setting in nixpkgs?
<{^_^}> [mobile-nixos] @samueldr merged pull request #155 → Add useful stage-2 examples/hello and cleanups → https://git.io/Jf6X7
<{^_^}> [mobile-nixos] @samueldr pushed 21 commits to master: https://git.io/Jf6MQ
<colemickens> I'm a bit frustrated, is there an option issue about nscd being needed recently on nixos-unstable?
<colemickens> I've had to avoid enable the mdns module for nss in the past, in order to disable NSCD, but I've started getting the error about NSS modules after some nixpkgs upgrade.
<flokli> colemickens: that's https://github.com/NixOS/nixpkgs/pull/87016
<{^_^}> #87016 (by flokli, 3 weeks ago, merged): nixos/nsswitch cleanup nss modules
<flokli> we kinda had the assertion all the time, but then circumemvented it by checking, and only adding the modules if nscd was enabled, making the whole assertion useless
<flokli> the comments, and the error message you get during eval should propose a workaround
* colemickens notices a common theme among those unhappy about nscd
<colemickens> okay. still reading but this is helpful, I probably should've managed to find this on my own
<flokli> can you elaborate on the "commen theme? It's also the dns re
<flokli> s/re/resolving from a separate namespace?/
<colemickens> yes, vpn+net-ns+nscd = dns leaks
cr4y1 has quit [Ping timeout: 240 seconds]
cr4y1 has joined #nixos
<ldlework> If I do this: builderPython = pkgs.python27.withPackages (ps: [ ps.numpy ps.scipy ])
<ldlework> how can I also make sure gunzip is available in there?
<ldlework> which is not a python package
<ldlework> wait nm
<flokli> colemickens: I have some ideas about whether it might be possible to have nscd fall back clients to resolve DNS locally. But that would probably involve patching glibc.
<Ashy> colemickens: i've recently turned nscd back on because of disabling it being not recommended on nixos but i've only ever noticed it cause me dns caching issues sometimes
<Ashy> not really happy about having to run it
<flokli> Ashy: for that, I might have something for you
avoo22 has joined #nixos
dermetfan has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #89274 → nixos/nscd: set positive hosts caching ttl to 0 → https://git.io/Jf6DJ
philr has joined #nixos
<flokli> ^ Ashy
<flokli> colemickens: for your usecase, would disabling nscd inside that specific network namespace (by a private mount mounting the nscd socket to /dev/null) work for now?
proofofkeags has joined #nixos
<colemickens> flokli: this is up to the edge of my linux knowledge, so I'm not sure. That thing I linked does say that bind mounts are problematic (and that is actually how I discovered this issue ... weird DNS issues -> realizing finally that bind mounting over it DID work until I restart NM (which would re-write resolv.conf and replace the bind mount).
<Ashy> flokli: thanks hopefully that stops nscd from causing those broken cache issues again
proofofkeags has quit [Remote host closed the connection]
<colemickens> It ultimately felt easier to disable nscd for my lan vpn use-cases and was a good reminder to use something more purpose-built if I had serious privacy needs 😐️.
proofofkeags has joined #nixos
buckley310 has quit [Quit: Connection closed for inactivity]
numkem has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
proofofkeags has quit [Ping timeout: 256 seconds]
eoli3n_ has quit [Ping timeout: 256 seconds]
kvda has joined #nixos
<aveltras> is anyone using data-dir or data-files with a haskell package built with nix ?
citizenzibb[m] has left #nixos ["User left"]
o1lo01ol1o has quit [Ping timeout: 260 seconds]
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
<ldlework> what's a nixlang thing to get every combination of two inputs?
<{^_^}> [nixpkgs] @jobojeha opened pull request #89276 → utf8cpp: init at 3.1.1 → https://git.io/Jf6DC
<energizer> ldlework: lib.lists.crossLists
<ldlework> thank you
<hyperfekt> i may be very wrong but shouldn't the boot packages be hidden from ghc by default? seems easy to miss specifying a dependency otherwise
<{^_^}> [nixpkgs] @veprbl opened pull request #89277 → uriparser: 0.9.3 -> 0.9.4 → https://git.io/Jf6D8
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<flokli> colemickens: that article speaks about bind-mounts of a different /etc/resolv.conf into the namespace, and this falling back to another resolv.conf
<ldlework> Is there a nixlang thing to convert an attrset to a list of NameValue attrsets?
<ldlework> actually nevermind
kvda has joined #nixos
<flokli> colemickens: depending on your privacy needs, there's indeed a lot of things to consider. I'd probably go with something specifically made for that purpose (tor-browser, tails, …)
<hyperfekt> oh that's just #42069. no progress but the fix sounds more complex than i may be able to do
<{^_^}> https://github.com/NixOS/nixpkgs/issues/42069 (by kirelagin, 1 year ago, open): haskell: All boot libraries get added to pkgdb
chaoflow_ has joined #nixos
noudle has quit []
drakonis_ has quit [Ping timeout: 272 seconds]
chaoflow has quit [Ping timeout: 240 seconds]