worldofpeace 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/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018 || For best support,
wormwood has quit [Ping timeout: 240 seconds]
epta has quit [Quit: WeeChat 2.0]
jluttine has joined #nixos
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
Havvy has quit [Read error: Connection reset by peer]
shibboleth has quit [Quit: shibboleth]
evanjs has joined #nixos
nixtacular has joined #nixos
jluttine has quit [Ping timeout: 268 seconds]
<nixtacular> i'm trying to set up neovim using home-manager (my question is *not* specific to home-manager) and i'm confused about how to install the coc.nvim plugin. i see lots of coc extensions like `coc-tslint`, `coc-go`, etc. in https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/vim-plugin-names, but I don't actually see the main `coc.nvim`
<nixtacular> package
<nixtacular> i believe that i can still use Pathogen to install `coc.nvim`, but this seems weird since all these coc extensions are available through Nixpkgs
<nixtacular> so what is "correct" way to install `coc.nvim` in Nix?
ris has quit [Ping timeout: 258 seconds]
mmlb has quit [Quit: Ping timeout (120 seconds)]
<hpfr[m]> Is it possible to delete the latest nixos generation if I boot into the previous one
<_pash> nixtacular: read the installation section of the coc.nvim github page
<_pash> Install nodejs and yarn via nix-env or put them in /etc/nixos/configuration.nix
<_pash> sudo nixos-rebuild switch
<_pash> Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}
<_pash> Don't forget to put: set shell=/bin/sh in your init.vim.
<hpfr[m]> I’m getting an error trying to delete even though /run/*system point to the previous gen I have booted
<nixtacular> _pash: yes, i saw that page. as i mentioned, I know that I can use Pathogen (or vim plug or whatever), but is this the best way to do it? if i'm supposed to use a vim package manager, why then does Nixpkgs have `coc-tsserver`, `coc-go`, etc.?
<nixtacular> doesn't it seem a bit odd to anyone else...? am i missing something...?
selfsymmetric-mu has joined #nixos
<_pash> nixtacular: that's the way that the maintainer of coc.nvim suggests to do it... so I trust that. You can also let nix manage your vim extensions, and hence nixpkgs will have those plugins that you mention
fling has joined #nixos
<nixtacular> _pash: hmm alright, perhaps i will try my hand at packaging `coc.nvim`. seems very strange to me that i can let Nix manage my Coc plugins but there's no way to let Nix manage Coc itself.
Havvy has joined #nixos
<_pash> nixtacular: nixos.vimPlugins.coc-nvim
Havvy has quit [Client Quit]
<hpfr[m]> Oh, /nix/var/nix/profiles/system still points to the latest version. What is the nix way to point it to the previous?
<nixtacular> _pash: wow, that worked! thank you! but why isn't it listed in https://github.com/NixOS/nixpkgs/blob/master/pkgs/misc/vim-plugins/vim-plugin-names ?
<nixtacular> i thought that was the master list
<mightybyte> Anyone have any idea why I might not be getting something from a cache.
<_pash> nixtacular: `nix search` will be your best friend
<mightybyte> I took the exact store path that nix is building and did a nix-copy-closure to my cache. But it's still not being picked up.
<hpfr[m]> Can I just use ln to change where /nix/var/nix/profiles/system points or will that break things
johnnyfive has quit [Ping timeout: 268 seconds]
<mightybyte> I'm 99% sure it is seeing the cache because I retrieved other things from it.
jluttine has joined #nixos
m0rphism has quit [Ping timeout: 265 seconds]
<hpfr[m]> Found it nixos-rebuild switch —rollback
<hpfr[m]> mightybyte: you know it’s the exact derivation in the cache
<hpfr[m]> And not the same package but a different derivation (patched, old version, etc)
abathur has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je0QW
<nixtacular> _pash: good advice :-). also, it appears that it was removed from that list in the run up to 19.09 and handled in a separate expression for Vim plugin overrides
<nixtacular> thanks for your help, _pash
ntqz has quit []
<mightybyte> hpfr[m]: I did a copy closure on the store path.
<mightybyte> The hashes match exactly
toppler has quit [Ping timeout: 240 seconds]
<hpfr[m]> mightybyte: huh, idk then sorry
mmlb has joined #nixos
wildtrees has quit [Quit: Leaving]
_pash has quit [Ping timeout: 268 seconds]
toppler has joined #nixos
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
_pash has joined #nixos
<_pash> nixtacular: maybe you could help me too
alexherbo2 has joined #nixos
strobelight has quit [Ping timeout: 245 seconds]
<nixtacular> _pash: sure thing. i'm new, but i can try :-)
Rusty1 has joined #nixos
<_pash> so say you went to do nix-channel --add nixos https://.../nixos-unstable
<_pash> now whatever you install with nixos rebuild switch or nix-env should come from there
<_pash> now say there is a broken package that doesnt build... if youve never built it before and you can't rollback what can you do?
mmlb has quit [Ping timeout: 268 seconds]
rotaerk has quit [Ping timeout: 240 seconds]
<nixtacular> _pash: i haven't encountered this problem before, but if i were to guess, i would say that you need to find a way to refer to the Nix expression on the stable channel. for example, perhaps you could do `nix-channel --add nixos-stable https://.../nixos-stable` and use that somehow just to build that particular package
<DigitalKiwi> let me find a link
<nixtacular> yeah i think you could add that channel and then do something like `nix-env -iA nixos-stable.my-package`
<_pash> thanks both, will take a look.
<_pash> right now i am using `nix-env -f '<nixpkgs>' -iA myPackages`
<DigitalKiwi> i have a bunch of channels and then in my configuratoin.nix i import them and i can do stuff like nixos-1909.program in the systemPackages
<_pash> as i have defined a myPackages package override
lunik1213 has quit [Read error: Connection reset by peer]
<_pash> DigitalKiwi: those channels are defined through `sudo nix-channel`?
<DigitalKiwi> yes
lunik1213 has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 31 commits to nixos-unstable-small: https://git.io/Je0Qu
<nixtacular> i g2g. good luck, _pash!
<_pash> nixtacular: thanks
nixtacular has quit [Remote host closed the connection]
<_pash> DigitalKiwi: so now i have a package override in .config/nixpkgs, how does nix know to look there?
infinisil has quit [Quit: Configuring ZNC, sorry for the joins/quits!]
infinisil has joined #nixos
szicari has quit [Ping timeout: 252 seconds]
<DigitalKiwi> I import that and I can do as I said above
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/34204f8e1f9 (from 88 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
szicari has joined #nixos
<lunik1213> Does anybody use chromium with the vaapi patches? it currently won't build for me on 19.09
<DigitalKiwi> there are other ways of doing it too i've liked this one
<DigitalKiwi> https://gist.github.com/Kiwi/ad860df1e68b6fb72195fd24bbf6ee66 and i have this that makes nixos-rebuild --upgrade update all channels
<DigitalKiwi> otherwise i forget :<
jluttine has quit [Ping timeout: 240 seconds]
<_pash> DigitalKiwi: selfsymmetric-mu: thanks, that's helpful will take a look
<_pash> selfsymmetric-mu: i've seen that way before
<_pash> i couldn't figure out what that does in someone elses config
ng0 has quit [Quit: Alexa, when is the end of world?]
<ashkitten> i keep getting `device (enp4s0): failure to start DHCPv6: failed to start client: Address already in use` in my networkmanager logs
<ashkitten> i don't really get why
foldingcookie has quit [Remote host closed the connection]
<ashkitten> upgraded to latest nixos-unstable and rebooted and it works now...
johnnyfive has joined #nixos
mmlb has joined #nixos
szicari has quit [Ping timeout: 276 seconds]
mmlb has quit [Ping timeout: 240 seconds]
szicari has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
myskran has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #71956 → libogg: fix build on darwin → https://git.io/Je0QX
toppler has joined #nixos
myskran has quit [Ping timeout: 240 seconds]
<inkbottle> With hello-2.10.tar.gz, in nix pill 09, nix-build manages with simply "tar -xf $src". Why so? And why do they use "tar -zxf $src" instead in nix pill 10?
<hpfr[m]> If Firefox was moved to 70 three days ago and nixpkgs-unstable has commits from yesterday, why is the latest Firefox 69?
jluttine has joined #nixos
hpfr has joined #nixos
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #71957 → librecad: fix missing app name and icon on Wayland → https://git.io/Je0QH
<{^_^}> [nixpkgs] @jonringer merged pull request #71925 → tmate: 2.3.0 -> 2.3.1 → https://git.io/Je0X7
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tmate: 2.3.0 -> 2.3.1 »: https://git.io/Je0QQ
hpfr has quit [Remote host closed the connection]
hpfr has joined #nixos
MmeQuignon has quit [Ping timeout: 240 seconds]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
<inkbottle> I was *really* expecting that the files created during a "nix-shell" session, would be removed (in a functional sort of way), when I exited the nix-shell
<inkbottle> But that was not the case
rotaerk has joined #nixos
<inkbottle> I'm wondering if there is something else that would "clean the slate when we exit"
rotaerk has quit [Ping timeout: 250 seconds]
<DigitalKiwi> hpfr[m]: i'm not sure but it looks like the firefox got merged into staging and the revision hydra builds is from master?
<DigitalKiwi> hm this is the one i looked at https://github.com/NixOS/nixpkgs/pull/71580
<{^_^}> #71580 (by andir, 3 days ago, merged): firefox 70
maralorn has quit [Quit: WeeChat 2.6]
<{^_^}> [nixpkgs] @jonringer merged pull request #71898 → git-backup: init at 0.2.0 → https://git.io/Je0wK
<{^_^}> [nixpkgs] @jonringer pushed commit from @marsam to master « git-backup: init at 0.2.0 »: https://git.io/Je07v
maralorn has joined #nixos
<{^_^}> [nixpkgs] @pradyuman closed pull request #66733 → postmark-cli: init in node-packages → https://git.io/fjdDN
<{^_^}> [nixpkgs] @jonringer merged pull request #71889 → protobuf: add version 3.10 → https://git.io/Je0uR
<{^_^}> [nixpkgs] @jonringer pushed commit from @stites to master « protobuf: add 3.10 »: https://git.io/Je07f
jlm66_ has joined #nixos
<hpfr> DigitalKiwi: oh, I see, that has commits for deps as well. but how could the package be changed to 70 in master if those are still in staging?
<DigitalKiwi> the commit date isn't necessarily the date it is actually merged
<DigitalKiwi> so maybe that's it
<DigitalKiwi> otherwise idk
toppler has quit [Ping timeout: 268 seconds]
<DigitalKiwi> hpfr: like here https://github.com/NixOS/nixpkgs/search?q=ocrmypdf&type=Commits i'd been working on it longer than since march too...but that's when the init commit shows, but it wasn't merged until august
drakonis has joined #nixos
<hpfr> DigitalKiwi: but the commit I linked was directly to master
toppler has joined #nixos
<DigitalKiwi> idk
<DigitalKiwi> maybe it hasn't built yet?
<DigitalKiwi> wait earlier you said nixpkgs-unstable did you mean nixos-unstable or nixpkgs-unstable
qubasa_ has joined #nixos
qubasa has quit [Ping timeout: 268 seconds]
<DigitalKiwi> nixpkgs-unstable is a commit from 8 days ago
<hpfr> DigitalKiwi: i meant nixos-unstable, my bad
_pash has quit [Quit: leaving]
_pash has joined #nixos
<hpfr> unrelated, but i thought nixpkgs-unstable was just master, why would it be behind nixos-unstable
_pash has quit [Client Quit]
callahad has quit [Ping timeout: 265 seconds]
hpfr has quit [Remote host closed the connection]
* DigitalKiwi wonders if your firefox is in nixos-unstable-small
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
Heirlung has joined #nixos
<{^_^}> [nixpkgs] @pradyuman opened pull request #71958 → google-cloud-sdk: 255.0.0 -> 268.0.0 → https://git.io/Je07O
<{^_^}> [nixpkgs] @marsam opened pull request #71959 → libglvnd: fix build on darwin → https://git.io/Je073
cptchaos83 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cptchaos83 has joined #nixos
jonringer has joined #nixos
callahad has joined #nixos
nixnothing has quit [Ping timeout: 276 seconds]
nixnothing has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @ryantm merged pull request #71930 → toybox: 0.8.1 -> 0.8.2 → https://git.io/Je01H
<{^_^}> [nixpkgs] @ryantm pushed 2 commits to master: https://git.io/Je07C
rotaerk has joined #nixos
suzu has quit [Quit: WeeChat 1.4]
toppler has joined #nixos
<{^_^}> [nixpkgs] @Ralith opened pull request #71960 → renderdoc: fix build for new qt infrastructure → https://git.io/Je070
rotaerk has quit [Ping timeout: 250 seconds]
felixfoertsch23 has joined #nixos
<{^_^}> [nixpkgs] @Ralith opened pull request #71961 → renderdoc: fix build for new qt infrastructure → https://git.io/Je07g
felixfoertsch has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer opened pull request #71962 → pythonPackages.pydocumentdb: fix build → https://git.io/Je076
orivej has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pbb has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #71936 → xl2tpd: 1.3.14 -> 1.3.15 → https://git.io/Je0MF
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « xl2tpd: 1.3.14 -> 1.3.15 »: https://git.io/Je07X
Hedgework has quit [Quit: ZNC - http://znc.in]
ee194350 has quit [Ping timeout: 240 seconds]
ee194350 has joined #nixos
spacefrogg has quit [Quit: Gone.]
aw_ has quit [Quit: Quitting.]
aw has joined #nixos
spacefrogg has joined #nixos
toppler has quit [Ping timeout: 276 seconds]
ee194350 has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @jonringer merged pull request #71934 → xlockmore: 5.58 -> 5.59 → https://git.io/Je0MQ
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « xlockmore: 5.58 -> 5.59 »: https://git.io/Je07D
ee194350 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #71945 → xxHash: 0.7.1 -> 0.7.2 → https://git.io/Je0yh
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « xxHash: 0.7.1 -> 0.7.2 »: https://git.io/Je07y
<{^_^}> [nixpkgs] @jonringer merged pull request #71946 → yarn: 1.19.0 -> 1.19.1 → https://git.io/Je0Sv
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « yarn: 1.19.0 -> 1.19.1 »: https://git.io/Je07S
freeman42x has quit [Ping timeout: 276 seconds]
toppler has joined #nixos
nixnothing has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jonringer merged pull request #71928 → tintin: 2.01.90 -> 2.01.91 → https://git.io/Je01l
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tintin: 2.01.90 -> 2.01.91 »: https://git.io/Je07H
myskran has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #71927 → tiled: 1.2.4 -> 1.2.5 → https://git.io/Je01m
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to master « tiled: 1.2.4 -> 1.2.5 »: https://git.io/Je077
myskran has quit [Ping timeout: 240 seconds]
rotaerk has joined #nixos
rotaerk has quit [Ping timeout: 240 seconds]
mexisme has quit [Ping timeout: 240 seconds]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
iqubic has joined #nixos
foldingcookie has joined #nixos
lord| has quit [Ping timeout: 265 seconds]
<iqubic> I would like to disable DPMS on NixOS. What's the best way to do that?
<{^_^}> [nixpkgs] @dtzWill opened pull request #71963 → Address nextcloud "urgent security issue" w/nginx per upstream recs → https://git.io/Je05k
lord| has joined #nixos
ajs124 has quit [Quit: Gateway shutdown]
toppler has quit [Ping timeout: 264 seconds]
jlm66_ has quit [Remote host closed the connection]
<wedens[m]> iqubic: first option: https://paste.ee/p/Mo1eM
<wedens[m]> iqubic: second option is to use `xset dpms 0 0 0` in, e.g. `services.xserver.displayManager.sessionCommands`
toppler has joined #nixos
<iqubic> I'll try that.
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
<iqubic> Do I need to restart the X server for that to take effect?
rotaerk has joined #nixos
<{^_^}> [nixpkgs] @arthurl opened pull request #71964 → wt: Allow optional library harfbuzz to be overriden with null → https://git.io/Je05L
<ivan> iqubic: no
<{^_^}> [nixpkgs] @teto merged pull request #71891 → vimPlugins.vader-vim: init at 2019-05-18 → https://git.io/Je0zD
<{^_^}> [nixpkgs] @teto pushed commit from @chkno to master « vimPlugins.vader-vim: init at 2019-05-18 »: https://git.io/Je05m
<iqubic> So, I can't get this to work at all. "error: syntax error, unexpected $undefined, at /etc/nixos/configuration.nix:181:25 (use '--show-trace' to show detailed location information)"
<iqubic> Here's my configuration.nix that I'm trying to build. https://termbin.com/4w70
mexisme has joined #nixos
<wedens[m]> iqubic: it's not a valid Nix syntax. single line string is enclosed in double quotes.
<wedens[m]> also `${pkgs.xorg.xset}/bin/xset`
<hpfr[m]> I use a patched libwacom adding support for my laptop. The patches are all simple additions that should change effectively nothing from a dependent’s perspective. However, libinput depends on libwacom, and qt depends on libinput, so I have to do a ton of rebuilds whenever any of these update. How can I force the cached libinput?
<wedens[m]> hpfr: you'll need to use libinput with cached libwacom to avoid building libinput when libwacom changes
<teto> is it normal for `(linux.overrideAttrs (oa: {})).features` to fail ? linux.features works fine
<{^_^}> [nixpkgs] @jonringer merged pull request #71929 → vim: 8.1.1967 -> 8.1.2188 → https://git.io/Je01i
<hpfr[m]> wedens: so the patches will only take effect where libwacom is a runtime dependency then?
<{^_^}> [nixpkgs] @jonringer pushed commit from @r-ryantm to staging « vim: 8.1.1967 -> 8.1.2188 »: https://git.io/Je05Z
<{^_^}> [nixpkgs] @jonringer merged pull request #71954 → add more vim plugins and update → https://git.io/Je0Hq
<{^_^}> [nixpkgs] @jonringer pushed 8 commits to master: https://git.io/Je05n
<wedens[m]> hpfr: they won't have any effect in libinput if you build libinput with libwacom without patches. I'm not sure what you're trying to achieve, tbh
growpotkin has quit [Quit: ZNC 1.7.5 - https://znc.in]
<hpfr[m]> wedens: I’m trying to use a patched version of libwacom that recognizes the Surface digitizer, without having to build qt and practically everything that starts with k locally
<wedens[m]> do you need libinput with patched libwacom in qt?
<hpfr[m]> I think so? I’m not sure where build ends and runtime begins but they must be listed as build dependencies
<hpfr[m]> I used to use arch on this machine with a patched libwacom though, so I’m guessing the build dependencies mean little at least for these patches
<hpfr[m]> Because everything worked with a drop in patched libwacom and everything else from Pac-Man
<hpfr[m]> Pacman * mobile
<wedens[m]> well, that's just how nix works. if input changes, it rebuilds
<hpfr[m]> I understand that, but clever said I might be able to do something about this a few days ago so I thought there might be something I could do
<hpfr[m]> I’ll try to find it in the logs
<wedens[m]> perhaps there are some unsafe tricks to do that, but I'm not aware of them
hpfr has joined #nixos
<wedens[m]> essentially, you want to tell Nix "hey, I've patched libwacom, but let's pretend it's the same derivation as unpatched libwacom" :/
rotaerk has quit [Ping timeout: 268 seconds]
toppler has quit [Ping timeout: 246 seconds]
mexisme has quit [Ping timeout: 265 seconds]
<hpfr> wedens[m]: clever said "hpfr[m]: you could try to make the override only apply to xorg, or you could PR the fix to nixpkgs, so hydra.nixos.org builds things for you"
<hpfr> it's the only apply to xorg
<hpfr> I guess my question was poor
<hpfr> I meant how can I make a package override only apply to certain dependents
<hpfr> which is probably much more commonplace
toppler has joined #nixos
<wedens[m]> `nixpkgs.overlays = [ (self: super: { xf86inputlibinput = super.xf86inputlibinput.override { libinput = patched_libinput; }) ];
endformationage has quit [Ping timeout: 268 seconds]
<wedens[m]> `nixpkgs.overlays = [ (self: super: { xorg = super.xorg // { xf86inputlibinput = super.xorg.xf86inputlibinput.override { libinput = patched_libinput; } }) ];`
<{^_^}> [nixpkgs] @worldofpeace pushed to master « mate.mate-settings-daemon: fix build »: https://git.io/Je05R
leo_ has quit [Quit: leaving]
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<hpfr> wedens[m]: thank you, and then i'm assuming i would do one of the same format for patched_libinput to take the patched libwacom, but how do I make new derivations for patched libinput and patched libwacom to live alongside the unpatched counterparts? just copy the entire derivations? or is there some kind of overlay for that case as well?
<wedens[m]> add to the same overlay `patched_libinput = super.libinput.override { libwacom = super.libwacom.overrideAttrs (oldAttrs: rec { patches = oldAttrs.patches or [] ++ [ ./my.patch ]; }); };`
Rusty1 has quit [Quit: Konversation terminated!]
<wedens[m]> it'll be `self.patched_libinput` in xf86inputlibinput override
<hpfr[m]> And that will preserve the standard libinput under the libinput identifier in nixpkgs
<wedens[m]> yes
rotaerk has joined #nixos
<wedens[m]> it'll use libinput with patched libwacom only for xf86inputlibinput
<{^_^}> [nixpkgs] @worldofpeace pushed to master « lollypop: 1.1.4.16 -> 1.2.1 »: https://git.io/Je05r
<{^_^}> [nixpkgs] @jonringer merged pull request #71962 → pythonPackages.pydocumentdb: fix build → https://git.io/Je076
<{^_^}> [nixpkgs] @jonringer pushed to master « pythonPackages.pydocumentdb: fix build »: https://git.io/Je05o
ddellacosta has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jonringer pushed 410 commits to python-unstable: https://git.io/Je05K
<hpfr[m]> wedens: thank you, I’ll see if this works soon
noudle has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @jonringer pushed 485 commits to python-unstable: https://git.io/Je05X
Okinan has quit [Quit: Konversation terminated!]
abathur has quit [Ping timeout: 240 seconds]
<hpfr[m]> Do you understand how qtbase, etc uses libinput as a build dependency? I’m trying to determine how the xorg only override system would work with the standard builds of qt, etc but I don’t know enough about the Linux ecosystem to guess
kleisli has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Quit: Ping timeout (120 seconds)]
<{^_^}> [nixpkgs] @jluttine opened pull request #71965 → pythonPackages.holidays: init at 0.9.11 → https://git.io/Je05M
alexherbo2 has joined #nixos
v0|d has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 20 commits to nixos-unstable-small: https://git.io/Je05y
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/98d18288519 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
toppler has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
Fare has joined #nixos
pop[m]2 has joined #nixos
lordcirth__ has joined #nixos
lordcirth_ has quit [Read error: Connection reset by peer]
ToxicFrog has quit [Ping timeout: 246 seconds]
ToxicFrog has joined #nixos
MatejC has joined #nixos
MatejC has quit [Client Quit]
noudle has quit []
logzet has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71938 → lizardfs: use spdlog from nixpkgs → https://git.io/Je0Dz
<{^_^}> [nixpkgs] @c0bw3b pushed to master « lizardfs: use spdlog from nixpkgs (#71938) »: https://git.io/Je0d3
toppler has quit [Ping timeout: 252 seconds]
palo1 has joined #nixos
<{^_^}> [nixpkgs] @jonringer merged pull request #71965 → pythonPackages.holidays: init at 0.9.11 → https://git.io/Je05M
<{^_^}> [nixpkgs] @jonringer pushed commit from @jluttine to master « pythonPackages.holidays: init at 0.9.11 »: https://git.io/Je0dG
palo has quit [Ping timeout: 250 seconds]
palo1 is now known as palo
toppler has joined #nixos
<DigitalKiwi> hpfr[m]: if you ever figure out the firefox thing please let me know because now i'm curious
<aanderse> yawn
<DigitalKiwi> well sorry my curiosity is so boring :(
<aanderse> 2am and i just woke up -_-
<DigitalKiwi> :)
<aanderse> alarm wasn't set to go off for another hour :\
Fare has quit [Ping timeout: 245 seconds]
kvda has joined #nixos
<ShaRose> TIL no link-detect is really nice in quagga configs for bridges that may not have devices connected to them (so that quagga will actually, you know, advertise them)
<l33[m]> L2 bridges..... i fear them
<ShaRose> I use them for vms
<ShaRose> and it's nice to have a route still in the table even without any VMs running at the moment
<l33[m]> How to make one machine network have the complexity of the entire network
<l33[m]> I know .... vms
<ShaRose> or if you are doing really dumb shit like I do here https://github.com/ShaRose/themelios-rosenet/blob/master/modules/dnsdist.nix
<l33[m]> Im on mobile so cant check dis current
<l33[m]> :-)
octe has quit [Ping timeout: 240 seconds]
<ShaRose> tl;dr create a bridge, set a /32 address, set up dnsdist to listen on that IP
<ShaRose> wasn't able to figure out a more sane way to add a loopback address
<l33[m]> Hey of your doing dumb shit ,we should team up . Im as dumb as they come
<ShaRose> then you should check out my nix config, I do the dumbest shit
<l33[m]> I work for an organisation where im not allowed to mention ipv4
<ShaRose> I *route* docker and qemu subnets.
bahamas has joined #nixos
<l33[m]> I can confirm lib virt works well on nixos
Ariakenom has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<bahamas> hello. I have a NixOS box on Vultr and I'm now trying to build the entire system locally, inside a NixOS VM. however, I get this error: "error: a 'x86_64-linux' with features {kvm} is required to build '/nix/store/dpvbljlw76gzzvvzp3bczi15n0ljiilb-nixos-boot-disk.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, nixos-test}" is there a way to get around it?
xd1le has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #71912 → sysstat: 12.1.5 -> 12.1.7 → https://git.io/Je0iM
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to staging: https://git.io/Je0d2
hyper_ch2 has joined #nixos
<hpfr[m]> DigitalKiwi: I’m no nix expert so I’m afraid it’s a mystery until someone else takes a look
<jackdk> bahamas: why are you building inside a vm? What is the host OS?
<{^_^}> [nixpkgs] @aanderse merged pull request #71949 → perlPackages.ack: v3.1.2 -> v3.1.3 → https://git.io/Je0Sl
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Je0dw
b1000101 has joined #nixos
<hexa-> bkchr: hey, do you think you have time to work on #69460? Avid BT headphones usere here happily awaiting those fixes.
<{^_^}> https://github.com/NixOS/nixpkgs/pull/69460 (by bkchr, 4 weeks ago, open): bluez: 5.50 -> 5.51
<tilpner> bahamas: Few providers allow nested KVM. DigitalOcean is the only one I know
<tilpner> bahamas: You may have to load a kernel module with a special option to allow nesting
<tilpner> e.g. nested=1 for kvm_intel
Tucky has joined #nixos
<bahamas> jackdk: it's MacOS
<tilpner> (Though I'm not sure which host needs nested=1)
<bahamas> tilpner: that means I would build on DigitalOcean, no?
<tilpner> bahamas: If Vultr does not allow nested KVM, and you absolutely need KVM builds, it means you need to find another build server
<jackdk> bahamas: ah. I don't know much about virtualisation. I think your best bet would be looking for ways to turn on kvm in the guest and maybe fiddling with your virtualisation software. I suspect other people here have misread your original question as trying to build inside a vm inside your vultr box
<tilpner> Not necessarily DO, that's just the one I remember to support nested KVM
Heirlung has quit [Quit: ZNC 1.6.5+deb1+deb9u2 - http://znc.in]
<tilpner> I think I tried Vultr too, and it didn't support nesting at the time, though that may have changed
<tilpner> There may be other providers with nesting, and there are providers where nesting is irrelevant because they don't sell VMs to you
Heirlung has joined #nixos
<bahamas> ok, I'll rephrase the issue. I have the Vultr NixOS box where I want to deploy my site for staging/production. locally, I'm developing inside a VirtualBox VM which also has NixOS. now, I'm not sure about the deployment strategy. I tried building the entire system inside the VM, but I got the error above
<bahamas> I could also just build the package locally. that means I would need to copy configuration.nix to the remote box and run nixos-rebuild switch there, right?
<tilpner> bahamas: Do you have virtualisation.useBootLoader enabled?
<bahamas> it means I would also need to copy the service.nix file on the remote box before running nixos-rebuild
Zer0xp has joined #nixos
<bahamas> tilpner: where do I look for that? in the configuration.nix of the VM?
<jackdk> bahamas: I deploy to vultr too, but I have nixos running natively. I do something roughly like http://www.haskellforall.com/2018/08/nixos-in-production.html
<jackdk> bahamas: The expression I build is: `{ nixos ? import <nixpkgs/nixos> }: (nixos { system = "x86_64-linux"; configuration = import ./configuration.nix; }).system`
<tilpner> bahamas: What command are you running that produces the inital error (boot-disk.*)?
b1000101 has quit [Quit: Leaving]
<jackdk> bahamas: I then `nix copy -s --to ssh://root@wherever ./result`, and activate with ssh, by something like `ssh root@wherever "$(readlink ./result)/bin/switch-to-configuration switch"`
<jackdk> bahamas: note the `-s` in `nix copy`; that lets it get most of the system from `cache.nixos.org`. Hopefully that helps you once you get your build VM going
<{^_^}> [nixpkgs] @vbgl merged pull request #71313 → ocamlPackages.ppx_tools: enable at 5.3+4.08.0 for OCaml 4.09 → https://git.io/Je4pt
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/Je0d5
<bahamas> tilpner: nix-build system.nix where system.nix imports configuration.nix which imports hardware-configuration.nix (I copied this from the Vultr box)
<bahamas> for reference, I used this article as a guide https://vaibhavsagar.com/blog/2019/08/22/industrial-strength-deployments/
<jackdk> oh yeah I got a lot out of V's article too
<{^_^}> [nixpkgs] @sevanspowell opened pull request #71967 → polysemy-plugin: fix tests → https://git.io/Je0db
<{^_^}> [nixpkgs] @aanderse opened pull request #71968 → php: 7.2.23 -> 7.2.24, 7.3.10 -> 7.3.11 → https://git.io/Je0dN
<tilpner> bahamas: The error talks about nixos-boot-disk, which is built in virtualisation/qemu-vm.nix. To run this build, a VM is started, which may cause the "I need kvm, but don't have it" error
<tilpner> bahamas: But this is only supposed to happen (according to the comment above) when useBootLoader is enabled
Jackneill has joined #nixos
<tilpner> Something like (below) may work, but that's just a guess because I don't know your config
<tilpner> nix-instantiate system.nix --eval -A config.virtualisation.useBootLoader
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71947 → diffoscope: 126 -> 127 → https://git.io/Je0Sn
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/Je0dA
<bahamas> tilpner: I get this "error: attribute 'useBootLoader' in selection path 'config.virtualisation.useBootLoader' not found"
<bahamas> I'm not using a VM on the Vultr instance, if that's what you thought
<bkchr> <hexa- "Basti: hey, do you think you hav"> Hey, yeah, will take a look. Sorry for the daly
<hexa-> bkchr: awesome \o/
toppler has quit [Ping timeout: 245 seconds]
<tilpner> bahamas: No, but Nix does while building your config
<{^_^}> [nixpkgs] @jluttine closed pull request #54309 → [Help needed] traccar: init at 4.2 → https://git.io/fhE9f
<tilpner> bahamas: AFAICT you are running nix-build on your local VM (not Vultr), which might also not support nesting
<bahamas> tilpner: yes, I'm running nix-build locally inside the VirtualBox VM. so, I'm not married to this solution, but I want to know what alternatives I have
<bahamas> if I build just my package locally, is there a way to create a symlink remotely, which I update every time I copy over the closure of my package?
<tilpner> bahamas: 1. Figure out if and why useBootLoader is set. If it turns out to be by mistake or is otherwise unnecessary, you can eliminate the need for nested KVM
knupfer has joined #nixos
<tilpner> bahamas: 2. Install Nix on any system directly, not inside a VM. I don't know if macOS Nix can do runInLinuxVM, but it might
<tilpner> bahamas: 3. Enabled nested KVM wherever you need it
<{^_^}> [nixpkgs] @jonringer pushed 6 commits to python-unstable: https://git.io/Je0FU
<tilpner> You can probably enable it for your local VM, and probably not on Vultr without switching
toppler has joined #nixos
<tilpner> bahamas: There are different deployment models. You can instantiate on Darwin, push the derivations, build the derivation on your server, and switch to them
<bahamas> tilpner: what does instantiate do?
<tilpner> bahamas: Why are you running a local VM?
<tilpner> bahamas: nix-instatiate turns your system.nix into a list of files that describe how to build it
<{^_^}> [nixpkgs] @vbgl opened pull request #71969 → ocamlPackages.ecaml: init at 0.12.0 → https://git.io/Je0Fk
<tilpner> bahamas: If you copy those files to another system, you can build it there instead of copying configuration.nix (and your other .nix files)
iqubic` has joined #nixos
<tilpner> bahamas: nix-instantiate does not build anything by itself (modulo IFD, ignore this)
<bahamas> tilpner: why am I running a local VM as opposed to just developing in MacOS? I didn't know about runInLinuxVM. I will have to see what that is
<tilpner> bahamas: Yes, you can install Nix on macOS, though I understand Apple brings new problems with each release
* tilpner has never used macOS, so this purely second-hand "knowledge"
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Je0FL
<{^_^}> [nixpkgs] @aanderse merged pull request #71921 → unrar: 5.8.1 -> 5.8.2 → https://git.io/Je0XC
<bahamas> tilpner: my app requires packages that don't build on darwin, like postgis. so I can't develop in MacOS directly
lewo has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 264 seconds]
<tilpner> You should still be able to instantiate a postgis for Linux on macOS
<tilpner> And then you copy the files describing how to build it, to a Linux system, and the Linux system can then build it
lewo has joined #nixos
<bahamas> tilpner: plus, since this is a web app, I want to have services like Postgres or Redis which I also want to manage with nix. hence, having a NixOS box
<tilpner> Are postgres and redis running on virtualbox or vultr?
<bahamas> tilpner: virtualbox
<bahamas> tilpner: I'm describing my entire system with configuration.nix. then, I use vagrant with a plugin to have a nix box with all services
eskytthe has joined #nixos
<tilpner> Ahh, I assumed you were using your VBox NixOS only for deploying to your Vultr NixOS
knupfer has quit [Quit: knupfer]
<bahamas> tilpner: ok. does this new information change your previous suggestions in some way?
knupfer has joined #nixos
kreisys has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #71686 → redeclipse: fix src url → https://git.io/JeRH5
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Je0Fn
<tilpner> Yes, it makes 2. useless
<tilpner> 1. and 3. would still work
<bahamas> tilpner: I assume you mean I could try to nest KVM inside the VirtualBox vm, right?
iqubic` has quit [Ping timeout: 276 seconds]
<bkchr> <hexa- "bkchr: awesome \o/"> Updated the pr
<tilpner> Yes, either make the build of nixos-boot-disk work (3.) or eliminate the need to build nixos-boot-disk (1.)
iqubic` has joined #nixos
eskytthe has quit [Ping timeout: 268 seconds]
<tilpner> That doesn't sound good for you
<hexa-> bkchr: out of curiosity, whats the policy on enbing support for some stuff by default? like nfc?
<hexa-> s/enbing/enabling/
bvdw has quit [Read error: Connection reset by peer]
civodul has joined #nixos
<bkchr> IDK :D
bvdw has joined #nixos
<hexa-> :)
lewo has quit [Remote host closed the connection]
<blitzclone_> domenkozar: is there a cachix repo for the haskell.nix nix-tools?
<bahamas> tilpner: that leaves me with not being able to build the entire system. so I assume I only have the option of building my package locally, nix-instantiate system.nix and copy that to the Vultr box where I nixos-rebuild switch
<tilpner> bahamas: There are other options, but they are more complicated and brittle
<tilpner> bahamas: And you still haven't figured out the value of useBootLoader. You should do that now
lewo has joined #nixos
<bahamas> tilpner: how do I find it?
nschoe has joined #nixos
<tilpner> I'll need more information on your config, there is no universal way
marcusr has quit [Remote host closed the connection]
<tilpner> A normal NixOS system has the nixos-option command, but it seems you're doing something unusual
iqubic` has quit [Ping timeout: 240 seconds]
iqubic``` has joined #nixos
marcusr has joined #nixos
nalck has joined #nixos
<tilpner> bahamas: In the article you linked before, does your system.nix correspond to the fourth codeblock?
<tilpner> (Counting blocks that don't contain code, but are <code>)
elibrokeit has quit [Quit: A random quit message]
elibrokeit has joined #nixos
<bahamas> tilpner: this is my system.nix https://bpaste.net/show/7QDYK
<hyper_ch2> hmmm, I have very high system load and I can't figure out why. 8/32GB ram being used, no huge cpu spike, yet systemload it 40
logzet has quit [Ping timeout: 264 seconds]
<tilpner> bahamas: Does nix-instantiate system.nix --eval -A config.fileSystems./.device work?
vidbina has joined #nixos
<tilpner> hyper_ch2: htop as root?
<hyper_ch2> nothing exciting there to see
<tilpner> hyper_ch2: In the htop options, do you have kernel threads hidden?
<hyper_ch2> I am thiking that maybe one of the ssds in the zfs mirror is dying... otherwise I can't explain
<hyper_ch2> how to show kernel threads hidden?
b1000101 has joined #nixos
adamt has joined #nixos
eskytthe has joined #nixos
<hyper_ch2> found it
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eskytthe has left #nixos [#nixos]
sshow has joined #nixos
eskytthe has joined #nixos
kvda has joined #nixos
eskytthe has left #nixos [#nixos]
<hpfr[m]> Is it possible to append to substituters and trusted-public-keys in /etc/nix/nix.conf? Otherwise, if I use nix.extraOptions lines in my configuration, will they override the same options on lines above? I need these options to use a remote builder as a substituter
eskytthe has joined #nixos
<bahamas> tilpner: it does. it prints "/dev/disk/by-uuid/0d646215-08e9-4774-a20c-51fc82ff3620"
<tilpner> bahamas: List all imports in all files
iqubic``` has quit [Ping timeout: 265 seconds]
<tilpner> bahamas: Specifically, does any of them mention VM or qemu?
<tilpner> hyper_ch2: Ah, which kernel are you running?
<abbec> hey everyone, how would I build with a custom libc?
<hyper_ch2> tilpner: 5.3.1
kvda has quit [Client Quit]
<tilpner> hyper_ch2: Then you should have the /proc/pressure interface. See if there's more information there instead of "system load is high"
toppler has quit [Ping timeout: 276 seconds]
<tilpner> (Kernel devs think system load is silly)
<kvik> hey. it's been a while since i've dealt with manual grub bios/gpt partitioning so i forget if there's something special needed to make it install and boot.
<hyper_ch2> the /dev/pressure interface?
<kvik> the manual talks only about classic bios/mbr and efi/gpt situations.
<kvik> i did manage to install nixos here by making a gpt table with the first part being 0x04 BIOS Boot partition, and grub-install i.e. nixos-install finished alright; however after reboot the machine is stuck after printing "GRUB _".
<kvik> it could be that i mucked up something else or had some leftover state from the first failed attempt so i'm gonna redo the dance, but i wanted to check with you anyway if i'm missing something obvious :)
<hyper_ch2> I mean /proc/pressure
<tilpner> hyper_ch2: Yes
octe has joined #nixos
<hyper_ch2> brb
myskran has joined #nixos
<bahamas> tilpner: yes. hardware-configuration (which I copied over from the Vultr instance) has this single import "<nixpkgs/nixos/modules/profiles/qemu-guest.nix>"
<{^_^}> [nixpkgs] @vbgl merged pull request #71664 → coq_8_10: enable CoqIDE → https://git.io/JeRDt
<{^_^}> [nixpkgs] @vbgl pushed to master « coq_8_10: enable CoqIDE »: https://git.io/Je0FS
<{^_^}> [nixpkgs] @aanderse merged pull request #71879 → widelands: 19 -> 20 → https://git.io/Je00C
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Je0F9
toppler has joined #nixos
<kvik> uhhh, rewinding my tape a bit i think i did indeed muck up by forgetting to mount the designated boot partition on /mnt/boot before nixos-install
<Ox4A6F> NixCon2019 - Open Space - https://www.youtube.com/watch?v=pfg9ykBo9oM
<Ox4A6F> NixCon2019 - Sky Room - https://www.youtube.com/watch?v=hbJkMl631FE
knupfer has quit [Quit: knupfer]
<tilpner> bahamas: There's a possibly unrelated problem here. You are mixing modules from different nixpkgs versions, which is very unsupported
knupfer has joined #nixos
myskran has quit [Ping timeout: 268 seconds]
knupfer has quit [Client Quit]
<{^_^}> [nixpkgs] @aanderse merged pull request #71303 → skrooge: Fix build → https://git.io/Je47c
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/Je0Fb
knupfer has joined #nixos
ertugerata has joined #nixos
nschoe has quit [Ping timeout: 240 seconds]
ertugerata has left #nixos [#nixos]
<bahamas> tilpner: because I'm pinning nixpkgs in system.nix? what can I do instead?
ertugerata has joined #nixos
b101010 has joined #nixos
<tilpner> bahamas: Guess: { modulesPath, ... }: { imports = [ "${modulesPath}/profiles/qemu-guest.nix"; ]; }
<tilpner> Replace the current import
b1000101 has quit [Ping timeout: 240 seconds]
__Sander__ has joined #nixos
<Izorkin> Mic92: checked PR #70924 ?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70924 (by Izorkin, 2 weeks ago, open): mariadb: remove development components
<sshow> I want to pack a python script and run it with systemd. I don't quite understand how I should do that. Build a .nix file and put it in /etc/nixos/pythonapp.nix ?
is_null has joined #nixos
<shyim> Hey, how can i install vscode insiders?
<{^_^}> [nixpkgs] @johanot opened pull request #71970 → scripts/gce: make image name configurable → https://git.io/Je0Fp
b101010 has quit [Read error: Connection reset by peer]
b1000101 has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #71968 → php: 7.2.23 -> 7.2.24, 7.3.10 -> 7.3.11 → https://git.io/Je0dN
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/Je0bf
kreisys has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @basvandijk merged pull request #71821 → isomd5sum: init at 1.2.3 → https://git.io/Je03z
<{^_^}> [nixpkgs] @basvandijk pushed 2 commits to master: https://git.io/Je0bT
<bahamas> tilpner: running nix-instantiate system.nix worked. it produced 3 derivations
<hpfr[m]> Is it possible to append to substituters and trusted-public-keys in /etc/nix/nix.conf? Otherwise, if I use nix.extraOptions lines in my configuration, will the added lines override the auto generated options on lines above (the ones with just cache.nixos.org and its key, respectively)? I‘m trying these options to use a remote builder as a substituter
<bahamas> tilpner: thank you for all your help
nschoe has joined #nixos
pie_ has joined #nixos
<tilpner> bahamas: That doesn't it will build
tiAy has quit [Ping timeout: 240 seconds]
<tilpner> *doesn't mean
<bahamas> tilpner: even if I try to build it on the vultr instance?
<tilpner> Even then I'm not sure. You can try though
<wedens[m]> hpfr: why not modify substituters list in nixos config?
<hpfr[m]> wedens: how? There’s no option for it
kvda has joined #nixos
Makaveli7 has joined #nixos
kreisys has joined #nixos
b101010 has joined #nixos
ng0 has joined #nixos
<wedens[m]> `nix.binaryCaches`, `nix.binaryCachePublicKeys`
eskytthe has quit [Ping timeout: 246 seconds]
<wedens[m]> `nix.binaryCaches = config.nix.binaryCaches ++ [ https://example.org ];`
b1000101 has quit [Ping timeout: 268 seconds]
<hpfr[m]> wedens: thank you. Took a look at the nix-daemon derivation that option is in and found that binaryCaches is the old name for substituters but still used for the nixos option
<wedens[m]> ignore `config.nix.binaryCaches ++ ` part. I think it'll be merged anyway with any other values
<azazel> Hi, any more italians at the nixconf? (just to talk without the need to translate)
<hpfr[m]> wedens: also, when you listed the libwacom patch overrideAttrs you used a recursive set, but my previous global override didn’t. What’s the difference in this case?
<alexarice[m]> <wedens[m] "`nix.binaryCaches = config.nix.b"> This will cause infinite recursion I think
astrall33 has joined #nixos
<wedens[m]> yes
<wedens[m]> just ignore the previous message and do `nix.binaryCaches = [ https://example.org ];` :D
<hpfr[m]> Yep thanks
vidbina has quit [Ping timeout: 265 seconds]
mexisme has joined #nixos
<wedens[m]> hpfr: in this case `rec` doesn't matter. I'm just adding it out of habit when I need to override version/src
marcusr has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Ma27 merged pull request #71635 → ibus-engines.typing-booster-unwrapped: 2.6.6 -> 2.6.8 → https://git.io/JeRo2
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/Je0bW
marcusr has joined #nixos
<hpfr[m]> wedens: thanks again!
Maise has joined #nixos
<Maise> How can I write a derivation that will write to a text file (configuration script), then run a bash script?
<wedens[m]> Maise: run a script when?
toppler has quit [Ping timeout: 264 seconds]
<Maise> As the build step
<wedens[m]> build time?
<Maise> Yes
<wedens[m]> so, you want to modify the text file via script?
<Maise> To build this package, I need to clone a repo, write a configuration script in it (doesnt exist in the repo), and then run a shell script in the repo
<Maise> So yea, I want to write that configuration file through nix/ bash if thats necessary
mexisme has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed commit from @r-ryantm to release-19.09 « ibus-engines.typing-booster-unwrapped: 2.6.6 -> 2.6.8 »: https://git.io/Je0br
<wedens[m]> it sounds like you just need to do it as a build step `preBuild` maybe? (see nixpkgs manual for the list of phases)
toppler has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #71971 → coq_8_10: 8.10.0 → 8.10.1 → https://git.io/Je0b6
<tilpner> bahamas: Oh, and you should update to 19.09
<bahamas> tilpner: how do I use the result of nix-instantiate? I copy it with copy-closure and run nixos-rebuild switch?
nalck has quit [Quit: nalck]
<bahamas> actually, I see two derivations that I probably don't want remotely. they're called nixos-vm
<tilpner> bahamas: ...
<tilpner> I should have seen that
<tilpner> Your problem is that you forgot to pass "-A system" when building system.nix
marijan[m] has joined #nixos
Diagon has joined #nixos
__monty__ has joined #nixos
<hpfr[m]> How much of a performance hit would putting the nix store on a high performance SD card cause
<{^_^}> [nixpkgs] @earksiinni opened pull request #71972 → vimPlugins.LeaderF: init at 2019-10-15 → https://git.io/Je0bQ
<__monty__> I'd expect it to be significant. There can be a *lot* of writes.
thc202 has joined #nixos
joshuagl has joined #nixos
<tilpner> hpfr[m]: Compared to what?
<tilpner> Compared to a network filesystem halfway around the planet? Much faster
<hpfr[m]> tilpner: An NVME drive I suppose
<tilpner> Compared to a nvme ssd? Much slower
<hpfr[m]> Hilarious haha
ertugerata has quit [Remote host closed the connection]
<wedens[m]> I have an old laptop with a nix store on hdd. it's sooooooooo slowwwwwww
<hpfr[m]> tilpner: how about SATA SSD and HDD?
<tilpner> You'll need to decide for yourself if that level of performance is still usable
<tilpner> You know your own tolerance limits and usecase, we don't
<DigitalKiwi> tilpner: i'm 80% sure (it's been a while...) i got nested vms to work on linode, but i don't think they were kvm. i know that whatever i got working was different than what i got working on DO. openvz maybe
sigmundv has joined #nixos
<tilpner> DigitalKiwi: Nested VMs is easy
<DigitalKiwi> well not on vultr it sounds like ;)
<wedens[m]> I'd like to somehow implement the idea of copying currently used generation to ssd and storing everything else on hdd. not sure how to proceed though :/
<hpfr[m]> tilpner: I’ll need to decide if it’s usable? Shit still goes into ram at some point right haha? Even /boot will still be on the NVME, so would boot times even drop much?
ubert has joined #nixos
<tilpner> DigitalKiwi: But it turns out bahamas doesn't need it, because vaibhavsagar article offers different, seemingly interchangeable, options, but with different interfaces
<Maise> Soo this isnt working. How do I run the script from the `src`? https://hasteb.in/kosexato.nix
<hpfr[m]> Assuming my tolerance limits and use case are reasonable
* tilpner comma terror
<DigitalKiwi> tilpner: yeah, i was just adding information for anyone for future reference
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixpkgs-19.09-darwin: https://git.io/Je0NT
<tilpner> DigitalKiwi: Nested VMs without KVM are easy on Vultr too, just slow
<wedens[m]> hpfr: all binaries and libraries are in the nix store
alexherbo21 has joined #nixos
<hpfr[m]> wedens: yeah, but people put OS’s on SD cards now with stuff like the raspberry pi
<DigitalKiwi> i had virtualmin on linode
<wedens[m]> well, you can do that, but you can't expect performance comparable to nvme
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/07508cce16f (from 22 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
alexherbo2 has quit [Ping timeout: 240 seconds]
<DigitalKiwi> or maye the other one, idk, it was like 3 years ago
<{^_^}> [nixpkgs] @jonringer pushed 162 commits to python-unstable: https://git.io/Je0NY
<hpfr[m]> wedens: I absolutely don’t expect comparable performance but I wasn’t expecting much of the difference to be noticeable to be honest
<DigitalKiwi> cloudmin
<tilpner> hpfr[m]: My estimation, with no data at all: Somewhere betweens sata ssd and sata hdd for bad-case latency, worse than both throughput
<tilpner> *both for throughput
hyper_ch2 has quit [Remote host closed the connection]
<wedens[m]> only you can decide if it's noticeable.. I can certainly notice the difference bettwen nix store on ssd and hdd.
<tilpner> Having the store on a spinning zfs pool was very irritating, don't recommend at all
kandinski has quit [Remote host closed the connection]
<DigitalKiwi> hpfr[m]: i run a raspberry pi 3 b off of 5 dollar 32GB micro sd cards and it's not too bad
<hpfr[m]> A class A2 (“application class”) SD has minimum sequential writes of 10MB/s, min random read of 4000 IOPS, and min random write of 2000 IOPS
vidbina has joined #nixos
<DigitalKiwi> more specifically, these https://smile.amazon.com/dp/B07NP96DX5/
<hpfr[m]> Most A2’s are also U3 which is minimum 30MB/s write
knupfer has quit [Quit: knupfer]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knupfer has joined #nixos
<DigitalKiwi> i also use those for live usbs of nixos/arch/macos/etc. and they're more than useable
<hpfr[m]> Pretty sure NVME is in the tens to hundreds of thousands of IOPS and sequential read write of over a GB
<hpfr[m]> DigitalKiwi: do they seem comparable to an SSD?
hyper_ch2 has joined #nixos
<tilpner> hpfr[m]: There's very little point in this discussion without specifying the usecase
<DigitalKiwi> ^
<tilpner> A mostly-static system with light shell usage is going to perform much better on an SD card than a build server will
<hpfr[m]> tilpner: what specifics are you looking for? I’m a pretty standard Linux user
<tilpner> hpfr[m]: So this is for a server or phone then? /s
<tilpner> Because that's probably what the average Linux kernel instance is doing
<tilpner> hpfr[m]: Pi? Desktop use?
<hpfr[m]> tilpner: ok, I thought it was self evident that I wouldn’t be using this machine as a build server. It’s a laptop that I only have room for a 50GB NVME partition on, wanted to add a 128GB nix store SD if it didn’t tank performance
Maise has quit [Ping timeout: 260 seconds]
<hpfr[m]> Pretty standard desktop Linux user
<tilpner> So you already have an NVME SSD, but it's not large enough for your store?
<DigitalKiwi> a lot of my computers are only usb 2 anyway so an ssd wouldn't help that much unless it was heavy writes but mostly reads and not a ton of writes and it's not bad. even writes aren't that bad i think i get ~20(maybe 30) on those
Maise has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
<Maise> How can I run `$src/build.sh` as my build step? (Internet just died so sorry if I missed anything)
<hpfr[m]> tilpner: yes. This is a Surface Pro 5, very difficult to take apart, 128GB SSD, less usable, minus like 50GB for a tiny Windows partition I need for updating firmware and iTunes since surface firmware is via windows update
<clever> Maise: the unpackPhase copies $src to . for you, and cd's into the dir
<clever> Maise: so you just want ./build.sh
<{^_^}> [nixpkgs] @Lassulus opened pull request #71973 → gzdoom: 4.2.1 -> 4.2.3 → https://git.io/Je0NM
<hpfr[m]> 8 GB swap, 56 GB /
<Maise> What phase would that be in? `preBuild`?
<Maise> There isnt a make file
<clever> Maise: just buildPhase = "./build.sh";
<Maise> So using the generic builder doesnt work, I dont think
<Maise> ah
<Maise> great ty :)
<DigitalKiwi> hpfr[m]: in my opinion you'll do fine with a 128GB sd card that's at least average
<tilpner> hpfr[m]: Ahh, so no way to upgrade the existing drive
<tilpner> hpfr[m]: Do you even have a choice between different storage types here?
<hpfr[m]> DigitalKiwi: thanks for the input!
<{^_^}> [nixpkgs] @seqizz opened pull request #71974 → vimwiki-markdown: init at 0.2.0 → https://git.io/Je0Ny
<hpfr[m]> tilpner: not sure what you mean, there’s also USB 3.0 but that’s no comparison
astrall33 has quit [Ping timeout: 240 seconds]
<bahamas> tilpner: running -A system outputed a single derivation. what changed that made it work?
<tilpner> hpfr[m]: I would suggest keeping the store on your SSD and using the SD card for less performance-sensitive data, like documents or music
<tilpner> bahamas: You used to build the vm attribute, which explains everything, and I'm so mad for not questioning you earlier when you said it produced three derivations
<tilpner> bahamas: Building an attribute set will build all its attributes. You only care about system, but you didn't tell Nix to only build that
<tilpner> bahamas: So Nix also built the vm and the vmWithBootloader (not sure if actual name) attribute
<hpfr[m]> tilpner: I would try that but the store is close to the whole drive I think. I don’t keep any pictures on this machine just schoolwork which is probably less than a GB
<tilpner> bahamas: It can't build the bootloader version, because no nested KVM
toppler has joined #nixos
<__monty__> Only my remote builder has feature "haskell". Why is happy-1.19.9 getting built locally? http://ix.io/1ZHQ
<tilpner> bahamas: This also explains why there was no useBootLoader option during nix-instantiate. vmWithBootloader adds an import
<bahamas> tilpner: ok. I see what you mean. I appreciate your help
<DigitalKiwi> there's probably some benefit to getting nicer ones but no need to *redacted*... (i was going to say no need to go all out and get something like this https://smile.amazon.com/Lexar-Professional-microSDXC-UHS-II-Reader/dp/B012PKPU5W/ but then i looked at the price and...well, if your hardware supports it, and you have 70...these are awesome, but i don't know that you'll see much difference between this and something half the price or less)
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 3 commits to nixos-19.09-small: https://git.io/Je0NT
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/07508cce16f (from 43 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
kreisys has joined #nixos
<bahamas> is there a way to specify a package using its repo with nix-shell? I see that nix-env has the -f flag for that
<jD91mZM2> bahamas: I think `nix-shell <url>` does what you want?
<jD91mZM2> Well ok, that depends. By default nix-shell won't seem to build the package itself but rather give you the tools and dependencies to build it. `nix run -f` might be what you want?
astrall33 has joined #nixos
vidbina has quit [Ping timeout: 268 seconds]
b101010 has quit [Ping timeout: 252 seconds]
<hpfr[m]> DigitalKiwi: yeah, only supports UHS-I
<bahamas> jD91mZM2: can you specify the file to run? by default, it's calling default.nix which evaluates to a function
<DigitalKiwi> nix-shell -I nixpkgs=channel:nixos-19.03 -p kicad <-- something like this is one way i think
<DigitalKiwi> you can also use a directory if you have a local nixpkgs
<bahamas> sshow: are you still looking for an answer? I saw your question earlier but was caught with something else
<jD91mZM2> bahamas: Oh... Not sure if you can do that in one line or not
qqlq has quit [Quit: ZNC 1.7.5 - https://znc.in]
<sshow> bahamas: yeah, I am. But I am currently trying to get it going with a setup.py, and code from https://nixos.org/nixpkgs/manual/#python "10.15.1.2.3. Develop local package"
<sshow> does that sound like the correct route?
<{^_^}> [nixpkgs] @jD91mZM2 opened pull request #71976 → powerline-rs: 0.1.9 -> 0.2.0 → https://git.io/Je0AZ
vidbina has joined #nixos
nalck has joined #nixos
hpfr has quit [Remote host closed the connection]
qqlq has joined #nixos
<Maise> Is there a not-stupid way to do this?
<Maise> ```cp ${fetchurl { url = "https://downloads.devkitpro.org/devkitarm-rules-1.0.0.tar.xz"; sha256 = "0w7sasydlvpz5m0v0k15kwck7b9qv6zx1m3frajcnw6siv353b8h";}} devkitarm-rules-1.0.0.tar.xz```
<Maise> ah formatting
<bahamas> sshow: yes. that's what I have as well
<Maise> https://hasteb.in/hafasege.bash I need to download around 20 tarballs from https://downloads.devkitpro.org/ and place them in the folder with the source download
<Maise> Is there a way to do it programmatically/out of the script?
<{^_^}> [nixpkgs] @jonringer merged pull request #71919 → pass-checkup: init at 0.2.0 → https://git.io/Je0Xe
<{^_^}> [nixpkgs] @jonringer pushed commit from @etu to master « pass-checkup: init at 0.2.0 »: https://git.io/Je0AE
<sphalerite> Maise: ooh, packaging devkitpro? I'm interested!
<Maise> It seems like its doable, nix just prevents it from automatically downloading its deps, so youve gotta put it in the package
<Maise> Ig I could just write them all out...
<sphalerite> Maise: that said, you could do something like… let tarballs = [ (fetchurl {url = https://downloads.devkitpro.org/…; sha256 = …;}) ]; in lib.concatMapStringsSep "\n" (p: "cp ${p} ${p.name}") tarballs;
<Maise> Awesome! Thanks a lot
<sphalerite> so you have a list of the tarballs and expand it into cp commands using nix rather than writing them all out
<bahamas> sshow: here's what I have https://bpaste.net/show/RZN5S. yours will probably be simpler. then, you need to include the service.nix file in your configuration.nix like explained in this article https://vaibhavsagar.com/blog/2019/08/22/industrial-strength-deployments/
<sphalerite> Maise: depending on how keen you are to make this small, you could even deduplicate the fetchurl and the downloads.devkitpro.org part of the URL
<Maise> Already did :P
<sphalerite> :)
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 26 commits to nixos-unstable-small: https://git.io/Je0Ar
wedens has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8a74c091b25 (from 66 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ddima has joined #nixos
<bahamas> jD91mZM2: I assume I can use fetchTarball to get the repo explicitly, save the path and the do something like `nix-shell ${nix-deploy}/shell.nix` or `nix-env -i -f ${nix-deploy}/release.nix`. but which of the nix clis can take this?
alexherbo216 has joined #nixos
alexherbo21 has quit [Ping timeout: 240 seconds]
wfranzini has joined #nixos
<sshow> bahamas: thank you for that!
meck has quit [Quit: WeeChat 2.6]
<bahamas> sshow: you're welcome. took me some time to figure it all out, so I thought I'd spare you the effort, even though it can be educational
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @Izorkin opened pull request #71977 → mariadb-connector-c: fix mysql_version.h search error → https://git.io/Je0AS
<sshow> bahamas: much appreciated. I'll make sure to pass on the knowledge ;)
meck has joined #nixos
expelledboy has joined #nixos
<jD91mZM2> bahamas: Almost all of the nix interfaces let you type nix expressions directly
<Maise> Umm? https://hasteb.in/ihijelaj.bash `attempt to call something which is not a function but a list, at default.nix:12:15`
<Maise> oic
<jD91mZM2> bahamas: So something like `nix-shell -E "(import <nixpkgs> {}).fetchFromGitHub { ... } + "my-file/goes-here.nix"`
<__monty__> clever: Can I bother you with this? http://ix.io/1ZHQ Afaict some builds are getting properly sent to the remote builder, like hscolour-1.24.4 but happy-1.19.9 is attempted locally for whatever reason.
ng0_ has joined #nixos
<jD91mZM2> bahamas: Fixed quotes: `nix-shell -E '(import <nixpkgs> {}).fetchFromGitHub { ... } + "my-file/goes-here.nix"'`
<{^_^}> [nixpkgs] @Ma27 closed pull request #69869 → gotify-client: init at 2.1.1 → https://git.io/JeZis
Diagon has quit [Ping timeout: 264 seconds]
toppler has quit [Ping timeout: 240 seconds]
zupo has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psyanticy has joined #nixos
<expelledboy> sup guys, so I know this is an error specific to home-manager as a nixos (nix-darwin my case) error. I cant seem to configure xdg to point to my home directly when used as a plugin. I get permission error trying to access /var/empty/. How do I configure the home directly? Under darwin-configuration.nix I have `import <home-manager/nix-darwin>`, and
<expelledboy> then `home-manager.users.anthony = { xdg.enable = true }`, but when I use `config.xdg.cacheHome` its points to `/var/empty/.cache`
ng0 has quit [Ping timeout: 260 seconds]
<expelledboy> I would have thought the home directly was already determined by that point
<bahamas> jD91mZM2: thanks
tilpner has quit [Quit: tilpner]
<{^_^}> [nixpkgs] @marsam closed pull request #71956 → libogg: fix build on darwin → https://git.io/Je0QX
toppler has joined #nixos
ng0_ is now known as ng0
meck has quit [Quit: WeeChat 2.6]
alexherbo216 has quit [Ping timeout: 265 seconds]
alexherbo2162 has joined #nixos
sigmundv has quit [Ping timeout: 240 seconds]
meck has joined #nixos
lsyoyom has quit [Ping timeout: 265 seconds]
Diagon has joined #nixos
<Maise> How can you index a list?
<jD91mZM2> Maise: builtins.elemAt
<clever> [200~> builtins.elemAt [ "a" "b" "c" ] 2
<Maise> :D Thanks
<clever> > builtins.elemAt [ "a" "b" "c" ] 2
<{^_^}> "c"
bahamas has quit [Ping timeout: 268 seconds]
<__monty__> Anyone know how I can troubleshoot this SSL CA cert error? http://ix.io/1ZMw
Zer0xp has quit [Ping timeout: 264 seconds]
<wedens> why does using `dockerTools.buildImage` results in qemu doing something during the build? seems to happen when I add `runAsRoot`
<clever> wedens: the build cant get real root, so its using qemu to get emulatoed root
<clever> wedens: thts why i never use runAsRoot
<wedens> clever: what can I use instead?
<clever> wedens: what are you needing to do?
<wedens> as `RUN` alternative
<wedens> I need to make some symlinks
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> wedens: put the symlinks in $out/something of a derivation, and put that into the contents, i think
nalck_ has joined #nixos
<clever> wedens: all of the $out's from contents get merged into /
infinee has quit [Read error: Connection reset by peer]
infinee has joined #nixos
zupo has joined #nixos
<wedens> thanks. I'm already doint something similar. I thought maybe there is some better approach without intermediate derivation.
<expelledboy> okay so I figured it out, use _must_ configure your home dir
nalck has quit [Ping timeout: 240 seconds]
nalck_ is now known as nalck
tilpner has joined #nixos
fendor has joined #nixos
iyzsong has joined #nixos
dm9 has joined #nixos
lsyoyom has joined #nixos
sigmundv has joined #nixos
Acou_Bass has quit [Quit: ZNC 1.7.3 - https://znc.in]
<{^_^}> [nixpkgs] @mt-caret opened pull request #71978 → nixos/lxd: add productionSetup option → https://git.io/Je0xY
noudle has joined #nixos
kreisys has joined #nixos
hyper_ch2 has quit [Remote host closed the connection]
tiAy has joined #nixos
iyzsong-x has joined #nixos
<__monty__> I use fish. Why does nix insist on setting my SHELL to bash?
<astrall33> nix is primiarly a build system, so ALOT of software uses bash to build..or just vanila sh.
Acou_Bass has joined #nixos
iyzsong has quit [Ping timeout: 265 seconds]
<astrall33> so i guess it's a bit bash centric because of this.
nalck has quit [Quit: nalck]
<jD91mZM2> Are there any downsides to having an overlay that basically defines `{ unstable = import <nixos-unstable> {} }`? The way I see is that this will just make it easier to use unstable software, but at the same time I'm thinking there must be a reason something like this isn't the default
<astrall33> thats just a guess...however..
<astrall33> i'm no nixpert.
gxt has quit [Ping timeout: 260 seconds]
<clever> jD91mZM2: ive seen a lot of people do that
<DigitalKiwi> did you do programs.fish.enable = true or?
<jD91mZM2> clever++
<{^_^}> clever's karma got increased to 224
<DigitalKiwi> jD91mZM2: this is what i do it works well for me https://gist.github.com/Kiwi/99755b6898000329a60e259427bb62ea i just import that and can put in environment.systemPackages nixos-1903.program
<DigitalKiwi> overlays scare me
<jD91mZM2> DigitalKiwi: That's nice but you can't use them like `nix-shell -p unstable.yee` as opposed to `nix-shell -I nixpkgs=yadayada -p yee`
<DigitalKiwi> and i have this https://gist.github.com/Kiwi/ad860df1e68b6fb72195fd24bbf6ee66 to make sure all of my channels get updated as by default iirc nixos-rebuild --upgrade updates only `nixos`
<astrall33> l33--
<DigitalKiwi> *shrug*
<jD91mZM2> DigitalKiwi: Oo, interesting
<jD91mZM2> (about the nix-channel --update thing)
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<DigitalKiwi> if i really need to i can ; nix-shell -I nixpkgs=channel:nixos-19.03 -p kicad
<DigitalKiwi> (rarely need to)
<DigitalKiwi> but i mostly only use nix-shell for haskell environments
<DigitalKiwi> or in a nixpkgs git dir for PRs
<jD91mZM2> Oh, didn't notice you use unstable as default? Then yeah it makes sense you don't need to use the latest packages often
<DigitalKiwi> :)
<jD91mZM2> (I mean later than whats in your current channel of course)
<DigitalKiwi> every once and a whilei have to use an older version for a few days
<dminuoso> What mechanism would you usually use if you have some service configuration you want to share across multiple nixos machines?
zupo has joined #nixos
<DigitalKiwi> like...since stupid kicad keeps crashing on me ;_;
fendor has quit [Ping timeout: 265 seconds]
<dminuoso> Would you just keep a small attribute set { services.foo.enabled = true; } and then // that onto each machines configuration.nix?
<dminuoso> Or are there other styles?
toppler has quit [Ping timeout: 245 seconds]
expelledboy has quit [Remote host closed the connection]
<DigitalKiwi> i make a modules folder that has common ones
<jD91mZM2> dminuoso: I have a base.nix file which I just drop to each of the machine's `imports = [ ... ];`
<DigitalKiwi> my configuration.nix is really more like a dozen files
astrall33 has quit [Ping timeout: 252 seconds]
<dminuoso> Ah. Perhaps I have a slight misunderstanding of how modules work.
<dminuoso> Ohh! So even my configuration.nix is a module
<jD91mZM2> dminuoso: Yep! I can agree modules can be hard to understand, but if you don't define any options they're basically just sets being recursively merged in
<__monty__> Does nix affect the certificate store on mac os? I'm getting SSL CA cert problems.
<DigitalKiwi> https://github.com/jonaswouters/nixos-configuration i've started refactoring mine to be a bit more like this (mine's already ...on the way to this, but a lot more messy)
hyper_ch2 has joined #nixos
toppler has joined #nixos
cosimone has joined #nixos
<Twey> __monty__: Pure shells and packages will be isolated from the system's CA certs like everything else. If you need to use SSL you should pull in `cacert` as a dependency
<dminuoso> jD91mZM2: In what order are they merged?
<__monty__> Twey: I'm not using ssl. nix is and it's giving CA cert errors.
<Twey> __monty__: Hm, I think Nix itself shouldn't give errors. You mean from a `fetchurl` or something?
<__monty__> Yes, fetchTarball.
<__monty__> Had them last week when I was trying to get a nix-shell -p python though.
<DigitalKiwi> i think i have that problem sometimes :(
patrol02 has joined #nixos
<patrol02> Hi all!
<__monty__> Maybe my system's cert store is old? It's from 2018 by the looks of it.
nalck has joined #nixos
<patrol02> I am trying to install `lirc` to make my remote control running. I have `lirc` in system packages, but how can I make it actually run and work?
sigmundv has quit [Ping timeout: 265 seconds]
<Twey> __monty__: Maybe…
<clever> Patrol02: https://nixos.org/nixos/options.html#lirc you must enable the service
<jD91mZM2> dminuoso: I assume top-down or something, but the order shouldn't matter because you can give certain values higher priority using mkForce and friends
<Twey> __monty__: Are you using single-user or multi-user Nix?
<__monty__> Single-user.
<Twey> __monty__: Does it fix the problem if you set `SSL_CERT_FILE` to a) your system's cert file or b) one from the Nix store?
wfranzini has quit [Quit: wfranzini]
<Twey> (try the former first since it's less likely to help, and I want to know if it does :þ)
vidbina has quit [Ping timeout: 246 seconds]
<__monty__> Twey: Can this cert file be an html file? I only know about apple's TrustStore.html list of root certs.
<Taneb> I remember seeing a tool to compare two derivations to see what's changed, doesn anyone know what it is?
<__monty__> nix-diff?
<Taneb> __monty__: that's the one, thank you
<Twey> __monty__: No, it should be a .crt
mrCyborg has quit [Read error: Connection reset by peer]
rajivr___ has quit [Quit: Connection closed for inactivity]
<Twey> __monty__: Oh, maybe you don't actually have a cert file on the HD on macOS — looks like it might all be stored in the Keychain
<__monty__> Huh, that var's currently set to `/no-cert-file.crt`.
mrCyborg has joined #nixos
<DigitalKiwi> __monty__: are you using lorri
<__monty__> Yes.
<{^_^}> target/lorri#98 (by Shados, 18 weeks ago, closed): lorri+direnv breaks curl etc. by setting SSL_CERT_FILE
<Twey> Yeah
<DigitalKiwi> (looks like there's a fix)
<Twey> According to this: 1) setting SSL_CERT_FILE causes things on macOS to use OpenSSL; 2) OpenSSL on macOS is old and broken and probably doesn't have CA certs
<Twey> So I guess you can probably unset SSL_CERT_FILE to use SecureTransport, or else set it to point to a sensible CA bundle (e.g. from the Nix store)
b101010 has joined #nixos
_pash has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @romildo opened pull request #71979 → qogir-theme: 2019-08-31 -> 2019-10-25 → https://git.io/Je0xp
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<__monty__> Yeah, I'm updating lorri rn.
<__monty__> Changelog mentioned setting IN_NIX_SHELL to impure as a fix.
orivej has quit [Ping timeout: 240 seconds]
<DigitalKiwi> nice
<__monty__> Ironically `lorri self-upgrade` didn't work in the lorri direnv environment : )
tiAy has quit [Ping timeout: 240 seconds]
sigmundv has joined #nixos
sylv-io has joined #nixos
dkellner[m] has joined #nixos
<zertox> @DigitalKiwi It's nice to see people liking my nix conf. Still needs a lot of work though.
<eyJhb> How do I add a file to my store with nix? (file that is behind a license agreement, that I need to download and manually add before I can rebuild)
cfricke has joined #nixos
<Twey> eyJhb: nix-store --add <file>
FRidh has joined #nixos
<aanderse> eyJhb: search for requireFile
<iMatejC> Hey, trying to run unityhub here... `$ appimage-run ~/Downloads/UnityHub.AppImage` this command does not end at all, after 1h still waiting, no ANY kind of messages
<eyJhb> Weird I got file not found - 'nix-store --add FILE://$(pwd)/displaylink.zip'
<eyJhb> Nvm
<eyJhb> Removed prefix
kreisys has joined #nixos
<eyJhb> God damn it, still doesn't want to work
<hyper_ch2> eyJhb: you're updating displaylink?
<hyper_ch2> still working here
dm9 has quit [Quit: WeeChat 2.6]
<etu> jonringer: Thanks! :)
<eyJhb> It was prefetch I wanted
<eyJhb> And no, not updating hyper_ch2 , I just removed it from my store for some reason, so I had to readd the zip file :p
kreisys has quit [Client Quit]
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
astrall33 has joined #nixos
eskytthe has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #71977 → mariadb-connector-c: fix mysql_version.h search error → https://git.io/Je0AS
<{^_^}> [nixpkgs] @globin pushed 2 commits to staging: https://git.io/Je0po
toppler has quit [Ping timeout: 264 seconds]
MmeQuignon has joined #nixos
<dminuoso> Mmm, is there a way to evaluate and inspect a module?
gxt has joined #nixos
<clever> dminuoso: `nix repl '<nixpkgs/nixos>'` will eval the entire nixos, and all modules configuration.nix refers to
ajs124 has joined #nixos
<dminuoso> clever: Mmm what do you mean by "eval the entire nixos"?
<clever> dminuoso: it will eval every nixos module, and your configuration.nix
<clever> dminuoso: then you can just eval `config` in the repl
<dminuoso> clever: Where does that `config` come from?
toppler has joined #nixos
<clever> dminuoso: the repl command i gave loads nixos, which gives you a config attr
hyper_ch2 has quit [Remote host closed the connection]
ng0 has quit [Ping timeout: 260 seconds]
<dminuoso> clever: So perhaps the confusing part to me here is, what does it mean to "load". I mean its just an expression, where does the identifier `config` come from?
<dminuoso> Or does "load" mean evaluate an attribute set, and bring every attribute of that attrset into scope?
<DigitalKiwi> zertox: oh hi
<clever> dminuoso: <nixpkgs/nixos> refers to a default.nix at nixpkgs/nixos/default.nix
<clever> dminuoso: and that returns a set that contains config
<{^_^}> [nixpkgs] @Tomahna opened pull request #71980 → scalafmt: 2.0.1 -> 2.2.1 → https://git.io/Je0py
patrol02 has quit [Remote host closed the connection]
<dminuoso> clever: Okay, so its sort of like `let w = import <nixpkgs/nixos>; in with w; ⌜in this context now⌝`?
<dminuoso> (Where nix repl would evaluate arbitrary expressions inside that ⌜context⌝ bit above.
<DigitalKiwi> __monty__: this is what graham told me to do when I had problems with self-upgrade <gchristensen> clone the repo, check out rolling-release, `lorri self-upgrade local $(pwd)`
<DigitalKiwi> that toook me 20 minutes to find :(
<__monty__> DigitalKiwi: Oh, just cd'ing outside of any direnv was all that was needed. Just thought it was funny that lorri's ssl handling broke the self-upgrade command.
<__monty__> Sorry!
<__monty__> : |
<__monty__> <3 DigitalKiwi for the effort.
<{^_^}> DigitalKiwi's karma got increased to 2
<DigitalKiwi> ty
wormwood has joined #nixos
<_pash> DigitalKiwi: heya, any idea what's wrong with my syntax here? http://ix.io/1ZMS
<_pash> Still trying to get that packageOverriden
<_pash> this is my .config/nixpkgs/config.nix
<_pash> complains about unexpected IN on line 6
<_pash> if i remove the nixos1909 definition it works completely fine
<__monty__> _pash: You didn't close the braces around config = ...
<_pash> dammit - thank you
kreisys has joined #nixos
vidbina has joined #nixos
Fare has joined #nixos
alexherbo21628 has joined #nixos
alexherbo2162 has quit [Read error: Connection reset by peer]
<_pash> __monty__: I am trying to get tensorflow installed on line 18 from a different release... it's not installing, am i doing something wrong?
<Maise> sphalerite - https://hasteb.in/ejurihop.nix is looking good if you want to test it. Was going to wait until it finished building, but forgot that I was on a potato laptop :)
qqlq has quit [Quit: ZNC 1.7.5 - https://znc.in]
<__monty__> _pash: I'm not sure you can mix and match python interpreters that way. (I'd say I'm sure you can't but don't feel qualified to say so : ))
fendor has joined #nixos
<_pash> __monty__: sooo the way to do it would be to define mypython with nixos1909?
<sphalerite> Maise: hm, it seems to try to download the tarballs anyway
<Maise> Whats it giving you?
<sphalerite> Looking for configuration file... Found.
<sphalerite> build-devkit.sh: line 131: curl: command not found
<Maise> Ah yea thought that might happen
<Maise> just uncomment curl in the build input
<Maise> It wont actually use it, just wants it as a dep
<sphalerite> aah ok, looks good
alexherbo21628 has quit [Quit: The Lounge - https://thelounge.chat]
patrol02 has joined #nixos
alexherbo2 has joined #nixos
marcusr has quit [Remote host closed the connection]
marcusr has joined #nixos
<patrol02> What do I need to configure if I want to be able to close a lid on a laptop and have the second monitor to become the main and the only monitor for the system?
<__monty__> _pash: I'd try that yes.
zupo has joined #nixos
vidbina has quit [Ping timeout: 246 seconds]
zupo has quit [Client Quit]
astrall33 has quit [Remote host closed the connection]
astrall33 has joined #nixos
Fare has quit [Ping timeout: 265 seconds]
<__monty__> I'd like to use a cachix cache for specific shell.nix files. Do I have to add it to my configuration.nix? It'd be great if the shell.nix could be comprehensive.
toppler has quit [Ping timeout: 252 seconds]
<nschoe> Hi everyone, is there a doc page/how-to/document explaining the nix 2.0 commands? There are things I cannot do with `nix` commands which I can with `nix-env`. I believe `nix` commands are set to replace `nix-env` commands, or am I wrong?
patrol02 has quit [Remote host closed the connection]
mexisme has joined #nixos
<DigitalKiwi> hmm
<immae> nschoe: what can you do with nix-env that you can do with `nix`? As far as I know nix-env is completely absent from the `nix` command (and I think it’s still an ongoing development even for other commands)
<DigitalKiwi> have you tried nix --help
kuznero has joined #nixos
<kuznero> Hi All, can I install firefox 70 somehow today?
<DigitalKiwi> (that link is mostly the nix- commands i think)
xd1le has quit [Quit: leaving]
<{^_^}> [nixpkgs] @rasendubi merged pull request #71979 → qogir-theme: 2019-08-31 -> 2019-10-25 → https://git.io/Je0xp
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/Je0h8
<DigitalKiwi> oh wait no i found them
astrall33 has quit [Ping timeout: 240 seconds]
<nschoe> immae, (thanks for answering) for instance, looking for haskell packages: `nix-env -f "<nixpkgs>" -qaP -A haskellPackages`. I can't find a way to do that with `nix` commands.
<nschoe> DigitalKiwi, yeah, nix search --help is pretty scarce.
nekolyanich has joined #nixos
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
<immae> nschoe: my question was reverse: as far as I know there is *nothing* from nix-env that you can do with nix :p
<nschoe> immae, well a standard search is possible: `nix search firefox` works :)
<immae> ah right
<nschoe> immae, `nix build` also.
<immae> nix build is an ~ equivalent from nix-build, not nix-env :p
toppler has joined #nixos
<nschoe> ohhh right.
<immae> anyway, I think it’s not recommended to use the `nix` commands yet
<Maise> Might want to cancel that build sphalerite - It needs texinfo too. ...at the end. Ow
<immae> (in every help they say "Note: this program is EXPERIMENTAL and subject to change.")
<nschoe> But the way I saw it, `nix <cmd>` was the new version and would replace `nix-cmd`. Am I wrong?
noudle has quit []
<immae> I think so
<immae> but it’s still not finished
<nschoe> immae, yeah yeah definitely, I know it's definitely not production ready, no worries abou that. I'm not complainig that some things are not possible :D I'm just asking if you guys knew where to get the updates on this, if there was a doc page or tutorial maintained up to date with the latest implementations.
mexisme has quit [Ping timeout: 276 seconds]
<immae> ok, then my answer remains the same: (apart from search) *I think* nix-env is completely absent from `nix` :p
<nschoe> okay :)
<nekolyanich> Hi all. How can i get pkg expression from channel without cloning of channel repo?
<nschoe> Well I'll keep using `nix-env` then
peanutbutter144_ has quit [Ping timeout: 252 seconds]
<immae> what seems to be missing too and could be important is how nix takes the derivations. For instance nix-env takes it by default from ~/.nix-defexprs, what about `nix search`
<__monty__> If I set `trusted-public-keys` do I need to add the key for cache.nixos.org?
<nschoe> immae, (well, `nix search` sorts of replace `nix-env -qa`, right? So I guess there is a bit of `nix-env` inside `nix`?)
<sphalerite> Maise: hah, thanks
<kuznero> Sorry, not to spam, but did anybody managed to have new Firefox 70 installed somehow on NixOS?
<immae> nschoe: yes, but I didn’t know before you told me so :p
<nschoe> immae, nix search --help says there's an option " -f, --file <FILE> evaluate FILE rather than the default". But I do not know what the "default" is, whether its "<nixpkgs>" or "~/.nix-defexpr".
<FRidh> kuznero: two PR's for 70 have been merged into master. 19,09 is still an open issue
<immae> nschoe: yes, me neither (I guess we’d need to read the code to find out)
<nschoe> True.
<__monty__> kuznero: If it's not in nixpkgs yet and you don't want to patch it yourself maybe you can use the mozilla-overlay? I suspect that has the latest version.
Kalm004 has joined #nixos
astrall33 has joined #nixos
<kuznero> FRidh, thanks
<kuznero> __monty__, do you have an example of using mozilla-overlay in configuration.nix?
<tilpner> nixos-unstable-small has firefox with version 70.0
<immae> nschoe: the answer from any search gives the answer, it obviously searches for every element in NIX_PATH (which is good :p )
<immae> (it = nix search)
<dminuoso> Can someone explain to me how to debug this? https://gist.github.com/dminuoso/477888204841b60af650b12f61b5858a
<dminuoso> I cant make heads or tails of this error. :(
<immae> dminuoso: The option `hostname' defined in `/home/dminuoso/wobcom/projects/zaphod/nix-mailserver/mail.nix' does not exist.
<Kalm004> Hi everyone, I'm facing a problem trying to create an RDS with a security group using NixOps. I found this issue https://github.com/NixOS/nixops/issues/936 and a PR solving it https://github.com/NixOS/nixops/pull/1020. Has anyone faced that problem too? If so, could you share how you solved it?
<DigitalKiwi> tilpner: oh hey thanks 02:17 * DigitalKiwi wonders if your firefox is in nixos-unstable-small
<{^_^}> nixops#936 (by alexeiskachykhin, 1 year ago, open): Unable to attach VPC security groups to an RDS instance
<{^_^}> nixops#1020 (by betaboon, 1 year ago, open): RDS: support vpc-security-groups for RDS-instances/dbSubnetGroups
<nschoe> immae, okay thanks.
<DigitalKiwi> hpfr[m]: ^
<dminuoso> immae: Well yes.. but that file is just a simple `let x = import ..; y = import ..; in x // y`
<dminuoso> Which is why this is so disturbing.
<immae> ah, I lack some context then :p
<immae> how is this file used
<immae> ?
<kuznero> tilpner, thanks, that is the easiest I think for me now
<dminuoso> immae: That's the entry point for this nixos deployment.
<immae> (by the way ,I "hacked" nixops to add a `sed -i -e '/^import sys$/s/$/; sys.tracebacklimit = 0/' scripts/nixops` during the build, so that I don’t get the useless python stack trace at the end, you might want to use it)
<immae> ok, then one of the imports (x or y) contains a key that is not defined as a configuratoin
<{^_^}> [nixpkgs] @Lassulus opened pull request #71981 → vbam: 2.1.3 -> 2.1.4 → https://git.io/Je0h6
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<immae> since you use it in /home/dminuoso/wobcom/projects/zaphod/nix-mailserver/mail.nix this is where the error is reported, but it seems to come more deeply from one of x or y
<DigitalKiwi> FRidh: a few of us were confused how come the commit that is nixos-unstable is newer than the firefox 70 commits but it's not there yet, is it just not built?
kleisli has joined #nixos
<immae> dminuoso: (guess according to your file name) do you have networking.defaultMailServer? if so, the key is hostName, not hostname
<Raito_Bezarius> How can I work on nixops using my own patches?
<Raito_Bezarius> I don't understand what dev-shell does exactly
<Raito_Bezarius> (it runs nix-shell on release.nix)
<Raito_Bezarius> But I'm working on the AWS plugin and I don't know if I can just keep the nixops original repo and work on the nixops-aws repo
<kuznero> tilpner, cannot find it on hydra, do you have a link to a build report for firefox 70?
kreisys has joined #nixos
Fare has joined #nixos
<FRidh> kuznero: why do you need a build report? Whether hydra has built it or not does not say whether it is available in the channel or not
* tilpner waiting for hydra search
<FRidh> anyway, nixos-unstable has firefox-bin at 70.0, but firefox at 69.0.2
<kuznero> FRidh, that is just my poor understanding. That would be my intuitive approach to figure out if the package has a chance to be available in this or that channel. But how to really figure this out, I don't know.
<__monty__> FRidh: Really? Then how do you determine whether something's cached?
<{^_^}> [nixpkgs] @doronbehar opened pull request #71982 → castget: 1.2.4 -> 2.0.0 → https://git.io/Je0hy
<dminuoso> immae: Wow! Okay so I found it...
<FRidh> easiest way to check this, is to checkout upstream/nixos-unstable and then `nix eval -f . firefox.name` or `nix eval -f . firefox-bin.name`
ng0 has joined #nixos
<dminuoso> immae: It turns out that `imports [ ./foo.nix env ]` doesn't do what I was hoping it would do.
<__monty__> kuznero: Why the *urgent* need for ff70?
nekolyanich has quit [Quit: WeeChat 2.4]
<FRidh> by checking this, you know the channel has that version. Of course, that does *not* mean a binary is actually available.
<dminuoso> But really, this diagnostic appears to be a bug.
<{^_^}> [nixpkgs] @basvandijk closed pull request #71791 → release-lib.nix: initialize pkgs for the currentSystem → https://git.io/Je0kN
<kuznero> __monty__, just a little child in me, nothing else ;)
<{^_^}> [nixpkgs] @Ekleog merged pull request #71360 → matrix-synapse: 1.4.0 -> 1.4.1 → https://git.io/JeBcW
<{^_^}> [nixpkgs] @Ekleog pushed 2 commits to master: https://git.io/Je0h9
<{^_^}> [nixpkgs] @globin merged pull request #71980 → scalafmt: 2.0.1 -> 2.2.1 → https://git.io/Je0py
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/Je0hQ
<{^_^}> [nixpkgs] @globin merged pull request #71973 → gzdoom: 4.2.1 -> 4.2.3 → https://git.io/Je0NM
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/Je0h7
* DigitalKiwi detects a recovering arch user
<immae> dminuoso: I have a quite complex nixops configuration and didn’t face this kind of misplaced error, maybe you should consider refactoring your code a bit to avoid it (especially if this was your entrypoint, in which case I suppose you’ll *alway* get it)
<{^_^}> [nixpkgs] @globin merged pull request #71971 → coq_8_10: 8.10.0 → 8.10.1 → https://git.io/Je0b6
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/Je0h5
<{^_^}> [nixpkgs] @basvandijk closed pull request #71794 → 19.09: release-lib.nix: initialize pkgs for the currentSystem → https://git.io/Je0Iz
<tilpner> kuznero: I'm not sure this hydra search will finish anytime soon. I know it's cached: /nix/store/l0ivv42j7anrgzyahhn6yv2wkh0bm7p0-firefox-70.0
<dminuoso> immae: The strange thing is, I did that much deeper down the chain.
<kuznero> tilpner, I managed to have it through unstable.firefox-bin as FRidh mentioned
<{^_^}> [nixpkgs] @globin merged pull request #71964 → wt: Allow optional library harfbuzz to be overriden with null → https://git.io/Je05L
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/Je0hA
<immae> dminuoso: I guess the error reporter considers that since the import was successful (but contains a wrong configuration), it assumes the error was somewhere here and doesn’t try to dig deeper (that’s just hypothesis)
toppler has quit [Ping timeout: 264 seconds]
<tilpner> kuznero: That's slightly different. But if that works for you too, great!
<immae> Anyway, (still guessing), I think getting rid of `import` for configuration should make your errors more relevant
kuznero_ has joined #nixos
<immae> (`imports` works, though :p )
kuznero_ has quit [Client Quit]
<dminuoso> immae: Should I be able to apply to an imported expression like: ./foo.nix {}
<dminuoso> Will that do the thing I expect it to, or will I need explicit imports to do this?
<dminuoso> (I mean it seems it doesnt, but perhaps Im doing something else wrong)
<fendor> ,locate ar
<immae> dminuoso: I’m not sure I understand your question
<{^_^}> Found in packages: afl, apt, ark, atk, dia, gcr, gdl, gpa, i2p, k3b, kvm, lyx, pan, vdr, xen, zim, anki, ario, cogl, dino, fvwm, geda, gftp, gimp, glib, gmpc, gmtk, gvfs, ibus, kate, kexi, kile, kwin, newt, peek, ping, qemu, taxi, uget, amule, avahi, balsa, boinc, brave, cjdns, ekiga, encfs, folks, gammu, geany, gummi, icewm, kazam, kcalc, krita, libfm, milou, navit, pinta, plank, searx, squid, swift, baobab, codimd, deluge, dragon, and 760 more
<clever> fendor: ar should be availble in the default stdenv
<{^_^}> [nixpkgs] @rasendubi merged pull request #71941 → xmrig-proxy: 3.1.1 -> 3.2.0 → https://git.io/Je0yT
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/Je0hh
<ar> fendor: warsaw, poland
<fendor> clever, can I open a pure nix-shell where it is available?
kuznero has quit [Ping timeout: 240 seconds]
<fendor> ar, haha, sorry :D
<ar> n/p
<immae> dminuoso: if you have a foo.nix file that contains some configuration, it should be a function that accepts the same arguments as your top level configuration.nix file. In that case, you can just add imports = [ ./foo.nix ] in your configuration.nix and it would be as you imagine (i.e. the configuration defined in foo is merged into the one of the top level)
<immae> Does that answer the question I didn’t understand? :p
<{^_^}> [nixpkgs] @edolstra pushed to release-19.09 « nix-daemon.nix: Fix checkConfig »: https://git.io/Je0je
toppler has joined #nixos
<dminuoso> immae: Huh. So a nixos module is just an attrset with three keys, right?
<immae> the three keys being options, imports and config? Yes I guess so
astrall33 has quit [Ping timeout: 240 seconds]
<immae> (maybe there are more that I don’t know of)
<{^_^}> [nixpkgs] @Lassulus merged pull request #71909 → transgui: 5.17.0 -> 5.18.0 → https://git.io/Je0iZ
<{^_^}> [nixpkgs] @Lassulus pushed commit from @r-ryantm to master « transgui: 5.17.0 -> 5.18.0 »: https://git.io/Je0jU
<immae> dminuoso: To be more precise, it’s a *function* that returns an attrset with three keys
<dminuoso> "it should be a function that accepts the same arguments as your top level configuration.nix file."
<dminuoso> Oh.
jd823592 has joined #nixos
alexherbo2 has quit [Ping timeout: 246 seconds]
<immae> and the function takes arguments like config, pkgs, lib (same as top level)
<jd823592> i'd like to run a third-party script that relies on /bin/bash within a nix-shell, is there anything I can do to make it work without changing the hardcoded /bin/bash?
<dminuoso> Right. Okay.
<dminuoso> immae: So I want to add an additional parameter, so I have some modules `{foo}: {pkgs, ...}: { ...} `
<immae> dminuoso: that could work yes, I do it
<dminuoso> OH!
<{^_^}> [nixpkgs] @rasendubi merged pull request #71932 → x42-plugins: 20190820 -> 20191013 → https://git.io/Je0ME
<dminuoso> I figured it out.
<dminuoso> Wow this is painful.
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/Je0jO
<immae> Sorry :/
<immae> (refactoring is rarely unpainful, but at least it should be "mechanical")
<dminuoso> immae: And figured I could just specify `imports = [ ./foo.nix {foo = 1;} ]` although I kind of knew that this wouldn't work, but I felt giving it a try.
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/Je0jZ
<{^_^}> [nixpkgs] @rasendubi merged pull request #71974 → vimwiki-markdown: init at 0.2.0 → https://git.io/Je0Ny
<dminuoso> (that attrset was rather `env`, and the first key of that was hostname)...
<immae> dminuoso: you can but you need parenthesis I guess
Fare has quit [Ping timeout: 240 seconds]
<dminuoso> immae: exactly! and evne that wouldnt work, but that would have given me an appropriate error message.
<dminuoso> instead it tried to understand that attrset as a module, and then things blew up
<immae> Ah, I expect it to work and I’m almost sure I use something like that
<tilpner> And an import, but then you have different problems. I don't suggest using function-values in imports
<dminuoso> tilpner: What do you mean?
alexherbo2 has joined #nixos
<tilpner> If you put paths into imports, modules will be imported exactly once
<tilpner> But when you put functions into imports, there is no way to do this deduplication
<dminuoso> How would I share common bits between modules? Move them into a separate nix file and then import them from each module?
<tilpner> And you get weird errors, because you now imported this module twice, and it conflicts with itself
<pingiun> LVM thin LVs seems broken for me
<dminuoso> I see, tilpner.
<dminuoso> That makes sense
<immae> dminuoso: I have this: https://git.immae.eu/?p=perso/Immae/Config/Nix.git;a=blob;f=modules/websites/httpd-service-builder.nix;h=d049202c1d59c5c9e8b496240cd38f4cb7b83122;hb=HEAD used here https://git.immae.eu/?p=perso/Immae/Config/Nix.git;a=blob;f=modules/private/default.nix;h=c41879533146676983f539117145982ccec863b7;hb=HEAD (lines 4-6) and added as imports
<pingiun> wait4 child process 1668 failed: No child processes
<pingiun> Check of pool drosera/data failed (status:-1). Manual repair required!
<{^_^}> [nixpkgs] @worldofpeace pushed to master « python3.pkgs.python-dbusmock: fix build »: https://git.io/Je0jW
<tilpner> dminuoso: You can do it, but you need to be careful, and it limits you in some ways
ddellacosta has joined #nixos
<tilpner> dminuoso: What bits do you want to share? Packages? Functions? Intermediate derivations? Secrets?
<pingiun> this is a new pool and I wanted to create a thin LV in it
<immae> tilpner: how does it limit?
<dminuoso> tilpner: ports and socket information.
<dminuoso> tilpner: (and some directories where certificates can be found)
<{^_^}> [nixpkgs] @rasendubi merged pull request #71937 → exercism: 3.0.12 -> 3.0.13 → https://git.io/Je0DE
<{^_^}> [nixpkgs] @rasendubi pushed 2 commits to master: https://git.io/Je0jl
lawlesseel has joined #nixos
<tilpner> dminuoso: Easy, write a module that adds options. Set those options from another module, and then you can refer to config.hwinfo.ports.foo.bar (or any more sensible option name you want)
<tilpner> dminuoso: { lib, ... }: { options.hwinfo.ports = lib.mkOption { ... }; }
<tilpner> dminuoso: { ... }: { fileSystems = {...}; /* this is your device specific config */ hwinfo.ports = { ... }; }
<tilpner> dminuoso: { config, ... }: { /* this is a service module */ services.foo.bar = config.hwinfo.ports.quux; }
<dminuoso> tilpner: Gotcha, I got it already from "write a module that adds options" :)
Ariakenom is now known as Ariakenom
<Kalm004> Related to the deploy of RDS with a security group, If fact we are not even able to deploy this example: https://github.com/NixOS/nixops-aws/blob/master/tests/functional/ec2-rds-dbinstance-with-sg.nix
<tilpner> immae: I prefer to write modules so that they can be imported standalone, and don't depend on their user already importing a dependency somewhere else
<tilpner> immae: This means my modules import everything they need to work
<immae> right
<tilpner> immae: But if one of the modules they need to work is a function, it may not be imported twice
_pash has quit [Ping timeout: 240 seconds]
<immae> In my case I wanted to stay as close as possible from the "nixos" version
knupfer has quit [Quit: knupfer]
knupfer1 has joined #nixos
<immae> (so that I can follow when it changes)
<tilpner> immae: So now there is no pretty way to have self-contained modules
<tilpner> (Unless you proxy your module imports in a way that doesn't conflict, which I've seen done before, but adds files)
<immae> tilpner: I wanted to have several distinct apache httpd servers, but nixos version doesn’t permit that, so I ended up witht hat: https://git.immae.eu/?p=perso/Immae/Config/Nix.git;a=blob;f=modules/websites/httpd-service-builder.nix;h=d049202c1d59c5c9e8b496240cd38f4cb7b83122;hb=HEAD
b101010 has quit [Ping timeout: 265 seconds]
<immae> (a function that builds a `apacheFoo` module)
knupfer1 is now known as knupfer
<tilpner> immae: And since you know what you're doing, and you don't care about self-contained modules, that's fine
ddellacosta has quit [Ping timeout: 245 seconds]
<immae> yes, right, it was a wrong advice to give to dminuoso I just followed his path too fast
<tilpner> You weren't wrong, it can be done like that. I just warned about possible conflicts :)
<dminuoso> immae: No worries, I consider your input valuable nevertheless.
<dminuoso> Thank you both tilpner and immae, making an option module seems like a great approach to this.
<dminuoso> It solves many other issues here.
<dminuoso> :)
<immae> dminuoso: cool :)
alexherbo2 has quit [Ping timeout: 252 seconds]
alexherbo23 has joined #nixos
peanutbutter144_ has joined #nixos
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b101010 has joined #nixos
alexherbo23 has quit [Ping timeout: 268 seconds]
Neo-- has joined #nixos
toppler has quit [Ping timeout: 250 seconds]
selfsymmetric-mu has quit [Remote host closed the connection]
Fare has joined #nixos
tilpner has quit [Quit: tilpner]
stzsch has quit [Ping timeout: 276 seconds]
cosimone has quit [Remote host closed the connection]
Maise has quit [Remote host closed the connection]
kuznero has joined #nixos
<kuznero> Nice presentation on overlays, gchristensen! Thanks
cosimone has joined #nixos
toppler has joined #nixos
cosimone has quit [Client Quit]
b101010 has quit [Read error: Connection timed out]
b101010 has joined #nixos
<makefu> the nixcon livestream needs https://www.youtube.com/watch?v=C23E5grsczE for the pauses :D
Kalm004 has quit [Remote host closed the connection]
stzsch has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
fuzen has quit [Quit: ZNC - https://znc.in]
peanutbutter144_ has quit [Ping timeout: 276 seconds]
eskytthe has joined #nixos
peanutbutter144_ has joined #nixos
<kuznero> :D
<megfault> +1
jd823592 has left #nixos [#nixos]
alexherbo23 has joined #nixos
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @marsam reopened pull request #71956 → libogg: fix build on darwin → https://git.io/Je0QX
<{^_^}> [nixpkgs] @Mic92 merged pull request #71970 → scripts/gce: make image name configurable → https://git.io/Je0Fp
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/JeEeq
<Neo--> I want to update helm package to 15.1 but I've noticed that when I accidentally didn't update the sha256, the build didn't fail - anyone has an idea why that would be the case?
fuzen has joined #nixos
<exarkun> Your src is a fixed-output derivation
<exarkun> You changed the definition of where to get it but you didn't change the sha256 to expect of it
<exarkun> nix noticed that there was already a store object with that sha256
<exarkun> and since it is a fixed-output derivation, it *knows* that regardless of where the source comes from, if the sha256 matches it is the same
<kuznero> nixcon resumed ;)
<exarkun> So it used the existing store object instead of retrieving the source from the new location you specified
<Neo--> exarkun, the package is updated
<exarkun> I don't think it is
<exarkun> perhaps you can double check?
<Neo--> checked
<Neo--> Client: &version.Version{SemVer:"v2.15.1", GitCommit:"", GitTreeState:"clean"}
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 23 commits to nixos-unstable-small: https://git.io/JeEeZ
<Neo--> i have a faint recollection that there's something with go packages
<Neo--> in play for this
<Neo--> but not sure
<exarkun> I don't know anything about how Golang packages work on NixOS
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @edolstra to nixpkgs-19.09-darwin « nix-daemon.nix: Fix checkConfig »: https://git.io/Je0je
<exarkun> I assumed you're using one of the fetch* library functions and that's where you didn't update the sha256
<exarkun> If it was somewhere else then nevermind
<Neo--> nope, fetchfromgithub
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/8b6bfda0cf9 (from 50 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<exarkun> okay. Well, fetchFromGitHub works the way I described, so that's a bit odd.
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d3185b1f31d (from 60 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<Neo--> mhm :)
freeman42x has joined #nixos
freeman42xx has joined #nixos
dsx has quit [Quit: dsx]
eskytthe has quit [Ping timeout: 265 seconds]
bvdw has quit [Read error: Connection reset by peer]
bahamas has joined #nixos
waleee-cl has joined #nixos
bvdw has joined #nixos
freeman42xx has quit [Client Quit]
<DigitalKiwi> (almost) shameless self promotion https://twitter.com/grhmc/status/1187691161110171648?s=20 if you're at nixconf and would like one get ahold of gchristensen, and if you're not and would, get ahold of me :) ...or if you would like more or different colors or different logo or something new entirely https://twitter.com/ArchKiwi most of my posts the last few months are art i made
fuzen has quit [Quit: ZNC - https://znc.in]
kuznero_ has joined #nixos
<DigitalKiwi> ...or am making (top sekrit led art!)
fuzen has joined #nixos
<{^_^}> [nixpkgs] @kevincox pushed to kevincox-oa_ded « openarena: oa_ded link. »: https://git.io/JeEei
kuznero has quit [Ping timeout: 246 seconds]
alexherbo237 has joined #nixos
myskran has joined #nixos
dsx has joined #nixos
toppler has quit [Ping timeout: 246 seconds]
alexherbo23 has quit [Ping timeout: 252 seconds]
mabel has quit [Read error: Connection reset by peer]
kuznero_ has quit [Ping timeout: 276 seconds]
rajivr___ has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #71956 → libogg: fix build on darwin → https://git.io/Je0QX
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeEey
toppler has joined #nixos
nalck has quit [Quit: nalck]
phreedom_ has joined #nixos
klntsky has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @uskudnik opened pull request #71983 → helm: 2.14.3 -> 2.15.1 → https://git.io/JeEe5
<{^_^}> [nixpkgs] @nixos-channel-bot pushed commit from @edolstra to nixos-19.09-small « nix-daemon.nix: Fix checkConfig »: https://git.io/Je0je
vidbina has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/d3185b1f31d (from 80 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
Fare has quit [Ping timeout: 265 seconds]
lawlesseel has quit [Remote host closed the connection]
phreedom has quit [Ping timeout: 260 seconds]
lawlesseel has joined #nixos
tomorphism has joined #nixos
Ilya_G has joined #nixos
lawlesseel has quit [Remote host closed the connection]
Ilya_G has quit [Client Quit]
endformationage has joined #nixos
klntsky has joined #nixos
Ilya_G has joined #nixos
nschoe has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @marsam merged pull request #71288 → cocotb: init at 1.2.0 → https://git.io/Je46H
<{^_^}> [nixpkgs] @marsam pushed 4 commits to master: https://git.io/JeEve
<Ilya_G> I would like some help with adding overlays.
<tomorphism> Hello! I've just installed Nix on MacOS in multi-user mode and all commands are failing with: `error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted` ... any pointers?
<Yaniel> Ilya_G: you'll need to be a bit more specific
<Ilya_G> There is an issue with the package failing to build and I am trying to add a build flag to remove depreciation warnings from the build
<Ilya_G> It's a long story :) working on it
<tomorphism> I installed, as instructed, with my own non-root user.
<Yaniel> the manual covers the basics
<Ilya_G> So I have a simple recommendation to add this overlay:
<Ilya_G> Sorry manual is too far from where I am. I am clearly lacking context to implement it successfully
<Neo--> exarkun, https://github.com/NixOS/nixpkgs/pull/71983 let's see what blows I guess? :)
<{^_^}> #71983 (by uskudnik, 7 minutes ago, open): helm: 2.14.3 -> 2.15.1
cfricke has quit [Quit: WeeChat 2.6]
<Ilya_G> Recommendation is to add the following overlay
<Ilya_G> open-vm-tools = super.open-vm-tools.overrideAttrs (oldAttrs: { NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ];});
<Ilya_G> so I created an overlay file named open-vm-tools.nix
<Yaniel> Ilya_G: you can just add that to your nix config, no need for an overlay
<bahamas> tomorphism: are you on Catalina? I remember there was an issue with nix on Catalina
<Yaniel> my recommendation is to do that and submit a PR to nixpkgs to fix the package for everyone
<Raito_Bezarius> How to install a nix-built package?
<tomorphism> bahamas: Nope, not taken the plunge yet (think I'll wait!)
<Raito_Bezarius> (I've done nix-build … and got a result/… and I would like for it to be installed)
<Ilya_G> Yaniel it is already being done by worldofpeace
<bahamas> Raito_Bezarius: nix-env -i path/to/package
<Raito_Bezarius> bahamas: Thanks
<Ilya_G> I am using nixos-generate utility to generate a vmdk image from qcow2 and I can't put that in that file
<bahamas> tomorphism: then strange. how did you install nix?
iyzsong-x has quit [Quit: ZNC 1.7.1 - https://znc.in]
<Ilya_G> Yanel: which configuration.nix are you referring to, please?
<tomorphism> bahamas: Via the interactive installer: ` sh <(curl https://nixos.org/nix/install) --daemon`
<Ilya_G> Yaniel ^^^ sorry
<DigitalKiwi> this is the catalina one probably if anyone is interested https://github.com/NixOS/nix/issues/2925
<{^_^}> nix#2925 (by mroi, 20 weeks ago, open): /nix will not be writable on macOS Catalina
alexherbo237 has quit [Quit: Ping timeout (120 seconds)]
<Yaniel> Ilya_G: the one you use to install that package
alexherbo237 has joined #nixos
<Yaniel> usually ~/.config/nixpkgs/config.nix or /etc/nixos/configuration.nix
<Ilya_G> So just modify it directly in the package in nix OS?
<bahamas> tomorphism: I've always installed it like this: curl https://nixos.org/nix/install | sh
<Yaniel> no need to touch the package
bgamari has quit [Ping timeout: 246 seconds]
<Yaniel> just your system configuration
<Yaniel> (unless you installed the package with nix-env -i)
jlm66 has joined #nixos
<Ilya_G> Yaniel: Ideally I would isolate this change into a dile and introduce it as an overlay. This is part of a build system inside a docker and I would like to have it in such a way that I could rebuild it from scratch and have my CI system create that disk image no matter what
vidbina has quit [Ping timeout: 246 seconds]
<Ilya_G> *file
<exarkun> Neo--: are you sure `-ldflags=-X k8s.io/helm/pkg/version.Version=v${version}` doesn't just hard-code whatever version string you give it?
<Yaniel> this is not really something I'd set up an overlay for
<exarkun> Neo--: Can you verify the package was actually upgraded in any other way?
<Yaniel> especially if a fix is already being upstreamed into nixpkgs
<Yaniel> just add it as a local override in whatever file you use to set up your container env
<Ilya_G> Do you know how long fixes like that tend to take?
<Raito_Bezarius> I don't understand something with NixOps, how do you override a plugin source?
<Yaniel> depends on how busy the people with commit access to nixpkgs are
<tomorphism> So these are the permissions as created by the installer: `drwxr-xr-x 3 root wheel 96 25 Oct 14:54 /nix/var/nix/profiles/per-user` — does this look reasonable?
<Neo--> exarkun, huh, good question
<Yaniel> after changes get merged, nixos channels tend to update every couple of days
<Neo--> exarkun, I'm not that familiar with helm
<{^_^}> [nixpkgs] @marsam merged pull request #70797 → Added libvmaf + support for it in ffmpeg-full → https://git.io/JeWR8
<{^_^}> [nixpkgs] @marsam pushed 6 commits to master: https://git.io/JeEvz
<Neo--> exarkun, considering /nix/store paths also include package name and version - those aren't evaluated at evaluation time?
nschoe has joined #nixos
<Neo--> exarkun, it does do the work though (recompile)
<bahamas> tomorphism: in my case, the owner is my user
<bahamas> tomorphism: on mac that is. on NixOS it's root
<bahamas> tomorphism: did you run the script as root?
<Neo--> yeah whatever you write into ldflags gets hardcoded as version
cosimone has joined #nixos
<Neo--> Client: &version.Version{SemVer:"vNEOVERSION2.15.1", GitCommit:"", GitTreeState:"clea
<Ilya_G> Yaniel: sorry, do I add it as part of the let statement or do I add this in the body?
<Yaniel> you do the override as part of your let ... in
<tomorphism> bahamas: Nope! Did you do a single-user or multi-user installation?
<bahamas> tomorphism: I think single user, because only my user shows up in that dir
<__monty__> tomorphism: Fwiw, I've been advised not to run multi-user nix on darwin because it breaks more often.
<tomorphism> Maybe I'll just nuke it and try again with single-user mode then.
<Neo--> exarkun, I think you were correct
<tomorphism> Thanks for the pointers
<Raito_Bezarius> Also, how to debug an issue where I cannot delete a nix store path because "it is still alive" ?
<Neo--> I wrongly assumed that pname and version are also evaluated when looking for package
kreisys has joined #nixos
<Raito_Bezarius> I tried to do nix-store -q --roots on it, but it returned one path and which is one I tried to delete
<Ilya_G> Yaniel: I did something that naturally doesn't work. I am not sure about the proper form:
<Ilya_G> { config, lib, pkgs, options, ... }:let open-vm-tools = super.open-vm-tools.overrideAttrs (oldAttrs: { NIX_CFLAGS_COMPILE = [ "-DGLIB_DISABLE_DEPRECATION_WARNINGS" ]; });
<Ilya_G> it fails to ID what super is
<Yaniel> I think you should be using pkgs there
<Yaniel> pkgs.open-vm-tools
Fare has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<Ilya_G> instead of super?
swapgs has joined #nixos
swapgs has joined #nixos
swapgs has quit [Changing host]
<{^_^}> [nixpkgs] @Lassulus merged pull request #63029 → nixos/stunnel: Fix CA files → https://git.io/fjgbH
<{^_^}> [nixpkgs] @Lassulus pushed 2 commits to master: https://git.io/JeEv1
<Ilya_G> or pkgs.open-vm-tools
<Ilya_G> pkgs.open-vm-tools = super.open-vm-tools ...
<Ilya_G> cause it doesn't know what super is in this case
tomorphism has quit [Remote host closed the connection]
<Ilya_G> Yaniel: Cause variable in let does not get evaluated unless something calls it, so I am not even sure how it would tie in
Okinan has joined #nixos
toppler has joined #nixos
jlm66 has quit [Ping timeout: 264 seconds]
Guest84 has joined #nixos
<Guest84> Is there a way to generate a random integer in nix? builtins and stdenv.lib seem to not have anything named ".*rand.*"
<Guest84> *`".*rand.*"`
<AmandaC> I doubt it? That seems like the opposite of what nix is meant for?
<simpson> Guest84: What are you trying to build? You can call various PRNG utilities from within a builder.
<Guest84> You'd be right about that :)
<Guest84> AmandaC: ^^
<Guest84> simpson: I'm trying to start a postgres server in a nix-shell, on a random port
<{^_^}> [nixpkgs] @Ma27 opened pull request #71984 → neomutt: 20180716 -> 2019-10-25 → https://git.io/JeEft
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeEfq
<{^_^}> [nixpkgs] @globin merged pull request #71812 → linux: Enable KEYBOARD_APPLESPI → https://git.io/Je0md
<Guest84> simpson: I can use $RANDOM inside the shell script, you're right. Was wondering anyway
<simpson> Guest84: Either Don't Do That, or use a shell hook and something like bash's $RANDOM.
eskytthe has joined #nixos
<Guest84> haha, it's a nix shell, think of this like running a program. While AmandaC: (and you) would be right in general, in this case I don't think it's against the best principles
<wrl> hey is there a good resource for "how to package some third-party software on nixos"?
<wrl> is there perhaps a pill for that
<alexarice[m]> wrl: what do you mean by third-party software. Isn't all software third party
<simpson> Guest84: https://nixos.org/nix/manual/ search for shellHook
<wrl> alexarice[m]: well i walked right into that one eh
<Guest84> I *am* using a shell hook :)
<Guest84> I just hate bash though
<simpson> Oh! I see. Modify your desires.
<Guest84> I don't see why a 40 year old scripting language is still around
<Guest84> ad-hoc designed :)
<Guest84> Thank you, I hope I'm not being impolite
<simpson> Maybe you don't want to use Nix, then?
<AmandaC> I mean, bash knowledge isn't really that nessary for using nix, at least none of the insane stuff I've seen bash used for is
<simpson> You can, of course, call a program of your choice inside the shellHook and then have that program do PRNG work. You are not forced to use $RANDOM.
<alexarice[m]> wrl: I wasn't trying to be difficult, I just don't understand what you are trying to do and how it differs from the usual method of packaging stuff on nix
<Guest84> wrl: Are you suggesting stuff that is binary only?
<Guest84> *talking about
<Guest84> AmandaC: No, it's not. And to be honest, I am decent at bash. I just don't like reading it :)
<dminuoso> What's the general protocol of merging if the same option is met with a list in two modules?
* AmandaC personally doesn't like witing bash, or trying to read anything other than simple shell stuff that's common to 99% of all shells
<dminuoso> Are lists merged? Is there a way to specifcy merging strategies?
<__monty__> Bash not modern enough, meanwhile I'd prefer if it was all POSIX : >
<AmandaC> My main problem with more advanced bash stuff is it's symbol soup almost. If I wanted symbol soup, I'd read perl
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #nixos
astrall33 has joined #nixos
<simpson> Guest84: There's a group of folks, Guix, working to use Guile instead of bash, if you prefer a different GNU-provided scripting language. Dhall is usable as a replacement for the Nix language today, if you like, although you'll still have bash for builders.
<simpson> (And, of course, every sufficiently-motivated programming language community is working to rewrite *everything* in their languages of choice.)
fritz has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #71985 → pass-checkup: Remove trailing dot → https://git.io/JeEfE
b101010 has quit [Ping timeout: 276 seconds]
Fare has quit [Ping timeout: 265 seconds]
<fritz> \j
Fare has joined #nixos
tilpner has joined #nixos
Kalm004 has joined #nixos
<wrl> Guest84: yeah, it's binary only
<wrl> i'm fairly new to nixos so I'm beating around the bush on just diving in to writing a derivation
<{^_^}> [nix] @Ericson2314 opened pull request #3165 → Switch to nixpkgs 19.09 → https://git.io/JeEfg
<wrl> there are a few other binary-only pieces of software in the repos that I could start from but if there were some docs about "best practices" for this sort of thing then I'd prefer to follow that
<Guest84> Read up on patchelf
<wrl> cc alexarice[m]
<Guest84> wrl: ^^
<alexarice[m]> wrl: You'll probably need to use patchelf
fritz has quit [Client Quit]
cosimone has quit [Quit: Terminated!]
<Guest84> I don't think there's much. Basically just 3 steps- patchelf, appropriate license in the meta and copy paste to $out.
cosimone has joined #nixos
fritzotlinghaus has joined #nixos
monotux has quit [Quit: WeeChat 2.4]
fusion809 has quit [Remote host closed the connection]
<alexarice[m]> wrl: a lot of packages in nixpkgs use patchelf so you should be able to grep some examples
monotux has joined #nixos
<alexarice[m]> nix manual also has a section on it I believe
<wrl> alright i'll give it a shot
<wrl> why, uh
<wrl> why is patchelf necessary?
Fare has quit [Ping timeout: 264 seconds]
fritzotlinghaus is now known as Scriptkiddi
<Guest84> oh boy. you'll need to read :)
<Guest84> I don't mean to be dismissive
<wrl> no not at all!
<wrl> i figured rpath was the reasoning
<Guest84> but that question would require one to explain some pretty basic things
<Guest84> would take long
<Twey> wrl: Interpreter and rpath
<simpson> Maybe reading over what patchelf can *do* would be more useful; it generally can only do the things that the community has needed: https://github.com/nixos/patchelf
<Guest84> in short though- nix, as you might know, has software in non-standard locations. (deliberate choice to avoid impure building in years of old before namespaces)
<wrl> yeah, do understand that
<wrl> ahhh i think i get it more now
<makefu> Guest84: not sure if still relevant, this is what you could use for getting a (deterministic) random input: nix-build -E '(import <nixpkgs> {}).pkgs.runCommandNoCC "lol" {} "RANDOM=23; echo $RANDOM > $out"'
b101010 has joined #nixos
<simpson> A lot of this is going to boil down to attempting to run the binary and seeing what breaks, or some similarly slow and risky procedure.
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<wrl> if i'm doing something like nix-shell, nix maps the dependencies into the usual "standard" linux paths
toppler has quit [Ping timeout: 265 seconds]
<wrl> but that doesn't happen if i'm just running a standalone executable
<Guest84> makefu: I just ended up using shell.
fuzen has quit [Quit: ZNC - https://znc.in]
<makefu> fair
fuzen has joined #nixos
<simpson> wrl: Check the paths carefully; nix-shell doesn't put anything in /usr. On NixOS, the only thing in there is /usr/bin/env. Almost everything is actually in /nix. The FHS is not provided.
<wrl> simpson: got it
Ariakenom has quit [Quit: WeeChat 2.6]
<wrl> hm, ok related but slightly different question
<Ilya_G> worldofpeace: May I ask you a question about a recent issue you are in a process of addressing?
<wrl> if there's a package in nixpkgs proper but i want to override a few things in the derivation that don't seem to be overridable, what's the best way to do that? copy it somewhere local and modify it?
<DigitalKiwi> you just did
<Guest84> dminuoso: can you give an example?
bahamas has quit [Quit: Lost terminal]
<DigitalKiwi> one question only! darn quotas... :P
<worldofpeace> Ilya_G: umm, which issue?
<dminuoso> Guest84: Sure. Say you define `network.interfaces.ens123.allowedTCPPorts = [ 22 ];` in one module and `network.interfaces.ens123.allowedTCPPorts = [ 443 ];` in another.
<simpson> wrl: It really really depends. If the derivation's only 10-20 lines, and the attribute can't be overriden because it's computed somehow in a funky way, then yeah. But it's a serious tradeoff, and often there's a way to do the overriding. Which package?
<{^_^}> #71311 (by alexvorobiev, 1 week ago, closed): Building open-vm-tools fails with error: Deprecated pre-processor symbol [-Werror]
<Ilya_G> I am the dude in the hat in that exchange
<Guest84> I believe they *are* merged. Concatenated
<wrl> simpson: it looks like i won't actually have to do so, but https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/renoise/default.nix
<wrl> i wanted to override "version"
toppler has joined #nixos
<Ilya_G> worldofpeace I am trying to create an override and my build does not pick it up
Guest84 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #71985 → pass-checkup: Remove trailing dot → https://git.io/JeEfE
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeEJH
jlm66 has joined #nixos
<Ilya_G> I am using nixos-generate utility to build a qcow2 image
<Ilya_G> and this is where the open-vm-tools error accurs
<simpson> wrl: Ah, you'll also have to override the hashes, since they've likely changed. If you're just trying to update the version, you might find it worth your while to send in your version bump. Note that this package has a funky bootstrapping step, likely due to some wacky unfree licensing.
cosimone has quit [Remote host closed the connection]
ornxka is now known as notabotiswear
<wrl> simpson: no hashes for this particular package
<wrl> simpson: the funky bootstrapping is because the developer builds per-user "watermarked" executables
cosimone has joined #nixos
<wrl> so there's no common hash
<worldofpeace> Ilya_G: hmm, you said "in the proccess of addressing, I fixed that yesterday https://github.com/NixOS/nixpkgs/commit/8f3297fbf25cf4cfbe2c2abefe61df56324fe85f
notabotiswear is now known as normalcomputerus
<wrl> simpson: you may actually be able to help out with what i'm trying to do though
<Ilya_G> worldofpeace: I am trying to understand how to work this overlay for my configuration.nix to pick it up
<Raito_Bezarius> What is the effect of fixMergeModules?
normalcomputerus is now known as ornxka
b101010 has quit [Remote host closed the connection]
<worldofpeace> Ilya_G: ahh I see, could paste somewhere with what you have? I believe I left only a snippet
knupfer has quit [Remote host closed the connection]
b101010 has joined #nixos
knupfer has joined #nixos
<Ilya_G> worldofpeace: this is awesome. What would I need to do to pull the latest from nix packages to build against?
<Ilya_G> I am building stuff in a docker
<wrl> simpson: i'm trying to do the following: nixpkgs.config.packageOverrides = pkgs: { renoise = pkgs.renoise.override { releasePath = "~/Downloads/filename.tgz" }; };
<Ilya_G> Should I just rebuild my image?
<wrl> simpson: however, it seems that ~ isn't being expanded to $HOME here
<wrl> is there an idiomatic way to do that?
<worldofpeace> DigitalKiwi: Tell my why the nixos pride stickers are literally just me as a snowflake 🤣
<simpson> wrl: Hand-expand it. AFAIK there's no good way to get it auto-expanded to *your* home and not the Nix daemon's.
<Ilya_G> worldofpeace: should I just rebuild my docker image that I use to build my disk images?
<Ilya_G> Or would it take a few days to become available in the channel?
<worldofpeace> Ilya_G: well the problem was open-vm-tools fail to build and something depends on it? it's probably simplest to use an override in nixos-overlays
<worldofpeace> Yes it would take a few days
<Ilya_G> worldofpeace: So I should go along with overlays path anyways?
<{^_^}> [nixpkgs] @bjornfor pushed commit from @r-ryantm to master « thrift: 0.12.0 -> 0.13.0 »: https://git.io/JeEUf
<{^_^}> [nixpkgs] @bjornfor merged pull request #71918 → thrift: 0.12.0 -> 0.13.0 → https://git.io/Je0PA
<Ilya_G> worldofpeace I unfortunately have a hard time making heads or tails of the Overlays documentation
astrall33 has quit [Ping timeout: 268 seconds]
<wrl> simpson: hm, absolute path isn't working either. do homedirs not end up in whatever build sandbox nix is using?
<DigitalKiwi> worldofpeace: you're a beautiful unique snowflake
<worldofpeace> Ilya_G: yep, util it's fixed you could drop it. it would be https://github.com/NixOS/nixpkgs/issues/71311#issuecomment-545926369
tsrt^ has quit [Ping timeout: 240 seconds]
<simpson> wrl: I'm not sure how this bootstrap's supposed to work, TBH.
<worldofpeace> Ilya_G: I'd use nixpkgs.overlays https://nixos.org/nixos/options.html#nixpkgs.overlays
<Ilya_G> worldofpeace: That makes perfect sense in itself. I am just having hard time working it into my system
<Ilya_G> Do I need to modify NIXPATH as the document recommends?
<{^_^}> [nixpkgs] @Lassulus merged pull request #71887 → qpdfview: hardcode qmake files → https://git.io/Je0Ex
<{^_^}> [nixpkgs] @Lassulus pushed commit from @rardiol to master « qpdfview: find qmake files at preConfigure »: https://git.io/JeEUk
<wrl> simpson: no worries, i'll keep digging :)
<wrl> thanks for your help
<{^_^}> [nixpkgs] @Ma27 merged pull request #70441 → gotify-server: init at 2.0.10 → https://git.io/JeCI8
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/JeEUt
<{^_^}> [nixpkgs] @rawkode closed pull request #66329 → wavebox: 4.7.3 -> 4.11.1 → https://git.io/fj7vs
<Ilya_G> worldofpeace just drop it into the body of my configuration.nix for image build?
<worldofpeace> DigitalKiwi: We're a splendid sparkling fire, like a flickering sun flame. more like a sun-flake though
<worldofpeace> Ilya_G: I believe so
<Ilya_G> @worl
<Ilya_G> worldofpeace it didn't blow up and started the bbuild so that is a good sign :)
<worldofpeace> hmm, the overlays docs could be a bit more practical. nixpkgs.overlays makes the most sense from a users point of view
<Ilya_G> I would love to fix it I just can't even understand where to egin.
<Ilya_G> *begin
<DigitalKiwi> worldofpeace: i read that in hulk voice
<DigitalKiwi> thor like
<DigitalKiwi> water
<worldofpeace> lol DigitalKiwi try it in elegant nuanced poetic voice
<worldofpeace> it makes more sense then
<DigitalKiwi> but i like hulk :(
mmlb has joined #nixos
<Ilya_G> Oh, wow. DigitalKiwi can actually respond. Are you a bot?
<simpson> You don't have to answer that.
<DigitalKiwi> yes, my creator has horrible internet though so i have a lot of lag time
<Ilya_G> DigitalKiwi I have a lot of lag time in real life. I feel your pain.
<DigitalKiwi> something hasn't been right with my wifi since the new nixos :<
<DigitalKiwi> there's a lot of times i have like 40% packet loss if i have connection at all...
b101010 has quit [Ping timeout: 246 seconds]
Kalm004 has quit [Remote host closed the connection]
<worldofpeace> Ilya_G: hope you get your setup working. have to go 👋
<Ilya_G> worldofpeace you are the best, regardless. thank you
<{^_^}> [nixpkgs] @mtetreault opened pull request #71986 → plymouth: Add extra config field → https://git.io/JeEUc
b101010 has joined #nixos
dm9 has joined #nixos
Ariakenom has joined #nixos
noudle has joined #nixos
eskytthe has quit [Ping timeout: 265 seconds]
fendor has quit [Ping timeout: 240 seconds]
toppler has quit [Ping timeout: 265 seconds]
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @FRidh merged pull request #71800 → pipenv: patch pipenv to point to python that has virtualenv → https://git.io/Je0LW
<{^_^}> [nixpkgs] @FRidh pushed to master « pipenv: patch pipenv to point to python that has virtualenv »: https://git.io/JeEU4
toppler has joined #nixos
nalck has joined #nixos
<Acou_Bass> has anyone been using the newly available bitlbee-mastodon plugin on 19.09? I used to use it before i switched to NixOS on another distro andit sometimes crashes out... BUT the version on 19.09 just crashes every time and never works
<Ilya_G> worldofpeace I am past my original error. This one is a win! Thank you very much again.
<Acou_Bass> there's apparently an open issue with it where you can work around it by disabling twitter first, then turning mastodon on, then turning twitter on... but i dont have twitter enabled :P
Ilya_G has quit [Remote host closed the connection]
erasmas has joined #nixos
mabel has joined #nixos
__Sander__ has quit [Quit: Konversation terminated!]
wildtrees has joined #nixos
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
tsrt^ has joined #nixos
tsrt^ has quit [Max SendQ exceeded]
<{^_^}> [nix] @blitz opened pull request #3166 → PoC: Add fetchSubmodules to builtins.fetchGit → https://git.io/JeETI
b101010 has quit [Quit: Leaving]
M-Gregoire49 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixops-aws] @AmineChikhaoui pushed to master « partially revert 0af9c8b »: https://git.io/JeETO
sarahzrf has joined #nixos
<sarahzrf> hey
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #71987 → mpv: 0.29.1 -> 0.30.0 → https://git.io/JeETl
<sarahzrf> is it possible to get ihaskell working? :\ (i use nix on arch, not nixos)
<Twey> Hey
<{^_^}> [nixpkgs] @tadeokondrak closed pull request #64442 → mpv: fix drm and vulkan support → https://git.io/fji2D
Tucky has quit [Quit: WeeChat 2.6]
<Twey> sarahzrf: What happens if you just `nix-shell -p ihaskell --run ihaskell-notebook`?
<sarahzrf> error: Package ‘ihaskell-0.10.0.2’ in /nix/store/qq3rgrbb94ky1k1l167a6j08b1ijydhl-nixpkgs-20.03pre197736.91d5b3f07d2/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:133408 is marked as broken, refusing to evaluate.
<sarahzrf> sorry, shouldve led with that :)
<sarahzrf> im currently about to try marking it unbroken and seeing what goes wrong 🤔
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71866 → qownnotes: 19.9.16 -> 19.10.10 → https://git.io/Je04B
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « qownnotes: 19.9.16 -> 19.10.10 (#71866) »: https://git.io/JeET0
<Twey> sarahzrf: You can try just setting `allowBroken = true` in your nixpkgs config… yeah, that :)
<nilsirl[m]> Is there a way to set multiple keys to a value? like x.y = true; x.z = true; but with syntax sugar if that makes sense
<nilsirl[m]> * Is there a way to set multiple keys to a value? like x.y = true; x.z = true; but with syntax sugar if that makes sense?
wfranzini has quit [Remote host closed the connection]
<Twey> nilsirl[m]: x = rec { y = true; x = y; }; is the best I can think of
<Twey> nilsirl[m]: In theory I guess you could have syntax like { ${["y" "z"]} = true; } but we don't have it
<{^_^}> [nixpkgs] @davidtwco opened pull request #71988 → starship: 0.25.0 -> 0.25.2 → https://git.io/JeETa
<Twey> s/x = y/z = y/
<sarahzrf> i feel like *bytes* should probably fucking build
<sarahzrf> what
<Twey> That does look broken :(
<ornxka> 2019-10-25T16:05:15.655967Z qemu-system-x86_64: Could not find '/usr/sbin/smbd', please install it
<ornxka> noooooooooooooooooooooooooooooooooo
toppler has quit [Ping timeout: 240 seconds]
<tdeo> can someone merge #70979? discord completely fails to launch if it's out of date and it's a backport of a merged pr
<{^_^}> https://github.com/NixOS/nixpkgs/pull/70979 (by tadeokondrak, 2 weeks ago, open): discord-canary: 0.0.96 -> 0.0.97 (backport)
ubert has quit [Quit: Leaving]
<Twey> ornxka: That's weird, there's an explicit path passed to smbd and everything: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/qemu/default.nix#L128
<ornxka> ahhhhh
<Twey> ornxka: Oh, but it's off by default; try setting smbdSupport = true?
<ornxka> i did not have samba support enabled
<ornxka> yeah i will try that
<sarahzrf> oh im trying to use ghc 8.8.1, thats the prob
<sarahzrf> kk
<ornxka> uh how do i set optional flags
toppler has joined #nixos
peanutbutter144 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
logzet has joined #nixos
alexherbo2377 has joined #nixos
alexherbo237 has quit [Ping timeout: 265 seconds]
<ornxka> oh god it has to actually rebuild qemu
<Twey> ornxka: Yeah, it looks like qemu only accepts paths to smbd at build time…
alexherbo2377 has quit [Ping timeout: 268 seconds]
alexherbo2377 has joined #nixos
justan0theruser has joined #nixos
justanotheruser has quit [Ping timeout: 265 seconds]
alexherbo2377 has quit [Ping timeout: 240 seconds]
FRidh has quit [Quit: Konversation terminated!]
M-Gregoire49 has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
mexisme has joined #nixos
drakonis has quit [Quit: WeeChat 2.6]
mexisme has quit [Ping timeout: 246 seconds]
logzet has quit [Ping timeout: 245 seconds]
ng0_ has joined #nixos
ng0 has quit [Ping timeout: 260 seconds]
ng0_ is now known as ng0
m0rphism has joined #nixos
ddellacosta has quit [Ping timeout: 252 seconds]
ddellacosta has joined #nixos
cosimone has quit [Quit: Terminated!]
astrall33 has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @twhitehead opened pull request #71989 → spyder: withPackages passthru for python console (closes #70986) → https://git.io/JeEkL
jb55 has quit [Remote host closed the connection]
toppler has joined #nixos
<sarahzrf> Twey: huh so ihaskell & so on actually did build fine 🤔
<sarahzrf> neat!
drakonis has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
nalck has quit [Ping timeout: 246 seconds]
exfalso has joined #nixos
<exfalso> Hi, is there a way to expose a /dev device to a derivation build?
<mdash> exfalso: typically builds shouldn't depend on anything particular to a system
<mdash> exfalso: what do you want to do?
<Twey> sarahzrf: Nice! What did you have to do?
<sarahzrf> literally just switch to 865 from 881
<exfalso> the build itself wouldn't, it's a test suite that needs it
<l33[m]> Can someone explain to me what —substituters and —extra-substitutors auto?trusted=1 does in nix-env -store
<mdash> exfalso: aha. maybe patch the test suite or skip it entirely?
<sarahzrf> ghc 8.6.5 from ghc 8.8.1 i mean
<exfalso> mdash: well it's our tests :D
<exfalso> mdash: should I just separate out the tests from the build and run it outside of the derivation?
<mdash> exfalso: i wouldn't run integration tests inside the build, no
qqlq has joined #nixos
<exfalso> mdash: ok, makes sense, thank you!
<mdash> exfalso: typically it's just for isolated tests that make sure the build came out ok
sigmundv has quit [Ping timeout: 240 seconds]
<nilsirl[m]> disasm: I have the same problem you described here: https://logs.nix.samueldr.com/nixos/2019-10-01#2637855;
<nilsirl[m]> And I'm pretty it might have a negative effect on my side
<DigitalKiwi> i had that too i think it went away after a reboot or something
siiky has quit [Quit: leaving]
<DigitalKiwi> at least i haven't seen it in a while
jlm66 has quit [Remote host closed the connection]
siiky has joined #nixos
cyris212 has quit [Quit: ZNC 1.7.3 - https://znc.in]
jlm66 has joined #nixos
v0|d has joined #nixos
cyris212 has joined #nixos
<nilsirl[m]> DigitalKiwi disasm : it was caused by `services.locate.enable = true` on my side
jollyjester has joined #nixos
<jollyjester> hello
<jollyjester> nixos doesn't have a /etc/xdg
<jollyjester> so what can i use instead
<jollyjester> or where is /etc/xdg moved to?
qqlq has quit [Quit: ZNC 1.7.5 - https://znc.in]
qqlq has joined #nixos
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeEk8
<{^_^}> [nixpkgs] @Ma27 merged pull request #71963 → Address nextcloud "urgent security issue" w/nginx per upstream recs → https://git.io/Je05k
<Twey> jollyjester: You can make /etc/xdg in your config.nix if you want
<Twey> configuration.nix, even
<Twey> jollyjester: Or you can use ~/.config
<Twey> Depending on whether you want it to be system or user config
<{^_^}> [nixpkgs] @terlar opened pull request #71990 → melpa-packages: 2019-10-25 → https://git.io/JeEku
<{^_^}> [nixpkgs] @Ma27 pushed commit from @dtzWill to release-19.09 « nixos/nextcloud: update config for "urgent security issue" »: https://git.io/JeEkz
<DigitalKiwi> nilsirl[m]: oh, i have that set, too
waleee-cl has quit [Quit: Connection closed for inactivity]
Maise has joined #nixos
<hpfr[m]> Is Firefox segfaulting for anyone else? It crashed after a few minutes of use and then immediately segfaults if I try to run it again
jlm66 has quit [Remote host closed the connection]
ambro718 has joined #nixos
jlm66 has joined #nixos
qqlq has quit [Quit: ZNC 1.7.5 - https://znc.in]
<DigitalKiwi> nilsirl[m]: but i haven't changed it and i've done nixos-upgrade switch a few times and don't recall seeing it anymore (am on nixos-unstable)
jollyjester has quit [Quit: leaving]
<DigitalKiwi> +the actual names of things
_pash has joined #nixos
toppler has quit [Ping timeout: 240 seconds]
<_pash> why is it that when i do `nix search` i get results from both nixos. and nixpkgs.
alexherbo2377 has joined #nixos
drakonis_ has joined #nixos
<__monty__> It probably searches all your channels.
<__monty__> Maybe you can pass the channel you wan't searched?
<_pash> __monty__: i guess the real question is, i dont know where it knows about nixpkgs from
<_pash> i only have defined nixos in sudo nix-channel
<{^_^}> [nixpkgs] @iimog opened pull request #71991 → DCMTK: init at 3.6.4 → https://git.io/JeEkX
<__monty__> Ah, it probably uses your user's channels. Unless you're running sudo nix search?
<_pash> __monty__: and in fact both point to the same place with nix-instantiate
<_pash> __monty__: my nix-channels from user side are empty
<Maise> Nearly got devkitPro building properly - just need to solve a couple small issues.1) Halfway through the build, it compiles against zlib incorrectly, causing https://stackoverflow.com/questions/21648912/undefined-reference-to-uncompress-zlib . I 'fixed' this by adding -lz to the two calls in nix-shell, but that obv. wont work for nix-build. How can
<Maise> I get gcc to use that flag by default (is that safe?) so that they will compile?2) The result of the expression is a set of executables in $src/tools/bin - how do I export them and the `DEVKITPRO` and `DEVKITARM` enviroment variables that are meant to be set?
avn has joined #nixos
<__monty__> _pash: Maybe there's an entry in NIX_PATH?
<Maise> Ah IRC doesnt support newlines
<{^_^}> [nixpkgs] @sikmir opened pull request #71992 → mu-repo: init at 1.8.0 → https://git.io/JeEky
chloekek has joined #nixos
<simpson> Maise: Is this *your* SO question? Who knows what their particular problem is. Could you share the Nix expression that you're writing instead?
toppler has joined #nixos
<Maise> Oh, that isnt a problem I'm facing - I need to pass the `-lz` flag to `gcc`, which I did to complete a build in `nix-shell`, I'm just trying to translate that to a full expression. Heres what I've got at the moment (used with nix-shell) https://hasteb.in/wisiniwi.bash
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #71923 → tbb: 2019_U8 -> 2019_U9 → https://git.io/Je0XP
<{^_^}> [nixpkgs] @thoughtpolice pushed commit from @r-ryantm to master « tbb: 2019_U8 -> 2019_U9 »: https://git.io/JeEk9
<_pash> __monty__: aaah, it has nixpkgs=....
<_pash> but i dint put it there... who did?
<Maise> I was hoping there would be a way to put `-lz` in gcc's 'default flags', which I presume wouldve had to be done in the build environment this repo would compile in
cyris212 has quit [Quit: ZNC 1.7.4 - https://znc.in]
<__monty__> _pash: Not sure, might be there by default.
jlm66 has quit [Quit: Leaving]
<ar> .locate libwebsockets.h
<ar> ,locate libwebsockets.h
<{^_^}> Found in packages: libwebsockets
cosimone has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #71987 → mpv: 0.29.1 -> 0.30.0 → https://git.io/JeETl
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/JeEkN
qqlq has joined #nixos
_pash has quit [Quit: leaving]
cosimone has quit [Quit: Terminated!]
<inkbottle> What is the NixOS equivalent of: nix-env --list-generations?
justan0theruser has quit [Ping timeout: 265 seconds]
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2019-10-24 -> 2019-10-25 »: https://git.io/JeEkj
nschoe has quit [Ping timeout: 240 seconds]
jlm66 has joined #nixos
_pash has joined #nixos
<simpson> Coworkers successfully converted. "Nix seems neat", "yeah I'm a fan of Nix now too", "never used it till yesterday"
jlm66 has quit [Remote host closed the connection]
* simpson evil laughs internally
<pie_> nh2[m]: nh2_: you should talk to edef about the low level nix cachey stuff and also tell nmattia if you happen to see him ,it think itt would be worthwhilee
qqlq has quit [Ping timeout: 265 seconds]
<inkbottle> nix-env --list-generations --profile /nix/var/nix/profiles/system
<{^_^}> #31351 (by MrSorcus, 1 year ago, closed): List-generations empty.
jlm66 has joined #nixos
<pie_> simpson: you at nixocon?
justan0theruser has joined #nixos
b1000101 has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71920 → epsxe: fix link with openssl → https://git.io/Je0XJ
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @guibou to master « epsxe: fix link with openssl (#71920) »: https://git.io/JeEIT
<simpson> pie_: No, I'm at work.
<lassulus> why is nixcon not work?
<hpfr[m]> I’m getting a bunch of addons.xpi errors when starting Firefox, for example I can’t use the screenshot feature. This doesn’t happen with a clean profile. Is there some way I can refresh the profile data?
<mdash> hpfr[m]: oh, so that's why i lost my screenshot button
<mdash> I don't have a solution but I admire the problem
<__monty__> inkbottle: Note that home-manager and nix-env would still use your default profile.
<__monty__> Rather than the system profile.
<mdash> hpfr[m]: maybe try 'Refresh Firefox' on the about:support page
toppler has quit [Ping timeout: 240 seconds]
hpfr has joined #nixos
<inkbottle> is nix-env --delete-generations --profile /nix/var/nix/profiles/system somehow equivalent to nix-collect-garbage -d? (__monty__ I've not yet considered home manager, I'm still in the nix pills)
<inkbottle> nix pill #11
<{^_^}> https://github.com/NixOS/nixpkgs/pull/11 (by garbas, 7 years ago, closed): gimp 2.8
<azazel> inkbottle: partially, yes
<inkbottle> Thanks
<__monty__> inkbottle: nix-collect-garbage -d first deletes all old generations on all profiles then collects garbage.
<hpfr> mdash: it appears to be similar to this nightly bug from months ago that was closed as incomplete :/ https://old.reddit.com/r/firefox/comments/bp96rt/extensions_appear_disabled_even_though/
<azazel> nix-collect-garbage does adds the collection
<__monty__> nix-env --delete-generations only deletes generations, i.e., removes their gc-roots.
<inkbottle> ok
noudle has quit []
<inkbottle> Thanks a lot, I think I've got what needed to go through the 11th pill
toppler has joined #nixos
astrall33 has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @etu opened pull request #71995 → [19.09] php: 7.2.23 -> 7.2.24, 7.3.10 -> 7.3.11 → https://git.io/JeEIC
dashkal_ has quit [Ping timeout: 268 seconds]
dm9 has quit [Quit: WeeChat 2.6]
cyris212 has joined #nixos
cosimone has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @guibou to release-19.09 « epsxe: fix link with openssl »: https://git.io/JeEIz
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71668 → lm_sensors: 3.5.0 -> 3.6.0 → https://git.io/JeRyf
<{^_^}> [nixpkgs] @c0bw3b pushed commit from @r-ryantm to master « lm_sensors: 3.5.0 -> 3.6.0 (#71668) »: https://git.io/JeEIg
<nh2_> Ericson2314: you are also at nixcon, right? We should meet
NightTrain has joined #nixos
<Ericson2314> nh2_: yeah!
<nh2_> Ericson2314: where are you, are you still in the hall?
<Ericson2314> by the couches!
<nh2_> Ericson2314: OK I'll walk over, I have a "ZURIHAC CREW" grey pullover with small red font, please locate me :D
<{^_^}> [nixpkgs] @Lassulus merged pull request #68487 → shattered-pixel-dungeon: init at 0.7.4c → https://git.io/Jemlw
<{^_^}> [nixpkgs] @Lassulus pushed commit from @fgaz to master « shattered-pixel-dungeon: init at 0.7.4c »: https://git.io/JeEIK
<{^_^}> [nixpkgs] @Scriptkiddi opened pull request #71997 → matomo: Refactor to use phpFpm settings instead of extraConfig → https://git.io/JeEIX
<DigitalKiwi> nh2_: put on a sticker
<DigitalKiwi> or well maybe don't probably better to put on a computer than clothing >.>
toppler has quit [Ping timeout: 268 seconds]
<DigitalKiwi> or a badge!
tsrt^ has joined #nixos
bgamari has joined #nixos
<DigitalKiwi> someone write that idea down that's amazing
toppler has joined #nixos
alexherbo2377 has quit [Quit: Ping timeout (120 seconds)]
orivej has joined #nixos
alexherbo2377 has joined #nixos
mexisme has joined #nixos
<Squarism> Can I make this default.nix produce 2 shell environments? 1 for server and 1 for client? https://paste.ofcode.org/3aQqZHge6sqPsVPZEa9TGvh ?
<Squarism> ...if so, what would I need to do?
exfalso has quit [Ping timeout: 240 seconds]
<mrCyborg> Hey, I'm trying to test out nixops using virtualbox. I manually deleted the vboxnet adapter and the virtual machine that nixops added and force deleted the deployment. Now nixops doesn't want to deploy anymore because vboxnet0 is missing... Any way I can make nixops reconfigure virtualbox?
cosimone has quit [Remote host closed the connection]
cosimone has joined #nixos
justan0theruser has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @c0bw3b pushed to master « qpdfview: escape "*.pro" qmakeFlags »: https://git.io/JeELv
kreisys has joined #nixos
<mrCyborg> I nvm, I didn't read connectly
<mrCyborg> Apparently I needed to add vboxnet0 manually, and the vboxnet0 that was there was from a previous time I used virtualbox.
waleee-cl has joined #nixos
cosimone has quit [Quit: Terminated!]
<{^_^}> [nixpkgs] @c0bw3b closed pull request #61203 → certbot: 0.31.0 -> ... -> 0.35.0 → https://git.io/fjCOt
chkno has quit [Ping timeout: 245 seconds]
chkno has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b closed pull request #64494 → i2pd: 2.26.0 -> 2.27.0 → https://git.io/fji5e
WorldLegion has joined #nixos
<{^_^}> [nixpkgs] @c0bw3b merged pull request #71895 → catt: init at 0.10.2 → https://git.io/Je02p
<{^_^}> [nixpkgs] @c0bw3b pushed 2 commits to master: https://git.io/JeELg
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 27 commits to nixos-unstable-small: https://git.io/JeELP
WorldLegion has quit [Quit: Leaving]
gkmngrgn has joined #nixos
b101010 has joined #nixos
toppler has quit [Ping timeout: 265 seconds]
b1000101 has quit [Ping timeout: 240 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a6b64a828d1 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> [nixpkgs] @c0bw3b closed pull request #71680 → rdkafka: 1.2.0 -> 1.2.1 → https://git.io/JeR9H
halfbit has joined #nixos
toppler has joined #nixos
gxt has joined #nixos
alexherbo2377 is now known as alex```
exfalso has joined #nixos
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #nixos
zeta_0 has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
moet has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JeELh
cosimone has joined #nixos
<Maise> I'm trying to build https://github.com/devkitPro/citro2d, which depends on https://github.com/fincs/citro3d - How do I link the two?The only reference it seems to have is `./include/c2d/base.h:#include <citro3d.h>`, which complains that it cant find the file
psyanticy has quit [Quit: Connection closed for inactivity]
<Squarism> Yay, i figured it out on my own!
klntsky has quit [Remote host closed the connection]
<jonringer> nice :)
klntsky has joined #nixos
<jonringer> Maise: I would create one derivation for citro3d, then reference it as a build input to the citro2d package
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/81b32ec6f37 (from 86 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
lord| has quit [Ping timeout: 265 seconds]
nschoe has joined #nixos
<Maise> I'm honestly just wondering how its done with the compiler. Total noob to c++
<Maise> Though youre right, nix would probably sort out the environment for it
cosimone has quit [Quit: Quit.]
dashkal has joined #nixos
<zeta_0> i am trying to set the hi-dpi for my laptop monitor and i found this option: `services.xserver.displayManager.sddm.enableHidpi` but i don't use sddm(i only use xmonad by itself)
<zeta_0> and for dpi i found the 2 options: `fonts.fontconfig.dpi`, and `services.xserver.dpi`
cosimone has joined #nixos
lord| has joined #nixos
pi3r has joined #nixos
<zeta_0> do i need to use the bottom two options to correctly configure the dpi(screen resolution) on my laptop ?
<__monty__> Probably.
gyroninja_ has joined #nixos
gyroninja has quit [Ping timeout: 240 seconds]
<zeta_0> how do i figure out exactly what values i need set these 2 options to ?
toppler has quit [Ping timeout: 240 seconds]
<zeta_0> have any of you guys here had dpi(screen resolution) problems with an hidpi 3k laptop ?
jb55 has joined #nixos
<gchristensen> I switched to sway (wayland) because it handles high dpi better, but that has its own troubles
<simpson> I avoid hidpi devices.
<gchristensen> impressive
<simpson> It's the lowest-effort way to avoid having hidpi problems: Just don't upgrade~
<zeta_0> i am only running xmonad so it has no builtin automatic dpi configuration, i guess i'll just try to figure calculations to correctly set those bottom 2 dpi options
toppler has joined #nixos
<zeta_0> at this point i have no idea ? it's annoying having the letters super tiny
<DigitalKiwi> does anyone know how to make nvidia drivers AND the frame buffer on tty1 work on a macbookpro11,3 :(
xensky has joined #nixos
<DigitalKiwi> i can either have nouveau and tty1 and horrible resolution and tearing problems or nvidia and no tty1 but less tearing and better scaling...i can barely see things normal sized let alone when they are half sized
eskytthe has joined #nixos
<xwvvvvwx> zeta_0: I use `services.xserver.dpi` in my configuration.nix, `xft.dpi` in XResources, and also a little bit of per application hidpi config as needed on a 4k dell xps13
<pi3r> I have a weird issue. I have been using such idiom to build a simple haskell program with some related deps in nix: https://pastebin.com/bMNLGD8d
<Squarism> how can I control the names of the "${out}" folders? is that name="..."?
<Squarism> now they become result,result-2, result-3
<xwvvvvwx> Connecting a non 4k external monitor is a mess :D
gkmngrgn has quit [Ping timeout: 250 seconds]
<pi3r> It has been working for ages. Now it still works but if I changed the nixpkgs channel to unstable or nixos-19.09 it does work anymore ...
<xwvvvvwx> ghristensen: does screen sharing work on wayland yet?
<pi3r> it does *not* work anymore
<xwvvvvwx> that's what made me go back to X
civodul has joined #nixos
<gchristensen> if I need to screen share I start a progarm with xwayland instead
<pi3r> I will have this error: https://pastebin.com/sFAqnrBT
<gchristensen> or run Xephyr
gkmngrgn has joined #nixos
<Yaniel> Squarism: those are not $out, just symlinks to it
<Squarism> ah ok
<Squarism> Yaniel, is there anyway to control their names?
justanotheruser has joined #nixos
<pi3r> I have been trying to use overlay instead in default.nix but without success. Whatever I try (that also works in 19.03) does not work in 19.09
<Yaniel> see `man nix-build`: --out-link / -o outlink
<pi3r> Any clue or pointer ?
<{^_^}> [nixpkgs] @kalbasit closed pull request #65137 → [WIP] Revert "bazel: drop absolute Python path" → https://git.io/fjMne
_pash has quit [Quit: leaving]
Hedgework has joined #nixos
_pash has joined #nixos
<pi3r> The built derivation is quite simple, it is generated with cabal2nix on the fly) but here it is: https://pastebin.com/GgfpEjFq
mexisme has quit [Ping timeout: 264 seconds]
<pi3r> If I don't generate it on the fly, I have the same issue (so it does not seem to be related to cabal2nix)
<pi3r> I have tried to use haskellPackages.callPackage with the file instead of (callCabal2nix)... same behavior so there is nothing wrong with callCabal2nix either
<zeta_0> xwvvvvwx: could you paste your configuration for that, i am not sure what to do ?
<xwvvvvwx> ghristensen: oh I never thought to try that somehow :D. Maybe I'll try sway a try again soon...
tiAy has joined #nixos
<xwvvvvwx> zeta_0: I have `Xft.dpi: 220` in `~/.Xresources` and `services.xserver.dpi = 220` in `/etc/nixos/configuration.nix`
<clever> pi3r: nix doesnt obey the version restrictions when providing haskell packages
<clever> pi3r: you want to use doJailBreak
Lears has quit [Ping timeout: 268 seconds]
<xwvvvvwx> I also have `exec --no-startup-id xrdb -merge ~/.Xresources` in `.config/i3/config` to make sure the Xresources config is applied
<xwvvvvwx> this page is quite useful for hidpi stuff: https://wiki.archlinux.org/index.php/HiDPI
tiAy has quit [Client Quit]
m2 has joined #nixos
m2 is now known as epta
<pi3r> clever: is this something that has changed after 19.03 ?
<xwvvvvwx> but you will need to put the xrdb line somewhere else since you're using xmonad
astrall33 has joined #nixos
drakonis_ has quit [Ping timeout: 240 seconds]
eskytthe has quit [Ping timeout: 250 seconds]
<clever> pi3r: nope, always been like that
<pi3r> clever: then why would this stop to work when I change the nixpkgs source ?
Fare has joined #nixos
<pi3r> clever: the cabal output actually shows "--extra-lib-dirs=/nix/store/9a5w3h919cf9njfp9ralcwj5w6mjyiks-language-puppet-1.4.6/lib" which looks promising
gkmngrgn has quit [Remote host closed the connection]
gkmngrgn has joined #nixos
<zeta_0> xwvvvvwx: thanks
<clever> pi3r: the version of language-puppet may have increased, and if cabal is saying <=, then it fails
<clever> pi3r: ah, but cabal is doing >=
<zeta_0> xwvvvvwx: for the information
<clever> pi3r: what is `haskellPackages.language-puppet` in `nix repl '<nixpkgs>'` ?
<pi3r> clever is is >= 1.4 https://pastebin.com/N552RC2j
toppler has quit [Ping timeout: 276 seconds]
buckley310 has quit [Read error: Connection reset by peer]
buckley310 has joined #nixos
astrall33 has quit [Ping timeout: 240 seconds]
toppler has joined #nixos
<pi3r> clever: my derivation is supposed to get the latest version of language-puppet directly from github
cosimone has quit [Quit: Quit.]
cosimone has joined #nixos
<pi3r> clever: to make it clearer I have just changed the derivation for https://pastebin.com/9gpAvXC5
<pi3r> where language-puppet.nix is https://pastebin.com/a9C30nSU
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
zeta_0 has quit [Quit: rcirc on GNU Emacs 26.1]
xwvvvvwx has joined #nixos
eskytthe has joined #nixos
<{^_^}> [nixpkgs] @dywedir merged pull request #71988 → starship: 0.25.0 -> 0.25.2 → https://git.io/JeETa
<{^_^}> [nixpkgs] @dywedir pushed 2 commits to master: https://git.io/JeEqX
<pi3r> clever: I can also do https://pastebin.com/8nHzhAJj which might make the intention a bit more obvious.
<pi3r> clever: but whatever I do it works with 19.03 and stop working in 19.09 (or unstable)
<clever> pi3r: bbl
<pi3r> I am using niv and can switch the nixpkgs pointer with 'niv update nixpkgs -b nixos-19.09'
b101010 has quit [Quit: Leaving]
xwvvvvwx has quit [Quit: ZNC 1.7.5 - https://znc.in]
xwvvvvwx has joined #nixos
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 276 seconds]
kreisys has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
burkelibbey has joined #nixos
alex``` has quit [Quit: The Lounge - https://thelounge.chat]
<{^_^}> [nixpkgs] @globin merged pull request #71995 → [19.09] php: 7.2.23 -> 7.2.24, 7.3.10 -> 7.3.11 → https://git.io/JeEIC
<{^_^}> [nixpkgs] @globin pushed 2 commits to release-19.09: https://git.io/JeEmI
justanotheruser has quit [Ping timeout: 265 seconds]
<pi3r> clever: to make it easy. Here is a gist: https://gist.github.com/PierreR/19646e004c53d1417d587beb46495079
burkelibbey has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 250 seconds]
<kaliumxyz> how many packages do we have for Nix on MacOS?
virus_dave has joined #nixos
<v0|d> how can I get 'certutil' of firefox?
cosimone has quit [Quit: Quit.]
exarkun has quit [Quit: ZNC 1.7.1 - https://znc.in]
drakonis has joined #nixos
toppler has quit [Ping timeout: 268 seconds]
exfalso has left #nixos [#nixos]
toppler has joined #nixos
<ivan> v0|d: I checked release-19.09 and I suspect nixpkgs nss fails to package it
<v0|d> ivan: found it in nixos.nssTools
<v0|d> Im on 20.03.
__monty__ has quit [Quit: leaving]
<Maise> How can I start a shell with the armv7a-android toolchain?
_pash has quit [Quit: leaving]
myskran has quit [Ping timeout: 240 seconds]
DanC has joined #nixos
<DanC> I'm trying to use nix on a mac, but jamf and mcafee are gumming up the works. Anybody know how to tell those tools not to bother with /nix/store?
justanotheruser has joined #nixos
chloekek has quit [Ping timeout: 276 seconds]
ixxie has joined #nixos
<{^_^}> #21327 (by spacekitteh, 2 years ago, closed): buildFHSUserEnv doesn't work for non-root users in grsecurity
<v0|d> no idea if it still works or there is a better way.
<{^_^}> [nixpkgs] @WilliButz opened pull request #71998 → grafana-loki: 0.3.0 -> 0.4.0 → https://git.io/JeEmy
<nh2_> if I use `--keep-failed` on a machine with nix sandbox, the remainders are in `/tmp` but when I try to resume it it demands `/build` which does not exist. How can I resume such a build?
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 2 commits to nixos-19.09-small: https://git.io/JeEmI
astrall33 has joined #nixos
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ef1598a6a11 (from 42 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
nschoe has quit [Read error: Connection reset by peer]
<DanC> `nix-env -i nodejs-12_x` has been using ~25% cpu for ~10sec without any ui feedback; any idea what it's doing?
Neo-- has quit [Ping timeout: 276 seconds]
Lears has joined #nixos
moet has quit [Ping timeout: 240 seconds]
<nh2_> DanC: possibly querying whether it and its dependencies are available from binary caches
abathur has joined #nixos
<nh2_> I also think it should print something for that; maybe some amount of `-v` flags will reveal it?
<DanC> I'm used to pretty rapid feedback; I normally use nix on Ubuntu linux. I can't tell if the virus scanners are still gumming up the works or what.
<DanC> now I get "nodejs-12_x matches no derivations" though nix search finds it just fine. grumble.
<DanC> I was able to `nix-channel --update`
<DanC> ... earlier
virus_dave has quit [Quit: virus_dave]
<DanC> nix-shell seems to find it.
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @flokli pushed 5 commits to release-19.09: https://git.io/JeEYe
<{^_^}> [nixpkgs] @flokli merged pull request #71953 → Backporting ACME v2 fix (#71291) to 19.09 → https://git.io/Je09b
<DanC> and yes, I was able to start vs code under this nix-shell... I think I'm winning now...
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 14 commits to nixos-unstable-small: https://git.io/JeEYJ
pi3r has quit [Quit: Leaving]
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 4 commits to nixpkgs-19.09-darwin: https://git.io/JeEYk
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/78763398c3e (from 75 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<{^_^}> Channel nixpkgs-19.09-darwin advanced to https://github.com/NixOS/nixpkgs/commit/ef1598a6a11 (from 57 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.09-darwin)
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeEYm
<{^_^}> [nixpkgs] @Ma27 merged pull request #71998 → grafana-loki: 0.3.0 -> 0.4.0 → https://git.io/JeEmy
toppler has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #71999 → nixos/i18n: use str instead of string for consoleKeyMap → https://git.io/JeEYY
eskytthe has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @veprbl pushed to staging-19.09 « cmake: process -iframework in setup-hook »: https://git.io/JeEYc
ris has joined #nixos
gjabell has quit [Ping timeout: 265 seconds]
gjabell has joined #nixos
misuzu has quit [Quit: leaving]
misuzu has joined #nixos
<sauyon[m]> not sure if somebody responded to me about my install issues, but I'm getting `touch: cannot touch '/etc/profile.d/nix.sh': No such file or directory`
<sauyon[m]> which is happening because it's a symlink pointing to a non-existant directory
<sauyon[m]> (`/nix/var/profiles/default`)
knupfer has quit [Ping timeout: 250 seconds]
astrall33 has quit [Read error: Connection reset by peer]
<nh2_> my previous question was misguided, with `nix-shell thederivation.drv` it already created my desired `/build`, I just didn't notice it
<DanC> hm. https://github.com/Moddable-OpenSource/moddable doesn't seem to get along with nix-shell and such. switched to brew :-/
<DanC> ugh. compiler errors there too.
<DanC> sigh.
Acou_Bass has quit [Quit: ZNC 1.7.4 - https://znc.in]
<{^_^}> [nixpkgs] @veprbl closed pull request #63605 → Add NodeJS v10 to nixos-small channel → https://git.io/fjwvV
Acou_Bass has joined #nixos
wildtrees has quit [Quit: Leaving]
Maise has quit [Ping timeout: 260 seconds]
<{^_^}> [nixpkgs] @WilliButz merged pull request #71999 → nixos/i18n: use str instead of string for consoleKeyMap → https://git.io/JeEYY
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/JeEYy
toppler has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #72000 → nixos/virtualbox: fix systemd-networkd-wait-online.service waiting for vboxnet0 → https://git.io/JeEYS
<{^_^}> [nixpkgs] @veprbl closed pull request #67551 → kubernetes: 1.13.9 -> 1.13.10 → https://git.io/fjAMb
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
toppler has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
abathur has quit [Ping timeout: 265 seconds]
ixxie has quit [Remote host closed the connection]
jlm66 has quit [Ping timeout: 240 seconds]
fusion809 has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
xd1le has joined #nixos
mbrgm_ has joined #nixos
gkmngrgn has quit [Quit: WeeChat 2.6]
mbrgm has quit [Ping timeout: 268 seconds]
mbrgm_ is now known as mbrgm
toppler has quit [Ping timeout: 268 seconds]
Rusty1 has joined #nixos
tokudan has quit [Quit: Dunno.]
tokudan has joined #nixos
toppler has joined #nixos
<{^_^}> [nixpkgs] @nixos-channel-bot pushed 5 commits to nixos-19.09-small: https://git.io/JeEYe
myskran has joined #nixos
<Raito_Bezarius> can I pass arguments to my network specification in NixOps? (through nixops set-arg)
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6aab37bf930 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<Raito_Bezarius> rather than my network spec, my *infrastructure spec*
myskran has quit [Ping timeout: 268 seconds]