gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> [nixpkgs] @grahamc opened pull request #66543 β†’ dockerTools: document extraCommands, increase layers β†’ https://git.io/fj5l0
<worldofpeace> nh2: yeah I'm seeing libimobiledevices's .pc file has `Requries: libplist` so it should be propagated. though unfortunely we're propagating things in `Requires.private` also.
<nh2> worldofpeace: Regarding versions: I believe I did that. My PR has `idevicerestore-2019-02-14`, `libimobiledevice-2019-04-04`, `libirecovery-2019-01-28`, which at the time I made the PR, were the 3 latest respective versions.
lyvi has quit [Quit: Leaving...]
<spacekookie> I have a Makefile here that's complaining at not being able to find "/usr/include/stdio.h". What package should I get this from? It seems to be shipped with a bunch
<nh2> worldofpeace: (In the PR I actually wrote `libirecovery-2018-01-28`, 2018 instead of 2019, that is a typo I will fix now)
gyroninja_ has quit [Read error: Connection reset by peer]
gyroninja__ has joined #nixos
<worldofpeace> nh2: sounds correct. I'm noticing that `libirecovery` propagates `libusb` and `readline` but they're `Requires.private`
<worldofpeace> wait readline isn't in the .pc
growpotkin has joined #nixos
<nh2> worldofpeace: that means these two should just be `buildInputs`, right?
drakonis1 has joined #nixos
<worldofpeace> nh2: yes, I just tested locally and it went fine πŸ‘οΈ
<nh2> worldofpeace: me too
Neo---- has quit [Read error: Connection reset by peer]
sudoforge has quit [Ping timeout: 264 seconds]
<nh2> worldofpeace: pushed, shall we merge?
Neo---- has joined #nixos
<vaibhavsagar> silly question about `buildLayeredImage`, is the number of layers still limited to 24? I saw someone using 96 as a value, would that work too?
<worldofpeace> nh2: Triggered the build just to be sure. Once the checks pass I'm pretty sure we're good to merge.
<nh2> worldofpeace: thanks!
<gchristensen> vaibhavsagar: it was never limited to 24, it was defaulted to 24. the maximum used to be 42, but has been 125 for some time. see also: https://github.com/NixOS/nixpkgs/pull/66543/files#diff-c27964d50b31f0df3a6253b238b6aeafR315
bnyjtredfghui has joined #nixos
bnyjtredfghui has quit [Remote host closed the connection]
jgt has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #59427 β†’ Add libirecovery and idevicerestore β†’ https://git.io/fjm0T
<{^_^}> [nixpkgs] @worldofpeace pushed 4 commits to master: https://git.io/fj5lr
<nh2> gchristensen: https://monitoring.nix.ci seems to have lost its dashboards
kreisys has joined #nixos
<gchristensen> hrm
<worldofpeace> nh2: I guess only 4 of 7 checks :P
<gchristensen> nh2: probably a upgrade to the node exporter ... thanks
<gchristensen> todo listed
<nh2> worldofpeace: darwin doesn't support iDevices, makes total sense :P
jtojnar has quit [Read error: Connection reset by peer]
dsiypl4 has quit [Ping timeout: 248 seconds]
jtojnar has joined #nixos
acarrico has quit [Quit: Leaving.]
<worldofpeace> nh2: at least not when it's cross platform :D
<drakonis1> alas, i have found a problem
<drakonis1> lxd is broken
<drakonis1> it appears that it is missing some apparmor configs
<drakonis1> rather. apparmor is broken
<nh2> can anybody confirm for me that it's as intended that `.override (old: {})` for a normal package has only packages in `old`, and boolean options like `enableX ? false` should be missing when they are defaulted with `?`?
<nh2> I observed that, and was surprised by it
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/984851a9bfa (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
<nh2> I had intuitively thought it should contain all parameters, also the defaulted ones
<{^_^}> [nixpkgs] @peti pushed to haskell-updates Β« hackage-packages.nix: automatic Haskell package set update Β»: https://git.io/fj5lX
freeman42x has joined #nixos
szicari has quit [Quit: ZNC - http://znc.in]
drakonis1 has quit [Quit: WeeChat 2.5]
<kreisys> hello, I was wondering, is it actually impossible to filter fetched sources? i.e., if I want to filter out README.md to avoid unnecessary recompilation when source code hasn't actually changed.
szicari has joined #nixos
drakonis1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66533 β†’ musescore: use qt5's mkDerivation β†’ https://git.io/fj5sj
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5l9
<simpson> kreisys: It's possible and there are helpers like `builtins.filterSource`.
<kreisys> builtins.filterSource and its siblings lib.cleanSource/With don't work on store paths.
<kreisys> (a store path is what you end up with when you fetchgit/builtins.fetchGit)
___laika has quit [Ping timeout: 245 seconds]
<simpson> Interesting. I don't know whether there are helpers for it, but it's possible to build a new store path from an old store path, using a custom builder.
<gchristensen> it won't be content addressed so it won't resolve the problem of reducing builds
<kreisys> ☝️ what he said
<simpson> Devil's advocate: You could make it fixed-output~
<kreisys> I think I solved it once by nuking the context with some undocumented premop
<kreisys> but I don't think hydra's gonna like it.
<nh2> sounds like it needs https://github.com/NixOS/nix/issues/296 for a proper solution
<{^_^}> nix#296 (by Mathnerd314, 5 years ago, open): Intensional store model
<gchristensen> kreisys: you could make a custom fixed output fetcher which lets you run commands after fetching
<simpson> nh2: I'd imagine that filterSource would be a fine solution, were it to work on fetchgit.
___laika has joined #nixos
<kreisys> then I'd have to filter using scriptology correct?
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #66439 β†’ subversion: 1.9.10 -> 1.9.12, 1.10.4 -> 1.10.6 β†’ https://git.io/fj7Kz
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj5lF
<simpson> Ha, yeah, filterSource is not very ergonomic.
<kreisys> It's an interesting idea nonetheless
<kreisys> HOWEVER, in order to get this to work with hydra I'm gonna have to write perl πŸ˜’
<gchristensen> eh?
<gchristensen> you're fetching a git repo?
<kreisys> Hydra uses its own git fetcher no?
<kreisys> GitInput.pm
<gchristensen> are you using pkgs.fetchgit?
<kreisys> default.nix uses gitignoreSource ./. if the repo is dirty, builtins.fetchGit ./. otherwise. release.nix uses the src passed to it by hydra
<gchristensen> ah
<alienpirate5> I am trying to overlay an updated version of libinput. Here is what I have so far: https://hb.wrmsr.io/qebeyimunu.nix (It doesn't work)
<gchristensen> what kinds of builds are you doing, kreisys?
<kreisys> scala/sbtix
<gchristensen> ah
<kreisys> it's excruciatingly slow and I'm desperately trying to tighten my feedback loop
<kreisys> (since I don't touch the scala only the nix expressions)
<gchristensen> ouch
jgt has quit [Ping timeout: 252 seconds]
<teozkr> yeah.. sbtix isn't in a great state atm
<gchristensen> you always show up at the best times
<nh2> alienpirate5: looks reasonable so far, what about "doesn't work" doesn't work?
<kreisys> yeah I don't think it's maintained. I managed to beat it into submission though
<alienpirate5> nh2: I'll post error logs, one sec
<gchristensen> kreisys: you and teozkr could collaborate on improving it
<teozkr> gchristensen: the wonders of custom mentions and hopeless insomnia.. :p
<gchristensen> teozkr: :D
<teozkr> tbh, at this point I'm not so sure sbtix is viable as a standalone plugin
<kreisys> vyvanse and emacs in my case.
<kreisys> well it's definitely more viable than the cringe-inducing impure build I'm trying to replace.
<teozkr> "sbtix 1" was a wild goose chase of hunting down resolution mismatches
sigmundv_ has quit [Ping timeout: 245 seconds]
<kreisys> unfortunately it doesn't look like there's an alternative
<teozkr> "sbtix 2" (sbt-lockfile) misses everything that is not resolved by coursier and is heavily coupled to the semi-legacy sbt-coursier plugin
<{^_^}> [nixpkgs] @jbboehr closed pull request #61487 β†’ nodePackages: tslint: init at 5.16.0 β†’ https://git.io/fjWNJ
<teozkr> kreisys: yeah, I'm aware :/
<kreisys> wait there's an sbtix 1 and 2?
<kreisys> or you're talking about sbtix+sbt 0.13 and sbtix+sbt 1.x?
<teozkr> basically, "sbtix 2" was a project to split out the locking aspects from the nix support
<teozkr> kind of modelled on the npm -> yarn + yarn2nix migration
<teozkr> at this point I'm not sure sbt will ever have deep enough hooks to properly support locking from a plugin though
<teozkr> kreisys: https://github.com/sbt/sbt/wiki/User-Stories:--Offline-mode-and-Dependency-Locking indicates (to me) that there is some willingness to merge locking upstream, but also that nobody really cares enough to do anything about it
<nh2> alienpirate5: first off, looks like `import <nixpkgs/lib> {}` is illegal, you probably mean `(import <nixpxkgs> {}).lib`
<kreisys> it's... bizarre that a functional programming language wouldn't be all over reproducibility
<simpson> kreisys: Why? "functional" isn't a high bar to clear, and doesn't imply reproducibility.
<kreisys> simpson: I'm just assuming "functional" comes with a certain mindset *shrug*
<kreisys> but scala is actually multi-paradigm
<nh2> alienpirate5: the second bug is what you give after `++` isn't a list, it's a single derivation. You need to wrap it in a list as you did on the line before
m0rphism has quit [Ping timeout: 248 seconds]
Guanin has quit [Remote host closed the connection]
<kreisys> is yarn2nix the goto now for nodejs packages?
<simpson> kreisys: Sure; it's the mindset common to Haskell, Scala, Python, Scheme, and surprisingly ANS FORTH, but *not* C.
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<vika_nezrimaya> questions about packaging programs: here or in #nixos-dev?
<teozkr> kreisys: ime it's usually both faster and more reliable than node2nix
<nh2> kreisys: finally, there doesn't seem to be a python `libevdev` package that you refer to
<nh2> sorry, wrong person
drakonis_ has joined #nixos
<nh2> alienpirate5: finally, there doesn't seem to be a python `libevdev` package that you refer to
<teozkr> (since it reuses most metadata from yarn rather than generating it itself)
<simpson> vika_nezrimaya: Here, almost always.
<vika_nezrimaya> ok then
<vika_nezrimaya> trying to package a Redis module. Where to place it in the $out?
<vika_nezrimaya> ReJSON if someone's interested
<simpson> #nixos-dev is for NixOS development itself; you probably don't want to take packaging questions there.
<vika_nezrimaya> A distribution is not much without packages though, that was my logic :3
<nh2> simpson: what is "NixOS development itself"? modules, or something else?
<vika_nezrimaya> Well, modules are what makes NixOS NixOS, so I suppose so
<simpson> nh2: Operational stuff, largely. Planning for lots of rebuilds. Feel free to idle in there; I know I do.
drakonis has quit [Ping timeout: 250 seconds]
<simpson> vika_nezrimaya: Redis docs https://redis.io/topics/modules-intro suggest that the path on the filesystem doesn't really matter. $out/lib/ is probably fine if there's not a better traditional location.
<nh2> vika_nezrimaya: I know nothing about Redis modules but from https://redis.io/topics/modules-intro it looks like they are just .so ... what simpson said
stepcut has joined #nixos
<nh2> vika_nezrimaya: I'd look where other distros install them. For example Arch in lib/redis/rejson.so: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=redis-rejson
<vika_nezrimaya> Then I'll just place them in $out/lib/redis since they aren't much of a general purpose library
<nh2> yes
<vika_nezrimaya> And boom! it works :3
<nh2> well that was quick
dl4mfo has joined #nixos
<vika_nezrimaya> ReJSON is very simple to package, containing only a single makefile. Thanks to default builder that always tries to do the right thing, I only had to write a custom install phase since the Makefile doesn't provide one.
<vika_nezrimaya> #NixIsAwesome
dl4mfo_ has quit [Ping timeout: 245 seconds]
stepcut has quit [Remote host closed the connection]
jgt has joined #nixos
drakonis1 has quit [Ping timeout: 250 seconds]
drakonis has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8746c77a383 (from 56 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
growpotk- has joined #nixos
ottidmes has quit [Ping timeout: 272 seconds]
jgt has quit [Ping timeout: 250 seconds]
<nh2> samueldr joepie91 clever: Remember my multi-week effort with the Chromebook, plopkexec and kernel regressions? The kernel EFI maintainer has just posted a patch that makes the latest kernel boot again: https://bugzilla.kernel.org/show_bug.cgi?id=203463#c8
<samueldr> πŸŽ‰
liberiga has joined #nixos
<nh2> gchristensen: what to do when a builder says `building of '/...-gcc-7.4.0.drv' timed out after 3600 seconds`?
<nh2> Can I help it somehow? Is for https://github.com/NixOS/nixpkgs/pull/61471
<{^_^}> #61471 (by nh2, 13 weeks ago, open): Issue 61250 coreutils disable test on musl
<samueldr> literally "it took too long to built the whole thing"
<samueldr> ofborg has a total timeout, not a per-derivation timeout like hydra
<nh2> samueldr: ah, so I can just restart cause it'll have more cached next time?
<samueldr> mayybe
<samueldr> depends on whether gcc was about or more than one hour
<samueldr> (where it was at when it failed)
<nh2> samueldr: it built a lot of stuff before
<samueldr> right
<samueldr> pkgs$NotUsual will often not be cached at all, so I'm not suprised for pkgsMus
<samueldr> pkgsMusl*
bbarker_home has joined #nixos
<bbarker_home> Is there a way to have a temporary environment create with nix-shell based on the output of a nix-build command? As compared to `nix-build -A libfoo && nix-env -f . -iA libfoo`, which installs the package into one's profile?
<vaibhavsagar> bbarker_home: you can do `nix-shell -E 'with import <nixpkgs> {}; pkgs.mkShell { buildInputs = [ (pkgs.callPackage libfoo/default.nix {}) ]; }'
ddellacosta has quit [Quit: WeeChat 2.2]
<vaibhavsagar> or alternatively `nix-shell -E 'with import <nixpkgs> {}; pkgs.mkShell { buildInputs = [ (pkgs.callPackage ./. {}).libfoo ]; }'`
<bbarker_home> thanks vaibhavsagar, but with both of those I get: error: attempt to call something which is not a function but a set, at /nix/store/qyr7h072vjyr1yw8bnliihx85fpvbisx-nixpkgs-18.09.2327.37694c8cc0e/nixpkgs/lib/customisation.nix:69:12
mix has quit [Read error: Connection reset by peer]
<bbarker_home> hmm, maybe it is an issue with the package
lambda-11235 is now known as de1ebcca-bd71-11
<vaibhavsagar> bbarker_home: adjust to taste, I think something might be up with my `callPackage`
<vaibhavsagar> e.g. `nix-shell -E 'with import <nixpkgs> {}; pkgs.mkShell { buildInputs = [ pkgs.python3 ]; }'` works for me
ddellacosta has joined #nixos
jgt has joined #nixos
mix has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/878531fbdbb (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
qubasa_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
qubasa has joined #nixos
layus has quit [Quit: ZNC 1.7.3 - https://znc.in]
layus has joined #nixos
alex`` has quit [Ping timeout: 268 seconds]
mumuluxi has quit [Quit: ZNC 1.7.3 - https://znc.in]
wucke13 has quit [Quit: ZNC 1.7.3 - https://znc.in]
aszlig has quit [Quit: Kerneling down for reboot NOW.]
jgt has quit [Ping timeout: 250 seconds]
andi- has quit [Remote host closed the connection]
wucke13 has joined #nixos
mumuluxi has joined #nixos
aszlig has joined #nixos
<kaliumxyz> how do I grant a systemd service access to a package?
<{^_^}> kaliumxyz: Please expand your question to include more information, this will help us help you :)
<kaliumxyz> when defining a systemd service, how do I set what is in its path?
<nh2> kaliumxyz: https://nixos.org/nixos/options.html#systemd.services.%3Cname%3E.path
<kaliumxyz> ah, the unspecified type was throwing me off on that one
<kaliumxyz> Thanks.
<nh2> kaliumxyz: but most of the time, it's better to just give absolute file paths directly, such as `ExecStart = ''${pkgs.nginx}/bin/nginx -c ${derivationThatsYourConfigFile}''`
andi- has joined #nixos
<kaliumxyz> I'm running a script and felt like there was a better solution then giving dependencies as arguements.
<kaliumxyz> *the systemd service is running a script
<kaliumxyz> Thanks for the help c:
drakonis has quit [Quit: WeeChat 2.5]
mix has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
monotux has quit [Quit: WeeChat 2.4]
monotux has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
___laika has quit [Quit: WeeChat 2.4]
___laika has joined #nixos
domogled has joined #nixos
<{^_^}> [nixpkgs] @delroth opened pull request #66548 β†’ efivar: patch build system for reproducibility β†’ https://git.io/fj54Y
jgt has joined #nixos
drakonis has quit [Read error: Connection reset by peer]
de1ebcca-bd71-11 is now known as lambda
ddellacosta has quit [Ping timeout: 246 seconds]
mexisme has quit [Ping timeout: 272 seconds]
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
nexgen has joined #nixos
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
Rusty1 has joined #nixos
<nh2> kaliumxyz: it may be better if the script itself be wrapped to have PATH set accordingly (e.g. using `makeWrapper`, https://nixos.org/nixpkgs/manual/#ssec-stdenv-functions), so that it also works when not run via systemd
Eridius has joined #nixos
Neo---- has quit [Remote host closed the connection]
Eridius is now known as EsperLily
Neo---- has joined #nixos
<alienpirate5> nh2: thanks for the help, I tried implementing the changes and got this error: https://hb.wrmsr.io/novopofobo.txt
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<{^_^}> [nixpkgs] @Shados opened pull request #66550 β†’ quassel: use wrapQtAppsHook for the client β†’ https://git.io/fj5Be
<{^_^}> [nixpkgs] @Shados opened pull request #66551 β†’ qtstyleplugin-kvantum: use wrapQtAppsHook β†’ https://git.io/fj5Bv
jgt has joined #nixos
Neo--- has joined #nixos
vika_nezrimaya has quit [Ping timeout: 248 seconds]
Neo---- has quit [Ping timeout: 252 seconds]
jgt has quit [Ping timeout: 250 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
mexisme has joined #nixos
byzoni[m] is now known as cyberwolf[m]
vmandela has joined #nixos
<teto> gchristensen: I would like to reproduce this failure locally https://github.com/NixOS/nixpkgs/pull/59342 . I tried to mimic ofborg via https://github.com/teto/home/blob/master/bin/ofborg-eval-nixos to no avail
<{^_^}> #59342 (by teto, 17 weeks ago, open): nixos/mptcp: multipath TCP module
Neo---- has joined #nixos
Neo--- has quit [Remote host closed the connection]
mexisme has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @delroth opened pull request #66552 β†’ autogen: fix build reproducibility issues β†’ https://git.io/fj5Bq
sudoforge has joined #nixos
Neo--- has joined #nixos
Neo---- has quit [Ping timeout: 252 seconds]
Neo--- has quit [Ping timeout: 252 seconds]
madhukar93 has joined #nixos
Neo--- has joined #nixos
jgt has joined #nixos
aiverson has quit [Ping timeout: 245 seconds]
rauno has quit [Ping timeout: 250 seconds]
Ariakenom has joined #nixos
Neo--- has quit [Remote host closed the connection]
rauno has joined #nixos
Neo--- has joined #nixos
endformationage has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
rauno has quit [Ping timeout: 250 seconds]
fusion809 has quit [Remote host closed the connection]
dasj19 has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
cybrian has quit [Quit: cya]
palo1 has joined #nixos
cybrian has joined #nixos
palo has quit [Ping timeout: 248 seconds]
palo1 is now known as palo
Neo--- has quit [Read error: Connection reset by peer]
Neo--- has joined #nixos
elibrokeit is now known as anyone
Ariakenom has quit [Quit: Leaving]
anyone is now known as Guest63806
Guest63806 is now known as guys
Neo--- has quit [Read error: Connection reset by peer]
Neo--- has joined #nixos
abbiya has joined #nixos
hyper_ch2 has joined #nixos
jgt has joined #nixos
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
Ariakenom has joined #nixos
M-Gregoire49 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @nrdxp opened pull request #66553 β†’ vimPlugins.delimitMate: init at 2017-06-18 β†’ https://git.io/fj5Rk
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
M-Gregoire49 has joined #nixos
___laika has quit [Ping timeout: 248 seconds]
<jonge[m]> hi there. can i print the nix dependency tree of my current config? i would like to find out why nixos-rebuild leads to downloading X and gcc, although this is not what i selected.
Neo---- has joined #nixos
jgt has joined #nixos
jgt has left #nixos [#nixos]
Mister_Magister has quit [Max SendQ exceeded]
Neo--- has quit [Ping timeout: 252 seconds]
Mister_Magister has joined #nixos
rauno has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #62936 β†’ nixos/memcached: Isolate the service β†’ https://git.io/fjgI7
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj5R0
<jonge[m]> ok i did a `nix-store -q --tree` on the nixos config drv from `nix-instantiate <nixpkgs/nixos>`. now i see that bash-4.4 depends on X11 and gcc... is there a way to remove that or use dash or busybox or something? i did not find that quickly in the nixos module config search
<tilpner> jonge[m]: If you do nix-build --no-out-link "<nixpkgs>" -A bash, does it already have bash locally, download it from a cache, or build it?
<tilpner> jonge[m]: Only the last should require local presence of gcc, the other two cases should only require glibc
c_wraith has quit [Ping timeout: 264 seconds]
Zer0xp has joined #nixos
<tilpner> jonge[m]: Possible causes: you're on a weird nixpkgs revision with no caches (yet, or ever), your binary caches are un-/misconfigured
<tilpner> jonge[m]: You can use "nix why-depends" (on the built system generation, after building your config), to tell if gcc is actually in your runtime closure, and why
<jonge[m]> tilpner: i have bash installed already of course. my context is that i am trying to upgrade nixos on my raspberry pi with a 4GB card. the nixos config is reduced very much and it still starts to download a lot if X11 related packages... i don't think it should compile
<jonge[m]> i don't think it should compile anything from source when i look at this mini config
<tilpner> Which Pi?
<jonge[m]> using the normal nixos 19.03 channel
<tilpner> Non-x86_64 cache coverage may be much smaller, and may not even block the channel for all I know
c_wraith has joined #nixos
<jonge[m]> i think it's an rpi 3
<DigitalKiwi> 4GB is probably not going to cut it
<tilpner> jonge[m]: About X11: You can remove X11 from some parts of your config with environment.noXlibs, but that overlays a custom dbus, which will cause everything that depends on dbus to be rebuilt
<tilpner> If you usually have cache coverage, it's probably not worth disabling that
ee1943 has quit [Ping timeout: 272 seconds]
<tilpner> It doesn't cost anything extra if you already have to build everything yourself though
Jackneill has joined #nixos
___laika has joined #nixos
<jonge[m]> tilpner: ok, i did not do that so far.
<tilpner> It might help you cut off the X11 dependency tree (or it might not, if you pull it in another way), but it's likely to increase the amount of things you have to build locally
Neo--- has joined #nixos
<jonge[m]> tilpner: i would have thought that i can avoid building anything myself on a small raspberry that should just serve a little python script
Neo---- has quit [Ping timeout: 252 seconds]
hyper_ch2 has quit [Remote host closed the connection]
<jonge[m]> wow for some reason it is still going to download stuff like xscreensaver...
<jonge[m]> i guess i will download a fresh nixos image, iron it over the memory card and see if that still happens...
<tilpner> That is unlikely to help
<tilpner> Maybe #nixos-aarch64 can tell you how aarch64 cache coverage is, compared to x86_64
<jonge[m]> tilpner: so currently i am in that situation: the image that this system is running is highly customized. it only contains my ssh pubkey so i can login, SSH, nginx with a little python script atttached to it and not much more. this works and fits very very well on such a small memcard. but then if i try to update the system by itself, it blows up.
dansho has quit [Ping timeout: 245 seconds]
hyper_ch2 has joined #nixos
lsix has joined #nixos
<tilpner> "Blows up", are you referring to the total space usage, or a sudden inclusion of xlibs which were not needed before (did you verify this?)
<{^_^}> [hydra] @knedlsepp opened pull request #669 β†’ Add GerritChanges input plugin β†’ https://git.io/fj5RP
<tilpner> When you update a NixOS system, it will build the new system generation while still holding on to the currently running one
<{^_^}> [nixpkgs] @FRidh merged pull request #66376 β†’ pythonPackages.pytest_3: drop β†’ https://git.io/fj7GZ
<{^_^}> [nixpkgs] @FRidh pushed 9 commits to master: https://git.io/fj5RX
<tilpner> It does not update your system incrementally in-place, and this means it needs the disk space to hold two entire system generations
<{^_^}> [nixpkgs] @FRidh merged pull request #66359 β†’ [staging]pythonPackages.sqlalchemy: 1.2.14 -> 1.3.6 β†’ https://git.io/fj7mL
<{^_^}> [nixpkgs] @FRidh pushed commit from @jonringer to staging Β« pythonPackages.sqlalchemy: 1.2.14 -> 1.3.6 Β»: https://git.io/fj5RM
<tilpner> After you activated the new generation, you can garbage-collect the old system, but that doesn't help you if you're constrained to 4GB
cfricke has joined #nixos
Neo--- has quit [Remote host closed the connection]
Neo---- has joined #nixos
kraem has quit [Ping timeout: 245 seconds]
Okinan has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @FRidh merged pull request #66085 β†’ python37Packages.ipdb: 0.12 -> 0.12.2 β†’ https://git.io/fjHp8
<{^_^}> [nixpkgs] @FRidh pushed commit from @r-ryantm to master Β« python37Packages.ipdb: 0.12 -> 0.12.2 Β»: https://git.io/fj5R9
kraem has joined #nixos
<DigitalKiwi> personally, i wouldn't even try running nixos on anything less than 16 and even 32 requires liberal usage of nix-collect-garbage
ilikeheaps has joined #nixos
zupo has joined #nixos
lambda has quit [Quit: Bye]
liberiga has quit [Ping timeout: 260 seconds]
Chiliparrot has joined #nixos
veske has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
<{^_^}> [nix] @zimbatm closed pull request #2887 β†’ shared: improve the help message β†’ https://git.io/fjBYJ
zupo has joined #nixos
Neo--- has joined #nixos
<{^_^}> [nix] @zimbatm closed pull request #605 β†’ Norc for pure env β†’ https://git.io/v3bxe
Neo---- has quit [Remote host closed the connection]
<{^_^}> [nix] @zimbatm closed pull request #1152 β†’ Add Travis-CI β†’ https://git.io/v1rhP
Neo---- has joined #nixos
___laika has quit [Ping timeout: 248 seconds]
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
Neo--- has quit [Ping timeout: 252 seconds]
veske has quit [Quit: This computer has gone to sleep]
ilikeheaps has quit [Quit: Konversation terminated!]
niksnut has joined #nixos
niksnut has quit [Remote host closed the connection]
freeman42x has quit [Ping timeout: 252 seconds]
niksnut has joined #nixos
Lem_ has quit [Ping timeout: 276 seconds]
ng0 has joined #nixos
Lem_ has joined #nixos
lord| has quit [Read error: Connection reset by peer]
Neo---- has quit [Remote host closed the connection]
lord| has joined #nixos
Neo---- has joined #nixos
noudle has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Neo--- has joined #nixos
Neo---- has quit [Remote host closed the connection]
<Zer0xp> Does anyone know how I can enable exFAT support in NixOS ?
<manveru> ,locate bin exfat
<{^_^}> Found in packages: fuse_exfat
<manveru> huh
<manveru> ,locate bin mkfs.vfat
<{^_^}> Found in packages: busybox, dosfstools
<manveru> Zer0xp: what kind of support? FAT is pretty well supported out of the box
<DigitalKiwi> exfat-utils i think
<Zer0xp> I'm looking to mount an SD Card on my laptop but it's an exFAT system so it isn't supported
<Zer0xp> Can't open it with my current file manager
Neo---- has joined #nixos
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
Neo---- has quit [Remote host closed the connection]
wfranzini has quit [Ping timeout: 268 seconds]
hyper_ch2 has quit [Quit: Ping timeout (120 seconds)]
sigmundv_ has joined #nixos
Neo---- has joined #nixos
Neo--- has quit [Remote host closed the connection]
<manveru> strange
<manveru> well i seem to have `exfat` package installed, for mounting i usually use pmount
<manveru> can't say i've even seen a file manager in years, so can't help much with that :|
<{^_^}> [nixpkgs] @mmahut merged pull request #64579 β†’ pythonPackages.django-logentry-admin: init at 1.0.4 β†’ https://git.io/fjPnn
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj50o
o1lo01ol1o has joined #nixos
niso has joined #nixos
dasj19 has quit [Quit: dasj19]
<niso> does the some.option.<name>.something pattern have a name? (e.g. used at users.extraUsers.<name>)
<averell> in the language sense? or do you mean "nixos options"?
mexisme has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<tilpner> niso: That's a "list or attribute set of submodules", if that's what you were looking for
<niso> averell: thanks
<niso> tilpner: yes, that's what i was looking for
<niso> thanks
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @mmahut merged pull request #66548 β†’ efivar: patch build system for reproducibility β†’ https://git.io/fj54Y
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj50N
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
lyvidev has joined #nixos
asymptotically has joined #nixos
fendor has joined #nixos
cransom has quit [Quit: WeeChat 2.4]
thc202 has joined #nixos
nschoe has joined #nixos
aswanson has quit [Quit: WeeChat 2.4]
noudle has quit []
o1lo01ol1o has joined #nixos
<immae> ,locate objdump
<{^_^}> Found in packages: go, arduino, go_1_10, go_1_11, gotools, arduino_core, go_bootstrap, gcc-arm-embedded, binutils-unwrapped, gcc-arm-embedded-5, gcc-arm-embedded-6, gcc-arm-embedded-7, gcc-arm-embedded-4_7, gcc-arm-embedded-4_8, gcc-arm-embedded-4_9, google-app-engine-go-sdk
Ariakenom has quit [Quit: Leaving]
ThatDocsLady has joined #nixos
Ariakenom has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
andreas303 has quit [Remote host closed the connection]
growpotkin has quit [Ping timeout: 244 seconds]
veske has joined #nixos
<Taneb> How can I upgrade the nix version on nix-on-other-linux?
<{^_^}> [nixpkgs] @mmahut opened pull request #66555 β†’ ptex: 2.3.0 -> 2.3.2 β†’ https://git.io/fj5EZ
Neo--- has joined #nixos
hyper_ch2 has joined #nixos
andreas303 has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
hyper_ch2 has joined #nixos
Neo---- has quit [Ping timeout: 252 seconds]
gentauro has joined #nixos
<{^_^}> [nixpkgs] @danbst closed pull request #42795 β†’ pass "exclude" args to mksquashfs for storage-deficient devices β†’ https://git.io/f4A0i
<manveru> Taneb: `nix upgrade-nix`
<Taneb> manveru: do I need to restart the daemon after that?
tjg1 has quit [Quit: Bye.]
<manveru> i guess it wouldn't hurt, but no idea :)
<{^_^}> [hydra] @edolstra pushed to notifications Β« Restart hydra-notify Β»: https://git.io/fj5Eg
hyper_ch2 has quit [Remote host closed the connection]
___laika has joined #nixos
fendor has quit [Ping timeout: 248 seconds]
tjg1 has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
lsix has quit [Quit: Konversation terminated!]
hyper_ch2 has joined #nixos
<hyper_ch2> hmmm, anyone here has a usb-c docking station?
* adisbladis
<pie__> hyper_ch2: your mileage may vary
<pie__> i had one for a bit
<adisbladis> I've had success with a specific Dell model
<pie__> i think it depends on the machine as much as the dock (?)
<pie__> not sure tho
Neo--- has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @edolstra closed pull request #15539 β†’ Make using separate debugging info easier. β†’ https://git.io/vr4Id
Neo--- has joined #nixos
<{^_^}> [nixpkgs] @bennofs closed pull request #21906 β†’ fetchBower: fold arg in all-packages into the nix file β†’ https://git.io/vMwDJ
<hyper_ch2> I thought machine won't matter if it's by usb-c
ubert has joined #nixos
dasj19_ has joined #nixos
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Neo---- has joined #nixos
<pie__> im making a totally unfounded guess.
<Yaniel> usb-c is like a box of chocolates
abbiya has quit [Quit: abbiya]
<hyper_ch2> I like chocolates
<Yaniel> I hope you also like surprises, because the box is full of them
<hyper_ch2> :(
<Yaniel> you have to check both devices *and* the cable itself to make sure they support the thing you want them to use to talk to each other
<adisbladis> Yaniel: <3
Neo--- has quit [Ping timeout: 252 seconds]
<hyper_ch2> :)
<pie__> have you seen the size of those docks lol
<pie__> its like a whole other computer
<pie__> i mean it basically is
<pie__> probably
<hyper_ch2> well, currently I have to plug in: power cord, vga cord, hdmi cord, rj45 cord, usb-c cord
<hyper_ch2> with a dock I could reduce my work here
<pie__> just the general "less crap on desk and my machine isnt medusa when i pick it up" is probably nice
<pie__> assuming you dont run into a myriad of bugs
<pie__> which seems to be hit or miss at this point?
<pie__> or i just have bad luck
<{^_^}> [nixpkgs] @adisbladis pushed to master Β« emacsPackagesNg.telega: Build server binary Β»: https://git.io/fj5uf
orivej has joined #nixos
<Yaniel> well you probably need to double-check that the port you want to plug the dock in supports thunderbolt
<Yaniel> and that the cable supports thunderbolt and power delivery up to enough watts
<hyper_ch2> this looks interesting https://i-tec.cz/en/produkt/catriple4kdockpd-2/
<Yaniel> that's actually great to have
<pie__> manveru: whoa
<hyper_ch2> manveru: th
<Yaniel> but the fact that there is a place for it to begin with is a disaster
<Yaniel> oh yeah and you probably want your cable to support displayport too (IIRC?)
<Yaniel> or is that handled by thunderbolt
<pie__> i also saw things suggesting thunderbolt is kind of horrible designwise but i dunno
<pie__> its what we got i guess
<hyper_ch2> no idea... it's all so confusing with thunderbolt, displayport, displaylink, usb-c gen xxxxxx, .....
<Yaniel> there were some hilarious security issues with early macbooks that had thunderbolt at least
<pie__> its not like you can just hope something better comes along because you have to have hardware supporting the stuff...and i think its all super propreitary and junk?
<Yaniel> yup, junk all the way down
<pie__> thats not what i meant but heh
ottidmes has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/2871348a6f9 (from 78 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Zer0xp> Can I switch from NixOS unstable back to NixOS stable ?
<{^_^}> [nixpkgs] @mmahut opened pull request #66557 β†’ s3ql: 2.26 -> 3.2 β†’ https://git.io/fj5uz
orivej has quit [Ping timeout: 245 seconds]
<hyper_ch2> Zer0xp: just change channel
<hyper_ch2> Zer0xp: nix-channel --add https://nixos.org/channels/nixos-19.03 nixos ; nixos-rebuild boot --upgrade
<{^_^}> [nixpkgs] @vyorkin closed pull request #64977 β†’ telega-server: init at 0.4.0 β†’ https://git.io/fj1sl
Neo--- has joined #nixos
ub has joined #nixos
ubert has quit [Ping timeout: 246 seconds]
Neo---- has quit [Ping timeout: 252 seconds]
gentauro has quit [Ping timeout: 245 seconds]
Neo--- has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
<Zer0xp> hyper_ch2: Thanks
Neo-- has joined #nixos
m0rphism has joined #nixos
alex`` has joined #nixos
Neo-- has quit [Disconnected by services]
Neo--- has joined #nixos
Zer0xp has quit [Quit: WeeChat 2.5]
mexisme has quit [Ping timeout: 252 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @layus closed pull request #32014 β†’ Remove "argsOverride" from linux kernel β†’ https://git.io/vFhZ7
o1lo01ol1o has joined #nixos
Neo---- has joined #nixos
___laika has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #66436 β†’ make-options-doc: expose Nix set and add asciidoc variant β†’ https://git.io/fj7ow
<{^_^}> [nixpkgs] @domenkozar pushed 4 commits to master: https://git.io/fj5uQ
vegai has left #nixos [#nixos]
tmaekawa has joined #nixos
Neo--- has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fj5uA
___laika has quit [Ping timeout: 245 seconds]
<Taneb> Is there a good way to restart a Hydra "failure with outputs"?
nexgen has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @layus closed pull request #15339 β†’ Just strip everything by default, fully tested version :-) β†’ https://git.io/vrf4y
Shados has quit [Quit: Shados]
nexgen has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8746c77a383 (from 10 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
sigmundv_ has quit [Ping timeout: 248 seconds]
dasj19_ has quit [Quit: dasj19_]
Zer0xp has joined #nixos
<Zer0xp> Can anyone here check why the postman package cannot be installed on NixOS 19.03 ?
<Zer0xp> It seems to work on NixOS unstable but not on the stable version.
<niso> Zer0xp: downloading postman-6.7.3.tar.gz returns a 404
<niso> Zer0xp: the current version seems to be 7.5.0
<pie__> do we know anything about pkgsMusl.perl being broken?
<pie__> friend was curious to try it and its not working apparently
<pie__> its not downloading from the cache for me so i guess the hydra build also failed
<li_matrix> redoing everything with flakes and nixpkgs is giving me bugs I wasnt hitting before, all concerning overrides
<li_matrix> feels like virgin jungle blazing, something unexpected
sigmundv_ has joined #nixos
<pie__> sounds like it might be a good idea to give a bit of an experience report
<niso> by chance someone is aware of a minimal example of a list or attributeset of submodules?
* niso can't get it to run
justanotheruser has quit [Ping timeout: 258 seconds]
___laika has joined #nixos
<Zer0xp> niso: How do I get the current version ?
kleisli_ has quit [Ping timeout: 245 seconds]
<niso> Zer0xp: by creating an overlay of the package with the desired version
<Yaniel> if upstream has gone MIA it might be worth updating the version in stable...
sigmundv_ has quit [Ping timeout: 246 seconds]
sudoforge has quit [Ping timeout: 252 seconds]
___laika has quit [Ping timeout: 272 seconds]
sudoforge has joined #nixos
<Zer0xp> niso: How would I go about doing that ?
kleisli_ has joined #nixos
justanotheruser has joined #nixos
amf has joined #nixos
<amf> I wanted to play with a pre-compiled binary (bsnes in this case), but as expected it has a bunch of missing shared objects (e.g. "libGL.so.1 => not found"), and bsnes doesn't exist in the packages (yet, due to some project shuffling with higan). Is there an easy work around?
<tilpner> amf: Try steam-run
sigmundv_ has joined #nixos
<tilpner> $(nix-build --no-out-link "<nixpkgs>" -A steam-run)/bin/steam-run path/to/bsnes
<tilpner> (May need to enable unfree)
Neo---- has quit [Remote host closed the connection]
nyanloutre[m] is now known as Nyanloutre[m]
Neo---- has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #66558 β†’ libversion: 2.8.1 -> 2.9.0 β†’ https://git.io/fj5zj
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<amf> close! `$(nix-build --no-out-link "<nixpkgs>" -A steam-run)/bin/steam-run ldd ./bsnes|grep "not found" | wc -l` => 4. Is my assumption that the proper way to do this would be to have it's own build file?
<{^_^}> [nixpkgs] @primeos pushed to master Β« signal-desktop: 1.25.3 -> 1.26.0 Β»: https://git.io/fj5gm
___laika has joined #nixos
FRidh has quit [Ping timeout: 245 seconds]
nhey_ has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #66559 β†’ varnish6: 6.1.1 -> 6.2.0 β†’ https://git.io/fj5gG
<{^_^}> [nixpkgs] @primeos opened pull request #66560 β†’ [19.03] signal-desktop: 1.25.3 -> 1.26.0 (backport) β†’ https://git.io/fj5gZ
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
domogled has quit [Quit: domogled]
andymandias has quit [Quit: ZNC 1.7.3 - https://znc.in]
andymandias has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #66529 β†’ [19.03] Linux 5.2 β†’ https://git.io/fj5YP
<{^_^}> [nixpkgs] @NeQuissimus pushed 10 commits to release-19.03: https://git.io/fj5gu
<niso> Zer0xp: assuming you want to upgrade the package: https://nixos.wiki/wiki/Nixpkgs/Update_a_package
Chiliparrot has joined #nixos
ThatDocsLady_ has joined #nixos
Neo--- has joined #nixos
ThatDocsLady has quit [Read error: Connection reset by peer]
<arianvp> for some reason nixos mounts /run/keys under gid=0 eventhough it sets guid=96 (gids.keys)
<arianvp> I would expect /run/keys to be owned by the keys group on my machines, but it isn't. so now my services cannot access secrets anymore
fendor has joined #nixos
Neo---- has quit [Ping timeout: 252 seconds]
cyphase has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #66561 β†’ nixos/doc: document that services defined with `systemd.users` aren't restarted by nixos-rebuild β†’ https://git.io/fj5gX
iyzsong has joined #nixos
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
<gchristensen> I think that is on purpose for some reason, but I don't remember the details .... guh
<arianvp> but the mount script sets gid=96
<arianvp> :/
bakakuna has joined #nixos
<gchristensen> oh!
<gchristensen> nixops is what adds the "keys" group stuff
<gchristensen> nixos does not
<arianvp> but it doesn't...
<arianvp> :b :b deployments.t490s.earlyMountScript
<arianvp> this actually shows a script that sets gid=96 on /run/keys
<arianvp> yet it's mounted with gid=0
Neo---- has joined #nixos
<arianvp> and this is in NixOS, not NixOps. I'm not using NixOps at all yet /run/keys exists on my system (because it's added here: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems.nix#L316)
<gchristensen> right
<gchristensen> and nixops is what adds the "keys" group stuff :)
<arianvp> oh is it because the "keys" group doesn't exist?
<arianvp> but even then, why does it mount as gid=0 ? shouldn't it mount as gid=96 regardless if there is a group attached to 96 ?
nexgen has quit [Ping timeout: 268 seconds]
<arianvp> seems like that chown root:keys /run/keys is a hack upon a hack
<gchristensen> probably not, because what if group 96 is public-ftp-group
<arianvp> as /run/keys should already be mounted as 96
<gchristensen> nixops doesn't care about /run/keys being a mount point
<arianvp> yes but NixOS always mounts /run/keys as a mountpoint (with the wrong group, eventhough it specifies gid=96)
<gchristensen> /run/keys is configurable
<arianvp> on the nixops side. yes. but it's hardcoded on NixOS
<gchristensen> right
___laika has quit [Ping timeout: 248 seconds]
Neo--- has quit [Ping timeout: 252 seconds]
<arianvp> every NixOS installation has /run/keys mounted. Now Im just trying to figure out why it isn't mounted the way it says in the mount call it generates
<gchristensen> ah!
<gchristensen> I apologize, I misunderstood
<arianvp> so NixOS generates a config.earlyMountScript based on specialFileSystems
<arianvp> the content of this earlyMountScript is
<arianvp> specialMount "ramfs" "/run/keys" "nosuid,nodev,mode=750,gid=96" "ramfs"
<arianvp> yes it shows up as gid=0 once mounted
<arianvp> yet*
<arianvp> (Maybe we should just move the /run/keys stuff out of the nixpkgs repo and into nixops. and then not have it be my issue =) )
<arianvp> I guess it partly needs to be in NixOS because we reserve the GID upfront such that it isnt reused
mexisme has joined #nixos
xelxebar has quit [Remote host closed the connection]
xelxebar has joined #nixos
mexisme has quit [Ping timeout: 264 seconds]
eyJhb has quit [Quit: Bye]
eyJhb has joined #nixos
vika_nezrimaya has joined #nixos
<arianvp> Ok I think I figured it out =) ramfs doesn't do anything with the gid= option as per definition ramfs doesn't have files in it before you mount
<arianvp> so the chmod part needs to happen, and we can probably drop the gid=96 part in the mount options
tmaekawa has quit [Quit: tmaekawa]
FRidh has joined #nixos
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj52z
<{^_^}> [nixpkgs] @mmahut merged pull request #66559 β†’ varnish6: 6.1.1 -> 6.2.0 β†’ https://git.io/fj5gG
<{^_^}> [nixpkgs] @mmahut merged pull request #66558 β†’ libversion: 2.8.1 -> 2.9.0 β†’ https://git.io/fj5zj
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj52g
nschoe has quit [Ping timeout: 245 seconds]
dsiypl4 has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #53046 β†’ WIP: Declarative wrappers β†’ https://git.io/fhIbg
___laika has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #66562 β†’ gitAndTools.topgit: 0.9 -> 0.19.12 β†’ https://git.io/fj52r
Neo--- has joined #nixos
aswanson has joined #nixos
Neo---- has quit [Remote host closed the connection]
sudoforge has quit [Ping timeout: 252 seconds]
<vmandela> gchristensen, ping on https://github.com/NixOS/nix/pull/2946
<{^_^}> nix#2946 (by vmandela, 8 weeks ago, open): installer: handle network proxy in systemd multi-user install
<niso> by chance someone can tell me why server.<name>.non-existing-option doesn't cause an error? http://paste.debian.net/1095604/
___laika has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #53734 β†’ Update noweb (and icon-lang) β†’ https://git.io/fhZaZ
<{^_^}> [nixpkgs] @Mic92 pushed 5 commits to master: https://git.io/fj52i
o1lo01ol1o has joined #nixos
fendor has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @xrelkd opened pull request #66563 β†’ go-ethereum: 1.9.1 -> 1.9.2 β†’ https://git.io/fj52P
<{^_^}> [nixpkgs] @vbgl merged pull request #66218 β†’ ocaml: 4.08.0 -> 4.08.1 β†’ https://git.io/fjQlt
<{^_^}> [nixpkgs] @vbgl pushed to master Β« ocaml: 4.08.0 -> 4.08.1 Β»: https://git.io/fj52X
nschoe has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 260 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Neo--- has quit [Remote host closed the connection]
jtojnar has quit [Read error: Connection reset by peer]
Neo--- has joined #nixos
eyJhb is now known as eyJhb
___laika has joined #nixos
jtojnar has joined #nixos
nschoe has quit [Ping timeout: 252 seconds]
<jw358> anyone using github actions workflow?
<jw358> i would like to know how to use docker://lnl7/nix:2019-03-01 to run a nix-shell command
<jw358> but none of the docs seem to have a complete example i can look at
___laika has quit [Ping timeout: 258 seconds]
guys has quit [Quit: A random quit message]
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
elibrokeit has joined #nixos
kleisli_ has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #66564 β†’ varnish5: fix build β†’ https://git.io/fj52p
wfranzini has joined #nixos
nschoe has joined #nixos
cfricke has quit [Ping timeout: 272 seconds]
<LnL> what about it?
<{^_^}> [nixpkgs] @jtojnar opened pull request #66565 β†’ ofono: init at 1.30 β†’ https://git.io/fj5af
___laika has joined #nixos
tdeo has quit [Quit: Quit]
tdeo has joined #nixos
endformationage has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
<manveru> github action docs suck... hard :|
<manveru> jw358: i looked for the same thing 1-2 weeks ago but didn't end up using it
Chiliparrot has joined #nixos
<manveru> jw358: i'd suggest you take a look at some of the things at https://github.com/sdras/awesome-actions
hyper_ch2 has quit [Remote host closed the connection]
<AWizzArd> Does NixOs ship per default with virtualization software? I was reading the section β€žSafe to test changes”: https://nixos.org/nixos/about.html
___laika has joined #nixos
<ToxicFrog> AWizzArd: depends on what you mean by "per default"? The VM software (like everything else) isn't installed until you actually need it.
<AWizzArd> ToxicFrog: Is there β€žthe” VM software? One that typically gets added to NixOS if people want to run such tests?
<ToxicFrog> `man nixos-rebuild` has the details; it looks like it uses qemu and recommends, but does not require, the kvm kernel module.
<adisbladis> AWizzArd: In the case of `nixos-rebuild build-vm` the resulting closure will contain qemu
<adisbladis> `./result/bin/run-*-vm` will run that VM
drakonis has joined #nixos
Neo--- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<ToxicFrog> (qemu is not the only VM packaged for nixos, but it is the one used by build-vm)
<adisbladis> ToxicFrog: KVM is almost required though, it's unbearably slow without it.
<AWizzArd> Is there a big difference in using Docker vs. NixOS+VM? Only that constructing the environment in which I want to run software is deterministic with Nix.
<adisbladis> AWizzArd: A big difference in what regard?
<adisbladis> You can't use NixOS modules in Docker (technically not 100% true but it would require significant work)
hyper_ch2 has joined #nixos
<manveru> adisbladis: arion allows that :)
<{^_^}> [nixpkgs] @adisbladis merged pull request #66563 β†’ go-ethereum: 1.9.1 -> 1.9.2 β†’ https://git.io/fj52P
<{^_^}> [nixpkgs] @adisbladis pushed 2 commits to master: https://git.io/fj5au
<manveru> damn, you beat me
<niso> :P
<adisbladis> Right, I'm still in a pre-arion mindset :)
<adisbladis> Where I'd splice out the systemd services manually
o1lo01ol1o has quit [Remote host closed the connection]
<manveru> it's always awesome if someone else does "significant work" for you :)
<adisbladis> <3
<niso> just a note: arions api isn't stable yet
<manveru> niso: nobody notices if you never upgrade :P
<niso> AWizzArd: there would be also nixos-container, (which is way faster) however they lack a few features
<manveru> also nixos-shell
<adisbladis> niso: What features are you lacking?
<adisbladis> (I'm wondering because I have my own complete reimplementation of nixos containers)
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master Β« python37Packages.google_api_python_client: 1.7.10 -> 1.7.11 Β»: https://git.io/fj5aa
<adisbladis> Which can do some interesting things not possible with the standard one
<niso> adisbladis: shared volumes (or the possiblity to mount a folder on the host (self contained))
atriq has joined #nixos
<niso> adisbladis: and the required root kinda bothered me (but the volumes made me use arion instead)
<niso> adisbladis: is your reimplementation public?
<adisbladis> Right, different use cases :)
<adisbladis> niso: Nope, it's in a private repo
Taneb has quit [Read error: Connection reset by peer]
jophish has quit [Ping timeout: 250 seconds]
<adisbladis> It's coupled with some other code
<exarkun> nixos-containers lack the ability to mount host volumes?
<niso> adisbladis: my usecase was a self-contained environment for web-development
___laika has quit [Ping timeout: 245 seconds]
jophish has joined #nixos
<adisbladis> niso: Then arion looks like a much better fit :)
<adisbladis> My use case was running multiple nix-daemons on the same machine
<adisbladis> Which is counter to assumptions made in nixos-containers :)
<adisbladis> exarkun: No, you can bind-mount things from the host
___laika has joined #nixos
<adisbladis> exarkun: The keyword was "self-contained"
<exarkun> What does that mean in this context?
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<niso> exarkun: that i can put the containers declaration in the projects root dir, and everyone can just run the container (and the projcets dir gets auto-mounted)
<adisbladis> exarkun: I'm assuming having something like the volumes declaration in https://github.com/hercules-ci/arion#docker-image-from-dockerhub checked into your development environment and spawn your environment from there
<adisbladis> The project that my container implementation was born in never materialised :/ But it hade interesting side effects like https://github.com/adisbladis/vgo2nix and https://github.com/adisbladis/nix-binary-cache-b2
<exarkun> Hm, still not sure I understand,
atriq is now known as Taneb
npmccallum has joined #nixos
<niso> exarkun: usecase: you are working with a development server which re-builds the sourcecode automatically + you supply a development database with your project
<exarkun> It /seems/ like nixos-containers can do that. Point the hostPath at the path to the development database in your project?
bakakuna has quit [Ping timeout: 246 seconds]
<adisbladis> systemd-nspawn (which nixos containers are built on) still requires CAP_SYS_ADMIN though
<exarkun> ok
<exarkun> that I can understand
<niso> exarkun: i think i tried it with hostPath and failed
<adisbladis> exarkun: If that wasn't the case it would be trivial to implement something like a docker-compose style setup for unprivileged development environments
<niso> exarkun: i tried pretty much everything for a couple of days (however i'm a nix newbie, so there's that) :P
<exarkun> adisbladis: I didn't immediately consider privilege as it relates to "self-contained"
Neo---- has quit [Remote host closed the connection]
<adisbladis> Actually you can sort of abuse systemd's user units for "containers" already
<adisbladis> I played with that a bit :)
Neo---- has joined #nixos
<adisbladis> Or use `bwrap` to implement something incredibly light weight
<adisbladis> Hmmmmmmm
<adisbladis> That would be cool
<niso> i think i read somewhere that the privilige stuff could be fixed (since it's suppored by systemd now)
<adisbladis> niso: Maybe? Last I looked was well over a year ago
<adisbladis> That would be awesome
<adisbladis> I love systemd-nspawn
<gchristensen> so good!
Neo--- has joined #nixos
<niso> gchristensen: what's good?
<gchristensen> systemd-nspawn
<niso> ah yep :)
<gchristensen> I really like that systemd makes it easy to do pretty advanced stuff
<niso> how does nix differentiate between a set of options and a set? (or maybe a better question: how does it check if an option exists?)
<adisbladis> The stub init blew my mind when I noticed it :)
<arianvp> I sometimes find our nixos-container abstraction abstracts a bit too much of the beautfy of nspawn, and I use it directly instead =)
* niso can't get his module to run :/
___laika has quit [Ping timeout: 248 seconds]
<exarkun> niso: option values have types declared
detran has quit [Ping timeout: 246 seconds]
* adisbladis likes to run docker inside a systemd-nspawn container ^_^
Neo---- has quit [Ping timeout: 252 seconds]
<niso> exarkun: somehow those still get ignored? http://paste.debian.net/1095615/
Neo---- has joined #nixos
<adisbladis> gchristensen: Have you looked into podman anything?
<gchristensen> I haven't
<arianvp> I have a bit more thin wrapper around systemd-nspawn that uses more stuff from upstream here: https://github.com/arianvp/nixos-stuff/blob/master/modules/containers-v2.nix in case you're interested
<arianvp> networking currently doesn't work yet as we're not installing all the appropriate systemd-networkd units
<adisbladis> gchristensen: Because I was thinking the other day about the nixos declarative docker container stuff, and I don't like that it's using the docker daemon
<exarkun> niso: did you forget a mkOption at the top?
<adisbladis> It's very counter-intuitive imo
<adisbladis> That I can't apply regular service limits & things to those services
<arianvp> adisbladis: from v243 systemd-nspawn will support starting docker containers =)
<arianvp> (very experimental new feature)
<gchristensen> adisbladis: yeah, docker really doesn't want to be managed. docker wants to be init
<adisbladis> arianvp: podman is supposedly a drop-in replacement (without the daemon)
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/3a4aab967b3 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<niso> exarkun: i don't think so ( check example 42.7 https://nixos.org/nixos/manual/index.html#sec-option-types )
<arianvp> I should ask lennart what his plan is with it; both podman and systemd are developed at Redhat :P
<adisbladis> I would not be against evaluating our options though :) If we can use systemd it's appealing
___laika has joined #nixos
<arianvp> I guess one of the appeals of systemd-nspawn is that it will work with cgroupsv2 most likely, whilst the other stuff probably doesn't.
<adisbladis> arianvp: Are you going to the CCC camp by any chance?
<arianvp> Alas not. ICFP is the same week
<arianvp> I'll be at the NixOS Stammtisch in Berlin tonight though
<adisbladis> That is an acceptable excuse :)
<niso> exarkun: home-manager's email.nix doesn't use mkOption at the top either
Neo--- has quit [Ping timeout: 252 seconds]
* adisbladis is not too close to berlin atm ;)
<exarkun> hm ok. dunno, then.
Neo--- has joined #nixos
<niso> me neither :(
Neo---- has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @mmahut closed pull request #64477 β†’ ponyc: 0.28.1 -> 0.29.0 β†’ https://git.io/fjiQU
<AWizzArd> adisbladis: I don’t know Nix/NixOS yet, just starting. But it seems to me that there is /some/ overlap of functionality between those two systems.
<{^_^}> [nixpkgs] @WilliButz merged pull request #62914 β†’ doc/nixos-rebuild(8): add Nix options to summary β†’ https://git.io/fjgUe
<adisbladis> Between what systems?
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fj5Vk
___laika has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #66565 β†’ ofono: init at 1.30 β†’ https://git.io/fj5af
<{^_^}> [nixpkgs] @jtojnar pushed 5 commits to master: https://git.io/fj5Vt
___laika has joined #nixos
<CMCDragonkai> my jupyter is complaining about not being able to generate pdfs
<CMCDragonkai> ! LaTeX Error: File `adjustbox.sty' not found.
<CMCDragonkai> What extra dependency do I need in nix for it to work?
<AWizzArd> adisbladis: NixOS and Docker
atlas_ has quit [Quit: WeeChat 2.2]
orivej has quit [Quit: No Ping reply in 180 seconds.]
<adisbladis> AWizzArd: Right, maybe a tiny bit.
<niso> well imo not just a tiny bit
<adisbladis> There are whole parts of Docker I would never use (if given the choice)
orivej has joined #nixos
<adisbladis> Like `docker build`
cransom has joined #nixos
<niso> adisbladis: means you would use docker images without building them?
<AWizzArd> adisbladis: You could use the Nix system and create a directory tree, filled with files, and have a one-liner to put this into a docker image. You could use Nix to create docker images.
<niso> AWizzArd: checkout arion
<{^_^}> [nixpkgs] @veprbl merged pull request #66247 β†’ arrow-cpp: 0.13.0 -> 0.14.1 β†’ https://git.io/fjQ2Y
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fj5VW
<niso> AWizzArd: or maybe don't (probably not the best project to get started with nix)
___laika has quit [Ping timeout: 248 seconds]
<AWizzArd> niso: well, I have a machine for test-installing NixOS and play with it.
<adisbladis> AWizzArd: I know this :) I have done it plenty before
<adisbladis> niso: I mean I would use nix to build the containers
<adisbladis> Docker is not a good build system
___laika has joined #nixos
<niso> adisbladis: i see
<adisbladis> AWizzArd: We already have awesome abstractions for building docker containers from nix packages :)
<disasm> docker is a horrible build system, but the work gchristensen and others have done on dockerTools makes it bearable :)
<adisbladis> disasm: That's completely sidestepping docker though :) (as I'm sure you're aware)
<disasm> adisbladis: exactly :)
<adisbladis> And docker at the very least is an ok-ish runtime
<manveru> AWizzArd: also check https://nixery.appspot.com/ :)
___laika has quit [Ping timeout: 245 seconds]
<adisbladis> Nixery got it's own domain now https://nixery.dev/
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<manveru> oh :)
<averell> even got it's own vegetable
<AWizzArd> Looks interesting too.
<disasm> adisbladis: I prefer nix containers to docker
<adisbladis> I asked why the broccoli: "it's fresh and healthy, good for you"
drakonis has quit [Quit: WeeChat 2.5]
vmandela has quit [Quit: Leaving]
<adisbladis> disasm: Well you are reasonably sane ;)
nhey_ has quit [Remote host closed the connection]
___laika has joined #nixos
marek has joined #nixos
marek has quit [Changing host]
fendor has joined #nixos
fendor has quit [Remote host closed the connection]
fendor_ has joined #nixos
wichis has joined #nixos
___laika has quit [Ping timeout: 246 seconds]
<Nyanloutre[m]> test
___laika has joined #nixos
Neo--- has quit [Remote host closed the connection]
<exarkun> is there a way to not have a python package installed into site-packages when working with it in development mode?
Neo--- has joined #nixos
<exarkun> doing the thing the docs say seems to make it importable in two places which is kinda nasty (and encourages obscure path bugs)
wichis has left #nixos [#nixos]
rauno has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @mmahut opened pull request #66566 β†’ ponyc: disabling stdlib tests β†’ https://git.io/fj5Vx
xkapastel has joined #nixos
<ivegotasthma> can someone help me understand this comment? https://github.com/NixOS/nixpkgs/pull/66391#issuecomment-520723200 does he mean that I should change directory into the tests/?
asymptotically has left #nixos ["https://quassel-irc.org - Chat comfortably. Anywhere."]
fusion809 has joined #nixos
waleee-cl has joined #nixos
<arianvp[m]> I wish there was any movement in getting docker on cgroups v2 but I haven't seen any progress yet in that regard
jtojnar has quit [Ping timeout: 248 seconds]
kim0 has joined #nixos
Neo---- has joined #nixos
Neo--- has quit [Remote host closed the connection]
Ariakenom has quit [Read error: Connection reset by peer]
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> [nixpkgs] @WilliButz merged pull request #66561 β†’ nixos/doc: document that services defined with `systemd.users` aren't restarted by nixos-rebuild β†’ https://git.io/fj5gX
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fj5wL
<{^_^}> [nixpkgs] @peterhoeg merged pull request #63716 β†’ nixos/mosquitto: make the tests run β†’ https://git.io/fjw7t
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fj5wm
mexisme has joined #nixos
<niso> ivegotasthma: i think they want you to separate the test parts from the runtime parts
polman has quit [Ping timeout: 245 seconds]
* niso isn't sure how nixpkgs handles tests
___laika has quit [Ping timeout: 244 seconds]
turion has joined #nixos
mexisme has quit [Ping timeout: 250 seconds]
stites has joined #nixos
<arianvp> speaking of docker, would it be possible to set up a "nix-shell" inside a dockerTools.buildImage ?
<arianvp> We set up build environments with docker at work, and would like to hand some of my collegues nix-shell envs without forcing them to install nix
<{^_^}> [nixpkgs] @mmahut merged pull request #66562 β†’ gitAndTools.topgit: 0.9 -> 0.19.12 β†’ https://git.io/fj52r
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj5wu
hyper_ch2 has quit [Remote host closed the connection]
Neo--- has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #66560 β†’ [19.03] signal-desktop: 1.25.3 -> 1.26.0 (backport) β†’ https://git.io/fj5gZ
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.03: https://git.io/fj5wV
Neo---- has quit [Ping timeout: 252 seconds]
<adisbladis> arianvp: There is dockerTools.buildImageWithNixDb. Is that something like what you're looking for?
bgamari has quit [Ping timeout: 250 seconds]
wfranzini has quit [Quit: wfranzini]
wfranzini1 has joined #nixos
bgamari has joined #nixos
wfranzini1 is now known as wfranzini
<{^_^}> [nixpkgs] @mmahut opened pull request #66567 β†’ itk: 5.0.0 -> 5.0.1 β†’ https://git.io/fj5wy
veske has quit [Ping timeout: 244 seconds]
robogoat has quit [Ping timeout: 248 seconds]
Ariakenom has joined #nixos
nexgen has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
pyrrxa has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
shibboleth has joined #nixos
<{^_^}> [hydra] @edolstra pushed 2 commits to notifications: https://git.io/fj5wb
robogoat has joined #nixos
___laika has joined #nixos
<exarkun> anybody know where the implementation of "development mode" for python packages is?
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fj5rJ
<{^_^}> [nixpkgs] @aanderse merged pull request #66305 β†’ kdevelop, kdev-php, kdev-python: 5.3.3 -> 5.4.0 β†’ https://git.io/fj5rU
<exarkun> Hm I guess I see something in the shellHook set up by build-python-package-setuptools.nix
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
<exarkun> I can't see any evidence that this hook actually runs
jabranham has joined #nixos
<ivegotasthma> can someone help me understand this comment? https://github.com/NixOS/nixpkgs/pull/66391#issuecomment-520723200 does he mean that I should change directory into the tests/?
___laika has quit [Ping timeout: 246 seconds]
Neo--- has quit [Read error: Connection reset by peer]
Neo--- has joined #nixos
<gchristensen> FRidh: ^
orivej has quit [Ping timeout: 244 seconds]
<ivegotasthma> gchristensen: thanks
___laika has joined #nixos
Zer0xp has quit [Ping timeout: 258 seconds]
polman has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66542 β†’ mesa: add surfaceless egl platform β†’ https://git.io/fj5Wm
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fj5rs
<niso> exarkun: incase you are interested: I didn't get an error due to Nix being lazy
<exarkun> aha
<niso> aka it wasn't evaluated
<exarkun> good thing to remember to watch out for
<ivegotasthma> approximately after how long would my packages be in the stable channel? is there a timeline for releases?
<{^_^}> [nixpkgs] @volth opened pull request #66568 β†’ xfce4-14.xfdashboard: init at 0.7.5 β†’ https://git.io/fj5rc
<niso> yep, only took me a couple of hours to figure that out....:P
dsiypl4 has quit [Ping timeout: 246 seconds]
<aanderse> infinisil: anything holding up oneOf PR at this point?
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66475 β†’ haskell.buildStackProject: Pass nativeBuildInputs β†’ https://git.io/fj75M
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj5r4
oida has quit [Remote host closed the connection]
<exarkun> if I supply my own shellHook that emits a bunch of noise, I never see the noise :/ so no shellHook for a derivation that's an input to another derivation?
oida has joined #nixos
justanotheruser has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
<infinisil> aanderse: Probably just somebody pressing the merge button :)
<infinisil> Feel free to merge, I'm having some weird internet issues anyways that I can't even load the PR right now
___laika has quit [Ping timeout: 245 seconds]
<aanderse> <3 infinisil
<{^_^}> infinisil's karma got increased to 119
dsiypl4 has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #65728 β†’ lib/types: Add oneOf, extension of either to a list of types β†’ https://git.io/fj9Wo
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fj5rR
Neo--- has quit [Read error: Connection reset by peer]
Neo--- has joined #nixos
<ornx> how do i use nix-build to build a package from nixpkgs? when i do nix-build nixpkgs/path/to/default.nix it complains about error: cannot auto-call a function that has an argument without a default value ('lib')
<ornx> oh wait nevermind, now i see
<{^_^}> [hydra] @edolstra pushed to notifications Β« Avoid fetching Projects/Jobsets just to get the name column Β»: https://git.io/fj5rV
<infinisil> ornx: You'll want to go to the nixpkgs root and use nix-build -A <attribute>
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
Ariakenom has quit [Quit: Leaving]
noterossa has joined #nixos
drakonis has joined #nixos
<noterossa> hey there - I'm building a package but I get "ModuleNotFoundError: No module named 'requests'"
<noterossa> even if I do have propagatedBuildInputs = with pythonPackages; [ requests ];
<noterossa> any idea why?
<noterossa> it's not a python pp, just ships a python script, so I had to add python3 already, it now executes but complain about that module hrm
vesper11 has quit [Read error: Connection reset by peer]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kleisli_ has joined #nixos
<simpson> > python3.withPackages (ps: [ ps.requests ])
<{^_^}> "<derivation /nix/store/mxi92slgcxqgw2hynmndnlf8lcizrsmr-python3-3.7.4-env.drv>"
<noterossa> simpson: yeah this is not going to be a python app
<noterossa> so I need to use that as propagatedBuildInputs?
<simpson> noterossa: Nonetheless this is where the `withPackages` helper is documented.
vesper11 has joined #nixos
<simpson> You'll need to set up a custom Python like this, and then call the Python script with the custom Python. propagatedBuildInputs would indeed be required if there's no neater way, say by rewriting the shebang.
justanotheruser has joined #nixos
<noterossa> buildInputs = [ erlang icu openssl spidermonkey (python3.withPackages (ps: [ ps.requests ])) ];
<noterossa> so like this?
growpotkin has joined #nixos
<noterossa> I don't really see such examples in nixpkgs
<noterossa> well, it does work - but is it okay to use? I see no withPackages usage in nixpkgs :/
<{^_^}> [nixpkgs] @Ericson2314 opened pull request #66569 β†’ mesa: Put surfaceless last β†’ https://git.io/fj5rb
jtojnar has joined #nixos
<noterossa> thank you:)
noterossa has quit [Remote host closed the connection]
erasmas has joined #nixos
nexgen has quit [Ping timeout: 244 seconds]
worldofpeace_ has joined #nixos
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
domogled has joined #nixos
Okinan has joined #nixos
<{^_^}> [hydra] @edolstra pushed 11 commits to notifications: https://git.io/fj5oU
<{^_^}> [nixpkgs] @worldofpeace closed pull request #51153 β†’ yaru: init at 18.10.7 β†’ https://git.io/fpg77
ub has quit [Quit: Leaving]
<ornx> how do i reference files in the store relative to a particular package? eg is there something like "${pkgs.mypkg.storepath}/path/to/file" i can use?
<clever> > "${pkgs.hello}/bin/hello"
<{^_^}> "/nix/store/94qwaibxqn26q41byczq06b0pgdhia9a-hello-2.10/bin/hello"
<{^_^}> [nixpkgs] @jtojnar opened pull request #66570 β†’ libgudev: 232 β†’ 233 β†’ https://git.io/fj5o3
<ornx> ah lovely thank you!
shibboleth has quit [Ping timeout: 260 seconds]
___laika has joined #nixos
nexgen has joined #nixos
Ariakenom has joined #nixos
boxscape has joined #nixos
drakonis has quit [Quit: WeeChat 2.5]
stites has quit [Remote host closed the connection]
domogled has quit [Quit: domogled]
ryanartecona has joined #nixos
<{^_^}> [nixpkgs] @pasqui23 opened pull request #66571 β†’ beakerbrowser:init at 0.8.8 β†’ https://git.io/fj5o8
sigmundv_ has quit [Ping timeout: 268 seconds]
dansho has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66397 β†’ electron: add 6.x version β†’ https://git.io/fj74U
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5o0
casaca has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66324 β†’ notepadqq: use qt5's mkDerivation β†’ https://git.io/fjQjL
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5oz
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/2d05858567e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
casaca has joined #nixos
vmandela has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66191 β†’ wolfssl: 4.0.0 -> 4.1.0 β†’ https://git.io/fjQ3o
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5o2
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65537 β†’ pkgsStatic: override libunwind β†’ https://git.io/fjyAL
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj5oo
polman has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66395 β†’ pythonPackages.simplefix: init at 1.0.12 β†’ https://git.io/fj78r
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5o6
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj5oD
<{^_^}> [nixpkgs] @mmahut merged pull request #65439 β†’ nixos/httpd: remove duplicate module entries from httpd.conf β†’ https://git.io/fjy4C
o1lo01ol1o has quit [Remote host closed the connection]
casaca has quit [Ping timeout: 248 seconds]
casaca has joined #nixos
lejonet has quit [Ping timeout: 245 seconds]
dontobey has quit [Ping timeout: 244 seconds]
bakakuna has joined #nixos
lambda-11235 has joined #nixos
casaca has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @fgaz opened pull request #66572 β†’ keepassxc: 2.4.1 -> 2.4.3 β†’ https://git.io/fj5od
Neo--- has quit [Ping timeout: 252 seconds]
dontobey has joined #nixos
casaca has joined #nixos
polman has joined #nixos
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #66573 β†’ zsh: use host derivation to run binary when cross compiling β†’ https://git.io/fj5oj
nschoe has quit [Ping timeout: 252 seconds]
kenshinCH has joined #nixos
lejonet has joined #nixos
casaca has quit [Ping timeout: 248 seconds]
<judson_> Doing a fresh install for the first time in a long time.
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
<judson_> I'm getting an error during nixos-install: grub-install: warning: File system "fat" doesn't support embedding.
casaca has joined #nixos
CcxWrk has joined #nixos
<lordcirth> judson_, BIOS or EFI? What's your partitioning like?
<judson_> EFI, partitioned as the nixos guide suggests.
<judson_> i.e. sda3 is a 512M fat32 partition marked with 'boot' almost at the top of the drive
<enteee> adisbladis: We discussed a few days ago how to handle non-pure-python dependencies, I think it's a bug that caused my approach to fail. It used to work with 19.03. More information: https://github.com/NixOS/nixpkgs/issues/66366
<{^_^}> #66366 (by Enteee, 4 days ago, open): Python virtualenv not working because of sys.prefix mismatch
chloekek has joined #nixos
<{^_^}> [nixpkgs] @kalbasit opened pull request #66574 β†’ pythonPackages.sqlalchemy: 1.2.14 -> 1.3.5 β†’ https://git.io/fj5Kc
<lordcirth> judson_, the guide says to use systemd-boot on EFI, not grub.
<judson_> Aha! I hadn't understood those were mutually exclusive.
<samueldr> it shouldn't be
<samueldr> grub works with EFI
<samueldr> (even though the manual strongly suggests to use systemd-boot)
<samueldr> judson_: did you set boot.loader.grub.device to something?
<samueldr> for EFI it should be set to "nodev"
<samueldr> boot.loader.grub.device is used to embed the bootloader for legacy boot
<judson_> I was using nodev, but the machine was then ignoring the drive on boot.
xorAxAx has quit [Quit: Gateway shutdown]
<samueldr> boot.loader.grub.efiSupport has to be set accordingly, too
<samueldr> (without seeing the configuration it's harder to know for sure what the issue is :))
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<adisbladis> enteee++
<{^_^}> enteee's karma got increased to 1
<adisbladis> That's a great issue report :)
casaca has quit [Ping timeout: 272 seconds]
bakakuna has quit [Ping timeout: 268 seconds]
<samueldr> (though it's not like there's anything wrong with any of the two bootloaders, pick whichever works for you and you want to use!)
casaca has joined #nixos
zaeph has quit [Ping timeout: 264 seconds]
zaeph has joined #nixos
casaca has quit [Ping timeout: 268 seconds]
Chiliparrot has joined #nixos
casaca has joined #nixos
<{^_^}> [nixpkgs] @disassembler opened pull request #66576 β†’ kernelPatches: mac nvme t2 support β†’ https://git.io/fj5K6
kim0 has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @matthewbauer merged pull request #65783 β†’ libdrm: cross-compile fix β†’ https://git.io/fj9iz
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fj5KM
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #nixos
growpotk- has joined #nixos
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @gnidorah opened pull request #66577 β†’ use qt5's mkDerivation for packages I maintain β†’ https://git.io/fj5K7
ryanartecona has quit [Quit: ryanartecona]
mexisme has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cb8f4b05523 (from 54 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
dsiypl4 has quit [Ping timeout: 244 seconds]
turion has quit [Ping timeout: 252 seconds]
casaca has quit [Ping timeout: 248 seconds]
mexisme has quit [Ping timeout: 248 seconds]
xorAxAx has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #64492 β†’ evdi: 1.6.1 -> 1.6.2 β†’ https://git.io/fji7Q
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fj5Kj
casaca has joined #nixos
pyrrxa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @eadwu closed pull request #66535 β†’ nixos/raspberryPi: use buildPackages for conf builders β†’ https://git.io/fj5nv
o1lo01ol1o has joined #nixos
ryanartecona has joined #nixos
orivej has joined #nixos
ryanartecona has quit [Client Quit]
ilya-fedin has joined #nixos
casaca has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to staging Β« git: 2.22.0 -> 2.22.1 Β»: https://git.io/fj56t
<{^_^}> [nixpkgs] @AtkinsChang opened pull request #66578 β†’ minikube: 1.2.0 -> 1.3.1 β†’ https://git.io/fj56m
casaca has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master Β« darcs: fix build Β»: https://git.io/fj56Z
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fj56n
<Miyu-chan> Um. Does the postgres user have something more to it?
<Miyu-chan> sudo -u postgres cat /var/keys/postgres.key
<Miyu-chan> cat: /var/keys/postgres.key: Permission denied
<Miyu-chan> ls -l /var/keys/postgres.key
<Miyu-chan> -rw-rw---- 1 postgres postgres 58 Aug 13 17:59 /var/keys/postgres.key
<{^_^}> [nixpkgs] @peti pushed to haskell-updates Β« hackage-packages.nix: automatic Haskell package set update Β»: https://git.io/fj56l
<Miyu-chan> IIRC, the directory permissions don't matter as long as you have a path, right?
<symphorien> You need the x permission to traverse
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fj568
<Miyu-chan> Oh.
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
casaca has quit [Ping timeout: 268 seconds]
<Miyu-chan> Thanks. UNIX permissions make less sense on directories. Eep.
<Miyu-chan> Nominally.
vmandela has quit [Quit: Leaving]
casaca has joined #nixos
ris has joined #nixos
is_null has quit [Ping timeout: 268 seconds]
im_saeed has joined #nixos
<{^_^}> [nixpkgs] @volth closed pull request #66453 β†’ buildPerlPackage: phase out "name" β†’ https://git.io/fj719
dsiypl4 has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #66570 β†’ libgudev: 232 β†’ 233 β†’ https://git.io/fj5o3
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fj56o
kleisli_ has quit [Ping timeout: 246 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
wfranzini has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #66579 β†’ discord-canary: 0.0.91 -> 0.0.92 β†’ https://git.io/fj561
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #66580 β†’ Vapoursynth r47.1 β†’ https://git.io/fj56M
im_saeed has quit [Remote host closed the connection]
im_saeed has joined #nixos
im_saeed has quit [Max SendQ exceeded]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
ixxie has joined #nixos
englishm has quit [Excess Flood]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #65853 β†’ sagittarius-scheme: init at 0.9.6 β†’ https://git.io/fjHJJ
<{^_^}> [nixpkgs] @7c6f434c pushed 3 commits to master: https://git.io/fj56Q
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #66581 β†’ qMasterPassword: use qt mkDerivation β†’ https://git.io/fj567
englishm has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #66582 β†’ nginx update β†’ https://git.io/fj5iL
leotaku has quit [Quit: ZNC 1.7.3 - https://znc.in]
<DigitalKiwi> is there an eta on 19.09 being stabalized and how is that decided in general is it time based or 'when it's ready'?
Mateon2 has joined #nixos
Mateon1 has quit [Ping timeout: 244 seconds]
Mateon2 is now known as Mateon1
cyphase has joined #nixos
leotaku has joined #nixos
<nh2> gchristensen: will ofborg refresh the `10.rebuild-linux: 5001+` labels if I force-push something that makes the rebuilds go away?
<DigitalKiwi> oh, well that's convenient timing for me to have asked then haha
<gchristensen> yes
<{^_^}> [nixpkgs] @worldofpeace merged pull request #65724 β†’ Improve sequoia package expression β†’ https://git.io/fj9Cx
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5il
lordcirth has left #nixos ["Leaving"]
___laika has quit [Quit: WeeChat 2.4]
___laika has joined #nixos
is_null has joined #nixos
worldofpeace_ has quit [Ping timeout: 245 seconds]
ThatDocsLady_ has quit [Quit: Leaving]
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #nixos
worldofpeace_ has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<DigitalKiwi> is there a way to make the builders-use-substitutes more...eager to use substitutes instead of uploading?
<gchristensen> are you using ssh:// or ssh-ng://?
markus1189 has quit [Ping timeout: 272 seconds]
<zmlww> Is there an easy way to find which nixpkg library provides a certain .so file?
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fj5ix
<{^_^}> [nixpkgs] @matthewbauer merged pull request #66425 β†’ environment.profiles: fix order of profiles and PATH β†’ https://git.io/fj7Vq
<DigitalKiwi> ssh://
<clever> zmlww: which .so file?
<gchristensen> DigitalKiwi: hrm. then I expected it to do exactly that
<DigitalKiwi> it's uploadng ghc :<
<zmlww> clever: libstdc++.so.6, which by searching the repo I've figured out that stdenv.cc.cc.lib provides. But I don't even see where stdenv.cc.cc.lib is defined, so I'm a bit confused.
<DigitalKiwi> (i think)
<clever> zmlww: stdenv.cc.cc is the unwrapped gcc, and .lib is the $lib from gcc
<clever> ,locate libstdc++.so.6
<{^_^}> Found in packages: robo3t, gcc-unwrapped.lib
<{^_^}> [nixpkgs] @volth opened pull request #66584 β†’ libvirt: 5.4.0 -> 5.6.0 β†’ https://git.io/fj5ih
<DigitalKiwi> hrm, maybe nixos-19.03 vs nixos-unstable intermixing problems
<DigitalKiwi> idk
eyJhb has quit [Quit: Bye]
<zmlww> clever: Can you point me to the nix expression where stdenv.cc.cc is defined? I'm still a bit confused by that. Also, is whatever the bot is doing with 'locate' available to me outside of IRC?
<gchristensen> yeah, via the command nix-locate in the nix-index package
eyJhb has joined #nixos
is_null has quit [Ping timeout: 245 seconds]
casaca has quit [Ping timeout: 248 seconds]
<zmlww> Thanks, that's really helpful.
is_null has joined #nixos
casaca has joined #nixos
eyJhb has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
eyJhb has joined #nixos
is_null has quit [Ping timeout: 258 seconds]
is_null has joined #nixos
bakakuna has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #66536 β†’ vimPlugins: turn filetype and syntax before sourcing the plugins β†’ https://git.io/fj5nf
<{^_^}> [nixpkgs] @kalbasit pushed to master Β« vimPlugins: turn filetype and syntax before sourcing the plugins (#66536) Β»: https://git.io/fj5Ps
waleee-cl has joined #nixos
casaca has quit [Ping timeout: 248 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
casaca has joined #nixos
<Shyim[m]> Hey guys, i have to use a crap software to connect to vpn. When i execute it i get the message
<Shyim[m]> Failed to execute process './netExtender'. Reason:
<Shyim[m]> The file './netExtender' does not exist or could not be executed.
<Shyim[m]> someone an idea how to solve this πŸ˜ƒ
o1lo01ol1o has joined #nixos
is_null has quit [Ping timeout: 248 seconds]
is_null has joined #nixos
turion has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
casaca has quit [Ping timeout: 268 seconds]
casaca has joined #nixos
o1lo01ol1o has joined #nixos
zeta_0 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 268 seconds]
<vika_nezrimaya> Right now my NixOS system turned into a... weird thing.
<vika_nezrimaya> It built natively a certain nix expression instead of cross-compiling when I wanted to cross-compile
<vika_nezrimaya> and now when I want a native build it either cross compiles or just... bails out with a weird error
o1lo01ol1o has joined #nixos
is_null has quit [Ping timeout: 244 seconds]
<worldofpeace> Shyim: It sounds like you're using an unpatched binary
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/2d05858567e (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
mexisme has joined #nixos
zeta_0 has quit [Quit: taking break]
ozychhi has joined #nixos
<gchristensen> those are gorgeous!
<ozychhi> Hey guys, when trying to install nixos on RHEL, I'm getting this error .../bin/nix-store: error while loading shared libraries: libnghttp2.so.14: cannot open shared object file: No such file or directory
<ozychhi> While trying to initialise nix db
mexisme has quit [Ping timeout: 246 seconds]
<DigitalKiwi> gchristensen: :D
is_null has joined #nixos
<{^_^}> [nixpkgs] @orivej-nixos merged pull request #65221 β†’ mysql80: init at 8.0.17 β†’ https://git.io/fjMVY
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @totten to master Β« mysql80: init at 8.0.17 (#65221) Β»: https://git.io/fj5P1
<DigitalKiwi> the last time you rt'd one i got like 24 likes and a few follows ;)
<vika_nezrimaya> ozychhi: try to install libnghttp2 on your RHEL first?
<DigitalKiwi> gchristensen: simon peyton jones's son even liked it
<gchristensen> :)
is_null has quit [Ping timeout: 258 seconds]
is_null has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #65403 β†’ dhcpcd: 7.2.3 -> 8.0.2 β†’ https://git.io/fjyLX
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to staging: https://git.io/fj5PQ
is_null has quit [Ping timeout: 246 seconds]
<nh2> dtz: are you around currently? I've got some musl troubles
is_null has joined #nixos
<alienpirate5> so I know that `nix run` replaces `nix-shell -p`, but is there a replacement for `nix-shell` (getting into a shell with all the deps of a package)?
<ozychhi> vika_nezrimaya It's actually installed already, I had a look at `ldd nix-store` and it points to the correct file :thinking: any ideas?
fendor_ has quit [Ping timeout: 245 seconds]
<vika_nezrimaya> No ideas
<vika_nezrimaya> alienpirate5: I sometimes still use nix-shell because it
<vika_nezrimaya> supports more than just packages
<gchristensen> nix-shell :)
<gchristensen> everybody uses nix-shell
<vika_nezrimaya> you can't make nix run "python3.withPackages (p: with p; [ redis requests cjson pandas flask ])"
<vika_nezrimaya> but nix-shell handles it cleanly
<vika_nezrimaya> except it overrides my PS1
<vika_nezrimaya> how can I make it not override my PS1?
<vika_nezrimaya> by the way, an awesome thing about Nix I've just discovered
o1lo01ol1o has quit [Remote host closed the connection]
<vika_nezrimaya> nix-copy-closure and nix-store --realize are best friends. Ran out of memory compiling GCC on your old RPi2? Just switch over to your laptop, pull dependencies in and --realize the build that was failing. Then (when it builds) I'll just copy it back and carry on :2
<vika_nezrimaya> :3
markus1189 has joined #nixos
<vika_nezrimaya> it feels so awesome
o1lo01ol1o has joined #nixos
<vika_nezrimaya> That way I can build stuff that is OOMing on my laptop and build stuff that glitches out because of QEMU on my RPi
<vika_nezrimaya> I heard that's called... synergy?
boxscape has quit [Remote host closed the connection]
mexisme has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
growpotk- has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @volth opened pull request #66585 β†’ [bot] name -> pname (easy cases) β†’ https://git.io/fj5XY
<alienpirate5> and here i am cross compiling all of nixos
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
xkapastel has joined #nixos
<alienpirate5> I'm having trouble cross compiling `pkgsCross.armv7l-hf-multiplatform.pango`
<alienpirate5> I'll post logs
selfsymmetric-pa has joined #nixos
<alienpirate5> here's a log
<nh2> alienpirate5: `FileNotFoundError: [Errno 2] No such file or directory: 'ldd': 'ldd'`
<alienpirate5> yeah
<alienpirate5> which I don't understand
mexisme has quit [Ping timeout: 244 seconds]
<alienpirate5> because compiling `pkgsCross.armv7l-hf-multiplatform.pango.overrideAttrs(oldAttrs: { nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [ pkgs.glibc ]; })` also fails
o1lo01ol1o has quit [Remote host closed the connection]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @volth closed pull request #66585 β†’ [bot] name -> pname (easy cases) β†’ https://git.io/fj5XY
o1lo01ol1o has joined #nixos
turion has quit [Ping timeout: 252 seconds]
mexisme has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #66586 β†’ libwnck3: 3.30.0 β†’ 3.32.0 β†’ https://git.io/fj5XK
o1lo01ol1o has joined #nixos
zeta_0 has joined #nixos
worldofpeace_ has quit [Ping timeout: 248 seconds]
zupo has joined #nixos
<nh2> alienpirate5: I don't know where `pkgs` comes from, but its it legitimate to pass a package coming from that into a `pkgsCross` package?
<alienpirate5> uh
<alienpirate5> it's `nativeBuildInputs` though right?
<nh2> ah hmm
<nh2> unfortunately I don't know too much about it because I've done only "fake" cross compilation from x86 to x86 so far
<nh2> would need to ask matthewbauer or some others who are really familiar with that
nschoe has joined #nixos
worldofpeace_ has joined #nixos
mexisme has joined #nixos
<vika_nezrimaya> nh2: fake cross-compilation? Could you point me to an explanation of this eldritch art?
<nh2> vika_nezrimaya: for example using the cross-compilation infrastructure to build everything on my computer with musl
<nh2> that's what I did before I could just use `pkgsMusl`
<vika_nezrimaya> you like optimisation I assume? I don't use musl myself but I heard its faster than glibc... and smaller
<symphorien> alienpirate5: maybe in cross compilation settings ldd is prefixed ? armv7l-hf-multiplatform-ldd
kenshinCH has quit [Quit: WeeChat 2.4]
<symphorien> oh well more like x86_64-linux-gnu-ldd
freeman42x has quit [Read error: Connection reset by peer]
<symphorien> also for cases where nativeBuildInputs does not work (overrides are one) you should use buildPackages.glibc iirc
freeman42x has joined #nixos
is_null has quit [Ping timeout: 246 seconds]
<vika_nezrimaya> ohhhh please don't tell me that my ldd is hanging...
<vika_nezrimaya> it's busy on one CPU core, heating my laptop, memory allocation is stable
<vika_nezrimaya> suspicious >.<
<vika_nezrimaya> I mean no program makes linker run for 1 hour of CPU time right? even when emulating
<vika_nezrimaya> 1 hour of CPU time
<vika_nezrimaya> not responding to SIGTERM
<clever> vika_nezrimaya: ive had problems before, where ld needed over 3gig of ram to link, and i was on a 32bit machine, lol
<vika_nezrimaya> It has allocated 4G of virtual memory... but MEM% in htop shows 0.1%
<vika_nezrimaya> my laptop has 6G of memory
shibboleth has quit [Quit: shibboleth]
<vika_nezrimaya> It basically hung on config.status: executing default commands
<vika_nezrimaya> I'm not sure what it means - never worked so closely with GCC build system before
<vika_nezrimaya> I'm not using ./configure in any of my projects even... they're all Python :3
selfsymmetric-pa has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chloekek has quit [Ping timeout: 272 seconds]
<nh2> I would be surprised if musl is faster; if I remember correctly, glibc has more hand-sped-up assembly. I use musl to build static executables, which can't really be done with glibc
<nh2> vika_nezrimaya: ^
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
stepcut has joined #nixos
stepcut has quit [Remote host closed the connection]
<etu> ,locate bin wish
<{^_^}> Found in packages: tk, tk-8_5
stepcut has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
stepcut has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dshkyra opened pull request #66587 β†’ terraform-providers: bump versions β†’ https://git.io/fj51P
bakakuna has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @volth reopened pull request #66585 β†’ [bot] name -> pname (easy cases) β†’ https://git.io/fj5XY
stepcut has joined #nixos
Ariakenom has quit [Quit: Leaving]
nschoe has quit [Quit: Program. Terminated.]
stepcut has quit [Remote host closed the connection]
<nh2> I have a weird situation that I think shouldn't be possible.
<nh2> I have a successfully built `darcs` package. I can run on it:
<nh2> This turns up `/nix/store/...-fontforge-20190413.drv`, which, when put into `nix-store -r`, fails to build.
<nh2> `nix-store -qR $(nix-store -qd /nix/store/...-darcs-2.14.2) | grep fontforge`
<nh2> How can I have built `darcs` when one of the build dependencies clearly can't build?
<symphorien> Maybe it was substituted
<{^_^}> [nixpkgs] @lschuermann opened pull request #66588 β†’ nixos-enter: add --silent to suppress activation script output β†’ https://git.io/fj51d
ixxie has quit [Remote host closed the connection]
<nh2> symphorien: but I'm building with sandbox, and hydra also does (I think), and the failure is a linker error, so who can originally have built the successful output?
<{^_^}> [nixpkgs] @mmahut opened pull request #66589 β†’ jormungandr: 0.3.1 -> 0.3.2 β†’ https://git.io/fj51p
<vika_nezrimaya> nh2: OOM condition possibly?
<nh2> vika_nezrimaya: no it's a linker error
<vika_nezrimaya> Cosmic rays? Moon phase? :3
<nh2> 3) Does `nix-store -r /nix/store/j2b6ji1xxcd7mfa7qm4kn8f8b5mpxh30-fontforge-20190413.drv --check` succeed?
<nh2> 1) Does `nix-store -r /nix/store/mxkwknn3s8d240wqhib06mx991fqmq27-dejavu-fonts-full-2.37.drv` fetch from cache.nixos.org?
<nh2> Can anybody check this for me?
<nh2> 2) Does `nix-store -qR /nix/store/mxkwknn3s8d240wqhib06mx991fqmq27-dejavu-fonts-full-2.37.drv | grep 'fontforge-[0-9]*.drv'` return `/nix/store/j2b6ji1xxcd7mfa7qm4kn8f8b5mpxh30-fontforge-20190413.drv`?
casaca has quit [Ping timeout: 248 seconds]
eof has joined #nixos
eof_ has quit [Ping timeout: 245 seconds]
<nh2> When I do (3) on my NixOS build machine with sandbox, I get a linker error
mexisme has quit [Quit: WeeChat 2.5]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/dae42566dbe (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
drewr has quit [Ping timeout: 264 seconds]
npmccallum has quit [Quit: npmccallum]
fragamus has joined #nixos
jlv has joined #nixos
<jlv> How would I add a fork of nixpkgs as a channel?
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<vika_nezrimaya> jlv: do you need to? you can just add it to your NIX_PATH, that would be usually enough :3
<vika_nezrimaya> But if you need it as a channel (which I understand; I like channels a lot because you can update them with a single command), you can add your git remote URL to channels I think
<vika_nezrimaya> It should be `nix-channel --add <url> <name>`, check the man-page for more info!
casaca has joined #nixos
<vika_nezrimaya> or is it <name> <url>?
<vika_nezrimaya> ughhhh I don
<nh2> does that work? The man page says `A channel URL should point to a directory containing the following files:` with some stuff that's normally not in a git repo
<jlv> vika_nezrimaya: I don't think I really need to. I just think it would be a nice and easy way add a package that I am writing, until the pull request goes through.
<jlv> nh2: That's what I was wondering about.
<vika_nezrimaya> jlv: to add new packages, I use a personal overlay. I structured mine not unlike nixpkgs to have an easier time merging stuff if I ever wanted to
<nh2> jlv: I *think* you could just use `nix-env -i` with NIX_PATH set
<jlv> vika_nezrimaya: I haven't looked into overlays yet
<vika_nezrimaya> jlv: I definitely recommend to look into them in your spare time, they are amazing!
<vika_nezrimaya> I plan to bundle an overlay with my piece of software which requires stuff not yet in nixpkgs to simplify installation
<vika_nezrimaya> Overlays let you add to nixpkgs without forking it
<jlv> That sounds useful :)
<vika_nezrimaya> and they're easily pluggable. An overlay inside a NixOS configuration is defined in nixpkgs.overlays list
<vika_nezrimaya> and you can drop a file or a folder into ~/.config/nixpkgs/overlays to add it to nix-env
casaca has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #66590 β†’ bdsync: 0.10.1 -> 0.11.1 β†’ https://git.io/fj5MW
sudoforge has joined #nixos
casaca has joined #nixos
mexisme has joined #nixos
<vika_nezrimaya> An overlay looks like this btw: (self: super: {newpackage = <...>;}) - basically it's a function that takes two arguments - self and super. IIRC, self is the state of nixpkgs AFTER all overlays applied - sounds a little bit weird, but possible due to how Nix is built; and super is state of nixpkgs just before your overlay. Take functions such as callPackage from self and dependencies from super, and you can make something like this:
<vika_nezrimaya> (self: super: { rejson = self.callPackage ./rejson.nix {}; }), while referencing another file. That file will contain an expression looking exactly like in nixpkgs, so you'll have an easy time contributing while still enjoying packages you haven't merged yet!
drewr has joined #nixos
<vika_nezrimaya> TL;DR: overlays are cool!
ng0 has quit [Quit: Alexa, when is the end of world?]
<vika_nezrimaya> A similar concept is a Gentoo overlay or Ubuntu's PPA
<vika_nezrimaya> (but Gentoo overlays are a bit closer)
<jlv> I'm constantly learning cool new things about NixOS. Very glad I switched :)
<vika_nezrimaya> same here :3
<vika_nezrimaya> so easy to set up developer environments
<vika_nezrimaya> I want to learn Go so I'll need to research the most nix-friendly ways to develop new Go applications :3
<vika_nezrimaya> But for Python... it's a perfect fit
v0|d has quit [Remote host closed the connection]
v0|d has joined #nixos
groggy42[m] has joined #nixos
kleisli_ has joined #nixos
<jlv> Hmm, looking at the channel format, it looks like the nixpkgs repository already meets the requirement, if I could just get a url with the github fork in a nixexprs.tar.xz
<jlv> It would be really handy if nix-channel had a way to treat a github repo as a channel
<{^_^}> [nixpkgs] @jtojnar merged pull request #66586 β†’ libwnck3: 3.30.0 β†’ 3.32.0 β†’ https://git.io/fj5XK
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/fj5M6
<gchristensen> jlv: it can!
<jlv> :D
<jlv> Please enlighten me!
<gchristensen> `nix-channel --add https://github.com/LnL7/nix-darwin/archive/master.tar.gz darwin` for example
<jlv> Nice :D
<jlv> That should probably be in the man page (unless it is and I just missed it)
<gchristensen> it probably should be, indeed
<{^_^}> [nixpkgs] @volth reopened pull request #66453 β†’ buildPerlPackage: phase out "name" β†’ https://git.io/fj719
<Dandellion[m]> Nix overlays are also really great for rust, and mozilla even has their own official overlay!
zupo has joined #nixos
<colemickens> does buildGoModule work differently than buildGoPackage with regards to PREFIX and makefiles?
<colemickens> I'm trying to bump `gopass` to a HEAD and its now using Go modules, but it seems to still call `make install`, I think, to install completions.
<colemickens> But before, the completions installed correctly, and now its trying to isntall to /share, I think because PREFIX isn't set.
lambda-11235 has quit [Quit: Bye]
ilya-fedin has quit [Quit: Connection closed for inactivity]
sigmundv_ has joined #nixos
<{^_^}> [nixpkgs] @aanderse opened pull request #66591 β†’ zabbixProxy: fix database initialization logic β†’ https://git.io/fj5M5
<worldofpeace> colemickens: I don't think it ever used make
<worldofpeace> I think it was done manually
<colemickens> ah yeah, jeez, it's in postInstall.
<colemickens> I wonder what is going wrong now then :/ hm.
<worldofpeace> maybe post what you have colemickens maybe I can help. If we want to use make we could null the right phases
<{^_^}> [nixpkgs] @kalbasit opened pull request #66592 β†’ pythonPackages: update azure β†’ https://git.io/fj5Df
sudoforge has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
sudoforge has joined #nixos
lambda-11235 has joined #nixos
lambda-11235 has quit [Client Quit]
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66422 β†’ icedtea_web: 1.7.1 -> 1.8.3 (fixes CVE-2019-10185, CVE-2019-10181, CVE-2019-10182) β†’ https://git.io/fj7ac
<{^_^}> [nixpkgs] @worldofpeace pushed 5 commits to master: https://git.io/fj5Dl
<{^_^}> [nixpkgs] @aaronjanse opened pull request #66593 β†’ nixos/modules/misc/crashdump: remove idle=poll β†’ https://git.io/fj5D8
o1lo01ol1o has quit [Ping timeout: 248 seconds]
lambda-11235 has quit [Client Quit]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtojnar has quit [Ping timeout: 258 seconds]
is_null has joined #nixos
jtojnar has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
<{^_^}> [nixpkgs] @aaronjanse opened pull request #66594 β†’ maintainers list: remove my gpg keys (super quick PR) β†’ https://git.io/fj5Dw
fragamus has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
is_null has quit [Ping timeout: 245 seconds]
is_null has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66593 β†’ fix crashDump overheating β†’ https://git.io/fj5D8
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5DH
<gchristensen> :o
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66594 β†’ maintainers list: remove my gpg keys (super quick PR) β†’ https://git.io/fj5Dw
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fj5DQ
<jlv> Whelp, looks like I managed to mess something up. I am getting "Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist" when running `nixos-rebuild`
<jlv> Running `sudo nix-channel --list` does show a `nixos` channel.
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @aaronjanse to release-19.03 Β« nixos/modules/misc/crashdump: remove idle=poll (fix #66464) Β»: https://git.io/fj5D7
Neo-- has joined #nixos
<clever> jlv: did you run nix-channel --update yet?
<clever> jlv: try all of the nix-channel things again, under `sudo -i`
<jlv> I haven't run it since `nixos-rebuild` last worked, but I'll try anyway
<jlv> I assume it has something to do with me running `nixos-rebuild` with `-I nixpkgs=...`
<clever> jlv: that shouldnt break it
<jlv> Looks like `nix-channel --update` fixed it :) I didn't think I would need to do an update since it worked the last time I ran `nixos-rebuild` without -I
<clever> jlv: --update is always needed after --add or --remove
<jlv> Even on a channel you didn't add? I ran `nix-channel --update` on just the channel I added.
<jlv> (didn't just add)
<clever> jlv: could be you did something else to delete it and forgot
<clever> and -I nixpkgs= makes it work with it missing
<jlv> I can't think of anything, but who knows Β―\_(ツ)_/Β―
fragamus has joined #nixos
erasmas has quit [Quit: leaving]
fragamus has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
<{^_^}> [nixpkgs] @fmpwizard opened pull request #66595 β†’ go: 1.12.7 -> 1.12.8, 1.11.12 -> 1.11.13 β†’ https://git.io/fj5Dj
<pie__> does that sandbox support nesting containers_
jlv has quit [Remote host closed the connection]
alex`` has quit [Ping timeout: 248 seconds]
<alienpirate5> `pkgsCross.armv7l-hf-multiplatform.pango` refuses to build because it cannot find `ldd`: https://hastebin.com/odozinabum
<alienpirate5> what can i do to try to fix this error?
growpotk- has joined #nixos
sigmundv_ has quit [Ping timeout: 244 seconds]
<dansho> does anybody have a working ue4 expression?
<pie__> just shot myself in the foot by not pinning, and i know better. tsk tsk :)
<{^_^}> [nixpkgs] @emilazy opened pull request #66596 β†’ Update PyPy and FOSS EDA tools β†’ https://git.io/fj5yl