worldofpeace changed the topic of #nixos to: NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-inf
Rusty1 has joined #nixos
lordcirth has quit [Remote host closed the connection]
lordcirth has joined #nixos
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos
sigmundv_ has joined #nixos
astylian has quit [Ping timeout: 260 seconds]
Rusty1 has quit [Quit: WeeChat 2.9]
seku has quit [Quit: Connection closed]
Rusty1 has joined #nixos
sss2 has joined #nixos
kalbasit has quit [Ping timeout: 264 seconds]
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
rajivr has joined #nixos
microcol1nel is now known as microcolonel
<{^_^}> [nixpkgs] @r-burns opened pull request #108362 → haskellPackages.servant-client[-core]: jailbreak to support QuickCheck 2.14 → https://git.io/JLFkM
sss4 has joined #nixos
pushqrdx has joined #nixos
sss4 has quit [Read error: Connection reset by peer]
<pushqrdx> what is the easiest way to add this nvidia-x11 diff that disables the RT Kernel check for the nvidia driver
<{^_^}> musnix/musnix#127 (by fps, 4 days ago, open): Disable RT-kernel sanity check for nvidia-x11
sss4 has joined #nixos
sss2 has quit [Ping timeout: 240 seconds]
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 260 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @github-actions[bot] pushed 27 commits to staging: https://git.io/JLFIF
<{^_^}> [nixpkgs] @github-actions[bot] pushed 26 commits to staging-next: https://git.io/JLFIb
kalbasit has joined #nixos
sss2 has joined #nixos
sss4 has quit [Ping timeout: 256 seconds]
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
sss2 has quit [Read error: Connection reset by peer]
sss2 has joined #nixos
wavirc22 has quit [Ping timeout: 260 seconds]
wavirc22_ has joined #nixos
griff_ has quit [Quit: griff_]
<{^_^}> [nixpkgs] @mweinelt merged pull request #108355 → python37Packages.mocket: 3.9.4 -> 3.9.35 → https://git.io/JLdAq
<{^_^}> [nixpkgs] @mweinelt pushed 2 commits to master: https://git.io/JLFLP
<{^_^}> [nixpkgs] @Flakebi opened pull request #108363 → kakounePlugins: use vim’s update.py script to generate plugins → https://git.io/JLFLy
CMCDragonkai1 has joined #nixos
o1lo01ol_ has joined #nixos
<energizer> nix-shell -E '(import <nixpkgs> {}).python3.withPackages(ps: [ps.xlib])' --command 'python3 -c "import Xlib.display"' # No module named Xlib. What do I mean instead?
nDuff has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Ping timeout: 265 seconds]
zebrag has quit [Remote host closed the connection]
zebrag has joined #nixos
<energizer> oh, -p not -E
zebrag has quit [Client Quit]
<KarlJoad> So, somehow, I managed to get python available during program runtime, but I can't import any of the python packages I specified. Does anyone have any guidance?
<tpw_rules> you have to configure PYTHONPATH too
<KarlJoad> tpw_rules: That isn't handled by me having `python.withPackages (ps: [ ps.sympy ])` ?
zebrag has joined #nixos
<tpw_rules> what does python3 -m site say?
kalbasit has quit [Ping timeout: 240 seconds]
pbb has joined #nixos
<KarlJoad> sys.path = ['/home/karl','/nix/store/v72cj06nk69cynckz2s12rhar25k1h7v-python3-3.8.5/lib/python38.zip','/nix/store/v72cj06nk69cynckz2s12rhar25k1h7v-python3-3.8.5/lib/python3.8','/nix/store/v72cj06nk69cynckz2s12rhar25k1h7v-python3-3.8.5/lib/python3.8/lib-dynload','/nix/store/v72cj06nk69cynckz2s12rhar25k1h7v-python3-3.8.5/lib/python3.8/site-packages',
<KarlJoad> ]
noobnix has quit [Ping timeout: 245 seconds]
<tpw_rules> it doesn't look like that's using the python in your withPackages environment
<tpw_rules> otherwise the derivation would have -env in it
<tpw_rules> are you executing blahblah-python3-3.8.5/bin/python or blahblah-python3-3.8.5-env/bin/python
<KarlJoad> I am using :u in `nix repl` to build the package and drop me into a shell with stuff available. That's probably why.
teto has quit [Quit: WeeChat 3.0]
<tpw_rules> i think you would want to have the python withPackages as a build input then
<KarlJoad> I am doing that right now, as a propagatedBuildInput, but I am doing python.withPackages ...
griff_ has joined #nixos
rcy has left #nixos ["Killed buffer"]
<Ankhers> I am using NixOS and I have installed Android Studio using home-manager. I am attempting to run a command line utility during the build process of my android application. However, it does not appear to use my PATH, but maybe the one from it's derivation? Would anyone know how to tell Android Studio to actually use my PATH?
oxapentane has quit [Remote host closed the connection]
luxemboye has quit [Ping timeout: 240 seconds]
domogled has quit [Ping timeout: 246 seconds]
luxemboye has joined #nixos
wegna125 has quit [Remote host closed the connection]
kalbasit has joined #nixos
<DigitalKiwi> what command and how did you install android studio
<Ankhers> I installed Android Studio using home manager. I am trying to run a command I installed using cargo. Specifically, uniffi-bindgen.
<DigitalKiwi> probably add it to the inputs in an override
<{^_^}> [nixpkgs] @samueldr pushed commit from @urbas to release-20.09 « nixos/sd-image: explicit reference to the gawk package »: https://git.io/JLFml
<Ankhers> It being uniffi-bindgen? I'm not that great with overrides, would you be able to give me an example?
<{^_^}> [nixpkgs] @Chili-Man opened pull request #108364 → vault: 1.6.0 -> 1.6.1 → https://git.io/JLFmV
<DigitalKiwi> i cannot
<Ankhers> Thanks. I will see what I can do.
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<DigitalKiwi> i'm about as unsure how to do it as you but there are other people that know but it's kind of quiet today
<DigitalKiwi> infinisil: the bot should have a command that just starts pinging all of the people i'd ask like this but spread out; samueldr worldofpeace fl*kli fridh jonringer .... ( not here :( )
<DigitalKiwi> !heros
davide has joined #nixos
psiquo has joined #nixos
quinn has joined #nixos
davide has left #nixos [#nixos]
davide has joined #nixos
psy3497 has joined #nixos
<{^_^}> [mobile-nixos] @samueldr opened pull request #273 → stage-0: Teardown gadget before kexec → https://git.io/JLFY4
davide has quit [Quit: davide]
psiquo_ has joined #nixos
psiquo has quit [Remote host closed the connection]
psiquo_ has quit [Client Quit]
sigmundv_ has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @AndersonTorres opened pull request #108365 → joe: cleanup → https://git.io/JLFYR
neuronuser1[m] has joined #nixos
m0rphism has quit [Ping timeout: 272 seconds]
kalbasit has quit [Ping timeout: 246 seconds]
<donofrio> anyone know how to remove my nix install and start a new install on my osx imac that will compile everything without AVX extentions (my core duo doesn't have it.)
pushqrdx has quit [Remote host closed the connection]
h0m1 has quit [Ping timeout: 260 seconds]
ilios has joined #nixos
kalbasit has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108209 → pythonPackages.patator: Fix dependencies → https://git.io/JL50i
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 6 commits to master: https://git.io/JLFYh
h0m1 has joined #nixos
<{^_^}> [nixpkgs] @ryantm merged pull request #108361 → python37Packages.micawber: 0.5.1 -> 0.5.2 → https://git.io/JLdjW
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JLFOl
gustavderdrache has quit [Quit: Leaving.]
fuiltilt has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @OPNA2608 opened pull request #108366 → [WIP] Lomiri DE → https://git.io/JLFO2
CMCDragonkai1 has quit [Ping timeout: 264 seconds]
Volk has joined #nixos
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
zebrag has quit [Client Quit]
zebrag has joined #nixos
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/b03d74001b4 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107976 → python-modules.weasyprint: 50 -> 52 → https://git.io/JLHQQ
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFOQ
quinn has quit [Quit: ZNC 1.8.1 - https://znc.in]
<remexre> bit of a newbie here; what's the right way (in a development environment) to get gradle with a specific JVM?
<remexre> I cobbled together the following, but it doesn't work:
<remexre> with import <nixpkgs> { packageOverrides = pkgs: rec { java = pkgs.graalvm11-ce; }; };
<remexre> pkgs.mkShell { nativeBuildInputs = [ pkgs.graalvm11-ce pkgs.gradle ]; }
quinn has joined #nixos
<stites[m]1> I would check out: https://github.com/tadfisher/gradle2nix
<lukegb> remexre: here is my unholy nix-shell incantation:
<lukegb> nix-shell -E '(let nixpkgs = import <nixpkgs> {}; java = nixpkgs.graalvm11-ce; gradle = (nixpkgs.callPackage (import (<nixpkgs> + "/pkgs/development/tools/build-managers/gradle")) { inherit java; jdk = java; }).gradle_latest; in nixpkgs.runCommand "dummy" { buildInputs = [ java gradle ]; } "")'
<lukegb> (mkShell is probably more reasonable than runCommand "dummy"
<lukegb> nix-shell -E '(let nixpkgs = import <nixpkgs> {}; java = nixpkgs.graalvm11-ce; gradle = (nixpkgs.callPackage (import (<nixpkgs> + "/pkgs/development/tools/build-managers/gradle")) { inherit java; jdk = java; }).gradle_latest; in nixpkgs.mkShell { buildInputs = [ java gradle ]; })'
<remexre> okay, I'll try that
<lukegb> You can put something ~similar in a shell.nix if you're using that, but you should get the general gist of what's going on?
<remexre> somewhat; I'm not sure of the logic of needing callPackage, I suppose
<lukegb> Ah, actually looking at the gradle stuff, you can simplify it somewhat
<lukegb> nix-shell -E '(let nixpkgs = import <nixpkgs> {}; java = nixpkgs.graalvm11-ce; gradle = (nixpkgs.gradleGen.override ({ inherit java; jdk = java; })).gradle_latest; in nixpkgs.mkShell { buildInputs = [ java gradle ]; })'
<remexre> and this works because gradleGen is a function?
<lukegb> gradleGen ends up being an attribute set of different gradle versions
<lukegb> The import hack was because nixpkgs.gradle doesn't itself provide the override function, which is the hook for overriding the Java/JDK used
<lukegb> I wasn't sure if that was just an oversight, but it turns out that "gradleGen" itself is exposed
<remexre> okay
<{^_^}> [nix-pills] @ulysses4ever opened pull request #167 → 06: typo → https://git.io/JLF37
<lukegb> .override allows you to swap out the arguments for different arguments (java and jdk in this case)
<lukegb> you can also probably do the packageOverrides thing to do something similar, but I tend to prefer (at least so far) just doing it locally to the thing I'm working on
<remexre> yeah, I hadn't seen .override before
<remexre> in this case, newbie is measured in hours, heh
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Dotz0cat has joined #nixos
jmeredith has joined #nixos
Dotz0cat_ has quit [Ping timeout: 256 seconds]
stigo has quit [Remote host closed the connection]
stigo has joined #nixos
stephank has quit [Quit: stephank]
Qubasa has quit [Quit: WeeChat 2.9]
Qubasa has joined #nixos
stephank has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
<donofrio> anyone know how to remove my nix install and start a new install on my osx imac that will compile everything without AVX extentions (my core duo doesn't have it.)
aw has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108260 → ttygif: add missing dependencies on xwd, imagemagick → https://git.io/JL5dt
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFsn
spacefrogg has joined #nixos
mkaito has quit [Quit: WeeChat 3.0]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108266 → idris2: 0.2.1 -> 0.2.2 → https://git.io/JL5AX
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFs8
andi- has quit [Remote host closed the connection]
nwspk has quit [Quit: nwspk]
dycan has joined #nixos
andi- has joined #nixos
nwspk has joined #nixos
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mzan has joined #nixos
stigo has quit [Remote host closed the connection]
gm53 has joined #nixos
blueberrypie has joined #nixos
<gm53> Does anyone have a working example of port forwarding with libvirt?
dycan has quit [Read error: Connection reset by peer]
jonringer has joined #nixos
<donofrio> does anyone know how I can remove nix that I installed on my osx imac and then get nix to install but to require compile for everything (excluding AVX instruction set because core duo doesn't support it)
<{^_^}> [mobile-nixos] @samueldr merged pull request #273 → stage-0: Teardown gadget before kexec → https://git.io/JLFY4
<{^_^}> [mobile-nixos] @samueldr pushed 4 commits to master: https://git.io/JLFsy
stigo has joined #nixos
<clever> donofrio: there is no need to reinstall or remove anything, just define the changes you want in config.txt, and nix will rebuild anything that it affects
<donofrio> how? (ie where is config.txt?)
<donofrio> clever, how do I do that?
<clever> getting a link to the docs...
<donofrio> clever, find in link "config.txt" not found ;(
<clever> typo, its config.nix
fuiltilt has joined #nixos
dycan has joined #nixos
<donofrio> in my /Users/lewisdonofrio/.config I have no nixpkgs directory (even though I have much installed and 16 hours of compiling packages) ?
<clever> it doesnt exist by default, you need to create it
<donofrio> what do I add to it to tell it to compile everything but do not use AVX anything?)
<clever> for that part, i'm not sure
ghasshee has quit [Ping timeout: 260 seconds]
riksteri has joined #nixos
<energizer> what do i mean here? https://bpa.st/C4OA
monokrome has quit [Ping timeout: 246 seconds]
<cole-h> Well, `old` is just the derivation attributes, so unless it has an `outPath` attribute specified, then that won't work.
monokrome has joined #nixos
<energizer> right it doesn't work just like you predicted
<{^_^}> [nixpkgs] @r-ryantm opened pull request #108367 → python37Packages.libcloud: 3.2.0 -> 3.3.0 → https://git.io/JLFGZ
<cole-h> If it were me, I'd just use `pkgs.runCommand` or `substituteAll` (the Nix function)
<cole-h> Pseudocode-ish, but something like: `script = writeScript "focused-window" (substituteAll { src = ./focusedwindow.py; inherit python xset xprintidle-ng; });` and call it a day
<donofrio> does anyone here know what I put in my configg.nix that restricts all packages to compile only and blacklist AVX instruction sets?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #108368 → python37Packages.tasklib: 2.2.1 -> 2.3.0 → https://git.io/JLFGz
<energizer> cole-h: that creates a ./result containing the only path to the .py script, execpt the .py script is made not executable
<energizer> except*
CMCDragonkai1 has joined #nixos
Supersonic112 has joined #nixos
<cole-h> What do you mean it's not executable?
<energizer> u-r permission
<energizer> i mean u-x
Supersonic has quit [Ping timeout: 264 seconds]
Supersonic112 is now known as Supersonic
<energizer> ./result is executable, but it contains only a path, and that path points to a script which is not executable
gm53 has quit [Remote host closed the connection]
fuiltilt has quit [Quit: WeeChat 2.9]
<cole-h> Ah, try `builtins.readFile (substituteAll ...)`
<cole-h> It was treating the path of the substituteAll result as the contents of the file
Dotz0cat_ has joined #nixos
zarel has quit [Ping timeout: 256 seconds]
Dotz0cat has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #107978 → gcc10: fix MinGW build & use local copy of mcfgthread patches → https://git.io/JLH7h
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JLFZY
<energizer> i think it doesn't like the hyphen in xprintidle-ng
maljub01 has quit [Quit: maljub01]
<energizer> writeScript "focused-window" (builtins.readFile (substituteAll {src = ./focusedwindow.py; inherit python xset; xprintidleng=xprintidle-ng;}))
<energizer> works ^
<energizer> cole-h++ thanks
<{^_^}> cole-h's karma got increased to 116
<donofrio> is anyone retooling nix to use rust?
<energizer> donofrio: there's hnix in haskell
<donofrio> becuase nix is gc and rust is not (seems better / more secure without gc)
veleiro has joined #nixos
<energizer> what's the connection between garbage collection and security?
maljub01 has joined #nixos
<donofrio> gc allows for less secure coding where rust requires memory tracking manually....at least that is what I've gleened from what I seen from a presentation on rust
<energizer> usually rust's memory model is framed as a more secure alternative to C-style manual memory management, not more secure than automatic memory management. at least that i've heard
<energizer> nix is implemented in C++ though, so maybe that's what you mean
<donofrio> I just would like to be able to use perhaps fuchsia with nix
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
<elvishjerricco> What's the option name for blacklisting nixos modules?
Volk has quit [Quit: See you next time!]
Dotz0cat_ has quit [Ping timeout: 260 seconds]
Dotz0cat has joined #nixos
<DigitalKiwi> disabledModules = [ "tasks/lvm.nix" ];
<DigitalKiwi> ?
zarel has joined #nixos
<elvishjerricco> DigitalKiwi: Yea that's it, thanks
<DigitalKiwi> :D
la-jesystani has joined #nixos
<la-jesystani> howdy, im at a loss with getting accelerated graphics working on my t420, im using the nixos-hardware profile, ive followed the wiki advice, but i still get libGL errors when trying to run thigs, is there a more correct way to make sure im doing the right thing?
griff_ has quit [Quit: griff_]
<veleiro> i keep getting 'Package ‘steam’ in /home/tgunnoe/src/nixpkgs/pkgs/games/steam/steam.nix:34 is marked as broken, refusing to evaluate.'
<veleiro> but going to steam.nix:34, there is no meta.broken there
<{^_^}> [nixpkgs] @r-ryantm opened pull request #108369 → python37Packages.sqlite-utils: 3.1.1 -> 3.2 → https://git.io/JLFnS
<veleiro> it matches upstream nixpkgs/release-20.09
<veleiro> where is 'broken' being read now?
dansho has joined #nixos
<veleiro> ug nevermind
<dansho> how come the ncat package does show up in search? https://search.nixos.org/packages?channel=20.09&from=0&size=30&sort=relevance&query=ncat
<veleiro> its because i used steam.override, but how confusing
<dansho> *doesn't show up
<bqv> hey, can any of the brainboxes here think of a way to modify every pkgs attr to have a passthru attr without affecting the hash?
Rusty1 has quit [Quit: WeeChat 2.3]
astylian has joined #nixos
Vanilla[m] has joined #nixos
andreas303 has quit [Ping timeout: 240 seconds]
<samueldr> bqv: unless that's the trivial side of the equation, and not what you're searching for
<samueldr> > hello.overrideAttrs({passthru ? {}, ...}: { passthru = passthru // { hi = "hi"; }; }) == hello
<{^_^}> true
<samueldr> I guess the "every pkgs attr" is the harder bit
andreas303 has joined #nixos
<bqv> samueldr: yeah i know i could do it with set tricks, but it'd be nice to be able to do it for every package native, so i could traverse package dependency trees without being behest to infinisil's signature issue with list usages everywhere
<bqv> i'm wondering if i could do it myself but still be able to use caches at least a bit
<bqv> even thought i'm pretty sure my config doesn't use caches basically at all, at this point... need to work out why
ghasshee has joined #nixos
<Vanilla[m]> Hello! I recently learned about flakes, and I'm now playing around. However, I can't seem to find a way to include a git input that has submodules - is there a way to do this right now?
gerschtli has quit [Quit: WeeChat 2.9]
gerschtli has joined #nixos
<{^_^}> [nixpkgs] @cole-h opened pull request #108370 → streamlink: 1.5.0 -> 2.0.0 → https://git.io/JLFcB
<bqv> cole-h: oh cool, ty
edwtjo has joined #nixos
edwtjo has quit [Changing host]
edwtjo has joined #nixos
dansho has quit [Ping timeout: 264 seconds]
griff_ has joined #nixos
sangoma has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 246 seconds]
palo1 is now known as palo
<{^_^}> [nixpkgs] @github-actions[bot] pushed 19 commits to staging-next: https://git.io/JLFCY
<{^_^}> [nixpkgs] @github-actions[bot] pushed 20 commits to staging: https://git.io/JLFCO
<la-jesystani> is the wiki taking ages to load each page for anybody else?
<Vanilla[m]> loads fine for me
<{^_^}> [nixpkgs] @numinit opened pull request #108371 → Fix dwarf-therapist build on OS X → https://git.io/JLFCg
andreas303 has quit [Ping timeout: 240 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nix-pills] @rnhmjoj merged pull request #167 → 06: typo → https://git.io/JLF37
<{^_^}> [nix-pills] @rnhmjoj pushed 2 commits to master: https://git.io/JLFCw
andreas303 has joined #nixos
luxemboye has quit [Ping timeout: 240 seconds]
<Thaodan> How does nixos decice which libc++ is used? I heard teamspeak broke when libc++ 11 was released/updated.
luxemboye has joined #nixos
Chiliparrot has joined #nixos
dansho has joined #nixos
<cole-h> bqv: "oh cool" -> streamlink bump? or something else?
<bqv> yes
<bqv> as you likely know, i use that
growpotkin has quit [Quit: ZNC 1.8.2 - https://znc.in]
* cole-h had no idea
<cole-h> :D
<bqv> Vanilla[m]: if you need submodules, add them manually or just use fetchgit. flakes doesn't support them natively and good bloody luck getting a PR for them in
<bqv> cole-h: heh, fair
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108365 → joe: cleanup → https://git.io/JLFYR
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFCH
sss2 has quit [Quit: Leaving]
<supersandro2000> bqv: or use the system software instead the vendored one
philr has quit [Ping timeout: 240 seconds]
<Vanilla[m]> bqv: Shame. It looks like flakes are the way to go for reproducible builds, and they have the whole promise of "you don't have to manually update git revs every time you want to update the source!". What do you mean about adding them manually?
philr has joined #nixos
<bqv> supersandro2000: not sure what you mean
<Vanilla[m]> bqv: thank you, I'll take a look. My best idea for actually using flakes seems to turn the submodule dependencies into flakes, too, which would make it all work, but then I would need a Nix environment to hack on the top-level git repo. I currently run NixOS on my server and a non-Nix distro locally
<bqv> i wonder if you could use IFD to make submod repos work pleasantly with flakes
<bqv> that'd be interesting. i hope someone tries that
<Vanilla[m]> IFD seems to be over my head
<cole-h> ,ifd
<{^_^}> import-from-derivation (IFD) is when you evaluate nix from a derivation result, for example `import (pkgs.writeText "n" "1 + 1")` will evaluate to 2. This is sometimes problematic because it requires evaluating some, building some, and then evaluating the build result. It has been described as "such a nice footgun."
<Vanilla[m]> Thank you
<bqv> i feel like my opinion on IFD mirrors my opinion on programming languages, i.e. my favourite is C++ and people have the exact same saying of that :D
<bqv> Vanilla[m]: note, the distinction doesn't exist in guix! (i mention it cause i've seen a few others ask about that)
<Vanilla[m]> bqv: Thank you! I've only ever used Nix/NixOS, and fairly lightly at that. But I've been really enjoying using it for my server
stoile has quit [Ping timeout: 256 seconds]
griff_ has quit [Quit: griff_]
<{^_^}> Channel nixos-20.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c5c6009fb43 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.09-small)
la-jesystani has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108341 → nomad: add optional nvml support → https://git.io/JLdS0
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFW4
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLFWu
domogled has joined #nixos
ransom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CMCDragonkai1 has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout merged pull request #108362 → haskellPackages.servant-client[-core]: jailbreak to support QuickCheck 2.14 → https://git.io/JLFkM
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to master: https://git.io/JLFW7
<energizer> i have this service running https://bpa.st/AQBA but one of the programs it uses keeps getting garbage collected. namely /nix/store/sd8k2k633pxj19w1p9vi87i4pkkqs46g-xprintidle-ng-git-2015-09-01
<energizer> i dont think that's supposed to happen
eoli3n has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to haskell-updates: https://git.io/JLFlU
<srhb> energizer: Can you confirm that the rendered activewindow ExecStart script contains the path to xprintidle-ng?
<energizer> srhb: yes
<srhb> energizer: Yes "confirmed" or yes you can confirm it? :3
<energizer> srhb: it is there
<srhb> energizer: And that is the path that has been gc'ed?
<energizer> srhb: yes
<energizer> er
<energizer> yes
<srhb> Please pastebin the output of nix-store -qR (path to the rendered activewindow)
<srhb> If the reference is in order, then it sounds like store corruption, and you should validate everything; it should not happen :)
<energizer> srhb: https://bpa.st/2HZA
hiro98 has joined #nixos
orivej has joined #nixos
mallox has joined #nixos
<srhb> energizer: And just to confirm, /nix/store/sd8k2k633pxj19w1p9vi87i4pkkqs46g-xprintidle-ng-git-2015-09-01 does not exist?
<srhb> Wait, that was the reference graph of xprintidle, not activewindow.
<energizer> sec
<energizer> srhb: % nix-store -qR /nix/store/pvlvlvcs4yi6nsnj7a1wv00apll70b9n-activewindow returns only /nix/store/pvlvlvcs4yi6nsnj7a1wv00apll70b9n-activewindow
<srhb> energizer: Please pastebin the activewindow file then
<jophish> Is it possible for someone to merge this, please: https://github.com/NixOS/nixpkgs/pull/107001
<{^_^}> #107001 (by expipiplus1, 2 weeks ago, open): libsurvive, monado, xrgears init
<energizer> srhb: https://bpa.st/MZVA
<Vanilla[m]> I'm thinking: even if it were possible to generate a list of submodule inputs from a git URL, it wouldn't be possible to make it into a library function purely with Flakes, since you'd need to fetch the library function as a flake input (or from a flake input like nixpkgs), and then use that library function to get more flake inputs. Doesn't seem possible
nly has joined #nixos
<energizer> srhb: with pre-render and post-render https://bpa.st/27NA
<{^_^}> [nixpkgs] @fabaff opened pull request #108372 → gdu: init at 2.0.0 → https://git.io/JLFlr
<srhb> energizer: I can't see how that could reasonably be missing its reference offhand. I'd validate store integrity.
<nly> how do I manage ~/?
<srhb> ,home-manager nly
<{^_^}> nly: home-manager allows you to manage your per-user configuration similarly to NixOS's configuration.nix <https://nixos.wiki/wiki/Home_Manager>. It can also be used in your NixOS configuration directly, see <https://rycee.gitlab.io/home-manager/index.html#sec-install-nixos-module>
<srhb> nly: That's one option
<Vanilla[m]> I don't see any philosophical reason not to allow nix flakes to fetch submodules, though.
Siyo has joined #nixos
Chiliparrot has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9bf170109d7 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<nly> srhb: i saw grahamc.com "erase your darlings", how's zfs?
<srhb> nly: I like it. :) I haven't gone full "erase your darlings" yet, but it's tempting. If only the day had more hours :)
<tejing> Vanilla[m]: why do the fetched things need to be flake inputs after being fetched? can't you just import them directly?
<energizer> nly: srhb: erasure is simplified with https://github.com/nix-community/impermanence
<{^_^}> [nixpkgs] @vbgl opened pull request #108373 → ocamlPackages.lwt_ppx: 2.0.1 → 2.0.2 → https://git.io/JLFld
<srhb> Indeed. Very cool :)
Chiliparrot has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #107819 → ocamlPackages.csv: use Dune 2 → https://git.io/JLSYs
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.csv: use Dune 2 »: https://git.io/JLFlb
<energizer> srhb: you mean nix-store --verify --check-contents --repair ?
<Ke> you don't strictly need impermanence though, I don't use it
<srhb> energizer: Essentially yes, though repair may not be possible.
<Ke> etu's github has some examples and volatile rootfs is surprisingly popular here
<Ke> I use tmpfs rootfs
<Ke> barely any files require preservation
infty has joined #nixos
<{^_^}> [nixpkgs] @doronbehar merged pull request #105301 → zsh: Disable compiling in /usr/local/... as the site-function directory → https://git.io/JkN1t
<{^_^}> [nixpkgs] @doronbehar pushed 2 commits to master: https://git.io/JLFlh
<energizer> impermanence also can manage home directory
<Ke> for most systems
<Vanilla[m]> tejing: I can, but wouldn't that be beside the point of using nix flakes? Right now I have a `fetchgit` command in my derivation, and it's fine (and in fact, preferred since I have to consciously update the source). If I had my package source as a flake input, I wouldn't explicitly write my rev/hash, but it would get stored in the lock file and remain until I consciously update it. But if I generate a list of submodules at
<Vanilla[m]> runtime, that wouldn't be hermetic at all
<Vanilla[m]> though I admit I don't really have an idea of what I'm talking about
<{^_^}> Channel nixpkgs-20.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c5c6009fb43 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.09-darwin)
<tejing> it sounds like you want to download the source yourself, but also want nix to manage downloading it... which is it?
<srhb> energizer: Hang on, I just noticed your use of builtins.readFile.. That's suspect.
<energizer> srhb: what do i mean instead? otherwise i just get a script with a path in it
<Vanilla[m]> tejing: I want to have a lock on the version of the source I'm downloading. I also want this lock to be handled by nix. This isn't absurd, since this is precisely what Nix flakes does. except... it doesn't work for submodules
<energizer> srhb: --verify didn't notice any problems
<srhb> energizer: You probably want runCommand
<srhb> energizer: No, I'm quite sure it's the readFile usage, sorry I didn't notice before.
<tejing> Vanilla[m]: define submodules?
<Vanilla[m]> tejing: git submodules. Flakes can fetch a non-flake git repo just fine to use as source input, but it doesn't do it recursively. So, any project of mine that has git submodules is off-limits
<{^_^}> [nixpkgs] @raboof closed pull request #108218 → manual/gnome: clarify the glib setup hook → https://git.io/JL5gG
sangoma has quit [Ping timeout: 240 seconds]
<tejing> Vanilla[m]: ah, I get it... I don't see any good way around it either :-/
sangoma has joined #nixos
<energizer> srhb: https://bpa.st/HHUA
<Vanilla[m]> tejing: Me neither.. not without changing how `nix` currently handles flake inputs. But then again, I think fetching submodules is a harmless feature to add to flakes. I'm reading the Nix C++ source code now to see if there are any reasons it wouldn't work.
edwtjo has quit [Ping timeout: 240 seconds]
edwtjo has joined #nixos
<dycan> hi. how to node2nix to get the latest expo-cli? Two problems right now: 1. the one in nixos-unstable is not the latest one. 2.the fastlane-darwin in expo-cli fails because my nixos is not darwin. It should be optional.
<Vanilla[m]> dycan: If you're not packaging `expo-cli`, I think you can make a `modules.json` file, which contains an array of just `"expo-cli"`, and then point `node2nix` to it as input. You may also want to specify an `--output` nix file so that you can import it in your main nix expression
dansho has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #107987 → [staging] openblas: 0.3.12 -> 0.3.13 → https://git.io/JLQfW
<{^_^}> [nixpkgs] @jonringer pushed to staging « openblas: 0.3.12 -> 0.3.13 »: https://git.io/JLF8o
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108297 → python3Packages.certifi: 2020.11.8 -> 2020.12.5 → https://git.io/JLdln
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to staging: https://git.io/JLF8K
<Vanilla[m]> dycan: if you use `--output`, it should generate something like this: https://dev.danilafe.com/DanilaFe/custom-nix/src/branch/master/blog/required-packages.nix , which you can then import. Its attributes should include `expo-cli`
<energizer> srhb: or did i miss a step
<dycan> Vanilla[m]: Thanks! trying now.
<srhb> energizer: Sorry, since you're ussing the build-support version of substituteAll you shouldn't need runCommand, just substituteAll.
<energizer> srhb: then it's not executable
<srhb> energizer: Think it has an isExecutable switch
jonringer has quit [Ping timeout: 260 seconds]
<energizer> srhb: which does? substituteall doesn't afacit
nly has left #nixos ["ERC (IRC client for Emacs 27.1)"]
<energizer> afaict*
<srhb> energizer: It does.
<srhb> energizer: See: pkgs/build-support/substitute/substitute-all.sh[
<energizer> sure enough
<srhb> mkDerivation passing env vars by default is a bit of a curse :)
<srhb> Makes things quite spoky-at-a-distance
<energizer> the whole **kwargs thing is pretty wild. i wish it wasnt like that
<{^_^}> [nixpkgs] @FRidh merged pull request #108347 → hdf4: Fix aarch64 build → https://git.io/JLdQ7
<{^_^}> [nixpkgs] @FRidh pushed commit from @knedlsepp to master « hdf4: Fix aarch64 build »: https://git.io/JLF8b
<energizer> srhb: ok it doesn't gc now
<energizer> srhb++ thanks
<{^_^}> srhb's karma got increased to 141
<srhb> energizer: Great! :)
MichaelRaskin has joined #nixos
<matthewcroughan> colemickens: what does your update script for colebot look like?
Nicksalot has joined #nixos
cfricke has joined #nixos
<matthewcroughan> flake-firefox-nightly, I wanna do the same sort of thing for dolphin-emu.
<Nicksalot> I have a really dumb question: why are some programs installed/enabled via `program.X.enable` and others I seem to need to just add to environment.systemPackages ?
<andi-> Nicksalot: usually programs.X is used where simply adding a program to PATH isn't sufficient.
thc202 has joined #nixos
<andi-> Nicksalot: e.g. deploying a global config file to /etc/, setting setuid, ensuring a user/directory exists
<Nicksalot> That makes sense
<andi-> it isn't great for intuition as neither all programs have programs.X options and also some of them might work good enough without that option by just being on path
<Nicksalot> Yeah, your explanation is obvious in retrospect, but I hadn't had to use anything from programs. until just now and it left me wondering why there isn't _only_ programs, rather than systemPackages as well
<andi-> :)
<Nicksalot> Thanks andi-
vidbina_ has joined #nixos
<patagonicus> https://github.com/NixOS/nixpkgs/blob/nixos-20.09/nixos/modules/programs/mosh.nix is a simple example of a programs.X thing. Setting programs.mosh.enable to true will both add mosh to systemPackages (line 31) and also open the firewall ports for it (line 32). And if you set the withUtempter option it'll add a security wrapper.
<andi-> I think it would be great if there was an option for *every* program as that would allow adding settings when a specific program is enabled for all those users that traditionally might only have added it to systemPackages
<Nicksalot> patagonicus, This is a great example because I've been using mosh in systemPackages and it has worked just fine, I'd never have realised I should be enabling it in programs instead
<Nicksalot> Also explains why `who` doesn't show me everything, damn, I'm getting all the answers today :)
<patagonicus> Nicksalot: :D Only really needed on the host side of mosh, for the client it doesn't really change anything (you might not even want to use programs.mosh.enable if you never want to mosh *to* that system just to keep the firewall closed).
<Nicksalot> Oh It's the host side that I meant though
<Nicksalot> I'm using nix on machines I want to mosh into
<Nicksalot> mosh seems happy as long as the binary is available, will switch to programs for that nice who support
<veleiro> why do you have to stage a file for flakes to see it?
madalu has quit [Ping timeout: 240 seconds]
oida has quit [Ping timeout: 240 seconds]
michiel__ has quit [Remote host closed the connection]
michiel__ has joined #nixos
madalu has joined #nixos
oida has joined #nixos
Darkmatter66 has joined #nixos
vidbina_ has quit [Ping timeout: 240 seconds]
a4wc6n[m] has quit [Quit: Idle for 30+ days]
fatjedi[m] has quit [Quit: Idle for 30+ days]
slabity has quit [Quit: Idle for 30+ days]
tejing[m] has quit [Quit: Idle for 30+ days]
griff_ has joined #nixos
vidbina_ has joined #nixos
stoile has joined #nixos
<Vanilla[m]> wait a moment. Unless I'm just really tired, a flake input attribute set can have `type = "git"` and all the other relevant git params?
civodul has joined #nixos
<Vanilla[m]> except flakes (arbitrarily!) enforces that all attributes should be strings....
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.ppx_blob: 0.7.1 -> 0.7.2 »: https://git.io/JLFBp
ilios has quit [Ping timeout: 260 seconds]
<chrisaw> What do I need to enable in order to get GNOME to auto-update when I install a new app? I'm sure I've had this fixed before but lost the fix. :(
dycan has quit [Ping timeout: 264 seconds]
dycan has joined #nixos
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
<DigitalKiwi> veleiro: it ignores anything that's not in the git index
seku has joined #nixos
<DigitalKiwi> Note that any file that is not tracked by Git is invisible during Nix evaluation, in order to ensure hermetic evaluation. Thus, you need to make flake.nix visible to Git:
<dycan> hi Vanilla[m]: When entering "nix-shell -A shell", Error "Not running on darwin" in travelling-fastlane-darwin. I am in linux nixos. Anyway to disable this optional thing?
sangoma has quit [Ping timeout: 256 seconds]
<Vanilla[m]> dycan: Unfortunately, I don't know :(
Jackneilll has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
<dycan> Vanilla[m]: I see. I am moving in the right direction. Thanks!
<Vanilla[m]> dycan: Good luck!
wavirc22_ has quit [Ping timeout: 256 seconds]
fuiltilt has joined #nixos
sangoma has joined #nixos
<ptotter[m]> I got a go-2 package from somewhere
Darkmatter66 has quit [Ping timeout: 264 seconds]
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #108377 → iosevka-bin: 4.2.0 -> 4.3.0 → https://git.io/JLF0H
o1lo01ol_ has quit [Remote host closed the connection]
infty has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #108378 → pythonPackages: cleanups, test disabled if there are not tests, dependency fixes → https://git.io/JLFET
CMCDragonkai1 has quit [Quit: CMCDragonkai1]
ottidmes has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
<{^_^}> [mobile-nixos] @samueldr opened pull request #274 → uefi-x86_64: Drop "quiet" kernel command line option → https://git.io/JLFE4
m0rphism has joined #nixos
fendor has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 opened pull request #108379 → ngt, katago: stdenv.hostPlatform.avxSupport, cleanups, raxml: cleanups → https://git.io/JLFEH
respawn_ has joined #nixos
Nicksalot has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Patryk27 opened pull request #108380 → nixos/lxd: Disable cgroup v2 when LXD is active → https://git.io/JLFEh
orivej has quit [Ping timeout: 264 seconds]
hiro98 has quit [Ping timeout: 272 seconds]
amir has quit [Read error: Connection reset by peer]
amir has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #108381 → python3Packages.whois: init at 0.9.7 → https://git.io/JLFu8
pitch has joined #nixos
<pitch> hey there! are there any expiriences with nixos on an raspberry Pi4?
<madonius[m]> 🖖
<patagonicus> https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi_4 it's sort-of supported. No official support, but should run. Mostly blocked on some RPi4 specific patches needing to be added to the mainline Linux kernel.
<madonius[m]> <pitch "hey there! are there any expirie"> it runs, though I was told that you would want to build stuff on another machine
<madonius[m]> there is relevant documentation in the wiki
<energizer> pitch: i tried and failed
<patagonicus> madonius[m]: RPi4 is aarch64 and gets official binary caches, doesn't it? So you shouldn't need to build much.
<energizer> other people have succeeded
<madonius[m]> that wat people told me 🤷‍♂️
<madonius[m]> * thats what people told me 🤷‍♂️
turlando has joined #nixos
<madonius[m]> people gave me the advice to not do it
<madonius[m]> I do have a question regarding nginx as a reverse proxy and letsencrypt
<patagonicus> Maybe they were thinking of RPi1/2/Zero because they are 32-bit arm, which means you'll have to compile everything yourself (or find some random community user who's hosting a cache for it)
<madonius[m]> are the subdomains not added to the certificate?
<madonius[m]> I was discussing RPi3 with them
<{^_^}> [nixpkgs] @jojosch opened pull request #108382 → dbeaver: 7.3.1 -> 7.3.2 → https://git.io/JLFux
MichaelRaskin has quit [Ping timeout: 256 seconds]
<patagonicus> Ah, RPi3 can run both 64-bit or 32-bit kernels/userland, but I think the default is 64 bit. I did try 32 bit NixOS on it, but, yeah, compiling everything will take forever.
<patagonicus> Maybe the RPi4 can do that as well, not sure.
psy3497 has quit [Ping timeout: 256 seconds]
spudly1 has quit [Read error: Connection reset by peer]
vuko has quit [Quit: leaving]
<madonius[m]> I have foo.bar.com pointing to the server and have added the locations under this
vuko has joined #nixos
<madonius[m]> those seem to not be included in the certificate
<madonius[m]> I did not add the aliases explicitly
<madonius[m]> since the configuration knows those locations I would expect them to be added automatically
<patagonicus> By "pointing" you just mean DNS? Then, no, because NixOS doesn't know about the subdomain.
<patagonicus> Can you maybe paste the relevant bits of your config?
<madonius[m]> sure
esotericn has joined #nixos
veleiro has quit [Ping timeout: 256 seconds]
<ghasshee> Nix pills describes design patterns, however, I think, in the sense of functional programming, they are types. I would like to know whether they are design patterns rather than types. Any thoughts ?
<ghasshee> I would like to know why.
<madonius[m]> patagonicus: you see, the information would be there, in theory
<{^_^}> [nixpkgs] @fabaff opened pull request #108383 → fatrace: 0.13 -> 0.16.1 → https://git.io/JLFzD
<patagonicus> madonius[m]: The systemd service generated by does get a cert for home.example.com. What domain is missing?
thibm has joined #nixos
<naon> ghasshee: i'd expect types to be logically sound and checked. this doesn't apply to the pills (and to the majority of nix :/ )
Darkmatter66 has joined #nixos
<madonius[m]> the subdomains moon.home.example.com and hass.home.example.com
detran has quit [Quit: ZNC 1.8.1 - https://znc.in]
lsix has joined #nixos
spudly1 has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #104089 → duplicity: add missing deps for S3 → https://git.io/Jkldq
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/JLFzh
wentasah has quit [Quit: Bye]
wentasah has joined #nixos
detran has joined #nixos
<patagonicus> madonius[m]: Ah! Those aren't subdomains, those are locations on the one virtual host. I'm actually not quite sure what a location block does that's not anchored by a /, but I'd suspect that this config reditects to …1 on home.example.com/moon and to …2 on home.example.com/hass. What you want is probably virtualHosts."moon.home.example.com" = {
<patagonicus> addSSL = true; enableACME = true; locations."/".proxyPass = "http://10.1.1.1"; } and then a separate virtualHosts block for hass.home.example.com.
KarlJoad has quit [Remote host closed the connection]
<ghasshee> naon: Thanks for the answer. Do you mean that it is because Nix is dynamically typed ?
<ghasshee> \
<madonius[m]> Ah, that makes sense
<madonius[m]> thanks
<{^_^}> [nixpkgs] @fabaff opened pull request #108384 → python3Packages.python-whois: init at 0.7.3 → https://git.io/JLFgV
<ghasshee> Does anyone know the answer of the question why nix is dynamically typed?
<madonius[m]> would be great if there was a way to configure it in one structure, I will think about how that could be done and maybe issue a PR
chiefgoat has quit [Read error: Connection reset by peer]
domogled has quit [Quit: domogled]
dycan has quit [Remote host closed the connection]
<ghasshee> answer.
<ghasshee> I would like concrete examples that enlights the
<ghasshee> answer.
<ghasshee> ( the first one is mis-sended. )
respawn_ has quit [Quit: Leaving]
__monty__ has joined #nixos
<naon> ghasshee: yes
<{^_^}> Channel nixos-20.09 advanced to https://github.com/NixOS/nixpkgs/commit/c5c6009fb43 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-20.09)
kalbasit has quit [Ping timeout: 260 seconds]
<patagonicus> madonius[m]: If it's just about not wanting to repeat the common options, you could use for example lib.mapAttrs': https://0bin.net/paste/ca14C2Js#-0JFwrviix//+Rzf6x4HPCQtpEB/AEQE2WNIu4FBqZL
<{^_^}> [nixpkgs] @oxzi opened pull request #108385 → pytun: 2.2.1 -> 2.3.0 → https://git.io/JLF2v
<madonius[m]> that's cool, thank you :)
m4ts has joined #nixos
kalbasit has joined #nixos
m4tsa_ has quit [Ping timeout: 256 seconds]
<patagonicus> It takes a bit to learn and I'm still learning, but once you get the hang of it, abstracting things in nix or nixos configs becomes really nice. I haven't gotten into writing my own modules, but that's the next step (they're really not that difficult).
Chiliparrot has quit [Ping timeout: 264 seconds]
<madonius[m]> abstractions is the nixos shtick, right?
<patagonicus> Might just be a result of the functional programming. I think functional language always tempt you to make things as abstract and reusable as possible.
cfricke has quit [Quit: WeeChat 3.0]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLF2B
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107550 → python3Packages.pydicom: 2.1.1 -> 2.1.2 → https://git.io/JL1sq
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF20
Chiliparrot has joined #nixos
psiquo has joined #nixos
ghasshee has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @ehmry pushed to master « ipxe: 1.20.1 -> 1.21.1 »: https://git.io/JLF2F
Chiliparrot has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107533 → sourcetrail: fix hash for SourceTrailPythonIndexer → https://git.io/JLXbC
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JLFac
fuiltilt has quit [Quit: WeeChat 2.9]
Chiliparrot has joined #nixos
chiefgoat has joined #nixos
cfricke has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres closed pull request #104662 → treewide: change the occurrences of "name" to "pname-version" → https://git.io/Jk6ns
<{^_^}> [nixpkgs] @edolstra pushed to master « Typo »: https://git.io/JLFaw
meh` has joined #nixos
psiquo has quit [Quit: psiquo]
Chiliparrot has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @fabaff opened pull request #108387 → python3Packages.asyncwhois: init at 0.2.0 → https://git.io/JLFwn
psiquo has joined #nixos
nly has joined #nixos
<nly> what's it take to enable uefi? just enable uefi in config.nix?
meh` has quit [Ping timeout: 240 seconds]
Darkmatter66 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @github-actions[bot] pushed 21 commits to staging-next: https://git.io/JLFwQ
<{^_^}> [nixpkgs] @github-actions[bot] pushed 22 commits to staging: https://git.io/JLFw7
orivej has joined #nixos
meh` has joined #nixos
respawn_ has joined #nixos
Chiliparrot has joined #nixos
lsix has quit [Ping timeout: 260 seconds]
meh` has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @otavio opened pull request #108388 → cargo-valgrind: init at 1.3.0 → https://git.io/JLFrw
psiquo has quit [Quit: psiquo]
<cptMikky> hey, I have trouble fully understanding package overlays. I'm using them successfuly as a user (via ~/.config/nixpkgs/overlays) both as overrides (versions, patches, etc.) and new packages built via `callPackage` in one of the <.nix> overlay file. Now I need to install one of the packages as a system package but I can't seem to convince `nixos-rebuild` to use the overlays to install the new package. I've read
<cptMikky> the NixOS manual but I'm not sure I fully understand it.
<cptMikky> I've tried setting the $NIX_PATH to use my user overlays but with no success.
<pitch> madonius[m] patagonicus thanks for the infos. i will give it a try. how bad of a practice are these infestation installers?
<{^_^}> [nixpkgs] @raboof opened pull request #108389 → jetbrains: updates → https://git.io/JLFoI
<{^_^}> [nixpkgs] @fabaff opened pull request #108390 → python3Packages.autobahn: 20.7.1 -> 20.12.3 → https://git.io/JLFoZ
madalu has quit [Remote host closed the connection]
madalu has joined #nixos
lsix has joined #nixos
<{^_^}> [nixpkgs] @edolstra merged pull request #96495 → lcov: 1.14 -> 1.15 → https://git.io/JUIWc
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/JLFo9
<__monty__> This could use some eyes, https://github.com/NixOS/nixpkgs/pull/99196
<{^_^}> #99196 (by toonn, 13 weeks ago, open): nixos/borgbackup: Borgbackup retry
Siyo has quit [Quit: Bye]
Siyo has joined #nixos
respawn_ has quit [Quit: Leaving]
ehmry has quit [Read error: Connection reset by peer]
nly has left #nixos ["ERC (IRC client for Emacs 27.1)"]
justanotheruser has quit [Ping timeout: 272 seconds]
<{^_^}> [hydra] @edolstra merged pull request #839 → Add endpoint to generate a shields.io badge → https://git.io/JLXbo
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/JLFKA
mkaito has joined #nixos
teto has joined #nixos
asbachb has joined #nixos
<asbachb> Hi. Anyone configured a raw thumbnailer?
ehmry has joined #nixos
mkaito has quit [Client Quit]
turlando has quit [Ping timeout: 256 seconds]
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<{^_^}> [nixpkgs] @AndersonTorres merged pull request #108261 → Updates → https://git.io/JL5dy
<{^_^}> [nixpkgs] @AndersonTorres pushed 6 commits to staging: https://git.io/JLF6W
<{^_^}> [nixpkgs] @r-ryantm opened pull request #108392 → terraform-compliance: 1.2.11 -> 1.2.11 → https://git.io/JLF60
lord| has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #107962 → Colmap: 3.5 -> 3.6 and fix colmapWithCuda build → https://git.io/JLHrJ
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JLF6b
Chiliparrot has quit [Ping timeout: 258 seconds]
ghasshee has joined #nixos
Chiliparrot has joined #nixos
asbachb has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #107223 → quantum-espresso: 6.5 -> 6.6 → https://git.io/JLu54
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JLFiR
<{^_^}> [nixpkgs] @markuskowa merged pull request #108114 → rdma-core: 31.2 -> 33.0 → https://git.io/JL7uF
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JLFia
MichaelRaskin has joined #nixos
mkaito has quit [Read error: Connection reset by peer]
ghasshee has quit [Ping timeout: 264 seconds]
<madonius[m]> I am currently trying to get nextcloud running and did not specify the package, yet it is trying to install nextcloud19
<{^_^}> [nixpkgs] @petabyteboy merged pull request #108271 → python3Packages.adblock: init at 0.4.0 → https://git.io/JL5j2
<{^_^}> [nixpkgs] @petabyteboy pushed to master « python3Packages.adblock: init at 0.4.0 (#108271) »: https://git.io/JLFXB
cosimone has joined #nixos
aforemny has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #108393 → visidata: 2.1 -> 2.1.1 → https://git.io/JLF1D
<aforemny> Hi, I recently installed NixOS on a Thinkpad X1 Extreme Gen3 and my battery does not charge (it is now fully depleted). Before I install Windows again to see if I can solve that problem there, I wanted to ask if anybody had any idea what I could investigate? I am using nixos-unstable with the latest kernel, included thinkpad-x1e/gen2 from nixos-hardware which loads the the "battery" kernel module, and
<aforemny> enables the throttled and tlp services. I have tried various hardware reset options that I have found on the internet to no avail. Any help would be appreciated! :)
<DigitalKiwi> madonius[m]: it has a default set probably
<DigitalKiwi> ...that doesn't show up on the web interface
<madonius[m]> Ah, I see
<madonius[m]> i was confused ^^'
<madonius[m]> thanks
<dminuoso> aforemny: Will the battery charge while loaded into bios?
<DigitalKiwi> i think most things like that have a default
thibm has quit [Ping timeout: 246 seconds]
nocent has joined #nixos
<aforemny> dminuoso: No, it does not charge there either
<dminuoso> aforemny: Then you have bricked hardware. It's unlikely NixOS caused this.
<dminuoso> Also try another charger, if possible.
carthia has joined #nixos
<dminuoso> If the charger cant deliver enough power, it's quite possible that the firmware will refuse to put any charge into the battery.
<aforemny> dminuoso: Thanks for the second opinion. I am too thinking the battery or charger might be defunct. Unfortunately, I don't have a second power supply to test.
ghasshee has joined #nixos
<dminuoso> aforemny: Also, the cable could be defunct.
<dminuoso> I dont quite understand the details, but USB-C is a very complicated standard. You can brick both chargers and devices if the cable has wrong electrical properties.
<dminuoso> Which is even more funny, since USB-C is just a connector specification
<dminuoso> So getting "the right cable" can be quite tricky, since vendors dont usually tell you what kind of cable you're getting
teto has quit [Quit: WeeChat 3.0]
<dminuoso> (USB-C is the single largest mess the hardware industry has achieved in the past 20 years)
thibm has joined #nixos
<adisbladis> dminuoso: Don't get me started.....
<adisbladis> USB-C, the plug you look at and still have _no idea_ what it's for
<adisbladis> Is it an analouge headphone port, or a digital one, or a displayport, or power, or ...
<adisbladis> The answer to all of these things can be yes :/
<dminuoso> adisbladis: Well, if its alt-mode, then all bets are off and it depends on whatever crazy stuff you're running over it.
<dminuoso> Some of those are standardized, others not..
<dminuoso> And even if you think you know what cable you have, suddenly there's differences like
<dminuoso> For charging, it makes a difference whether you have a 56k ohms pull up resistor or not
DanC has quit [Ping timeout: 260 seconds]
cYmen has quit [Quit: bye]
<dminuoso> Oh wait, I mixed it up even. Well, this is sort of proof how bad this standard is.
cYmen has joined #nixos
<dminuoso> It looks nice if you live in this magical world of "one cable for everything" until you realize what a complete and blatant lie it is. :(
<{^_^}> [nixpkgs] @kidd opened pull request #108395 → metabase: 0.37.3 -> 0.37.4 → https://git.io/JLFD8
thibm has quit [Ping timeout: 246 seconds]
DanC has joined #nixos
cfricke has quit [Quit: WeeChat 3.0]
justanotheruser has joined #nixos
nDuff has joined #nixos
<aforemny> Inside /sys/class/power_supply/BAT0, voltage_now says 12.178.000 and voltage_min_design 15.360.000. Would that be normal for a fully discharged battery?
<dminuoso> T480s here, 12851000 / 11520000 for those values respectively
thibm has joined #nixos
<cz3> hi there, I have a nixos host with fairly simple configuration.nix, I tried changing some networking settings and doing an upgrade but I keep receiving "all build users are currently in use"
<cz3> I have already added nrBuildUsers = 48 and maxJobs = 48 to configuration.nix but it does not change anything :/
<cz3> any idea what can I change to make it work?
<cz3> I have removed nearly all networking settings but it is still crashing with above error
<aforemny> dminuoso: Thanks! I am assuming voltage_now should always be >= voltage_min_design. But maybe not for a fully discharged battery.. *shrug*
ghasshee has quit [Ping timeout: 246 seconds]
elvishjerricco has quit [Ping timeout: 260 seconds]
<donofrio> does anyone here know what I put in my config.nix that restricts all packages to compile only and blacklist AVX instruction sets?
<dminuoso> aforemny: If the voltage is this far off the minimal design, you probably have a defunct battery.
<{^_^}> [nixpkgs] @nagy opened pull request #108396 → ceph: enable aarch64-linux platform → https://git.io/JLFyc
globin_ has quit [Quit: o/]
orcus- has joined #nixos
globin has joined #nixos
<dminuoso> Did you flash any firmware by any chance?
<lukegb> donofrio: compile only would be putting "substituters = " in your nix.conf
ckauhaus has joined #nixos
pitch has quit [Ping timeout: 260 seconds]
aranea has quit [Ping timeout: 260 seconds]
jasom has quit [Ping timeout: 260 seconds]
lvrp16 has quit [Ping timeout: 260 seconds]
mupf[m] has quit [Ping timeout: 260 seconds]
HeN has quit [Ping timeout: 260 seconds]
globin has quit [Changing host]
globin has joined #nixos
<dminuoso> aforemny: Also note, I dont know how much trust you can place in those values.
Emantor_ has joined #nixos
elvishjerricco has joined #nixos
<dminuoso> I think the BIOS exposes battery health stats
<dminuoso> Those should be more reliable
cheriimoya has quit [Ping timeout: 260 seconds]
orcus has quit [Ping timeout: 260 seconds]
scoates has quit [Ping timeout: 260 seconds]
Emantor has quit [Ping timeout: 260 seconds]
scoates has joined #nixos
mupf[m] has joined #nixos
jasom has joined #nixos
pitch has joined #nixos
HeN has joined #nixos
aranea has joined #nixos
cheriimoya has joined #nixos
lvrp16 has joined #nixos
stree has joined #nixos
gxt has quit [Quit: WeeChat 3.0]
cosimone has quit [Quit: cosimone]
<aforemny> dminuoso: I updated the BIOS the first time I booted into Windows if I recall correctly. Unfortunately, the BIOS does not show any information on battery health.
cfricke has joined #nixos
cfricke has quit [Client Quit]
gxt has joined #nixos
waleee-cl has joined #nixos
thibm has quit [Ping timeout: 256 seconds]
jonringer has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @afreakk opened pull request #108397 → eksctl: 0.34.0 -> 0.35.0 → https://git.io/JLFyp
lsix has quit [Quit: WeeChat 2.9]
lsix has joined #nixos
lsix has quit [Client Quit]
lsix has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #108398 → profiles/hardened: Add note about potential instability → https://git.io/JLFSq
evanjs has quit [Ping timeout: 256 seconds]
eacameron has joined #nixos
lsix has quit [Client Quit]
lsix has joined #nixos
<eacameron> I'm using Gnome and I can't figure out how to show background programs icons anywhere. E.g. I have keybase running (I think) but there's no way to open it. Anyone know what to do?
evanjs has joined #nixos
gustavderdrache has joined #nixos
gxt has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #108343 → python37Packages.nocaselist: 1.0.3 -> 1.0.4 → https://git.io/JLd97
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JLFSV
<ij> does nixos firewall module allow to whitelist a port only on specific interface? it doesn't seem like it. what other options do I have?
gxt has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #108395 → metabase: 0.37.3 -> 0.37.4 → https://git.io/JLFD8
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/JLFSM
<dminuoso> ij: networking.firewall.extraCommands
<dminuoso> ij: Oh hold on, you can use networking.firewall.interfaces apparently
<dminuoso> It's just not documented
<petrichor> Anyone running foldingathome on a nixos box with a gpu?
<petrichor> Any ideas why it would appear to be working fine but not actually report any progress?
<dminuoso> ij: You can set `networking.firewall.interfaces.foo.allowedTCPPorts = [ 22 ]` for example, apparently
shibboleth has joined #nixos
<ij> dminuoso, nice, so it seems from the module source!
<petrichor> There was a while when I didn't have opencl working at all, and at that point it errored out, but now i have opencl working correctly for other apps (e.g. darktable, as verified by `darktable-cltest`) it seems to be working but definitely isn't
<ij> I'll try it
meh` has joined #nixos
fendor_ has joined #nixos
ishan66 has joined #nixos
<dminuoso> ij: Hah, I actually use this in one of our larger setups! :D
<dminuoso> networking.firewall.interfaces.${config.dmz.fwIface.ifname}.allowedTCPPorts = [ config.services.prometheus.exporters.rspamd.port ];
fendor has quit [Ping timeout: 260 seconds]
<ishan66> I have written a shell.nix file to work on personal opengl project. I am trying to use the glm library but my lsp is showing me an error "In included file: no member named 'signbit' in the global namespace; did you mean '__signbit'?"
<ishan66> the link the shell.nix I am using https://pastebin.com/2FAshRBV
<ij> dminuoso, I should have firewall.service running, right?
<dminuoso> What is `firewall.service`?
<dminuoso> All you need is `networking.firewall.enable` set to true, which is the default
<ij> dminuoso, what firewall.nix module should be creating as a systemd service
<ij> right, but I'm trying to troubleshoot why everything is open
<dminuoso> ij: Which package are you using? plain iptables? of the nftables compat shim?
<ij> ah, it's fals :/
quinn has quit [Ping timeout: 264 seconds]
<emilsp> Is there a reason why, when enablindg systemd-resolved, /etc/resolv.conf is not a symlink to /var/run/systemd/resolved/{resolf.conf,stub-resolv.conf} ?
<ij> it's firewall.enabled = false; which I glanced over, because my brain does interpretive reading (i.e. read what you think it is, not what it actually says)
<ij> emilsp, hi friend
<{^_^}> [nixpkgs] @joachifm merged pull request #108398 → profiles/hardened: Add note about potential instability → https://git.io/JLFSq
<numkem> pixie is failing to build for me, can't look up nixpkgs since github is having issues. Anyone know what is related to it?
<{^_^}> [nixpkgs] @joachifm pushed 2 commits to master: https://git.io/JLF9G
<emilsp> ij, hiya.
<{^_^}> [nixpkgs] @sternenseemann opened pull request #108399 → ocamlPackages.mirage-crypto*: 0.8.7 -> 0.8.8 → https://git.io/JLF9C
quinn has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108390 → python3Packages.autobahn: 20.7.1 -> 20.12.3 → https://git.io/JLFoZ
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF9W
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108389 → jetbrains: updates → https://git.io/JLFoI
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF94
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108387 → python3Packages.asyncwhois: init at 0.2.0 → https://git.io/JLFwn
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF9B
malook has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108385 → pytun: 2.2.1 -> 2.3.0 → https://git.io/JLF2v
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF9R
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108384 → python3Packages.python-whois: init at 0.7.3 → https://git.io/JLFgV
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JLF9E
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108382 → dbeaver: 7.3.1 -> 7.3.2 → https://git.io/JLFux
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF9g
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108381 → python3Packages.whois: init at 0.9.7 → https://git.io/JLFu8
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF9r
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108383 → fatrace: 0.13 -> 0.16.1 → https://git.io/JLFzD
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF9o
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108360 → python37Packages.owslib: 0.20.0 -> 0.21.0 → https://git.io/JLdje
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF96
aswanson has joined #nixos
Volk has joined #nixos
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108145 → buildbot: 2.9.2 -> 2.10.0 → https://git.io/JL7Db
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 4 commits to master: https://git.io/JLF9P
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108352 → python37Packages.mwparserfromhell: 0.5.4 -> 0.6 → https://git.io/JLdbv
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF91
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108353 → python37Packages.mautrix: 0.8.5 -> 0.8.6 → https://git.io/JLdbR
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLF9M
malook has quit [Client Quit]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108247 → paperwork: 2.0.1 -> 2.0.2, libinsane: 1.0.8 -> 1.0.9 → https://git.io/JL5SV
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JLF9y
ManiacOfMadness` has quit [Ping timeout: 272 seconds]
<supersandro2000> merge train came through! tscho tscho 🚅
cfricke has joined #nixos
cfricke has quit [Client Quit]
cfricke has joined #nixos
lordcirth__ has joined #nixos
<lukegb> supersandro2000++
<{^_^}> supersandro2000's karma got increased to 20
<lukegb> etc.
lordcirth has quit [Ping timeout: 268 seconds]
philr has quit [Ping timeout: 264 seconds]
<petrichor> emilsp: do you need to link it manually by adding something in `environment.etc`?
ishan66 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108299 → zdoom: refactor → https://git.io/JLdlu
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 3 commits to master: https://git.io/JLFH3
<{^_^}> [nixpkgs] @ShamrockLee opened pull request #108400 → caprine-bin: init at 2.51.2 → https://git.io/JLFHs
<emilsp> petrichor: that's waht I end up doing
aforemny has quit [Quit: leaving]
luke[m]3 has quit [Quit: Idle for 30+ days]
zrsk[m] has quit [Quit: Idle for 30+ days]
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108321 → vimPlugins.vim-gnupg: init at 2021-01-03 → https://git.io/JLd26
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFHu
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108344 → python37Packages.openwrt-luci-rpc: 1.1.6 -> 1.1.7 → https://git.io/JLd9j
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLFHz
cfricke has quit [Ping timeout: 260 seconds]
<donofrio> dminuoso, what do I add to the substituters = to allow compiling for everything and NOT useing AVX instruction set?
<petrichor> looks like it should be happening automatically: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/system/boot/resolved.nix#L174
<lukegb> dminuoso: if you empty it, it'll compile everything
<lukegb> it shouldn't use AVX if your system doesn't support it
hnOsmium0001 has joined #nixos
Chiliparrot has quit [Ping timeout: 246 seconds]
teto has joined #nixos
Chiliparrot has joined #nixos
lordcirth__ is now known as lordcirth
Qwerky has joined #nixos
JadoJodo has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #108401 → stdenv: use gcc9 for x86_32 → https://git.io/JLFQ9
donofrio has quit [Quit: Leaving]
Profpatsch has joined #nixos
<Profpatsch> Qwerky: hi
zebrag has quit [Quit: Konversation terminated!]
<emilsp> petrichor: well, you source the contents of the correct file, but it ends up not being a symlink. This is not a nixos issue per-se, but that is how some software (specifically the one I'm paid to work on) detects if systemd-resolved is being used. The actual /etc/resolv.conf ends up being a symlink to /etc/static/resolv.conf. I guess we'll have to fall back to comparing the contents.
chiefgoat has quit [Ping timeout: 265 seconds]
<Qwerky> Profpatsch: meep
growpotkin has joined #nixos
erasmas has joined #nixos
<{^_^}> [nixpkgs] @ymatsiuk opened pull request #108402 → appgate-sdp: init at 5.1.2 → https://git.io/JLF7E
zebrag has joined #nixos
<siraben> Anyone do app development with flutter and dart? Wish Nixpkgs had dartPackages
donofrio has joined #nixos
ishan46 has joined #nixos
zebrag has quit [Remote host closed the connection]
ilios has joined #nixos
chiefgoat has joined #nixos
zebrag has joined #nixos
fendor_ is now known as fendor
lsix has quit [Ping timeout: 258 seconds]
Qwerky has quit []
domogled has quit [Quit: domogled]
domogled has joined #nixos
<{^_^}> [nixpkgs] @talyz opened pull request #108403 → [20.09] profiles/hardened: Add note about potential instability → https://git.io/JLF5F
ishan46 has quit [Remote host closed the connection]
malook has joined #nixos
malook has quit [Client Quit]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e326297f6c8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @andir opened pull request #108404 → dovecot: 2.3.11.3 -> 2.3.13 → https://git.io/JLFd1
<{^_^}> [nixpkgs] @andir opened pull request #108405 → [20.09] dovecot: 2.3.11.3 -> 2.3.13 → https://git.io/JLFdS
hyper_ch has quit [Quit: ZNC 1.8.2 - https://znc.in]
jb55 has quit [Remote host closed the connection]
hyper_ch has joined #nixos
morgansmith has joined #nixos
<morgansmith> so my fonts don't work so I put fonts.fonts = with pkgs; [dejavu_fonts]; into my /etc/nix/nix.conf and it didn't fix anything and now nix gives me the warning "warning: unknown setting 'fonts.fonts'". How do fonts?
Neo-- has joined #nixos
<dutchie> that should be in configuration.nix not in nix.conf
<dutchie> so should most settings
neiluj has quit [Ping timeout: 240 seconds]
ransom has joined #nixos
<morgansmith> how come configuration.nix isn't mentioned anywhere in the manual?
<Yaniel> it is?
<emilsp> Which manual? :)
<dutchie> https://nixos.org/manual/nixos/stable/index.html#sec-configuration-syntax first paragraph says "The NixOS configuration file /etc/nixos/configuration.nix"
<morgansmith> am I dumb or is the entire configuration section missing from the unstable manual?
jb55 has joined #nixos
<Yaniel> it's a completely different manual for a different thing
<dutchie> nix manual vs nixos manual
<hyper_ch> I wonder, is there still any reason to use Intel CPUs? I mean in the upcoming kernel the next gen amd drivers will already be included https://www.theregister.com/2021/01/04/linux_5_11_rc2/
<dutchie> there are actually 3 manuals
<Yaniel> there is the nix manual, the nix_OS_ manual and the nix_PKGS_ manual
<morgansmith> oh goodie. more manuals = easier to find documentation.
<{^_^}> [nixpkgs] @zaninime opened pull request #108406 → nginx: add VOD-related modules from Kaltura → https://git.io/JLFF6
pitch has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @vcunat pushed to master « efivar: fixup build on i686-linux »: https://git.io/JLFbe
<{^_^}> [nixpkgs] @vcunat closed pull request #108401 → stdenv: use gcc9 for x86_32 → https://git.io/JLFQ9
KarlJoad has joined #nixos
<{^_^}> [nixpkgs] @prusnak merged pull request #108219 → ViennaRNA: init at 2.4.17 → https://git.io/JL5gV
<{^_^}> [nixpkgs] @prusnak pushed 2 commits to master: https://git.io/JLFbG
<{^_^}> [nixpkgs] @tfmoraes opened pull request #108407 → python3Packages.nitime: 0.8.1 -> 0.9 → https://git.io/JLFbc
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @FRidh merged pull request #103712 → xorg.xkbcomp: 1.4.2 -> 1.4.4 → https://git.io/JkY9J
<{^_^}> [nixpkgs] @FRidh pushed commit from @TredwellGit to staging « xorg.xkbcomp: 1.4.2 -> 1.4.4 »: https://git.io/JLFb0
peskygee has joined #nixos
<adisbladis> hyper_ch: You'll still want bleeding edge mesa with recent amd gpus/apus
<adisbladis> Very happy to see that AMD is starting to contribute code before product releases :)
<Ericson2314> does nix have unsafe pointer equality?
acairncross has joined #nixos
<hyper_ch> adisbladis: for notebooks I used to buy only intel platforms because of wifi worries with linux... but my current notebook is an amd thinkpad
<Ericson2314> adisbladis: yeah buying a dell with nvidia for my gf lately made me sad....really don't want to give nvidia any money, ever
<sphalerite> hyper_ch: same, but it still has intel wifi :p
<peskygee> Hi all, I have been using nixos for about 3 days now and its great, but I have one item that I just can't seem to get working. I have two laptops (hp), (sony) and the touchpad is not working on either of these systems. The mouse buttons work but not the touchpad. I tried to enable libinput and synaptics (depreciated) and still no touchpad support.
<peskygee> What am I doing wrong? I can and am using an external mouse just fine, but I would like to resolve this because I have another laptop that I do use the touchpad. Any suggestions would be greatly appreciated.
lsix has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #108117 → xxHash: fix static build → https://git.io/JL7zK
<roberth> <Ericson2314 "does nix have unsafe pointer equ"> don't think so
<hyper_ch> sphalerite: amd thinkpad with intel wifi? oO
<{^_^}> [nixpkgs] @FRidh pushed commit from Dmitry Bogatov to staging « xxHash: fix static build »: https://git.io/JLFbN
<Ericson2314> ah bummer
<Ericson2314> so much for sharing-preserving functions
<Ericson2314> still, don't really wanna open pandora's box to add it :)
quinn has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @esotericnonsense opened pull request #108408 → libcst: fix python 3.6 support → https://git.io/JLFNT
costrouc has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @FRidh merged pull request #108037 → [staging] gnupg: 2.2.25 -> 2.2.26 → https://git.io/JLQMo
<{^_^}> [nixpkgs] @FRidh pushed commit from @lukebfox to staging « gnupg: 2.2.25 -> 2.2.26 »: https://git.io/JLFNL
<sphalerite> hyper_ch: yep!
<sphalerite> T14 AMD
<peskygee> I thought at first it was a WM issue as I am using i3, but that is not the case because even at lightdm I can't use it either. Very strange !
<hyper_ch> sphalerite: mine has 04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
cfricke has joined #nixos
<sphalerite> hyper_ch: 03:00.0 Network controller [0280]: Intel Corporation Wi-Fi 6 AX200 [8086:2723] (rev 1a)
<sphalerite> I would have liked to have both a ryzen and an intel inside sticker for my laptop
<hyper_ch> sphalerite: model name : AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
<sphalerite> Model name: AMD Ryzen 7 PRO 4750U with Radeon Graphics
<hyper_ch> but why do you have intel wifi inside? oO
<sphalerite> because that's what lenovo chose to use
<sphalerite> why not? It's not like the wifi is built into the CPU or anything
orivej has quit [Ping timeout: 265 seconds]
<hyper_ch> just curious :)
costrouc has joined #nixos
acairncross has quit [Quit: Leaving]
fresheyeball has joined #nixos
pushqrdx has joined #nixos
davidv7 has quit [Read error: Connection reset by peer]
zfnmxt_ has quit [Quit: Bye!]
<pushqrdx> i am about to have a freaking meltdown of the unexplainable breaks i always get whenever i even think about upgrading
malook has joined #nixos
<pushqrdx> like nixos shouldn't do that
<{^_^}> [nixpkgs] @FRidh merged pull request #107493 → gdbm: 1.18.1 -> 1.19 → https://git.io/JLXlb
<{^_^}> [nixpkgs] @FRidh pushed commit from @kampka to staging « gdbm: 1.18.1 -> 1.19 »: https://git.io/JLFNh
<pushqrdx> but i upgraded from a fully working Jack Audio/Linux Kernel RT 5.6 generation to kernel 5.10, now cadence is throwing an error and jack is no longer working
<pushqrdx> so i though, well good thing i have my older generation
davidv7 has joined #nixos
davidv7 has quit [Remote host closed the connection]
<pushqrdx> booted up in there and jack is also broken in my old one
davidv7 has joined #nixos
<pushqrdx> wtf is this? shouldn't generations not leak into each other like that?
<pushqrdx> i made sure that jack didn't put anything in my home dir that might have caused this to bleed
malook has quit [Quit: malook]
orivej has joined #nixos
zfnmxt has joined #nixos
<lordcirth> pushqrdx, did jack put something in /var/ ?
<KarlJoad> I am having an issue where a `python.withPackages (ps: [ps.sympy ps.mpmath])` isn't being propagated to run-time. Python is available (I can enter its REPL), but can't import those packages.
<pushqrdx> lordcirth this is all that is returned searching lib, http://ix.io/2KR6
rajivr has quit [Quit: Connection closed for inactivity]
<pushqrdx> non of these contain anyfiles i think
<KarlJoad> Can anyone offer some guidance on this particular issue?
<{^_^}> [nixpkgs] @malte-v opened pull request #108409 → kakounePlugins.kak-idris: init at 2020-12-29 → https://git.io/JLFAM
zebrag has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @Stupremee opened pull request #108410 → cargo-binutils: init at 0.3.3 → https://git.io/JLFAD
zebrag has joined #nixos
kwork has joined #nixos
nature_ has joined #nixos
<{^_^}> [nixpkgs] @Ekleog merged pull request #106076 → subtitleeditor: add more gst-plugins → https://git.io/JIWk8
<{^_^}> [nixpkgs] @Ekleog pushed commit from @ilmari-lauhakangas to master « subtitleeditor: add more gst-plugins (#106076) »: https://git.io/JLFAH
aolasz has joined #nixos
mallox has quit [Quit: WeeChat 3.0]
lord| has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has joined #nixos
attila_lendvai has quit [Changing host]
<lordcirth> pushqrdx, try moving them out and rebooting, just in case?
davidv7 has quit [Remote host closed the connection]
davidv7 has joined #nixos
Profpatsch has quit [Quit: WeeChat 2.9]
<{^_^}> [nixpkgs] @ajs124 merged pull request #108404 → dovecot: 2.3.11.3 -> 2.3.13 → https://git.io/JLFd1
<{^_^}> [nixpkgs] @ajs124 pushed 5 commits to master: https://git.io/JLFxT
<rednaZ[m]> There are two prominent Nix installation instructions.
<rednaZ[m]> One at https://nixos.org/download.html .
<rednaZ[m]> The command is different.
<{^_^}> [nixpkgs] @roberth opened pull request #108411 → Vault multiple config files → https://git.io/JLFxn
<pushqrdx> lordcirth alright, now there's nothing called jack anywhere in /var or /home
<pushqrdx> gonna reboot, hope it works
pushqrdx has quit [Remote host closed the connection]
<rednaZ[m]> They are both single command installations.
<rednaZ[m]> But the command is different.
<lordcirth> rednaZ[m], Yes. --daemon does a multi-user install.
<KarlJoad> How do I pass python packages through a derivation to be available at the program's run-time? I am already using a python.withPackages in propagatedBuildInputs.
<rednaZ[m]> lordcirth: The point is that there should not be two different commands to do the same thing. It annoys users.
<lordcirth> rednaZ[m], but it doesn't do the same thing?
mizlan has joined #nixos
<rednaZ[m]> lordcirth: That makes it a whole lot worse!
<lordcirth> rednaZ[m], it could probably be clarified - but the point of the quick install is to be simple.
<aolasz> error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
<rednaZ[m]> If the multi-user installation is recommended as https://nixos.org/guides/install-nix.html states, then it is clearly wrong to put instructions at https://nixos.org/download.html that does not use multi-user installation.
<aolasz> Anyone got any ideea about this error during "regular" installation from USB stick: error: all build users are currently in use; consider creating additional users and adding them to the 'nixbld' group
<lordcirth> aolasz, what ISO are you using? does "grep nixbld /etc/passwd" show a bunch of users?
<aolasz> I am using the latest iso
<aolasz> [nixos@nixos:~]$ sudo inxi -M -S -z
<aolasz> 02/21/2020
<lordcirth> aolasz, latest stable (20.09), or unstable?
<{^_^}> [nixpkgs] @vcunat pushed to master « powerdns: patch build with gcc 10 »: https://git.io/JLFxM
<aolasz> I have 32 users
<rednaZ[m]> lordcirth: Users not being able to make out the happy path is bad user experience.
<aolasz> lordcirth stable 20.09
<{^_^}> [nixpkgs] @ryneeverett opened pull request #108412 → tartube: 2.1.0 -> 2.3.042 → https://git.io/JLFxF
peskygee has left #nixos [#nixos]
<lordcirth> aolasz, hmm, wierd. did you hash the ISO?
<lordcirth> And you're sure you're not doing a build in the background?>
<aolasz> lordcirth what do you mean in the background? I ssh into the system after setting passwd for nixos user
<lordcirth> aolasz, like, you didn't run "nix build" or nixos-install in another terminal;
<aolasz> lordcirth No, I boot from the usb, set passwd in tty1, and then ssh into the machine through a single terminal
<lordcirth> aolasz, and that error is coming from nixos-install?
<aolasz> yes, with sudo nixos-install --showt-trace
pushqrdx has joined #nixos
<{^_^}> [nixpkgs] @knedlsepp closed pull request #70080 → hdf4: Disable some flaky tests → https://git.io/Jen4B
<lordcirth> aolasz, hmm. The docs have you in a root shell. Can you try it with "sudo -i" just in case?
<lordcirth> Shouldn't matter, but...
<pushqrdx> i want to apply a patch to the this nixpkgs/pkgs/os-specific/linux/nvidia-x11/builder.sh and i added an overlay for nvidia-x11 but it isn't picked up idk why
<pushqrdx> lordcirth on the jack issue, i rebooted and nothing changed still broken
<lordcirth> pushqrdx, wierd. No idea where jack is storing state
<pushqrdx> lordcirth it shouldn't have much places to do that anyway on nixos right? cause only /var and /home are mutable
<aolasz> lordcirth Same error at the same place
<pushqrdx> so idk how this happened
<lordcirth> pushqrdx, well, if it's running as root it *can* write anywhere. But it really shouldn't write outside of /var and /home.
<lordcirth> pushqrdx, maybe it wrote to /etc?
<pushqrdx> but that shouldn't bleed into older derivations shouldn't it?
<pushqrdx> i mean generations*
<pushqrdx> like how can that affect my older fully working generation
<lordcirth> pushqrdx, generations will set symlinks in /etc, pointing to /nix/store paths. Directly writing to /etc/ will be preserved, though, if /etc isn't on tmpfs and it doesn't get overwritten
<lordcirth> You should not do that on NixOS, but root *can*
respawn_ has joined #nixos
<pushqrdx> so you mean jack wrote something to /etc that affected it's store which in turn broken all my generations
<lordcirth> pushqrdx, possibly? I dunno. It has to have written something somewhere
<goibhniu> pushqrdx: do you get an error message when you try to start jack e.g. with qjackctl?
<pushqrdx> yeah Allocate: can't check in named futex name = jack_sem.default_system err = Permission denied
<lordcirth> Assuming you are sure that the generation you rolled back to did work, after a reboot
<aolasz> lordcirth Thank you for the ideas, I go sleep on it, try again tomorrow.
<pushqrdx> yeah it is fully working, and i didn't rollback i have both gens, the newer one that broke jack and the older one before upgrade
hiro98 has joined #nixos
<lordcirth> aolasz, good night and good luck
<pushqrdx> old one was working, new one broke, but also broke old one
<aolasz> lordcirth 10X
domogled has quit [Quit: domogled]
turlando has joined #nixos
cfricke has quit [Quit: WeeChat 3.0]
<KarlJoad> Ok, narrowed my problem down. I am using python.withPackages as a propagatedBuildInput, but I do not have it available during run-time. How can I get python available after the build?
hiro98 has quit [Client Quit]
<lordcirth> KarlJoad, are you talking about a nix-shell config?
hiro99 has joined #nixos
<goibhniu> pushqrdx: have you tried starting jack as root?
aolasz has quit [Remote host closed the connection]
thibm has joined #nixos
<pushqrdx> goibhniu welp, running cadence as root sure made it work lmao
bitmapper has quit [Quit: Connection closed for inactivity]
<KarlJoad> lordcirth: No? I am building symbolic for octave, which requires Python to be available during runtime (as it relies on sympy). I am using a `nix-shell --pure -p ...` to check if Python is available, and it isn't.
ragge42[m] has joined #nixos
<goibhniu> oh, hrm, that's progress anyway
<pushqrdx> goibhniu so it's some permission that was fucked somehow
<lordcirth> pushqrdx, maybe cadence wrote something to your homedir as root earlier?
hiro99 is now known as hiro98
<{^_^}> [nixpkgs] @sternenseemann opened pull request #108413 → zathura: fix fish completions → https://git.io/JLFpb
<pushqrdx> lordcirth can't find anything cadence related in my home dir
zfnmxt has quit [Quit: Bye!]
<pushqrdx> alright before i start investigating wth happened can someone please make my day and help with this little issue?
<pushqrdx> i want to add a simple patch to the nvidia-x11 driver
<{^_^}> [nixpkgs] @github-actions[bot] pushed 64 commits to staging-next: https://git.io/JLFpj
<pushqrdx> i tried to add it to my nixpkgs.overlays but for some reason it isn't picked up
<KarlJoad> lordcirth: Right now I am passing `pythonEnv = python3.withPackages(ps: [ps.sympy ps.mpmath])` and `propagatedBuildInputs = [ pythonEnv ]`. But, I don't get that python environment after the build.
<lordcirth> pushqrdx, what if, while on the older gen, you make a new user and run cadence/jack? Then copy the homedir or git commit or whatever, then reboot to the new gen and diff?
astylian has quit [Remote host closed the connection]
<pushqrdx> lordcirth all generations are broken
<{^_^}> [nixpkgs] @piegamesde opened pull request #108414 → gnome3: Package all the Gnome extensions → https://git.io/JLFhJ
<lordcirth> pushqrdx, yes, but if the breaking state is in your homedir somehow, a new user won't have it
<pushqrdx> oh, alright i got what you mean now, i will try that after i rebuild with the nvidia patch should i ever figure out how it can be picked
<pushqrdx> idk why it isn't though
<pushqrdx> it's a very simple overlay
<lordcirth> I still don't really understand overlays
zfnmxt has joined #nixos
<{^_^}> [nixpkgs] @rmcgibbo opened pull request #108415 → flatbuffers: unbreak with gcc10 → https://git.io/JLFhq
mizlan has quit [Quit: leaving]
cosimone has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.11-rc1 -> 5.11-rc2 »: https://git.io/JLFhz
<{^_^}> [nixpkgs] @srhb opened pull request #108416 → dockerTools: Fix streamLayeredImage for symlinks → https://git.io/JLFhi
zebrag has quit [Quit: Konversation terminated!]
zebrag has joined #nixos
Lord_of_Life has quit [Ping timeout: 265 seconds]
Lord_of_Life has joined #nixos
astylian has joined #nixos
neiluj has joined #nixos
quinn has joined #nixos
<{^_^}> [nixpkgs] @jojosch opened pull request #108417 → [WIP] dbeaver: build from source and add darwin build → https://git.io/JLFjy
endvra_ has joined #nixos
seku has quit [Quit: Connection closed]
andreas303 has quit [Remote host closed the connection]
<KarlJoad> In nixpkgs, is it in poor taste to have shell commands be default values for a function's parameter?
endvra has quit [Ping timeout: 256 seconds]
berberman has joined #nixos
<{^_^}> [nixpkgs] @rissson opened pull request #108418 → warsow: fix src url → https://git.io/JLbeU
berberman_ has quit [Ping timeout: 260 seconds]
Lurkki[m]1 has joined #nixos
Kozova1 has quit [Read error: Connection reset by peer]
riksteri has quit [Quit: riksteri]
techsupport2451[ has joined #nixos
cfricke has joined #nixos
cfricke has quit [Client Quit]
orivej has quit [Ping timeout: 260 seconds]
<asymmetric> can someone explain why/if this is needed? https://github.com/NixOS/nixpkgs/pull/97465/files#r486318549
andreas303 has joined #nixos
<asymmetric> it seems to me that nativeBuildInputs "means" that the deps are meant to be run on the host, so is there really a need to use buildPackages?
morgrimm has joined #nixos
<morgrimm> Hey all - is anyone running Nix on Big Sur and is actually able to build anything?
<morgrimm> I'm running into linker errors building building pretty much any package from source, and nix-darwin isn't pulling from binary caches it seems
<supersandro2000> still broken right now
veleiro has joined #nixos
<morgrimm> Damn - we still waiting on Apple's dynamic linker info to bake support in?
<veleiro> i'm getting this error trying to use flakes:
<lordcirth> asymmetric, AFAIK, nativeBuildInputs means that these packages should be of the target arch, not the builder arch
<veleiro> sudo nixos-rebuild switch --flake '.#'
<veleiro> error: unrecognised flag '--experimental-features'
<veleiro> is it possible nixos-rebuild and nix dont match ?
<lordcirth> veleiro, You need to switch to nixUnstable to have flakes
<veleiro> $ nix --version
<veleiro> nix (Nix) 2.4pre20201201_5a6ddb3
<lordcirth> veleiro, what is your NixOS version?
<veleiro> i'm running in nix-shell for nixflk at the moment
<veleiro> but my host is nixos 20.09 updated yesterday
<lordcirth> veleiro, what is the version of your nix daemon though? nix --version outside the nix-shell
<veleiro> not nix 2.4
<veleiro> 2.3.7
<lordcirth> Right, you need the daemon to be 2.4, I'm pretty sure
<veleiro> that's a good point and makes sense. i sometimes forget there's a daemon
<lordcirth> nix.package = pkgs.nixUnstable; nix.extraOptions = ''experimental-features = nix-command flakes'';
meh` has quit [Ping timeout: 256 seconds]
<veleiro> yeah i kept rolling back from flakes because home-manager didnt work with 2.4
<veleiro> i think thats fixed now too though
<lordcirth> If you rebuild your system with flakes, don't forget to put that into the flake also, otherwise it will undo itself :P
<lordcirth> works fine for me, yeah
cosimone has quit [Quit: cosimone]
<veleiro> oh yeah
cosimone has joined #nixos
techsupport2451[ has left #nixos ["User left"]
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JLbvX
<veleiro> lordcirth++
<{^_^}> lordcirth's karma got increased to 14
respawn_ has quit [Quit: Leaving]
zfnmxt has quit [Quit: Bye!]
<madonius[m]> Hi
<madonius[m]> I want to define a custom package to install nextcloud from
<madonius[m]> I tried a string but Nix wants a type 'package'
zfnmxt has joined #nixos
<madonius[m]> where would I find what such a type looks like
bitmapper has joined #nixos
<{^_^}> [nixpkgs] @grahamc opened pull request #108420 → aws-nuke: init at 2.14.0 → https://git.io/JLbfO
<gchristensen> finally erase-your-darlings for big kids
<morgrimm> What's the intended method of updating a dependency in a flake lockfile?
cole-h has joined #nixos
<morgrimm> Manually updating the references in it?
<srhb> gchristensen++
<{^_^}> gchristensen's karma got increased to 397, it's a crit!
<madonius[m]> nevermind, found it ^^
<pushqrdx> any overlay expert here could help me apply this nvidia-x11 patch?
<numkem> Morgrimm: nix flakes update <input> if I recall
<{^_^}> [nixpkgs] @romildo opened pull request #108421 → marwaita-manjaro: 1.6 -> 1.8 → https://git.io/JLbf0
<veleiro> another thing about flakes, why cant I find the .drvs that errors list
<veleiro> or is it because i'm in nix-shell?
<veleiro> i'm pretty sure derivations arend destroyed until exit
lsix has quit [Ping timeout: 260 seconds]
endformationage has joined #nixos
Darkmatter66 has joined #nixos
<pushqrdx> you know what i really wish was there? a way to overlay pkgs based on directory structure, so that i can just place the edited files where they belong and my configuration.nix would pickup and use the edited versions if there's any
<pushqrdx> i have been trying for 6 hours to overlay a simple file
<{^_^}> [nixpkgs] @JoeDupuis opened pull request #108422 → overmind: 2.1.1 -> 2.2.0 → https://git.io/JLbfx
<{^_^}> [nixpkgs] @FRidh merged pull request #107725 → python: 3.8.6 -> 3.8.7. → https://git.io/JLDF0
<{^_^}> [nixpkgs] @FRidh pushed commit from @dhess to staging « python: 3.8.6 -> 3.8.7. »: https://git.io/JLbJe
<veleiro> pushqrdx an overlay is going to reference an existing packages somewhere
<veleiro> usually <nixpkgs>
<{^_^}> [nixpkgs] @FRidh pushed 65 commits to staging: https://git.io/JLbJc
<{^_^}> [nixpkgs] @FRidh pushed 255 commits to staging-next: https://git.io/JLbJC
<veleiro> then include that file in your configuration.nix as nixpkgs.overlays = []
<pushqrdx> veleiro yeah i am trying to override the build.sh file in the nvidia-x11 derivation, however it isn't picked up no matter what i do
<pushqrdx> i wanna apply this patch so that i can build a real time kernel with nvidia drivers
<{^_^}> musnix/musnix#127 (by fps, 5 days ago, open): Disable RT-kernel sanity check for nvidia-x11
<{^_^}> [nixpkgs] @FRidh opened pull request #108423 → Staging next → https://git.io/JLbJ4
lsix has joined #nixos
psiquo has joined #nixos
orivej has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lordcirth has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @FRidh pushed to staging-next « Revert "python: 3.8.6 -> 3.8.7." »: https://git.io/JLbJV
<veleiro> pushqrdx: i'm not an overlay expert but..
<KarlJoad> I have a singular octave package that is weird. It needs python at run-time. However, I cannot substituteInPlace because I don't unpack the source. How can I get Python all the way to run-time?
<veleiro> you basically would be replacing the buildPhase
<veleiro> you can always use a fork of nixpkgs and apply that patch manually
<veleiro> instead of an overlay
<veleiro> scratch that about the buildPhase, I dont know how an overlay relates
<veleiro> to builder.sh
<noonien> has anyone managet to the the camera working on a raspberry pi 3, on nixos, by any chance?
lordcirth has joined #nixos
vidbina_ has quit [Ping timeout: 265 seconds]
<pushqrdx> why the heck isn't this working though http://ix.io/2KS3
sss2 has joined #nixos
<pushqrdx> i mean it should work, the fact that this isn't working is one of the very frustrating aspects of nix
<pushqrdx> this is how you overlay packages, why does it work only with some of them and some other it doesn't
<mocker> Any issues w/ using the curl command to install nix on Mac OS Big Sur (11.1) ?
<mocker> I know there used to be issues that required creating the /nix path that the installer couldn't handle, not sure if still the case
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JLbUb
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
morgansmith has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
<morgrimm> Is there such a thing as packaging MacOS apps with Nix for Darwin? Or any examples of derivations that do?
<morgrimm> I feel like it should be as easy as pulling the tarball and moving the app, but I'm not 100% sure
cosimone has quit [Quit: cosimone]
cosimone has joined #nixos
<{^_^}> [nix-mode] @znewman01 opened pull request #120 → Use the located nixfmt binary for formatting. → https://git.io/JLbTV
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.09 « linuxPackages.wireguard: 1.0.20201112 -> 1.0.20201221 »: https://git.io/JLbT6
dsg has quit [Remote host closed the connection]
dsg has joined #nixos
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/f6e519f39e4 (from 8 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
lsix has quit [Quit: WeeChat 2.9]
Volk has quit [Quit: See you next time!]
<pushqrdx> alright screw doing it the nix way because it's broken :D, i cloned nixpkgs how can i use it instead of the nix channel
<pushqrdx> i removed the channel using nix-channel --remove
<lukegb> pushqrdx: if you want to use it in a similar way, put it in your NIX_PATH
<lukegb> e.g. NIX_PATH=nixpkgs=/path/to/my/checkout/of/nixpkgs; then it's accessible through <nixpkgs> as usual
<pushqrdx> lukegb trying to rebuild i keep getting file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<pushqrdx> building Nix...
<pushqrdx> even though i have my local checkout in path
<{^_^}> [nix-mode] @znewman01 opened pull request #121 → Update flake.lock (fix tests) → https://git.io/JLbIB
astylian has quit [Ping timeout: 246 seconds]
wrl has quit [Read error: Connection reset by peer]
wrl has joined #nixos
shibboleth has joined #nixos
pushqrdx has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @samueldr merged pull request #108422 → overmind: 2.1.1 -> 2.2.0 → https://git.io/JLbfx
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to master: https://git.io/JLbIg
sangoma has quit [Ping timeout: 240 seconds]
lewo` has quit [Remote host closed the connection]
pushqrdx has joined #nixos
<pushqrdx> i think either i am too dumb or something is broken
<pushqrdx> here's what my NIX_PATH echoes /home/pushqrdx/.dev/nixpkgs-nixos-unstable:/root/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels
<pushqrdx> where the first path is to my local checkout of nixpkgs
<pushqrdx> and i removed the unstable channel from my list, now nix-channel --list yields nothing on both root and user
<pushqrdx> trying to rebuild i keep getting file 'nixpkgs/nixos' was not found in the Nix search path (add it using $NIX_PATH or -I), at (string):1:13
<pushqrdx> building Nix...
<{^_^}> [nixpkgs] @ppenguin opened pull request #108424 → Add scipy and pyyaml to FreeCAD, fix vtk8 build on gcc10 → https://git.io/JLbIo
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108397 → eksctl: 0.34.0 -> 0.35.0 → https://git.io/JLFyp
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLbIi
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108393 → visidata: 2.1 -> 2.1.1 → https://git.io/JLF1D
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLbI1
<{^_^}> [nixpkgs] @fabaff opened pull request #108425 → Glances api → https://git.io/JLbIQ
<{^_^}> [nixpkgs] @SuperSandro2000 pushed 2 commits to master: https://git.io/JLbI7
<{^_^}> [nixpkgs] @SuperSandro2000 merged pull request #108418 → warsow: fix src url → https://git.io/JLbeU
Neo-- has quit [Disconnected by services]
Neo--- has joined #nixos
attila_lendvai has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @vbgl pushed commit from @sternenseemann to master « ocamlPackages.ppx_import: use dependencies as listed in opam file »: https://git.io/JLbIh
pushqrdx has quit [Remote host closed the connection]
ckauhaus has quit [Quit: WeeChat 2.7.1]
eyJhbV2 has joined #nixos
hiro98 has quit [Ping timeout: 260 seconds]
eyJhb has quit [Ping timeout: 240 seconds]
eyJhbV2 is now known as eyJhb
eyJhb has quit [Changing host]
eyJhb has joined #nixos
peskygee has joined #nixos
<peskygee> Hello, Happy New Year
matthewcroughan_ has joined #nixos
<matthewcroughan_> nix-shell -p 'dolphinEmuMaster.overrideAttrs (old: rec { src = builtins.fetchGit "https://github.com/dolphin-emu/dolphin"; })'
<peskygee> I was hoping to get some assistance with libinput? I have two laptops and I cannot get the touchpads on either of them to work.
<matthewcroughan_> How could I get this to trigger a rebuild if the latest hash has changed?
<matthewcroughan_> It'd be great if it could, for example, compare the cached git hash vs the latest git hash and if there's a new one, fetch and build it.
domogled has joined #nixos
<peskygee> The buttons work but the trackpad are not for some strange reaosn
ManiacOfMadness` has joined #nixos
lsix has joined #nixos
yaymukund has left #nixos [#nixos]
<{^_^}> [nixpkgs] @symphorien opened pull request #108427 → appimage-run: fix #108426 → https://git.io/JLbLg
<{^_^}> [nixpkgs] @rhoriguchi opened pull request #108428 → teamviewer: link teamviewer icons → https://git.io/JLbLi
thc202 has quit [Quit: thc202]
<{^_^}> [nixpkgs] @bloomvdomino opened pull request #108429 → kora-icon-theme: init at 1.3.4 → https://git.io/JLbLN
veleiro has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @wmertens merged pull request #107974 → pam_ssh_agent_auth: 0.10.3 -> 0.10.4 → https://git.io/JLHSx
<{^_^}> [nixpkgs] @wmertens pushed 3 commits to release-20.09: https://git.io/JLbtl
<l-as> Ericson2314: what should I do about transupp
<Ericson2314> Las: can we make another dev_internal output?
<Ericson2314> with all that stuff
<l-as> I am not sure, because the problem, as he described it, is that it could break other users of the API
<Ericson2314> I think that's bullshit
<Ericson2314> adding more stuff is not a breaking change
peskygee has quit [Quit: leaving]
<l-as> a library that depends on libjpeg-turbo that already vendors transupp.c would have conflicting symbols if it were also added to the shared library
<Ericson2314> expecially with C whree the symbols leak either way
<l-as> you could make the symbols weak with some GCC extensions though
<Ericson2314> oh so dev_internal + lib_intenral
<Ericson2314> ugh
<Ericson2314> at least there is one SO and nobody should be vendoring things instead of using it
<l-as> actually, weak symbols may be the best solution
<l-as> let me check the reference
mkaito has joined #nixos
mkaito has quit [Changing host]
mkaito has joined #nixos
<Ericson2314> if you like, but i think that's even mroe work than extra SO
neiluj has quit [Changing host]
neiluj has joined #nixos
cosimone has quit [Quit: cosimone]
fuiltilt has joined #nixos
kfiz has quit [Quit: ZNC 1.8.1 - https://znc.in]
kfiz has joined #nixos
jbal[m] has joined #nixos
matthewcroughan_ has quit [Remote host closed the connection]
pjan has quit [Ping timeout: 260 seconds]
nature_ has quit [Ping timeout: 246 seconds]
pjan has joined #nixos
deltab has quit [Ping timeout: 260 seconds]
<numkem> is there an example of for the `apps` attr in the flakes output schema?
<{^_^}> [nixpkgs] @jonringer opened pull request #108430 → [staging] python38: remove obsolete find_library patch → https://git.io/JLbqx
deltab has joined #nixos
<{^_^}> [nixpkgs] @fabaff opened pull request #108431 → Pywilight → https://git.io/JLbmt
gustavderdrache has quit [Quit: Leaving.]
fendor has quit [Remote host closed the connection]
samsepi0l has joined #nixos
<Ericson2314> Las: oh, or the guy could have the file *conditionally* part of the library with an off-by-default flag
<Ericson2314> if it really is stable
<Ericson2314> that wouldn't break anything
<Ericson2314> ...though I'm sure it would get complaints for some unforseable reason...
<l-as> that makes sense
<l-as> though I don't think he would merge it, and he would likely say that he doesn't want to maintain another public interface
samsepi0l has quit [Quit: Konversation terminated!]
domogled has quit [Remote host closed the connection]
astylian has joined #nixos
gustavderdrache has joined #nixos
fendor has joined #nixos
oxalica has quit [Quit: oxalica]
shibboleth has quit [Quit: shibboleth]
peskygee has joined #nixos
CMCDragonkai1 has joined #nixos
<peskygee> Anyone got a laptop with a touchpad configured? How did you do it? I have two laptops and both don't work? ANy assistnce please?
<noneucat> peskygee: have you enabled the synaptics drivers or libinput?
<peskygee> hello noneucat, thanks for the response. I have libinput enable in the config
<peskygee> I says that synaptics is depriciated
<peskygee> I tried it also and no luck
<peskygee> I have a Sony Vaio and HP Pavilion and both don't work
<peskygee> This is the last piece to my config and I if I get it, I'm sticking with NixOS for a while. No more distrohopping!
<noneucat> is the touchpad detected? do you see it in `dmesg | grep input`?
<peskygee> SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input21
<peskygee> That is on the HP
<peskygee> The buttons work but not the pad itself. I had never seen this before
<peskygee> especially on both systems
<peskygee> I'm on 20.09 with a minimal install of i3-gaps
<niksnut> numkem: the 'apps' output is documented in the 'nix run' manpage: https://github.com/NixOS/nix/blob/master/src/nix/run.md
<peskygee> Even at lightdm I get no touchpad
<peskygee> Mouse connected via usb is fine
<noneucat> peskygee: if you switch back to libinput, does it show up in evtest then?
<peskygee> you mean add it back to the config and switch?
<peskygee> in my current config: services.xserver.libinput.enable = true;
<noneucat> yes
<noneucat> you may also have to restart the display manager yourself as well
<peskygee> yep enabled it, switched and rebooted and still nothing
<peskygee> I also tried synaptics and nothing also
<peskygee> on both systems. I got to be missing something I just can see!!
<peskygee> can't sorry
Guest30 has joined #nixos
aswanson has quit [Ping timeout: 260 seconds]
Guest30 is now known as janders223
astylian has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #108420 → aws-nuke: init at 2.14.0 → https://git.io/JLbfO
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JLbOL
civodul has quit [Quit: ERC (IRC client for Emacs 27.1)]
davidv7 has quit [Remote host closed the connection]
cognemo has quit [Quit: cognemo]
cognemo has joined #nixos
jb55 has quit [Ping timeout: 240 seconds]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @jbedo opened pull request #108432 → fastp: init 0.20.1 → https://git.io/JLbOn
erasmas has quit [Quit: leaving]
fendor has quit [Remote host closed the connection]
davidv7 has joined #nixos
carthia has quit [Quit: carthia]
__monty__ has quit [Quit: leaving]
<ivan> peskygee: did you accidentally tap the 'disable' corner on your touchpad
<ivan> there's usually a tiny LED associated with it
<peskygee> Hi ivan, no I didn't :-(
<peskygee> brb going to try a reboot. Thanks for the assistance
peskygee has quit [Quit: leaving]
astylian has joined #nixos
asbachb has joined #nixos
acarrico has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #108315 → python37Packages.flufl_i18n: 3.1.3 -> 3.1.4 → https://git.io/JLduW
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « python37Packages.flufl_i18n: 3.1.3 -> 3.1.4 »: https://git.io/JLb3m
<{^_^}> [nixpkgs] @jbedo opened pull request #108433 → bedops: init 2.4.39 → https://git.io/JLb3s
kalbasit has quit [Ping timeout: 240 seconds]
jumper149 has joined #nixos
griff_ has quit [Quit: griff_]
peskygee has joined #nixos
wnklmnn has joined #nixos
<peskygee> Guys, just hopped on the say thanks for the input on the touchpad settings. I'm good now! Now to switch and setup the other sys. Thanks again
peskygee has quit [Client Quit]
<{^_^}> [nixpkgs] @jbedo opened pull request #108435 → last: 1145 -> 1170 → https://git.io/JLb3M
Darkmatter66 has quit [Ping timeout: 246 seconds]
lsix has quit [Ping timeout: 272 seconds]
<fzakaria> I have a mkDerivation i'm writing but it uses hardcoded /bin/ls; what's the best way to change them all at once?
<fzakaria> Can i do it dynamically via stdenv or just a patch file?
<fzakaria> ah postPatch
<{^_^}> [nixpkgs] @dotlambda merged pull request #108405 → [20.09] dovecot: 2.3.11.3 -> 2.3.13 → https://git.io/JLFdS
<{^_^}> [nixpkgs] @dotlambda pushed 5 commits to release-20.09: https://git.io/JLbsc
<{^_^}> [nixpkgs] @jonringer merged pull request #108430 → [staging] python38: remove obsolete find_library patch → https://git.io/JLbqx
<{^_^}> [nixpkgs] @jonringer pushed to staging « python38: remove obsolete find_library patch »: https://git.io/JLbsW
Acou_Bass has quit [Ping timeout: 240 seconds]
Acou_Bass has joined #nixos
CMCDragonkai1 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #108436 → soldat-unstable: init at unstable-2020-11-26; gamenetworkingsockets: init at 1.2.0 → https://git.io/JLbso
<{^_^}> [nixpkgs] @jbedo opened pull request #108437 → varscan: 2.4.2 -> 2.4.4 → https://git.io/JLbsX
ps11 has joined #nixos
<{^_^}> [nixpkgs] @sternenseemann closed pull request #107100 → gamenetworkingsockets: init at 1.2.0 → https://git.io/JLWxd
<ps11> How would I install openjdk15? `nix-env -i openjdk15`error: selector 'openjdk15' matches no derivations