sphalerite changed the topic of #nixos to: NixOS stable: 19.03 \o/ https://discourse.nixos.org/t/nixos-19-03-release/2652 || 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
mexisme_ has quit [Quit: WeeChat 2.4]
mexisme has joined #nixos
ris has quit [Ping timeout: 260 seconds]
<lordcirth_> Hey, I'm starting to tinker with using nixops to make NixOS VMs (libvirtd) on my Ubuntu desktop. It's working but my internet is slow. Is there a good way to get it to cache nix store downloads locally?
gyroninja___ has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
gyroninja___ has joined #nixos
<swerlk> Hi. Has anyone tried to use a Yubikey to unlock a LUKS encrypted drive during boot?
dansho has quit [Ping timeout: 268 seconds]
emptyflask has joined #nixos
cpc26 has quit [Read error: Connection reset by peer]
cpc26 has joined #nixos
<infinisil> swerlk: https://nixos.org/nixos/options.html#luks+yubikey
emptyflask has quit [Ping timeout: 245 seconds]
<lordcirth_> Could I set nixops to use a squid proxy that I create?
MmeQuignon has quit [Ping timeout: 244 seconds]
psy3497 has joined #nixos
<{^_^}> [nixpkgs] @hyperfekt opened pull request #63794 → vscode-with-extensions: add missing URL handler → https://git.io/fjrwg
MmeQuignon has joined #nixos
gyroninja___ has quit [Ping timeout: 245 seconds]
<lordcirth_> Ok, so nixos-rebuild has an "--option binary-caches" arg.
goibhniu2 has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjrwa
kvda has joined #nixos
gyroninja___ has joined #nixos
wildtrees has quit [Quit: ZNC 1.7.3 - https://znc.in]
jluttine has joined #nixos
<infinisil> lordcirth_: Those --option's are documented in `man nix.conf` btw
<lordcirth_> infinisil, thanks
<infinisil> It's the same values you can put in /etc/nix/nix.conf
<lordcirth_> "Deprecated: binary-caches is now an alias to substituters" oh
simukis__ has joined #nixos
simukis_ has quit [Ping timeout: 245 seconds]
<tdeo> anyone else have building `wine` broken on latest git master?
<lordcirth_> infinisil, I am using nixops, so I am writing configuration.nix syntax. how do I set "substituters" there?
<lordcirth_> Or do I just have to use --option?
<infinisil> tdeo: Nix is very much reproducible, so it will be broken for everyone if it's for you
<infinisil> lordcirth_: Hm yeah that's a problem, you can't set this with nixops
<infinisil> Afaik at least, I wanted this too at some point and couldn't do it
<infinisil> Probably the only possibility is to change /etc/nix/nix.conf
<tdeo> yeah. it seems like the `qtbase` dependency of wine fails to build, but manually building `qt5.qtbase` works, i'll look into it more and post an issue
<tdeo> and i can't use `why-depends` without building the failing dependency (hmm, but maybe i can bisect the commit)
<lordcirth_> infinisil, nixops claims to pass '--option' through to nix, but it fails
<lordcirth_> infinisil, is there a reasonable way to edit nix.conf when making a VM with nixops?
<kaliumxyz> where does nginx log to on nixos?
<lordcirth_> kaliumxyz, what do you mean?
<swerlk> infinisil: I saw the options but was hoping there may be a bit more information (what mode the yubikey should be in, an example configuration, etc). I'll have a yubikey tomorrow so I'll try the options you mentioned in the link
<kaliumxyz> found it :D
<kaliumxyz> /var/spool/nginx/log
<kaliumxyz> logs*
<lordcirth_> oh, lol, I read "log on to"
<lordcirth_> infinisil, this seems like the problem I'm having: https://github.com/NixOS/nixops/issues/1086
<{^_^}> nixops#1086 (by delroth, 20 weeks ago, closed): nixops broken with master nixpkgs
emptyflask has joined #nixos
<{^_^}> [nixpkgs] @samueldr pushed to master « sd-image-raspberrypi: populateBoot -> populateFirmware »: https://git.io/fjrwP
<lordcirth_> Ahah, I hadn't updated in a while, maybe this will fix it
Rusty1 has joined #nixos
emptyflask has quit [Ping timeout: 245 seconds]
m0rphism has quit [Ping timeout: 248 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lordcirth_> Ok, so it doesn't crash when passing --option, but it also isn't hitting the proxy
<lordcirth_> infinisil, how can I overwrite "substituters" instead of adding to it? Or is that already what "substituters = [foo]" does?
stepcut has joined #nixos
<infinisil> lordcirth_: I think so yeah
MmeQuignon has quit [Ping timeout: 252 seconds]
kvda has joined #nixos
<{^_^}> [nixpkgs] @tbenst reopened pull request #62754 → imagecodecs-lite: init at 2019.4.20 → https://git.io/fjuxE
jluttine has quit [Ping timeout: 272 seconds]
jluttine has joined #nixos
<lordcirth_> It would be *really* nice if Nix worked with squid-deb-proxy
<gchristensen> it can certainly work with any basic caching server
<lordcirth_> gchristensen, Well, I'm having trouble with it
<lordcirth_> gchristensen, do you have an example?
rajivr___ has joined #nixos
<lordcirth_> I tried using "substituters" but to use a proxy, I guess I need it to request the real site, not the proxy IP
<gchristensen> setup foo.com to do a caching proxy to cache.nixos.org, set your nix clients to use foo.com as its binary cache
<gchristensen> and set the foo.com caching proxy to cache any positive results as cachable for eternity
<Miyu-chan> gchristensen: Oh yeah, I've been meaning to ask, who can get the @NixOS/user/?
<gchristensen> members of the community who use NixOS! :)
<lordcirth_> gchristensen, I have squid-deb-proxy set up to cache any site that is requested; I was hoping I could get that to work instead of making a proxy specifically for cache.nixos.org
<Miyu-chan> \o/ May I have it? I saw it a while ago, but keep forgetting to ask for it.
<lordcirth_> Oh, maybe networking.proxy does what I want?
<gchristensen> lordcirth_: not sure about in that configuration
<gchristensen> but it should work, Nix's cache is all immutable files. once one exists, it won't change
<gchristensen> Miyu-chan: yeah. NixOS/user/myrl ?
<Miyu-chan> Yep, that should work.
[Leary] has joined #nixos
<gchristensen> remind me tomorrow? seems nobody is available to make the request.
<Miyu-chan> Sure sure.
<gchristensen> thanks!
Lears has quit [Ping timeout: 244 seconds]
<{^_^}> [nixpkgs] @romildo opened pull request #63795 → deepin.dtkcore: explicitly set DTK_VERSION → https://git.io/fjrrm
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63795 → deepin.dtkcore: explicitly set DTK_VERSION → https://git.io/fjrrm
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjrri
Anton-Latukha has quit [Quit: Leaving.]
xkapastel has quit [Quit: Connection closed for inactivity]
adamantium has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #63796 → deepin.dde-daemon: 3.27.2.5 -> 3.27.2.6; fix some hard coded paths → https://git.io/fjrr9
<monokrome> ,locate hda-verb
<{^_^}> Found in packages: alsaTools
<monokrome> lol alsaTools >.<
<monokrome> Is there a nixos way of doing this?
<monokrome> sudo hda-verb /dev/snd/hwC0D0 0x1d SET_PIN_WIDGET_CONTROL 0x0
<monokrome> (for multiple sound devices, at least one of which isn't always connected >.< lol)
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Drakonis has joined #nixos
<monokrome> This fixes an audio hissing issue on my X1 carbon, but it's a manual process every boot and it's kinda lulz: https://gist.github.com/monokrome/3b78b0c6a44acf68cbac2bece116cd31
<lordcirth_> Trying to set nixops to use 19.03, but it keeps creating 19.09. 'system.stateVersion = "19.03";' seems ignored
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63794 → vscode-with-extensions: add missing URL handler → https://git.io/fjrwg
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjrrh
<monokrome> lordcirth_: I'm pretty sure that you're never supposed to change system.stateVersion, there's even a comment about it in every new NixOS install?
selfsymmetric-mu has joined #nixos
<monokrome> Are you intending to upgrade your nix-channel list?
<lordcirth_> monokrome, I want to use 19.03, because it's the latest stable
<lordcirth_> Also, you are supposed to change it when a new version is declared stable, I believe.
<monokrome> After the system is already installed?
<lordcirth_> monokrome, no, trying to get nixops to make a 19.03 VM
<monokrome> I thought that was referring the initial system state, not the wanted system state
<monokrome> ah ok, not sure then
<monokrome> sorries
<monokrome> EG, to upgrade to 19.09 you move your channel up but leave stateVersion at 19.03 on a regular non nixops install
<monokrome> not sure if this is different
klntsky has quit [Ping timeout: 260 seconds]
klntsky has joined #nixos
freeman42y has quit [Ping timeout: 258 seconds]
adamantium has quit [Remote host closed the connection]
phreedom has quit [Quit: No Ping reply in 180 seconds.]
xelxebar_ has joined #nixos
xelxebar has quit [Quit: ZNC 1.7.2+deb2~bpo9+1 - https://znc.in]
phreedom has joined #nixos
emptyflask has joined #nixos
emptyflask has quit [Ping timeout: 258 seconds]
<samueldr> ,stateVersion
<{^_^}> Setting stateVersion to the latest release doesn't upgrade anything and can only break your setup at best. To actually upgrade NixOS see https://nixos.org/nixos/manual/#sec-upgrading. If you want to update the stateVersion option regardless, Ctrl-F for "stateVersion" in https://nixos.org/nixos/manual/release-notes.html to see things that need to be manually migrated with the new value.
<samueldr> (the same goes for going back)
<samueldr> I'm not sure how it translates to nixops, haven't touched it yet
<samueldr> though it's likely to be a NIX_PATH manipulation (which channels manipulation end up being)
hamishmack has quit [Ping timeout: 258 seconds]
<lordcirth_> Ok, so the VM has the channel set to 19.03.
<lordcirth_> Nope, wrong VM. The nixops one has no channels set??
<samueldr> it's possible, channels are not necessary for nixos to build and work
<samueldr> they are one way to resolve paths for imports in NIX_PATH
<lordcirth_> So I dug through the code a bit, and it seems that nixops does not set stateVersion, but records it based on how the machine first came up.
<lordcirth_> So, the initial bootstrap is installing 19.09 versions, I guess?
<samueldr> if I understand nixops right, without reading the manpage, not using it, it builds locally on your system, and that build will determine the nixpkgs revision it will build
mac10688 has joined #nixos
<lordcirth_> hmm
<samueldr> is your system running on unstable?
<lordcirth_> Apparently it is
kaliumxyz has quit [Quit: leaving]
<lordcirth_> That's interesting. I wouldn't have guessed that nixops would have deployed package versions based on my workstation, instead of the config
fusion809_ has quit [Remote host closed the connection]
* samueldr shouldn't really answer since he doesn't actually know
<samueldr> it might be entirely dependent on NIX_PATH, and using `import <nixpkgs> {}`
<lordcirth_> Are there special steps to roll back (I only have a few Nix packages installed) or should nix-channel --update && nix-env -u work?
<lordcirth_> Hmm, -u only upgrades to newer versions
<samueldr> try running nixops with `NIX_PATH=nixpkgs=channel:nixos-19.03`; that would make <nixpkgs> resolve to the current release
<lordcirth_> I think I've rolled back
<samueldr> (if it works like I think it does)
<lordcirth_> Using --always
<lordcirth_> Good to know, though
<samueldr> you can see the effect it has like this `NIX_PATH=nixpkgs=channel:nixos-19.03 nix-instantiate --find-file nixpkgs`
MrCCoffee has quit [Ping timeout: 252 seconds]
kvda has joined #nixos
<lordcirth_> Well, it seems to be building a lot of stuff that's not cached, so I think it's working. Going to bed, though. Thanks!
adamantium has joined #nixos
day|flip has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo opened pull request #63797 → deepin.deepin-calculator: init at 1.0.11 → https://git.io/fjroM
lord| has quit [Ping timeout: 268 seconds]
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
lord| has joined #nixos
stepcut has quit [Remote host closed the connection]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stepcut has joined #nixos
stepcut has quit [Ping timeout: 252 seconds]
sb0 has quit [Quit: Leaving]
kvda has joined #nixos
stepcut has joined #nixos
furrycatherder has quit [Read error: Connection reset by peer]
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @vbgl merged pull request #63346 → merkaartor: fix build & run → https://git.io/fja6S
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/fjrKf
stepcut has quit [Ping timeout: 268 seconds]
domogled has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @romildo merged pull request #63675 → deepin.dde-launcher: init at 4.6.13 → https://git.io/fjwgL
<{^_^}> [nixpkgs] @romildo pushed 3 commits to master: https://git.io/fjrKk
<niten> hey all
craige has joined #nixos
<niten> i'm trying to figure out how to initialize a postgres database when rebuilding my system
<niten> it seems like the script in the postgresql packages itself isn't the answer...it's for creating users and stuff, but doesn't allow for switching between dbs afaict
<niten> i've seen mentions of creating a post-build script to run, but i don't know exactly which script that is
<niten> is there a way to specify scripts to run exactly once after a system is built and running? or a better way to initialize databases?
<niten> and just to be clear: yes i'm okay with wiping it each time i rebuild...it's a backing db for powerdns & a dhcp server, i'm happy adding entries in the nixos config and rebuilding to add
lord| has quit [Read error: Connection reset by peer]
adamantium has quit [Remote host closed the connection]
lord| has joined #nixos
mexisme has joined #nixos
dansho has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
zupo has joined #nixos
domogled has quit [Ping timeout: 252 seconds]
vmandela has joined #nixos
knupfer has joined #nixos
steell has joined #nixos
adamantium has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
Rusty1 has quit [Quit: Konversation terminated!]
adamantium has quit [Remote host closed the connection]
emptyflask has joined #nixos
ajirx has joined #nixos
emptyflask has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @pacien opened pull request #63799 → nixos/postgresql-wal-receiver: add module → https://git.io/fjrKR
mexisme has joined #nixos
knupfer has quit [Ping timeout: 252 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has quit [Ping timeout: 244 seconds]
ajirx has quit [Quit: Leaving]
steell has quit [Ping timeout: 248 seconds]
mexisme has quit [Ping timeout: 268 seconds]
mexisme has joined #nixos
ajirx has joined #nixos
is_null has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @mogorman opened pull request #63800 → nitro_luks: init at 1.0.1 → https://git.io/fjrKp
iqubic has joined #nixos
palo1 has joined #nixos
<iqubic> I hate it when steam games claim to run on Linux, but then fail to run on Nixos.
<iqubic> I wish I knew how to fix this.
<{^_^}> [nixpkgs] @vbgl opened pull request #63801 → amiri: init at 0.111 → https://git.io/fjr6e
palo has quit [Ping timeout: 268 seconds]
palo1 is now known as palo
zupo has joined #nixos
reinhardt has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/40baa1f2de4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<rprije> Question: I have a fixed nixpkgs/nixos repository. I have a repository A which imports that nixpkgs and defines a package P and service definion S which uses package P. The Service Definition is defined in a nixos module taking {config,pkgs}. I then have a repo B which defines a nixops set of machines which use imports to load service definition S after getting the path to it from repo A. The import of S fails because it can't find P because
<rprije> the module defining the machine has been passed a different package set to what was constructed in A and so doesn't include the P that S depends upon, and this package set is what gets passed to the service definition module through use of the imports attribute. How should I go about fixing this?
<rprije> By "use imports to load service definition S" I mean it uses the imports attribute in the machine definition, not the nix import statement.
Fulgen has quit [Ping timeout: 252 seconds]
qqlq has joined #nixos
zupo_ has joined #nixos
zupo has quit [Ping timeout: 246 seconds]
kvaster has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @mogorman closed pull request #63800 → nitro_luks: init at 1.0.1 → https://git.io/fjrKp
<{^_^}> [nixpkgs] @NinjaTrappeur opened pull request #63802 → hostapd: fix hostapd noscan patch url. → https://git.io/fjr68
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rauno has joined #nixos
cfricke has joined #nixos
<li_matrix> is there a normalized way to include lua headers for cmake project?
winem_ has joined #nixos
<teto> li_matrix: including lua in buildInputs should be enough ?
wfranzini has joined #nixos
justbeingglad has joined #nixos
emptyflask has joined #nixos
emptyflask has quit [Ping timeout: 272 seconds]
<li_matrix> used a special env var. newest neovim uses luv
<li_matrix> now im getting version error :D
jtojnar has quit [Quit: jtojnar]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adamantium has joined #nixos
dansho has quit [Quit: Leaving]
alex`` has joined #nixos
kvda has joined #nixos
<{^_^}> [nixpkgs] @markuskowa opened pull request #63803 → linuxptp: init at 2.0 → https://git.io/fjrie
justbeingglad has left #nixos [#nixos]
<rprije> I was able to fix my problem. I loaded S by manually importing it and passing it the packages from repo A then //'d it with the nixos module I was creating in my machine definition. Seems to work.
<{^_^}> [nixpkgs] @fpletz merged pull request #63785 → grafana: 6.2.4 -> 6.2.5 → https://git.io/fjra4
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/fjriY
iqubic` has joined #nixos
iqubic` has left #nixos [#nixos]
cfricke has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @ari-becker opened pull request #63804 → kops: 1.12.1->1.12.2 → https://git.io/fjriZ
iqubic has quit [Ping timeout: 250 seconds]
ajirx has quit [Remote host closed the connection]
sb0 has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ajirx has joined #nixos
Makaveli7 has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @flokli merged pull request #63802 → hostapd: fix hostapd noscan patch url. → https://git.io/fjr68
<{^_^}> [nixpkgs] @flokli pushed 3 commits to master: https://git.io/fjriM
MmeQuignon has joined #nixos
adamantium has quit [Remote host closed the connection]
goibhniu1 has joined #nixos
arjen-jonathan has joined #nixos
cjpbirkbeck has quit [Quit: Quitting now.]
cfricke has joined #nixos
Mateon2 has joined #nixos
<li_matrix> master neovim now depends from `luv/luv.h` from the luv lua module, but luarocks derivations dont seem to include those header files. any idea?
Mateon1 has quit [Ping timeout: 248 seconds]
Mateon2 is now known as Mateon1
mac10688 has quit [Ping timeout: 268 seconds]
Shoubit has joined #nixos
<li_matrix> the src is even a special .rock file format that im unfamiliar with
srl295 has quit [Quit: Connection closed for inactivity]
alp has joined #nixos
<teto> li_matrix: i had a look yesterday at this very problem, luv build system uses cmake
<teto> if you look at luv's CMakeList you can see some variables to generate the .so file. Apparently luv can't build everything at the same time
<teto> I believe luv's build system is being worked on so I gave up and pinned neovim to the rev just before the luv's changes
<li_matrix> ahah
<li_matrix> I did just that
<li_matrix> what a shitshow!
<li_matrix> thanks for letting me know
orivej has joined #nixos
<teto> li_matrix: I don't think cmakeFlags would work via buildLuarocksPackage but basically we would need to pass the cmake flags. Maybe create another derivation libuv that uses luaPackages.libuv.src
<teto> -libuv +luv
<li_matrix> yes I was just at this point
<li_matrix> unpacking rock file
<li_matrix> never played with lua really
kl3 has joined #nixos
<teto> ha the rock file is just a zip
<li_matrix> cmake can just burn in hell
<li_matrix> ahh perfect
<li_matrix> DOP
<li_matrix> direction-oriented programming
<teto> it's usually unpacked via pkgs/development/tools/misc/luarocks/setup-hook.sh
<li_matrix> I might give it a shot
<teto> aka luarocks unpack just calls unzip on it
<li_matrix> ill let you know if I get it working
Uniaika has left #nixos [#nixos]
<teto> if it's simpler , you could just fetchFromGithub :p
<teto> that would be super cool
<li_matrix> true
<kl3> with latest unstable, netcat tls looks broken:
<kl3> # nc -vcz nixos.org https
<kl3> nc: failed to open CA file '/etc/ssl/cert.pem': No such file or directory
<kl3> it's linked against libressl 2.9.2 which has the cert.pem on my system: /nix/store/7dq9sz8x4wwkj1l2w5xmw63c2fwy9jm9-libressl-2.9.2/etc/ssl/cert.pem
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/fjriN
MmeQuignon has quit [Ping timeout: 246 seconds]
boogiewoogie has joined #nixos
<{^_^}> [nixpkgs] @fgaz closed pull request #59780 → nixos/bumblebee: allow legacy nvidia drivers → https://git.io/fjY9h
<Taneb> Does nix build have an equivalent to nix-build's -K flag?
<boogiewoogie> hey, I'm trying to create an expression for https://github.com/okonek/tidal-cli-client. I don't know npm so for now my attempt was `npm2nix package.json`. gives me the error `Error during fetch: Error getting registry info for fs-extra: Error: unable to get local issuer certificate` though, so I'm probably doing something wrong. anyone got an idea?
knupfer has joined #nixos
<boogiewoogie> okay, just found out about node2nix. new attempt.
<davidtwco> I'm working on a package for configuring my keyboard. It needs udev rules and the software is an appimage. I've got it running and I've packaged the udev rules, but udev rules don't appear to be applying in the appimage chroot. Any thoughts on how to proceed?
ericsagnes has quit [Ping timeout: 252 seconds]
thc202 has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
ajirx has quit [Remote host closed the connection]
civodul has joined #nixos
__monty__ has joined #nixos
KarelWDingeldey[ has joined #nixos
emptyflask has joined #nixos
ericsagnes has joined #nixos
emptyflask has quit [Ping timeout: 245 seconds]
<alexarice[m]> R21AroboT
<etu> alexarice[m]: Password?
<li_matrix> Taneb: --keep-failed
<Taneb> li_matrix: thanks
knupfer has quit [Quit: knupfer]
<alexarice[m]> etu: not anymore
ned has joined #nixos
<etu> alexarice[m]: Good :)
knupfer has joined #nixos
<kl3> netcat tls support broke in between those generations of mine:
<kl3> |*NixOS - Configuration 57 (2019-06-08 - 19.09pre182256.168d1031af4) | broken
<kl3> | NixOS - Configuration 56 (2019-06-05 - 19.09pre181392.4ab1c14714f) | works
<kl3> can anyone confirm my issue?
<ned> hi, i'm trying to use nix-shell for a perl project. Is there any way to automatically convert a cpanfile (a file containing a list of perl module dependencies) to a .nix file?
<eddyb> wheee this only took me a few weeks https://gcc.gnu.org/ml/gcc-patches/2019-06/msg01639.html
<eddyb> qyliss: do you want to submit the fixes needed to make the testsuite work? although doCheck=true by default is still not possible, as some tests seem to be broken and only comparing two runs fo regressions is supported
<arianvp> I wanted to benchmark how long my nixos eval takes
lurpahi has quit [Ping timeout: 244 seconds]
<arianvp> and I did nix-instantiate --eval --strict on system.toplevel
<arianvp> but I get the following error
<arianvp> overrideDerivation not yet supported for functors
lurpahi has joined #nixos
<arianvp> but as always, --show-trace is again absolutely useless :/
<arianvp> oh wait it isn't something with perl-packages ?
<arianvp> but still, this is not something I am touching
<{^_^}> [nixpkgs] @fpletz pushed commit from @WilliButz to release-19.03 « grafana: 6.2.4 -> 6.2.5 »: https://git.io/fjrP5
psy3497 has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
cfricke has quit [Quit: WeeChat 2.5]
<teto> arianvp: might want tto disable overlays ?
veske has joined #nixos
erik-4levels has joined #nixos
<erik-4levels> hi all, I'm really struggling to work with overlays in a nixoPs context.
<erik-4levels> I don't understand on how to use them properly, I keep getting infinite recursion errors etc etc
<erik-4levels> I need this to deploy custom packages to my target machines, from a nixops deploy machine
<arianvp> teto: why?
<erik-4levels> I've been working with a forked version of the nixpkgs repo and that works, but I'd like to do away with the forked version and use overlays instead
mexisme has quit [Ping timeout: 258 seconds]
<arianvp> erik-4levels: can you show an example of how you're currently using it
<erik-4levels> arianvp that's a long story, but basically I need older versions of packages that don't exist anymore in the latest nixpkgs
ajirx has joined #nixos
<erik-4levels> like eg. elasticsearch 1.7.2
<arianvp> I mean. how do you hook them into your config
<arianvp> With the nixpkgs.overlays = option in NixOS?
<erik-4levels> Well, here's the forked repo with a PR highlighting the differences: https://github.com/NixOS/nixpkgs/compare/release-18.09...4levels:release-18.09?expand=1
<erik-4levels> I'm adding them to $NIX_PATH in a shell wrapper, like so:
<erik-4levels> export NIX_PATH="$NIX_PATH:nixpkgs=$NIX_CHANNEL:nixpkgs-overlays=$DIR/src/overlays:."
<arianvp> erik-4levels: I would, if possible, just use the nixpkgs.overlays option in your nixops config
<erik-4levels> where $DIR is the current directory
<arianvp> that seems a bit less external-state dependent
<erik-4levels> Ok, must have totally overlooked that one..
knupfer has quit [Read error: Connection reset by peer]
<arianvp> so you could do nixpkgs.overlays = [ import ./our-custom-overlay.nix ];
<erik-4levels> Ok, but just to be clear, will this also allow me to override direvations from eg. nixos/modules/.. ?
<arianvp> alas. no. Overlays only works for nixpkgs
<arianvp> :/
<arianvp> not for nixos modules
<erik-4levels> But in the nixpkgs repo, there is both a pkgs and a nixos dir
<erik-4levels> so only stuff inside the pkgs subdir can be overlayed?
<arianvp> yes that is correct. and overlays are only for the pkgs part. Nixos and nixpkgs live in the same repo for convenience so that we can keep them in sync
<erik-4levels> but how can I "overlay" things that are declared in the nixos dir then?
<arianvp> but... nixos modules can be extended. the nixos module system is similar to overlays
<arianvp> you can create a new module using imports = []; that module can extend an existing module
<erik-4levels> (I might be doing a lot of things wrong here, I'm no expert, just a long time user
<erik-4levels> ok, that makes sense and sounds promising to achieve what I need
<erik-4levels> Did you have a look at the PR I linked?
<arianvp> Let me have a look
m0rphism has joined #nixos
<erik-4levels> I'm basically adding stuff to allow elasticsearch 1.x, and 2.x as I'm preparing a migration and need both versions on the same machine. The other changes are php related since I needed some older php extension (leveldb) and the older php versions 5.6 & 7.0
<arianvp> In these cases what I would do is just create a new nixos module
ned has quit [Remote host closed the connection]
<arianvp> put it in a <my-company> namespace
<erik-4levels> To test migrating a rather large legacy php5.6 project
<arianvp> imports = [ ./company-elasticsearch.nix ];
<arianvp> then mycompany.elasticsearch.enable = true;
<erik-4levels> *check*
<arianvp> instead of elasticsearch.enable = true;
<tobiasBora> Hello,
<erik-4levels> arianvp thanks a lot already!
<arianvp> because you seem to have changed quite a bit to the module itself. not sure if that's worth "extending" or if you would just create a new module
<arianvp> I think the second option is less work, tbh
<erik-4levels> I'll be giving that a try
<arianvp> nixos modules are usually pretty standalone. so copying them out of the repo into your own usually works
<arianvp> cool!
<arianvp> let me know if you get stuck
<erik-4levels> I see, never done it that way ;-)
<erik-4levels> :thumbsup:
<arianvp> let me give you an example
<arianvp> I have lots of custom modules here: https://github.com/arianvp/nixos-stuff/tree/master/modules
<erik-4levels> :double-thumbsup:
<arianvp> then whenever I need them, I just import them
<erik-4levels> makes a lot more sense now, thanks!
<erik-4levels> I'm still baffled by statements like this:
<erik-4levels> { ... }:
<erik-4levels> What does that even mean?
<arianvp> nixos modules are functions of records to records
<arianvp> so
<arianvp> { pkgs, config, options, modulesPath , <lots of stuff here> }: ...my config here
<arianvp> you can only match a subset of them like this:
<tobiasBora> I have a strange minor bug (it's not super important, just a bit annoying): I installed the great addon "Dark Background and Light Text" on firefox that turn every page into a dark background, and since my last update of nixos, when I open firefox it's not loaded, so all my pages are unchanged. However, once I click on the logo of the addon, it displays "loading..." for a few seconds, and then it displays all
<tobiasBora> the pages with dark background as expected. Since this appended right after my last update, I'm wondering if it's a nixos bug or a firefox bug
<arianvp> { pkgs , ...}: my config here
<arianvp> if you don't need any arguments at all : { ... }: my config here
<erik-4levels> Anyway, I'll give it a try using imports and custom modules as you have demonstrated, I'm sure I should be able to ditch my fork and use this approach instead
<arianvp> its just a pattern match that discards everything
<erik-4levels> thanks again arianvp
<arianvp> ( II think in this case you can drop it, and nixos is smart enough to figure it out, but I do it for consistency )
<arianvp> no problem
Khetzal_ is now known as Khetzal
<kl3> 
<kl3> d
v88m has quit [Read error: Connection reset by peer]
knupfer has joined #nixos
mexisme has joined #nixos
v88m has joined #nixos
kvaster has joined #nixos
Anton-Latukha has joined #nixos
erik-4levels has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 252 seconds]
<yorick> is there a lib.leftPad? :P
v88m has quit [Read error: Connection reset by peer]
<etu> :D
v88m has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cdb032dff22 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
v88m has quit [Read error: Connection reset by peer]
goibhniu has joined #nixos
goibhniu1 has left #nixos [#nixos]
v88m has joined #nixos
knupfer has quit [Remote host closed the connection]
v88m has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @adisbladis pushed to master « conda: 4.3.31 -> 4.6.14 »: https://git.io/fjrXp
v88m has joined #nixos
ajirx has quit [Remote host closed the connection]
ajirx has joined #nixos
sigmundv has joined #nixos
knupfer has joined #nixos
ThatDocsLady has joined #nixos
fendor has quit [Ping timeout: 252 seconds]
boogiewoogie has quit [Quit: Leaving]
mexisme has quit [Ping timeout: 248 seconds]
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
IRCsum has quit [Ping timeout: 268 seconds]
nschoe has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @adisbladis pushed to master « pythonPackages.execnet: 1.5.0 -> 1.6.0 »: https://git.io/fjr1W
<{^_^}> [nixpkgs] @timokau opened pull request #63806 → python.pkgs.dm-sonnet: fix build, 1.30 -> 1.33 → https://git.io/fjr1l
IRCsum has joined #nixos
spectator123 has joined #nixos
blitzclone[m] has joined #nixos
blitzclone[m] is now known as Julian[m]2
fendor has joined #nixos
Julian[m]2 is now known as blitzclone[m]
xkapastel has joined #nixos
spectator123 has quit [Remote host closed the connection]
knupfer has quit [Remote host closed the connection]
ericsagnes has quit [Ping timeout: 268 seconds]
knupfer has joined #nixos
<{^_^}> [nixpkgs] @adisbladis pushed to master « pythonPackages.requests-toolbelt: Add missing checkinput pyopenssl »: https://git.io/fjr1R
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/1c6bdbc766e (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
knupfer has quit [Remote host closed the connection]
IRCsome has joined #nixos
IRCsum has quit [Read error: Connection reset by peer]
ajirx has quit [Ping timeout: 246 seconds]
iyzsong has joined #nixos
ericsagnes has joined #nixos
ajirx has joined #nixos
emptyflask has joined #nixos
<qyliss> eddyb: imo you should make a PR that adds an option for building with tests, and see what Nixpkgs' gcc maintainers think of it.
knupfer has joined #nixos
emptyflask has quit [Ping timeout: 248 seconds]
<eddyb> qyliss: what should I do about dependencies needed only for running tests?
<eddyb> like `expect` and `dejagnu`
zupo_ has joined #nixos
<qyliss> Conditionally build them in nativeBuildInputs based on the option
<qyliss> Same as, say, ISL
<eddyb> aaah nice!
Ridout has joined #nixos
knupfer has quit [Ping timeout: 258 seconds]
ajirx has quit [Remote host closed the connection]
ajirx has joined #nixos
<{^_^}> [nixpkgs] @timokau closed pull request #63806 → python.pkgs.dm-sonnet: fix build → https://git.io/fjr1l
Synthetica has joined #nixos
<{^_^}> [nixpkgs] @FRidh pushed 89 commits to staging-next: https://git.io/fjr1p
<eddyb> qyliss: what's the difference between nativeBuildInputs and buildInputs?
<eddyb> I thought I needed to use the former for something used by the build process itself but now I'm not as sure
<{^_^}> [nixpkgs] @timokau reopened pull request #63806 → python.pkgs.dm-sonnet: fix build → https://git.io/fjr1l
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cfricke has joined #nixos
<eddyb> oh you did say nativeBuildInputs
<eddyb> qyliss: wait, I can't depend on `doCheck` because any logic will be computed before `.override({...}:{doCheck = true;})` won't it?
hio has joined #nixos
MmeQuignon has joined #nixos
v88m has quit [Ping timeout: 244 seconds]
<sphalerite> eddyb: there's no practical difference when compiling natively, but when cross-compiling, you need to put stuff that runs as part of the build in nativeBuildInputs
zupo has joined #nixos
<eddyb> sphalerite: thanks, that's what I thought! then, yeah, that would include `expect` and `dejagnu`
<sphalerite> although the testing stuff probably won't work at all when cross compiling so it doesn't really matter much :p
<eddyb> I think it's designed to, and should work for at least x86 (i686 vs x64)
<sphalerite> that's not real cross
Fulgen has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #63423 → Staging next → https://git.io/fjabd
<{^_^}> [nixpkgs] @FRidh pushed 59 commits to master: https://git.io/fjrMg
Okinan has joined #nixos
<{^_^}> [nixpkgs] @adisbladis opened pull request #63807 → conda: Remove version suffix → https://git.io/fjrMV
<qyliss> eddyb: not sure what you mean
<{^_^}> [nixpkgs] @eddyb opened pull request #63808 → gcc: support running the testsuite. → https://git.io/fjrMP
<{^_^}> [nixpkgs] @timokau merged pull request #63806 → python.pkgs.dm-sonnet: fix build → https://git.io/fjr1l
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.dm-sonnet: fix build with bazel 0.27 (#63806) »: https://git.io/fjrMX
<eddyb> lol, {^_^} made me wonder for a second whether someone else was working on the same thing
<{^_^}> [nixpkgs] @timokau opened pull request #63809 → [WIP] python.pkgs.dm-sonnet: 1.30 -> 1.33 → https://git.io/fjrMM
<eddyb> qyliss: anyway, here it is, have fun https://github.com/NixOS/nixpkgs/pull/63808 (I'm not sure I'll be able to spend any time on this - especially now that I have a path to finishing my contributions to GCC and other GNU projects that use libiberty :P)
<{^_^}> #63808 (by eddyb, 1 minute ago, open): gcc: support running the testsuite.
Ridout has quit [Quit: Lost terminal]
<qyliss> eddyb: if the nixpkgs gcc maintainers are interested in it, I'm happy to move it along if you don't mind me pushing to the branch.
<qyliss> (check the "maintainers can push" box on github if so)
<eddyb> if it's the default it should already be checked, yeah
<eddyb> oh right nowadays you can toggle it even afterwards
xok has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<xok> hello guys...
<eddyb> qyliss: yeah, I don't mind, thanks in advance <3
<xok> can anyone help me setup an SFTP service limited to a certain directory?..
<xok> I want to give access to some users but not to be able to go up those directories...
<betaboon> xok: you mean SFTP, not FTPS, right ?
<xok> yes...
<xok> I know SSH has option to enable SFTP...
<xok> but I couldn't find anything beyond that...
<xok> I want to lmit users to certain directories...
samueldr has quit [Ping timeout: 245 seconds]
Neo-- has joined #nixos
<xok> betaboon: Thank you, I will take a look at it...
<{^_^}> [nixpkgs] @peti pushed to master « haskell-ci: update to latest git version »: https://git.io/fjrD3
justbeingglad has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 8 commits to haskell-updates: https://git.io/fjrDn
<betaboon> xok: good luck :)
samueldr has joined #nixos
nschoe has joined #nixos
<chrisaw> Is there a quick 'n dirty way to ensure I use gcc8 for a particular package in an overlay?
gxt has quit [Quit: WeeChat 2.4]
<chrisaw> Tried: stdenv = super.overrideCC super.stdenv super.gcc8; but sadly gcc7 is still being used and this particular package demands 8.
justbeingglad has left #nixos [#nixos]
winem_ has quit [Ping timeout: 245 seconds]
fendor has quit [Ping timeout: 245 seconds]
rprije has quit [Ping timeout: 272 seconds]
leotaku has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @domenkozar pushed to binaryCaches-default « nix.binaryCaches: always set https://cache.nixos.org »: https://git.io/fjrDQ
<{^_^}> [nixpkgs] @domenkozar opened pull request #63810 → nix.binaryCaches: always set https://cache.nixos.orghttps://git.io/fjrD5
fendor has joined #nixos
MmeQuignon has quit [Read error: Connection reset by peer]
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
johnny101 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @CohenCyril opened pull request #63811 → elpi: 1.2.0 -> 1.4.1 → https://git.io/fjryv
nckx has quit [Quit: Updating my GNU Guix System — https://guix.gnu.org]
fendor has quit [Ping timeout: 244 seconds]
monsieurp has left #nixos [#nixos]
sb0 has quit [Quit: Leaving]
fusion809 has joined #nixos
nckx has joined #nixos
rauno has quit [Ping timeout: 248 seconds]
trevorriles has joined #nixos
michas has joined #nixos
selfsymmetric-mu has quit [Remote host closed the connection]
tmaekawa has joined #nixos
ilmu has joined #nixos
emptyflask has joined #nixos
<eddyb> qyliss: blergh, it would trigger a rebuild. yorick said something about a different PR this could maybe be bundled with
<yorick> eddyb: the gnat one
emptyflask has quit [Ping timeout: 258 seconds]
MmeQuignon has joined #nixos
jcbrand has joined #nixos
<{^_^}> [nixpkgs] @MrMebelMan opened pull request #63812 → supercollider: 3.9.3 -> 3.10.2 → https://git.io/fjryZ
<mdash> howdy. Looking at the result from `nix-build '<nixpkgs>' -A nodePackages.indium` I see a relative symlink in bin/ instead of a link to a store path
jcbrand has left #nixos [#nixos]
<mdash> is there a preferred way to fix this? I'm fine with either hacking around this locally or submitting a nixpkgs PR :)
jcbrand has joined #nixos
ericsagnes has quit [Ping timeout: 252 seconds]
nckx has left #nixos [#nixos]
srid6390803 has quit [Ping timeout: 272 seconds]
Drakonis has quit [Quit: WeeChat 2.4]
fendor has joined #nixos
srid6390803 has joined #nixos
Miyu-chan has quit [Changing host]
Miyu-chan has joined #nixos
tmaekawa has quit [Quit: tmaekawa]
kisik21 has joined #nixos
vmandela has quit [Quit: Leaving]
fires has joined #nixos
fires has left #nixos [#nixos]
<kisik21> So. NixOS containers or Docker? Maybe both? What's more secure? Faster? More useful? Easy to use? Are there tasks for which a Docker/NixOS container would be more useful than its opponent? Can you deploy Docker containers on nixos-rebuild, like with NixOS containers?
<kisik21> Docker seems like a big thing in the container world, but NixOS containers are more tightly integrated.
ericsagnes has joined #nixos
<Yaniel> security is not a goal of either container type
stepcut has joined #nixos
Lears has joined #nixos
[Leary] has quit [Read error: No route to host]
<yorick> kisik21: what do you want to do/
[Leary] has joined #nixos
<yorick> ?
<kisik21> First of all, I want to get all this container architecture, I want to see how it works and what it can provide. Maybe I should read something basic first
<yorick> kisik21: the main advantage of nixos containers is some modicum of sandboxing (that you could all also get with systemd serviceConfig) and the ability to run multiple identical services on the same server
<yorick> kisik21: the main advantage of docker containers to the outside world is deployability
npmccallum has joined #nixos
Lears has quit [Ping timeout: 248 seconds]
<kisik21> But I think the same deployability could be achieved with NixOS containers too, since these are just snippets of Nix code that you could paste into a file and then do config.containers.someservice = { config = import containers/someservice.nix; };
<kisik21> It's just that not everyone uses NixOS :3
<yorick> kisik21: what's the advantage of that over just importing a nixos module in the system config
<mdash> kisik21: docker doesn't provide any distinct advantages that i've found, but the ops people I work with have standardized on it
<mdash> otherwise i'd ignore it entirely
<kisik21> so people use it for the sake of using it everywhere?...
<kisik21> wow
<mdash> yes, it's popular because it's popular. :)
leotaku has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
ciaran-lounge has joined #nixos
<kisik21> Oh, wow, networking.bridges! so I can make a bridge with my ethernet connection, and then just add containers to it with hostBridge?
<kisik21> I don't think Docker can do this
jabranham has joined #nixos
<mdash> kisik21: or you could just run stuff without containers at all
reinhardt has quit [Quit: Leaving]
<kisik21> everyone uses containers, so I want to understand how to use them in case someone will make me use them when they hire me :3
MmeQuignon has quit [Read error: Connection reset by peer]
ciaran-lounge has quit [Quit: The Lounge - https://thelounge.chat]
<mdash> kisik21: ah, that's different than wanting to learn how to actually do stuff. sure
wfranzini has quit [Ping timeout: 245 seconds]
<kisik21> well, I want to learn too
<kisik21> but you know
<kisik21> with all this container craze
<kisik21> I'm afraid I won't have a job when I finish my education
ciaran-lounge has joined #nixos
<kisik21> even though I'm a programmer and not a sysadmin
<mdash> kisik21: 'programmer' covers a lot of ground, plenty of programmers never do any ops work or anything related to containers
<Yaniel> ehh, containers are about the least of your worries there
<kisik21> who knows. And it feels interesting
<mdash> sure
<Yaniel> if you have ever used virtual machines that'll be close enough
ciaran-lounge has quit [Client Quit]
ciaran-lounge has joined #nixos
<Yaniel> which, coincidentally, is very easy with nixops
<kisik21> run-nixos-vm is a cool thing :3 I'm testing my server with it because I don't have my hardware yet
ThatDocsLady has quit [Read error: Connection reset by peer]
ciaran-lounge has quit [Changing host]
ciaran-lounge has joined #nixos
ThatDocsLady_ has joined #nixos
ciaran-lounge has quit [Client Quit]
ciaran-lounge has joined #nixos
pie_ has joined #nixos
ciaran-lounge has quit [Changing host]
ciaran-lounge has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to master « duplicati: PermissionsStartOnly is deprecated »: https://git.io/fjrSL
rycwo_ has quit [Quit: ZNC 1.7.1 - https://znc.in]
rycwo has joined #nixos
<{^_^}> [nixpkgs] @basvandijk merged pull request #63728 → Backport "cargo-license: init at 0.2.0" to release-19.03 → https://git.io/fjwFj
<{^_^}> [nixpkgs] @basvandijk pushed 3 commits to release-19.03: https://git.io/fjrSm
domogled has joined #nixos
wfranzini has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
sigmundv has quit [Ping timeout: 258 seconds]
domogled has quit [Ping timeout: 245 seconds]
ajirx has quit [Remote host closed the connection]
sigmundv has joined #nixos
kvaster has quit [Ping timeout: 245 seconds]
test443322952 has joined #nixos
<test443322952> > :p filterAttrs (n: x: ! isDerivation x) kdeApplications
<{^_^}> { callPackage = <LAMBDA>; newScope = <LAMBDA>; override = <LAMBDA>; overrideDerivation = <LAMBDA>; overrideScope = <LAMBDA>; overrideScope' = <LAMBDA>; packages = <LAMBDA>; recurseForDerivations = tru...
<sonercirit[m]> how can I run this query ` :p filterAttrs (n: x: ! isDerivation x) kdeApplications` locally so the output doesnt get cropped?
<clever> sonercirit[m]: nix repl '<nixpkgs>'
kisik21` has joined #nixos
<simpson> sonercirit[m]: `lib.filterAttrs`. Nix is scoped, and every name is introduced somewhere. The bot here brings everything from `pkgs` into scope, which includes some stuff from `pkgs.lib` too.
<sonercirit[m]> simpson: yep that worked `:p lib.filterAttrs (n: x: ! lib.isDerivation x) kdeApplications`
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<sonercirit[m]> how can I find out about the scopes while digging? let's say I wanted to find `lib` here
iyzsong has joined #nixos
kisik21 has quit [Ping timeout: 258 seconds]
<simpson> sonercirit[m]: You now know about the concepts of scope, as well as `pkgs` and `lib`, and that's likely enough. You could read nixpkgs source to find out exactly what's available.
<{^_^}> [nixpkgs] @romildo opened pull request #63813 → deepin.startdde: init at 3.14.6.4 → https://git.io/fjr93
Guest77 has joined #nixos
<Guest77> Is it possible "nix-copy-closure" or "nix-store --import" without checking signatures? When I try to use them, they report "error: cannot add path ... because it lacks a valid signature".
<clever> Guest77: if the receiving end is a trusted user, it wont check
<clever> Guest77: root is trusted by default
endformationage has joined #nixos
<Guest77> Thanks, seems to be happy now.
softinio has quit [Quit: WeeChat 1.9.1]
xok has quit [Read error: Connection reset by peer]
<noonien> i'm trying to package something, i've got an initial default.nix, what would be the easiest way of building it to see that it works?
<clever> noonien: nix-build
<sonercirit[m]> so one more question :D how can I filter multiple values in this lambda `builtins.attrValues (lib.filterAttrs (key: value: ! builtins.elem key [ "callPackage" || "recurseForDerivations" ]) kdeApplications)`
<sonercirit[m]> `OR` operator does not work like this
<sonercirit[m]> I also tried this `builtins.attrValues (lib.filterAttrs (key: value: ! builtins.elem key [ "callPackage" ] || [ "recurseForDerivations" ]) kdeApplications)`
<clever> sonercirit[m]: [ ... ] is an array of items
<clever> sonercirit[m]: you want [ "foo" "bar" ]
<noonien> clever: yeah, that's what i remember, however, i get "error: undefined variable 'stdenv'`, is this not valid as the first line?: `{ lib, pkgs, stdenv, fetchurl }:`
<clever> ,callPackage noonien
<{^_^}> noonien: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<sonercirit[m]> clever: damn thank you :D still learning nix
klntsky has quit [Remote host closed the connection]
<noonien> ah, good, thanks!
klntsky has joined #nixos
<sphalerite> sonercirit[m]: also, you could use intersectAttrs for this
<sonercirit[m]> this is what I've came up with in case anyone needs it `builtins.attrValues (lib.filterAttrs (key: value: ! builtins.elem key [ "callPackage" "newScope" "override" "overrideDerivation" "overrideScope" "overrideScope'" "packages" "recurseForDerivations" ]) kdeApplications)`
<sonercirit[m]> I know it's a little dirty but it works for now :D
<sonercirit[m]> sphalerite: how would I do that?
<sphalerite> sonercirit[m]: err, sorry, got it the wrong way round
erik-4levels has joined #nixos
xok has joined #nixos
<sphalerite> sonercirit[m]: but `lib.removeAttrs kdeApplications ["callPackage" "newScope" …]`
xok has left #nixos [#nixos]
<sonercirit[m]> oh I see, yeah that's better
emptyflask has joined #nixos
<clever> sonercirit[m]: nix-repl> lib.filter lib.isDerivation (builtins.attrValues kdeApplications)
<sonercirit[m]> I really need to read those nix pills :D
<sonercirit[m]> god damn that's even better :D
sigmundv has quit [Ping timeout: 252 seconds]
trevorriles has quit [Read error: Connection reset by peer]
timon37 has joined #nixos
<sonercirit[m]> so what would you guys recommend I read for learning about these things?
emptyflask has quit [Ping timeout: 245 seconds]
<clever> sonercirit[m]: i just read all the source
xkapastel has joined #nixos
<erik-4levels> Hi arianvp, could you help me with a most basic example on how to add the (now missing) older versions of PHP as an overlay (since the file I want to override is in the pkgs folder)? Specific url of the diff: https://github.com/NixOS/nixpkgs/compare/release-18.09...4levels:release-18.09?expand=1#diff-e3f1a5e8a80452693ffb5de49ae02c5bR229
<sphalerite> sonercirit[m]: depends on what you want to do, really. The nix pills are a solid in-depth introduction to the nix languages and some of the core concepts of nixpkgs, but aren't necessary if you just want to write packages for example.
<erik-4levels> I just want to add the php56 and php70 versions back so I can install them without having to use my forked repo but I'm struggling on how to use the generic function on top of the original file
ggp0647 has quit [Quit: ZNC - https://znc.in]
ggp0647 has joined #nixos
<sphalerite> sonercirit[m]: The nix and nixpkgs manuals are useful to get an overview of builtins and library functions, if you want to do more twiddling than just writing simple packages
sigmundv has joined #nixos
<sonercirit[m]> ty guys I'll consider about both, but it looks like I should just read and fiddle with stuff :D
test443322952 has quit [Remote host closed the connection]
iyzsong has quit [Ping timeout: 258 seconds]
Jackneill has quit [Ping timeout: 252 seconds]
kvaster has joined #nixos
<{^_^}> [nixpkgs] @peterhoeg opened pull request #63814 → openhab: init at 2.4.0 and NixOS module [WIP] → https://git.io/fjrHS
Jackneill has joined #nixos
emptyflask has joined #nixos
xok has joined #nixos
<xok> hello all...
<{^_^}> [nixpkgs] @timokau opened pull request #63815 → python.pkgs.dm-sonnet: fix hash → https://git.io/fjrHN
<xok> I want to setup SFTP with nixos...
<xok> how do I check for log file?..
<xok> I checked journalctl -xe but nothing..
<manveru> did you set `services.openssh.allowSFTP`?
jeregrine has joined #nixos
<xok> nothing in the /var/log/ too...
<xok> manveru: yes, I did...
<manveru> try `sudo journalctl -xef -u sshd.service`
knupfer has joined #nixos
<xok> Thanks, I see some logs now...
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
MmeQuignon has joined #nixos
<xok> manveru: can you help with setting up this service?..
<manveru> possibly :)
mac10688 has joined #nixos
<infinisil> clever: noonien: I should make {^_^} automatically respond with ,callPackage when it sees somebody say "undefined variable 'stdenv'" :P
alex`` has quit [Quit: WeeChat 2.5]
emptyflask has quit [Ping timeout: 268 seconds]
<manveru> and what's your issue?
<xok> manveru: I can't SFTP to the server...
<manveru> and what does the log say?
<xok> this is the error: Unable to negotiate with IP_ADDRESS port 44317: no matching key exchange method found.
<manveru> hmm
cfricke has quit [Quit: WeeChat 2.5]
<manveru> so your client doesn't support password auth?
<xok> I am using FileZilla as a client...
<manveru> well, what does filezilla say?
<xok> it says "Couldn't connect to server"...
<xok> and nothing else...
<manveru> what happens if you remove the `extraConfig`?
<manveru> you should only put stuff in there that doesn't have a nixos option if possible
<davidtwco> Apologies for asking here again, but does anyone know if I need to do anything special to get udev rules to work in a appimage chroot? (context: https://github.com/davidtwco/nixfiles/commit/59a9e6f77add055ae2f086411de524e374ce9f8e isn't working)
<xok> trying...
emptyflask has joined #nixos
<xok> manveru: nothing changes, as if I had not made any changes...
<manveru> hm
<manveru> actually `extraConfig` is named wrong it seems... it replaces the whole sshd_config
<manveru> xok: i'd try it on the commandline then
<manveru> something like `sftp -vvvvvv user@host` should give you plenty of info
<xok> manveru: it is put in the sshd_config file correctly...
<xok> manveru: I got something new: This account is currently not available...
<{^_^}> [nixpkgs] @timokau merged pull request #63815 → python.pkgs.dm-sonnet: fix hash → https://git.io/fjrHN
<{^_^}> [nixpkgs] @timokau pushed to master « python.pkgs.dm-sonnet: fix hash (#63815) »: https://git.io/fjrQO
CcxWrk has quit [Quit: ZNC 1.7.1 - https://znc.in]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/75a88c1b9d0 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
erik-4levels has left #nixos [#nixos]
anon has joined #nixos
anon is now known as Guest23846
<xok> manveru: I got it working, thanks...
<xok> but now I have another problem...
<xok> I want this user to be chrooted to specific directory....
<xok> I don't want it it go up that directory....
<xok> can you help with that too?..
buckley310 has quit [Remote host closed the connection]
<manveru> i think that's what the `ChrootDirectory` in `extraConfig` is for... did that not work?
wfranzini has quit [Remote host closed the connection]
<manveru> guess https://github.com/NixOS/nixpkgs/pull/53024 would be useful for that, not sure why it was ignored
<{^_^}> #53024 (by ajs124, 25 weeks ago, open): sshd: Add user options for ForceCommand and ChrootDirectory
veske has quit [Ping timeout: 248 seconds]
v88m has joined #nixos
<manveru> if you set that, you probably also want to set `services.openssh.sftpFlags = ["-d" "${cfg.webroot}/database"];`
rauno has joined #nixos
<ajs124> manveru: tell me about it... well, there's this RFC about how we might not want to add stuff like this, but idk if it's because of that.
<manveru> yeah...
<xok> manveru: I couldn't understand how to use it... :_D
<noonien> infinisil: sounds like nix-build could use a flag :D
sigmundv has quit [Ping timeout: 245 seconds]
<noonien> also, i'm trying to build http://ix.io/1MQX, but running result/bin/LBRY results in libsecret not being found, for some reason: http://ix.io/1MQY
<noonien> libsecret is a build dependency though
<noonien> but it doesn't appear to be detected as a dependency by nix, can i manually specify it as a runtime dependency?
fendor has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @xrelkd opened pull request #63816 → rust-bindgen: 0.49.2 -> 0.49.3 → https://git.io/fjr7I
zacts has quit [Quit: WeeChat 1.9.1]
Ariakenom has joined #nixos
anttih_ has joined #nixos
mexisme has joined #nixos
jackdk has quit [Quit: Connection closed for inactivity]
<georgyo> Can anyone point me to an example package that has is polyglot? IE, a C program that also ships python libraries with it.
<anttih_> I'm trying to get libiconv installed so I run `nix-shell -p pkgconfig libiconv` but then `pkg-config --libs libiconv` does not find it. Any ideas?
<noonien> `nix-shell -p pkgconfig -p libiconv`
<noonien> anttih_: ^
<anttih_> noonien: nope
<xavierm02> I really need a --build-nothing option. It just tried to build libreoffice and ungoogled-chromium :o
<anttih_> I'm on darwin
<symphorien> xavierm02: try -j0
erasmas has joined #nixos
mexisme has quit [Ping timeout: 248 seconds]
__monty__ has quit [Ping timeout: 268 seconds]
<anttih_> what can I do to debug this issue of missing libiconv?
<georgyo> betaboon: that looks very promising!
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c06b8b5988f (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
jcbrand has left #nixos ["Error from remote client"]
<xavierm02> symphorien: I don't understand. guix package and guix -u both tell me that -j0 doesn't exist. (I managed to upgrade by specifying which packages should not be upgraded by hand, it's just a bit annoying)
<georgyo> betaboon: wrapPythonPrograms was the magic I needed! Thanks!
<symphorien> xavierm02: ah sorry, I thought you were talking about nix
<symphorien> anttih_: iirc iconv belongs to glibc. pkgs.libiconv is just a summy package for glibc-based stdenv
<symphorien> *dummy
arjen-jonathan has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
srid6390803 has quit [Ping timeout: 246 seconds]
<anttih_> symphorien: I guess I should be using the default libiconv that comes with macOS, but pkg-config does not find that either :/
<anttih_> but thanks!
<symphorien> ah, macos may be a different story
<symphorien> anttih_: and does the compiler find libiconv "natively" without pkg-config ?
<symphorien> with -liconv
__monty__ has joined #nixos
<anttih_> I'm tryhing to build neovim, and it's not finding it but I don't know how it's looking for it.
<symphorien> does it not find libiconv headers of library or both ?
<{^_^}> [nixpkgs] @edolstra merged pull request #63810 → nix.binaryCaches: always set https://cache.nixos.orghttps://git.io/fjrD5
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fjr5T
<anttih_> I don't know yet
<Izorkin> Mic92: planned update package netdata to 1.15 ?
<{^_^}> [nixpkgs] @ambrop72 opened pull request #63817 → wine: Set WINELOADER in wrapper, wrap also wine64. → https://git.io/fjr5L
nschoe has quit [Ping timeout: 246 seconds]
karetsu has joined #nixos
<Mic92> Izorkin: if you send me a PR url, I will hit the merge button as soon as I am back.
srid6390803 has joined #nixos
yastero_ is now known as yastero
stepcut_ has joined #nixos
<worldofpeace> ,locate deepin-sync-daemon
<{^_^}> Couldn't find in any packages
stepcut has quit [Ping timeout: 245 seconds]
akaWolf has joined #nixos
<{^_^}> [nixpkgs] @veprbl merged pull request #62845 → nim: 0.19.4 -> 0.20.0 → https://git.io/fjzK3
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fjr5O
jabranham has quit [Remote host closed the connection]
<kisik21`> does Rspamd with postfix scan outbound mail?
<kisik21`> I mean, if you just do services.rspamd.enable = true; services.rspamd.postfix.enable = true;
rauno has quit [Ping timeout: 252 seconds]
user has joined #nixos
dvim has joined #nixos
dvim has quit [Client Quit]
dvim has joined #nixos
<user> What is the equivelant default.nix file of $ nix-shell -p 'python35.withPackages(ps: with ps; [ numpy toolz ])'?
mmlb has quit [Ping timeout: 245 seconds]
fendor has joined #nixos
o1lo01ol1o has joined #nixos
linarcx has joined #nixos
Neo-- has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @nlewo merged pull request #63459 → github-release: 0.6.2 -> 0.7.2 → https://git.io/fjVUU
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjr5D
kwork_ is now known as kwork
<{^_^}> [nixpkgs] @nlewo merged pull request #63575 → dafny: 2.1.0 -> 2.3.0 → https://git.io/fjV91
<{^_^}> [nixpkgs] @nlewo pushed 2 commits to master: https://git.io/fjr5y
<{^_^}> [nixpkgs] @matthewbauer merged pull request #62869 → vulkan-loader: Always include /run/opengl-driver(-32)/share in search path. → https://git.io/fjzSt
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjr5d
<infinisil> user: nix-shell -p inserts `with import <nixpkgs> { }; pkgs.runCommand "shell" { buildInputs = [ <your -p's > ]; }` around your -p's
ThatDocsLady_ has quit [Quit: Leaving]
<infinisil> But you can also use `with import <nixpkgs> {}; stdenv.mkDerivation { name = "foo"; buildInputs = [ <list of stuff> ]; }`
gratto has quit [Ping timeout: 272 seconds]
gratto has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<user> infinisil: Thanks, I think that I was looking for the second option that you provided. It works!
knupfer has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Read error: Connection reset by peer]
o1lo01ol1o has joined #nixos
arjen-jonathan has joined #nixos
<user> infinisil: Where can I put the second option you gave a call to python35.withPackages?
<user> infinisil: * Where can I put within the
<xavierm02> symphorien: It's my bad I though I was on the guix channel >_< I usually keep hexchat open on it, but when I reopen it, it focuses nixos and I didn't notice...
<infinisil> user: buildInputs = [ (python35.withPackages (...)) ]
<infinisil> user: Note that you might want to use python3 instead of python35, because the former comes with precompiled dependencies
oxa has joined #nixos
freeman42x has joined #nixos
oxa has quit [Quit: Leaving]
<karetsu> does anybody have experience with behave (python one, not jbehave) on nixos?
<karetsu> my nix-shell doesn't complain about it not being installed, the behave/default.nix is there, but it doesn't seem to be added into my shell
emptyflask has quit [Quit: leaving]
bvdw4 has joined #nixos
asymmetric_ has joined #nixos
jfroche has joined #nixos
shlevy_ has joined #nixos
<immae> karetsu: what do you mean by "added into your shell"? Are you expecting something in the shell paths? If so, does behave have a bin subdirectory?
rfold has joined #nixos
arjen-jonathan has quit [Ping timeout: 252 seconds]
tA- has joined #nixos
jeregrine has quit [Quit: Connection closed for inactivity]
<karetsu> even if you get a minimal shell like `nix-shell -p 'python3.withPackages(ps: with ps; [ behave ])'` you don't get behave anywhere that python or the shell can use it
dhkl_ has joined #nixos
<karetsu> not import behave, no python -m behave etc.
andersk has joined #nixos
mmlb has joined #nixos
<karetsu> its just not included in there, even though all of my other requirements are
<karetsu> and I have had no error to say that behave is not supported under py37 (the default python3.with...)
marek_ has joined #nixos
wildtrees has joined #nixos
<{^_^}> [nixpkgs] @Izorkin opened pull request #63819 → netdata: 1.11.1 -> 1.15.0 → https://git.io/fjrdq
andersk_ has quit [Remote host closed the connection]
asymmetric has quit [Ping timeout: 258 seconds]
jfroche_ has quit [Ping timeout: 258 seconds]
bvdw has quit [Ping timeout: 258 seconds]
shlevy has quit [Ping timeout: 258 seconds]
srk has quit [Ping timeout: 258 seconds]
Twey has quit [Ping timeout: 258 seconds]
dhkl has quit [Ping timeout: 258 seconds]
marek has quit [Ping timeout: 258 seconds]
tA_ has quit [Ping timeout: 258 seconds]
asymmetric_ is now known as asymmetric
Twey has joined #nixos
srk has joined #nixos
srk has joined #nixos
srk has quit [Changing host]
<{^_^}> [nixpkgs] @bjornfor opened pull request #63820 → nixos/gnome3: enable networkmanagerapplet by default → https://git.io/fjrdZ
<immae> karetsu: with nix-shell -p 'pythonPackages.behave' I get a "behave" command in my nix-shell
<Izorkin> Mic92: created pr. And please check #63557 #61816 #61722
Athas has quit [Ping timeout: 272 seconds]
<{^_^}> https://github.com/NixOS/nixpkgs/pull/63557 (by Izorkin, 6 days ago, open): libssh2: 1.8.2 -> 1.9.0
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61816 (by Izorkin, 5 weeks ago, open): nginxMainline: 1.16.0 -> 1.17.1
<{^_^}> https://github.com/NixOS/nixpkgs/pull/61722 (by Izorkin, 5 weeks ago, open): nginxModules.pinba: init at 13.05.2019
<karetsu> immae: but it still won't allow you to import it right?
<karetsu> or rather a `from behave import given`
Athas has joined #nixos
<karetsu> thankfully this isn't for me so I can leave it for a future me to deal with :3
<{^_^}> [nixpkgs] @bjornfor merged pull request #63752 → nixos/cgit: fix config example → https://git.io/fjrOJ
<{^_^}> [nixpkgs] @bjornfor pushed commit from @pacien to master « nixos/cgit: fix config example »: https://git.io/fjrdR
Guest77 has quit [Quit: Textual IRC Client: www.textualapp.com]
karetsu has quit [Quit: WeeChat 2.4]
<immae> karetsu: I can "import behave" from a python command line yes
<{^_^}> [nixpkgs] @georgyo opened pull request #63821 → Ntpsec → https://git.io/fjrd2
jabranham has joined #nixos
Jackneill has quit [Read error: Connection reset by peer]
xok has quit [Read error: Connection reset by peer]
Lisanna has quit [Remote host closed the connection]
asheshambasta has joined #nixos
asheshambasta has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @bjornfor closed pull request #63820 → nixos/gnome3: enable networkmanagerapplet by default → https://git.io/fjrdZ
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/bff22431b5b (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
o1lo01ol1o has quit [Remote host closed the connection]
Shoubit has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #63822 → deepin.dde-control-center: init at 4.10.11 → https://git.io/fjrFU
<kisik21`> how to properly add a new Lua package via an overlay? Prosody module requires a package
<kisik21`> (oh great I have a glitched out username)
<gchristensen> you do?
<kisik21`> `
<kisik21`> my connection is a bit flaky
<kisik21`> so it connected a second time it seems
alex`` has joined #nixos
<gchristensen> ^ some people do it on purpose! :)
<kisik21`> not the scope of my question though :3
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<kisik21`> I added lua5.override { packageOverrides = lself: lsuper: { luapam = lself.callPackage ({...}) {}; }; }; to my overlay and tried to build lua5.withPackages (p: [p.luapam]), but it refuses to find luapam in my overlay for some reason...
meck has quit [Quit: WeeChat 2.5]
<kisik21`> so the question is: how to add a lua package that prosody can use for a custom module?
<kisik21`> I need lua-pam for mod_auth_pam
<kisik21`> ...or am I better off using another server? >.<
meck has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
knupfer has joined #nixos
<anttih_> A build cannot find ApplicationServices.h, do I have to have some package installed for it to be found? This is on darwin.
kisik21` is now known as kisik21
<{^_^}> [nixpkgs] @uHOOCCOOHu opened pull request #63823 → shadowsocks-libev: fix shared libraries → https://git.io/fjrF0
arjen-jonathan has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63797 → deepin.deepin-calculator: init at 1.0.11 → https://git.io/fjroM
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjrFw
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #63824 → nixos/zoneminder: Fix nginx config check → https://git.io/fjrFo
wfranzini has joined #nixos
<stepcut_> I tried running nix ping-store and got `error: cannot open connection to remote store 'ssh-ng://dsf@build.example.org': serialised integer 7453010373394067013 is too large for type 'j'`, any thoughts?
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @benley merged pull request #63681 → kubecfg: 0.9.1 -> 0.12.0 → https://git.io/fjwaN
<{^_^}> [nixpkgs] @benley pushed commit from @groodt to master « kubecfg: 0.9.1 -> 0.12.0 (#63681) »: https://git.io/fjrFy
grumble has quit [Quit: and some kind of madness has started to evolve]
grumble has joined #nixos
<philipp[m]> I don't want to annoy people but the current version of mesa in unstable is seriously broken on newer amd cards and the pr with the update that should fix a lot is not being reviewed: https://github.com/NixOS/nixpkgs/pull/56199
<{^_^}> #56199 (by eadwu, 17 weeks ago, open): mesa: build with meson
<gchristensen> colemickens: ping
domogled has joined #nixos
qqlq has quit [Quit: ZNC 1.7.3 - https://znc.in]
<stepcut_> nevermind.
<colemickens> gchristensen: pong
<gchristensen> colemickens: what is the status on https://github.com/NixOS/nixpkgs/pull/56199 and https://github.com/NixOS/nixpkgs/pull/56261 and https://github.com/NixOS/nixpkgs/pull/57773 (needing to go to staging)
<{^_^}> #56199 (by eadwu, 17 weeks ago, open): mesa: build with meson
<{^_^}> #56261 (by eadwu, 17 weeks ago, open): mesa: extract stubs
<{^_^}> #57773 (by colemickens, 14 weeks ago, open): libdrm: build with meson
<gchristensen> should we merge them? :P
Swant has quit [Ping timeout: 608 seconds]
<colemickens> I have run Sway for weeks with those without issue, gnome-shell for almost 2 weeks without issue (or at least, not related to mesa/graphics). I think they're more than ready to go to staging.
<gchristensen> ok cool
<gchristensen> can you re-point 57773 to staging?
<colemickens> Will do in the next couple hours. L
<gchristensen> thank you :)
<gchristensen> then I suppose let's merge
MmeQuignon has quit [Read error: Connection reset by peer]
appleclusters has quit [Quit: Connection closed for inactivity]
<philipp[m]> Thanks! I really appreciate your efforts.
npmccallum has quit [Quit: npmccallum]
MmeQuignon has joined #nixos
qqlq has joined #nixos
stepcut has joined #nixos
stepcut_ has quit [Ping timeout: 258 seconds]
leotaku has quit [Quit: ZNC 1.7.3 - https://znc.in]
jtojnar has joined #nixos
leotaku has joined #nixos
npmccallum_ has joined #nixos
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
Swant has joined #nixos
MmeQuignon has quit [Ping timeout: 244 seconds]
MmeQuignon has joined #nixos
<{^_^}> [nixpkgs] @JohnAZoidberg opened pull request #63825 → gnome3.gnome-user-docs: Add meta attributes → https://git.io/fjrbH
furrycatherder has joined #nixos
jabranham has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
englishm has quit [Excess Flood]
englishm has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
zupo has joined #nixos
dontobey has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
linarcx has quit [Ping timeout: 246 seconds]
dontobey has joined #nixos
o1lo01ol1o has quit [Ping timeout: 248 seconds]
ddellacosta has joined #nixos
Jackneill has joined #nixos
furrycatherder has quit [Ping timeout: 252 seconds]
leotaku has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @acairncross opened pull request #63827 → monosat: Fix Linux build → https://git.io/fjrN4
ericnoan has quit [Ping timeout: 245 seconds]
ericnoan has joined #nixos
o1lo01ol1o has joined #nixos
leotaku has joined #nixos
semilattice has joined #nixos
<{^_^}> [nixpkgs] @primeos pushed to master « signal-desktop: 1.25.1 -> 1.25.2 »: https://git.io/fjrNE
ddellacosta has quit [Ping timeout: 268 seconds]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @primeos opened pull request #63828 → [19.03] signal-desktop: 1.25.1 -> 1.25.2 (backport) → https://git.io/fjrNg
<{^_^}> [nixpkgs] @alyssais merged pull request #61385 → kakoune: support for adding plugins → https://git.io/fjWsQ
<{^_^}> [nixpkgs] @alyssais pushed 2 commits to master: https://git.io/fjrN2
<{^_^}> [nixpkgs] @danbst merged pull request #63689 → asciidoctor: add rouge to dependencies → https://git.io/fjw6H
<{^_^}> [nixpkgs] @danbst pushed 3 commits to master: https://git.io/fjrNr
justbeingglad has joined #nixos
justbeingglad has left #nixos [#nixos]
knupfer has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
Thra11 has joined #nixos
o1lo01ol1o has quit [Ping timeout: 252 seconds]
Guest23846 has quit [Quit: WeeChat 2.4]
otulp has quit [Remote host closed the connection]
otulp has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #56261 → mesa: extract stubs → https://git.io/fhbq7
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/fjrAU
<Mic92> Izorkin: what a laundry list :)
semilattice has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
stepcut_ has joined #nixos
stepcut has quit [Ping timeout: 248 seconds]
npmccallum_ has quit [Quit: npmccallum_]
Thra11 has quit [Quit: WeeChat 1.9.1]
<{^_^}> [nixpkgs] @Mic92 merged pull request #63819 → netdata: 1.11.1 -> 1.15.0 → https://git.io/fjrdq
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjrAI
zupo has quit [Ping timeout: 272 seconds]
wfranzini has quit [Remote host closed the connection]
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos
Ariakenom has quit [Quit: Leaving]
jackdk has joined #nixos
Athas has quit [Ping timeout: 252 seconds]
mexisme has joined #nixos
Athas has joined #nixos
dontobey has quit [Ping timeout: 250 seconds]
dontobey has joined #nixos
jtojnar has quit [Quit: jtojnar]
furrycatherder has joined #nixos
fendor has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos
arjen-jonathan has quit [Ping timeout: 252 seconds]
spacewalker has joined #nixos
o1lo01ol1o has joined #nixos
<nh2> I'm trying to backport a nix fix to 2.0.4 but get `boost/coroutine2/coroutine.hpp: No such file or directory`. How should I add this dependency? I also don't get why it works on nix master because boost doesn't seem to be referenced accordingly in release.nix
dontobey has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @sikmir opened pull request #63830 → qmapshack: 1.12.3 -> 1.13.0 → https://git.io/fjrAR
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
dontobey has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63788 → timetable: init at 1.0.6 → https://git.io/fjra9
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjrAg
__monty__ has quit [Quit: leaving]
<{^_^}> [nix-mode] @matthewbauer pushed to fix-84 « Fix handling of keywords in identifiers »: https://git.io/fjrAH
<{^_^}> [nix-mode] @matthewbauer opened pull request #85 → Fix handling of keywords in identifiers → https://git.io/fjrAQ
spacewalker has quit [Ping timeout: 252 seconds]
<kisik21> what is keys group (gid 96) used for?
<kisik21> can I assign SSL key read access to this group safely?
<kisik21> or should I create my own "ssl" group? which gids are safely assignable for system groups?
o1lo01ol1o has quit [Remote host closed the connection]
<colemickens> gchristensen: rebased/repointed. thanks for pushing on this one :)
o1lo01ol1o has joined #nixos
andrewrk has joined #nixos
<andrewrk> howdy, if an application that I'm building wants to do -lGL, what is the nixos package that provides that?
<symphorien> ,locate libGL.so
<{^_^}> Found in packages: libglvnd, primusLib, libGLU_combined
<andrewrk> symphorien, thanks, libglvnd worked
Jackneill has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
peter has joined #nixos
peter is now known as Guest42631
Guest42631 has quit [Client Quit]
Cale has quit [Ping timeout: 276 seconds]
mq32 has quit [Ping timeout: 264 seconds]
srid6390803 has quit [Quit: The Lounge - https://thelounge.chat]
rfold has quit [Ping timeout: 252 seconds]
srid6390803 has joined #nixos
dvim has quit [Ping timeout: 246 seconds]
ddellacosta has joined #nixos
mq32 has joined #nixos
timon37 has quit []
Cale has joined #nixos
<{^_^}> [nixpkgs] @luaduck opened pull request #63833 → linux_rpi: Update version to 20190620 / 4.19.50 → https://git.io/fjrxy
adamantium has joined #nixos
johnny101 has joined #nixos
shibboleth has joined #nixos
erasmas has quit [Quit: leaving]
<pie_> clever, lol sigh more luks device problems again
<pie_> i physically removed a device before unmounting the luks partition (i was in a hurry but i did a sync, "its fine right?", dont think i actually did anything important meanwhile0
<pie_> now i cant unmount the luks
<pie_> lsof shows nothing with it open
andrewrk has left #nixos ["Leaving"]
<colemickens> can't unmount = ?
<colemickens> did you luksClose it?
<pie_> derp, its probably that i didnt export the zpool again
<gchristensen> colemickens: https://github.com/NixOS/nixpkgs/pull/56199 shall I?
<{^_^}> #56199 (by eadwu, 17 weeks ago, open): mesa: build with meson
<pie_> except i cant export the zpool since and io operations are probably going to hang, and it doesnt even make sense, since the device isnt there
<pie_> colemickens, thats what im trying to do
<colemickens> gchristensen: yes please
<pie_> hmm zfs lists the disk as suspended
<gchristensen> oh no merge conflict
<colemickens> pie__, oops, in that case, weird!
<colemickens> even after I actually pushed the update? :(
<colemickens> oh that's the mesa one still, never mind
<gchristensen> colemickens: https://github.com/NixOS/nixpkgs/pull/57773 shall I?
<{^_^}> #57773 (by colemickens, 14 weeks ago, open): libdrm: build with meson
m0rphism has quit [Ping timeout: 268 seconds]
<colemickens> poor eadwu, rebasing it so many times :)
Ridout has joined #nixos
<gchristensen> going to wait for ofborg to finish on that one.
* colemickens nods
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<gchristensen> sheesh I can't use the github UI to commit the fix without merging to staging at the same tim
<{^_^}> [nixpkgs] @luaduck opened pull request #63835 → raspberrypi-firmware: Update version to 1.20190620+1 → https://git.io/fjrxd
domogled has quit [Ping timeout: 272 seconds]
ggp0647 has quit [Quit: ZNC - https://znc.in]
ggp0647 has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
* colemickens hands in the air
mexisme has joined #nixos
<gchristensen> oh ofborg finished
<{^_^}> [nixpkgs] @grahamc merged pull request #57773 → libdrm: build with meson → https://git.io/fjvGw
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to staging: https://git.io/fjrxA
o1lo01ol1o has joined #nixos
alex`` has quit [Ping timeout: 248 seconds]
<wildtrees> can I allowBroken just inside certain packages?
<pie_> clever, zfs is cool https://bpaste.net/show/d81d1c339287
rprije has joined #nixos
o1lo01ol1o has quit [Ping timeout: 246 seconds]
<clever> pie_: nice
anttih_ has quit [Quit: Connection closed for inactivity]
joepie91 has quit [Quit: Konversation terminated!]
joepie91___ has joined #nixos
joepie91___ has joined #nixos
joepie91___ has quit [Changing host]
xkapastel has quit [Quit: Connection closed for inactivity]
mexisme has quit [Ping timeout: 272 seconds]
joepie91___ is now known as joepie91
mexisme has joined #nixos
Guest42631 has joined #nixos
Guest42631 is now known as peter
peter is now known as Guest1603
Guest1603 has quit [Client Quit]
jluttine has quit [Ping timeout: 248 seconds]
Ralith_ has quit [Read error: Connection reset by peer]
day|flip has joined #nixos
<{^_^}> [nixpkgs] @grahamc merged pull request #56199 → mesa: build with meson → https://git.io/fjrpN
<{^_^}> [nixpkgs] @grahamc pushed 3 commits to staging: https://git.io/fjrpA
<gchristensen> colemickens: ^
<gchristensen> thanks for the sanity checks
jluttine has joined #nixos
<colemickens> np, thanks for merging
mbrgm_ has joined #nixos
jtojnar has quit [Remote host closed the connection]
mbrgm has quit [Ping timeout: 258 seconds]
mbrgm_ is now known as mbrgm
<day|flip> is there a way I can restart a service as computer booting up?
<day|flip> or maybe delay it as the last service to start?
<colemickens> XY problem, what are you really tring to do?
daGrevis has quit [Quit: daGrevis]
<day|flip> will the problem is wpa_supplicant does not connect the frist time as it boot. since connman need it running. it just does not fully start
daGrevis has joined #nixos
<colemickens> I'm not really sure how wpa_supplicant and connman are expected to interact in NixOS currently, but generally, Systemd has facilites for making services wait on one another.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0e405474d13 (from 4 days ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<day|flip> wpa_supplicant start. but connman cant connect. untill i restart wpa_supplicant
Ralith_ has joined #nixos
<clever> day|flip: you want to make one of the services require the other
<day|flip> it look like wpa_supplicant not starting
<clever> day|flip: `journalctl -u wpa_supplicant -b 0` ?
<clever> day|flip: what is the actual error your seeing?
<clever> day|flip: looks like it started normally, and was restarted a few times
<day|flip> no. i don't think so. since i have to manual restarted
<clever> day|flip: how does that compare to the timestamps in `journalctl -u connman -b 0` ?
<clever> it started both connman and wpa_supplicant at exactly 17:17:57
<clever> and i dont see any errors from either end
<day|flip> then why is it im have to manual restart wpa supplicant to get my wifi to popup?
<clever> day|flip: i would investigate what is wrong, without restarting it, to see why its broken
<clever> day|flip: check the status in `wpa_cli`, check `iwconfig`
<day|flip> so restart computer with before and after?
<clever> yeah, restart it, and then investigate what is broken
<day|flip> with the same two command for wpa and connman?
<clever> `iwconfig` will show the status of all wireless cards`
<clever> `wpa_cli` will open a repl, where you can query wpa directly, with things like status
alex`` has joined #nixos
<day|flip> with no restart on the service. I get: wland0 IEEE 802.11 ESSID:off/any. power managemnt:on
<day|flip> iwconfig