worldofpeace_ changed the topic of #nixos to: NixOS stable: 20.03 ✨ https://discourse.nixos.org/t/nixos-20-03-release/6785 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
<{^_^}> [nix] @Ericson2314 opened pull request #3802 → WIP: Constant space daemon `wopAddToStore` -- contains #3801 → https://git.io/JJYQ6
luna has joined #nixos
shibboleth has quit [Quit: shibboleth]
azure has joined #nixos
azure is now known as Guest3398
Guest3398 is now known as zangi
zanc has quit [Ping timeout: 272 seconds]
verdys_ has joined #nixos
verdys has quit [Ping timeout: 272 seconds]
moet has joined #nixos
<Graypup_> I'd really love an interactive nix namespace browser. the REPL (probably?) doesn't quite do it: I want a listing of all the members of a set with their types without fully evaluating each member (if that makes any sense at all)
<Graypup_> basically ls it
<Graypup_> and I also want it to not have to reload the entire declarations every time I query something
<Graypup_> and it would be fantastic to have the line location of the definition of each thing
<cole-h> `rg 'your-packageset' pkgs/top-level`
simba2 has quit [Ping timeout: 272 seconds]
<Graypup_> cole-h, I guess so, that just seems far clumsier than it strictly needs to be (I do use rg regularly on a git checkout of nixpkgs but it is a rather non-solution IMO)
<cole-h> It would be nice, but it's not currently possible (as far as I understand) -- they're usually marked `dontRecurseIntoAttrs`, because it would blow up evaluation times.
<Graypup_> if I wanted to do this, what is the best approach? try to hack it into nix repl? build my own thing using the nix library? try to parse it out of the nix declarations directly using the rnix crate
<cole-h> You could see if replacing `dontRecurseIntoAttrs` with `recurseIntoAttrs` works for your use case.
<{^_^}> [nixpkgs] @lopsided98 opened pull request #92969 → uboot: add hydra-build-products → https://git.io/JJYQp
<Graypup_> cole-h, i don't want to, though, since, that would almost certainly make it slow to the point that I would literally do better to go ripgrep and read it in vim (which is a horrific perf problem but anyway)
m0rphism has quit [Ping timeout: 256 seconds]
<Graypup_> to be clear, I want to just single level "what are the declarations below this level, don't evaluate them"
<cole-h> Then, I don't see a whole lot of solutions.
<Graypup_> what if I evaluated the entire thing once and made a map of it that could be queried later?
<cole-h> I'm perfectly content with `rg 'haskellPackages =' pkgs/top-level` and `nvim <file> +<line number>`, so I haven't done any work towards that.
<Graypup_> (assuming "evaluate" is defined as "don't try and build the entire tree")
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JJY7v
<Graypup_> cole-h, this is mostly re: finding library functions and the hierarchy of things rather than finding packages
<Graypup_> and i get the feeling that nix as a language is not really conducive to building this since it is too turing complete lol
<cole-h> Hm. How is the repl not suitable enough?
<cole-h> `lib.<TAB>` -> list of lib functions
<cole-h> And what do you mean "all the members of a set with their types"? Nix isn't typed. We have pseudo-types in the module system, but other than that, nothing that would make it possible to get a type signature a la Haskell or Rust.
<Graypup_> cole-h, I want to know if they are sets or functions or strings. past that I can look into them further
<infinisil> Hmm I'd also like something like that
<Graypup_> how /did/ they implement tab completion?
<Graypup_> I think I had a broken terminal for a while so didn't notice it was there
<infinisil> I mean you can just use builtins.attrNames
<infinisil> > builtins.attrNames pkgs
<{^_^}> [ "AAAAAASomeThingsFailToEvaluate" "AMB-plugins" "ArchiSteamFarm" "AusweisApp2" "CoinMP" "DisnixWebService" "EBTKS" "EmptyEpsilon" "FIL-plugins" "Fabric" "LASzip" "LASzip2" "Literate" "MMA" "NSPlist" ...
<Graypup_> I guess a bunch of aliases/added functions in nix repl might do it
<infinisil> > mapAttrs (name: builtins.typeOf) { foo = 10; bar = "test"; baz = {}; }
<{^_^}> { bar = <CODE>; baz = <CODE>; foo = <CODE>; }
<infinisil> > :P mapAttrs (name: builtins.typeOf) { foo = 10; bar = "test"; baz = {}; }
<{^_^}> Unknown command: P
<infinisil> > :p mapAttrs (name: builtins.typeOf) { foo = 10; bar = "test"; baz = {}; }
<{^_^}> { bar = "string"; baz = "set"; foo = "int"; }
<infinisil> Something like this could give you a listing of the type of each attribute
<infinisil> (doesn't work if an attribute fails to evaluate though)
<infinisil> (unless it's with throw or abort)
<Graypup_> > mapAttrs (name: builtins.typeOf) pkgs
<{^_^}> { AAAAAASomeThingsFailToEvaluate = <CODE>; AMB-plugins = <CODE>; ArchiSteamFarm = <CODE>; AusweisApp2 = <CODE>; CoinMP = <CODE>; DisnixWebService = <CODE>; EBTKS = <CODE>; EmptyEpsilon = <CODE>; FIL-p...
<Graypup_> hmm
<cole-h> > :p mapAttrs (name: builtins.typeOf) pkgs
<clever> > builtins.attrNames pkgs
<{^_^}> [ "AAAAAASomeThingsFailToEvaluate" "AMB-plugins" "ArchiSteamFarm" "AusweisApp2" "CoinMP" "DisnixWebService" "EBTKS" "EmptyEpsilon" "FIL-plugins" "Fabric" "LASzip" "LASzip2" "Literate" "MMA" "NSPlist" ...
<clever> Graypup_: mapAttrs takes a function of 2 args, key&val
<{^_^}> assertion (stdenv).hostPlatform.useAndroidPrebuilt failed at /var/lib/nixbot/nixpkgs/master/repo/pkgs/top-level/all-packages.nix:11474:12
<cole-h> heh
<Graypup_> also perf is super bad if I were to do that it appears
<clever> > :p mapAttrs (k: v: "${k} == ${v}") { a = "42"; }
<{^_^}> { a = "a == 42"; }
<Graypup_> so might require investigation into materialization (have not researched this literally at all)
<infinisil> > :p mapAttrs (name: value: if (builtins.tryEval value).success then builtins.typeOf value else null) pkgs
<infinisil> Graypup_: materialization how? I've only heard this in combination with haskell.nix, but that doesn't have anything to do with this
<Graypup_> as i said, haven't researched it at all lol
<Ankhers> Does anyone have experience using gtk through rust? I'm not sure which nix packages I need installed in my env in order to build.
growpotkin has quit [Ping timeout: 246 seconds]
<Ankhers> Or maybe, how can I install glib into my environment?
<clever> ,libraries Ankhers
<{^_^}> Ankhers: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<Ankhers> Right, I am using lorri for this. Maybe I shouldn't have said environment.
<infinisil> Graypup_: I'll be in #nix-lang thinking about some things regarding this
<Ankhers> nevermind, I forgot the default lorri generated shell.nix file required pkgs.glib instead of just glib.
<clever> my problem with things like lorri, is that when you get such eval errors, it just silently uses the old env
<clever> and you never notice that its not using the new shell.nix
growpotkin has joined #nixos
<Ankhers> Yeah, I have noticed that.
<cole-h> That's why I run lorri watch in a separate window, when I plan on doing fiddling that could fail to eval
reanimus has quit [Ping timeout: 256 seconds]
codygman has quit [Read error: Connection reset by peer]
reanimus has joined #nixos
philr_ has joined #nixos
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
h0m1 has quit [Ping timeout: 260 seconds]
alp has quit [Ping timeout: 246 seconds]
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
h0m1 has joined #nixos
user_0x58 has joined #nixos
growpotkin has joined #nixos
luna has quit [Ping timeout: 246 seconds]
verdys_ has quit [Quit: Konversation terminated!]
pamplemousse has quit [Ping timeout: 272 seconds]
pamplemousse has joined #nixos
pjt_014 has joined #nixos
raghavsood has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotkin has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/009c50976b5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
growpotk- has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotkin has joined #nixos
growpotk- has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92970 → alembic: 1.7.12 -> 1.7.13 → https://git.io/JJY56
raghavsood has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJY5i
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/9a3c1892eea (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
notzmv has quit [Ping timeout: 264 seconds]
moet has quit [Ping timeout: 256 seconds]
drakonis has joined #nixos
zangi has quit [Read error: Connection reset by peer]
zangi has joined #nixos
txt_file has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @colemickens opened pull request #92971 → mesa: 20.0.8 -> 20.1.3 → https://git.io/JJY5b
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
knerten1 has joined #nixos
knerten has quit [Ping timeout: 272 seconds]
_ris has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/09b9d4d612b (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
lunik1 has quit [Ping timeout: 272 seconds]
lunik1 has joined #nixos
Rurd2di has quit []
spacefrogg has quit [Quit: Gone.]
aw has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
Supersonic112 has joined #nixos
Supersonic has quit [Ping timeout: 264 seconds]
Supersonic112 is now known as Supersonic
capt_zap_ has quit [Read error: Connection reset by peer]
capt_zap_ has joined #nixos
sigmundv has quit [Ping timeout: 258 seconds]
ddellacosta has quit [Ping timeout: 258 seconds]
slack1256 has quit [Remote host closed the connection]
MidHotaru has joined #nixos
zangi has quit [Read error: Connection reset by peer]
zangi has joined #nixos
MasseR has quit [Ping timeout: 272 seconds]
MasseR has joined #nixos
stoile has quit [Ping timeout: 246 seconds]
moet has joined #nixos
stoile has joined #nixos
domogled has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
kleisli_ has joined #nixos
<pjt_014> I'm trying to specify a package version in my config file and it's not working. what is the right way to do this?
<pjt_014> yggdrasil.package = pkgs.yggdrasil-unstable *should* be it
<pjt_014> I think
<pjt_014> It gives me "error: attribute 'yggdrasil-unstable' missing, at /etc/nixos/configuration.nix:166:17"
<pjt_014> I've looked in man configuration.nix and foo.package = pkgs.foo-unstable seems to be the syntax
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
rardiol has quit [Ping timeout: 264 seconds]
rardiol has joined #nixos
emmanuel` has joined #nixos
<raghavsood> pjt_014: I presume you want yggdrasil from nixpkgs-unstable, as there's no `yggdrasil-unstable` package
<raghavsood> You want to import the unstable channel for that, then refer to it as `unstable.yggdrasil`
proofofkeags has quit [Ping timeout: 272 seconds]
<tskc[m]1> Are you saying first we should mention channedl.packagename ?
<tskc[m]1> * Are you saying first we should mention channel.packagename ?
<raghavsood> `foo-unstable` is usually used when the package packs a revision that isn't part of the most recent release from the upstream project, usually done to include some patches or fixes that are required
<raghavsood> At least, that's my understanding of it
Rurd2di has joined #nixos
<raghavsood> tskc[m]1: Yes, that's how I do it: https://gist.github.com/RaghavSood/bdea5dee4e0666f9ef44b546586ab1fe
<raghavsood> I might be doing it wrong though, still learning
Rurd2di has quit [Client Quit]
<tskc[m]1> Ah. I am noob myself 😅
<pjt_014> sounds right (and suggests that the examples are flawed), but might the syntax be then?
<{^_^}> [nixpkgs] @veprbl merged pull request #92793 → pythonPackages.maxminddb: fix build on macOS → https://git.io/JJmW8
<{^_^}> [nixpkgs] @veprbl pushed commit from @misuzu to master « pythonPackages.maxminddb: 1.5.2 -> 1.5.4 (#92793) »: https://git.io/JJYFc
pamplemousse has quit [Remote host closed the connection]
<pjt_014> yeah I'm looking again and the examples make it look like that's the way
<pjt_014> look under services.xserver.windowManager.bspwm.package
<pjt_014> `Example: "pkgs.bspwm-unstable"`
<raghavsood> Having a `-unstable` suffix is usually done to indicate that the package itself does not correspond to an upstream-tagged version (for a variety of reasons). You can see a whole list of those here https://nixos.org/nixos/packages.html?channel=nixos-20.03&query=unstable
<raghavsood> `nixpkgs-unstable` is a whole different thing - that's the latest set of derivations for the entire package tree
<pjt_014> so `nix search bspwm` not showing a package named bspwm-unstable should be expected then?
hoijui has joined #nixos
<raghavsood> Yes, looks like it has been removed/the version available right now already covers the reasons why we needed an unstable one earlier
pamplemousse has joined #nixos
<raghavsood> Looks like it was removed all the way back in 2018, the example probably needs to be updated
<raghavsood> 2016, actually
BigserverNZ has joined #nixos
pamplemousse has quit [Ping timeout: 258 seconds]
meh` has joined #nixos
<pjt_014> had to do 'let [...] in {whole config}' though
<raghavsood> Yup, that's what my gist above does - once you have the channel added to your system, you can import it and refer to it in your config
<pjt_014> not sure if that scope can be tightened
<raghavsood> I usually modularize my config to keep it cleaner, otherwise you eventually end up with huge `let..in` sections
<pjt_014> did not notice that gist, thanks though
domogled has joined #nixos
kayg04 has quit [Read error: Connection reset by peer]
<raghavsood> As an aside, you might want to try with `nixpkgs-unstable` vs `nixos-unstable` if all you need is the bleeding edge version of a package, and not OS components
stoile has quit [Ping timeout: 272 seconds]
<raghavsood> Additionally, you should have `pkgs.bspwm` even in the stable channels - you only need to go to `nixpkgs-unstable` if the version in 20.03 is too out of date for you
kayg04 has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
Rusty1 has quit [Quit: WeeChat 2.3]
nixbitcoin_ has joined #nixos
nixbitcoin has quit [Ping timeout: 240 seconds]
<superbaloo> I'm trying to override a derivation and remove an input from it
<superbaloo> (building lvm2 statically and removing systemd)
<cole-h> btw raghavsood, in case you didn't notice, ofborg is functional again :^)
<superbaloo> the systemd is still in the inputs (and the graph) for a reason I dont get
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92972 → fluxctl: 1.19.0 -> 1.20.0 → https://git.io/JJYbL
<{^_^}> [nixpkgs] @cdepillabout merged pull request #92963 → [20.03]: haskellPackages.lambdabot: Drop broken overrides → https://git.io/JJYSI
<{^_^}> [nixpkgs] @cdepillabout pushed 2 commits to release-20.03: https://git.io/JJYbY
alexherbo2 has joined #nixos
<cole-h> superbaloo: systemd is in the closure of libfido2, which is in the closure of openssh, which is in the closure of git (see: `nix-store --query --tree $(nix-instantiate '<nixpkgs>' -A lvm2)`)
<{^_^}> [nixpkgs] @danieldk closed pull request #89791 → sentencepiece: 0.1.91 -> 0.1.92 → https://git.io/JfDBv
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92973 → font-manager: 0.7.7 -> 0.7.8 → https://git.io/JJYbZ
BigserverNZ has quit []
Rurd2di has joined #nixos
rootatarch has quit [Changing host]
rootatarch has joined #nixos
rootatarch has quit [Changing host]
rootatarch has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/386ebbccf00 (from 74 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<superbaloo> cole-h: nix-store --query --references $(nix-instantiate -E 'with import <nixpkgs> { }; pkgsStatic.lvm2.override {}')
<superbaloo> my problem is the direct dependency on systemd
<superbaloo> my bad: nix-store --query --references $(nix-instantiate -E 'with import <nixpkgs> { }; pkgsStatic.lvm2.override {systemd=null;}')
<superbaloo> I can't get how, while I override it by setting it to null, it still finds its way back
<superbaloo> I'm obviously missing something, just dont know what
drakonis has quit [Quit: WeeChat 2.8]
<cole-h> Oh
<cole-h> You'll need to change `preConfigure`, probably
<cole-h> Hmm, nvm
<superbaloo> if I read this correctly, it's all behind optionalString (systemd != null)
<superbaloo> so that should work
<cole-h> oh
justan0theruser has quit [Ping timeout: 246 seconds]
<cole-h> it's coming from bash apparently?
<cole-h> jk I can't read
pamplemousse has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #92957 → qgroundcontrol: 4.0.8 -> 4.0.9 → https://git.io/JJYMc
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJYbz
<{^_^}> [nixpkgs] @freezeboy opened pull request #92974 → bovo: init at 19.12.3 → https://git.io/JJYbg
justanotheruser has joined #nixos
MidHotaru has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92975 → fsmon: 1.7.0 -> 1.8.1 → https://git.io/JJYbV
orivej has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #91809 → maturin: 0.8.1 -> 0.8.2 → https://git.io/JJfoc
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJYb6
<superbaloo> haha
<superbaloo> because udev=system
<superbaloo> because udev=systemd
<superbaloo> meh
marusich has joined #nixos
kleisli_ has quit [Ping timeout: 256 seconds]
<superbaloo> looks like it works, thanks cole-h !
<cole-h> Yay!
<superbaloo> well, now I have to fix static compilation of lvm2 :D
<superbaloo> but that's another story
kleisli has joined #nixos
meh` has quit [Ping timeout: 272 seconds]
<fps> hmm, how would i pass a -DSOMETHING=foo to a cmake based package
hoijui has quit [Ping timeout: 260 seconds]
<fps> ttps://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/rkrlv2/default.nix
<fps> oops, add an h there ;)
<{^_^}> [nixpkgs] @colemickens opened pull request #92976 → vaapiIntel: 2.4.0 -> 2.4.1 → https://git.io/JJYNU
<fps> oh, would be wrong anyways, i need to patch the CMakeLists.txt. I think I can figure that out :)
<{^_^}> [nixpkgs] @colemickens closed pull request #92971 → mesa: 20.0.8 -> 20.1.3 → https://git.io/JJY5b
AlesHuzik[m]1 has joined #nixos
marsh has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @colemickens opened pull request #92977 → mesa: 20.0.8 -> 20.1.3 → https://git.io/JJYNk
<{^_^}> [nixpkgs] @S-NA opened pull request #92978 → sndio: 1.6.0 -> 1.7.0 → https://git.io/JJYNZ
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #nixos
user_0x58 has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @FRidh merged pull request #92617 → python3Packages.pytorch: create separate lib output → https://git.io/JJt6O
<{^_^}> [nixpkgs] @FRidh pushed commit from @danieldk to master « python3Packages.pytorch: create separate lib output »: https://git.io/JJYNc
werner291 has joined #nixos
rajivr has joined #nixos
stoile has joined #nixos
arkaybe has joined #nixos
hoijui has joined #nixos
emmanuel` has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92979 → iconpack-jade: 1.22 -> 1.23 → https://git.io/JJYNz
mallox has joined #nixos
pjt_014 has quit [Ping timeout: 256 seconds]
werner291 has quit [Ping timeout: 260 seconds]
pjt_014 has joined #nixos
Heirlung has quit [Ping timeout: 240 seconds]
Heirlung has joined #nixos
werner291 has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
KarlJoad has quit [Remote host closed the connection]
KarlJoad` has joined #nixos
emmanuel` has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92980 → kepubify: 3.1.2 -> 3.1.3 → https://git.io/JJYAv
emmanuel` has quit [Ping timeout: 246 seconds]
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/674ab2dffa5 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> [nixpkgs] @danieldk opened pull request #92981 → amd-blis: init at 2.2 → https://git.io/JJYAY
codygman has quit [Read error: Connection reset by peer]
moet has quit [Ping timeout: 272 seconds]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
codygman has quit [Read error: Connection reset by peer]
codygman has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJYA8
<{^_^}> [nixpkgs] @flokli merged pull request #92759 → nixos/systemd: add options for hardware watchdog management → https://git.io/JJqd9
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92982 → leatherman: 1.12.0 -> 1.12.1 → https://git.io/JJYAR
werner291 has quit [Ping timeout: 264 seconds]
cosimone has joined #nixos
<sephii> I'm can't get caddy2 to work on NixOS 20.03. I'm getting an error "[ERROR] first argument must be a subcommand; see 'caddy help'". Looking at the service file, there's indeed no subcommand in it. Maybe it's not compatible with caddy2? I tried looking in the issues, but GitHub times out :/ https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+caddy
fling has quit [Ping timeout: 246 seconds]
reanimus has quit [Ping timeout: 256 seconds]
<freezeboy> I have some applications (newman, commitizen) that I put on my machine using node2nix, what is the best practice to put it in nixpkgs ?
reanimus has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92983 → lexicon: 3.3.26 -> 3.3.27 → https://git.io/JJYAK
<flokli> superbaloo: I'll try to take a look at https://github.com/NixOS/nixpkgs/pull/66856 today, which will include quite some lvm cleanup
<{^_^}> #66856 (by flokli, 46 weeks ago, open): systemd: build with cryptsetup support, add cryptsetup generators
<pjt_014> freezeboy: find a few other node packages and use one as a template. I suspect there shouldn't be too much variance since node has some level of infastructure.
<pjt_014> many were prob. generated from n2nix too I imagine
<pjt_014> then clone nixpkgs (I think you can do --depth 5 or such to save space), make changes, do a pull req, voila.
dermetfan has joined #nixos
<pjt_014> do pay attention to the required format of "pkgname: init at 0.0.0"
<pjt_014> This is basically how I did my 1st pkg contribution
<freezeboy> pjt_014 it looks like spacegun was packaged this way, I will do the same thank you
emmanuel` has joined #nixos
simba2 has joined #nixos
<pjt_014> ^_^
turion has joined #nixos
emmanuel` has quit [Ping timeout: 260 seconds]
simba2 has quit [Ping timeout: 260 seconds]
freezeboy has quit [Quit: Ping timeout (120 seconds)]
<eyJhb> Not sure I understand propagatedBuildInputs correctly. Is this only things that will be available during build, or also after?
m0rphism has joined #nixos
simba2 has joined #nixos
<eyJhb> I feel like updating pixman updates the world
<Ashy> buildInputs is only during the build, propagatedBuildInputs is available in the output derivation
<eyJhb> Thanks Ashy !
<eyJhb> Ashy++
<{^_^}> Ashy's karma got decreased to 0
<{^_^}> [nixpkgs] @flokli merged pull request #92933 → nixos/users-groups: fix mkChangedOptionModule for root password hash → https://git.io/JJYwn
<eyJhb> Well
<{^_^}> Wait no, it got *increased* to 2
<{^_^}> [nixpkgs] @flokli pushed 2 commits to master: https://git.io/JJYxk
<eyJhb> Damn you bot.
<eyJhb> Wish I had a build machise for NixOS
emmanuel` has joined #nixos
<Ashy> paraview was crashing when trying to filter a loaded dataset because it uses python and numpy at run time to do that
<Ashy> the fix was simply to move the python3.withPackages from buildInputs to propagatedBuildInputs
zupo has quit [Remote host closed the connection]
cole-h has quit [Quit: Goodbye]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92985 → librealsense: 2.35.2 -> 2.36.0 → https://git.io/JJYxc
cosimone has quit [Remote host closed the connection]
kleisli has quit [Remote host closed the connection]
cosimone has joined #nixos
simba2 has quit [Ping timeout: 256 seconds]
kleisli has joined #nixos
zupo has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @freezeboy opened pull request #92986 → newman: init at 5.1.1 → https://git.io/JJYx0
freezeboy has joined #nixos
pjt_014 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92987 → logrotate: 3.16.0 -> 3.17.0 → https://git.io/JJYxo
knupfer1 has joined #nixos
leotaku_ has joined #nixos
leotaku has quit [Ping timeout: 244 seconds]
NeoCron has joined #nixos
asymptotically has joined #nixos
<{^_^}> [nixpkgs] @freezeboy opened pull request #92988 → commitizen: init at 4.1.2 → https://git.io/JJYpY
cr4y1 has joined #nixos
drewr has quit [Ping timeout: 260 seconds]
drewr has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eyJhb> Any good/easy way to only modify a dependency for a single package? Modifying pixman, which everything depends on I guess
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92989 → minikube: 1.11.0 -> 1.12.0 → https://git.io/JJYpz
<freezeboy> eyJhb with and overlay, pixman = super.pixman.overrideAttrs (o: { buildInputs = [ newinput ] ++ o.buildInputs; });
<{^_^}> [nixpkgs] @raboof opened pull request #92990 → inkcut: init at 2.1.1 → https://git.io/JJYpo
<eyJhb> freezeboy: Well I guess it becomes harder, when xpra does not use pixman as a direct dependency
marusich has quit [Ping timeout: 260 seconds]
<eyJhb> Also, is there a way to see all the packages that will be rebuild?
<eyJhb> Dry build I guess
<raghavsood> eyJhb: `nixpkgs-review` should be able to do that for you
<{^_^}> [nixpkgs] @erictapen merged pull request #92937 → ipfs-migrator: 1.5.1 -> 1.6.3 → https://git.io/JJYKn
<{^_^}> [nixpkgs] @erictapen pushed 2 commits to master: https://git.io/JJYp1
<eyJhb> raghavsood: I might be blind, but which subcommand?
<raghavsood> eyJhb: If you have not committed your changes yet, try `nix-shell -p nixpkgs-review --run "nixpkgs-review wip"`. If you have committed them, try `nix-shell -p nixpkgs-review --run "nixpkgs-review rev <your commit hash>"`
<raghavsood> Note that this will attempt to actually rebuild them
<raghavsood> There might be an option to just list them, haven't really looked into that
<raghavsood> It won't swap your system over to using the newly built ones though, just tries to make sure they still compile
<symphorien> is marvin down ?
<{^_^}> Channel nixpkgs-20.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/674ab2dffa5 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-20.03-darwin)
<{^_^}> [nixpkgs] @txt-file closed pull request #92952 → [20.03] nixos make-disk-image: fix permissions of /build → https://git.io/JJYX5
<eyJhb> raghavsood: I just want a list of all the packages that needs to be rebuild, as I am currently building FireFox, so nice to know if there are a lot of other things that need to be rebuild as well :p
<eyJhb> Also, is it possible to task another system with building my config on its own? So that I can shutdown my laptop, open it later and pull the compiled build?
<raghavsood> You can have remote builders, but I believe they need your laptop to still control the process
<raghavsood> For a fully standalone remote build, you probably want to run your own hydra and binary cache mix
<symphorien> If the ssh connection is cut, then the remote builder cancels the builds
<eyJhb> Damn it...
<eyJhb> Hard to keep SSH alive while in the car :p
<raghavsood> The trick is to have a server as your daily driver, and ssh into that from a laptop
<freezeboy> otherwise, you need a vps and start the build direclty there
<symphorien> you can nix copy the drv, and run nix-build on the drv on the builder via ssh in tmux or screen
<{^_^}> [nixpkgs] @filalex77 merged pull request #92972 → fluxctl: 1.19.0 -> 1.20.0 → https://git.io/JJYbL
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JJYh2
<symphorien> but it's manual
noudle has joined #nixos
<eyJhb> symphorien: how do I get the drv of the current build? Assume it can be a single one?
turion has quit [Ping timeout: 272 seconds]
<eyJhb> raghavsood: weelll...
<symphorien> nix-build prints it at the beginning
<{^_^}> [nixpkgs] @filalex77 merged pull request #92913 → lazygit: 0.20.4 -> 0.20.5 → https://git.io/JJY0I
<{^_^}> [nixpkgs] @filalex77 pushed 2 commits to master: https://git.io/JJYhw
<symphorien> run nix-instantiate instead of nix-build ;)
werner291 has joined #nixos
fendor has joined #nixos
<eyJhb> error: getting status of '/home/eyjhb/default.nix': No such file or directory :|
delan has quit [Quit: ZNC - http://znc.in]
<eyJhb> Not sure how to run it against my config
delan has joined #nixos
<freezeboy> just go to the folder with your default.nix file or give the command the name of your file
<eyJhb> I have no default file, this is mf system build
<eyJhb> And pointing at configurition.nix does not work
<eyJhb> my*
<freezeboy> oh yes you need a call to evalConfig ...
<eyJhb> freezeboy: Ehmm... Any example? :)
raghavsood has quit [Remote host closed the connection]
<freezeboy> looking for it ...
<eyJhb> freezeboy: if you can find it, it would be lovely, if not it is fine. I have to go now anyways :)
<eyJhb> Thanks everyone!
MmeQuignon has joined #nixos
kleisli has quit [Ping timeout: 256 seconds]
bennofs_ has joined #nixos
<freezeboy> eyJhb nix-build '<nixpkgs/nixos>' -A system seems ok
<freezeboy> so if your just need the derivation, I would try nix-instantiate on it
bennofs has quit [Ping timeout: 240 seconds]
symphorien has quit [Quit: WeeChat 2.8]
symphorien has joined #nixos
<{^_^}> [nixpkgs] @flokli pushed to master « nixos/systemd: add missing defaults, make options nullable »: https://git.io/JJYjX
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92991 → openimagedenoise: 1.2.1 -> 1.2.2 → https://git.io/JJYjy
crazazy has joined #nixos
crazazy has quit [Quit: leaving]
<{^_^}> [nixpkgs] @erictapen merged pull request #90591 → sequoia: 0.16.0 -> 0.17.0 → https://git.io/Jf5sL
<{^_^}> [nixpkgs] @erictapen pushed 3 commits to master: https://git.io/JJYjN
<{^_^}> [nixpkgs] @doronbehar closed pull request #91150 → vim_configurable: fix error of gvim when guiSupport = false → https://git.io/Jfbrj
<{^_^}> [nixpkgs] @erictapen closed pull request #92904 → python37Packages.sequoia: 0.16.0 -> 0.17.0 → https://git.io/JJYWn
knupfer1 has quit [Ping timeout: 246 seconds]
knupfer has joined #nixos
freezeboy has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @srhb merged pull request #92955 → home-assistant: Fix dependency restriction → https://git.io/JJY1Q
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/JJOeO
sangoma has joined #nixos
<AlpineLlama> Hey all! I'm trying to get my nix configuration to pull in my personaly dotfiles from git. I know of the fetchGit builtin function. but I can't quite puzzle out how to link or copy these directly to my home folder on install
alp has joined #nixos
<srhb> AlpineLlama: You may want to take a look at home-manager for that.
<srhb> AlpineLlama: Nix itself is not concerned with anything outside of /nix/store
<srhb> NixOS and home-manager implement system services and scripts to bring this "outside of the /nix/store" in a reproducible manner (usually by clever linking).
C-16 has joined #nixos
<AlpineLlama> srhb: thanks. I briefly saw home-manager but it seemed more concerned with writing the dotfiles in the nix way. I really just wanted to copy them over for the moment. thought there might be something simpler
<AlpineLlama> but If that's the way I'll take a closer look. Thanks man!
<srhb> AlpineLlama: You absolutely could rip out the parts of home-manager that does just that, but I'd say you gain way more by going to home-manager directly. It does support the simple linking case, as well as a ton of other stuff.
<AlpineLlama> Oh that looks exactly like what I need! thanks a lot!
hoijui has quit [Ping timeout: 256 seconds]
zupo has joined #nixos
cosimone has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @primeos merged pull request #89983 → driversi686Linux.vaapiIntel: 2.4.0 -> 2.4.1 → https://git.io/Jfy7q
<{^_^}> [nixpkgs] @primeos pushed commit from @r-ryantm to master « vaapiIntel: 2.4.0 -> 2.4.1 (#89983) »: https://git.io/JJOe6
kleisli has joined #nixos
fling has joined #nixos
<{^_^}> [nixpkgs] @gvolpe opened pull request #92993 → Update coc-metals vim plugin → https://git.io/JJOeM
marsh has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
turion has joined #nixos
_ris has joined #nixos
hke has quit [Read error: Connection reset by peer]
hke has joined #nixos
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<{^_^}> [nixpkgs] @doronbehar opened pull request #92994 → hplip: Remove all python related gcc references → https://git.io/JJOeN
knupfer1 is now known as knupfer
captn3m0 has quit [Read error: Connection reset by peer]
waleee-cl has quit [Quit: Connection closed for inactivity]
dingenskirchen has quit [Quit: dingenskirchen]
dingenskirchen has joined #nixos
oida has quit [Ping timeout: 240 seconds]
zupo has quit [Remote host closed the connection]
zupo has joined #nixos
cmk_zzz has quit [Ping timeout: 256 seconds]
fendor_ has joined #nixos
cmk_zzz has joined #nixos
oida has joined #nixos
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #92995 → pshs: 0.3.3 -> 0.3.4 → https://git.io/JJOvO
<{^_^}> [nixpkgs] @primeos opened pull request #92996 → vaapiIntel: Refactor and improve the build expression → https://git.io/JJOvZ
<{^_^}> [nixpkgs] @flokli closed pull request #92965 → yubikey-agent: init at 0.1.3 → https://git.io/JJYSr
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raghavsood has joined #nixos
<raghavsood> Is https://nixos.org/nixos/options.html# broken for anyone else?
freezeboy has joined #nixos
<evils> raghavsood: works here
<raghavsood> Interesting, I get a `Failed to get option data.` error
werner291 has quit [Ping timeout: 240 seconds]
<raghavsood> ```
<raghavsood> `Access to XMLHttpRequest at 'https://releases.nixos.org/nixos/20.03/nixos-20.03.2513.009c50976b5/options.json.br' (redirected from 'https://channels.nixos.org/nixos-20.03/options.json.br') from origin 'https://nixos.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.`
<raghavsood> That's unfortunate
<freezeboy> I tried to modify the definition of the librealsense package to optionally compile with cuda support, but on my current computer it freezes my machine, whereas another computer I used to use worked perfectly, do you think it is ok to submit the PR and let someone with a better machine compile it ?
<raghavsood> If you open a PR, ofBorg will give it a shot compiling it for you, should be useful as a sanity check
<freezeboy> oh yes true
<AlpineLlama> Is it possible to add a nix channel from the configuration.nix? I would like to add the home-manager git channel directly in order to include it in my config
<AlpineLlama> they only way I can find onlin is running nix-channel. But I would like this to happen automatically in my config
<srhb> AlpineLlama: You're probably better off fetching a certain commit directly
<AlpineLlama> srhb: I was trying that actually. I wrapped the set in a let home-manager = fetchGit {...} in
<raghavsood> AlpineLlama: You can do `let home-manager = builtins.fetchGet{} in`
<AlpineLlama> alright then it must be my import that's wrong
<srhb> AlpineLlama: I do just that (but with pkgs.fetchFromGitHub)
<AlpineLlama> Oh how is that different ?
<raghavsood> Mine works with `fetchGit`
<srhb> AlpineLlama: It's not, with respect to your problem
<srhb> AlpineLlama: My import is: imports = [ (home-manager-src + "/nixos") ];
trewqasad1[m] has joined #nixos
<srhb> (with home-manager-src being the source gotten from fetchFromGitHub/fetchGit, or whatever other fetcher :))
noudle has quit []
<raghavsood> I've got this https://gist.github.com/RaghavSood/0924f10b10a4b5da20a4a83932ca05ef, seems to work alright
<{^_^}> [nixpkgs] @freezeboy opened pull request #92997 → librealsense: refactor to allow use of cuda, and prepare for python integration → https://git.io/JJOvH
<raghavsood> The link also works alright if you remove the comma :)
<AlpineLlama> srhb: yeah awesome thanks. I was actually doing that with fetchGit but then messed up the expansion synctax in my path. Used "$(thing)/nixos" instead of "${thing}/nixos".......
<AlpineLlama> thanks
<srhb> Right, that'd do it.
<{^_^}> [nixpkgs] @primeos closed pull request #92976 → vaapiIntel: 2.4.0 -> 2.4.1 → https://git.io/JJYNU
pbb has quit [Read error: Connection reset by peer]
litschi has quit [Ping timeout: 260 seconds]
pbb has joined #nixos
litschi has joined #nixos
<freezeboy> does anyoe tried to setup a local hydra + ofborg cluster ? is it easy to do ?
domogled has quit [Read error: Connection reset by peer]
<AlpineLlama> srhb: sorry to bother you again.. I'm so close ... I'm just getting an error for my .emacs.d the line I'm using in ```home.file = bultins.readDir (builtins.fetchGit {...})```. But then it says that home-manager.users.llamagod.home.file..emacs.d in`/etc/nixos/configuration.nix' is not of type `submodule'
<freezeboy> raghavsood ofborg seems happy, but it was so fast, I wonder if it compiled everything
<AlpineLlama> maybe readDir is the wrong function for this ?
<freezeboy> AlpineLlama you should have ".emacs.d" in your option name, no ?
<srhb> AlpineLlama: And I do doubt you want readDir as well. Presumably you want emacs.d to be exactly the checked out source.
<AlpineLlama> freezeboy: not sure I understand what you mean. yes .emacs.d is a directory and I just want it linked into my home folder from the git clone
<srhb> AlpineLlama: See https://rycee.gitlab.io/home-manager/options.html#opt-home.file._name__.recursive and source
<srhb> AlpineLlama: freezeboy is saying you probably want `home.file.".emacs.d" = ...`
domogled has joined #nixos
<freezeboy> yes
<freezeboy> home.file.".emacs.d¨ = { source = builtinsfetchGit ...; recursive = true; };
<AlpineLlama> srhb: Ah ok thanks. I wasn't sure how to input the dot name
<AlpineLlama> but the git actually contains the .emacs.d as well as other files
<freezeboy> or maybe not recursive ...
<srhb> Probably not recursive, but ymmv.
kleisli has quit [Ping timeout: 260 seconds]
<srhb> AlpineLlama: Then you do the same thing as you did with your home manager path, concatenate the dir onto the checked out path
<srhb> AlpineLlama: you might run into a problem with the dot though
<freezeboy> then you have a variable let repo = fetchgit ... in ... home.file.".emacs.d".source = "${repo}/.emacs.d"; }
<srhb> So you'll probably want builtins.path to fix that up
<srhb> Ah, actually, as a subdir that's probably fine
<AlpineLlama> ok I'm seeing a little clearer. but I should probably just apply this through a map or something right?
<srhb> No, no map.
<AlpineLlama> (still just picking up the language here..)
<srhb> You'll be symlinking the directory directly.
<AlpineLlama> But I have several files to add this way
<srhb> So there's only one source and target.
<srhb> Okay, sure, you can do that then :)
<srhb> It'll probably be clearer how to do that if you do a few by hand first though
<srhb> But yes, if that's your goal you'll likely want to use readDir and mapAttrs.
<AlpineLlama> srhb: fair. I'll already try to get emacs working then
<AlpineLlama> thanks guys! I'll try it now
<duairc> Is there any way to write a string to a temporary file from Nix that doesn't involve that file ending up in the world readble /nix/store ?
<srhb> duairc: Sort of, as long as it's only used by the build, it'll stay in the sandbox if you delete it afterwards. It must be the same build though. But in general, avoid this, as it's easy to leak secrets to the store like this.
<srhb> And I'm actually not sure the sandbox is read safe, come to think of it, so that might just punt the problem to /tmp. :)
<duairc> srhb: Hmmm. Speficially I'm using NixOps and I want to set boot.initrd.network.ssh.hostKeys to a key that comes from resources.sshKeyPairs.<foo>.privateKey
<duairc> But that gives me a string whereas I need a file
<duairc> I can pkgs.writeText "initrd-ssh-key" the string, but then obviously it ends up in the global store
_ris is now known as ris
<duairc> But with the boot.initrd.secrets stuff, I'm also bit hazy about if the construction of the initrd-secrets is being run on the machine I'm running NixOps on or the machine that it's deploying too
<clever> duairc: i think you want to use deployment.keys to put the key on the machine, and set boot.initrd.network.ssh.hostKeys = "/path/on/remote/box"; to the path you told deployment.keys to use
andymandias has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @primeos merged pull request #92996 → vaapiIntel: Refactor and improve the build expression → https://git.io/JJOvZ
<{^_^}> [nixpkgs] @primeos pushed to master « vaapiIntel: Refactor and improve the build expression (#92996) »: https://git.io/JJOf8
<duairc> clever: Ah, I guess you can use a directory other than /run/keys for deployment.keys, I forgot about that. My concern was that I would need to unlock the disk before I could do nixops send-keys, but I need the initrd SSH daemon to have the hostKey before I can unlock the disk
<duairc> I think there's still a circular dependency here somehow, but I'll try this
<clever> duairc: when updating /boot, the scripts will read whatever path you gave it, and copy the secret into the initrd
<raghavsood> Anyone know how to do `recv-keys` declaratively? Ideally using home-manager
<stigo> raghavsood: via gpg?
<raghavsood> Yes
<raghavsood> I have gpg installed, but I'd also like it to import my keys
<raghavsood> Saves me from importing them on a bunch of servers manually
noudle has joined #nixos
mvnetbiz_ has quit [Quit: Bye!]
mvnetbiz_ has joined #nixos
<clever> raghavsood: i'm thinking a systemd-user service, that just runs `gpg recv-keys < ${./keys}`
<clever> when nix parses that, it will turn into `gpg recv-keys /nix/store/hash-keys`
<raghavsood> Hmm, I guess that could work. A oneshot seems like a simple solution
<raghavsood> But having an entire systemd service dedicated to a one time operation seems bloaty
<clever> yeah, it would be one-shot, so it only runs on login and wont stay running
<clever> systemd is about the simplest modern way to run something on startup
<raghavsood> I was kind of hoping for something like `services.gpg-agent.keys = [ "0x..." "0x..." ];`, but I can see how that would be difficult to work with
<raghavsood> Oneshot it is then, thanks!
<raghavsood> clever++
<{^_^}> clever's karma got increased to 473
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
ixxie has joined #nixos
captn3m0 has joined #nixos
<stigo> raghavsood: something that runs `gpg --import my-keys.gpg` ?
<raghavsood> stigo: Yup - I got it working with a oneshot service for now
nory has joined #nixos
nory is now known as mehatxu
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/674ab2dffa5 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
domogled has quit [Remote host closed the connection]
domogled has joined #nixos
<{^_^}> [nixos-homepage] @github-actions[bot] pushed commit from GitHub Actions to master « Update flake.lock and blogs.xml [ci skip] »: https://git.io/JJOJL
mehatxu has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93000 → sentencepiece: 0.1.91 -> 0.1.92 → https://git.io/JJOJ3
seanparsons has quit [Quit: ZNC 1.7.5 - https://znc.in]
<AlpineLlama> I have a totally trivial question but I can't seem to find the answer in the manual. How do I add the lib module in my configuration.nix?
seanparsons has joined #nixos
<simpson> Add `pkgs` to your signature, like `{ pkgs, ... }:` at the top, and then you can access `pkgs.lib`.
asymptotically has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @romildo merged pull request #90221 → cde-gtk-theme: small adjustments → https://git.io/JfH5Z
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJOJa
philandstuff has quit [Quit: Connection closed for inactivity]
werner291 has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #93001 → nixos/gitolite: provision data directory only before service begins → https://git.io/JJOJ1
<AlpineLlama> simpson: ah thank you. because all the documentation refered to it as just lib I didn't realize it was in pkgs
<simpson> AlpineLlama: Physically, within the nixpkgs tree, there's a `lib` folder mirroring the `lib` attrset.
<symphorien> AlpineLlama: you can also add lib to the arguments: `{ pkgs, lib, ... }:`
<symphorien> and then you can use just lib
<AlpineLlama> ah ok. Where can I find documentation on the signature expected in configuration.nix? I'm not sure what to search for
<{^_^}> [nixpkgs] @romildo merged pull request #92979 → iconpack-jade: 1.22 -> 1.23 → https://git.io/JJYNz
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJOJS
<symphorien> I think the full signature is {pkgs, lib, options, config}
<duairc> Is there a way to see why a particular path in /nix/store stays there after a nix-collect-garbage? Which gcroot is keeping it there?
<freezeboy> duairc nix why-depends /nix/....gcroot/... /nix/store/xxx-mypah
<{^_^}> [nixpkgs] @romildo merged pull request #92973 → font-manager: 0.7.7 -> 0.7.8 → https://git.io/JJYbZ
<{^_^}> [nixpkgs] @romildo pushed 2 commits to master: https://git.io/JJOJN
<AlpineLlama> symphorien: thanks man
<duairc> freezeboy: Thanks!
<ixxie> what happens if a program installed by Nix updates itself?
<freezeboy> ixxie it cannot
werner291 has quit [Ping timeout: 272 seconds]
zupo has joined #nixos
<ixxie> freezeboy: right, because it doesn't get a right to mutate the store
<ixxie> freezeboy: I mean, nothing gets that right obviously :D
<freezeboy> exactly
proofofkeags has joined #nixos
Rusty1 has joined #nixos
meh` has joined #nixos
markus1189 has quit [Ping timeout: 256 seconds]
markus1189 has joined #nixos
<clever> ixxie: some programs try to edit themselves in /nix/store, that will just hard fail
<clever> ixxie: but i have seen that dropbox tries to put its update into something like ~/.dropbox/ and then the old ver runs the new ver automatically
<clever> except the new ver isnt patchelf'd so it fails after the update, when it next launches
Melkor333 has joined #nixos
<clever> so some just fail to update and keep working, others "successfully" but then brick itself, and wont work even if you do update with nix (you have to clear the right state)
litschi has quit [Ping timeout: 265 seconds]
litschi has joined #nixos
<Melkor333> The following code is in a Repo which I'm using, but it's broken since 20.03
<Melkor333> type = let
<Melkor333> submodules = toplevel.options.users.users.type.getSubModules;
<Melkor333> in lib.types.submodule (map (m: m.submodule) submodules);
<Melkor333> Is there an easy way to fix this?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Melkor333> The error message is always 'attribute "submodule" is missing'
<ixxie> clever: yeah makes sense...
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93002 → syncplay: 1.6.4a -> 1.6.5 → https://git.io/JJOUn
<AlpineLlama> Is there a way to do a fetchGit with recurse submodules?
<freezeboy> AlpineLlama I think it is in the future version of nix
<AlpineLlama> freezeboy: sweet. but can I just get it to execute git submodule init and update somehow?
<freezeboy> hum maybe you can add a postFetch hook to do it
<raghavsood> AlpineLlama: `fetchSubmodules = true;`
<freezeboy> raghavsood but is it available with fetchGit ? i only see it for fetchgit (don't know the difference between those two btw)
fendor_ has quit [Ping timeout: 256 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
<raghavsood> freezeboy: It should be available in `fetchGit` too as of https://github.com/NixOS/nix/pull/3166
<{^_^}> nix#3166 (by blitz, 37 weeks ago, merged): Add fetchSubmodules to builtins.fetchGit
<raghavsood> So you probably need to be on unstable
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<AlpineLlama> raghavsood: thanks that looks good. Just how unstable is unstable? :)
<freezeboy> thanks
<raghavsood> I use unstable on about half of our servers, we're still in business
<raghavsood> If stuff breaks, you can always temporarily pin to an unbroken revision :D
<freezeboy> it is ok when you pick some programs, a bit more funny if you build your complete system
<raghavsood> Yeah, we generally run nixos-20.03 with unstable nixpkgs
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
cosimone has joined #nixos
proofofkeags has quit [Ping timeout: 272 seconds]
bougyman has joined #nixos
iyzsong has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bb834be2996 (from 55 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<siraben> Has anyone written/know of a set of Nix challenges that increase in difficulty, building a more complicated project with each level?
sauyon[m] has joined #nixos
<AlpineLlama> is https://stackoverflow.com/questions/48831392/how-to-add-nixos-unstable-channel-declaratively-in-configuration-nix#48838322 this best way to switch to unstable ? or is there something cleaner now?
<freezeboy> AlpineLlama this way, each time your run nixos-rebuild, you will fetch the unstable channel, maybe pinning would be better
<AlpineLlama> freezeboy: by pinning you mean using nix-channel?
<freezeboy> unstable = fetchFromGitHub { owner = "NixOS"; repo = "nixpkgs-channels"; rev = "..."; sha256 = "..."; };
<freezeboy> or nix-channel and use <unstable> in your configuration
proofofkeags has joined #nixos
<AlpineLlama> freezeboy: thanks. I'll try to keep as much as possible in my config. I'm trying to use this accross my desktop and laptop so the more declarative the better
<freezeboy> AlpineLlama using fetchFromGitHub in your configuration, you simply need to run from time to time nix-prefetch-github to find the rev/sha256 combination
<AlpineLlama> freezboy: I don't seem to have that command though. only nix-prefetch-url
markus1199 has joined #nixos
<freezeboy> nix run nixpkgs.nix-prefetch-github is your friend ;) or you can put it in your systemPackages
proofofkeags has quit [Ping timeout: 246 seconds]
<freezeboy> the nix-prefetch-* is a big family
<AlpineLlama> freezeboy: Ah thank you I found it now
markus1189 has quit [Ping timeout: 264 seconds]
knupfer has quit [Quit: knupfer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93003 → traefik: 2.2.1 -> 2.2.4 → https://git.io/JJOTg
knupfer has joined #nixos
<AlpineLlama> freezeboy: I just realiezed I'm trying to override the builtins with the unstable ones. not he nixpkgs. will this also include those?
<freezeboy> @alp
<freezeboy> AlpineLlama hum no, to do that you will need to use some unstable nix program I think
andymandias has joined #nixos
<{^_^}> [nixpkgs] @ajs124 opened pull request #93004 → firefox/packages: drop old aliases → https://git.io/JJOTo
<freezeboy> AlpineLlama https://nixos.org/nixos/options.html#nix.package you can set to unstable.nix
<freezeboy> AlpineLlama it looks like the pkgs.nixUnstable is also quite recent
<{^_^}> [nixpkgs] @ryantm merged pull request #92727 → syncthing-discovery: 1.6.1 -> 1.7.0 → https://git.io/JJqKo
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/JJOTM
<m1cr0m4n> Hey folks, any notions what would cause an exit code 4 on switch-to-configuration? I'm writing some tests in nixpkgs, using nix-build to run them, and one of the nodes is doing this.
<clever> 424 print STDERR "reloading the following units: ", join(", ", sort(keys %unitsToReload)), "\n";
<clever> 425 system("@systemd@/bin/systemctl", "reload", "--", sort(keys %unitsToReload)) == 0 or $res = 4;
<clever> m1cr0m4n: i think that happens if reload fails?
<clever> 433 system("@systemd@/bin/systemctl", "restart", "--", sort(keys %unitsToRestart)) == 0 or $res = 4;
<clever> 445 system("@systemd@/bin/systemctl", "start", "--", sort(keys %unitsToStart)) == 0 or $res = 4;
<clever> or restart, or start
<infinisil> Yeah exit code 4 is for when systemd units fail to start
<AlpineLlama> freezeboy: thanks man. So in my config I would have {config, pkgs, ...}: {... nix.package = pkgs.nixUnstable; }. Is that right?
<m1cr0m4n> clever: Interesting! thanks :) That will definitely help me track down what's going on. I can see one unit actually completes after switch-to-configuration so I must be missing some systemd dependency for it
noudle has quit []
<freezeboy> AlpineLlama yes this line will set the unstable version of nix on your system, and if you need some other package from unstable, you use the fetchFromGitHub stuff
<{^_^}> [nixpkgs] @Ma27 merged pull request #92949 → jetbrains: update → https://git.io/JJYXq
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOTH
shabius has joined #nixos
<AlpineLlama> freezeboy: sweet! it seems that nixUnstable isn't new enough to have that submodules option though. I'm getting the error unsupported argument fetchSubmouldes
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93005 → urlscan: 0.9.4 -> 0.9.5 → https://git.io/JJOTx
<AlpineLlama> Submodules... spelled correctly
hoijui has joined #nixos
<freezeboy> AlpineLlama maybe it is not yet pre release
reanimus has quit [Ping timeout: 260 seconds]
reanimus has joined #nixos
<{^_^}> [nix] @Ma27 opened pull request #3805 → Fix ANSI color constants → https://git.io/JJOkk
teto has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @flokli opened pull request #93006 → nixos/udev: use udev rules from $lib if present, otherwise $out → https://git.io/JJOkO
cr4y1 has quit [Ping timeout: 256 seconds]
iceypoi has joined #nixos
sangoma has quit [Ping timeout: 256 seconds]
icey_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93007 → websocat: 1.5.0 -> 1.6.0 → https://git.io/JJOko
werner291 has joined #nixos
<Melkor333> I am trying to fix a custom Nixos Module "nixcloud-webservices" which always gives me "attribute 'submodule' missing". The module wants to remap the submodule type of users.users.x to a custom option 'webserver.user.userOptions'. I would really like to fix it but I have no clue what I need to do...
<Melkor333> It worked with 19.09 but doesn't anymore with 20.03
<Melkor333> I assume it has to do with the change to types.submodule where one should use "path (submodule ...)" instead of "(submodule ...) path" but I don't really understand what is meant with that
<AlpineLlama> which module is fetchFromGitHub in ? I had assumed it was in builtins but I'm actually getting an attribute 'fetchFromGitHub' missing
<infinisil> Melkor333: I have a suspicion that this is caused by my changes in https://github.com/NixOS/nixpkgs/pull/75031
<{^_^}> #75031 (by Infinisil, 31 weeks ago, merged): Module system improvements for NixOS as a submodule
<infinisil> Just a guess though, could verify it by checking if it works before and after the PR
gustavderdrache has joined #nixos
<freezeboy> AlpineLlama it is in pkgs
<AlpineLlama> freezeboy: thanks man
<AlpineLlama> really wish the documentation would use the full name every time....
<freezeboy> the problem is that in packages, the convention is to let callPackage fetch from the pkgs to populate your parameters, but modules are not using this mechanism, so the two codes look different, and usualy fetch* are used in packages
domogled has quit [Ping timeout: 272 seconds]
waleee-cl has joined #nixos
<Melkor333> Infinisil: I can test if that is the cause, but I don't get what I would have to change to make it work again. Your PR seems quite complicated!
domogled has joined #nixos
cmk_zzz has quit [Ping timeout: 240 seconds]
cmk_zzz has joined #nixos
<infinisil> Melkor333: I could help with that if that's the case
<infinisil> But looking at the code a bit better, I have no idea how this should ever have worked
Havvy has quit [Ping timeout: 244 seconds]
<infinisil> Like for the `map (m: m.submodule) submodules` part, I have no idea where "submodule" is even defined like this
<infinisil> I can't find it anywhere in nixpkgs or nixcloud-webservices
detran has quit [Ping timeout: 256 seconds]
<infinisil> Ohh yeah no I can find it, in 19.09
<Melkor333> oh wow, thank you for looking into it!
<Melkor333> Wait, so it has nothing to do with your change then?
Havvy has joined #nixos
<infinisil> It does
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93008 → yafaray-core: 3.4.4 -> 3.5.0 → https://git.io/JJOIt
<infinisil> I indeed removed the "submodule" thing in this commit: https://github.com/NixOS/nixpkgs/pull/75031/commits/5414b4018bf1161ad9bd0e98d0ffbde8aa435fe5
<freezeboy> do you know how many people can review/approve/merge the PRs ?
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
<Melkor333> Oh I see... Is there an easy way to rewrite it without using "submodule"?
<Melkor333> damn I'm trying to wrap my head around what's happening there but I have absolutely no clue.. Guess I gonna dig a bit into the module.nix bc I really wanna understand what's going on there
<infinisil> Melkor333: I think `type = lib.types.submodule toplevel.options.users.users.type.functor.wrapped.functor.payload.modules` should work
<Melkor333> oh woww
<Melkor333> haha that looks like a bunch of magic :D let me try it
<infinisil> This is kind of an internal thing
<infinisil> With `.functor.wrapped` we can get access to what loaOf wraps, which is then `submodule userOpts`
<infinisil> And with a final `.functor.payload` we can get access to what the arguments to the submodule were
proofofkeags has joined #nixos
<infinisil> Which is for one the modules it received
<infinisil> > nixos.options.users.users.type.functor.wrapped.functor.payload
<{^_^}> { modules = <CODE>; shorthandOnlyDefinesConfig = <CODE>; specialArgs = <CODE>; }
<infinisil> > nixos.options.users.users.type.functor.wrapped.functor.payload.modules
gulplante has joined #nixos
<{^_^}> [ <CODE> <CODE> ]
<infinisil> > :p nixos.options.users.users.type.functor.wrapped.functor.payload.modules
<{^_^}> [ { _file = "/var/lib/nixbot/nixpkgs/master/repo/nixos/modules/config/users-groups.nix"; imports = [ <LAMBDA> ]; } { _file = "/var/lib/nixbot/nixpkgs/master/repo/nixos/modules/services/networking/ssh/...
<Melkor333> oh okay, thanks for the explanation! That's pretty much the thing I was logically searching for but could've never found by myself :D
cosimone has quit [Quit: Quit.]
<infinisil> Coping option types like this is rather messy, I wish there was a better solution
<Melkor333> I mean it's not better but one could instead just use webserver.user = someuser; users.users.someuser = { extraconfigs };
<Melkor333> it just gives a bit of extra convenience
nabataeus has quit [Quit: ERC (IRC client for Emacs 26.3)]
<infinisil> Not sure how that would work
<Melkor333> wait, that doesn't work?
<infinisil> I'm not even sure what you mean by that
<infinisil> Ah I guess maybe `webserver.user = "someuser"` and then `users.users.${config.webserver.user} = { <extra> };`?
domogled has quit [Quit: domogled]
<Melkor333> yeah exactly
<Melkor333> hmm i get "value is a list while a set was expected, at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:532:12"
<infinisil> Melkor333: Are you using 20.03?
<Melkor333> But i did some other changes to my config so it might also be something else, let me investigate
<Melkor333> jup
<m1cr0m4n> clever: Got any other recommendations on how I could debug switch-to-configuration return code 4? I've gone so far now as printing all services after fail and I can't see any errors
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
knupfer has quit [Client Quit]
knupfer has joined #nixos
m1cr0m4n is now known as m1cr0man
<gulplante> Using systemd-boot have anyone had the following occur to them?; During boot the efi selection menu is blank, but if I enter UEFI setup then exit then the selection menu shows up. I know the menu is just "blank" normally because if I hit any arrow key to cancel auto-choice count down I am stuck on a blank screen forever.
knupfer has quit [Client Quit]
knupfer has joined #nixos
cosimone has joined #nixos
<srhb> gulplante: EFI selection menu as in the firmware one (not systemd-boot itself)?
knupfer has quit [Client Quit]
knupfer1 has joined #nixos
knupfer1 has quit [Client Quit]
knupfer has joined #nixos
<gulplante> srhb: yes exactly
<srhb> gulplante: No, but I'd try fiddling with the firmware boot options (like, splash screen disable/enable) if possible. And probably get the firmware updated to see if that resolves it.
detran has joined #nixos
<srhb> I've also had a lot of firmwares misbehave when the number of boot entries is high, might also want to explore that.
<gulplante> srhb: sorry, let me rephrase my first message: if I let the system boot without interfering, the sytemd-boot menu is blank. If I enter BIOS/UEFI setup during post and then immediately exit, then the systemd-boot menu will show up. The firmware has not been updated in a few years so might still be the problem, yeah? I'll try to fiddle with splash screen first
<srhb> Yeah, I parsed it that way the first time. :)
<srhb> There's also the possibility of doing a full reset of it -- if your boot loader is installed as "removable" (which systemd-boot should always be) you should still be able to boot simply because the first trivial disk entry will be able to locate the BOOTX64.EFI loader (but keep a rescue system handy anyway)
<srhb> But yeah, not an easy problem to debug aside from tweaking all the knobs when it's that early.
<gulplante> Enabling splash screen did the trick. Thanks! :D
<srhb> heh, magic.
ixxie has quit [Quit: Lost terminal]
turion has quit [Ping timeout: 272 seconds]
teto has quit [Ping timeout: 272 seconds]
user_0x58 has joined #nixos
sheepfleece has joined #nixos
sb__ has joined #nixos
<sb__> hi. I have a repository that I retrieve using fetchgit, and then a number of derivations use one file each from that repository. when the repository is updated, I want only those derivations that depend on files that have been modified to be rebuilt
<sb__> each derivation depends on exactly 1 file from that repos
<sb__> I tried using 'src = builtins.toPath (repos + "/file")' in the derivations but that does not work
<freezeboy> sb__it is not possible the fetchgit gives one derivation, so anytime one file changes the whole repository's hash is changed
<sb__> and also tried to hack it using fetchurl file:///repos/file but fetchurl of a store path is blocked
cole-h has joined #nixos
<sb__> src = ./path_relative_to_nixfile has the right behavior
<sb__> but src = storepath does not
<Melkor333> infinisil: Your suggestions seems to work! I've tried to fix it wherever it occurs in the repo, but can you help me with the lines at https://github.com/nixcloud/nixcloud-webservices/blob/master/modules/web/core/base.nix#L19 ?
<freezeboy> sb__ what do you call storepath ?
<sb__> src = builtins.toPath (repos + "/file") gives a storepath
<Melkor333> The same error appears but the fix doesn't work.
<Melkor333> or lets say I don't know how to apply the fix there.. :D
<cole-h> sb__: Why not `src = "${repos}/file";`?
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #93009 → mutt: 1.14.5 -> 1.14.6 → https://git.io/JJOL1
<freezeboy> but still the $repos hash will change any time one of its content will change
<sb__> I tried using toPath to see if I could get the behavior I have with src = ./path_relative_to_nixfile
<freezeboy> so it will trigger all the builds
<sb__> "${repos}/file" does the same thing
<{^_^}> [nixpkgs] @f4814 opened pull request #93010 → wofi: Package manpages → https://git.io/JJOLD
<Melkor333> infinisil: Nevermind i guess I got it to work, it's building now :D
sheeldotme has joined #nixos
<Melkor333> infinisil: Thank you very much for all your time! I'm pretty sure quite some people will be happy when I create a PR with your fix :)
user_0x58 has quit [Quit: Leaving]
sheepfleece has quit [Quit: Lost terminal]
alp has joined #nixos
<{^_^}> [nixpkgs] @jtojnar opened pull request #93011 → meson: 0.54.2 → 0.55.0 → https://git.io/JJOtL
<{^_^}> [nixpkgs] @jtojnar opened pull request #93012 → meson: 0.54.2 → 0.55.0 → https://git.io/JJOtq
<{^_^}> [nixpkgs] @jtojnar closed pull request #93012 → meson: 0.54.2 → 0.55.0 → https://git.io/JJOtq
freezeboy has quit [Ping timeout: 245 seconds]
sb__ has quit [Quit: Leaving]
gulplante has quit [Quit: WeeChat 2.7.1]
pamplemousse has quit [Ping timeout: 258 seconds]
pamplemousse has joined #nixos
<raghavsood> Is there any way to have nix-build use compression when copying binaries back?
<raghavsood> Even a simple zip for one of my packages leads to 70% less size
<raghavsood> evidently nix-copy-closure supports compression
<raghavsood> Not sure how to get nix-build to use it though
<symphorien> with ssh-based remote builders ?
<raghavsood> Yes
<symphorien> I assume you can enable compression via ssh in /root/.ssh/config
<raghavsood> I guess that's an option
jb55 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lukegb opened pull request #93013 → oven-media-engine: init at 0.10.4 → https://git.io/JJOtz
jb55 has joined #nixos
<infinisil> Melkor333: :D
<infinisil> Note that you probably want to make this backwards compatible
johnny101m has quit [Remote host closed the connection]
__monty__ has joined #nixos
<raghavsood> Well, I did turn on compression, but it seems slightly less helpful than expected (or its the world's lightest compression algo, my local CPU is sitting at 0.01%)
<Melkor333> infinisil: good point!
<{^_^}> [nixpkgs] @primeos pushed to master « gns3-{gui,server}: 2.2.8 -> 2.2.9 »: https://git.io/JJOth
<{^_^}> [nixpkgs] @srhb opened pull request #93014 → ardour: 6.0 -> 6.2 → https://git.io/JJOqU
<{^_^}> [nixpkgs] @pasqui23 closed pull request #89234 → kwin: applying @tildearrow 's low latency patch → https://git.io/Jf6Iu
detran has quit [Ping timeout: 264 seconds]
cr4y1 has joined #nixos
ixxie has joined #nixos
paraseba has joined #nixos
<paraseba> Is there a way to declaratively add entries to the EFI boot menu?
<nDuff> Hmm. On Nix 2.3.6, I seem to have run into a situation where evaluating the same expression twice at the REPL, the first invocation succeeds (evaluating to what I'd expect), but the second one returns an error that appears to be caused by the wrong value being cached for a portion of that expression. Haven't yet built a standalone reproducer; hoping it sounds familiar to someone from the high-level description.
proofofkeags has quit [Remote host closed the connection]
proofofkeags has joined #nixos
<puck> nDuff: pretty sure you're hitting the GC bug again
raghavsood has quit [Ping timeout: 245 seconds]
<puck> which was only backported in 2.3.7
proofofkeags has quit [Ping timeout: 246 seconds]
detran has joined #nixos
zupo has joined #nixos
litschi has quit [Ping timeout: 256 seconds]
<nDuff> yup, https://github.com/NixOS/nix/issues/3175 does smell right.
<{^_^}> nix#3175 (by domenkozar, 36 weeks ago, closed): segfault with nix repl
litschi has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « gns3-{gui,server}: 2.2.9 -> 2.2.11 »: https://git.io/JJOqM
asymptotically has joined #nixos
rajivr has quit [Quit: Connection closed for inactivity]
jakobrs has joined #nixos
sheeldotme has quit [Ping timeout: 256 seconds]
acarrico has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
ben has quit [Quit: leaving]
alexherbo2 has quit [Ping timeout: 272 seconds]
uirc has joined #nixos
uirc is now known as ben
bkv has joined #nixos
litschi has quit [Ping timeout: 240 seconds]
bqv has quit [Ping timeout: 246 seconds]
emmanuel` has quit [Read error: Connection reset by peer]
litschi has joined #nixos
emmanuel` has joined #nixos
<jakobrs> Is there a way to have a service launched at boot (using wantedBy = [ "multi-user.target" ]) but *not* launched by switch-to-configuration?
<{^_^}> [nixpkgs] @jtojnar merged pull request #92966 → bpm-tools: Specify dependencies and wrap executables → https://git.io/JJYSX
<{^_^}> [nixpkgs] @jtojnar pushed commit from @f4814 to master « bpm-tools: Specify dependencies and wrap executables »: https://git.io/JJOmt
<jakobrs> restartIfChanged doesn't seem to affect units that are already dead (and that should stay dead0
knupfer has quit [Remote host closed the connection]
meh` has quit [Ping timeout: 264 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @equirosa opened pull request #93015 → lazygit: 0.20.5 -> 0.20.6 → https://git.io/JJOmn
<srhb> jakobrs: Maybe you want RemainAfterExit?
cosimone has quit [Quit: Quit.]
NeoCron has quit [Ping timeout: 260 seconds]
<srhb> (As in, it feels more correct to encode that unit is in some sense already "active" directly in systemd)
cosimone has joined #nixos
<jakobrs> That could work, yes
<jakobrs> The service I'm thinking of is `libvirt-guests.service`, to resolve #92764.
<{^_^}> https://github.com/NixOS/nixpkgs/issues/92764 (by colemickens, 3 days ago, open): libvirtd.service is restarted when activating the system config?
<jakobrs> for context.
acarrico has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 264 seconds]
orivej_ has joined #nixos
<srhb> oh, hm, that probably needs a bit deeper consideration
zupo has joined #nixos
<srhb> How on earth does that even work. O:-)
<jakobrs> My current hypothesis is that `libvirtd.service` is launched because it's a dependency of `libvirt-guests.service`, which is wantedBy `multi-user.target`
<jakobrs> And libvirtd dies after 2 minutes (because it's launched with --timeout 120)
philr_ has quit [Ping timeout: 272 seconds]
<jakobrs> Although I can't tell why libvirtd.service is re-launched when libvirt-guests.service isn't
pamplemo1sse has joined #nixos
<jakobrs> srhb: Do you have nixos/libvirt set up? Could you tell me what `systemctl status libvirt-guests.service` says under "Loaded"?
<srhb> jakobrs: Loaded: loaded (/nix/store/gdl4h8ivpfx5imzx8pf6hrfklddjrh7g-libvirt-6.3.0/lib/systemd/system/libvirt-guests.service; enabled; vendor preset: enabled)
<jakobrs> thank you
<srhb> Looks like it already has RemainAfterExit. Hmm.
paraseba has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @bendlas pushed to master « webtorrent_desktop: 0.20.0 -> 0.21.0 »: https://git.io/JJOmD
<jakobrs> I think libvirt.service is launched directly by switch-to-configuration since switch-to-configuration sees it is 1. dead and 2. a dependency of multi-user.target (through libvirt-guests)
<srhb> Ah, right, looking at the wrong unit.
<jakobrs> Disabling libvirt-guests.service (using systemd.services.libvirt-guests.enable = false) makes the issue go away, which is how I know that it's related
<{^_^}> [nixpkgs] @bendlas closed pull request #74056 → Webtorrent source build → https://git.io/JePvH
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/99ab9545b29 (from 58 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
alp has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @sternenseemann opened pull request #93016 → ocamlPackages.ounit(2): 2.2.2 → 2.2.3 → https://git.io/JJOmj
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
drakonis has joined #nixos
<jakobrs> I'd be lying if I said that I have any idea how switch-to-configuration works.
<evanjs> What's the easiest way to test on a different file system? Err.... probably not the best way to explain that lol
<evanjs> Trying to do a nixpkgs-review, but with e.g. ext4 (I'm using f2fs)
<evanjs> Testing a package that fixes some portability issues re filesystem types
<jakobrs> You can do:
pamplemo1sse has quit [Ping timeout: 240 seconds]
<jakobrs> fallocate -l10g file.img
<jakobrs> mkfs.ext4 file.img
<jakobrs> and mount file.img
<jakobrs> mount ./file.img ./nix
<jakobrs> and use --store $PWD/nix
<{^_^}> [nixpkgs] @ajs124 closed pull request #88565 → lvm2: systemd fixes and update → https://git.io/Jf2sE
<evanjs> ahhh okay that makes sense. didn't think about setting the store. Was looking for a "run tests directory from ..." option or etc
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jakobrs> You may want to mount over /tmp as well
<evanjs> Yeah, I already am
<jakobrs> So that the derivation will be built in the "new" filesystem and not just stored there
<jakobrs> I mean `mount --bind ./nix/tmp /tmp" or something like that
<evanjs> oh, good point.
zupo has joined #nixos
<evanjs> Come to think of it, if I have tmpOnTmpfs right now, I wonder if disabling that temporarily would also be sufficient
freezeboy has joined #nixos
<srid> gnome3 is fantastic. also happens to be the only DM that recognizes the 5k display resolution.
<jakobrs> I'm not sure if changes made to fileSystems are always activated
<evanjs> right yeah I'd have to reboot
<jakobrs> like tmpOnTmpfs presumably does
<evanjs> at least
<jakobrs> you can just sudo umount /tmp
<jakobrs> you don't need to change your config
<evanjs> Which I wasn't sure would work re previous experience but yeah lemme see
<jakobrs> ... I think I know now why libvirtd.service is started by switch-to-configuration
alexherbo2 has joined #nixos
<jakobrs> It starts multi-user.target (but doesn't tell you), which libvirtd.service is considered a dependency of
alp has joined #nixos
<evanjs> ugh yeah too much using `/tmp` right now lol
<jakobrs> I don't really know how to fix this, since it's just how NixOS starts *new* services
<srhb> jakobrs: I'm starting to wonder whether importing the whole upstream unit is sensible to start with
<jakobrs> what do you mean?
<srhb> I feel like that multi user dependency shouldn't exist at all
pamplemo1sse has joined #nixos
<srhb> jakobrs: It seems wrong that it's both socket activated _and_ wantedBy multi-user.target
<jakobrs> libvirt-guests.service is wantedBy multi-user.target, and depends on libvirtd.service
<{^_^}> [nixpkgs] @Ma27 merged pull request #93009 → mutt: 1.14.5 -> 1.14.6 → https://git.io/JJOL1
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOYM
<jakobrs> It's wantedBy multi-user.target so that guest VMs can be launched on boot
<jakobrs> However, yes, libvirt.service is simultaneously socket-activated and launched directly, which can become a mess
<jakobrs> It seems to me like there may be a race condition if libvirtd.service is launched before libvirtd.socket
maier has joined #nixos
<{^_^}> [nixpkgs] @danieldk merged pull request #93010 → wofi: Package manpages → https://git.io/JJOLD
<{^_^}> [nixpkgs] @danieldk pushed 2 commits to master: https://git.io/JJOY5
<jakobrs> Because sockets can't be activated after the corresponding service, I think
<jakobrs> I'm beginning to think that this might not be worth fixing because it requires changing how switch-to-configuration works
alp has quit [Quit: Leaving]
mr_sm1th has joined #nixos
sangoma has joined #nixos
<jakobrs> One would somehow have to activate multi-user.target without activating libvirtd.service
nikita` has joined #nixos
<jakobrs> Something like a more general IgnoreOnIsolate might be useful
fendor has quit [Remote host closed the connection]
<jakobrs> like "IgnoreFlags=activate" and "systemctl start multi-user.target --ignore-flags activate"
fendor has joined #nixos
<jakobrs> Or maybe something like "systemctl start multi-user.target --ignoring libvirtd.service"
<{^_^}> [nixpkgs] @Patagonicus opened pull request #93017 → linux_hardkernel_4_14: 4.14.165-172 -> 4.14.180-176 → https://git.io/JJOOv
<mr_sm1th> Does anyone know how I can searching for printers with CUPS?
bkv is now known as bqv
<jakobrs> /part/quit
jakobrs has left #nixos ["WeeChat 2.7.1"]
growpotkin has joined #nixos
hoijui has quit [Quit: Leaving]
rski has joined #nixos
<MichaelRaskin> mr_sm1th: https://openprinting.org/printers ?
<mr_sm1th> MichaelRaskin, What I mean is the "Find New Printers" feature in the web interface doesn't work.
<mr_sm1th> It works out of the box on Arch Linux.
<mr_sm1th> So I'm wondering if I'm missing some option.
<{^_^}> [nixpkgs] @evanjs opened pull request #93018 → diskonaut: 0.3.0 -> 0.9.0 → https://git.io/JJOOW
sajith74 has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #92994 → hplip: Remove all python related gcc references → https://git.io/JJOeN
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to master: https://git.io/JJOOl
sajith74 has quit [Remote host closed the connection]
davidv7 has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93019 → copyq: 3.11.1 -> 3.12.0 → https://git.io/JJOOR
<ldlework> Can someone remind me how to create a shell.nix with python with specific packages, like lxml and requests?
<freezeboy> @ldl
<freezeboy> ldlework do you have a default.nix or nothing ?
<cole-h> ldlework: python3.withPackages (p: with p; [ lxml requests ]) IIRC
<freezeboy> yes
<{^_^}> [nixpkgs] @Ma27 merged pull request #93003 → traefik: 2.2.1 -> 2.2.4 → https://git.io/JJOTg
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOOz
civodul has joined #nixos
<drakonis> ah, printing troubles
<drakonis> mr_sm1th: which printer is it?
meh` has joined #nixos
nixbitcoin has joined #nixos
nixbitcoin_ has quit [Ping timeout: 240 seconds]
<mr_sm1th> drakonis, It's an HP printer.
<drakonis> oh
<drakonis> you might have to use an older hplip version
<mr_sm1th> services.printing.enable = true;
<mr_sm1th> services.printing.drivers = [ pkgs.hplip ];
<mr_sm1th> Really?
<mr_sm1th> On Arch I have 1.3.20.3
<mr_sm1th> 3.20.3 I mean
<mr_sm1th> that's an even more recent version than NixOS
simba2 has joined #nixos
sangoma has quit [Quit: WeeChat 2.8]
<mr_sm1th> MichaelRaskin, Oh looks like I need the propietary plugin
phreedom has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @yurkobb opened pull request #93020 → audacity: fix hash for replaced release tarball → https://git.io/JJOOH
jmeredith has quit [Quit: Connection closed for inactivity]
phreedom has joined #nixos
<yurb> I submitted this PR against the `nixos-20.03` branch as it is only relevant there, not in master.
KarlJoad` has left #nixos ["ERC (IRC client for Emacs 26.3)"]
<{^_^}> #21796 (by listx, 3 years ago, open): hplipWithPlugin: hp-setup and hp-plugin broken
<mr_sm1th> Time to get a different printer
<mr_sm1th> Actually I only have hplip on Arch
<mr_sm1th> so it should work
<freezeboy> mr_sm1th I try to compile this package to see what is broken, in 3 years maybe it has been fixed unintentionally
<freezeboy> yurb I think you should prefix your PR message with [20.03] to make it easy to understand
<yurb> freezeboy: good idea, done
<freezeboy> mr_sm1th it compiles like a charm on my computer, but I don't have any hp printer, maybe it is worth a try on your side
<freezeboy> ok I have seen the new error, some runtime dependencies that are not correct
<pbogdan> yurb: you should also target the `release-20.03` branch rather than the `nixos-` one
fendor has quit [Read error: Connection reset by peer]
fendor has joined #nixos
<{^_^}> [nixpkgs] @ikervagyok opened pull request #93021 → vimPlugins.idris2-vim: init at 2020-05-25 → https://git.io/JJO36
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
mallox has quit [Quit: WeeChat 2.8]
gustavderdrache has joined #nixos
meh` has quit [Ping timeout: 272 seconds]
noudle has joined #nixos
<LambdaDuck> Is it possible to use the nixos command-not-found utility with non-nixos installations as well?
proofofkeags has joined #nixos
<cole-h> yurb: It should be against release-20.03, not nixos-20.03
<cole-h> Oh, pbogdan already said that lol
<cole-h> :D
<pbogdan> :)
maier has quit [Ping timeout: 256 seconds]
Rusty1 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<infinisil> LambdaDuck: The NixOS module unfortunately doesn't expose the package itself
<infinisil> I think this would be good to change, such that it's usable on non-NixOS as well
<{^_^}> [nixpkgs] @prusnak opened pull request #93022 → i2p: 0.9.42 -> 0.9.46 → https://git.io/JJOGT
<infinisil> But as an alternative, you can use nix-index's command-not-found: https://github.com/bennofs/nix-index/blob/master/command-not-found.sh
<infinisil> Which works with a nix-index cache instead (which is not how NixOS' command-not-found works)
<LambdaDuck> infinisil: Ah, nice! Thanks!
<{^_^}> [nixpkgs] @Ma27 merged pull request #92987 → logrotate: 3.16.0 -> 3.17.0 → https://git.io/JJYxo
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOGX
<yurb> cole-h, pbogdan thanks, done
pamplemo1sse has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #92815 → redo-c: Init at 0.2 → https://git.io/JJma5
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JJOGh
mounty1 has quit [Ping timeout: 260 seconds]
Melkor333 has quit [Quit: WeeChat 2.8]
nikita` has quit [Quit: leaving]
<{^_^}> [nixpkgs] @johnpyp opened pull request #93023 → clickhouse-cli: init at 0.3.6 → https://git.io/JJOZm
karetsu has joined #nixos
knupfer has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #93024 → lvm: cleanups → https://git.io/JJOZ8
<karetsu> I'm having some issues installing kde, adding `services.plasma5.enable = true;` causes nixos-rebuild to have a hissy fit because plasma5.nix and seahorse.nix have conflicting values for programs.ssh.askPassword but I don't have seahorse anywhere in my list
<freezeboy> you can force the value with mkForce
kim0 has joined #nixos
<karetsu> nvm, seems we just aren't allowed to have both of services.gnome.enable and services.kde.enable
<karetsu> that distinction is still solid XD
<karetsu> gotta be either/or
karetsu has quit [Client Quit]
asymptotically has quit [Quit: Leaving]
freezeboy has quit [Remote host closed the connection]
zangi has quit [Quit: WeeChat 2.3]
pamplemo1sse has joined #nixos
<hyperfekt> is there any documentation on how ryantm's bot updates a package? apparently it has trouble with git repos??
<{^_^}> [nixpkgs] @cpages pushed to master « minecraft: 2.1.15166 -> 2.1.15852 »: https://git.io/JJOnt
<{^_^}> [nixpkgs] @Ma27 merged pull request #93015 → lazygit: 0.20.5 -> 0.20.6 → https://git.io/JJOmn
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOnO
<cole-h> hyperfekt: Maybe the repo has some info: https://github.com/ryantm/nixpkgs-update/
<hyperfekt> cole-h: i looked there :/
<hyperfekt> but short of reading the source i couldn't find anything
<cole-h> 99% sure all the bot does is use https://github.com/ryantm/nixpkgs-update/#update-list-tutorial
<cole-h> cc ryantm
l_inus[m] has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @rnhmjoj opened pull request #93025 → mutt: 1.13.3 -> 1.14.6 → https://git.io/JJOn8
mounty1 has joined #nixos
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
KarlJoad has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #93018 → diskonaut: 0.3.0 -> 0.9.0 → https://git.io/JJOOW
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JJOn6
<KarlJoad> ,locate pygmentize
<{^_^}> Found in packages: mediawiki, python27Packages.pygments, python37Packages.pygments, python38Packages.pygments
slack1256 has joined #nixos
KarlJoad has left #nixos [#nixos]
pamplemo1sse has quit [Ping timeout: 272 seconds]
pistache has quit [Ping timeout: 246 seconds]
<colemickens> What should I troubleshoot if suddenly it seems like `nix build` isn't even trying the --builders I'm passing it?
<colemickens> This was just working and now it insists it needs more build cores (which is how it acts when it can't do the build remotely as I'm trying to forcE).
<ma27[m]> anything interesting when increasing the verbosity level (e.g. `-vvv`)?
robodojo has left #nixos ["Textual IRC Client: www.textualapp.com"]
<colemickens> not really, it evaluates derivation.nix, tries to eval flake.nix and immediately errors out.
<colemickens> (I'm used to seeing the warning about unable to ssh to host if the remote builder is offline, new ssh host key, etc)
<ma27[m]> hmm, is this flake-specific?
<colemickens> Oh, -vvvvv got more data, give me a second.
<colemickens> I don't think it should be, based on my loose guess of how nix works and how flakes might've been added on...
<colemickens> `considering building on remote machine 'ssh://root@nixos'
<colemickens> hook reply is 'decline'`
<ma27[m]> yeah, was just a wild guess I stated before you mentioned that `-vvvvv` provides more context :)
alexherbo2 has quit [Ping timeout: 272 seconds]
<colemickens> ma27: it still very well could be.
<ma27[m]> colemickens: does your host have many running builds atm (you probably want to recheck with `systemctl status nix-daemon`)? Asking because of the `decline`-reply.
<colemickens> ma27: the builder host does not, I even rebooted it
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/e072276cf2d (from 37 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<colemickens> I'm going to downgrade the builders nix.package back to stable and see how it handles it
<colemickens> still nada! weird!
<ma27[m]> just to be sure, every build is affected (so there's no chance that a build which requires special features causes that behavior)
<colemickens> Yeah, if I change it from azureImage to toplevel, it builds :|
<colemickens> I think you're right.
<ma27[m]> colemickens: is `big-parallel` set for the builder (just found https://github.com/NixOS/nix/issues/1572#issuecomment-621732990, that's why I'm asking)
<ma27[m]> any other feature may be causing the trouble as well though
<colemickens> That looks relevant. Idk about 'big-parallel' but I know azureImage makes the image via VM and I think that requires 'kvm' feature similarly.
<ma27[m]> that sounds even more likely in your case IMHO
<colemickens> Yeah, and it's my gaming PC's hyperv builder so probably not going to bother. I'll suffer the local build.
<colemickens> Thanks a ton, this saved a lot of self hair pulling
<colemickens> ma27++
<{^_^}> ma27's karma got increased to 1
<ma27[m]> iirc my handle should be ma27[m] in irc btw :p
<pbb> I just packaged a big python application (pretix, a web app for selling stuff, mostly tickets for events). But it has many python dependencies with strict version requirements. What is the usual way to handle this? Package this version in addition to the most recent version? Patch out the version requirements and hope nothing breaks?
<colemickens> hmm ma27[m]++ I tried.
<{^_^}> ma27[m]'s karma got increased to 18
__monty__ has quit [Quit: leaving]
<ma27[m]> colemickens: may I ask what's wrong with setting `supportedFeatures = [ "big-parallel" "kvm" ];` for the builder in question?
<colemickens> ma27: it's more of "I don't want to RDP to the machine and figure out how to enable nested virt in hyperv"
pamplemo1sse has joined #nixos
<colemickens> It seems like it might just be a single Powershell command, maybe between games of Overwatch later.
<{^_^}> [nixpkgs] @worldofpeace merged pull request #93020 → [20.03] audacity: fix hash for replaced release tarball → https://git.io/JJOOH
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/JJOcQ
<ma27[m]> pbb: if there are too many specific version constraints, you probably want to package the required versions of the python deps as well (as an example, you may want to take a look at `pkgs.paperless`). If it's too uch effort in the end, you may want to consider publishing an overlay/a flake somewhere.
cosimone has quit [Remote host closed the connection]
<pbb> I see
<pbb> I think it would be a huge win to have it upstream, so I'll try at least
cosimone has joined #nixos
<pbb> It has 67 python dependencies and more than half of them are locked to a specific minor version
zgrep has quit [Quit: It's a quitter's world.]
zgrep has joined #nixos
nixy37179 has quit [Quit: The Lounge - https://thelounge.chat]
nixy has quit [Quit: ZNC 1.7.5 - https://znc.in]
fendor has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #93026 → ctypes_sh: 1.1 -> 1.2 → https://git.io/JJOCe
nixy37179 has joined #nixos
<ldlework> Maybe I am not thinking clearly (or maybe bash is simply terrible) but I have the following script to inject the nvidia-offload environment variables to GPU-enable applications: https://gist.github.com/dustinlacewell/2b4b4e9754384a1f1a29550474989410
<ldlework> but when I do something like
<ldlework> nvidia-offload google-chrome-stable
<ldlework> GPU does not work
<ldlework> if I instead *source* this script, then just run google-chrome-stable, then it works
<ldlework> what did I do wrong?
Yaniel has quit [Ping timeout: 260 seconds]
simba2 has quit [Ping timeout: 272 seconds]
nixy has joined #nixos
simba2 has joined #nixos
Yaniel has joined #nixos
pamplemo1sse has quit [Ping timeout: 265 seconds]
Rusty1 has joined #nixos
orivej_ has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #93028 → agave: 15 -> 16 → https://git.io/JJOCK
<ldlework> pwease
dermetfan has quit [Ping timeout: 256 seconds]
werner291 has quit [Ping timeout: 240 seconds]
luelista has quit [Quit: WeeChat 1.9]
<colemickens> ldlework: not that I have a good suggestion, but I assume you source just the export lines when you say "source this script" ?
moet has joined #nixos
luelista has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @Atemu opened pull request #93029 → gammy: init at 0.9.58 → https://git.io/JJOWI
<colemickens> ,irc
<colemickens> ,channels
<{^_^}> Largest Nix channels: #nixos, #nixos-dev, #nixos-chat, #nixos-aarch64, #nixos-security, #nixcon, #nixos-officehours, #nixops, #haskell.nix, #nix-darwin, #nixos-de, #nixos-emacs, #nixos-on-your-router, #nixos-nur, #nix-lang, #nixos-fr, #nixos-systemd, #nixos-borg, #nixos-wiki
* colemickens no hydra
<ixxie> I gues #nixos-dev would be the place for hydra questions
<ldlework> colemickens: I source the whole script and ignore the "exec" error at the end
<ldlework> then i just run google-chrome
<ldlework> but yes, sourcing this script works
<ldlework> but running it as `nvidia-offload google-chrome-stable` does not
<ldlework> idgi
<colemickens> Yeah I don't either :|
MidHotaru has joined #nixos
<jlv> Do we not have a `sleep.target`, like Arch? I'm trying to follow https://wiki.archlinux.org/index.php/Power_management#Sleep_hooks , but the service isn't triggering.
<cole-h> `systemctl status sleep.target` shows a sleep target for me.
ddellacosta has joined #nixos
noudle has quit []
mr_sm1th has quit [Remote host closed the connection]
<jlv> Oh, looks like I was running `systemctl status --user`. Hmm, maybe it's not running because it's a user service.
otulp has quit [Ping timeout: 272 seconds]
rardiol has quit [Ping timeout: 264 seconds]
otulp has joined #nixos
rardiol has joined #nixos
pamplemo1sse has joined #nixos
pjt_014 has joined #nixos
slack1256 has quit [Ping timeout: 256 seconds]
philr_ has joined #nixos
growpotkin has quit [Quit: ZNC 1.8.1 - https://znc.in]
growpotkin has joined #nixos
dingenskirchen has quit [Remote host closed the connection]
mbrgm_ has joined #nixos
dingenskirchen has joined #nixos
cr4y1 has quit [Ping timeout: 240 seconds]
karetsu has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @psanford opened pull request #93030 → wormhole-william: init at v1.0.4 → https://git.io/JJOlD