andi- changed the topic of #nixos to: NixOS stable: 19.09 \o/ https://discourse.nixos.org/t/nixos-19-09-release/4306/2 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || use ,channels for a list of Nix* related channels || nixcon videos: https://tinyurl.com/nixcon2019 || Link to the output of nix-info
Rusty1 has quit [Remote host closed the connection]
xelxebar has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #83389 → python3Packages.xdg: init at 4.0.1 → https://git.io/JvSHb
xelxebar has joined #nixos
<judson_> I can gist it, but requirements.nix is a generated file.
<judson_> Is pypi2nix still live?
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #83290 → gn: 20190403 -> 2020-03-09 → https://git.io/Jvyd4
<{^_^}> [nixpkgs] @primeos pushed 3 commits to staging: https://git.io/JvSHj
freepotion has joined #nixos
erasmas has joined #nixos
<freepotion> Hey all! Could someone please take a look at my PR (and merge it if possible)? https://github.com/NixOS/nixpkgs/pull/82903 Cheers! O:3
<{^_^}> #82903 (by freepotion, 6 days ago, open): ivan: add full iconset
cr4y1_ has quit [Ping timeout: 250 seconds]
freepotion has quit [Remote host closed the connection]
erasmas has quit [Ping timeout: 260 seconds]
ivan has left #nixos [#nixos]
vandenoever has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83390 → seaview: 5.0 -> 5.0.2 → https://git.io/JvSQc
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<{^_^}> [nixpkgs] @primeos opened pull request #83391 → nixosTests.installer: Don't wait for the nixos-manual service → https://git.io/JvSQ4
vandenoever has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Ma27 opened pull request #83392 → Revert "nixos-container: use systemd-run instead of nsenter" → https://git.io/JvSQ2
erictapen has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @Ma27 closed pull request #82176 → hydra: 2020-02-06 -> 2020-03-04 → https://git.io/Jvo1M
erictapen has joined #nixos
<{^_^}> [nixpkgs] @jonringer pushed commit from @dkudriavtsev to master « hercules: init at 3.13 »: https://git.io/JvSQX
<{^_^}> [nixpkgs] @jonringer merged pull request #79069 → hercules: init at 3.13 (attempt 2) → https://git.io/JvsIJ
<{^_^}> [nixpkgs] @marsam opened pull request #83393 → fluent-bit: 1.3.11 -> 1.4.0 → https://git.io/JvSQS
mbrgm_ has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
mbrgm has quit [Ping timeout: 256 seconds]
mbrgm_ is now known as mbrgm
<icey__> I'm trying to setup a nginx server according to this tutorial: https://www.portent.com/blog/design-dev/github-auto-deploy-setup-guide.htm
<icey__> The gist being, that I would like to have a cron job or systemd timer that periodically fetches from github and thus updates the contents of the nginx server
<icey__> however, I can't find an intelligent way how to clone the repo using configuration.nix
<icey__> any ideas?
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83394 → sudo: 1.8.31 -> 1.8.31p1 → https://git.io/JvS7m
jumper149 has quit [Quit: WeeChat 2.7.1]
<pjt_014> I can't think of a config option that does this
m0rphism has quit [Ping timeout: 256 seconds]
<pjt_014> BUT, you could certainly use Cron or Fcron.
<pjt_014> actually, I think the pkgs package has a fetchFromGithub function
<icey__> ya, the periodic fetch i'm not too worried about that
<icey__> it's more like the initial clone...
<icey__> but the fetch func might do the trick
<icey__> i'll think about it
<cole-h> tbh I'd just use git directly in that scenario
<cole-h> Otherwise you end up cloning the entire repo every time fetch* runs
<cole-h> Whereas if you use git directly, you can just pull the changes.
<icey__> bash script? if the dir exist, fetch, otherwise clone
<icey__> somethign like that
dermetfan has quit [Ping timeout: 246 seconds]
drakonis has quit [Ping timeout: 260 seconds]
<pjt_014> If there's a fetchGit function or something that'd work. I've only ever seen them in pkg defs but I think you can use them in config.nix
<bqv[m]> icey__:
<pjt_014> like boot.plymouth.logo has one as an example
<bqv[m]> i pushed this just for you
<cole-h> pjt_014: There is a fetchgit, but again, it would fetch the entire repository every time it runs, which will add up over time if you have a fixed amount of bandwidth
arahael2 has quit [Ping timeout: 264 seconds]
<pjt_014> you sure there isn't a wrapper around just Git itself though?
<icey__> I was looking at the options, git doesn't really have anything
<icey__> neither in home-manager
<icey__> I mean, there definitely is fetchFromGitHub
<cole-h> pjt_014: That wouldn't help because it would still need to be copied into the nix store every time it runs...
<icey__> and if it creates a repo, then that'd be the initial clone
ivan has joined #nixos
<icey__> well, the cron job just does a `git fetch && git checkout --force`
<icey__> or the moral equivalent
<icey__> it doesn't clone anymore
CRTified has joined #nixos
<cole-h> The nix store is not writable
<icey__> ah, so that's a problem.
<icey__> In that case, it's probably easiest to check in the cron job if it's already cloned
<icey__> if yes, then fetch and clone otherwise
teto has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #83395 → pueue: 0.1.6 -> 0.2.1 → https://git.io/JvS7R
<pjt_014> also, isn't gitfs broke?
<pjt_014> It was last time I checked
<pjt_014> hold on
<pjt_014> yep:
<pjt_014> OSError: [Errno 2] No such file or directory: '/var/lib/gitfs/tmphZIS44
<bqv[m]> make that directory
<bqv[m]> /var/lib/gitfs
<bqv[m]> that's why i put that in the module's execstartpre...
<bqv[m]> it works fine
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83396 → spice-vdagent: 0.19.0 -> 0.20.0 → https://git.io/JvS7E
<pjt_014> coulda sworn it actually did make the dir itself
<pjt_014> hm
<icey__> that's actually pretty cool, thanks
<bqv[m]> np
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83391 → nixosTests.installer: Don't wait for the nixos-manual service → https://git.io/JvSQ4
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JvS7u
is_null has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #83397 → xonsh: 0.9.14 -> 0.9.15 → https://git.io/JvS7P
<{^_^}> [nixpkgs] @marsam merged pull request #83333 → wal-g: 0.2.14 -> 0.2.15 → https://git.io/JvSsJ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvS71
<{^_^}> [nixpkgs] @marsam merged pull request #83358 → python27Packages.python-stdnum: 1.12 -> 1.13 → https://git.io/JvSg5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvS7M
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JvS7y
wiml has quit [Quit: wiml]
<{^_^}> [nixpkgs] @bhipple merged pull request #83070 → cargo edit: 0.5.0 -> 0.6.0 → https://git.io/JvS79
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvS7H
<{^_^}> [nixpkgs] @marsam merged pull request #83262 → v2ray: 4.22.1 -> 4.23.0 → https://git.io/JvyV1
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvS7Q
<{^_^}> [nixpkgs] @nh2 merged pull request #83394 → sudo: 1.8.31 -> 1.8.31p1 → https://git.io/JvS7m
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to staging: https://git.io/JvS7d
iyzsong has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #83338 → lxd: 3.22 -> 3.23 → https://git.io/JvSsp
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JvS7b
mexisme has joined #nixos
cosimone_ has quit [Quit: Quit.]
<{^_^}> [nixpkgs] @Ericson2314 merged pull request #83292 → lib/systems: Add Genode platform definitions → https://git.io/JvyF8
<{^_^}> [nixpkgs] @Ericson2314 pushed 2 commits to master: https://git.io/JvS7N
Athas has quit [Ping timeout: 268 seconds]
bsima has quit [Read error: Connection reset by peer]
bsima has joined #nixos
Athas has joined #nixos
c_wraith has quit [Ping timeout: 268 seconds]
c_wraith has joined #nixos
arahael2 has joined #nixos
is_null has joined #nixos
captjakk_ has joined #nixos
captjakk has quit [Ping timeout: 240 seconds]
sigmundv_ has quit [Ping timeout: 260 seconds]
pistache has quit [Ping timeout: 240 seconds]
LysergicDreams has quit [Ping timeout: 264 seconds]
LysergicDreams has joined #nixos
foldingcookie has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83398 → solr: 8.4.1 -> 8.5.0 → https://git.io/JvS5y
ZaraChimera has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83399 → subunit: 1.1.0 -> 1.4.0 → https://git.io/JvS5Q
<hexo_> how is this possible, please?
<hexo_> /nix/store/q7611jb12r1jy21dxj9sdgnnyrzfj62y-bootstrap-stage1-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
<hexo_> :D
<hexo_> configure flags: --disable-dependency-tracking --prefix=/nix/store/7x0j6i2vxphcza9cbgni7mq4xpjngya1-gnum4-1.4.18 --with-syscmd-shell=/nix/store/6hh033xnhv4hc2kh10xpql4jmdqisxzg-bootstrap-tools/bin/bash
<hexo_> $ file /nix/store/6hh033xnhv4hc2kh10xpql4jmdqisxzg-bootstrap-tools/bin/bash/nix/store/6hh033xnhv4hc2kh10xpql4jmdqisxzg-bootstrap-tools/bin/bash: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /nix/store/6hh033xnhv4hc2kh10xpql4jmdqisxzg-bootstrap-tools/lib/ld64.so.2, for GNU/Linux 2.6.32, stripped
CMCDragonkai1 has joined #nixos
wiml has joined #nixos
<pjt_014> at a guess, someone missed a dependency somewhere
<hexo_> can i fix it somehow?
<hexo_> pretty please
<pjt_014> I can try
<pjt_014> what were you trying to do?
<hexo_> please note this is ppc64le
<pjt_014> ooh spicy
<hexo_> NIX_PATH=/home/hexo/src nix-shell -p hello
<hexo_> and what i have is
<hexo_> made nixpkgs/pkgs/stdenv/linux/bootstrap-files/ppc64le.nix
<hexo_> with
<hexo_> {
<hexo_> busybox = /home/hexo/src/ivory-tower-nix/busybox;
<hexo_> bootstrapTools = /home/hexo/src/ivory-tower-nix/bootstrap-tools.tar.xz;
<hexo_> }
<simpson> ldd it? Is that interpreter present and executable? ldd the interpreter? "bad interpreter: permission denied" usually meens something doesn't have +x. It *could* also mean that you're trying to run a binary which isn't loadable on your architecture, I guess, which is a danger in your current situation.
erasmas has joined #nixos
<hexo_> $ uname --m
<hexo_> ppc64le
<hexo_> $ ll /bin/sh
<hexo_> lrwxrwxrwx 1 root root 4 Sep 1 2019 /bin/sh -> dash
<hexo_> i can start sh normally
<hexo_> /nix/store/6hh033xnhv4hc2kh10xpql4jmdqisxzg-bootstrap-tools/bin/bash
<hexo_> even this
<hexo_> it starts
<energizer> what is the purpose of gitAndTools?
<pjt_014> to contain git related stuff
<simpson> > gitAndTools.git-annex # energizer: If literally nothing else, a few useful utils are only here at top-level
<pjt_014> like git-annex
<{^_^}> "<derivation /nix/store/nnqhl82ywz6dhm3w3w582hdqmdh0zw2i-git-annex-8.20200309.drv>"
wiml has quit [Quit: wiml]
<energizer> > nixpkgs.git-annex
<{^_^}> undefined variable 'nixpkgs' at (string):292:1
<energizer> > git-annex
<{^_^}> undefined variable 'git-annex' at (string):292:1
<pjt_014> > pkgs.gitAndTools.git-annex
<energizer> ok
<{^_^}> "<derivation /nix/store/nnqhl82ywz6dhm3w3w582hdqmdh0zw2i-git-annex-8.20200309.drv>"
<pjt_014> huh. that's the syntax here?
<pjt_014> > pkgs.gitAndTools.grv
<simpson> Mind-reading a bit, I think that the reason for the scope and bindings is that git-oriented tooling usually desires ambient authority over various binaries that need to be discovered at runtime.
erasmas has quit [Ping timeout: 264 seconds]
<{^_^}> "<derivation /nix/store/kpsdl0lisy4npfyrvsq0ddgyjlfrs88p-grv-0.3.1.drv>"
<simpson> pjt_014: Yeah, it's like $(nix repl).
thc202 has quit [Ping timeout: 260 seconds]
<pjt_014> that reminds me: is the repl a good place to fix broke pkgs? I know of one in nixpkgs that's refusing to build, which is a bit concerning since it's a single C file and header
<simpson> The best way to fix nixpkgs is to make a git checkout of nixpkgs, IMO. The REPL can be run from within a git checkout of nixpkgs in order to test changes, sure.
<{^_^}> [nixpkgs] @jtojnar opened pull request #83400 → malcontent: 0.6.0 → 0.7.0 → https://git.io/JvSdG
<pjt_014> hm. on an extremely related note, would that be in/alongside ../pkgname/default.nix?
h0m2 has quit [Ping timeout: 246 seconds]
slack1256 has joined #nixos
<simpson> Probably.
h0m2 has joined #nixos
<pjt_014> makes sense. Time to start trying semi-random stuff.
<pjt_014> also one last thing I can think of right now: do you happen to know what tic is imported from?
<{^_^}> [mobile-nixos] @samueldr opened pull request #105 → Enable CONFIG_USB_RTL815* options for multiple devices → https://git.io/JvSd0
<ashkitten> is there an environment variable to temporarily disable the sandbox?
<simpson> ,locate bin/tic
<{^_^}> Found in packages: ncurses, ncurses5
<pjt_014> simpson: thanks
<pjt_014> ashkitten: in nix.conf
<pjt_014> sandbox can be set to false
<pjt_014> not sure about an env var
<ashkitten> pjt_014: in nixos isn't the nix configuration managed by a nixos module?
<ashkitten> i don't think i can just edit nix.conf
<hexo_> --option sandbox false ?
<simpson> nix.conf does work, I thought?
<hexo_> i saw something like that in docs today
<pjt_014> I think they only want it disable for a one-off build
<ashkitten> well, i need it until i can disable it system wide
<ashkitten> because cgroups don't work under this device's kernel so the sandbox is broken
<ashkitten> so i can't rebuild with it enabled
<cole-h> In which case `--option sandbox false` works for single builds
<cole-h> Or should work
<pjt_014> might be --argstr or --arg instead
* cole-h is not on NixOS and so cannot corroborate whether or not this is true
<cole-h> It's not
<ashkitten> i also need to do `nix-channel --update` without the sandbox
<ashkitten> nix-channel doesn't seem to take args
<samueldr> ashkitten: you can `mv /etc/nix /etc/something_else` and create copy back the configuration into a fresh nix folder to unbreak / make nix usable
<samueldr> /etc/ is kinda hybrid in being managed by nix
<bsima> i need to package a python program with bindings to a c library, are there any examples or docs on this?
<energizer> how do i fetchurl from ssh instead of http?
<hexo_> is /bin/sh supposed to be in bootstrap-tools.tar.xz, pretty please?
<energizer> bsima: do you already have a working setup.py?
<hexo_> i have bash, no sh, not even symlink
<ashkitten> thx samueldr, that worked
<bsima> energizer: yeah it is here https://github.com/clab/dynet/blob/master/setup.py
<bsima> energizer: maybe use netrc for the fetchurl thing? https://github.com/NixOS/nixpkgs/issues/32732
<{^_^}> #32732 (by bobvanderlinden, 2 years ago, closed): fetchurl for private resources
<energizer> bsima: idk if there's a guide, but have you looked at some of the popular python libraries that use C?
slack1256 has quit [Ping timeout: 250 seconds]
<bsima> nat yet, i think numpy uses c? i'm not super familiar
<simpson> hexo_: My next steps would be ldd and strace. ldd might help show what's wrong with the ELF binaries involved; strace can reveal which syscall is failing and why.
<{^_^}> [nixpkgs] @i077 opened pull request #83401 → python3Packages.ptpython: 2.0.6 -> 3.0.1 → https://git.io/JvSdr
jlv has joined #nixos
jluttine has quit [Ping timeout: 250 seconds]
is_null has quit [Read error: Connection reset by peer]
<jlv> How can I change the uid of a user? Changing the `users.users.<name>.uid` option results in a warning that the uid will not be changed.
<energizer> bsima: numpy uses c and fortran. scipy, psycopg2, and many others also use C
<hexo_> simpson: ill try ldd and strace, let me see what happens
* hexo_ still feels like without hands dealing with this :D
<simpson> No worries. Doing cross-compilation and bootstrapping is an adventure.
<colemickens> how do I do nix-copy-closure --from file:///path like I can do with `nix copy`?
<hexo_> cross-compile did someone else
<colemickens> I think I'm on a box where I can't use `nix copy`.
<hexo_> i'm fighting it on ppc64le side now
<hexo_> and still have no idea what i'm doing
<hexo_> (a little bit)
<hexo_> :D
<hexo_> could just the package be broken?
<hexo_> and it is it?
<hexo_> so if i patch broken configure somehow, it should work?
<hexo_> isn't it that it's just not in dependencies, somehow?
<simpson> Possibly. But also could be a situation where your existing userland isn't lined up with what the bootstrapping tools need.
<cole-h> colemickens: Not even by passing the feature flag that enables use of the nix2 command?
<hexo_> or is this stupid thinking?
<hexo_> hmmmm
<cole-h> colemickens: `--experimental-features nix-command` I think it is
is_null has joined #nixos
<pjt_014> colemickens: If you don't mind the clunkiness I think you could also possibly use nix-store --serve to 'serve' it and then consume it with nix-copy-closure --from localhost://..
oida has quit [Ping timeout: 240 seconds]
<pjt_014> or not, but hey, trying stuff is fun :D
<colemickens> I wound up using the experimental feature. I'm trying to write a script so that workaround would require some book-keeping.
<colemickens> If I didn't have the xperimental feature, I was going to go there.
<colemickens> Or just forward ssh and ssh://localhost ;)
<colemickens> forward ssh agent* that is
jluttine has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<{^_^}> [nixpkgs] @vbgl opened pull request #83402 → ocamlPackages.gnuplot: 0.5.3 → 0.7 → https://git.io/JvSdN
<{^_^}> [nixpkgs] @jtojnar opened pull request #83403 → GNOME fixes → https://git.io/JvSdA
oida has joined #nixos
<{^_^}> [nixpkgs] @vaibhavsagar opened pull request #83404 → haskell.compiler.ghc8101: update → https://git.io/JvSFe
jlv has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<{^_^}> [nixpkgs] @vaibhavsagar closed pull request #83404 → haskell.compiler.ghc8101: update → https://git.io/JvSFe
cjpbirkbeck has joined #nixos
jtojnar_ has joined #nixos
jtojnar_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83405 → tor: 0.4.2.6 -> 0.4.2.7 → https://git.io/JvSFq
felixfoertsch has quit [Ping timeout: 272 seconds]
felixfoertsch23 has joined #nixos
inkbottle has quit [Ping timeout: 240 seconds]
zebrag has joined #nixos
<{^_^}> [nixpkgs] @bbigras opened pull request #83406 → nixos/pixiecore: init → https://git.io/JvSFK
oida has quit [Ping timeout: 240 seconds]
<gchristensen> danderson: ^
<danderson> gchristensen: \o/
oida has joined #nixos
<samueldr> correct me y'all if I'm wrong
<samueldr> but we don't open ports by default
<samueldr> (except for ssh)
<danderson> I thought we did, if it's behind an mkIf blah.enable
<gchristensen> yep
<gchristensen> not by default
<danderson> i.e. if you explicitly turned on the service, we open the firewall for you
<{^_^}> [nixpkgs] @bhipple opened pull request #83407 → sudo: switch download from FTP to HTTPS → https://git.io/JvSFd
<gchristensen> only for SSH
<danderson> oh. So even if I explicitly set pixiecore.enable=true, we want the service to be broken unless I also pixiecore.openFirewall=true?
<danderson> mildly confused because I didn't think I was doing that for other services of mine that are just reachable with .enable... hmm.
<gchristensen> better to leave it up to the user so they can configure their firewall how the ywish
<samueldr> if I enable a service, it doesn't mean it should be reachable from the outside
<danderson> oh yeah, how about that, I'm just entirely misremembering
drakonis has joined #nixos
<danderson> (that my config doesn't have these - but no, I have enable/openFirewall pairs all over)
<danderson> (sent comment to PR to this effect)
<danderson> hm, do nixos modules have a meta + maintainers?...
<samueldr> they can!
<danderson> yeah, looks like one of the modules I sent in has meta.maintainers at least
thomashoneyman has joined #nixos
<{^_^}> [nixpkgs] @bhipple merged pull request #79581 → fetchzip, fetchgit: cleanup handling of optional features and whitespace → https://git.io/Jvnpy
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSFA
pluplog has joined #nixos
<thomashoneyman> For those of you who occasionally need to use software not available for Linux (for example, music software which only works on Windows or MacOS), other than dual booting, how do you do it?
<thomashoneyman> Is my best bet to install some sort of virtual machine and run Windows in it?
<simpson> I modified my desires, and sometimes my USB drivers. Which software do you need? There's no substitute for Windows itself, but sometimes Wine is sufficient.
<thomashoneyman> I used to work in music and have some mixes I was going to update. Most of the plugin manufacturers don't make anything Linux-compatible (Steven Slate, etc.)
<thomashoneyman> Wine could possibly be sufficient, though the main thing other folks seem to run into is problems with activation / licensing
<thomashoneyman> especially as most of this is guarded by an iLock usb device with licenses on it
<thomashoneyman> in the worst case i could dual boot windows
erasmas has joined #nixos
<wedens[m]> thre are a lot of non-ilock plugins that work great with wine
<{^_^}> [nixpkgs] @bhipple merged pull request #83405 → tor: 0.4.2.6 -> 0.4.2.7 → https://git.io/JvSFq
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSFh
<thomashoneyman> wedens[m]: in this case i'm tied to ilock as they're existing projects relying on iLock-based plugins
<wedens[m]> also you can create a windows VM with usb controller passthrough
<thomashoneyman> have a link that might help me see how to do that ^ ?
<thomashoneyman> thanks!
<wedens[m]> you'll mostly see vfio being mentioned in context of gpu passthrough but it can be used for almost any device
erasmas has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bhipple merged pull request #83393 → fluent-bit: 1.3.11 -> 1.4.0 → https://git.io/JvSQS
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSbz
<arcnmx> and some gpus include a usb controller..!
orivej has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bhipple pushed to revert-79581-feature/fetcher-whitespace-clean « Revert "fetchzip, fetchgit: cleanup handling of optional features and whitespace" »: https://git.io/JvSbg
sevanspowell has quit [Excess Flood]
sevanspowell has joined #nixos
thomashoneyman has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @bhipple opened pull request #83408 → Revert "fetchzip, fetchgit: cleanup handling of optional features and whitespace" → https://git.io/JvSba
<{^_^}> [nixpkgs] @bhipple merged pull request #83408 → Revert "fetchzip, fetchgit: cleanup handling of optional features and whitespace" → https://git.io/JvSba
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSbV
<bqv[m]> hey
<bqv[m]> what does lorri do
<bqv[m]> beyond direnv
<clever> bqv[m]: do the builds in the background
<DigitalKiwi> keeps roots too right?
<clever> yeah
<bqv[m]> hm, ok
<bqv[m]> why not, i guess
<DigitalKiwi> not that anyone is getting on planes much but no more getting on a plane and 'oh no everything got garbage collected'
<bqv[m]> yeah
<bqv[m]> that has been a problem for me, actually
<DigitalKiwi> i think that alone sold me on it and then the editor integrations i get out of the deal are nice too...
cruxeternus has quit [Ping timeout: 256 seconds]
cruxeternus has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
<bqv[m]> ok
<bqv[m]> is there a way to have a .envrc that fallsback to direnv if lorri isn't running?
<cole-h> Not sure I understand
<cole-h> direnv and lorri are made to be used together, from my understanding
<wedens[m]> envrc is just a shell script
jlv has joined #nixos
<wedens[m]> cole-h: no. direnv is its own thing orthogonal to Nix
<cole-h> Then lorri was made to be used with direnv
<bqv[m]> i think i've misunderstood too. so with a "use nix" .envrc, when i enter a directory, the shell gets built and setup. with lorri, it doesn't if the lorri daemon is not running
<bqv[m]> is there a way i can make lorri fallback to "use nix" so that if lorri isn't running, the shell still gets set up?
<wedens[m]> lorri repo itself has an example: https://github.com/target/lorri/blob/master/.envrc
<wedens[m]> just add condition that checks lorri process is running
<bqv[m]> badass
<bqv[m]> ok
<cole-h> Curious why you wouldn't opt for a systemd service for lorri, so it's always running?
<bqv[m]> i do
<bqv[m]> i have services.lorri.enable
<bqv[m]> but not everyone will
<bqv[m]> so in the situation that someone clones this, it'd be nice if they can settle for direnv
<bqv[m]> and not have to install and run lorri
<DigitalKiwi> when did that become a thing :o
<DigitalKiwi> (services.lorri.enable)
<cole-h> (Pretty sure it's home-manager, not NixOS)
<bqv[m]> that option is, yes
<jlv> Does anyone know how home-manager looks for its lock file? I'm in the process of changing my username, and I keep running into an error with home-manager: "error: opening lock file '/nix/var/nix/profiles/per-user/OLD_USERNAME/profile.lock': No such file or directory". It keeps wanting to look in an old username directory, and I can't figure out
<jlv> why.
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<DigitalKiwi> https://mostlyabsurd.com/files/lorri.sh.txt i have that as ~/bin/lorri.sh and ~/bin/lorri-env/ has https://www.mostlyabsurd.com/files/lorri-env/shell.nix am happy with it i can tail the log if i need to but don't normally
<{^_^}> [nixpkgs] @bhipple merged pull request #83330 → [20.03] protonvpn-cli-ng: 2.2.0 -> 2.2.2 → https://git.io/JvS3u
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-20.03: https://git.io/JvSNG
<cole-h> jlv: -> #home-manager
<{^_^}> [nixpkgs] @bhipple merged pull request #83328 → [19.09] protonvpn ng 2.2.0 to 2.2.2 → https://git.io/JvS3s
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to release-19.09: https://git.io/JvSNn
<cole-h> May have better luck there
chagra has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @bhipple merged pull request #83278 → matcha: 2020-03-15 -> 2020-03-24 → https://git.io/JvyHf
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSNo
shor has joined #nixos
<shor> Is it possible to install nixos Loris without an internet connection?
<drakonis> if you only use packages in the install media?
<shor> I have not specified any packages, and am attempting with the --no-bootloader option, but the first package it attempts to build is bash and defaults to downloading it
<shor> I also tried --option substitute false (this typically causes my workstation to rebuild offline without pulling in narinfo files) but to no avail
<etu> shor: Maybe using substitutes for the cache server and have it locally somewhere and that you have managed to cache all needed files.
<DigitalKiwi> --option substituters '' ?
<DigitalKiwi> curious, how come you don't have an internet connection?
<shor> all variants --option (substitute | substituters) ('' | false) fail
<shor> It is a little test box without a wireless nic and a damaged ethernet port
<shor> and to further educate myself on how nix pulls its packages
endformationage has quit [Quit: WeeChat 2.6]
ddellacosta has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @bhipple merged pull request #82992 → metals: 0.8.2 -> 0.8.3 → https://git.io/JvSAn
<{^_^}> [nixpkgs] @bhipple pushed 2 commits to master: https://git.io/JvSAc
<shor> funny is that it seems to be trying to get bash from a gnu mirror
<danderson> Is there a quote file around here? Because I nominate "<simpson> I modified my desires, and sometimes my USB drivers."
<cole-h> haha
<cole-h> infinisil: ^ Make it so
<jlv> I think I've made some progress with my lock file error. It looks like the lock file is actually managed by `nix-env`, not home-manager itself.
<jlv> With that in mind, where is the state for `nix-env` stored?
shafox has joined #nixos
<DigitalKiwi> shor: oh i have an idea
<pjt_014> I'm trying to find it rn
<DigitalKiwi> shor: nix-serve might be useful
<pjt_014> lsof should be able to
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/1a547435d17 (from 31 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/6f11edab638 (from 12 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<shor> DigitalKiwi: will look into it
<pjt_014> well lsof tells me I have 128,839 files open. That's a start.
<shor> right now I'm copying the installation media's store structure and examining the script for nixos-install
<peelz> What's the difference between nix.optimise.automatic and nix.autoOptimiseStore?
<shor> from what I see nixos-install doesn't pass any options from the option flag to the nix-build
<pjt_014> jlv: it looks like the state of nix-env is also stored in the...store. The only other files I saw it open were a few sockets.
<pjt_014> ...but I also can't find any imperative packages in it. Hm.
<jlv> pjt_014: I managed to figure it out. The issue was the ~/.nix-profile link. Removed it and everything works.
jlv has quit [Remote host closed the connection]
<pjt_014> Hm. Well that's one problem down.
drakonis has quit [Ping timeout: 246 seconds]
<pjt_014> I'm still curious where that state is though...
<pjt_014> okay
<pjt_014> I really shoulda looked there first
<pjt_014> it's in the nix-env man page
<pjt_014> NIX_STATE_DIR
<pjt_014> ...or not? I don't have that var. weird.
<pjt_014> ...but It's okay anyway I guess because I found it. $NIX_USER_PROFILE_DIR/profile/manifest.nix seems to be the right file. It has all the things I've installed imperatively.
<pjt_014> That's another problem solved then. Thank you for coming to my TED talk.
lovesegfault has quit [Ping timeout: 256 seconds]
delan has quit [Quit: ZNC - http://znc.in]
delan has joined #nixos
delan has joined #nixos
delan has quit [Changing host]
remirol has joined #nixos
lorimer has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83409 → xscreensaver: 5.43 -> 5.44 → https://git.io/JvSxd
<{^_^}> [nixpkgs] @jtojnar closed pull request #76540 → gnome-flashback: add option to replace gnome-screensaver with xscreensaver → https://git.io/JeboR
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6f11edab638 (from 13 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
knupfer has joined #nixos
erasmas has joined #nixos
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @vcunat pushed 5 commits to release-20.03: https://git.io/JvSpe
palo1 has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #80753 → bear: Use python3 by default → https://git.io/JvRFz
<{^_^}> [nixpkgs] @FRidh pushed commit from @doronbehar to master « bear: Use python3 by default »: https://git.io/JvSpf
erasmas has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 246 seconds]
FRidh has joined #nixos
palo has quit [Ping timeout: 256 seconds]
palo1 is now known as palo
<iqubic> I'm running NixOS, and this one steam game (Dead Cells) isn't running at all. I can download it just fine, but then I can't actually run it due to a bunch of missing libraries. See this paste for a complete list of all the libraries Steam cannot find.
<iqubic> Anyone know what's up?
rauno has joined #nixos
<srhb> iqubic: Are you using nativeOnly?
<pjt_014> would that be something in configuration.nix?
Tucky has joined #nixos
<iqubic> srhb: How do I check this?
<iqubic> I don't think I am using nativeOnly.
<srhb> iqubic: If you didn't override steam, you're probably not. I've had good experience with it, contrary to what I think is the common belief.. I just add libraries as games need them and rebuild
<iqubic> I see.
<srhb> pjt_014: Sorry, what was the question?
<iqubic> So how do I fix this issue?
<pjt_014> what is nativeOnly? Is it something that would be set in configuration,nix?
<srhb> iqubic: Well, you could give it a try with nativeOnly, adding every library you need to extraLibraries.
<iqubic> that sounds like a large pain.
<srhb> pjt_014: Just checking, you're also talking about steam games now? :-)
<pjt_014> Yeah, I can't run Borderlands :
<srhb> iqubic: I mean, that seems quite subjective. I like it, it's worked well for me. :)
<srhb> pjt_014: Ah, ok. Yeah, you can overlay steam with it
<pjt_014> I doubt it'll run well without a GPU from this century but still
<srhb> pjt_014: https://gist.github.com/ef6fed70baae1f8750edeaca30f187b1 -- something like this, add stuff to extraLibraries as needed.
<srhb> ymmv, as said, but it's been good to me.
cole-h has quit [Ping timeout: 250 seconds]
<pjt_014> I don't even know what it is that it's missing. My only hint is in my config file under graphics drivers there are several commented out from ages ago
<pjt_014> one of the comments simply reads '# NOT THIS ONE'
<iqubic> This seems so hard.
<srhb> pjt_014: That sounds very encouraging. :-P
<pjt_014> I think it's opengl probably
<srhb> pjt_014: Usually running steam from a terminal might give you more output to help diagnose the issue, but it's not always easy.
boolman has quit [Ping timeout: 240 seconds]
<iqubic> srhb: I did run steam from a terminal. That's how I was able to get the large list quickly.
<srhb> iqubic: It's just an overlay.. :) You have a list of files. Combine that with nix-locate to try and find the missing libraries, it shouldn't take long.
boolman has joined #nixos
<srhb> Worth a shot anyway.
<iqubic> Can you show me what you mean?
<pjt_014> woo thatsa lotta messages
CMCDragonkai1 has quit [Read error: Connection reset by peer]
<srhb> iqubic: nix-locate libXinerama.so.1 gives me a list of packages that contain that file.. I figure that xlibs.libXinerama sounds like the rightest one to include, so I'd add that package to extraLibraries in the overlay.
<iqubic> which overlay?
<srhb> iqubic: The one I linked in the gist above.
<iqubic> Why doesn't steam know about these libraries in the first place?
<srhb> iqubic: I don't know why some games seem to have issues using the steam-included ones.
<iqubic> I see.
<srhb> But that seems to be the case for some games, thus this workaround. Though frankly I prefer to use my native NixOS libs anyway.
<iqubic> So, how do I use this overlay?
<srhb> iqubic: Do you have any overlays currently?
<iqubic> Nope.
<srhb> Okay, then the manual and wiki page on how to use them will probably be helpful. :)
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/cac363c6618 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<iqubic> I mean, I have an overlay being pulled in by my home-manage config, but I assume that's not quite the same.
<srhb> iqubic: depends how you're installing steam I suppose.
<srhb> iqubic: If home manager maintains its own list of overlays, and you're installing steam with home-manager, that should be a fine place to include it.
<iqubic> I just have steam in my global system.environmentPackages
<pjt_014> same
<srhb> Then no, the overlay will have to take effect for the nixpkgs used in your nixos config.
<iqubic> I do want to switch over to steam on home-manager.
<iqubic> I'll just do that.
<iqubic> I know what to do from here.
<srhb> Great :)
<pjt_014> do let us know how that works out
<pjt_014> preferably another day within ~3 hours of this current time
<iqubic> srhb: I notice that the overlay you gave me already has some elements in the extraPkgs and extraLibraries lists. Should I keep those as they are?
<srhb> iqubic: That's mostly arbitrary stuff I wanted to be available in the steam shell, you can nuke it.
<srhb> iqubic: It's really just a snapshot of what I needed for whatever set of games I used at whatever time I wrote that overlay. You can start from blank lists.
<srhb> I don't recall which completely stupid game needed the hostname executable, but I was flabbergasted... :)
<srhb> And strace is there for debugging exactly this kind of issue..
asheshambasta has joined #nixos
<iqubic> Alright... I'm not sure how to add this overlay.
mexisme has joined #nixos
<srhb> iqubic: I suggest naming the self: super: block in a let var and then adding that to your nixpkgs.overlays list
<srhb> Looks like that's an option in home-manager at least.
<iqubic> Yeah. It is.
<srhb> iqubic: Or you could let steamOverlay = import thegistfile.nix; and add steamOverlay to the list.
<srhb> Up to you.
<iqubic> It turns out that I don't want to add "./steam.nix" to my overlays list, but reather, "(import ./steam.nix)"
<srhb> Yeah.
<srhb> I think it should always be a list of functions of the form self: super: { somepackages }
<iqubic> IDK why the latter works, and not the former.
<srhb> ^ because of that
<iqubic> Right. I see.
<iqubic> I just copied the stuff from the gist into a file called steam.nix
<iqubic> I'm sure you were able to figure that out.
<{^_^}> [nixpkgs] @FRidh merged pull request #83407 → sudo: switch download from FTP to HTTPS → https://git.io/JvSFd
<{^_^}> [nixpkgs] @FRidh pushed commit from @bhipple to staging « sudo: switch download from FTP to HTTPS »: https://git.io/JvSha
<pjt_014> I have made several observations
<iqubic> observations are good.
<pjt_014> one: at some point in the past I friended someone called 'SHARK MAN'
<pjt_014> they are currently playin dark souls.
<pjt_014> two: holy crap borderlands 3 is finally on steam
ivan has left #nixos [#nixos]
<pjt_014> (now do minecraft cmon GABE)
<pjt_014> and three: yeah it looks like something called libGL is missing
cjpbirkbeck has quit [Quit: cjpbirkbeck]
asheshambasta has quit [Ping timeout: 272 seconds]
kcalvinalvinn has joined #nixos
<pjt_014> there are some other odd things tho
kcalvinalvin has quit [Ping timeout: 260 seconds]
<pjt_014> like the very first message is "cp: cannot create regular file '/home/josh/.local/share/Steam/bootstrap.tar.xz': Permission denied". wat?
<srhb> pjt_014: That's normal. Don't worry about that.
<srhb> The libGL one does sound wrong.
<pjt_014> there's also this straight banger:
<srhb> pjt_014: Did you follow the instructions on the wiki page?
<pjt_014> "Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits."
<pjt_014> I've done some of them
<pjt_014> cant remember which
<srhb> That's probably a consequence of the libgl one.
<srhb> pjt_014: Well, neither can I. ;-)
<{^_^}> [nixpkgs] @FRidh merged pull request #83355 → skypeforlinux: 8.56.0.103 -> 8.58.0.93 → https://git.io/JvSEf
<{^_^}> [nixpkgs] @FRidh pushed commit from @bachp to master « skypeforlinux: 8.56.0.103 -> 8.58.0.93 »: https://git.io/JvSjO
mexisme has quit [Ping timeout: 240 seconds]
<pjt_014> the exact line is "lspci: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory"
kcalvinalvinn has quit [Client Quit]
<pjt_014> anything besides "error" I should grep for in the stdout log?
linarcx has joined #nixos
<srhb> pjt_014: Do you have: hardware.opengl.driSupport32Bit = true; ?
mexisme has joined #nixos
<iqubic> That overlay doesn't actually install Steam does it? It just modifies Steam
<{^_^}> [nixpkgs] @ehmry opened pull request #83410 → ssb-patchwork: fix GTK file selection dialog → https://git.io/JvSj6
<iqubic> I still have to add it to my list of packages, don't I?
<srhb> iqubic: Correct.
<pjt_014> srhb: yes
<srhb> overlays can't really install anything, only transitively by adding dependencies, say.
<srhb> pjt_014: Then I don't know.
<iqubic> i just added it to my list of packages like usual?
<srhb> iqubic: Yes.
<iqubic> Thanks
<pjt_014> I'm gonna try adding the overlay with libGL
wavirc22 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @Mic92 merged pull request #83377 → radare2-cutter: 1.10.1 -> 1.10.2 → https://git.io/JvSDE
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvSjM
<pjt_014> later though, I'm in the middle of like 3 1/2 unrelated things
<srhb> There are some specifics related to drivers and openGL, but frankly I don't quite remember the details, and I don't remember doing anything special on NixOS beyond what's already on the Wiki page.
<srhb> Perhaps searching for old issues might help you.
chagra has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 0 commits to revert-79581-feature/fetcher-whitespace-clean: https://git.io/JvSjD
<srhb> (something related to libglvnd being used as a pure wrapper between the application and the (impure) driver in /run/opengl-driver)
<{^_^}> [nixpkgs] @Mic92 merged pull request #83339 → weechatScripts.wee-slack: 2.4.0 -> 2.5.0 → https://git.io/JvSZf
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JvSjS
<srhb> Supposedly the steam wrapper already checks that glxinfo is at least able to run, so not sure...
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<iqubic> srhb: Alright... So, I have steam installed via your overlay. What do I need to modify to get the right libaries installed?
<srhb> iqubic: The extraLibraries list
<iqubic> I see.
knupfer has joined #nixos
<iqubic> How do I figure out which packages to add?
<srhb> iqubic: nix-locate is useful to map filename to package.
<srhb> iqubic: But try regenerating the list of files first, things might have changed now that you're using the native versions, and it does come with a lot of libraries baked in already.
<iqubic> How do I do that?
<srhb> iqubic: However you got the list that you pasted the first time.
<iqubic> Ah. I see.
<iqubic> I got that list by clicking the play button in steam and grabbing the terminal output.
<srhb> iqubic: Yeah, that sounds right.
<{^_^}> [nixos-channel-scripts] @edolstra pushed 14 commits to master: https://git.io/Jv9em
<{^_^}> [nixos-channel-scripts] @edolstra merged pull request #35 → mirror: Add packages/options data to channel release. → https://git.io/JvSLO
<srhb> Looks about the same. That's not encouraging.
<iqubic> Look at the last item in that list. ** ERROR ** Missing library libstdc++.so.6
<iqubic> How are we missing that?
<iqubic> Also srhb it is the same.
<iqubic> It is so much the same that dpaste assigned me the same URL for that paste.
<srhb> That means it's still not picking up eg libXinerama, which I know is included in the default native list, so this is probably not going to be your solution.
<iqubic> What the bloody hell is going on here?!?!
<srhb> debugging gets more hairy after this, you'll need to find out if it's actually looking for it in the right place, eg. with strace, and if it is, whether there's a 64bit/32bit mismatch, and then go from there.
<{^_^}> [nixos-homepage] @edolstra merged pull request #365 → Fix accidental paste → https://git.io/JvSMC
<{^_^}> [nixos-homepage] @edolstra pushed 2 commits to master: https://git.io/Jv9eC
<srhb> I don't have time to assist with that unfortunately, but you can always try opening an issue for the specific game or trying on discourse, long-running debug sessions tend to do better there. :)
<iqubic> Is there a way I can check if the overlay is actually being used?
<srhb> iqubic: steam should have a different path with and without it
<iqubic> I see.
<{^_^}> [nixpkgs] @Mic92 merged pull request #82650 → faust2: 2.20.2 -> unstable-2020-03-20 → https://git.io/JviSJ
<{^_^}> [nixpkgs] @Mic92 pushed commit from @magnetophon to master « faust2: 2.20.2 -> unstable-2020-03-20 (#82650) »: https://git.io/Jv9eE
<srhb> iqubic: so `ls -l $(which steam)` should do it
<iqubic> I didn't know what the path was before hand.
<srhb> Just comment it out and rebuild.
<iqubic> So, the overlay is being used. But it isn't helping at all.
<srhb> Too bad.
<iqubic> I'm just going to install steam via flatpak because that worked for me in the past.
<iqubic> And I'm not going to figure out why this isn't working.
<pjt_014> quick question
<srhb> iqubic: OK. :)
<pjt_014> did you try any other games?
<pjt_014> iqubic
<iqubic> pjt_014: Yes I did.
<iqubic> Other games worked just fine.
<pjt_014> same error?
<pjt_014> oh
<iqubic> No. No.
<iqubic> A small game called Induction worked just fine.
<pjt_014> Hm, same. I got death road to canada working.
<pjt_014> N++ too, but despite having less fancy graphics it runs at about 1/3 speed
<iqubic> In other news, today I learned that the paste site dpaste will assign identical pastes identical URLs. Like even if you go to the new paste page and enter in the text again.
<pjt_014> how tf does a 2.5d pixel art game run so much slower than a 2d vector graphics one??
<pjt_014> 0x0.st does that too
<pjt_014> you could test a few in short order with pastebinit
<iqubic> Basically, I was going to check if the two pastes were the same, until I noticed they were the same URL.
<pjt_014> I used to have it installed then I just kinda accidentally memorized curl -F file=@x site.foo
<pjt_014> tis a nice feature
<vaibhavsagar> I'm pretty reliably getting this error when trying to build my package with GHC 8.10: ghc-pkg: Couldn't open database <db>/package.conf.d for modification: {handle: <db>/package.conf.d/package.cache.lock}: hLock: invalid argument (Bad file descriptor)
<pjt_014> I gotta see if pixeldrain does it
<vaibhavsagar> has anyone else seen this before?
<vaibhavsagar> how would I go about reporting this?
<pjt_014> If you're trying to build a package then the nixpkgs github issue page
<pjt_014> what is it? I can try to reproduce it
<pjt_014> one 2 architectures if that helps
<vaibhavsagar> I'm using the `haskell-updates` branch
<vaibhavsagar> and it's my own package, so not on nixpkgs exactly
<vaibhavsagar> let me pin a few things and when I come up with a good Nix expression I'll ping you if you're still interested
<vaibhavsagar> thanks for offering :)
<pjt_014> sure
Jackneill has joined #nixos
<pjt_014> I may be asleep, but I'll leave this thing open
dingenskirchen has quit [Read error: Connection reset by peer]
dingenskirchen1 has joined #nixos
Guest30 has joined #nixos
<vaibhavsagar> appreciate it!
<pjt_014> actually vaibhavsagar: do you know a minimum time it'll take?
Guest30 is now known as ash-braker
<vaibhavsagar> I'll probably have it done in the next hour?
dingenskirchen1 is now known as dingenskirchen
<{^_^}> haskell/cabal#6222 (by sjakobi, 29 weeks ago, closed): hTryLock: lock already exists: /home/simon/.cabal/packages/hackage.haskell.org/hackage-security-lock
<pjt_014> hm. I was asking because this machine's apu fan is audible from outside my room with the door closed, so If it's off I'd miss it. BUT
<pjt_014> I have rtcwake
<srhb> vaibhavsagar: Once you have the pinning done I think it's completely valid for a nixpkgs issue :)
<pjt_014> so If I was asleep in like an hour or something I could set it to wake back up
<vaibhavsagar> thanks srhb
Aleksejs has quit [Quit: Goodbye]
Aleksejs has joined #nixos
<pjt_014> or I'll look at the issue. that works too maybe
<vaibhavsagar> pjt_014: don't worry about it if it involves losing sleep, it's not urgent
<vaibhavsagar> what I have so far is at https://github.com/gibiansky/IHaskell/pull/1150
<pjt_014> k. if you do have a nix expr, maybe post it in the github issue
<{^_^}> gibiansky/IHaskell#1150 (by vaibhavsagar, 23 hours ago, open): [WIP] Support GHC 8.10
<vaibhavsagar> If you do `nix-build release-8.10.nix` then you will see the same thing I am seeing
zupo has joined #nixos
<vaibhavsagar> but what I have right now uses `head.hackage` so I would like to clean it up so it only uses nixpkgs, which I have working locally but using local clones of everything
<{^_^}> [nixpkgs] @vbgl pushed to release-20.03 « coqPackages.mathcomp_1_10: init at 1.10.0 »: https://git.io/Jv9vA
Naptra has joined #nixos
cr4y1_ has joined #nixos
Mic92 has quit [*.net *.split]
b42 has quit [*.net *.split]
ericsagnes has quit [*.net *.split]
jasom has quit [*.net *.split]
kolby has quit [*.net *.split]
nikivi has quit [*.net *.split]
sephii has quit [*.net *.split]
wozeparrot has quit [*.net *.split]
wucke13 has quit [*.net *.split]
Havvy has quit [*.net *.split]
abbe has quit [*.net *.split]
greizgh has quit [*.net *.split]
sebass[m] has quit [*.net *.split]
teozkr has quit [*.net *.split]
exprez135[m] has quit [*.net *.split]
shabius_ has quit [*.net *.split]
aswanson has quit [*.net *.split]
matthiaskrgr has quit [*.net *.split]
f0i[m] has quit [*.net *.split]
tek[m] has quit [*.net *.split]
noj has quit [*.net *.split]
cab404[m] has quit [*.net *.split]
misuzu has quit [*.net *.split]
{^_^} has quit [*.net *.split]
r0bby has quit [*.net *.split]
dukedave has quit [*.net *.split]
nikita` has quit [*.net *.split]
nh2 has quit [*.net *.split]
bgupta has quit [*.net *.split]
teehemkay has quit [*.net *.split]
joshmeredith has quit [*.net *.split]
alanz has quit [*.net *.split]
ctp has quit [*.net *.split]
jared-w has quit [*.net *.split]
zertox has quit [*.net *.split]
cbarrett has quit [*.net *.split]
midchildan has quit [*.net *.split]
claudiii has quit [*.net *.split]
HailSagan[m] has quit [*.net *.split]
tlater[m] has quit [*.net *.split]
M0x0120f[m] has quit [*.net *.split]
morgib[m] has quit [*.net *.split]
schmittlauch[m] has quit [*.net *.split]
ToxicFrog has quit [*.net *.split]
fuzen has quit [*.net *.split]
p01ar_ has quit [*.net *.split]
symphorien has quit [*.net *.split]
val2229[m] has quit [*.net *.split]
medvid has quit [*.net *.split]
icey__ has quit [*.net *.split]
Luker has quit [*.net *.split]
hark has quit [*.net *.split]
johnny101 has quit [*.net *.split]
mdash has quit [*.net *.split]
Luker has joined #nixos
p01ar has joined #nixos
wozeparrot has joined #nixos
abbe has joined #nixos
kolby has joined #nixos
misuzu has joined #nixos
sephii has joined #nixos
midchildan has joined #nixos
teehemkay has joined #nixos
jared-w has joined #nixos
{^_^} has joined #nixos
ToxicFrog has joined #nixos
symphorien has joined #nixos
ericsagnes has joined #nixos
noj has joined #nixos
claudiii has joined #nixos
joshmeredith has joined #nixos
teozkr has joined #nixos
hark has joined #nixos
bgupta has joined #nixos
dukedave has joined #nixos
zertox has joined #nixos
cbarrett has joined #nixos
alanz has joined #nixos
b42 has joined #nixos
Mic92 has joined #nixos
nh2 has joined #nixos
nikita` has joined #nixos
greizgh has joined #nixos
icey__ has joined #nixos
ctp has joined #nixos
jasom has joined #nixos
aswanson has joined #nixos
medvid has joined #nixos
nikita` has joined #nixos
nikita` has quit [Changing host]
wucke13 has joined #nixos
bgupta has joined #nixos
bgupta has quit [Changing host]
bgupta has joined #nixos
r0bby has joined #nixos
sebass[m] has joined #nixos
nikivi has joined #nixos
shabius has joined #nixos
lsix has joined #nixos
Havvy has joined #nixos
johnny101 has joined #nixos
exprez135[m] has joined #nixos
matthiaskrgr has joined #nixos
cab404[m] has joined #nixos
f0i[m] has joined #nixos
tek[m] has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #83373 → pixiecore: init at 2020-03-25 → https://git.io/JvSXR
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/Jv9fY
val2229[m] has joined #nixos
szicari has quit [Ping timeout: 240 seconds]
schmittlauch[m] has joined #nixos
morgib[m] has joined #nixos
<pjt_014> ...did something just happen to the network?
M0x0120f[m] has joined #nixos
HailSagan[m] has joined #nixos
tlater[m] has joined #nixos
m0rphism has joined #nixos
<pjt_014> I got a like ~100 people slowly rejoining after all suddenly quitting with '(*.net *.split)'
kaliumxyz has quit [Remote host closed the connection]
szicari has joined #nixos
<{^_^}> [nixpkgs] @dywedir opened pull request #83412 → dua: 2.3.1 -> 2.3.8 → https://git.io/Jv9fr
<FireFly> yeah, that's a netsplit (two IRC servers of the network disconnecting from each other)
<pjt_014> hm. you know why the listed names are regexes?
<pjt_014> oh
<pjt_014> got to the bottom of the WP page
<pjt_014> nvm
Ariakenom has joined #nixos
domogled has joined #nixos
opthomasprime has joined #nixos
erasmas has joined #nixos
<bqv[m]> is there a lib tool to flatten nested attrsets?
erasmas has quit [Ping timeout: 260 seconds]
kingo has joined #nixos
kingo has quit [Quit: Going offline, see ya! (www.adiirc.com)]
o1lo01ol1o has joined #nixos
<bqv[m]> nevermind, worked something out
ZoomZoomZoom has joined #nixos
o1lo01ol1o has quit [Ping timeout: 264 seconds]
ash-braker has quit [Ping timeout: 240 seconds]
chloekek has joined #nixos
<vaibhavsagar> pjt_014: turns out there's already an issue for this at https://github.com/NixOS/nixpkgs/issues/79441
<{^_^}> #79441 (by peti, 6 weeks ago, open): ghcWithPackages wrapper does not work with ghc-8.10.1
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
opthomasprime has left #nixos [#nixos]
zupo has joined #nixos
<pjt_014> vaibhavsagar: ah, cool beans. I have been released from mu curse.
<pjt_014> *my
<vaibhavsagar> sorry for the hassle, it only turned up after I got everything working and wrote up an issue
<pjt_014> nah 'sfine.
<vaibhavsagar> "got everything working" = "came up with a smaller repro"
mexisme has quit [Ping timeout: 256 seconds]
maddo has joined #nixos
<MichaelRaskin> repro is everything!
<pjt_014> is that supposed to be repo
<pjt_014> or is it a thing i don't know
Makaveli7 has joined #nixos
__monty__ has joined #nixos
civodul has joined #nixos
o1lo01ol1o has joined #nixos
mexisme has joined #nixos
pepesza has quit [Ping timeout: 258 seconds]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ae48415e8b5 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<bqv[m]> ahaha
<bqv[m]> builder for '/nix/store/6x3k2y10l2jl70kf8992cxzwyv441ik6-etc.drv' failed with exit code 1; last 1 log lines:
<bqv[m]> while setting up the build environment: executing '/nix/store/z4ajipns0l1s8b2lrgpy6nng4cys7h99-bash-4.4-p23/bin/bash': Argument list too l
<bqv[m]> ong
pjt_014 has quit [Ping timeout: 256 seconds]
<bqv[m]> i have too many etc files
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
playful-owl has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #83413 → python3Packages.argcomplete: 1.10.3 -> 1.11.0 → https://git.io/Jv9Io
FRidh2 has joined #nixos
FRidh has quit [Ping timeout: 250 seconds]
dingenskirchen has quit [Remote host closed the connection]
dingenskirchen has joined #nixos
mokasin has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « wasm-bindgen-cli: 0.2.59 -> 0.2.60 »: https://git.io/Jv9qt
kreetx has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
thc202 has joined #nixos
<kreetx> (doubleposting this question from #nixops, but:) how do you guys deploy from multiple machines using nixops? I have three work computers all running nixos and would like to use any of these to deploy something
dermetfan has joined #nixos
<mokasin> <- noob, if I enable a service that pulls in a package with some binaries, how do I access those apart from /nix/store/hash/bin?
fendor has joined #nixos
<mokasin> concrete example, I'm trying to setup matrix-synapse server that has some contrib binaries to register users. How do I actually use that, without looking up the hashes?
o1lo01ol1o has joined #nixos
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
<srk> kreetx: use them as builders or share the nixops state between them so you can run nixops from any of them
<adisbladis> mokasin: Pretty much, you don't. Some modules add packages to `environment.systemPackages` but it seems like matrix-synapse does not.
<srk> mokasin: you can e.g. add them to environment.systemPackages which makes everything in listed packages bin/ available
<{^_^}> [nixpkgs] @Ma27 merged pull request #82353 → nixos/nextcloud: fix upgrade path from 19.09 to 20.03 → https://git.io/Jv6I8
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Jv9qQ
<mokasin> adisbladis, srk, you mean, add nixos.pgk.matrix-synapse to systemPackages?
<srk> for example
mexisme has quit [Ping timeout: 256 seconds]
<srk> or you can just nix-shell -p matrix-synapse
<bqv[m]> you shouldn't realy need to use any binaries from matrix-synapse directly though, afaik?
<srk> if you don't want to polute your path
vika_nezrimaya has joined #nixos
<tilpner> bqv[m]: E.g. user registration has a helper in there
<bqv[m]> yeah
<mokasin> bqv[m], if I do not want people to register, I have to do it via this binary, if I understand the sparse documentation correctly
o1lo01ol1o has quit [Ping timeout: 256 seconds]
leotaku has quit [Quit: ZNC 1.7.4 - https://znc.in]
<mokasin> srk, nice!
<bqv[m]> oh, fair enough. that's basically a one time thing though
<bqv[m]> that said, i think i do have it as a system package in my matrix container, but that's only because it's a container
<kreetx> srk: how would it work with using builders, i.e where would the state be then?
<tilpner> mokasin: Note that the deployed matrix-synapse and the one nix-shell gives you might be different
<mokasin> bqv[m], sure, but it was an opportunity to ask this more general question. I'm still trying to grasp the structure of nixos
<srk> kreetx: on "master" machine, but any will do
<tilpner> mokasin: The safest way is to use e.g. systemctl cat to look up what is actually running
<mokasin> tilpner, yes, this what I was doing. Okay, but this verifies that there is no cleaner way
<mokasin> it felt like a hack
<tilpner> It is
leotaku has joined #nixos
<kreetx> srk: got it! but then, what is the wider background on using nixops? I'm just going to deploy a personal blog, but with bigger systems is there supposed to be a "deployer machine" that gets build artifacts from the ci and then puts them live
<srk> kreetx: depends how do you set it up - you can have one machine use the other two as remote builders or setup something like that for every machine (so each machine uses the other two as builders)
<mokasin> tilpner, how would the deployed and nix-shell version be different if I were only using stable? Shouldn't that refer to the same binary?
<kreetx> or is sharing the state file a best practice?
<srk> kreetx: many ways to achieve that, you can either run hydra (+hail) to build (and autodeploy) your nixops deployment or use one big deployer machine
<srk> or even share the state between devs and use caches from your hydra which builds it as well
<srk> it really depends on how you want it, how big it is, how many devs there are and tons of other things :)
<kreetx> srk: thanks!
<srk> last time we went with a big deployer machine inside the network and morph to have no state :D
<tilpner> mokasin: Imagine you deployed something, then updated your channels without deploying immediately afterwards. nix-shell could now give you a newer package than what is currently running
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ae48415e8b5 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<mokasin> tilpner, gotcha. thx!
<{^_^}> [nixpkgs] @ryantm merged pull request #83390 → seaview: 5.0 -> 5.0.2 → https://git.io/JvSQc
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jv9Ys
<tilpner> mokasin: Now imagine the script directly manipulated the database, instead of just doing the API call I hope it does, and they changed the schema slightly
<mokasin> tilpner, so adding it to environment.systemPackages circumvents that issue, right?
<kreetx> srk: I just want to learn more of nixops and I guess for my tiny private project it all seems an ovekill, but for learning purposes I think I'll try to follow through :)
<srk> tilpner: that's a good point for sure but hopefuly stuff is not allowed to change like that between channel updates
<tilpner> mokasin: If you set environment.systemPackages = [ config.services.matrix-synapse.package ];, then yes
<tilpner> mokasin: If you set environment.systemPackages = [ pkgs.matrix-synapse ];, then also yes, but sometimes no
<{^_^}> [nixpkgs] @dywedir merged pull request #83412 → dua: 2.3.1 -> 2.3.8 → https://git.io/Jv9fr
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/Jv9Yg
<srk> kreetx: fiy you can also do something like NIXOS_CONFIG=deploy.nix nixos-rebuild switch --target-host ssh://
<mokasin> tilpner, phew, is this actually documented somewhere or do I need to just know this stuff? :)
bdju has quit [Quit: Lost terminal]
bdju has joined #nixos
<mokasin> tilpner, so basically config.foo.package gives access to the underlying package of the current closure? Can I say it that way? While pkgs.foo pulls what is in the repo?
<srk> config.foo.package is used by the foo module
<srk> and you can change that to use e.g. overriden package
<yorick> segfault at 0 ip 00000000004014c3 sp 00007fffffff94e0 error 6 in udisks-test-helper[401000+1000]
<srk> kill it with fire
<yorick> why does it even have udisks
o1lo01ol1o has joined #nixos
<bqv[m]> hah, nice, got past the emacsPackages segfault by just adding the packages to the system instead of using emacsWithPackages
<yorick> the.. emacsPackages.. segfault?
<adisbladis> *listening intensifies*
<bqv[m]> yeah i had a thing where trying to add emacsWithPackages to my configuration made nix segfault during the evaluation
<bqv[m]> only when i switched to flakes
<yorick> bqv[m]: what nix version?
<yorick> oh, makes sense
<adisbladis> Oh, I thought it was something wrong with emacs :)
<bqv[m]> but still very annoying, because i use emacs as a window manager
<adisbladis> Carry on
<yorick> bqv[m]: if you have infinite ram, run with export GC_DONT_GC=1
<mokasin> srk, is there a glossary that give an overview over the terminology and structure of nixos? So for examples, definition of module, service, package, etc?
bahamas has joined #nixos
bahamas has joined #nixos
<bqv[m]> lol, no something wrong with nix
<bqv[m]> would that fix it?
<bqv[m]> i think the segfault place was actually in GC_free, when i ran it in gdb
oida has quit [Remote host closed the connection]
<tilpner> mokasin: I don't think there's a single location where you can read all of it, without knowing what you're looking for
<yorick> bqv[m]: yeah, GC_DONT_GC disables the gc :)
<bqv[m]> doesn't matter anyway, i found a decent workaround
oida has joined #nixos
<bahamas> hello. dockerTools doesn't work on mac? I tried to run it and I got "assertion failed at /nix/store/cixx2qgbb35v17xxa1ihg2yjczlh46n4-nixpkgs-19.09pre194893.8d3ff5bf4e3/nixpkgs/pkgs/os-specific/linux/kernel/generic.nix:56:1"
<tilpner> mokasin: Yes, config.*.package gives access to the package that was deployed at some point
<srk> mokasin: not quiet, yesterday just before I went to sleep I was thinking that something like nixpkgs internals/hacking would be nice
mananamenos has joined #nixos
<yorick> bqv[m]: it'll crash on something else that you need
<bqv[m]> is that... sensible? how much is it likely to use
<bqv[m]> lol
<yorick> bqv[m]: few gigabytes, probably :P
<adisbladis> yorick: Just https://downloadmoreram.com/
<mokasin> tilpner, srk, thanks! Then I have to gnaw my way through and pester helpful people on the internet like you ;)
<bqv[m]> few gigabytes?! jeez
<bqv[m]> i mean i could just set up a 100G swap partition
erasmas has joined #nixos
<yorick> bqv[m]: alternatively, revert some commits that change the gc :P
<adisbladis> Evaling on swap would be the slowest eval in history
<yorick> adisbladis: it's not likely to need anything that would otherwise be GC'd again
<yorick> adisbladis: but obviously it does a bit ^^
<adisbladis> bahamas: That's expected. You're gonna have to set up a remote builder and run the eval is if you were using Linux.
<yorick> bqv[m]: revert your flakes to one from before mar 19 and it should crash less
<adisbladis> It's also potentially possible to cross compile, but I have no idea what the state of that is on OSX.
<bqv[m]> i wonder if i could git bisect nix to see which commit introduced that bug
<yorick> bqv[m]: ef74faf
<bqv[m]> ah, ok
mdash has joined #nixos
<adisbladis> yorick is better than a git bisect ;)
<yorick> adisbladis: well, I can integrate some domain knowledge :P
<bqv[m]> lol
erasmas has quit [Ping timeout: 264 seconds]
<yorick> I don't know how to fix it yet
knupfer has quit [Quit: knupfer]
knupfer has joined #nixos
clkamp___ has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @dasj19 opened pull request #83414 → libtorrent-raster: 1.1.11 -> 1.2.5; qbittorrent: 4.2.1 -> 4.2.2 → https://git.io/Jv93P
to8 has joined #nixos
<bqv[m]> oh, interesting, nix isn't built locally, it's just taken from a hydra build
iqubic` has joined #nixos
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
o1lo01ol1o has quit [Remote host closed the connection]
matthiaskrgr has joined #nixos
bahamas has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
iqubic has quit [Ping timeout: 240 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
o1lo01ol1o has joined #nixos
<{^_^}> [hydra] @edolstra pushed 6 commits to flake: https://git.io/Jv9sC
<bahamas> adisbladis: ok. thanks
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83415 → libndctl: 67 -> 68 → https://git.io/Jv9sr
Makaveli7 has quit [Quit: WeeChat 2.7.1]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83416 → libpoly: 0.1.7 -> 0.1.8 → https://git.io/Jv9Ge
jboyens has joined #nixos
<jboyens> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
Makaveli7 has joined #nixos
jboyens has left #nixos [#nixos]
justanotheruser has quit [Ping timeout: 256 seconds]
<bqv[m]> adisbladis: oh, emacs27 is out, right?
<bqv[m]> cause emacsGit is now pointing at emacs28
<bqv[m]> but it hasn't been bumped in nixpkgs yet
<etu> ohh
mananamenos has quit [Read error: Connection reset by peer]
<etu> I don't see it in a mirror yet though
<bqv[m]> hmm
<etu> And they don't have any 27.1 tag yet
<alexarice[m]> think 27 hasn't been actually released yet?
<etu> No, I don't think so
<alexarice[m]> think the one that got released recently was like a prerelease version
<etu> But if they renamed the version to 28 in get I guess they are close to it
<bqv[m]> so they've bumped the git repo to 28.0.50 but 27 isn't even done yet?
<bqv[m]> ah
<bqv[m]> <nix-shell> bao@delta ~/s/nixos> /run/current-system/sw/bin/emacs --version
<bqv[m]> GNU Emacs 28.0.50
<alexarice[m]> They have probably stopped adding features to 27
iyzsong has quit [Remote host closed the connection]
<etu> XX.0 is always pre-releases of Emacs because XX.1 is the stable of that series
<alexarice[m]> so any new features need to go in 28
iyzsong has joined #nixos
<ldlework> I've been using 28 and it seems fine
<bqv[m]> hm gotcha
<bqv[m]> i just find it funny that if i look in share/emacs it shows me skipping straight from 26 to 28
oida has quit [Remote host closed the connection]
andreas31 has quit [Remote host closed the connection]
gxt has quit [Remote host closed the connection]
KeiraT has quit [Remote host closed the connection]
phreedom has quit [Remote host closed the connection]
cartwright has quit [Read error: Connection reset by peer]
xelxebar has quit [Read error: Connection reset by peer]
klntsky has quit [Write error: Connection reset by peer]
KeiraT has joined #nixos
oida has joined #nixos
<aanderse> Izorkin: please let me know how to reproduce. did you try changing your mysql to use pname instead of name?
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
andreas31 has joined #nixos
matthiaskrgr has joined #nixos
xelxebar has joined #nixos
ottidmes has joined #nixos
gxt has joined #nixos
<bqv[m]> lorri isn't rebuilding my shelll.nix
<bqv[m]> have i done something wrong
pluplog has quit [Remote host closed the connection]
<bqv[m]> oh hang on
phreedom has joined #nixos
<bqv[m]> it might just not like flakes
<atemu12[m]> Hey could anyone help me with an error? I'm trying to include my raspi in my main config repo but need to exclude a few packages that don't work on ARM when building for ARM. Here's how I wanted to implement that https://gitlab.com/atemu/nixos-config/-/blob/d5ac9a21f5c8e45f98be2e23a5b6a5883da66615/common.nix#L70 but it throws an error about coercing a list into a string in attrsets.nix and I can't figure out what's actually
<atemu12[m]> wrong
<Valodim[m]> atemu12: are the "x" and "noX" variables you're using there all lists?
<Valodim[m]> ah, yes they are from ./packages.nix
<atemu12[m]> Yes, everything in packages.nix is a list
Guest30 has joined #nixos
<Valodim[m]> hm. no idea :)
sjkelly1 has quit [Ping timeout: 246 seconds]
<Valodim[m]> (that looks like a very comfy list of systemPackages, btw :)
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.32.1 -> 1.32.2 »: https://git.io/Jv9Zu
zupo has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @primeos pushed to release-20.03 « signal-desktop: 1.32.1 -> 1.32.2 »: https://git.io/Jv9Za
<atemu12[m]> Valodim: Thanks for trying :)
<atemu12[m]> Valodim++
<{^_^}> Valodim's karma got increased to 1
orivej has joined #nixos
zupo has joined #nixos
<Valodim[m]> atemu12: what's your window manager? I see sxhkd in that list, but recognize none of the names as a window manager?
<atemu12[m]> Valodim: BSPWM
bahamas has quit [Ping timeout: 265 seconds]
<Izorkin> aanderse: https://pastebin.com/SRCUXQsi
justanotheruser has joined #nixos
<Valodim[m]> Ah. I expected that from sxhkd, but couldn't find it anywhere in the list that's why I was confused :)
<alexarice[m]> atemu12: I think you want lib.optionals instead of lib.optional
<alexarice[m]> lib.optional wraps the argument in a list
<{^_^}> [nixpkgs] @primeos opened pull request #83417 → [19.09] signal-desktop: 1.32.1 -> 1.32.2 (backport) → https://git.io/Jv9Zx
<Izorkin> aanderse: with services.mysql.package = pkgs.mariadb; - error - The option value `services.mysql.package' in `<unknown-file>' is not of type `package'.
<atemu12[m]> Valodim: I probably don't need SXHKD in my systemPackages though, I must've missed that when removing bspwm, the module should add it automatically
<aanderse> Izorkin: i think that should be reproducible for me, thanks! I'll reply once i check today
<atemu12[m]> alexarice: Oh wow :D
<atemu12[m]> alexarice: Thanks!
<atemu12[m]> alexarice++
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<{^_^}> alexarice's karma got increased to 1
nikivi has joined #nixos
sigmundv_ has joined #nixos
<Izorkin> aanderse: thanks. This variant worked for me - https://pastebin.com/whqkNAQz
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo opened pull request #83418 → roboto-mono: 2016-01-11 -> 2.002-20190125 → https://git.io/Jv9n8
o1lo01ol1o has joined #nixos
<flokli> it should probably be fine to start building chromium stable for the unstable channels, too, shouldn't it? https://github.com/NixOS/nixpkgs/commit/f2d24b98408b48c2179b131fa4c3700dc41f5b52#commitcomment-38064916
<{^_^}> [nixpkgs] @primeos pushed to master « androidStudioPackages.{dev,canary}: 4.1.0.3 -> 4.1.0.4 »: https://git.io/Jv9nS
klntsky has joined #nixos
cartwright has joined #nixos
<aanderse> Izorkin: in nix repl both lib.getName pkgs.mariadb and lib.getName pkgs.mariadb.server return "mariadb-server"
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
matthiaskrgr has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ash_braker has joined #nixos
zupo has joined #nixos
<{^_^}> [nixpkgs] @dasj19 opened pull request #83419 → boost17x: 1.7.1 -> 1.7.2 → https://git.io/Jv9CT
teto has joined #nixos
medvid_ has joined #nixos
mokasin has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @zimbatm merged pull request #82929 → nixos gerrit module → https://git.io/Jv9Cm
<{^_^}> [nixpkgs] @zimbatm pushed 3 commits to master: https://git.io/Jv9CY
medvid has quit [Ping timeout: 250 seconds]
felixfoertsch23 has quit [Quit: ZNC 1.7.4 - https://znc.in]
felixfoertsch has joined #nixos
jboy has quit [Quit: bye]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
gvolpe has joined #nixos
<gvolpe> Hi all, how can I make know what version of nixpkgs I am running at the moment?
<gvolpe> I ran `nix-channel --list`
<gvolpe> Which tells me `nixpkgs https://nixos.org/channels/nixpkgs-unstable`
mexisme has joined #nixos
<gvolpe> And then `nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'`
<gvolpe> Which results in `"20.09pre214374.1fe82110feb"`
<gvolpe> I have a Haskell project that compiles in my machine, under a Nix Shell, but that doesn't for in other machine
<atemu12[m]> `ls -l /run/current-system`
<gvolpe> I'm trying to pin it to my packages
<gvolpe> BTW I am on Ubuntu
<etu> gvolpe: 1fe82110feb
<etu> gvolpe: That's the shorthash for the commit you're on
<gvolpe> Thanks etu, this is what I've done: https://github.com/gvolpe/shopping-cart-haskell/pull/3/files
<gvolpe> But that doesn't work unfortunately
<gvolpe> How do I find out the right version so I can pin nixpkgs in that shell.nix file?
mexisme has quit [Ping timeout: 256 seconds]
<gvolpe> That is the correct version, right?
<etu> Yes
<gvolpe> Oh let me try that
<{^_^}> [nixpkgs] @primeos opened pull request #83420 → python3Packages.py-cpuinfo: 4.0.0 -> 5.0.0 → https://git.io/Jv9C1
<gvolpe> etu it doesn't work, unfortunately :/
<gvolpe> `builder for '/nix/store/612lgqdwyh2cbvgiwvryhgpy4qlp3di3-time-compat-1.9.2.2.drv' failed with exit code 1cannot build derivation '/nix/store/01brcz6gijawni50rsf34isz5zlg7bn0-ghc-8.6.5-with-packages.drv': 1 dependencies couldn't be builterror: build of '/nix/store/01brcz6gijawni50rsf34isz5zlg7bn0-ghc-8.6.5-with-packages.drv' failed`
<gvolpe> I don't understand why it works in my current machine, under nix-shell, but not in a different machine
<gvolpe> Should I pin the nixpkgs of the other nix files maybe?
ash_braker has quit [Remote host closed the connection]
<gvolpe> I have `let pkgs = import <nixpkgs> { };in pkgs.haskellPackages.callPackage ./default.nix { }`
<gvolpe> And `{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc865" }:nixpkgs.pkgs.haskell.packages.${compiler}.callPackage ./shopping-cart.nix { }` in `default.nix`
ash_braker has joined #nixos
<gvolpe> Besides `shell.nix`
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
matthiaskrgr has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83421 → openh264: 2.0.0 -> 2.1.0 → https://git.io/Jv9C5
Guest30 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos merged pull request #83420 → python3Packages.py-cpuinfo: 4.0.0 -> 5.0.0 → https://git.io/Jv9C1
<{^_^}> [nixpkgs] @primeos pushed to master « python3Packages.py-cpuinfo: 4.0.0 -> 5.0.0 (#83420) »: https://git.io/Jv9Wf
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #83417 → [19.09] signal-desktop: 1.32.1 -> 1.32.2 (backport) → https://git.io/Jv9Zx
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.09: https://git.io/Jv9Wm
erasmas has joined #nixos
<{^_^}> [nixpkgs] @primeos opened pull request #83422 → gns3-{gui,server}: 2.2.5 -> 2.2.6 → https://git.io/Jv9WZ
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
bahamas has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to release-20.03: https://git.io/Jv9Wl
klntsky has quit [Remote host closed the connection]
erasmas has quit [Ping timeout: 250 seconds]
<{^_^}> [hydra] @knl opened pull request #726 → Document SlackNotifications plugin → https://git.io/Jv9W0
klntsky has joined #nixos
<ottidmes> Since there seems to be the pattern to remove hardcoded ids from modules, I tried to remove the few I had added myself, the only problem I am facing is that I get: The following groups are not valid system groups, i.e. groups that have an uid < 399, for one of my system groups, there is no isSystemGroup equivalent option of isSystemUser, how do I deal with this without hardcoding a particular id?
bahamas has quit [Ping timeout: 250 seconds]
cybrian has quit [Quit: cya]
<gvolpe> @etu it worked after I pinned pkgs in my `default.nix` as well, thanks!
gvolpe has quit [Remote host closed the connection]
cybrian has joined #nixos
ash_braker has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @primeos merged pull request #83422 → gns3-{gui,server}: 2.2.5 -> 2.2.6 → https://git.io/Jv9WZ
<{^_^}> [nixpkgs] @primeos pushed to master « gns3-{gui,server}: 2.2.5 -> 2.2.6 (#83422) »: https://git.io/Jv9lv
<{^_^}> [nixpkgs] @primeos pushed to master « html-proofer: 3.15.1 -> 3.15.2 »: https://git.io/Jv9lU
gustavderdrache has joined #nixos
vika_nezrimaya has quit [Ping timeout: 256 seconds]
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
andreas31 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @clkamp opened pull request #83423 → aqbanking: Fix download url because of upstream changes → https://git.io/Jv9l2
andreas31 has joined #nixos
erictapen has joined #nixos
monsieurp has quit [Ping timeout: 268 seconds]
monsieurp has joined #nixos
drewr has quit [Ping timeout: 260 seconds]
erictapen has quit [Ping timeout: 260 seconds]
chloekek has quit [Ping timeout: 240 seconds]
knupfer has quit [Ping timeout: 240 seconds]
<aranea> I'm trying to build the nftables package with nix-shell, but I can't seem to figure it out. I should just need to invoke "nix-shell -p nftables" and then genericBuild, right?
<aranea> That doesn't do anything, it just sources the (empty) file created by nix-shell to which $buildCommandPath is pointing.
<aranea> And if I try to manually run unpackPhase instead, that fails because $src isn't set.
<ToxicFrog> `nix-shell -p nftables` on its own should download and build the one in nixpkgs and put it in your $PATH until you exit the shell.
<aranea> oh, I must've misunderstood the docs then
jakobrs has joined #nixos
<aranea> ahh, so it's -A nftables <nixpkgs>
<jakobrs> I know I asked pretty much the same question just yesterday, but I can't figure out how to "correctly" upgrade to bluez-5.53 while still on nixos-19.09
o1lo01ol1o has quit [Remote host closed the connection]
drewr has joined #nixos
<clever> aranea: `nix-shell -p nftables` will give a shell with nftables in PATH, `nix-shell -A nftables '<nixpkgs>'` will give a shell suitable to compile nftables
<jakobrs> Setting hardware.bluetooth.package = nixos-unstable.bluez; doesn't change programs that depend on bluez
<clever> ah, and thats what you want
o1lo01ol1o has joined #nixos
<aranea> thanks
bahamas has joined #nixos
<aranea> Okay, follow-up question: Can I somehow use fetchgit w/o pinning the sha256 hash?
<jakobrs> and I couldn't figure out how (if) you're supposed to replace packages with packages from different channels in overlays
<ikwildrpepper> aranea: you can use builtins.fetchGit
<ToxicFrog> aranea: last time I asked this, the answer was "use a local checkout and replace src = fetchGit ... with src = /path/to/local/checkout while testing"
<aranea> (I'm trying to test some local changes to nftables, and it'd be handy not to have to update the hash after every change)
<bqv[m]> fetchtarball doesn't need a hash
<ikwildrpepper> but I am not sure if it is supposed to be used inside nixpkgs
<jakobrs> Or even just what packages to override
<aranea> ah, cool, I'll just point it to the checkout then. Thanks!
<{^_^}> [nixops] @grahamc opened pull request #1265 → parallel: handle exceptions more modern-like → https://git.io/Jv94X
<jakobrs> The reason I'm asking is because my headset works much better with bluez-5.53
o1lo01ol1o has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @IvarWithoutBones closed pull request #76180 → XP-PEN G430 Driver: init at 20190820 → https://git.io/Jv94y
<{^_^}> [nixpkgs] @marsam opened pull request #83424 → jetbrains-mono: 1.0.4 -> 1.0.5 → https://git.io/Jv94d
<{^_^}> [nixpkgs] @marsam merged pull request #83395 → pueue: 0.1.6 -> 0.2.1 → https://git.io/JvS7R
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv94N
iyzsong has quit [Ping timeout: 272 seconds]
gxt has quit [Ping timeout: 240 seconds]
gxt has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @xfix opened pull request #83425 → nixos/tests/hibernate: disable for platforms other than x86_64 → https://git.io/Jv9Bu
xkapastel has joined #nixos
erictapen has joined #nixos
waleee-cl has joined #nixos
<jakobrs> I guess it doesn't really matter since nixos-20.03 is probably released in less than a week
chloekek has joined #nixos
<{^_^}> [nixpkgs] @IvarWithoutBones opened pull request #83426 → xp-pen-g430: init at 20190820 → https://git.io/Jv9RI
<betaboon> is it possible to access `config` in an overlay ?
reallymemorable has joined #nixos
<clever> betaboon: nixos config or nixpkgs config?
<betaboon> nixos config
<clever> betaboon: nope
remirol is now known as lorimer
<tilpner> You can import your NixOS config, but you shouldn't do that
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
bvdw has quit [Quit: bvdw]
<betaboon> when using `nixpkgs.config.XYZ.foo` the XYZ package has to have a default value for `foo`, right?
erictapen has quit [Ping timeout: 260 seconds]
bvdw has joined #nixos
<clever> betaboon: yeah, so it works with an empty config
<betaboon> thank
<betaboon> *+s
jakobrs has quit [Quit: WeeChat 2.7.1]
<clever> betaboon: also, things like nixpkgs.config.flag, can have different defaults for different packages
magnetophon has joined #nixos
<betaboon> clever: can you point me to an example ?
<clever> 6479 scream-receivers = callPackage ../misc/scream-receivers {
<clever> 6480 pulseSupport = config.pulseaudio or false;
<clever> default is false
<clever> 12473 libao = callPackage ../development/libraries/libao {
<clever> 12474 usePulseAudio = config.pulseaudio or stdenv.isLinux;
v0|d has quit [Ping timeout: 258 seconds]
<clever> default is which os your on, true for linux
fendor has quit [Read error: Connection reset by peer]
aveltras has joined #nixos
<betaboon> is that `config` nixpkgs-config or nixos-config? oO
<aveltras> how long does the nixos lustrate process usually take ?
<clever> betaboon: thats the nixpkgs config, which you can also set via nixpkgs.config in configuration.nix
<clever> betaboon: outside of nixos, it comes from a config.nix file by default
<betaboon> and how do i access nixpkgs-config in an overlay ?
<clever> betaboon: self.config
<betaboon> ah ok. thanks :)
est has joined #nixos
mexisme has joined #nixos
* est waves at joepie91
* joepie91 waves
work_ has joined #nixos
<ottidmes> aranea: BTW it is almost always cheaper to use fetchTarball if you can, so if you are fetching something from github, you probably want to use e.g.: fetchTarball "https://github.com/msteen/nixos-vsliveshare/tarball/master" (this is especially the case for nixpkgs, which is ~1.8GB with fetchGit, and ~100MB with fetchTarball)
mexisme has quit [Ping timeout: 240 seconds]
<joepie91> ottidmes: is there any work on a more efficient fetchgit implementation?
<joepie91> ongoing work*
<aranea> Yeah, I'm aware of that (and of the fetchFromGitHub etc wrappers). but thanks. :)
<tilpner> ottidmes: Prefer fetchzip over fetchTarball, you probably didn't mean to download large source tarballs at eval time
<bqv[m]> more efficient how?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bqv[m]> it's downloading a git repository
<bqv[m]> it's not like you can just compress it harder
<tilpner> bqv[m]: You can download a git repository with or without all its history
<ottidmes> bqv[m]: one is doing a git clone, the other is doing downloading a snapshot of just the working directory of the revision you ask for
<bqv[m]> tilpner: obviously, but i don't see how fetchgit could be improved
<tilpner> bqv[m]: And if you don't want the history, a remote-build archive is more efficient than having to do a full clone and discarding the parts you don't need
zupo has joined #nixos
<tilpner> *remotely-built archive
<tilpner> bqv[m]: Mostly because git doesn't allow you to do a shallow clone of a specific revision
<ottidmes> aranea: was just pointing it out, because I used fetchGit where I wanted a particular branch without a sha256, not realizing with github URL API you can just put any rev-like after /tarball
<{^_^}> [nixpkgs] @LEXUGE opened pull request #83427 → libupnp: 1.8.4 -> 1.12.0 → https://git.io/Jv9RQ
<bqv[m]> am i misunderstanding something? i wasn't commenting on the tarball fetches
<bqv[m]> joepie mentioned improving fetchgit
cosimone has joined #nixos
<ottidmes> bqv[m]: same idea, it could be more efficient if you are not interested in the full history
<bqv[m]> well ok, but that's not efficiency, that's a different function, really
<ottidmes> bqv[m]: not really, still very much fetching from git, just an option to it
<tilpner> Most users of fetchgit don't want the full history, so it doesn't fulfill a different function
pjan has joined #nixos
cfricke has joined #nixos
<bqv[m]> i suppose it makes sense in the context of nix, but it just seems wrong to call shallow fetching "more efficient"
<ottidmes> tilpner: why is it actually that the builtin fetchers behave like that compared to fetchurl/fetchzip when they are given a hash
cosimone has quit [Client Quit]
<ottidmes> bqv[m]: more efficient use of network bandwidth, disk space, and time (it was worrying how long it took to fetchGit nixpkgs)
<{^_^}> [hydra] @edolstra pushed 2 commits to fail-unsupported: https://git.io/Jv90U
<Cadey> how do i get nixpkgs-mozilla to install rust-src as a component in $RUST_ROOT/lib/rustlib/components?
troydm has joined #nixos
<{^_^}> [hydra] @edolstra opened pull request #727 → Abort unsupported build steps → https://git.io/Jv90n
<{^_^}> [nixpkgs] @bjornfor pushed commit from @hedning to release-19.09 « nix-bash-completions: 0.6.7 -> 0.6.8 (#81019) »: https://git.io/Jv90C
jbrock has joined #nixos
<tilpner> ottidmes: fetchzip creates a derivation, fetchTarball just does it immediately. It can be necessary to fetch something at eval time, but not if you're just going to pass it as src to mkDerivation
<tilpner> (E.g. it's necessary-ish if you want to do imports = [ (something you just fetched) ];)
<ottidmes> tilpner: but I fail to see why it could not be a derivation when passed a hash
kim0 has joined #nixos
<{^_^}> [nixpkgs] @domenkozar merged pull request #80355 → haskell.compiler.ghc822Binary: propagate llvm dependency → https://git.io/Jv8pz
<{^_^}> [nixpkgs] @domenkozar pushed 2 commits to master: https://git.io/Jv902
<tilpner> It could maybe be disguised as one, but that would be confusing
<tilpner> A derivation can be built remotely, fetchTarball can't. A derivation is built in a sandbox, fetchTarball isn't
nobrak` has joined #nixos
<ottidmes> fair enough, would still have been useful to have a seperate builtin for it, although you can built it yourself with builtins already at the moment, its not really covenient to use
<clever> tilpner: fetchTarball also cant be ran in parallel to other derivations
<clever> so it causes major slowdowns
<ottidmes> if you run fetchTarball on something you already fetchzip'ed, would it still fetch if its not in the fetchTarball's cache?
<gchristensen> clever: it would be nice for it to be able to do that.
philr has quit [Ping timeout: 240 seconds]
nobrak has quit [Ping timeout: 258 seconds]
<clever> ottidmes: thats controlled by the tarballttl in `nix.conf`
ryantm has quit [Ping timeout: 256 seconds]
orivej_ has joined #nixos
orivej has quit [Read error: Connection reset by peer]
<ottidmes> clever: that only determines how long its cached, right, not whether it leverages what's already in /nix/store?
<clever> ottidmes: if it has been over the ttl, it will try to re-download the file
<clever> ottidmes: if the http server supports etag's, it can use that to skip the download, and reuse what was in the store
<clever> if it lacks etag support, it will likely re-download the .tar.gz, but then notice the store already has an unpacked copy, and reuse that
erasmas has joined #nixos
<clever> [root@amd-nixos:~]# cat ~/.cache/nix/tarballs/187scrklwbqay1nqb0qa9fyhzd8l376axzwl027pfkb4y84kxfch.info
<clever> "2935a67eb946a208b1da7a453d125bc188fd9c33"
<clever> 1550707724
<clever> this tracks the url, i think the etag? and the timestamp it was last checked
<clever> lrwxrwxrwx 1 root root 62 Mar 17 2019 /root/.cache/nix/tarballs/z5a497qznwnjv7hcinbhvh3x4jczfgrb-nixos-16.03.tar.gz-unpacked -> /nix/store/ls6i5ysqm0k2dri00zfh0a0igcrn7bkf-nixos-16.03.tar.gz
vandenoever has quit [Read error: Connection reset by peer]
<clever> and this then maps a given tarball to a storepath
<clever> and none of them are gc roots, so the path may vanish at any time
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<{^_^}> [nixpkgs] @marsam merged pull request #83424 → jetbrains-mono: 1.0.4 -> 1.0.5 → https://git.io/Jv94d
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Jv90b
kai_w has quit [Quit: Konversation terminated!]
peelz_ has joined #nixos
thongpv87 has quit [Ping timeout: 240 seconds]
callahad8707 has quit [Ping timeout: 240 seconds]
callahad8707 has joined #nixos
epta has quit [Ping timeout: 240 seconds]
katie_- has joined #nixos
mlatus has joined #nixos
georges has quit [Quit: ZNC 1.7.1 - https://znc.in]
markus1189 has quit [Ping timeout: 264 seconds]
katie_ has quit [Ping timeout: 264 seconds]
mlatus_ has quit [Ping timeout: 240 seconds]
thongpv87 has joined #nixos
erasmas has quit [Ping timeout: 265 seconds]
MightyJoe has quit [Read error: Connection reset by peer]
markus1189 has joined #nixos
georges has joined #nixos
epta has joined #nixos
peelz has quit [Ping timeout: 264 seconds]
dsg has quit [Ping timeout: 264 seconds]
dsg has joined #nixos
dongcarl has quit [Read error: Connection reset by peer]
<{^_^}> [hydra] @edolstra pushed 2 commits to fail-unsupported: https://git.io/Jv9Em
cyraxjoe has joined #nixos
<ottidmes> clever: so for fetching nixpkgs it should not be so bad
<emilsp> what exactly do I need to set in my config to try a newer kernel?
<ottidmes> boot.kernelPackages = pkgs.linuxPackages_latest;
<emilsp> thanks ottidmes!
<emilsp> heh, testing is broken, but latest is not?
ndreas[m] has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #83428 → nixos/rygel: link rygel.conf → https://git.io/Jv9Er
<gchristensen> ehmry: ping
<ehmry> gchristensen: pong
<gchristensen> ehmry: cool idea on the team, though I wonder if we should have a team per exotic platform?
ddellacosta has joined #nixos
<ehmry> gchristensen: RFC46 say we should have this team, though child team are possible - https://github.com/NixOS/rfcs/blob/master/rfcs/0046-platform-support-tiers.md
<gchristensen> oh!
<gchristensen> ehmry: I think it should be a sub-team of nixpkgs maintainers?
<gchristensen> what do you think?
<ehmry> gchristensen: sure, I didn't quite understand that widget
<{^_^}> [docker] @blaxill opened pull request #14 → Update to nix version 2.3.3 → https://git.io/Jv9ED
v88m has joined #nixos
<gchristensen> okay, cool, I will cancel your request and recreate it under the maintainers team
<ehmry> i thinks its already done
<gchristensen> great
navmed has joined #nixos
<gchristensen> https://github.com/orgs/NixOS/teams/exotic-platform-maintainers and it is underneath the maintainers team now
wavirc22 has quit [Read error: Connection reset by peer]
<ehmry> I'm not sure who belongs in this team but they should be able to add themselves
nobrak`` has joined #nixos
nobrak` has quit [Ping timeout: 256 seconds]
Makaveli7 has quit [Ping timeout: 260 seconds]
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<gchristensen> yeah
<gchristensen> so the problem with putting it under Committers is anyone who adds themselves gets to commit :P
iqubic` has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @nh2 merged pull request #83144 → Conan 1.23.0 → https://git.io/JvDoq
<{^_^}> [nixpkgs] @nh2 pushed 5 commits to master: https://git.io/Jv9uJ
iqubic` has joined #nixos
<ehmry> yes, but I think it will be committers joining anyway
<ehmry> though I don't understand team, I just know that more communication is good
jakobrs has joined #nixos
<gchristensen> +1
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83274 → wire-desktop: Fix StartupWMClass → https://git.io/Jvyyi
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Jv9uL
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @arianvp to release-20.03 « wire-desktop: Fix StartupWMClass »: https://git.io/Jv9uY
<jakobrs> Can I just do 'nixpkgs.overlays = [ (self: super: { bluez = self.callPackage <nixos-unstable/pkgs/os-specific/linux/bluez> {}; })]' or is that a bad idea
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @arianvp to release-19.09 « wire-desktop: Fix StartupWMClass »: https://git.io/Jv9u3
<{^_^}> [nixpkgs] @nh2 merged pull request #83423 → aqbanking: Fix download url because of upstream changes → https://git.io/Jv9l2
<{^_^}> [nixpkgs] @nh2 pushed 2 commits to master: https://git.io/Jv9us
<s1341> i've installed the manpages package, but I still don't have manpages for some stuff. for e.g. pthread... is there a way to fix this?
<srk> jakobrs: lgtm
<jakobrs> ty
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83392 → Revert "nixos-container: use systemd-run instead of nsenter" → https://git.io/JvSQ2
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to release-20.03: https://git.io/Jv9u8
erictapen has joined #nixos
<navmed> Coronavirus Live Stream - Real-time counter, Maps, and worldwide stats.https://www.youtube.com/watch?v=qTbR2UKTQQc
navmed has left #nixos [#nixos]
<ehmry> Ericson2314: ping
Rusty1 has joined #nixos
<Ericson2314> pong
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
<ehmry> Ericson2314: I don't know how else belongs in exotic-maintainers
nikivi has joined #nixos
<ehmry> but I want to get it rolling
<ehmry> eventually
<srk> what counts as exotic?
cole-h has joined #nixos
<ehmry> according to RFC0046, baremetal, android, powerpc
<Ericson2314> Maybe matthewbauer is interested
<srk> thanks!
deni has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #83429 → networkmanager: 1.22.8 -> 1.22.10 → https://git.io/Jv9uD
<MichaelRaskin> ehmry: obviously, now also Genode
<ehmry> yes
Czen1 has quit [Ping timeout: 272 seconds]
jakobrs has quit [Quit: WeeChat 2.7.1]
<MichaelRaskin> We know it when we see it, and roughly stuff not positioned as reliant on POSIX likeness
<ehmry> the BSDs?
erasmas has joined #nixos
<MichaelRaskin> Well, there is exotic-in-terms-of-impact (i.e. low-tier), that might be foricbly applicable to BSDs. But BSDs are likely either to get dropped again, or to become non-exotic
<Ericson2314> we have net bsd
<Ericson2314> I started free bsd
<Ericson2314> if we do the bsds purely, they shouldn't bit rot
<MichaelRaskin> I remember old good days of FreeBSD on Hydra
<MichaelRaskin> Looking at some Linux glibc updates… well, shouldn't bitrot quickly, but still…
nobrak`` has left #nixos ["ERC (IRC client for Emacs 26.3)"]
deni has joined #nixos
Czen1 has joined #nixos
nobrak has joined #nixos
<{^_^}> [nixpkgs] @danieldk opened pull request #83430 → python3Packages.spacy_models: 2.2.0 -> 2.2.5 → https://git.io/Jv9zL
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/59c3b5f932d (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
Makaveli7 has joined #nixos
<ehmry> what is the state of PPC?
<srk> halfway there, bootstrap-files/ppc* is missing
iqubic` has quit [Remote host closed the connection]
iqubic` has joined #nixos
<shor> Is it possible to install nixos without an internet connect? I have a bare configuration without any additional packages, using --option substituters "", but it first tries to pull bash-4.4 from a gnu mirror.
hlavaty has joined #nixos
<hyper_ch> sounds painful but it's possible. You can run hydra buildfarm on your own
justanotheruser has quit [Ping timeout: 256 seconds]
<MichaelRaskin> With some experience it is not too painful, you could install it to a
<hlavaty> how can i set linux kernel option to n? using boot.kernelPatches...extraConfig throws error: option not set correctly: CGROUP_WRITEBACK (wanted 'n', got 'y')
<shor> assuming I had a buildfarm, how would I direct the build process to pull from this instead of from gnu
<MichaelRaskin> USB drive, then realise all the build dependencies, then install from that drive
iqubic`` has joined #nixos
<shor> As I have a workstation on the local network, I can copy its store and build dependencies to a usb. Its that it starts off by trying to download bash from a non-nixcache location, I'm uncertain why this is
<MichaelRaskin> Installation does pull from the boot device by default, so you just need to ensure all the necessary stuff is there
<glittershark> wow why did I sleep on lorri for so long
<glittershark> so FAST
ryantm has joined #nixos
cfricke has quit [Quit: WeeChat 2.7.1]
<MichaelRaskin> shor: maybe it tries to reach the cache and fails?
<glittershark> if anyone else isn't using lorri yet... use lorri. dang
<shor> MichaelRaskin: makes sense, how would I ensure a complete list of build dependencies for stdenv
<hyper_ch> what's lorri?
<MichaelRaskin> hyper_ch: https://github.com/target/lorri
iqubic` has quit [Ping timeout: 256 seconds]
<DigitalKiwi> shor: did you look at nix-serve? it'll create a cache you can point to
<DigitalKiwi> also, hello, we meet again
<DigitalKiwi> have you been at this all night
johnny5 has joined #nixos
<hyper_ch> MichaelRaskin: thx, I still have no idea what it's good for :9
<MichaelRaskin> shor: take your target configuration.nix as tgt-conf.nix, nix-build nixos with -I nixos-config=$PWD/tgt-conf.nix — then nix-store -q --deriver on the output path and nix-store -qR on the derivation and nix-store -r on each path
<MichaelRaskin> hyper_ch: auto-caching of nix-shell builds basically
<hyper_ch> ok, thx
<shor> I have nix-serve running in a chroot in the installation media, using substituters option to point to 127.0.0.1:5000
<MichaelRaskin> I do not use it as I have a list of stuff I prebuild and then add to the environment as needed
<shor> DigitalKiwi: yes v_v
johnnyfive has quit [Ping timeout: 240 seconds]
<glittershark> sales pitch: cd into a dir, you're in that dir's nix shell immediately
<glittershark> the README of the repo could sell this a little harder imo
<glittershark> because it's effing *magical*
<glittershark> my muscle memory keeps trying to type `ns` once I cd into my project's directory
<glittershark> no more!
<glittershark> not to mention that evaluation time for big closures goes away entirely
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
abathur has joined #nixos
<DigitalKiwi> shor: i wonder if it's possible to build that version of bash on a different machine so that it's in the cache...idk
<hyper_ch> shor: what is the reason to not connect it to the internet? I'm just curious
<shor> Its my understanding its the same version on the installation media, I think maybe its just missing some dependency to install it?
johnny5 has quit [Ping timeout: 264 seconds]
<DigitalKiwi> shor: and, not so much a solution but gets you out of the headache if it's feasible...usb ethernet are about $10 on amazon in the us not sure where you are
<shor> hyerp_ch: this box does not have a wireless nic and a damaged onboard nic
johnnyfive has joined #nixos
<hyper_ch> shor: as digitalkiwi said, I'd get a usb ethernet adapter
<shor> also, personal education on how to deploy offline if I were in a circumstance where I need the worlds greatest distro without internet
ixxie has joined #nixos
<hyper_ch> I bought one a long time ago and was glad to have it several times when wifi drivers weren't ready and no ethernet card
<DigitalKiwi> usb live disk :P
<hyper_ch> shor: curl -o internet-2020-26-03 https://*/*
<DigitalKiwi> error: no space left on device
linarcx has quit [Read error: Connection reset by peer]
justanotheruser has joined #nixos
<hyper_ch> shor: also as DigitalKiwi says: you can easily build a custom nixos live disk with all tools you want
linarcx has joined #nixos
<hyper_ch> (with nixos it's easy... not sure with other distros)
<DigitalKiwi> fairly easy with arch
<hyper_ch> never used arch
<DigitalKiwi> a lot easier with nixos imo
<DigitalKiwi> (situation may have improved, it's been a while)
dermetfan has quit [Ping timeout: 272 seconds]
<shor> nix-build -I $PWD/tgt-conf.nix wants a path to build (default.nix)
mexisme has joined #nixos
<shor> this procedure makes me realize how little I understand about the build process
<{^_^}> [nixpkgs] @matthewbauer merged pull request #83159 → pydf: install man page and default config file → https://git.io/JvDMj
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Jv9gz
<hyper_ch> shor: e.g. my custom iso looks like this: 1 bash script to run the nix build command and one nix expression where I say what to include... https://gist.github.com/sjau/d3e27cb827e18544c75157d9e22a7aad
<hyper_ch> I could also add a DE to it if I wanted (used to add kde to it but not anymore)
<shor> the live-iso is probably my next rute, as even attempting to reinstall the same version of bash on the installatin media prompts it to try downloading a tarball from nixos.org, even with substituers ""
mexisme has quit [Ping timeout: 256 seconds]
<shor> hyper_ch: thanks for the example config
<hyper_ch> shor: well, I took some things out.. I do add a few custom files to it.. I can post the whole thing if you want
<hyper_ch> e.g. I add my .tmux.conf also to /root/.tmux.conf and stuff
hlavaty has quit [Remote host closed the connection]
<shor> its ok, the main thing I'm concerned with is providing the default builds that would be provided without any additional packages specified, I believe this base is called stdenv, right?
<MichaelRaskin> more or less
<MichaelRaskin> shor: -I was for building nixpkgs/nixos
<MichaelRaskin> So that you can prebuild both the entire target instance and then all of its dependencies in advance on a connected machine
fendor has joined #nixos
<MichaelRaskin> shor: nix-instantiate '<nixpkgs>' -A stdenv | xargs nix-store -qR | xargs nix-store -r
<judson_> pypi2nix generates https://gist.github.com/12c9dda468ae801cb6fe87a120f7c51a, but when I `nix-shell requirements.nix -A interpreter` it replies error: attribute 'patchPhase' missing, at /home/judson/dev/foreman-provisioner-cli/requirements.nix:25:24
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shor> thanks for the fix, will try building on my nixos workstation
<judson_> I'm trying, also, to use this with lorri, so trying to wrap a shell.nix around it, which gives a different error.
rogue_koder has joined #nixos
<glittershark> judson_: that patchPhase stuff is kinda silly
<glittershark> just use postPatch
<glittershark> idk though, I don't use pypi2nix
<glittershark> I just use `buildEnv` with `python.withPackages`
<judson_> requirements.nix is a generated file.
<{^_^}> [nixpkgs] @jtojnar merged pull request #83428 → nixos/rygel: link rygel.conf → https://git.io/Jv9Er
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to master: https://git.io/Jv9gA
<glittershark> this is likely a bug with pypi2nix then
<judson_> Trying to work with someone else's requirements.txt
<glittershark> ah.
<judson_> It looks like boilerplate in the file, so getting errors from it seems like a "how does anyone use this?"
ZoomZoomZoom has quit [Read error: Connection reset by peer]
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
matthiaskrgr has joined #nixos
horek has joined #nixos
horek has quit [Client Quit]
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to release-20.03: https://git.io/Jv92k
<glittershark> judson_: that's what I'm thinking too
zaeph has quit [Ping timeout: 240 seconds]
reallymemorable has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
<judson_> Does anyone use pypi2nix?
<glittershark> oh, could be a nixpkgs versison thing
nobrak has quit [Remote host closed the connection]
<glittershark> bootstrapped-pip.patchPhase doesn't exist on my version of nixpkgs
CptCaptain has quit [Quit: WeeChat 2.7.1]
nobrak has joined #nixos
<glittershark> looks like you just need to update pypi2nix
<judson_> So I did a `nix run nixpkgs.pypi2nix` to rebuild, so it sounds like it's broken in nixpkgs
<glittershark> yeah that discourse thread looks like the maintainer is recommending installing it from the master branch
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
CptCaptain has joined #nixos
<judson_> Ugh.
iqubic`` has quit [Remote host closed the connection]
<judson_> I do a lot more Ruby, but I _want_ to like Python, you knoW?
iqubic`` has joined #nixos
<glittershark> hah
<glittershark> I wouldn't know what that's like
<judson_> Wanting to like Python?
<glittershark> I do almost exclusively python and I fully hate it
<glittershark> yeah lol
<judson_> Just grim determination, eh?
hlavaty has joined #nixos
CptCaptain has quit [Client Quit]
<judson_> Ruby got packaging and distribution right, which is a big deal.
wildtrees has joined #nixos
CptCaptain has joined #nixos
CptCaptain has quit [Client Quit]
<manveru> nothing i had to do with python so far has made me like it either... just barely tolerating its existence, but i never will understand how it got so popular :P
CptCaptain has joined #nixos
<judson_> For a long time, I thought I was frustrated by the Nix approach to Python packaging. It seemed like a big regression.
<judson_> But no. I don't know what you could do that would be more sensible.
CptCaptain has quit [Client Quit]
<manveru> using poetry2nix instead
<manveru> if you have a chance
<adisbladis> Heh, I was just gonna shill that too ;)
CptCaptain has joined #nixos
<judson_> Tell me about that, manveru?
<{^_^}> [nixpkgs] @ryantm merged pull request #63079 → inconsolata-nerdfont: init at 2.0.0 → https://git.io/fj2nG
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Jv92i
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
bahamas has quit [Ping timeout: 240 seconds]
<manveru> poetry is yet another package manager for python...
matthiaskrgr has joined #nixos
<manveru> it just happens to have a mostly sensible lock format i think :)
<{^_^}> [nixpkgs] @worldofpeace pushed to staging « libwnck3: 3.32.0 -> 3.36.0 »: https://git.io/Jv921
<adisbladis> judson_: Modern dependency management for python https://python-poetry.org/ + https://github.com/nix-community/poetry2nix which parses it's lock files, you don't need to write derivations yourself.
erasmas has quit [Read error: Connection reset by peer]
<judson_> So projects that are using pypi, I'd have to convert them.
<judson_> Which in this case would be a political process.
<judson_> Seems cool though.
<manveru> yeah
wildtrees has quit [Remote host closed the connection]
<judson_> I keep thinking Nix could use something like TUF, or the Go modules proxy.
<manveru> i ended up writing a half-assed pipfile2nix converter because i couldn't switch them to poetry yet :P
wildtrees has joined #nixos
<adisbladis> :<
<adisbladis> Friends don't let friends use pipenv
<Yaniel> I did actually like python a lot at one point
<judson_> A universal format for language packaging adapters, and a server for each upstream distributor to do TOFU fetching.
nobrak has quit [Remote host closed the connection]
<Yaniel> back in the 1.9.x days IIRC
medvid has joined #nixos
<Yaniel> when it was ported to symbian and managed to be way nicer to use than any of the symbian c stuff
erictapen has quit [Ping timeout: 240 seconds]
<adisbladis> judson_: Btw, you can use poetry/poetry2nix to package non-poetry things. It also uses the pypi index so you can use poetry to an environment.
<simpson> judson_: Yep, it's politics; PyPI doesn't carry enough metadata for us, and they're not going to change that. Additionally, many of them don't grok why Nix is useful and aren't interested in non-Debian-style distros.
<adisbladis> https://github.com/nixcon/nixcon-vps/tree/master/pkgs/pretix is an early bad example of exactly that.
medvid_ has quit [Ping timeout: 264 seconds]
pluplog has joined #nixos
<drakonis> simpson: which parties in python refuse to change?
Czen1 is now known as Czen
<simpson> drakonis: Python Software Foundation generally doesn't care; Python Packaging Authority understands that there's a problem, but can't unilaterally change packaging standards.
jakobrs has joined #nixos
wildtrees has quit [Remote host closed the connection]
<jakobrs> Launching musescore from the application launcher or Alt-F2 fails, but launching it from Konsole works; is this normal?
<drakonis> oh i see.
wildtrees has joined #nixos
<drakonis> that's an issue then
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83431 → bibutils: 6.8 -> 6.10 → https://git.io/Jv9aI
<jakobrs> There's something about "Cannot mix incompatible Qt library (version ...) with this library (version ...)"
<judson_> jakobrs, uninformed comment is that launchers often have different environments than shells, which impacts how stuff runs.
<jakobrs> I mean sure
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
matthiaskrgr has joined #nixos
<jakobrs> Interestingly, QT_PLUGIN_PATH in my shell and QT_PLUGIN_PATH in the musescore wrapper refer to different versions of Qt
<glittershark> a huge portion of python packages have heavily mutable / impure builds
<jakobrs> I'd expect those to be the same
<glittershark> you have to actually run setup.py in order to even figure out what they depend on, let alone fetching all their dependencies
<{^_^}> [nixos-hardware] @Mic92 merged pull request #152 → Added Librem15v3 → https://git.io/Jvyl1
<{^_^}> [nixos-hardware] @Mic92 pushed 4 commits to master: https://git.io/Jv9aG
<glittershark> especially in the data science / ML space which is where I do all my python packaging
<glittershark> spent like a week trying to get https://github.com/facebook/prophet and all its dependencies building on linux and macos
chloekek has quit [Ping timeout: 250 seconds]
noudle has joined #nixos
<glittershark> absolute nightmare
bahamas has joined #nixos
bahamas has joined #nixos
bahamas has quit [Changing host]
wildtrees has quit [Remote host closed the connection]
zupo has joined #nixos
<drakonis> python is hell for nix
<drakonis> really because a lot of packages have external dependencies
<jakobrs> Where is QT_PLUGIN_PATH set in terminal sessions?
<glittershark> amusingly enough my company actually switched to nix because it was less hell than every other way of managing python dependencies
<drakonis> that's because the most popular python packages have been handled already
<drakonis> thankfully
<glittershark> primarily because of all the work nixpkgs contributors have done packaging stuff
<glittershark> yeah
<glittershark> so, thanks to all of them
<drakonis> perks of having a userbase i suppose
<glittershark> yeah
<jakobrs> What am I supposed to do now?
m0rph has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @domenkozar pushed to master « ghc: 8.10.0.20200123 -> 8.10.1 »: https://git.io/Jv9aK
nobrak has joined #nixos
<drakonis> export the variable?
<drakonis> or echo it?
<{^_^}> [nixpkgs] @domenkozar pushed to release-20.03 « ghc: 8.10.0.20200123 -> 8.10.1 »: https://git.io/Jv9aX
<jakobrs> I mean, I know why this is happening, sort of
<jakobrs> I just don't know how to get plasma to actually run the applications in the correct environment
<jakobrs> Does this sound like a bug?
<colemickens> My minimal nixos image is 2.4 GB, I think I should've tried to build a minimal boot image with not-os and then tried to pivot into nixos stage2 from there...
<{^_^}> [nixpkgs] @Ma27 pushed to master « Revert "nixos-container: use systemd-run instead of nsenter" »: https://git.io/Jv9ah
<{^_^}> [nixops] @domenkozar merged pull request #1265 → parallel: handle exceptions more modern-like → https://git.io/Jv94X
<{^_^}> [nixops] @domenkozar pushed 3 commits to master: https://git.io/Jv9VY
erictapen has joined #nixos
chloekek has joined #nixos
<tilpner> w
* tilpner confuses weechat with nvim
glittershark has quit [Ping timeout: 240 seconds]
knupfer has joined #nixos
nuncanada has joined #nixos
glittershark has joined #nixos
<Guest11214> with https://github.com/bbigras/nixpkgs/blob/pxe/nixos/modules/services/networking/netboot.nix https://github.com/bbigras/nixpkgs/blob/pxe/nixos/modules/services/networking/pxe.nix , I would like to build netboot.nix and use it in pxe.nix to do like `kernel = "${netboot}/bzImage"` but I can't figure it out. I might be confusing files I can build directly with nix-build and packages.
<Guest11214> I'm not sure if I need to use import or callPackage and if the pxe.file need some changes
andreas31 has quit [Remote host closed the connection]
<{^_^}> [nixops] @domenkozar merged pull request #1263 → script_defs: open state files and deployments with a context manager → https://git.io/JvSUH
<{^_^}> [nixops] @domenkozar pushed 44 commits to master: https://git.io/Jv9Vz
<jakobrs> Um, this is literally impossible to debug.
<jakobrs> I should probably just open an issue
cartwright has quit [Remote host closed the connection]
growpotkin has joined #nixos
cartwright has joined #nixos
<Guest11214> Are you talking to me? or you're talking about earlier stuff with plasma?
<jakobrs> the plasma stuff
<Guest11214> gotcha
<{^_^}> [nixpkgs] @Ma27 merged pull request #40082 → mongodb: 3.4.10 -> 4.0.12 → https://git.io/vpoq5
<{^_^}> [nixpkgs] @Ma27 pushed 10 commits to master: https://git.io/Jv9V6
andreas31 has joined #nixos
jakobrs has quit [Quit: WeeChat 2.7.1]
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
matthiaskrgr has joined #nixos
bahamas has quit [Quit: leaving]
oida has quit [Ping timeout: 240 seconds]
<aswanson> I'm attempting to add a python package that isn't in nixpkgs to a shell.nix file for development purposes, and gotten this far: https://pastebin.com/RmWVBLZM
<aswanson> the expression evaluates successfully, but doesn't seem to actually do anything with the package I've defined
foolob has joined #nixos
<foolob> Can somebody help me setup an nginx reverse proxy config that forwards to different locations depending on the port?
<shor> hyper_ch: you mentioned that you added custom files to the built iso image, what is the canonical way of accomplishing this?
<foolob> In the configuration file itself, I could just define multiple server {} statements, but that does not seem to be possible with the nginx package. Or is it?
<shor> foolob: does it have to be ports, or could you use vhost names?
<foolob> shor, it has to be ports
<foolob> vhost names is easy, but the issue is, that I cannot redefine the same vhost with different ports, it seems
<{^_^}> [nixpkgs] @bachp opened pull request #83434 → cryptomator: init at 1.4.15 → https://git.io/Jv9wt
<foolob> shor, So basically I need server { listen 1234 ssl; server_name example.com; location / { proxy_pass http://foo; } server { listen 4567 ssl; server_name example.com; location / { proxy_pass http://bar; } in the resulting nginx config
<foolob> I think, this is not possible with the nginx nixos service? But I am still a noob, so I might miss something.
<johnw> has anyone here setup Gerrit as a NixOS container?
<shor> are you able to do this in vanilla nginx?
<{^_^}> [nixpkgs] @bachp opened pull request #83435 → plasma-5,kde,kde-frameworks: update → https://git.io/Jv9wZ
<foolob> shor yes
<shor> check out the configuration option services.nginx.appendConfig
<drakonis> haw, plasma 5.18 incoming
rogue_koder_ has joined #nixos
<drakonis> this is good.
<foolob> shor, thx, I think I will use that
rogue_koder has quit [Remote host closed the connection]
<drakonis> just a month late instead of nearly half a year
<{^_^}> [nixpkgs] @worldofpeace merged pull request #83429 → networkmanager: 1.22.8 -> 1.22.10 → https://git.io/Jv9uD
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/Jv9wu
<{^_^}> [nixpkgs] @jonringer merged pull request #83320 → pythonPackages.qiskit-ibmq-provider: init at 0.5.0 → https://git.io/JvSLR
<{^_^}> [nixpkgs] @jonringer pushed 3 commits to master: https://git.io/Jv9wg
erictapen has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @jonringer closed pull request #83370 → pythonPackages.arrow: 0.15.4 -> 0.15.5 → https://git.io/JvSPO
<{^_^}> [nixpkgs] @mmilata opened pull request #83436 → nixos/mediawiki: allow using default extensions → https://git.io/Jv9w6
<{^_^}> [nixpkgs] @jonringer merged pull request #83430 → python3Packages.spacy_models: 2.2.0 -> 2.2.5 → https://git.io/Jv9zL
<{^_^}> [nixpkgs] @jonringer pushed commit from @danieldk to master « python3Packages.spacy_models: 2.2.0 -> 2.2.5 »: https://git.io/Jv9wP
oida has joined #nixos
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
Jackneill has quit [Ping timeout: 240 seconds]
FRidh2 has quit [Quit: Konversation terminated!]
<hexo_> Ericson2314: hi, do you have any idea what is going on, please? /nix/store/q7611jb12r1jy21dxj9sdgnnyrzfj62y-bootstrap-stage1-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
<hexo_> bin/sh is symlink to dash
lassulus has quit [Ping timeout: 240 seconds]
rail_ has quit [Quit: gone...]
<hexo_> Ericson2314: nix was trying to build building '/nix/store/bwxqabz3b5smkz9r9r65p50s7gxz68f0-gnum4-1.4.18.drv'...
lassulus_ has joined #nixos
<hexo_> this is ppc64le, but anyway...
growpotk- has joined #nixos
lassulus_ is now known as lassulus
rail_ has joined #nixos
<hexo_> is the gnum4 package broken?
rail_ has quit [Client Quit]
<drakonis> hexo_: is this getting built from a debian machine?
<hexo_> srk: ^^^
<hexo_> bootstrap was from hydra
<hexo_> this machine is void linux with nix installed
rail_ has joined #nixos
<hexo_> i'd love to get to having nixos natively
<srk> yeah, drakonis was probably asking about host
<drakonis> hm
<hexo_> so, void linux ppc64le
<drakonis> that's a weird error
<hexo_> yup, my brain melts from it
<hexo_> :D
<drakonis> hm, how does linux normally handle running software from other architectures?
<hexo_> via qemu
<drakonis> i mean
<drakonis> what happens when you run it
<hexo_> there's a thin qemu layer, you need to have libs for that architecture
nuncanada has quit [Ping timeout: 258 seconds]
<hexo_> so i had libaarch64 and lib (for x86)
nuncanada has joined #nixos
<hexo_> and you just setup binfmtmics kernel handler
<hexo_> you can have this for wine as well
growpotkin has quit [Ping timeout: 240 seconds]
<drakonis> i think i'm not asking the correct question, what is the error that is output when you run a binary from another architecture
<hexo_> (and somehow it should be possible to have x86 wine on qemu on ppc64le :D)
<{^_^}> [nixpkgs] @worldofpeace pushed to release-20.03 « networkmanager: 1.22.8 -> 1.22.10 »: https://git.io/Jv9wb
<hexo_> ah
<hexo_> w8
<hexo_> i'll show you
<hexo_> i'll try x86 binary on ppc64le
<hexo_> [hexo@kefalin /home/hexo ]$ ./bash
<hexo_> -bash: ./bash: cannot execute binary file: Exec format error
<hexo_> [hexo@kefalin /home/hexo ]$ file bash
<hexo_> bash: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=6088017e1b386d955ce384f28b0bc642d5f6a38d, for GNU/Linux 3.2.0, stripped
<drakonis> hm, i see.
to8 has quit [Ping timeout: 256 seconds]
<hexo_> Linux kefalin 5.4.26_1 #1 SMP Wed Mar 18 18:09:35 UTC 2020 ppc64le GNU/Linux
<drakonis> fair enough.
<drakonis> why is /bin/sh linked to dash though?
shafox has quit [Remote host closed the connection]
<drakonis> i'll step back as this isnt something i can do
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
<hexo_> i have no idea why is it dash
work_ has quit [Quit: Connection closed for inactivity]
<hexo_> i tried to relink it to bash
glittershark has quit [Ping timeout: 258 seconds]
<hexo_> then replaced with bash
<hexo_> didnt help
rogue_koder_ has quit [Ping timeout: 265 seconds]
mexisme has joined #nixos
<drakonis> do you have void with musl or glibc?
<hexo_> glibc
<hexo_> afaik
Jackneill has joined #nixos
chloekek has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #83437 → mpv: fix cocoa backend → https://git.io/Jv9rL
glittershark has joined #nixos
nikivi has quit [Client Quit]
nikivi has joined #nixos
<drakonis> hm
<{^_^}> [nixpkgs] @sorki opened pull request #83438 → discourse: init at 2.4.1 → https://git.io/Jv9rZ
erictapen has joined #nixos
mexisme has quit [Ping timeout: 272 seconds]
knupfer has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @lsix merged pull request #83413 → python3Packages.argcomplete: 1.10.3 -> 1.11.1 → https://git.io/Jv9Io
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/Jv9rl
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
est has quit [Quit: Leaving]
growpotk- has quit [Ping timeout: 256 seconds]
<drakonis> anyways, someone else might know why
<aveltras> how can i fetch a private repo from github used in a configuration.nix ? is it only possible via ssh ?
<Ericson2314> hexo_: that error looks to me like it is not finding the dynamic linker
<Ericson2314> that is usually the source file not found errors running executables that do in fact exist
<Ericson2314> run and strace
<Ericson2314> *an strace
<judson_> Awesome. glittershark: master for pypi2nix drops 2.7
<judson_> Which is so backwards.
<gchristensen> :/
<gchristensen> it even has 2 in the name!
foolob has quit [Quit: Leaving]
<matthewbauer> hexo_: I don't think we have bootstrap tools for ppc64le
hmpffff has joined #nixos
<hexo_> Ericson2314: how should i run strace
<hexo_> matthewbauer: we do, in hydra
<matthewbauer> hexo_: but you should be able to use `boot.binfmt.emulatedSystems = [ "x86_64-linux" ];` if you'd like to have binfmt setup to run x86_64 binaries
<hexo_> i care about ppc64le
<hexo_> i dont want to emulate x86_64
<hexo_> i cant even build hello package
<hexo_> :D
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83439 → clickhouse: 19.17.8.54 -> 19.17.9.60 → https://git.io/Jv9rH
<hexo_> support for ppc64le is what im trying to achieve
<hexo_> so i dont mind compile or crosscompile stuff
<{^_^}> [nixpkgs] @Frostman opened pull request #83440 → hugo: 0.68.1 -> 0.68.3 → https://git.io/Jv9r5
growpotkin has joined #nixos
<Ericson2314> hexo_: go to x86 or arm machine and run nix, and then cross compile the bootstrap tools
<Ericson2314> see release-cross.nix
<hexo_> this?
<hexo_> already done
<Ericson2314> matthewbauer: maybe we should add pcc64le to release-cross.nix bootstrap tools?
<Ericson2314> ah it it there
<Ericson2314> hexo_: yeah that looks like it
<hexo_> :)
<Ericson2314> so edit nixpkgs to hard-code that path or something until we can get someone to upload one of those builds with the other bootstrap tools
<hexo_> did that yesterday
<hexo_> cat ./pkgs/stdenv/linux/bootstrap-files/ppc64le.nix
<hexo_> {
<hexo_> busybox = /nix/busybox;
<hexo_> }
<hexo_> bootstrapTools = /nix/bootstrap-tools.tar.xz;
<Ericson2314> matthewbauer: oh it looks like we do have it in stock nixpkgs
<hexo_> i've unpacked bootstrap-tools.xz to /nix
<hexo_> ah, not
<hexo_> i lie
<Ericson2314> we really should have musl bootstrap tools
<hexo_> copied it there
<Ericson2314> all this dynamic linking is a a PITA
<matthewbauer> i very much doubt dynamic linking is the problem here
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
nikivi has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
noudle has quit []
<aveltras> i have a nixos server with an imperative nixos container running apache inside. being root in the host, i can curl the container ip and it answers correctly. is there anything more than the following to do on the host to access the container from the web ?
jb55 has joined #nixos
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/c6839e5ae8c (from 33 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
<matthewbauer> (although tbh that doesn't look like the issue either)
Ariakenom has quit [Quit: WeeChat 2.7]
<judson_> gchristensen, lol
<aveltras> it works in fact, didn't read that part correctly https://nixos.org/nixos/manual/index.html#sec-container-networking
<judson_> Ugh. Okay, so I've got a python 2.7 tool here that I need to use. Is there something better than manually building up a list of python packages in my shell.nix?
<hexo_> matthewbauer: ill try fetchurl
<judson_> pypi2nix isn't working. I might pickaxe it to find a commit that would work?
<hexo_> while setting up the build environment: executing '/nix/store/6pkaihvncxgmz4akfspqjczkxhhl384m-busybox': Permission denied
<hexo_> building '/nix/store/pvp2walnxx64hinjg7dl4nmkz432g7fl-bootstrap-tools.drv'...
<hexo_> hmmmmmmm
<hexo_> ll /nix/store/6pkaihvncxgmz4akfspqjczkxhhl384m-busybox
<hexo_> -r--r--r-- 1 root root 21378192 Jan 1 1970 /nix/store/6pkaihvncxgmz4akfspqjczkxhhl384m-busybox
<hexo_> file /nix/store/6pkaihvncxgmz4akfspqjczkxhhl384m-busybox
<srk> it needs executable = true; proly can't do that with fetchurl
<hexo_> # file /nix/store/6pkaihvncxgmz4akfspqjczkxhhl384m-busybox
<hexo_> /nix/store/6pkaihvncxgmz4akfspqjczkxhhl384m-busybox: XZ compressed data
<hexo_> :D
<hexo_> ah, yes
<hyper_ch> shor: https://gist.github.com/sjau/9332c62d9d7c2edb5c6ec818a83ac9e6 I include the files.nix and then I can include files...
<hyper_ch> that way I include my .tmux.conf and my default files for root-zfs-installation
<hyper_ch> files.nix is from a gentle soul in this channel :)
<energizer> i see there's a bunch of github issues about secrets, private files, encryption. what is the current way to store passwords?
chloekek has joined #nixos
<judson_> I use a git-crypt solution.
<judson_> Works for small team.
<energizer> so you just don't use nix for that?
mexisme has joined #nixos
<{^_^}> [nixpkgs] @lsix opened pull request #83441 → khronos-ocl-icd-loader: 6c03f8b -> 2020.03.13 → https://git.io/Jv9oD
<{^_^}> [nixpkgs] @FRidh merged pull request #83074 → mypy: 0.761 -> 0.770 → https://git.io/Jv9o9
<{^_^}> [nixpkgs] @FRidh pushed commit from @LnL7 to master « mypy: 0.761 -> 0.770 »: https://git.io/Jv9oH
<hexo_> building '/nix/store/m5kh0wql9jl5xrw94qryfvs0mqcmhk6k-bootstrap-tools.drv'...
<hexo_> while setting up the build environment: executing '/nix/store/9br9z6n5ly6l55dvdyryr8g8ca8v6x69-busybox': Exec format error
<hexo_> :D
<hexo_> $ file /nix/store/9br9z6n5ly6l55dvdyryr8g8ca8v6x69-busybox
kfound has quit [Ping timeout: 246 seconds]
<hexo_> /nix/store/9br9z6n5ly6l55dvdyryr8g8ca8v6x69-busybox: XZ compressed data
hyper_ch has quit [Ping timeout: 258 seconds]
<hexo_> wooooot
<energizer> like, how do i tell my irc client what my password is?
<hexo_> how can i tell it to unxz it please?
jwaksbaum[m] has joined #nixos
wildtrees has joined #nixos
kfound has joined #nixos
<judson_> For home-manager stuff, nah. I use pass and deliver it directly.
mexisme has quit [Ping timeout: 256 seconds]
nuncanada2 has joined #nixos
<jwaksbaum[m]> Is there a way to manage flashing firmware (to eeprom) declaratively using nixos?
<judson_> Where it's unattended (like nixops deployed servers) passwords go in a git-crypted directory and get imported from a checked-out (=decrypted) workspace
<lordcirth_> judson_, how is the decryption secret stored? /run/keys?
<drakonis> is it only me or github is throttling pulls right now?
<cransom> energizer: if nix happens to get the content of your secret, it's not secret anymore because it's in the store. there's no official solution for it, but the general approach is to write secrets to a file outside of the store via some other process and a service will read them at run time.
<cransom> write file/run some script to produce output.
fasd has joined #nixos
nuncanada has quit [Ping timeout: 272 seconds]
mexisme has joined #nixos
wildtrees has quit [Remote host closed the connection]
andymandias_ has quit [Quit: ZNC 1.7.4 - https://znc.in]
<energizer> cransom: how do i write to files outside the store? i thought that was disallowed for purity?
iqubic`` has quit [Remote host closed the connection]
andymandias has joined #nixos
<hexo_> i've progressed!!!1
andymandias has quit [Client Quit]
<hexo_> im getting /nix/store/1b0szbqpivpbqk6hyhbr6m7dixi8k689-bootstrap-stage1-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
<hexo_> again :D
<shor> hyper_ch, thanks
iqubic`` has joined #nixos
andymandias has joined #nixos
<hexo_> there is no /bin/sh in bootstrap tools?
<hexo_> so that is it?
<hexo_> the error?
<hexo_> :D
<cransom> energizer: thats for building a package. this is all runtime stuff. my approach is including an encrypted bundle of secrets that a service on the machine will decrypt via KMS and put in /run/keys. the services that need content from that require the decryption service and then start whenever that's ready.
<lordcirth_> hexo_, are you writing a new package?
<hexo_> i'm trying to get it to run on ppc64le (power8 cpu)
<hexo_> just a hello package, for starters
Church- has quit [Quit: WeeChat info:version]
<energizer> cransom: do you have some public code for that?
growpotkin has quit [Ping timeout: 250 seconds]
<hexo_> lordcirth_: so no, i'm not writing new pkg
zaeph has joined #nixos
hyper_ch has joined #nixos
<hyper_ch> energizer: sorry, server crashed... what kinds of passwords are you looking for to store?
iqubic``` has joined #nixos
aleph- has joined #nixos
<energizer> hyper_ch: let's start with my irc password
iqubic`` has quit [Ping timeout: 240 seconds]
<hyper_ch> in configuration.nix or what do you mean passwords in general?
<qyliss> hexo_++
<{^_^}> hexo_'s karma got increased to 1
<qyliss> nice to see ppc64 stuff :)
<hexo_> <3 :)
<energizer> hyper_ch: yeah passwords in general
<hyper_ch> I just use "pass"
<hyper_ch> "simple" bash script that uses gpg for encryption and stores them in the filesystem
<hyper_ch> can be setup as git which makes it nice to use on multiple devices
<hyper_ch> there are gui frontends for it
<{^_^}> [nixpkgs] @bbigras opened pull request #83443 → nixos/pxe: init (WIP, do not merge) → https://git.io/Jv9KM
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83444 → clipmenu: 5.6.0 -> 6.0.1 → https://git.io/Jv9KD
<hyper_ch> energizer: https://www.passwordstore.org/
<Guest11214> I created that PR to ask a question how to do it. I hope it's okay.
<{^_^}> [nixpkgs] @teto pushed 5 commits to master: https://git.io/Jv9KH
<{^_^}> [nixpkgs] @teto merged pull request #83389 → python3Packages.xdg: init at 4.0.1 → https://git.io/JvSHb
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ottidmes> I use bitwarden_rs, before that I used pass as well
<hexo_> $ file bash
<hexo_> bash: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-glibc-2.30-powerpc64le-unknown-linux-gnu/lib/ld64.so.2, for GNU/Linux 2.6.32, stripped
<hexo_> eeeeeeeeeeeeeeeeeeeeeeeee ?
<hexo_> :D
opthomasprime has joined #nixos
<hexo_> that gets relinked on load?
<hexo_> by daemon?
* hexo_ is still a bit lost in details
<hexo_> that is a bash from bootstrap-tools
<{^_^}> [nixops-aws] @domenkozar merged pull request #40 → Remove unused imports → https://git.io/JvDHC
<{^_^}> [nixops-aws] @domenkozar pushed 2 commits to master: https://git.io/Jv9KN
<srk> that's done by nuke-references to not refer to other paths
johnjay has quit [Ping timeout: 256 seconds]
<hax404> can soneone review and merge https://github.com/NixOS/nixpkgs/pull/83285 ? it is just transition python2 → python3 and adding icon and menu item
<{^_^}> #83285 (by hax404, 2 days ago, open): teeworlds: python2 -> python3; add menu item
<{^_^}> [nixops] @grahamc closed pull request #765 → digital ocean: enp0s3 -> ens3 → https://git.io/vF8yP
<{^_^}> [nixops] @grahamc closed pull request #754 → [WIP] Migrate to boto3 → https://git.io/vFqeX
<{^_^}> [nixops] @grahamc closed pull request #744 → add forwardPorts option to container backend → https://git.io/vdNtj
<energizer> afaik my irc client needs to read the creds from ~/.config/hexchat/servlist.conf. is there a way i can get nix to write creds into that file without the creds being added into the store in plaintext?
<{^_^}> [nixops] @grahamc closed pull request #721 → Linode support for NixOps. → https://git.io/v5LZw
<{^_^}> [nixops] @grahamc closed pull request #665 → Support multiple versions of nixpkgs in one network → https://git.io/v9QXy
<{^_^}> [nixops] @grahamc closed pull request #650 → Stop storing keys in the nix store for storeKeysOnMachine. → https://git.io/vS57C
<{^_^}> [nixops] @grahamc closed pull request #624 → Key/value backend → https://git.io/vyixi
<{^_^}> [nixops] @grahamc closed pull request #632 → Adding `deployment.keyDirs` option to recursively deploy directories of keys → https://git.io/vyNRV
<{^_^}> [nixops] @grahamc closed pull request #602 → virtualbox: add to sharedFolders a configuration flag to specify targ… → https://git.io/vDzuX
<{^_^}> [nixops] @grahamc closed pull request #587 → libvirt: Allow control over boot image configuration → https://git.io/vMyjD
<{^_^}> [nixops] @grahamc closed pull request #457 → [WIP] Ec2 security groups: make SourceSecurityGroupOwnerId optional → https://git.io/voP9m
<{^_^}> [nixops] @grahamc closed pull request #412 → Create containers remotely when currentSystem != Linux → https://git.io/Jv96n
<{^_^}> [nixops] @grahamc closed pull request #408 → WIP: "Add experimental openstack support" → https://git.io/Jv96c
<{^_^}> [nixops] @grahamc closed pull request #327 → [WIP] Add dynect aRecord support → https://git.io/Jv96W
<{^_^}> [nixops] @grahamc closed pull request #303 → Add a container's host as an extra host as part of its physical spec. → https://git.io/Jv96l
<{^_^}> [nixops] @grahamc closed pull request #202 → Add functionality to ensure the control host-only interface (vboxnet0) with a configured DHCP server exists before proce… → https://git.io/Jv968
<{^_^}> [nixops] @grahamc closed pull request #776 → Warn about changed VBox disk size → https://git.io/vF5R9
<{^_^}> [nixops] @grahamc closed pull request #799 → Replace use of select() by poll(). Fixes #798. → https://git.io/vbWHJ
<{^_^}> [nixops] @grahamc closed pull request #810 → container: Block until destroy is complete. Fixes #809 → https://git.io/vbRa2
<{^_^}> [nixops] @grahamc closed pull request #825 → Wait container status → https://git.io/vbFbb
<{^_^}> [nixops] @grahamc closed pull request #845 → Testing port 22 if the targetPort fails → https://git.io/vN2En
<{^_^}> [nixops] @grahamc closed pull request #857 → Don't use port open check to determine if reboot completed. Fixes #856. → https://git.io/vNM7Z
<{^_^}> [nixops] @grahamc closed pull request #865 → Key/Value backend → https://git.io/vNpuy
<{^_^}> [nixops] @grahamc closed pull request #903 → [RDY] Format domain XML from a file to allow for more flexibility → https://git.io/vAAlq
<{^_^}> [nixops] @grahamc closed pull request #922 → [WIP] Improve networking options for libvirtd target → https://git.io/vxjZG
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixops] @grahamc closed pull request #927 → digitalOcean: Don't ignore `authToken` when available. Fixes #925 → https://git.io/vpvGO
<{^_^}> [nixops] @grahamc closed pull request #937 → Add support for VPC security group to RDS resource → https://git.io/vpszU
<{^_^}> [nixops] @grahamc closed pull request #944 → Add initial support for hetzner cloud → https://git.io/vpw1M
<{^_^}> [nixops] @grahamc closed pull request #948 → Hetzner partitioning script → https://git.io/vpim4
<{^_^}> [nixops] @grahamc closed pull request #958 → Allow AWS temporary credentials with session tokens → https://git.io/vhTdY
chloekek has quit [Ping timeout: 260 seconds]
<{^_^}> [nixops] @grahamc closed pull request #969 → Key value state + tests refactoring → https://git.io/vh6yH
<{^_^}> [nixops] @grahamc closed pull request #972 → DO NOT MERGE: Nix 2 out of memory workaround → https://git.io/flbUL
<{^_^}> [nixops] @grahamc closed pull request #980 → deployment.py: handle checking DiffStateEngineResourceState → https://git.io/fNnvC
<{^_^}> [nixops] @grahamc closed pull request #1016 → Improve ec2 security groups module: update to boto3 → https://git.io/fxYnd
<{^_^}> [nixops] @grahamc closed pull request #1019 → route53: add aliasTarget support → https://git.io/fxGcK
<{^_^}> [nixops] @grahamc closed pull request #1020 → RDS: support vpc-security-groups for RDS-instances/dbSubnetGroups → https://git.io/fxGcp
<{^_^}> [nixops] @grahamc closed pull request #1024 → Allow specifying arbitrary SSH configuration for nodes → https://git.io/fxKOg
<{^_^}> [nixops] @grahamc closed pull request #1037 → Only populate /etc/hosts using privateIPv4 if on the same zone or region → https://git.io/fxxxc
<{^_^}> [nixops] @grahamc closed pull request #1054 → Expose resources to deployment.keys → https://git.io/fpRnL
<{^_^}> [nixops] @grahamc closed pull request #1067 → Do not suppress rollback exceptions → https://git.io/fhkUK
<{^_^}> Channel nixos-19.09 advanced to https://github.com/NixOS/nixpkgs/commit/ae48415e8b5 (from 14 hours ago, history: https://channels.nix.gsc.io/nixos-19.09)
<{^_^}> [nixops] @grahamc closed pull request #1070 → hetzner: Set prefix length to /32 for main address → https://git.io/fhYxF
<{^_^}> [nixops] @grahamc closed pull request #1111 → set PubkeyAuthentication=yes when a key is used → https://git.io/fhj0E
<{^_^}> [nixops] @grahamc closed pull request #1078 → Start multi-user.target on deploy → https://git.io/fhZ5X
<{^_^}> [nixops] @grahamc closed pull request #1080 → show-physical backup (aws): extract devices encryption keys → https://git.io/fhlGT
<Yaniel> ,locate ocl_icd.h
iqubic``` has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixops] @grahamc closed pull request #1119 → Go back to python's sqlite module, not pysqlite2 → https://git.io/fjk0s
<{^_^}> Found in packages: ocl-icd, ocl-icd-oclh_1_2
<{^_^}> [nixops] @grahamc closed pull request #1123 → Allow to add a nixpkgs prefix that isn't a path but a string → https://git.io/fjLIK
<{^_^}> [nixops] @grahamc closed pull request #1124 → Allow GCE VMs to be reached by private IP address if specified → https://git.io/fjLtN
wildtrees has joined #nixos
<shor> in the command $ nix-build -f '<nixpkgs/nixos>' system, what does system mean here?
<{^_^}> [nixops] @grahamc closed pull request #1138 → EC2: Adding ec2 hibernation. → https://git.io/fjsuD
<{^_^}> [nixops] @grahamc closed pull request #1149 → ec2 fleet and launch template resource. → https://git.io/fjlzv
<{^_^}> [nixops] @grahamc closed pull request #1152 → remove azure backend entirely → https://git.io/fj418
<clever> shor: `-A system` says to get the system attribute of the attrset that file returns
<{^_^}> [nixops] @grahamc closed pull request #1157 → Do not require a valid activation in order to use ssh key → https://git.io/fjRAg
<{^_^}> [nixops] @grahamc closed pull request #1162 → Add support for SSH jump hosts → https://git.io/fjgqC
<{^_^}> [nixops] @grahamc closed pull request #1174 → ssh: Read extra options from NIXOPS_SSHOPTS env var. → https://git.io/fjKfo
<shor> so on a standard pc that would return a string like "x86_64" as an example?
<{^_^}> [nixops] @grahamc closed pull request #1178 → Import to state functionality → https://git.io/fjirL
<{^_^}> [nixops] @grahamc closed pull request #1180 → nixops/reboot: ask the user to confirm the reboot before actually doing it → https://git.io/fjXCv
<clever> shor: <nixpkgs/nixos> returns a set, where system is a derivation for the entire nixos build
<{^_^}> [nixops] @grahamc closed pull request #1202 → [WIP] Flake support → https://git.io/Jecjd
<{^_^}> [nixops] @grahamc closed pull request #1230 → add env var 'NIXOPS_SSH_OPTS' → https://git.io/JvuVg
<shor> how would I include that build in a configuration.nix, say for building an iso.nix config for including all base system dependencies in the iso's store
<clever> shor: what exactly are you trying to do?
<judson_> lordcirth_, decryption happens on my workstation, and the results are shipped via SSH to the servers.
o1lo01ol1o has quit [Ping timeout: 240 seconds]
<shor> build an ISO that includes all installation dependencies of a base system so I can install from an ISO offline
<shor> without internet
<clever> shor: (import (pkgs.path + "/nixos) { configuration = ./configuration.nix; }).system
wildtrees has quit [Remote host closed the connection]
<pie_[bnc]> clever: know of any way to get a reproable exec call from strace?
<pie_[bnc]> clever: ideally something that doesnt require me to do too much screwing around
<pie_[bnc]> otoh the thing is in an fhsuserenv so that might not be sufficient...
<pie_[bnc]> actually I wonder if I just dont have enough ram, but then it wouldnt be segfaulting...
<judson_> Hm. Maybe I should just nix-shell python and pypi? Is that sensible?
<clever> pie_[bnc]: that can happen it malloc returns null and apps dont check
<gchristensen> uh, oops
<pie_[bnc]> clever: would you be willing to check for me if you can exec this:
<pie_[bnc]> let moz = builtins.fetchGit { url = "https://github.com/glasserc/nixpkgs-mozilla.git"; }; in (import <nixpkgs> { overlays = [ (import "${moz}/vidyo-overlay.nix") ]; }).VidyoDesktop
<pie_[bnc]> and by exec i mean successfully run Vidy*
<{^_^}> [nixops] @grahamc closed pull request #1222 → Fix Hydra build on darwin → https://git.io/JvmQ3
<pie_[bnc]> judson_: you can nix shell virtualenv btw
<{^_^}> [nixops] @grahamc closed pull request #1156 → auto-luks: require new `mountPoint` option → https://git.io/fjR99
iqubic has joined #nixos
<judson_> pie_, ugh. I guess.
<dhess_> Anyone running NixOS with a Valve Index?
kim0 has quit [Quit: Connection closed for inactivity]
<shor> clever, how would I adapt that line within a configuration.nix itself to include system?
<clever> shor: do you want one configuration.nix to include the build of another configuration.nix?
<{^_^}> [mobile-nixos] @samueldr opened pull request #106 → oneplus-oneplus3: Document workaround for fastboot flash issue → https://git.io/Jv9iJ
<shor> I don't think so, I'm following the wiki on building an iso, where the iso.nix is configuration.nix for the build purposes. I want the ISO to have a nix/store with all the dependencies and packages needed to install nixos to a harddrive without it attempting to connect to the internet for missing packages
<clever> shor: then you do want that, the 2nd configuration.nix is the system you want to install
rogue_koder_ has joined #nixos
<shor> how would this be done, or rather where would I adapt that provided line and what workflow generates the iso with the builds
<clever> shor: let anotherSystem = (import (pkgs.path + "/nixos) { configuration = ./another-configuration.nix; }).system; in
<clever> shor: and then do something with ${anotherSystem} somewhere
<clever> shor: like use writeShellScriptBin to make a shell script that runs nixos-install --system ${anotherSystem}
zupo_ has joined #nixos
zeta_0 has joined #nixos
<shor> this would generate an ISO that includes the necessary packages in system?
<clever> shor: yeah
pluplog has quit [Remote host closed the connection]
h0m2 has quit [Quit: WeeChat 2.7.1]
<zeta_0> do any of you guys know of a good tool that i can get to work with rcirc in emacs? the people in #emacs said this is a nixos related question: https://melpa.org/#/?q=rcirc
h0m1 has joined #nixos
<zeta_0> i want an notifier tool that will render a pop-up message and sound when someone mentions my nick?
<zeta_0> is there a good nix package that will work for my use-case?
<energizer> zeta_0: what step are you stuck on?
<zeta_0> sorry if i'm off topic, the people in #emacs said that this is nix related
erasmas has joined #nixos
rogue_koder_ has quit [Remote host closed the connection]
h0m1 has quit [Client Quit]
rogue_koder_ has joined #nixos
<zeta_0> energizer: i tried to set this rcirc-notifier up, but it's dependencies do not work with it: https://github.com/nicferrier/rcirc-notify
<shor> clever, sorry I'm quite lost. This is what the iso.nix looks like https://pastebin.com/47D2pmPn
h0m1 has joined #nixos
<shor> I am generating the iso via. nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix
<energizer> zeta_0: if you open a shell and run `notify-send hi` what happens?
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/df07596d206 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
bvdw has quit [Read error: Connection reset by peer]
<energizer> haha i just read the #emacs conversation, aggressively unhelpful
bvdw has joined #nixos
<zeta_0> energizer: it's not working, so i think that i need libnotify for it to work: https://hastebin.com/kiyuqozoku.rb
<energizer> zeta_0: yes install libnotify
<zeta_0> energizer: ok progress, good, sorry i'm a bit frustrated
<{^_^}> [nixops] @domenkozar pushed to parallel-send-keys « send keys in parallel »: https://git.io/Jv9iy
<{^_^}> [nixops] @domenkozar opened pull request #1266 → send keys in parallel → https://git.io/Jv9iS
<energizer> zeta_0: not your fault, they just yelled at you unsympathetically for half an hour
<clever> shor: if you build an ISO from that, it will include a copy of other-configuration.nix fully built, and running thing will install it to /mnt
<{^_^}> [nixops] @domenkozar pushed to parallel-send-keys « send keys in parallel »: https://git.io/Jv9ib
<ottidmes> clever: I am going to take a shot at tweaking to have more location/position info now, it are these moments I realize my CPU is old, although I guess compiling Nix will take time even on a more modern CPU
bhipple has joined #nixos
<zeta_0> energizer: ya it's all good, anyways, after running nixos-rebuild switch to install libnotify , do i need to reboot in order for it's environment variable to be set? because running a notify-send hi command, does not return anything? https://hastebin.com/okurumifep.rb
jboy has joined #nixos
<aterius> [Errno 28]
<aterius> *
<energizer> zeta_0: it shouldn't return anything. it sends a notification to dbus or something, and if you have a notification daemon running, that will receive the notification from dbus and display a notification. are you running a graphical server (like x11)? are you running a desktop manager (like lightdm, sddm, ...)? are you running a notification daemon (like dunst)? if the answer to any of those is no, it won't work
<{^_^}> [nixops] @domenkozar pushed to parallel-send-keys « send keys in parallel »: https://git.io/Jv9PZ
<aterius> Is there a way to increase the temp directory filesize? When using poetry I"m having issues of the form ```ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device``` when trying to install large python packages, even if I override the TMP and TMPDIR environmental variables
<energizer> aterius: where is the directory?
<aterius> ```/run/user/1000```
ottidmes has quit [Ping timeout: 258 seconds]
<energizer> is that normal? mine is just in ~/.cache
<energizer> poetry env list --full-path
<aterius> If I install with pip with the following command it works
ottidmes has joined #nixos
<aterius> ```alias pip="PIP_PREFIX='$(pwd)/_build/pip_packages' TMPDIR='$HOME' \pip"```
<shor> clever: I'm getting an error "unexpted $end expecting '"'
<aterius> but not with poetry for example
<aterius> Yeah
relaxmax has joined #nixos
<aterius> That's the systemdrun tmpdir
<shor> I looked at the example in trivial-builders.nix and the syntax looks correct, I'm not sure what this error means
<zeta_0> energizer: in the usage section running: M-x rcirc-notify-page-test , seems to work: https://github.com/nicferrier/rcirc-notify
<clever> shor: does your file look identical to the example i gave?
<shor> yes
<shor> copy/paste
<clever> shor: can you re-paste what you have?
shibboleth has joined #nixos
shibboleth has quit [Remote host closed the connection]
<shor> with my new systems config named to other-configuration.nix in the same directory
<shor> which is just the default config generated by nixos-generate-config
shibboleth has joined #nixos
<clever> shor: can you paste the exact error msg?
<shor> error: syntax error, unexpected $end, expecting '"', at /root/nixos-iso/iso.nix:19:44
zeta_0 has quit [Ping timeout: 250 seconds]
zeta_0 has joined #nixos
<clever> shor: and if you read the file with cat, can you confirm its all there?
<shor> yes
<{^_^}> [mobile-nixos] @samueldr merged pull request #105 → Enable CONFIG_USB_RTL815* options for multiple devices → https://git.io/JvSd0
<{^_^}> [mobile-nixos] @samueldr pushed 5 commits to master: https://git.io/Jv9Py
<zeta_0> energizer: sorry, i just had a power outage, so my internet went down for a bit
<aterius> energizer: if I set TMPDIR in my nix-shell it seems to work
<clever> shor: can you screenshot the terminal where your editing the file and running nix?
<energizer> zeta_0: i think you said it works?
<zeta_0> energizer: let me test 1 more time to double check that it works
<clever> shor: oh, i see the problem
<clever> shor: i forgot to close the string for "/nixos" (facepalm)
<shor> haha, I thought I missed something
gentauro42 has joined #nixos
gentauro42 has quit [Client Quit]
<zeta_0> energizer: yes, no errors are thrown when i run: M-x rcirc-notify-page-test , so i'm assumming that it works correctly
<energizer> zeta_0: does a notification appear?
jboy has quit [Quit: bye]
<zeta_0> energizer: no, but no errors are being thrown anymore, so that's a good sign
<energizer> zeta_0: does a notification appear when you do `notify-send hi`
<zeta_0> energizer: no, nothing is returned when i run notify-send hi in terminal
kloenk has quit [Ping timeout: 272 seconds]
Makaveli7 has quit [Ping timeout: 264 seconds]
rogue_koder_ has quit [Ping timeout: 240 seconds]
<energizer> zeta_0: ok i'm gonna guess you're not running a notification daemon. try enabling dunst
kloenk has joined #nixos
vandenoever has quit [Read error: Connection reset by peer]
<{^_^}> [mobile-nixos] @samueldr merged pull request #106 → oneplus-oneplus3: Document workaround for fastboot flash issue → https://git.io/Jv9iJ
<{^_^}> [mobile-nixos] @samueldr pushed 2 commits to master: https://git.io/Jv9XZ
vandenoever has joined #nixos
vandenoever has joined #nixos
lord| has quit [Quit: https://i.imgur.com/xacQ09F.mp4]
lord| has joined #nixos
<{^_^}> [nixpkgs] @oxalica opened pull request #83446 → openssl: remove build-time dependency to host perl → https://git.io/Jv9Xw
<{^_^}> Channel nixos-20.03-small advanced to https://github.com/NixOS/nixpkgs/commit/8d0010b08bd (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-20.03-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/df07596d206 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
inkbottle has joined #nixos
<zeta_0> energizer: no, i'm not running a notification daemon, ok, i'll try enabling dunst
domogled has quit [Quit: domogled]
zebrag has quit [Ping timeout: 258 seconds]
dermetfan has joined #nixos
rogue_koder_ has joined #nixos
<zeta_0> energizer: do i also need to setup anything extra with dbus?
<ivegotasthma> is it possible to set noatime on a drive in my nixos configuration?
johnjay has joined #nixos
<clever> ivegotasthma: fileSystems.<name?>.options
<energizer> zeta_0: i dont think so
<ivegotasthma> clever: would the name be "/dev/sda" ?
<ivegotasthma> fileSystems."/dev/sda".formatOptions = "noatime"
kenji has joined #nixos
<clever> ivegotasthma: it must be a mountpoint, not a device
<clever> ivegotasthma: like just "/"
kenji has quit [Quit: Lost terminal]
kreetx has quit [Quit: WeeChat 2.7.1]
kenji has joined #nixos
nuncanada2 has quit [Ping timeout: 272 seconds]
kenji has quit [Client Quit]
nuncanada has joined #nixos
arahael2 has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #83019 → python37Packages.rope: 0.14.0 -> 0.16.0 → https://git.io/Jv91u
<{^_^}> [nixpkgs] @jonringer pushed commit from @bcdarwin to master « python3Packages.rope: 0.14.0 -> 0.16.0 »: https://git.io/Jv91z
kenji has joined #nixos
jboy has joined #nixos
hmpffff has quit [Remote host closed the connection]
opthomasprime1 has joined #nixos
hmpffff has joined #nixos
<{^_^}> [nixpkgs] @drewrisinger opened pull request #83447 → [WAITING on #83306, 80662, 83372] pythonPackages.qiskit-aqua: init at 0.6.5 → https://git.io/Jv91P
kenji has quit [Client Quit]
kenji has joined #nixos
kenji_ has joined #nixos
opthomasprime1 has quit [Remote host closed the connection]
opthomasprime has quit [Ping timeout: 256 seconds]
cosimone has joined #nixos
zeta_0 has quit [Quit: rebooting]
<shor> clever, so ISO builds and boots, but sadly did not do what I was hoping.
<clever> shor: what did it fail at?
<shor> nixos-install still attempts to download external dependencies rather than installing from the store on the disk
<clever> shor: which dependencies?
<shor> not even from a binary cache but from a gnu mirror
<shor> bash
<shor> first package it tries to install, and attempts to get it from ftpmirror.gnu.org
<clever> shor: if it cant reach the binary cache, it will begin downloading sources
<shor> nix-env -iA nixos.bash on the running image does the same thing
<shor> yet bash is installed into the running system
<shor> *installation media
<clever> shor: using the same rev of nixpkgs?
<ivegotasthma> anyone running profile-sync-daemon? I'm not sure how to enable the systemd daemon for it. I see it in the nixpkgs (I'm on unstable) but I don't see it in my units https://github.com/NixOS/nixpkgs/search?q=profile-sync-daemon&unscoped_q=profile-sync-daemon
<shor> I would assume so, the channel on the iso being used would be the same channel its attempting to install from, yeah?
<clever> shor: what does `nixos-version` report?
<shor> 19.09.1927.0fe895ae112 (Loris)
<clever> shor: nix-instantiate --find-file nixpkgs
<shor> same on both the host used to generate the ISO and within the ISO running itself
nuncanada has quit [Ping timeout: 272 seconds]
kleisli__ has quit [Remote host closed the connection]
kleisli__ has joined #nixos
<shor> the nix-instantiate shows the channel location in nix/profiles/......./nixos
<shor> both have the same svn-version on the ISO and host that built it
<clever> shor: run realpath on that, does it include a partial git revision?
<ivegotasthma> nvm, figured it out
<shor> I think so, has the store hash, then nixos-19.09-1927.0fe895ae112. 1927-0fe... is the revision?
<clever> shor: the 0fe... is the revision
ixxie has quit [Ping timeout: 240 seconds]
<shor> so would nixos-install be attempting to install from this channel? It is the same revision that built the iso
<clever> shor: the `--system` should be telling it to skip directly to a pre-built nixos
<clever> shor: are you using the shell script i included?
kenji has quit [Quit: Lost terminal]
kenji_ has quit [Quit: Lost terminal]
<{^_^}> [nixpkgs] @drewrisinger opened pull request #83448 → python37Packages.marshmallow-polyfield: 5.7 -> 5.9 → https://git.io/Jv9M4
kenji__ has joined #nixos
<shor> I was not, but now attempting to to so it states by trying to connect to cache.nixos.org
<clever> shor: does it say what its trying to build?
<ivegotasthma> Can I do something like this in nix? I'm not sure how to pass a parameter to an import https://dpaste.org/35rb/raw
<shor> it does not
<ivegotasthma> I'm getting an unexpected ; error
<shor> it just says unable to downloads http://......./nix-cache-info
<clever> shor: read the shell script, then re-run nixos-install with `--option substituters ''` added to the cmd
<shor> same result
<shor> wait typo
<shor> its building
arahael2 has joined #nixos
<elvishjerricco> ivegotasthma: You can't pass `...` as an argument. NixOS modules are easiest to use with the `imports` option rather than the `import` function
<shor> clever, thank you kindly for your patience and help, this has plagued me for nearly two days
<ivegotasthma> elvishjerricco: thanks, I did not know that
<elvishjerricco> ivegotasthma: `home-manager.users.asthma.imports = [./home.nix];`
<ivegotasthma> oh that's great
<shor> and I learned quite a bit about how the build process works
<ivegotasthma> elvishjerricco: what's the difference between the two?
kenji has joined #nixos
<elvishjerricco> ivegotasthma: import is just a function that reads a file and turns it into the nix expression it represents
kenji__ has quit [Quit: Leaving]
<elvishjerricco> ivegotasthma: The imports option causes the nix code in nixos to import the file, pass it the appropriate arguments, and merge its options with options of other imports
<elvishjerricco> So imports is just an abstraction (written in nix) over the import function, essentially
<elvishjerricco> Whereas the import function is a builtin function of the language
<ivegotasthma> okay, makes sense, thanks!
<ottidmes> ivegotasthma: if you are interested, that magic happens here: https://github.com/NixOS/nixpkgs/blob/master/lib/modules.nix#L113
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.32.2 -> 1.32.3 »: https://git.io/Jv9DU
<kenji> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<{^_^}> [nixpkgs] @primeos pushed to release-20.03 « signal-desktop: 1.32.2 -> 1.32.3 »: https://git.io/Jv9DT
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83449 → drumkv1: 0.9.12 -> 0.9.13 → https://git.io/Jv9Dt
<{^_^}> [nixpkgs] @primeos opened pull request #83450 → [19.09] signal-desktop: 1.32.2 -> 1.32.3 (backport) → https://git.io/Jv9DY
<{^_^}> [nixpkgs] @Valodim opened pull request #83451 → pythonPackages.fritzconnection: 0.8.4 -> 1.2.1 → https://git.io/Jv9DW
lord| has quit [Read error: Connection reset by peer]
fuzen has joined #nixos
lord| has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @primeos merged pull request #83450 → [19.09] signal-desktop: 1.32.2 -> 1.32.3 (backport) → https://git.io/Jv9DY
<{^_^}> [nixpkgs] @primeos pushed 2 commits to release-19.09: https://git.io/Jv9Dy
teto has quit [Ping timeout: 240 seconds]
kenji_ has joined #nixos
Wharncliffe has joined #nixos
milosh has joined #nixos
lord| has quit [Read error: Connection reset by peer]
kenji_ has quit [Client Quit]
kenji_ has joined #nixos
milosh has quit [Client Quit]
jb55 has quit [Remote host closed the connection]
lord| has joined #nixos
gustavderdrache has quit [Quit: Leaving.]
relaxmax has quit [Remote host closed the connection]
teto has joined #nixos
relaxmax has joined #nixos
zeta_0 has joined #nixos
<{^_^}> [nixops] @domenkozar pushed to parallel-send-keys « Update nixops/backends/__init__.py »: https://git.io/Jv9yF
<zeta_0> energizer: sorry, i did a nixos-rebuild switch --upgrade , which took a while
rogue_koder_ has quit [Read error: Connection reset by peer]
rogue_koder_ has joined #nixos
<zeta_0> energizer: anyways, when i run: notify-send hi , it renders a pop-up now, so that's working now
<energizer> zeta_0: great
lord| has quit [Read error: Connection reset by peer]
<zeta_0> i setup dunst, with the home-mangager options instructions: https://dpaste.org/0t7H
<zeta_0> in home.nix
<ivegotasthma> clever: I can't scroll up to see what you said about the fileSystems formatOptions
<ivegotasthma> was it 'fileSystems."/".formatOptions = "noatime"'?
<zeta_0> energizer: cool, now i just need to integrate it with rcirc-notify
<{^_^}> [nixops] @domenkozar pushed to parallel-send-keys « Update nixops/backends/__init__.py »: https://git.io/Jv9SU
lord| has joined #nixos
<{^_^}> [nixops] @domenkozar pushed to parallel-send-keys « Update nixops/backends/__init__.py »: https://git.io/Jv9Sq
<energizer> adisbladis: when i'm using poety2nix, i often get a `ERROR: Could not find a version that satisfies the requirement toml (from versions: none)` for some package, which i think usually means a package needed `toml` in setup_requires. how do i find out which package it was that i need to override?
<zeta_0> energizer: M-x rcirc-notify-page-test, renders a pop-up now, so that works, i think all that's left is to setup a hook: https://github.com/nicferrier/rcirc-notify
<zeta_0> on the bottom it has an example of using afplay, but that's native to mac os, is there an alternative nix package that will work similarly?'
<{^_^}> [nixops] @domenkozar pushed to parallel-send-keys « Update nixops/backends/__init__.py »: https://git.io/Jv9S8
rogue_koder_ has quit [Ping timeout: 256 seconds]
<zeta_0> do you guys know of a good alternative to afplay that's in nixpkgs?
<energizer> aplay
rogue_koder_ has joined #nixos
Naptra has quit [Remote host closed the connection]
<{^_^}> [nixops] @grahamc merged pull request #1266 → send keys in parallel → https://git.io/Jv9iS
<{^_^}> [nixops] @grahamc pushed commit from @domenkozar to master « send keys in parallel (#1266) »: https://git.io/Jv9SE
<{^_^}> [nixops] @grahamc pushed 0 commits to parallel-send-keys: https://git.io/Jv9Su
Tucky has quit [Quit: WeeChat 2.7.1]
<zeta_0> energizer: i don't see an aplay pkg in nixos pkgs? https://nixos.org/nixos/packages.html?channel=nixos-19.09&query=aplay
<energizer> zeta_0: try `aplay --help` to see if you already have it
<cole-h> ,locate bin/aplay
<{^_^}> Found in packages: alsaUtils
<cole-h> zeta_0: ^ That's where it is
Jackneill has quit [Ping timeout: 240 seconds]
<energizer> but you might already have it
rogue_koder_ has quit [Ping timeout: 264 seconds]
<clever> ivegotasthma: just normal options
<zeta_0> oh, i already have it, cool
<{^_^}> Channel nixos-20.03 advanced to https://github.com/NixOS/nixpkgs/commit/3a009bd5daf (from 26 hours ago, history: https://channels.nix.gsc.io/nixos-20.03)
philr has joined #nixos
rogue_koder_ has joined #nixos
aveltras has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @prusnak opened pull request #83452 → slack: 4.2.0 -> 4.4.0 → https://git.io/Jv99e
nikivi has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
minicom has quit [Ping timeout: 256 seconds]
<zeta_0> ok great, do you guys know if there is a simple linux pkg that comes with beeping sounds, i a want to use them with my rendered notifier pop-up?
hmpffff has quit [Remote host closed the connection]
nikivi has joined #nixos
<evils> beep
relaxmax has quit [Quit: Leaving]
hmpffff has joined #nixos
minicom has joined #nixos
matthiaskrgr has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net - currently broken?]
rogue_koder_ has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @7c6f434c merged pull request #83409 → xscreensaver: 5.43 -> 5.44 → https://git.io/JvSxd
<{^_^}> [nixpkgs] @7c6f434c pushed 2 commits to master: https://git.io/Jv99I
rogue_koder_ has joined #nixos
matthiaskrgr has joined #nixos
<zeta_0> evils: does the beep package contain/produce sound files, i think that's what i need to get aplay setup: https://dpaste.org/suVM https://github.com/nicferrier/rcirc-notify
<gchristensen> beep is for using the pcspeaker and you have to give it pitches
vandenoever has quit [Read error: Connection reset by peer]
vandenoever has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [Changing host]
<johnw> Has anyone setup Gerrit as a service on NixOS?
shibboleth has quit [Quit: shibboleth]
lsix has quit [Ping timeout: 240 seconds]
<jared-w> cole-h: how do I get that locate script on my laptop? Is it available anywhere?
rogue_koder_ has quit [Ping timeout: 240 seconds]
<evils> ,locate nix-index
<{^_^}> Found in packages: nix-index
<jared-w> so locate is just nix-index?
rogue_koder_ has joined #nixos
<evils> jup
linarcx has quit [Quit: WeeChat 2.7.1]
<jared-w> noice, thx
<evils> well, nix-locate, and i think the bot does some filtering
<jared-w> I'll figure it out. As a side note, 27" and 1080p is way too hideously large for me now after using a 27" 4k monitor at no scaling for a while.
<jared-w> it's like "where'd all my screen real estate space go"
<Yaniel> make that 24" 4K
<Yaniel> granted, I do have a bit of scaling on it
<Yaniel> probably similar to 27" 4K but text looks a bit better
lsix has joined #nixos
<evils> i recently got a second 24" 1200p monitor, i've got more space than i know what to do with xD
<{^_^}> [nixpkgs] @orivej-nixos pushed 5 commits to master: https://git.io/Jv996
kloenk has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<wjjunyor[m]> Hey mates
zarel_ has quit [Ping timeout: 240 seconds]
<wjjunyor[m]> Are experiencing issues on Firefox?
<Yaniel> nope
<gchristensen> what sort? :)
rogue_koder_ has quit [Ping timeout: 260 seconds]
zarel has joined #nixos
rogue_koder_ has joined #nixos
tokudan has quit [Remote host closed the connection]
kenji_ has quit [Ping timeout: 256 seconds]
kloenk has joined #nixos
kenji has quit [Ping timeout: 260 seconds]
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Ma27 pushed to master « mautrix-whatsapp: 2020-02-09 -> 2020-03-26 »: https://git.io/Jv99H
tokudan has joined #nixos
nuncanada has joined #nixos
tokudan has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 pushed to release-20.03 « mautrix-whatsapp: 2020-02-09 -> 2020-03-26 »: https://git.io/Jv995
<wjjunyor[m]> <gchristensen "what sort? :)"> gchristensen: protocol error on opening a lot of tabs
<wjjunyor[m]> And timeouts
<xfix> Firefox recently removed the support for TLS 1.0 and TLS 1.1, so some sites may not work
<xfix> this would provide SSL_ERROR_UNSUPPORTED_VERSION error code
<Yaniel> didn't they revert that
<Yaniel> because government sites don't into TLS
<gchristensen> shame
<xfix> if they did, it's using the Studies system, Studies don't have to be enabled
zarel has quit [Read error: Connection reset by peer]
dermetfan has quit [Ping timeout: 256 seconds]
zarel has joined #nixos
butterthebuddha has joined #nixos
pjt_014 has joined #nixos
<wjjunyor[m]> I guess it is
<{^_^}> [nixpkgs] @zowoq opened pull request #83453 → buildah: 1.14.3 -> 1.14.4 → https://git.io/Jv9Hv
<wjjunyor[m]> It get stuck on the TLS handshake
<xfix> "We reverted the change for an undetermined amount of time to better enable access to critical government sites sharing COVID19 information."
gustavderdrache has joined #nixos
<xfix> however, there is no 74.0.1, so my assumption is that it was done by use Studies mechanism
<gchristensen> gustavderdrache: I'm annoyed about some Vault trade-offs
<shor> is there a way to include all of the buildInputs required for stdenv in environment.systemPackages ?
tokudan has joined #nixos
<shor> I've tried the attribute names of stdenv-linux (i.e. gccStdenv, et al.) and tests.stdenv-inputs (which fails)
erictapen has quit [Ping timeout: 258 seconds]
<gustavderdrache> gchristensen: any particular trade-offs?
<gchristensen> gustavderdrache: I want to deploy vault to a single server, using nixops. this is fine but after reboot, this creates a new step I have to run: unlocking vault. this is ... fine ... but nixops has no way to run the command from my machine over to Vault to unseal. I could transfer a key over to /run/keys and have service slurp it up and unseal, but then I'm sending a key over and just plopping it on
<gchristensen> the disk -- probably not what hashicorp had in mind.
cosimone has quit [Ping timeout: 256 seconds]
<gchristensen> then again, even doing that send-and-slurp method is probably better than the alternative, which is where I have ALL my tokens in /run/keys available all the time to a certain set of users, without auditing.
<gustavderdrache> yeah... you can auto-unseal, but you basically can only use cloud providers for that
<gchristensen> yeah
<gchristensen> my basement doesn't have many cloudy features
<gustavderdrache> pretty sure it's a bad thing if that's the case
<gchristensen> :D
xkapastel has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83454 → fmbt: 0.39 -> 0.42 → https://git.io/Jv9HC
<gchristensen> so then my choices are (a) have a script which SSH's over and unseals, which I have to remember to run (b) do this but add super sketchy extension to nixops which does it for me or (c) this /run/keys slurp-and-unseal thing. uh ... any thoughts? :/
erictapen has joined #nixos
<gustavderdrache> i wonder... what if you did the slurp-and-unseal thing and then rekeyed vault afterwards?
WilliamHamilton has joined #nixos
<gchristensen> :o
Rusty1 has quit [Remote host closed the connection]
<WilliamHamilton> is there a way of getting the nix store path of a package, from the shell?
<gustavderdrache> if done right you'd limit the window where you're leaking the Really Important™ bits
maddo has quit [Quit: See ya]
<gchristensen> gustavderdrache: that'd require me getting the key back from that machine to my host, which might be tricky too
<gustavderdrache> hrm
<gchristensen> but I like where your head is at
<shor> WilliamHamilton, echo $(nix-build "<nixpkgs>" --no-out-link --readonly-mode -A pkgs.$1)
<shor> where $1 is the attribute name of the package
<kalbasit> question regarding Nix modules: If I have an option of type `types.listOf types.str` and has a default value of `[ "a" "b" ]`. How can I make it always include `[ "a" "b" ]` in addition to whatever is set by other modules? As a workaround, I'm setting in the `config = {}` part like this: `config.my-option = mkBefore options.my-option.default;`
<WilliamHamilton> thanks shor
<shor> np, I put this into a script in my PATH called nix-path and use cd $(nix-path $pkg) for finding things
<ottidmes> kalbasit: you can use the apply attribute of an option
<gchristensen> gustavderdrache: (kill me) I could have it request its unlock keys over the wireguard tunnel to my laptop's vault , which reuires a yubi-tap to allow :)
iqubic has quit [Remote host closed the connection]
iqubic has joined #nixos
<gustavderdrache> first, you should encrypt the unlock keys using a third-party service, then wrap that in a different third-party service, mail it to yourself, read the values in via OCR, and then ingest the keys
<gchristensen> there you go
<gchristensen> now you're cooking with portals.
fendor has quit [Read error: Connection reset by peer]
<gustavderdrache> :)
<gchristensen> gustavderdrache: I think I'll just send the token over to /run/keys and pretend its fine
<gustavderdrache> yeah
<kalbasit> ottidmes: oh I see, I'll try that
<gustavderdrache> if you're worried you can rekey manually
<gchristensen> there's no state secrets here
<gustavderdrache> how often are you nixops'ing on this machine, anyway?
<gchristensen> not super lots?
<gchristensen> and I can delete the key as soon as it is done
<gustavderdrache> yeah, you're probably fine
<ottidmes> kalbasit: here is an example: options.my-option = mkOption { apply = list: [ "a" "b" ] ++ list; };
<kalbasit> ottidmes: it worked! thanks!
playful-owl has quit [Quit: leaving]
<gchristensen> thanks for noodling, gustavderdrache
<gustavderdrache> any time
<ottidmes> nixpkgs master with local nix master checkout added as one of the nix'es fails with: /libstore/s3-binary-cache-store.cc:308: undefined reference to `Aws::Transfer::TransferManager::UploadFile
rogue_koder_ has quit [Remote host closed the connection]
rogue_koder_ has joined #nixos
<ottidmes> am trying to just use nix-build release.nix -A build.x86_64-linux instead, is probably the most likely to succeed, hopefully I don't get the same error as when I use the nix-shell build executable
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
justanotheruser has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @samueldr pushed to master « nixos/rigel: Fix evaluation »: https://git.io/Jv9QJ
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/3be8b459e0b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<zeta_0> energizer: is there a way for me to setup the beep package to work with rcirc? or am i better off looking online to download beeping sounds?
<energizer> zeta_0: no idea
vandenoever has quit [Ping timeout: 264 seconds]
o1lo01ol1o has quit [Ping timeout: 264 seconds]
<zeta_0> energizer: i'm pretty much good to go, i just need some beeping sound files to integrate with rcirc-notify, i guess time to search the internet
<zeta_0> that has to be some gnu website with free downloads to music, i have no idea
<zeta_0> i found this, maybe it has what i need: https://www.gnu.org/music/
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « nootka: init at 1.4.7, init unstable at 1.7.0-beta1 »: https://git.io/Jv9QR
Olgierd is now known as nikitten
cr4y1_ has quit [Remote host closed the connection]
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #83455 → nodejs-13_x: 13.11.0 -> 13.12.0 → https://git.io/Jv9QH
wavirc22 has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed to master « rambox: 0.7.4 -> 0.7.5 »: https://git.io/Jv9Q5
<{^_^}> [nixpkgs] @r-ryantm opened pull request #83456 → intel-gmmlib: 19.4.1 -> 20.1.1 → https://git.io/Jv9Qb
CptCaptain has quit [Quit: WeeChat 2.7.1]
zarel has quit [Ping timeout: 250 seconds]
abathur has quit [Ping timeout: 240 seconds]