gchristensen changed the topic of #nixos to: The Nix Ecosystem, https://nixos.org | NixOS: https://nixos.org/nixos/download.html | Nix: https://nixos.org/nix/download.html | Logs: https://logs.nix.samueldr.com/nixos/ | #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/d6bdaea5dd2 (from 51 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @marsam opened pull request #67309 → pythonPackages.pycurl: fix build on darwin → https://git.io/fjNnx
iqubic has quit [Remote host closed the connection]
dansho has joined #nixos
ottidmes has quit [Ping timeout: 245 seconds]
Lukas4452 has quit [Ping timeout: 245 seconds]
chiefgoat has quit [Ping timeout: 245 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #67308 → libxmlb: 0.1.10 → 0.1.11 → https://git.io/fjNnu
chiefgoat has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 3 commits to master: https://git.io/fjNcv
kvda has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #67311 → flow: 0.105.2 -> 0.106.0 → https://git.io/fjNcf
o1lo01ol1o has quit [Ping timeout: 245 seconds]
jgt has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #67313 → dune: 1.11.1 -> 1.11.2 → https://git.io/fjNck
b42 has quit [Remote host closed the connection]
drakonis_ has joined #nixos
snajpa has quit [Quit: ZNC 1.7.1 - https://znc.in]
jgt has quit [Ping timeout: 276 seconds]
snajpa has joined #nixos
drakonis_ has quit [Ping timeout: 264 seconds]
ddellacosta has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #67314 → mkcert: 1.3.0 -> 1.4.0 → https://git.io/fjNcL
philr has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #67315 → prometheus_2: 2.11.1 -> 2.12.0 → https://git.io/fjNcO
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjNc3
<{^_^}> [nixpkgs] @marsam opened pull request #67316 → terraform_0_12: 0.12.6 -> 0.12.7 → https://git.io/fjNcn
Rusty1 has joined #nixos
felixfoertsch has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
pie_ has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin pushed 197 commits to openssl-1.1: https://git.io/fjNcW
o1lo01ol1o has joined #nixos
ilmu has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Ping timeout: 245 seconds]
ris has quit [Ping timeout: 260 seconds]
ottidmes has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #67317 → tflint: 0.9.3 -> 0.10.1 → https://git.io/fjNc0
freeman[w]_ has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #67206 → oracle-instantclient: 12.2.0.1.0 -> 19.3.0.0.0 → https://git.io/fjbSW
<{^_^}> [nixpkgs] @aanderse pushed 10 commits to master: https://git.io/fjNcE
freeman[w]__ has quit [Ping timeout: 258 seconds]
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
jgt has joined #nixos
polman has quit [Ping timeout: 258 seconds]
polman has joined #nixos
freeman42y has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #66947 → starship: 0.10.1 -> 0.12.0 → https://git.io/fjFMr
<{^_^}> [nixpkgs] @aanderse pushed 2 commits to master: https://git.io/fjNcr
freeman42x has quit [Ping timeout: 250 seconds]
jgt has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @SRGOM closed pull request #61654 → nodePackages: add onecolor → https://git.io/fjNc6
ottidmes has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #67318 → gnome-photos: 3.32.0 → 3.32.1 → https://git.io/fjNcD
dolanbatar has quit [Quit: ZNC - http://znc.in]
Adluc has quit [Quit: ZNC - http://znc.in]
srk has quit [Quit: ZNC - http://znc.in]
o1lo01ol1o has joined #nixos
wykurz has joined #nixos
martyet-o has quit [Ping timeout: 258 seconds]
Adluc has joined #nixos
o1lo01ol1o has quit [Ping timeout: 272 seconds]
hexo_ has joined #nixos
drakonis_ has joined #nixos
drakonis has joined #nixos
daurnimator has quit [Read error: Connection reset by peer]
<wykurz> hi, does anyone here know why nixops release 1.7 (release in April) does not have a commit from 11 months ago? specifically this one: https://github.com/NixOS/nixops/commit/19ba91a766d31d52c2625dec086f33df1e559548
<wykurz> also - what would be a recommended way to run nixops master?
srk has joined #nixos
simukis_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
simukis_ has joined #nixos
lurpahi has quit [Ping timeout: 272 seconds]
lurpahi has joined #nixos
lambda-11235 has joined #nixos
drakonis_ has quit [Ping timeout: 276 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/d6bdaea5dd2 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
tomberek has joined #nixos
dmi_ has quit [Quit: Lost terminal]
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos
jluttine_ has joined #nixos
thc202 has quit [Ping timeout: 250 seconds]
jgt has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @teto merged pull request #67299 → vimPlugins.coc-nvim: 0.0.73 -> 0.0.74 → https://git.io/fjNsF
<{^_^}> [nixpkgs] @teto pushed commit from @malob to master « vimPlugins.coc-nvim: 0.0.73 -> 0.0.74 »: https://git.io/fjNC0
felixfoertsch23 has joined #nixos
gjabell has joined #nixos
o1lo01ol1o has joined #nixos
felixfoertsch has quit [Ping timeout: 250 seconds]
drakonis1 has joined #nixos
mexisme_ has quit [Quit: WeeChat 2.5]
o1lo01ol1o has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #66896 → grpc: 1.22.0 -> 1.23.0 → https://git.io/fjFra
<{^_^}> [nixpkgs] @marsam pushed 5 commits to master: https://git.io/fjNCr
<gjabell> hey all, does anyone know of a good way to port-forward nixops machines with the libvirtd backend? looks like the de-facto way is using iptables but I'd prefer to let nixops / libvirt handle that automatically since it requires knowing the ip addr of the vm
oborot has joined #nixos
oborot_ has joined #nixos
<freeman42y> how can I install Spacemacs on Nixos?
eraserhd has quit [Ping timeout: 245 seconds]
eraserhd has joined #nixos
AviD has joined #nixos
<lambda-11235> Anyone know how to make the NFS server use version 3?
<clever> lambda-11235: vers=3 in the mount options i believe
<clever> but thats chosen on the client sid
<clever> e
<clever> not sure how to force it on the server
<lambda-11235> Wierd I'm getting required NFS version not supported when connecting from client side
<{^_^}> [nixpkgs] @ldelelis opened pull request #67319 → Python itypes → https://git.io/fjNCh
AviD has left #nixos ["Konversation terminated!"]
<lambda-11235> nvm, I think I got it, there was a bad path in the config
laalf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
laalf has joined #nixos
<{^_^}> [nixpkgs] @kalbasit merged pull request #67314 → mkcert: 1.3.0 -> 1.4.0 → https://git.io/fjNcL
<{^_^}> [nixpkgs] @kalbasit pushed commit from @marsam to master « mkcert: 1.3.0 -> 1.4.0 (#67314) »: https://git.io/fjNWv
<{^_^}> [nixpkgs] @kalbasit merged pull request #67317 → tflint: 0.9.3 -> 0.10.1 → https://git.io/fjNc0
<{^_^}> [nixpkgs] @kalbasit pushed commit from @marsam to master « tflint: 0.9.3 -> 0.10.1 (#67317) »: https://git.io/fjNWf
is_null_1 has joined #nixos
is_null__ has quit [Quit: leaving]
is_null_ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @jtojnar opened pull request #67320 → at-spi2-core: wrap at-spi-bus-launcher → https://git.io/fjNWJ
<freeman42y> what could the plug step mean? https://i.imgur.com/w7f9Akr.png
oborot has quit [Ping timeout: 268 seconds]
oborot_ has quit [Ping timeout: 272 seconds]
glittershark has joined #nixos
jgt has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/b433ba7d826 (from 44 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<glittershark> Hey all - I'm trying to build a Haskell package with hpack and I'm getting "build input x86_64-linux does not exist"
<gjabell> that's for a vim config manager (vim-plug)
<glittershark> it seems like it may be coming from libyaml?
<glittershark> propagated-build-inputs: /nix/store/yfswzn849gsn2372mlkj1piz2il5xbda-libyaml-0.1.1.0/nix-support/propagated-build-inputs
<glittershark> is also in the output
<glittershark> oh, lol, that's weird - I figured it out
<glittershark> I had accidentally put a dependency called "system" into my package.yaml
<glittershark> apparently that aliases to the system I'm running on?
<glittershark> \q
jgt has quit [Ping timeout: 276 seconds]
glittershark has quit [Quit: Lost terminal]
domogled has joined #nixos
<{^_^}> [nixpkgs] @ldelelis opened pull request #67321 → pythonPackages.pyfcm: init at 1.4.7 → https://git.io/fjNWY
gmarmstrong has joined #nixos
<freeman42y> gjabell, correct gjabell++
<{^_^}> gjabell's karma got increased to 1
freeman[w]__ has joined #nixos
ilikeheaps has quit [Ping timeout: 246 seconds]
freeman[w]_ has quit [Ping timeout: 248 seconds]
Aprophecy has joined #nixos
<Aprophecy> Hello everyone. I seem to be encountering a curl error when trying to do nixos-rebuild switch.
<Aprophecy> warning: unable to download 'https://cache.nixos.org/nar/19a51z4wxm876fzdgl580xzj2s4yfiqnqvswibwfrw3vb6v3vmsc.nar.xz': HTTP error 200 (curl error: Failure when receiving data from the peer); retrying in 261 ms
<Aprophecy> warning: unable to download 'https://cache.nixos.org/nar/0wvhxdsjbw57dzcnc72vgi1rj1yysjkd53sg2jdmgww2rxkpsnpa.nar.xz': HTTP error 200 (curl error: Transferred a partial file); retrying in 257 ms
<Aprophecy> I've tried removing all my packages from the config besides wget firefox and vim. I still encountered the error.
<Aprophecy> Here's my config as well.
<ryantm> Aprophecy: looks like maybe some network issue. Where is your machine located?
<Aprophecy> It's a ThinkPad x220
<Aprophecy> Connected wireless right now.
<ryantm> I meant like what country.
<Aprophecy> USA, FL
<{^_^}> nixos-org-configurations#57 (by rbvermaa, 44 weeks ago, closed): Users are reporting some issues with cache.nixos.org - gather information here
<{^_^}> [nix] @matthewbauer opened pull request #3054 → Allow empty /nix directory in multi-user installer → https://git.io/fjNWV
drakonis1 has quit [Ping timeout: 250 seconds]
<thoughtpolice> I should probably update that post with a new one including the exact options for users, tbh
<thoughtpolice> Aprophecy: To be clear, `nixos-rebuild --option substituters 'https://aseipp-nix-cache.global.ssl.fastly.net' switch` should do the trick, if you'd like to test the improvement I've made to the cache. I can't guarantee it will help, but it may, due to various technical improvements. (If it does help, I'd also be interested in if you're using IPv6 as well)
jgt has joined #nixos
aleph- is now known as old_man_yells_at
old_man_yells_at is now known as OldManYellsAtClo
jgt has quit [Ping timeout: 250 seconds]
emptyflask has joined #nixos
OldManYellsAtClo is now known as SrCloudYeller
<freeman42y> I get error on save: readonly file system
Lukas4452 has joined #nixos
Supersonic has quit [Ping timeout: 250 seconds]
<freeman42y> I used the other options and I am getting:
<freeman42y> warning: ignoring untrusted substituter 'https://hydra.iohk.io'
<ryantm> freeman42y: What OS are you running?
Supersonic has joined #nixos
<freeman42y> ryantm, NixOS
sb0 has joined #nixos
<clever> freeman42y: you have to add it to the trusted or normal substituter list in nix.conf
<freeman42y> clever, I got that but I do not know the code to do it
Aprophecy has quit [Ping timeout: 260 seconds]
<freeman42y> I need to set trusted-substituters = SOMETHING, but I do not know what SOMETHING is :)
zfnmxt[m]1 has joined #nixos
<ryantm> freeman42y: https://nixos.org/nixos/options.html#nix.binar
lambda-11235 has quit [Quit: Bye]
<freeman42y> I don't understand... what should I set it to?
jgt has joined #nixos
<clever> freeman42y: the example i linked shows exactly what has to be set
<ryantm> freeman42y: You can add that to your NixOS configuration.
<freeman42y> is it correct?
<freeman42y> add what to my Nix configuration? I do not follow
<ryantm> freeman42y: You don't typically edit /etc/nix/nix.conf directly on NixOS
<freeman42y> ryantm, I did not edit it
<freeman42y> what I changed is: /home/neo/.config/nix/nix.conf
<clever> only roots nix.conf file is trusted, so your nix.conf cant affect things
sb0 has quit [Quit: Leaving]
<ryantm> "We do not recommend using ~/.config/nix/nix.conf unless you are a power user. It's simpler to have only one global config file."
domogled has quit [Quit: domogled]
philr has quit [Ping timeout: 246 seconds]
is_null_1 has quit [Quit: leaving]
kleisli has joined #nixos
teto has quit [Quit: WeeChat 2.5]
zfnmxt[m]1 has left #nixos ["User left"]
atlas_ is now known as Guest85161
Guest85161 has quit [Killed (verne.freenode.net (Nickname regained by services))]
atlas_ has joined #nixos
kleisli has quit [Ping timeout: 272 seconds]
acarrico has quit [Ping timeout: 248 seconds]
<jackdk> I am trying to recover a nixos system using a chroot. nixos-enter appears to work, but nixos-rebuild switch seems to want to fetch something from the cache. I have network access outside the chroot but get "ping: system error" when I try to do networky stuff within the chroot. What might I be doing wrong?
<jackdk> (I have bind-mounted /dev /proc /sys into their corresponding paths under /mnt)
<clever> jackdk: switch will always fail, you want `nixos-rebuild boot`
<clever> jackdk: nixos-enter will bind-mount things for you
<jackdk> clever: noted
<clever> jackdk: can you ping an ip?
atlas_ has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
<jackdk> I can curl neverssl.com from outside the chroot but not within it
<clever> what about `ping 8.8.8.8` ?
<jackdk> I can ping 8.8.8.8 within the chroot and neverssl.com outside the chroot but not neverssl.com within the chroot
<jackdk> I set up the wireless using nmtui
<clever> then its a dns problem
<clever> does /etc/resolv.conf exist in the chroot?
atlas_ has joined #nixos
<clever> how do the contents differ?
<jackdk> it's missing a nameserver line that's for certain
<clever> fix that and then try again
<jackdk> okay, we have netw0rk
<clever> woot
<jackdk> now I get an error: unable to start boot process, which looks like https://github.com/alexandergall/nixos-pxe-installer/issues/3 in that something something sandbox. how do I nixos-rebuild with no sandbox?
<{^_^}> alexandergall/nixos-pxe-installer#3 (by edude03, 37 weeks ago, closed): "cloning builder process: Operation not permitted"
<jackdk> s/boot/build
<clever> jackdk: try again
<jackdk> same
<clever> try re-entering nixos-enter, without the extra bind mounts?
<clever> jackdk: maybe `--option sandbox false` ?
jaeckel has quit [Ping timeout: 245 seconds]
emptyflask has quit [Ping timeout: 245 seconds]
Wharncliffe has quit [Quit: leaving]
wykurz has quit [Quit: Leaving]
<jackdk> that successfully built the derivations but failed to update the boot menu, something to do with the crypt setup
iqubic has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
<clever> jackdk: is /boot also mounted correctly?
<clever> jackdk: is boot.loader.grub.device set correctly?
eraserhd has quit [Ping timeout: 272 seconds]
eraserhd has joined #nixos
<jackdk> clever: d'oh yeah mounting /boot helps
jaeckel has joined #nixos
jaeckel has joined #nixos
jaeckel has quit [Changing host]
acarrico has joined #nixos
endformationage has quit [Ping timeout: 268 seconds]
<jackdk> okay next problem there's something wrong with login. I can rebuild, boot into the new config, and the new password I definitely carefully set is not recognised.
<clever> jackdk: you should be able to use passwd under nixos-enter to change it
<jackdk> also clever++ for your help so far
<{^_^}> clever's karma got increased to 175
<clever> jackdk: but if mutableusers is turned off, it will undo that
<jackdk> but only on the next build?
<clever> if `users.mutableUsers = false;` then it will take effect at every boot
<clever> the default is true
<clever> when true, passwd will stick and persist
<iqubic> How do I tell XDG-Open to use Firefox to open web links.
<clever> iqubic: xfce4-mime-settings
<iqubic> When I open hexchat, and click on a link, nothing happens.
<iqubic> I'd expect the link to be opened in Firefox.
<iqubic> clever: I'm using EXWM, a tiling window manager, and not xfce. I don't have the program xfce4-mime-settings command.
<clever> iqubic: you can still install it with nix-env, and it should still work
<iqubic> I see.
<jackdk> I normally use mutableUsers = false. So I rebuilt with it true, then ran passwd, then rebooted and I'm back. thanks clever
<iqubic> On a completely unrelated note, I run nixos on a laptop. When I press the power button, my computer shuts off immediantly.
<iqubic> Is there any way I can make that do nothing at all.
<iqubic> Like just ignore any presses of that power button.
<clever> iqubic: its a systemd option
<iqubic> How can I set that.
<clever> second answer, about logind.conf
lambda-11235 has joined #nixos
<iqubic> So I should set the logind.extraConfig?
<clever> yeah
<iqubic> and I set it to "HandlePowerKey=ignore"?
<clever> yep
palo1 has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
pycer has joined #nixos
<iqubic> if I have a string with '' two single quotes '' on each side, and the contents are have actual new lines in the file, what exactly will that do?
<clever> iqubic: it will keep it as multiple lines
<iqubic> The type of services.logind.extraConfig is strings concatenated with "\n"
<iqubic> Will this work to satisfy that constraint?
<clever> that means that if you set it in multiple places, it will join the strings with \n
<clever> but you can set it to a single line of text, with "foo"
<iqubic> Oh. I see.
<iqubic> So, it's basically the exact same as programs.zsh.interactiveShellInit.
witchof01 has quit [Quit: WeeChat 2.4]
<clever> yep
<iqubic> And I can use lib.mkAfter or lib.mkBefore to fiddle around with the order if I need to.
<clever> yep
<iqubic> I have no idea what black magic those functions are performing.
<{^_^}> [nixpkgs] @vbgl opened pull request #67322 → ocamlPackages.otr: 0.3.4 -> 0.3.6 → https://git.io/fjNlR
witchof0x20 has joined #nixos
<clever> iqubic: when you do foo = mkBefore "bar";, its actually doing foo = { _type = "order"; priority = 500; content = "bar"; };
<iqubic> Like I said: "No idea what that black magic is"
<clever> the modules system then treats that specially, as it merges things
<iqubic> So it's basically black magic. I know I could look into how the module system merges that, but I don't want to.
<clever> and thats where it gets complicated
<iqubic> merging lists is easy.
cinimod has joined #nixos
<iqubic> merging attribute sets is easy, but only when the two attribute sets are completely disjoint sets.
<iqubic> If there's any overlap, then it gets complicated.
<clever> iqubic: every type has a merge function on it
<clever> which deals with merging multiple definitions together
<clever> lines, commas, and envVar will join them with \n , or :
<clever> attrs will: merge = loc: foldl' (res: def: mergeAttrs res def.value) {};
tomberek has quit [Ping timeout: 260 seconds]
<iqubic> attrs is doing black magic.
<iqubic> I see.
<clever> you can read each of those types, to see what its merge function will do
<iqubic> I don't really care actually.
slack1256 has joined #nixos
rauno has joined #nixos
<{^_^}> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/dfc6d580bcc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
englishm has quit [Changing host]
englishm has joined #nixos
englishm has joined #nixos
abbiya has joined #nixos
hyper_ch2 has joined #nixos
rauno has quit [Remote host closed the connection]
Ultrasauce has quit [Quit: Ultrasauce]
Ultrasauce has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #67324 → ocamlPackages.vg: 0.9.1 -> 0.9.3 → https://git.io/fjNli
<{^_^}> [nixpkgs] @mmahut merged pull request #67130 → nixos/containers: add unprivileged option → https://git.io/fjbR1
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjNlP
pycer has quit [Quit: "Take leak"]
<{^_^}> [nixpkgs] @mmahut merged pull request #67271 → solarus{,-quest-editor}: 1.6.0 -> 1.6.2 → https://git.io/fjNOT
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjNlM
<{^_^}> [nixpkgs] @vbgl merged pull request #67311 → flow: 0.105.2 -> 0.106.0 → https://git.io/fjNcf
<{^_^}> [nixpkgs] @vbgl pushed commit from @marsam to master « flow: 0.105.2 -> 0.106.0 »: https://git.io/fjNly
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/d6bdaea5dd2 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
sb0 has joined #nixos
Okinan has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67012 → eksctl: 0.3.1 -> 0.4.1 → https://git.io/fjFNB
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjNlA
<{^_^}> [nixpkgs] @mmahut merged pull request #67005 → httplz: 1.5.1 -> 1.5.2 → https://git.io/fjFbV
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjNlx
dansho has quit [Remote host closed the connection]
dansho has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66966 → pythonPackages.pydot_ng: fix build → https://git.io/fjF9V
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjNlj
rauno has joined #nixos
<{^_^}> [nixpkgs] @mmahut pushed to revert-67130-containers/unprivileged « Revert "nixos/containers: add unprivileged option" »: https://git.io/fjN8J
<{^_^}> [nixpkgs] @mmahut opened pull request #67325 → Revert "nixos/containers: add unprivileged option" → https://git.io/fjN8U
phreedom has quit [Ping timeout: 260 seconds]
phreedom has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67147 → Bump libosinfo packages → https://git.io/fjbuE
<{^_^}> [nixpkgs] @mmahut closed pull request #67004 → osinfo-db: 20190726 -> 20190805 → https://git.io/fjFbB
<{^_^}> [nixpkgs] @mmahut pushed 4 commits to master: https://git.io/fjN8k
<craige> I'm going around in circles on this one and was wondering if anyone had any examples switching "src = fetchurl" etc for "src = /my/local/src" - my attempts make this work are coming unstuck. Thanks!
<srhb> craige: That should literally be all you need.
<srhb> craige: What's the problem?
<craige> I get errors such as "error: value is a path while a set was expected"
<{^_^}> [nixpkgs] @mmahut merged pull request #66927 → tora: 3.1 -> 3.2.176 → https://git.io/fjFPx
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to staging: https://git.io/fjN8O
<srhb> craige: Are you still using fetchurl?
<srhb> craige: It's easier if you share your expression in a pastebin somewhere :)
<{^_^}> [nixpkgs] @mmahut merged pull request #66567 → itk: 5.0.0 -> 5.0.1 → https://git.io/fj5wy
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjN8s
AlexanderLynch has joined #nixos
ilikeheaps has joined #nixos
<srhb> craige: And the exact error?
<srhb> I suspect hydra-fork may expect something more than just a path to src as its src argument.
<{^_^}> [nixpkgs] @mmahut merged pull request #67325 → Revert "nixos/containers: add unprivileged option" → https://git.io/fjN8U
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjN8Z
<{^_^}> [nixpkgs] @mmahut pushed 0 commits to revert-67130-containers/unprivileged: https://git.io/fjN8n
<craige> ah. man, thanks for rubber ducking this srhb - The error is actually from the other file being called - not the the one I switched to being a path.
<craige> The other file is expecting hydaSrc to be a set.
<craige> Must be close to knock off time :-)
<srhb> Good good. :)
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4dc585c44e4 (from 41 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
ottidmes has joined #nixos
wfranzini has joined #nixos
AlexanderLynch has quit [Remote host closed the connection]
<craige> I got over the path issue, only to find another interesting issue:
<craige> Where it builds from `fetchurl` but fails from local source.
<craige> (stripped back the process to using GNU hello, to reduce moving parts)
<srhb> craige: Does it have a Makefile?
<clever> craige: ls -lh /nix/store/y4ygycdy4dwy721smzchin696vdv3ka8-hello
<clever> craige: and is the sha256 correct?
<craige> only the Makefile.am
<craige> Does the local source also need an sha256 clever?
<clever> craige: add autoreconfHook to nativeBuildInputs
<srhb> craige: It does not
<clever> that will generate a Makefile from the Makefile.am
lambda-11235 has quit [Quit: Bye]
kvda has quit [Quit: Textual IRC Client: www.textualapp.com]
<cinimod> I am using cabal2nix and it tells me I need quadmath but nix-shell says there is no such thing
<srhb> cinimod: As in the gcc library?
<clever> ,locate quadmath
<{^_^}> Found in packages: gcc-unwrapped
<cinimod> You'll have to be a bit more explicit - does that mean I should gcc-unwrapped as an argument?
<clever> cinimod: gcc is in the nix-shell by default
<cinimod> So what should I put instead of quadmath?
<{^_^}> [nixpkgs] @Izorkin opened pull request #67326 → unit: 1.9.0 -> 1.10.0 → https://git.io/fjN87
<cinimod> I know cabal builds something which crashes if I don't have it
<clever> cinimod: what exactly is the error?
<srhb> craige: I'm not sure what your source looks like, but if I `nix-build '<nixpkgs>' -A hello.src`, untar that and use the resulting directory as the src for hello, it works fine.
<craige> I think I may be making a bad assumption clever, srhb. does `fetchurl... mirror` pull from upstream source, such as git.savanah.gnu.org or frmo a NixOS mirror?
<craige> good call srhb
<srhb> craige: If the hash matches something in our mirror, it's used. Otherwise upstream.
Okinan has quit [Quit: Konversation terminated!]
<cinimod> clever: you mean when I build outside nix with cabal without quadmath?
<clever> cinimod: when you build with nix
<craige> okay, that must explain the difference. thanks srhb - your last suggestion is going to be the best way.
<srhb> craige: I'm a bit puzzled by the difference though. But yeah, if this works, something must have changed in the source..
<srhb> Maybe our hello is -- gasp -- outdated!
zfnmxt has quit [Quit: Bye!]
Okinan has joined #nixos
<srhb> Hm, no, looks to be fresh..
orivej has joined #nixos
<cinimod> As stated, it is not very informative
<craige> *Now* I get successful build from either `fetch` or local src. Great trick. thanks srhb and clever
<cinimod> The good news is I can now get this to build outside nix with both stack and cabal
<cinimod> But it took a lot of work
zfnmxt has joined #nixos
freeman42y has quit [Ping timeout: 264 seconds]
<srhb> craige: Sure thing :)
<cinimod> I have to tell cabal to use quadmath
<cinimod> otherwise I get a runtime error saying it failed to load the library
<cinimod> stack doesn't seem so fussy
<{^_^}> [nixpkgs] @markus1189 opened pull request #67327 → coursier: 1.1.0-M14-6 -> 2.0.0-RC3-3 → https://git.io/fjN4f
<Aleksejs> hello, I've actually managed to get my scanner to be visible over wifi on nixos. However, it's visible only for root. I tried to add myself to scanner and lp groups but it didn't change a thing
<clever> Aleksejs: when you run `id`, are you listed under those groups?
<craige> I'm using this to test image deploys for both work and my efforts to deploy NixOS to the librem5 (as I'm carrying local packages until my PR's get through), srhb, clever - so that's been a massive break through for me.
<{^_^}> [nixpkgs] @thoughtpolice merged pull request #67022 → Update FOSS EDA tools again → https://git.io/fjFAu
<{^_^}> [nixpkgs] @thoughtpolice pushed 9 commits to master: https://git.io/fjN4J
<srhb> craige: Sounds cool! Is your github handle craige as well?
<Aleksejs> clever: hmm, I am in lp group but not in scanner group
<craige> craigem - was late to these propriety playgrounds ;-)
<{^_^}> [nixpkgs] @xrelkd opened pull request #67328 → eksctl: 0.4.1 -> 0.4.2 → https://git.io/fjN4U
<clever> Aleksejs: `grep scanner /etc/group` ?
<Aleksejs> no results
<clever> Aleksejs: oops, with 1 n's
<clever> 2 n's
<clever> lol
<srhb> craige: This one? #65362
<{^_^}> https://github.com/NixOS/nixpkgs/pull/65362 (by craigem, 4 weeks ago, open): calls: init at 0.0.1
<craige> That's one of many (the others aren't fit to be PR'd yet. I'm starting to discover how much a giant thing I've bitten off.
<Aleksejs> clever: scanner:x:59:aleksejs
<clever> Aleksejs: you need to logout and login again for the group change to apply
<srhb> craige: Heh, good job ;-)
<craige> giant but fun.
<craige> As the hardware hasn't shipped, I'm using VMs to prepare a build, as Purism are doing.
<srhb> craige: Very cool. Sounds like Nix is practical in this way. Also this way. :)
dasj19 has joined #nixos
<craige> *loving* `-A vm`
<srhb> Yeah :P
* craige disappears for a while
<Ariakenom> I've been trying to install skypeforlinux. A skype .deb link was broken so I replaced it and it built. But when running it's missing libuuid.so.1
<clever> ,locate libuuid
<{^_^}> Found in packages: kythe
<Aleksejs> clever: thanks, it helped
teto has joined #nixos
<clever> why is libuuid in lythe??
hyper_ch2 has joined #nixos
<srhb> ,locate libuuid.so
<{^_^}> Found in packages: libuuid, utillinux, libossp_uuid
<clever> thats better
<clever> Aleksejs: is libuuid being added to the rpath?
<{^_^}> [nixpkgs] @xrelkd opened pull request #67329 → font-awesome: 5.10.1 -> 5.10.2 → https://git.io/fjN4s
hyper_ch2 has quit [Remote host closed the connection]
<srhb> Ariakenom: See also 1c1b809c1e53c131c6395c2ccf6c6c4ec8bcdfe5
<srhb> (From yesterday)
<cinimod> Woohoo - so after finally getting the Haskell package to test via cabal new-test, using cabal2nix, adding gfortran.cc.lib, removing quadmath, the package now builds in nix
<cinimod> Oh and runs
<srhb> cinimod: :o
<Ariakenom> srhb: looks promising
hyper_ch2 has joined #nixos
veske has joined #nixos
<Ariakenom> should I remove the old build? and how
slack1256 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markus1189 opened pull request #67330 → scalafmt: 2.0.0 -> 2.0.1 → https://git.io/fjN4n
<srhb> Ariakenom: What do you mean remove it?
<Ariakenom> uninstall
<clever> Aleksejs: how did you add it?
<cinimod> Do I need to make a PR for a special derivation for the Haskell package lapack?
<Ariakenom> im guessing you meant me for both of those, clever? :)
<clever> Ariakenom: oops, yeah
<Ariakenom> "nix-env -f . -iA skypeforlinux" on a nixpkgs clone
<clever> Ariakenom: nix-env -e skypeforlinux to remove it
<Ariakenom> I did have local changes to the nixpkgs, does that matter
<clever> Ariakenom: nope
<clever> Ariakenom: nix-env -e operates entirely on the names from `nix-env -q`
<Ariakenom> ok thanks
<teto> has anyone managed to make coc-python work ?
drakonis has quit [Ping timeout: 248 seconds]
judson__ has joined #nixos
<Ariakenom> clever, srhb: success! thanks a bunch
<clever> Ariakenom: i also prefer testing builds with nix-build, not nix-env
dasj19_ has joined #nixos
<Izorkin> teto: you reproduce the error?
<Ariakenom> yeah, I was using that to build the newest now. I've learned :p
judson_ has quit [Remote host closed the connection]
dasj19 has quit [Remote host closed the connection]
civodul has joined #nixos
drakonis has joined #nixos
<asymmetric> i'm writing a nixos module for pihole, and i have a question: is it better to hide/disable the cli flags that change the service's config (e.g. toggle logging), since they should only be changed via the nix module?
zaeph has quit [Ping timeout: 252 seconds]
orivej has quit [Ping timeout: 245 seconds]
zfnmxt has quit [Quit: Bye!]
<tilpner> asymmetric: It's going to fail anyway if the config is generated into the store
cfricke has joined #nixos
zaeph has joined #nixos
<asymmetric> tilpner: right now the config is saved in /etc for this reason, but it could also make use of StateDirectory if r/w were needed
<asymmetric> so that's the question, whether pihole's subcommands should fail or not
<tilpner> Are there other ways to configure logging without state changes?
<tilpner> Is the state also used for semi-legitimate usage, like storing keys in that config file?
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<Ariakenom> ... but wait I didn't pull those changes .. eh whatever
<asymmetric> tilpner: no, actually no secrets are stored there, so it would be a good fit for the store i guess
Makaveli7 has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66781 → avocode: 3.9.0 -> 3.9.2 → https://git.io/fjFIE
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjN4o
<{^_^}> [nixpkgs] @mmahut merged pull request #66866 → fdroidserver: 1.1.1 -> 1.1.4 → https://git.io/fjFgF
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjN4K
zfnmxt has joined #nixos
<teto> Izorkin: sry haven't looked at your tar yet
<teto> from nixFlakes > "warning: the syntax 'nixpkgs.<attr>' is deprecated; use 'nixpkgs:<attr>' instead", finally \o/
___laika has joined #nixos
<Izorkin> teto: ok
<hpfr[m]> Nixos-rebuild outputs a ton of substitutestream() earnings whenever udev rules are updated, is this a big
<hpfr[m]> Bug*
<asymmetric> tilpner: if the config is saved to the store, and the subcommands are not removed, they will be broken. this is not an issue for the module, but is it ok to have a package with broken functionality?
drakonis has quit [Ping timeout: 244 seconds]
jgeerds has joined #nixos
<tilpner> asymmetric: There are plenty of packages where not all features are fully supported. I'm not telling you to break functionality if it's regularly used, and you said it's still possible to enable logging declaratively
zupo has joined #nixos
<tilpner> asymmetric: Editing configuration manually for debugging is a valid usecase, but many other services already disallow this
drakonis has joined #nixos
hamishmack has joined #nixos
<asymmetric> tilpner: yeah, it's possible to do it declaratively, and i think doing it imperatively should not be supported
hexo_ is now known as dolanbatar
<asymmetric> tilpner++
<{^_^}> tilpner's karma got increased to 40
<tilpner> Only if it's very useful
hamishmack has quit [Client Quit]
<tilpner> Users of NixOS aren't going to be surprised a service sacrificed some niche feature for stateless-ness
nschoe has joined #nixos
<tilpner> (Unless that feature is more than a tiny convenience)
<{^_^}> [nixpkgs] @mmahut merged pull request #67328 → eksctl: 0.4.1 -> 0.4.2 → https://git.io/fjN4U
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjN4h
<nschoe> Hi everyone, I have been using KiCad with nixOS for quite a long time, and it workde mostly okay. But for a few weeks now, when I try to 3D components/boards, I am greeted with an error message "OpenGL 2.1 is required".I have recently updated my nix-channel and upsated the whole system, but it did not chang eanything.
<Yaniel> did you reboot
<nschoe> Yaniel, Yes.
is_null has quit [Quit: leaving]
<tilpner> nschoe: What GPU are you using?
<nschoe> In KiCad's default.nix file I see libGLU_combined as a dependecy, so I suppose that's where OpenGL is.
<tilpner> It's possible an update to kicad changed the requirements
<nschoe> tilpner, I'm on a thinkpad laptop, with an embedded Intel chip. No dedicated graphcis crd.
ilmu has joined #nixos
<nschoe> tilpner, also noet that it has worked for a long time (on the same computer): I could see my boards in 3D, etc.
<tilpner> It's possible an update to kicad changed the requirements
<Yaniel> nixos did also change something about LD_LIBRARY_PATH
<tilpner> nix-shell -p pciutils --run lspci | grep VGA
<nschoe> tilpner, possibly. In this case I should not be the only one, but I don't find anything on the github.
<Yaniel> which has broken renderdoc, among other things
thc202 has joined #nixos
<Yaniel> I haven't got an answer on how it's supposed to be fixed yet
hamishmack has joined #nixos
<tilpner> nschoe: 3D viewer still works here with /nix/store/d1h0sxk7ngld9jghrg8m6v642rrhxdz9-kicad-5.0.2/bin/kicad
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjNBJ
<nschoe> Yaniel, oh?
<Yaniel> trying to capture anything just prints an error saying nvidia driver can't find libnvidia-glvkspirv.so.430.40
<nschoe> tilpner, is there a way for me to get this exact version?
<tilpner> nschoe: nix-shell -p pciutils --run lspci | grep VGA
<tilpner> nschoe: And yes, with nix-store -r /nix/store/d1h0sxk7ngld9jghrg8m6v642rrhxdz9-kicad-5.0.2
<tilpner> (Hopefully)
<nschoe> tilpner, pciutils output is: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
<tilpner> That sounds recent enough
<nschoe> tilpner, I have just launched the command. But how does this work? o_O This path doesn't exist on my machine. So I guess it';s fetching it somewhere?
<tilpner> Yes, it would be fetched from cache.nixos.org by default
jgeerds has quit [Ping timeout: 258 seconds]
<nschoe> tilpner, I guess so. I havent had other issues with OpenGL before. It worked with KiCad, it worke with other things too
<tilpner> Does it still work with e.g. glxspheres64?
<tilpner> (From virtualgl)
<nschoe> tilpner, the command finnished, should I manually make a link to /nix/store/d1h0sxk7ngld9jghrg8m6v642rrhxdz9-kicad-5.0.2/bin/kicad in order to be able to launch it? (Just askign if there is a special nix command or if I should do it manaully)
<tilpner> You can just enter that path into a shell directly
<nschoe> yes
<nschoe> tilpner, I launched it: no 3D viewer either :/
<nschoe> tilpner, I don't have an error message, but the window is blank, empty.
alex`` has quit [Ping timeout: 272 seconds]
<tilpner> Aww, what about glxspheres64?
<nschoe> tilpner, how do I launch/test that? nix search does't return anything
<tilpner> $(nix-build --no-out-link '<nixpkgs>' -A virtualgl)/bin/glxspheres64
<clever> virtualglLib.out 37,888 x /nix/store/ikijswyn692h7i10j3lwhqzj6r0q5aad-virtualgl-lib-2.5.1/bin/glxspheres64
<clever> thats a new one
<clever> virtualgl.out 0 s /nix/store/j7xql3qsrp1gzdd1msz97bvp9ch4j4pc-virtualgl-2.5.1/bin/glxspheres64
alex`` has joined #nixos
<clever> ` nix run nixpkgs.virtualgl --command glxspheres64` works here
<clever> getting 60 fps and ~67 mpixel/sec, with a 2d game also running
<tilpner> Sure, but your graphics setup isn't broken
<clever> exact same performance on the laptop, with integrated graphics
<clever> i think the vsync is throttling it
<tilpner> Yes
<clever> same as glxgears, 300 fps is a sign of a problem
<nschoe> tilpner 's command works for me: 60fps, 37.3 Mpixels/sec.
<tilpner> vblank_mode=0 to unlimit on some setup
<nschoe> (the animation is quite beautiful ^^)
<tilpner> What did it say in the "OpenGL Renderer" line?
<clever> tilpner: that does in the cli args? it seems to have no effect here
<nschoe> Got this:
<nschoe> Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)
<nschoe> OpenGL Renderer: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)
<nschoe> Context is Direct
<nschoe> Visual ID of window: 0x11f
<tilpner> clever: env arg
<clever> ah
<clever> whoa yeah, that did it
<clever> 700 fps, and ~700 mpixels/sec on the desktop
<nschoe> xD
<clever> while the laptop gets ~280mpixels/sec
o1lo01ol1o has joined #nixos
___laika has quit [Ping timeout: 258 seconds]
<nschoe> tilpner, does it looks okay?
o1lo01ol1o has quit [Remote host closed the connection]
<tilpner> nschoe: Yes. What does /nix/store/d1h0sxk7ngld9jghrg8m6v642rrhxdz9-kicad-5.0.2/bin/kicad-ogltest output?
o1lo01ol1o has joined #nixos
<tilpner> ,paste
<{^_^}> Use a website such as [ https://gist.github.com/ http://ix.io/ https://hastebin.com/ http://sprunge.us/ https://paste.ee/ ] or similar services to share anything that's longer than a couple lines.
joshuagl has joined #nixos
<nschoe> tilpner, I got: "*** Caught unhandled unknown exception; terminating" :/
<tilpner> That's all? Uh oh
<nschoe> tilpner, yes that's all :D
<tilpner> I guess you could strace it, but I must admit we've reached the end of my graphics debugging skills
<tilpner> So, uh, anyone?
<nschoe> tilpner, all right. Thanks for the time and help, this is appreciated.
<clever> tilpner: mesa debug flags are next
<nschoe> I'm surprised this just stopped working "just like that" :D
<nschoe> tilpner, for strace, did you mean the kicad-ogltest or kicad?
<tilpner> Probably ogltest, since it'll slightly more readable
<tilpner> *+be
<nschoe> okay
<tilpner> nschoe: Also run: LIBGL_DEBUG=verbose /nix/store/d1h0sxk7ngld9jghrg8m6v642rrhxdz9-kicad-5.0.2/bin/kicad-ogltest
<tilpner> nschoe: And I guess you could start kicad with LIBGL_ALWAYS_SOFTWARE=1
<tilpner> That will not use your GPU, but it might be okay
<tilpner> (In case you need kicad now and don't have time or patience to fix this)
<nschoe> strace the ogl test gave those last few lines (with some ENOENT, dunnow if its normal): https://gist.github.com/nschoe/7af0570de6db7a769ea248a349582548
<nschoe> I'm trying it now.
<nschoe> The line with LIBGL_DEBUG=verbose did not change a thing, still have only *** Caught unhandled unknown exception; terminating
ng0 has joined #nixos
<tilpner> That makes sense if it never even reaches libgl
<nschoe> Yeah I guess so.
<tilpner> So it would be interesting if it runs with LIBGL_ALWAYS_SOFTWARE=1
<tilpner> It shouldn't, if that explanation is correct
<nschoe> Also launching KICAD with LIBGL_ALWAYS_SOFTWARE=1 doesn't change anything: blank screen, no 3D view.
<nschoe> It doesn't :/
<tilpner> Huh
<tilpner> Are you on unstable or 19.03?
<nschoe> DUnnow if it matters, but I run i3wm (the i3-gaps fork) and I'm using Compton
<Miyu-chan> Can I;2ujust second that kicad was buggy for me?
<tilpner> nschoe: I'm on i3 (no gaps), no compton
fendor has joined #nixos
<Miyu-chan> I didn't care enough to get it fixed, but it was buggy for me around a year ago.
<tilpner> I don't know if compton can interfere with that, but i3 isn't the problem
<nschoe> Miyu-chan, the 3D view?
<Miyu-chan> Even the main view, IIRC.
<nschoe> tilpner, yeah I';ve always run i3, for years. So that's not it. I did switch from i3 to i3-gaps a few weeks ago, though. I doubt this is the issue.
<Miyu-chan> Yeah. Some lines would stop appearing, etc.
<nschoe> Ok
<Miyu-chan> Just putting that down. I'm not interested in it anymore, since I don't need to use CAD software.
<nschoe> Ok
<nschoe> I'm curious to try without compton.
<nschoe> I'll disable it in the configuration.nix
<nschoe> Rebooting, brb
jgt has quit [Ping timeout: 276 seconds]
<tilpner> nschoe: If it helps, here [ https://tx0.co/RaK
growpotk- has quit [Quit: ZNC 1.7.4 - https://znc.in]
<tilpner> ... bad weechat
<tilpner> nschoe: If it helps, there are the open calls ogltests makes on a working setup
<nschoe> tilpner, thanks. I'll try to compare.
<nschoe> brb
nschoe has quit [Quit: Program. Terminated.]
no-n has left #nixos [#nixos]
nschoe has joined #nixos
<nschoe> Hi back. No luck :/
<nschoe> Shutting down compton did not solve it.
o1lo01ol1o has quit [Remote host closed the connection]
<nschoe> tilpner, dunow if this is relevant, but in your trace, the openat calls are on libGLX_mesa.so.0, mine are on libGLX_indirect.so.0 (and they end up on ENOENT).
philr has joined #nixos
<tilpner> FWIW LIBGL_ALWAYS_INDIRECT=1 kicad segfaults
orivej has joined #nixos
<tilpner> Probably not worth much though
<nschoe> tilpner, works for me (KiCad launches)
<nschoe> (no 3D either, though)
cfricke has quit [Quit: WeeChat 2.5]
<nschoe> tilpner, I'm reading the post you linked.
<tilpner> What is libGL?
<tilpner> OpenGL-based programs must link with the libGL library. libGL implements the GLX interface as well as the main OpenGL API entrypoints. When using indirect rendering, libGL creates GLX protocol messages and sends them to the X server via a socket. When using direct rendering, libGL loads the appropriate 3D DRI driver then dispatches OpenGL library calls directly to that driver.
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/7ad6a4a01ff (from 7 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<tilpner> Maybe yours can't find libGL and falls back to indirect mode?
<tilpner> No, that doesn't sound right
cfricke has joined #nixos
<nschoe> I'm out of my league here with OpenGL :/ I don't know much about it.
<nschoe> I've read the "fix" in your post, but I'm not sure how this translates to nixos systems, as there's no global /usr.
<tilpner> nschoe: Do you have hardware.opengl.dirSupport and .enable set?
<tilpner> *driSupport
o1lo01ol1o has joined #nixos
<nschoe> Oh !
<nschoe> I got it to work:
<nschoe> LD_PRELOAD='/run/opengl-driver/lib/libGLX_mesa.so' kicad
<Miyu-chan> :D What was the fix?
<nschoe> Now I got 3D!
<nschoe> tilpner, let me check
<Miyu-chan> Nice.
<tilpner> \o/
<tilpner> Now you can figure why that was necessary
<nschoe> xD I have _no idea_
<nschoe> tilpner, in my configuration.nix I have: # Enable 32 bits support for steam
<nschoe> hardware.opengl.driSupport32Bit = true;
teser has joined #nixos
<tilpner> What about just driSupport?
<tilpner> nixos-option hardware.opengl.driSupport
<tilpner> (run that in a shell)
o1lo01ol1o has quit [Ping timeout: 248 seconds]
dasj19_ has quit [Quit: dasj19_]
<tilpner> I guess it defaults to true?
orivej has quit [Ping timeout: 268 seconds]
<teser> hi, I have vim compiled that will load /nix/store/41p29hqidnaq06qab2xixnpvla3rvj7c-vim_configurable-8.1.0578/share/vim/vim81/autoload/ scripts, which I suspect are the culprit of really slow usage of vim when editing rst files; any ideas how can I disable them, especially the RstFold.vim which is auto-loaded when starting vim =
<nschoe> tilpner, Value: true, Default: truew
polman has quit [Ping timeout: 245 seconds]
<nschoe> rue*
<nschoe> true**
polman has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67213 → nixos: adding jormungandr service → https://git.io/fjbQj
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjNBS
<clever> tilpner: wooo, the desktop gets 1500 mpixels/sec when a game isnt going
<clever> so that game was using about 40% of the GPU
<asymmetric> is there a preference between patches, sed, and substituteInPlace?
jgt has joined #nixos
<clever> asymmetric: i prefer patches, since they will fail correctly, rather then silently being undone
<asymmetric> clever: are they harder to maintain across upstream code changes?
<clever> asymmetric: depends on if upstream changes something in that area of the code
<alexarice[m]> asymmetric: yes but it's better that something needs to be repatched than breaks silently
<alexarice[m]> there's also substituteAll which can be used for example to put a store path into a patch
<asymmetric> makes sense. thanks! clever++ alexarice[m]++
<{^_^}> alexarice[m]'s karma got increased to 1, clever's karma got increased to 176
<{^_^}> [nixpkgs] @mmahut opened pull request #67331 → jormungandr: 0.3.2 -> 0.3.3 → https://git.io/fjNBN
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Ma27 merged pull request #67330 → scalafmt: 2.0.0 -> 2.0.1 → https://git.io/fjN4n
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjNBA
<immae> Hello there, I’m trying to use a netrc file in /etc/nix/netrc, but it seems to be ignored, did I forget something?
<immae> (I’m in multi-user / daemon mode)
<clever> immae: what does `nix show-config | grep netrc` say?
freedan42x has joined #nixos
drakonis has quit [Ping timeout: 245 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drakonis has joined #nixos
<immae> clever: `netrc-file = /etc/nix/netrc`
<immae> (it’s the same file)
<clever> immae: you may also need to restart nix-daemon when changing the file
<immae> Yes, I did
<clever> not sure what else to check
<immae> I tried curl --netrc-file /etc/nix/netrc url and it works
<immae> but with nix-build the file is not even accessed
<clever> immae: how do you know the file isnt accessed?
<immae> ls -lutr /etc/nix
<immae> the timestamp doesn’t change
jgt has quit [Read error: Connection reset by peer]
<immae> clever: yes, I read the nix source to find the curl equivalent, so it "should" have the same effect as my `curl --netrc-file /etc/nix/netrc url `
<clever> fetchurl.cc is only for builtins.fetchurl
<immae> ah
<clever> download.cc, i think is used by binary cache api's
<immae> you mean nixpkgs.fetchurl != builtins.fetchurl ?
<clever> correct
<immae> ok
<clever> pkgs.fetchurl is a normal derivation, that runs curl, inside a builder
<clever> what is actually failing?
<immae> The fetching of the url (it’s a 404 but it’s a wrong server configuration to say that the permission is not granted)
<immae> (github)
<clever> can you pastebin the full output?
<immae> the same url with correct credentials (via curl) responds with a 302
<clever> thats happening within a derivation, so its not really nix doing the download
<clever> its curl, inside a sandbox
<immae> ok, understood
<immae> so I’ll try to use builtins.fetchurl
<clever> these are special env vars, that nix will allow to leak into the sandbox
<clever> which you can then use to control what that curl does
<immae> So nix-build will transmit them to the nix-daemon?
<immae> I thought that this (impure environment variables) couldn’t work in daemon mode
<clever> immae: correct, nix-daemon will read those env vars from its own env
<immae> ok
<clever> immae: one min
<clever> immae: systemd.services.nix-daemon.environment.FOO = "bar"; will set FOO=bar within nix-daemon's service
<clever> but, this also reveals, settings meant for exactly this purpose
<immae> ok understood (I’m in a non-nixos system, but I get the idea)
<immae> Thanks for your time clever, I think I’ll manage to do something with builtins.fetchurl
<clever> ah, then youll need to modify whatever is running nix-daemon
ubert has joined #nixos
<clever> to make sure one of those env vars has been set
<immae> yes
<{^_^}> [nixpkgs] @MP2E merged pull request #67235 → dolphin-emu fixes and updates → https://git.io/fjNvO
<{^_^}> [nixpkgs] @MP2E pushed 7 commits to master: https://git.io/fjNRP
<immae> clever: do you know if adapting the nix-build -> nix-daemon protocol to make it able to pass environment variable (in fixed-output context only of course) is something possible and just noone took time to do it, or something that would be refused anyway?
<cinimod> I'd like to fix this: https://hydra.nixos.org/build/66342023/nixlog/1
<clever> immae: it should be possible
<{^_^}> [nixpkgs] @Ma27 merged pull request #67300 → omegat: 4.1.5.2 -> 4.3.0 → https://git.io/fjNsA
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjNRH
<immae> ok
<immae> I’ll see if I have time some day :D
sigmundv_ has joined #nixos
<immae> hmm
<clever> immae: this is where it will get the env vars and put them into a map, it will need to somehow query the remote process
<clever> either there, or sooner
<cinimod> Anyone know why I get `Setup: The pkg-config package 'blas' is required but it could not be found.`?
<immae> ok, cool thanks for the pointer
<cinimod> How do I reproduce this locally so I can debug it?
<clever> cinimod: open a nix-shell on that drv file, and then run `pkg-config --print-errors blas`
<clever> cinimod: clone the rev of nixpkgs that is failing, and then `nix-build -A haskellPackages.blas-ffi`
cfricke has quit [Quit: WeeChat 2.5]
<cinimod> clever: error: Package ‘blas-ffi-0.1’ in /Users/dom/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:40226 is marked as broken, refusing to evaluate.
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
inkbottle has quit [Ping timeout: 245 seconds]
inkbottle has joined #nixos
<clever> cinimod: --arg config '{ allowBroken = true; }
<clever> '
<cinimod> clever: [nix-shell:~/darcs/lapack]$ pkg-config --print-errors blas
<cinimod> Perhaps you should add the directory containing `blas.pc'
<cinimod> Package blas was not found in the pkg-config search path.
Chiliparrot has joined #nixos
<cinimod> to the PKG_CONFIG_PATH environment variable
<cinimod> No package 'blas' found
<clever> cinimod: sounds like blas just needs to be added to the system depends
<cinimod> So I have reproduced the error
<cinimod> clever: I think something is needed in the cabal file
<cinimod> I assume nix creates the derivation using cabal2nix
<clever> yeah
* cinimod goes to look at the cabal file
<clever> [clever@amd-nixos:~/apps/nixpkgs-master]$ vi pkgs/development/haskell-modules/hackage-packages.nix
<clever> 40223 "blas-ffi" = callPackage
<clever> 40232 libraryPkgconfigDepends = [ blas ];
<clever> cinimod: it already has it
jgt has joined #nixos
<cinimod> ??? - so if it has it why does it say it does *not* have it
<clever> [clever@amd-nixos:~/apps/nixpkgs-master]$ nix-shell -p blas pkgconfig -I nixpkgs=.
<clever> Package blas was not found in the pkg-config search path.
<clever> [nix-shell:~/apps/nixpkgs-master]$ pkg-config --print-errors blas
<clever> there is no blas.pc in the blas package
<clever> [clever@amd-nixos:~/apps/nixpkgs-master]$ nix-build -A blas
<clever> [clever@amd-nixos:~/apps/nixpkgs-master]$ ls -l result/lib/
teser has quit [Ping timeout: 245 seconds]
cfricke has joined #nixos
<clever> cinimod: i think you want to fix the pkgs.blas package, to include a blas.pc file
cfricke has quit [Client Quit]
cfricke has joined #nixos
drakonis has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos
orivej has joined #nixos
<Miyu-chan> Eep. NixOps is complaining about "REMOTE HOST IDENTIFICATION HAS CHANGED" now.
<Miyu-chan> Any thoughts?
<Miyu-chan> Race condition, maybe?
<joepie91> Miyu-chan: have you recently reinstalled (from scratch) a target host?
<Miyu-chan> I've been destroy+delete and deploying machines recently, if that's what you're asking.
<Miyu-chan> This started happening after I advanced my nixpkgs commit.
<Miyu-chan> I checked my known_hosts, and it's of course complaining about the lines with "NixOps auto-generated key"
<joepie91> Miyu-chan: that warning occurs when the SSH host key of a system has changed from what it was previously; if you didn't expect that to occur, it could indicate that an attacker is in the middle of the connection trying to intercept your session
<joepie91> Miyu-chan: however, when you've been destroying and re-instantiating systems under the same hostname or IP, it's a normal thing to happen
<clever> or it could be that the default key type for the server has changed
<joepie91> as each fresh installation will generate a new host key
<cinimod> clever: I will try
<Miyu-chan> Okay. So I at the very least know *what's* happening.
nschoe has quit [Ping timeout: 252 seconds]
<Miyu-chan> The host key is replaced on the machines, because they should be.
<Miyu-chan> (that much is obvious lol)
<Miyu-chan> *But* on the local known_hosts, some of my entries are not being updated.
<joepie91> what do you mean with "not being updated"?
* cinimod has never created a .pc file
<Miyu-chan> Based on how I understand it, `nixops deploy` has 2 SSH stages.
<Miyu-chan> The first one is provisioned by AWS, which gets populated on known_hosts.
<Miyu-chan> Then the machines generate their own keypair, and sends it back to you(?).
<Miyu-chan> What happens is that there's a desynchronization. The machines generate their keypair, but the deployer is not notified about this.
<Miyu-chan> Based on how I understand.
<clever> nixops will create a keypair locally, and put the private into the metadata when spawning a machine
<joepie91> Miyu-chan: the machine generating a keypair is unrelated to nixops, and generally occurs the first time that the sshd starts on that system. it's also not 'sent to you' until you attempt to connect to it, and then it's up to your system to decide what to do with it
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/bde3197f9b2 (from 4 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<clever> but that private is potentially leaked
<clever> so the first time nixops ssh's into the machine, it will delete the keypair it just installed, and regenerate it
<clever> then copy the new public down
<Miyu-chan> Yep.
<Miyu-chan> FWIW, these are the entries on my known_hosts.
<{^_^}> [nixpkgs] @uvNikita opened pull request #67332 → nixos-container: use systemd-run instead of nsenter → https://git.io/fjN0g
<Miyu-chan> 52.198.231.223 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN+jkqsZFbwLjRuWFSLRrYuWxoYTPsGc3eO+rWjGPQft NixOps auto-generated key
<Miyu-chan> 13.230.68.167 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAK+4ij/U7r7gqGFXa7HokZjm1Ap93SfMuTQHTDVwbYT root@ip-172-31-47-244.ap-northeast-1.compute.internal
<joepie91> clever: yes, but that isn't the host key
<joepie91> (afaik?)
<Miyu-chan> As you can see, one has "NixOps auto-generated key," while the other one actually has the (internal) host-name of the machine.
nschoe has joined #nixos
<clever> joepie91: yes, that is the hostkey
<Miyu-chan> I'm reflogging and see what changed in nixops.
<joepie91> clever: this sort of thing really needs to be documented.
hamishmack has joined #nixos
<clever> joepie91: it then gets shoved into the user_data, and the machine boots with that
<joepie91> oh, what, this is EC2-specific?
<Miyu-chan> And... nothing changed. Of course.
<clever> joepie91: yes
<Miyu-chan> [myrl@myrl:/etc/nixos/nixpkgs]$ git diff c7a57ae6b4e..5e5a51f7868 -- ./pkgs/tools/package-management/nixops
<Miyu-chan> [myrl@myrl:/etc/nixos/nixpkgs]$
<joepie91> okay, I give up :) this sort of thing is why I prefer morph...
<clever> Miyu-chan: when it regenerates the key, it will be removing the special `NixOps auto-generated key` string, there is also a fixme in here
<Miyu-chan> scheduler........> replacing temporary host key...
<Miyu-chan> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
<Miyu-chan> @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
<Miyu-chan> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
<Miyu-chan> Yeah, I think the "not atomic" is exactly the problem.
<Miyu-chan> It probably deployed the machines at the same time.
<Miyu-chan> Yikes.
<clever> Miyu-chan: nixops.known_hosts.update also comes into play, that will modify known_hosts for you
<clever> to re-sync it when nixops changes the remote host keys
<Miyu-chan> Thanks. Checking.
<Miyu-chan> # FIXME: this rewrites known_hosts twice.
<Miyu-chan> I'll go deploy with a few machines.
<clever> Miyu-chan: are you perhaps doing 2 deploys at once?
<Miyu-chan> I don't think so.
<Miyu-chan> I restarted my computer just to be veryy sure.
<Miyu-chan> I'll try deploying the machines one by one.
<Miyu-chan> And see if that helps.
<freeman[w]__> how can I tell which Nix package contains the clip executable?
o1lo01ol1o has quit [Remote host closed the connection]
<clever> ,locate bin clip
<{^_^}> [nixpkgs] @nlewo opened pull request #67333 → yq-go: init at 2.4.0 → https://git.io/fjN0M
<{^_^}> Found in packages: clips, clipit, rustup, clipgrab, clipmenu, clipster, clipnotify, conglomerate, perl528Packages.Clipboard, perldevelPackages.Clipboard
<clever> freeman[w]__: you can also run `nix-locate bin/clip` locally
<Miyu-chan> Anyways, at the very least, it's somewhat obvious why it can't recover from this.
<Miyu-chan> > "rm -f /etc/ssh/ssh_host_{0}_key*; systemctl restart sshd; cat /etc/ssh/ssh_host_{0}_key.pub"
<{^_^}> "rm -f /etc/ssh/ssh_host_{0}_key*; systemctl restart sshd; cat /etc/ssh/ssh_host_{0}_key.pub"
<Miyu-chan> The key gets deleted, and you're on your own trying to recover from that.
ilmu has quit [Ping timeout: 252 seconds]
<freeman[w]__> clever, damn, it provides too many packages that contain something like it... but I wonder whether they are all the same thing?
<Miyu-chan> Probably not.
<clever> freeman[w]__: on my end, i dont see any that actually have a clip binary
<clever> i see clips, clipit, clipgrab, but no clip
fendor_ has joined #nixos
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Miyu-chan> ,locate bin py
<{^_^}> Found in packages: fpc, xen, fmbt, geis, pyCA, pydb, pypy, pyre, antlr, pypy3, pyrex, spark, pyIRCt, pythia, pyznap, rshell, pyMAILt, pysolfc, python3, pypi2nix, pyrex096, python35, python36, xen-slim, bootchart, pygmentex, pyo3-pack, sloccount, xen-light, coccinelle, openmolcas, python2nix, python2Full, python3Full, pybitmessage, python35Full, python36Full, pyprof2calltree, datadog-agent.bin, linuxPackages.bcc, kdeApplications.kig, and 126 more
<Miyu-chan> So it's not a strict search. Welps.
o1lo01ol1o has joined #nixos
<Miyu-chan> clever: Methinks that it's because of NixOps internally deploying concurrently.
<clever> Miyu-chan: plausible
hamishmack has joined #nixos
<Miyu-chan> That's actually a big :/ I'll just hack this up in Bash.
fendor has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @lightbulbjim opened pull request #67334 → irccloud: init at 0.13.0 → https://git.io/fjN0b
<clever> Miyu-chan: it grabs an flock on a ~/.ssh/.known_hosts.lock file, so nixops itself cant be modifying the file twice at once
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @markuskowa merged pull request #67291 → gengetopt: 2.22.6 -> 2.23 → https://git.io/fjN30
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjN0N
o1lo01ol1o has joined #nixos
<Miyu-chan> Oh.
<Miyu-chan> I didn't actually notice that.
hamishmack has quit [Client Quit]
<clever> Miyu-chan: but if the ssh client follows different rules, ssh could potentially undo changes nixops was doing, via a multi-program race
<Miyu-chan> Yeah. I think that was the problem.
<clever> youll want to check the ssh source, to see how it updates the file
NinjaTrappeur has quit [Quit: WeeChat 2.5]
<clever> and if it respects locks the same way
fendor_ is now known as fendor
eskytthe has joined #nixos
* clever heads off to bed
hamishmack has joined #nixos
eskytthe has left #nixos [#nixos]
<Miyu-chan> So I deleted the lock file, and it seems to work now. OTOH, that uses flock, so that shouldn't have been a problem from the start, right?
NinjaTrappeur has joined #nixos
<Miyu-chan> flock doesn't actually have any persistent file system operations, I think?
Zer0xp has joined #nixos
<Miyu-chan> There's also the possibility that I was just severely unlucky, and 3 deploys in a row had race conditions.
<clever> flock is purely in-memory
<clever> if the process holding the lock dies, or the file handle is closed, the lock is released automatically
<Miyu-chan> Yeah. I'm starting to wonder if I was just severely unlucky then. :P
<clever> the only real way to leak such a lock, is if you leak the entire process, or you let your children inherit that file handle
hamishmack has quit [Client Quit]
o1lo01ol1o has quit [Remote host closed the connection]
hamishmack has joined #nixos
<Miyu-chan> I think there is one other way for a race condition to happen though. Hm.
Profpatsch has left #nixos ["WeeChat 0.4.3"]
<Miyu-chan> NixOps and SSH access the files both at the same time.
<Miyu-chan> Might happen with a lot of machines, I;2ubelieve.
<Miyu-chan> TL:DR. NixOps replaces the known_hosts, while a new machine gets SSH'd to for initializaiton.
chr15 has joined #nixos
<clever> Miyu-chan: but i think nixops is pre-loading the right keys into the file, before ssh'ing into each machine
<clever> so ssh itself shouldnt have to prompt or write anything, normally
<freeman[w]__> is anyone here using Spacemacs that was installed on NixOS and/or just using Nix? if yes, how did you install it?
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Miyu-chan> clever: Hm. Probably not, since nixops ssh uses StrictHostKeyChecking=no.
<Miyu-chan> Or whatever that option is.
<clever> its 8am here, i should get to bed
<Miyu-chan> G'night!
<manveru> freeman[w]__: using spacemacs... simply installed emacs and then manually put spacemacs config on top like the official instructions :)
<Miyu-chan> Also. DST or smth? I thought we're 12 hours apart
<clever> Miyu-chan: probably
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f096e5a46d8 (from 72 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Miyu-chan> THanks.
xkapastel has joined #nixos
<freeman[w]__> manveru, would it be ok to ask for your full emacs config? please :)
<manveru> and in home-manager, i simply have `services.emacs.enable = true; programs.emacs.enable = true;`
<joko> Is there any Nix / nixpkgs function to list the contents of a file directory?
<manveru> joko: builtins.readDir
<joko> manveru++
<{^_^}> manveru's karma got increased to 20
shibboleth has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjNEq
___laika has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjNEm
<freeman[w]__> manveru, thank you. I heard good things about home manager, I should start using it probably manveru++
<{^_^}> manveru's karma got increased to 21
<{^_^}> [nixpkgs] @cw789 opened pull request #67335 → unifiStable: 5.10.26 -> 5.11.39 → https://git.io/fjNE3
___laika has quit [Ping timeout: 244 seconds]
freedan42x has quit [Read error: Connection reset by peer]
freedan42x has joined #nixos
<manveru> is there some way to let nix know that a derivation should not be looked up in substituters?
veske2 has joined #nixos
veske has quit [Read error: Connection reset by peer]
<manveru> `nix-build 0.29s user 0.05s system 6% cpu 5.172 total` vs `nix-build --option substituters '' 0.30s user 0.04s system 55% cpu 0.611 total`
<tilpner> allowSubstitutes = false;
<tilpner> Also preferLocalBuild = true;, which IIRC is less strong
<manveru> thanks :)
ilmu has joined #nixos
jgt has quit [Read error: Connection reset by peer]
iyzsong has joined #nixos
chr15 has quit [Ping timeout: 245 seconds]
Zer0xp has quit [Ping timeout: 258 seconds]
<freedan42x> how do I install a font if I have .ttf file?
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
o1lo01ol1o has joined #nixos
<tilpner> freedan42x: Create a derivation that places your file at $out/share/fonts/truetype and put that into fonts.fonts
<srhb> freedan42x: Create a package that has it in $out/share/fonts/truetype, add that package to fonts.fonts
<srhb> ack, too slow
ilmu has quit [Ping timeout: 250 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<freedan42x> $out/share/fonts/truetype: No such file or directory
<tilpner> You need to mkdir -p it
<Miyu-chan> Do I need to make a new option to post-process config.foo.bar?
<tilpner> That depends on the post processing
<Miyu-chan> I want to filter out a specific item in a list.
<tilpner> Oh, that one
dansho has quit [Ping timeout: 246 seconds]
sb0 has quit [Quit: Leaving]
orivej has quit [Ping timeout: 245 seconds]
<manveru> is there a good way to benchmark nix?
dansho has joined #nixos
<tilpner> manveru: Run a full eval of nixpkgs I guess?
hamishmack has joined #nixos
<manveru> i mean a specific set of derivations, not eval speed itself
<{^_^}> [nixpkgs] @Lassulus merged pull request #66215 → ejabberd: 19.05 -> 19.08 → https://git.io/fjQWy
<{^_^}> [nixpkgs] @Lassulus pushed 3 commits to master: https://git.io/fjNEr
<manveru> though that might also cause slowdowns, not sure...
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #67327 → coursier: 1.1.0-M14-6 -> 2.0.0-RC3-3 → https://git.io/fjN4f
<{^_^}> [nixpkgs] @NeQuissimus pushed commit from @markus1189 to master « coursier: 1.1.0-M14-6 -> 2.0.0-RC3-3 »: https://git.io/fjNEK
<tilpner> manveru: Do what with it? Build it?
<Miyu-chan> Actually. I think my problem is more complicated lol
<{^_^}> [nixpkgs] @uvNikita opened pull request #67336 → [WIP] nixos/containers: add unprivileged option → https://git.io/fjNEi
<manveru> well, i have a set of about 20 derivations that take 45 seconds to run, but each execution shouldn't take more than 0.08s
<tilpner> Says who?
<freedan42x> what did I do wrong: https://paste2.org/yEC7C426?
<tilpner> Where did you get those 0.08s? Same system, same Nix settings?
<manveru> tilpner: running it outside a derivation
<Miyu-chan> I'll just hardcode "wait for service to startup" on my script.
<tilpner> freedan42x: You didn't create a package or derivation
<Miyu-chan> TL;DR. I want service A to wait for service B, but I don't want A to restart when B does.
<freedan42x> tilpner, how to do that? :<
<manveru> it's basically parsing a markdown file, converting it to json, nothing too intense :)
<Miyu-chan> If anyone has any idea on how to do that, then I'd like to know.
jgt has joined #nixos
<tilpner> freedan42x: runCommandNoCC "foo" ''mkdir -p $out/share/fonts/truetype; cp ${./foo.ttf} $out/share/fonts/truetype''
<tilpner> freedan42x: install would be nicer, but I always forget the flags
<manveru> `install -m 0644 -D ${./foo.ttf} $out/share/fonts/truetype/foo.ttf`
<manveru> or the like
ilmu has joined #nixos
nschoe has quit [Ping timeout: 252 seconds]
nschoe has joined #nixos
andreas303 has quit [Quit: andreas303]
andreas303 has joined #nixos
<tilpner> manveru: So you mean eval/instantiation (there's no unambiguous "running")? Sounds like you already have a benchmark then?
<freedan42x> tilpner, runCommandNoCC: command not found
<tilpner> perf stat -r 200 nix-instantiate ...
andreas303 has quit [Remote host closed the connection]
<tilpner> freedan42x: It's in pkgs
<srhb> freedan42x: You should probably read a basic "how to create a package in nix" article at this point :)
<freedan42x> >_<
<srhb> freedan42x: These instructions are for how to use the nix language and nixpkgs to create a few package containing your font :)
kleisli has joined #nixos
<srhb> s/few/new
abbiya has quit [Quit: abbiya]
jgt has quit [Read error: Connection reset by peer]
andreas303 has joined #nixos
andreas303 has quit [Remote host closed the connection]
<manveru> tilpner: well, seems like it's the substituters indeed
<manveru> if i set `allowSubstitutes = false;` it finishes in 3 seconds instead
<manveru> `preferLocalBuild = true;` does nothing it seems
<tilpner> Just cache.nixos.org?
<manveru> no
<manveru> a bunch of cachix ones too :|
<gchristensen> that'll do ya
<manveru> it's sad that adding more caches makes things so slow
<tilpner> In what order are they registered?
<gchristensen> each one costs a penalty
<tilpner> Won't help with misses, but I vaguely remember they're tried in order
<srhb> Should be simple enough to race them all
<srhb> Or at least a bunch at a time.
<tilpner> That leaks every lookup you do
<gchristensen> sounds like a great PR, srhb :D
<manveru> they're in good order, but the hashes won't be in any of them anyway for this case
<tilpner> Please make it optional if you do
<srhb> gchristensen: I grew fungus last time I touched C++ :P
<srhb> Granted, that was Hydra...
andreas303 has joined #nixos
<manveru> a single cache lookup takes about 500ms afaict
chiiba has joined #nixos
<manveru> i have 6 caches specified
<srhb> Doesn't sound too unfair.
<chiiba> Hey, I have multiple multiple services set up to run docker-compositions, but because they both reside in /nix/store, docker-compose thinks they're somehow the same. I'm not fluent in docker internals, but has anyone experienced something like this?
<tilpner> Project-specific caches might be sensible?
<gchristensen> I can do a 404 lookup in 180ms
<manveru> tilpner: that'd be awesome, yeah
<gchristensen> you can do that, actually
Lukas4452 has quit [Ping timeout: 245 seconds]
<srhb> chiiba: That does not sound familiar to me. Can you elaborate?
<tilpner> gchristensen: But do you have to pass them manually? It'd be nice if direnv/lorri could do that
<gchristensen> yes, that would be really nice :)
<gchristensen> that was actually part of the original project description
<tilpner> And it would only take a NIX_ env var to provide caches to use
ilmu has quit [Ping timeout: 276 seconds]
<manveru> heh
<tilpner> So manveru, are you annoyed enough? c.c
drakonis_ has joined #nixos
<chiiba> I think the problem I'm running into is that both compositions are under the same namespace. So because both compositions have a container "postgres" - only one is being created, because the fully qualified container name becomes store_postgres.
<chiiba> srhb: ^
<freeman[w]__> after multiple successful boots NixOS just stopped during the boot process: https://i.imgur.com/lCJ6REN.png
<manveru> tilpner: C++ again? :P
Lukas4452 has joined #nixos
<zfnmxt> Does the NIXOS_CONFIG env variable override setting nixos-config=... in NIX_PATH?
drakonis1 has joined #nixos
sb0 has joined #nixos
<manveru> zfnmxt: seems like it
<tilpner> manveru: You could push on the Rust-in-Nix thing
<tilpner> (But that makes no sense here)
<zfnmxt> manveru: Thanks. Guess I I could've just tested it myself tbh =/
zupo has joined #nixos
<gchristensen> oh I thought you were talking about extending lorri :)
<tilpner> (Only to avoid C++ in the far future)
<manveru> zfnmxt: i just checked the source anyway ;)
<zfnmxt> Well that's even better!
<srhb> zfnmxt: There's also -I nixos-config=... :)
drakonis has quit [Ping timeout: 258 seconds]
cfricke has quit [Quit: WeeChat 2.5]
<zfnmxt> srhb: I know, that's what I've been doing. Time to set some variables so I don't always have to do that!
tmaekawa has joined #nixos
<srhb> Ah, okay :)
<manveru> tilpner: i'm not annoyed enough i guess... but if things continue like now, we'll have a spearate cachix cache for every haskell/rust project, grinding things to a halt
<tilpner> manveru: You could use any language you want to provide a proxy cache to Nix
<srhb> tilpner: That's a really good idea.
<tilpner> That could do anything, including aggressively caching misses, parallel lookup
tmaekawa has quit [Client Quit]
<srhb> In fact, I think nginx can do this out of the box...
<chiiba> srhb: I found the problem. Docker-composition containers are labeled from two things - project name & container name. If the project name isn't declared using an environment variable COMPOSE_PROJECT_NAME, then the docker-compose.yml directory basename is used instead. https://docs.docker.com/compose/reference/envvars/#compose_project_name
drakonis_ has quit [Ping timeout: 276 seconds]
<srhb> chiiba: Right right.
<srhb> chiiba: That makes sense :)
<chiiba> Thanks for the moral support tho' :D :)
<zfnmxt> Hm, so there's no variable for setting your nixpkgs path?
<zfnmxt> (Aside from editing NIX_PATH with the path)
<srhb> zfnmxt: nix.nixPath
Lukas4452 has quit [Ping timeout: 245 seconds]
<zfnmxt> srhb: Oh, even better. Thanks.
<srhb> Be wary that it's one of those things that can be a bit mind-bendy because it changes your system's behaviour wrt. Nix _after_ activation.
<manveru> tilpner: so that'd basically MitM, so it needs a separate cert, right?
zzz has joined #nixos
<zfnmxt> Right.
hyper_ch2 has quit [Remote host closed the connection]
cinimod has quit [Ping timeout: 272 seconds]
<zfnmxt> Oh, you can set nixos-config in nix.nixPath too. Cool.
<srhb> zfnmxt: Yeah, it's the entire variable.
jgt has joined #nixos
<roberth> manveru, tilpner: we can solve this problem for cachix in the future. How bad is it for you now?
<aanderse> is the manual broken in master for anyone else?
dansho has quit [Quit: Leaving]
<gchristensen> which?
<manveru> roberth: well, right now i have an average of 3s overhead for every derivation that doesn't specify `allowSubstitutes = false` with 6 caches
<{^_^}> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/8120fb6ec4c (from 77 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
<aanderse> nixos/doc/manual on  master [⇡$]
<aanderse> ➜ nix-shell -p gnumake --run make
<aanderse> make: *** No rule to make target 'options-to-docbook.xsl', needed by 'generated'. Stop.
jgt has quit [Read error: Connection reset by peer]
<gchristensen> hrm
<gchristensen> aanderse: probably broken by a refactor from domenkozar[m] :/
<srhb> Yep, 5cfd034af0afe55e4d25748ec986c71b3bfbe3dd
<manveru> roberth: i'm not sure what a good solution would be, other than parallel lookups in nix itself, or a cachix proxy that combines multiple caches...
<srhb> I guess we never test that entrypoint anymore.
<gchristensen> srhb: I test it often :P
<srhb> gchristensen: Sorry, by "we" I meant a robot. :D
<gchristensen> aye
<aanderse> i have broken the manual in the past, so i'm just glad it wasn't something i have done :P
<gchristensen> the manual's build is not broken
<srhb> aanderse: nix-build nixos/release.nix -A manual --arg supportedSystems '[ "x86_64-linux" ]'
<gchristensen> the shell env is
<srhb> manual's fine, Makefile is bad.
<srhb> ... said the parrot :)
<eyJhb> Anyone know of this error? "error: unable to download 'https://codeload.github.com/NixOS/nixpkgs-channels/zip/nixos-19.03/nixexprs.tar.bz2': HTTP error 404"?
<manveru> roberth: cool would be if one could `cachix use` for only the duration of a single `nix-build` without having to mess with the nix.conf afterwards :)
* gchristensen will slow down
<eyJhb> My channel list is - https://termbin.com/gnpc
<srhb> gchristensen: :-P
hyper_ch2 has joined #nixos
<srhb> eyJhb: Looks like a weird, broken redirect from GitHub?
<eyJhb> I can update from my other computer, which has the same config :/
<manveru> why the `.zip`?
<hyper_ch2> hmmmm, do most people use IDEs to code?
newhoggy_ has joined #nixos
<eyJhb> manveru: might be it, 2 sec
<eyJhb> Same error with .tar.gz :(
<srhb> eyJhb: Why not use our own channel releases?
<manveru> eyJhb: my channels are like `nixos https://nixos.org/channels/nixos-19.03`
<hyper_ch2> thx
<srhb> hyper_ch2: Probably more relevant in #nixos-chat :)
Lukas4452 has joined #nixos
<eyJhb> No matter waht I put into it, I get the same error......
<eyJhb> Just tried that manveru :/
<srhb> eyJhb: Did you update your channel?
<eyJhb> That is the error I get when I try to --update :D
<srhb> eyJhb: Sorry, when you use _ours_ you get an error about GitHub?
ilmu has joined #nixos
<eyJhb> Yup, so something is very off
<srhb> eyJhb: Are you mixing up user and root channels?
<eyJhb> Yeah, I mixed that one up, just noticed..
<eyJhb> On a clock :(
<{^_^}> [nixpkgs] @lsix merged pull request #67329 → font-awesome: 5.10.1 -> 5.10.2 → https://git.io/fjN4s
<{^_^}> [nixpkgs] @lsix pushed 2 commits to master: https://git.io/fjNuu
<srhb> eyJhb: Hurry slowly, as they say. :P
newhoggy_ has left #nixos [#nixos]
<eyJhb> Works! What are the mirrors for unstable and hardware config
<srhb> There's none for hardware config that I know of
<srhb> unstable is just s/19.03/unstable iirc
<eyJhb> So basically Github is NOT playing nice I guess
<tilpner> manveru: No, you don't need to mitm
<tilpner> roberth: I don't use cachix :)
<eyJhb> Thanks srhb and manveru ! :)
<eyJhb> Now I just hope I can get my TV SHows in time for my flight...
<eyJhb> 13 hours without entertainment might actually kill me
<manveru> eyJhb: :D
<manveru> audio books man
<eyJhb> I got none :( I just deleted them...
<eyJhb> And only now I realise it might be good
<roberth> tilpner: I CCed you because you were part of the conversation
<roberth> why not, if I may ask?
<tilpner> I don't trust random people to provide binaries for me
<tilpner> And that's not you, that's your users
veske2 has quit [Quit: This computer has gone to sleep]
mgdm has left #nixos ["WeeChat 1.4"]
<roberth> that's a fair concern. I only trust a limited number of caches myself
veske2 has joined #nixos
<tilpner> Though a per-project cache setup with sandboxing might be acceptable
veske2 has quit [Client Quit]
<eyJhb> manveru: ohh, I have hitchhikers guide to the galaxy! I will survive
Lukas4452 has quit [Ping timeout: 245 seconds]
<manveru> eyJhb: don't forget your towel man
veske2 has joined #nixos
Lukas4452 has joined #nixos
nabana has quit [Ping timeout: 250 seconds]
<eyJhb> I actually have forgotten one, thanks manveru
veske2 has quit [Client Quit]
<srhb> wow, life saved right there..
veske2 has joined #nixos
nabana has joined #nixos
fendor has quit [Remote host closed the connection]
Ariakenom has quit [Remote host closed the connection]
domogled has joined #nixos
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @mamueller opened pull request #67338 → netcdf4:init at 1.5.1.2 → https://git.io/fjNuD
nabana has quit [Quit: WeeChat 2.4]
Lukas4452 has quit [Ping timeout: 250 seconds]
<roberth> manveru: we now have an issue to track progress of the solving the per cache queries: https://github.com/hercules-ci/cachix-server/issues/231
<gchristensen> roberth++
<{^_^}> roberth's karma got increased to 2
Lukas4452 has joined #nixos
Lukas4452 has quit [Client Quit]
<roberth> ah sorry that's in the wrong repo. hold on
___laika has joined #nixos
veske2 has quit [Quit: This computer has gone to sleep]
<domenkozar[m]> that will be solved as part of mycache.cachix.org -> cachix.org/cache/mycache,mycache2/ migration
<domenkozar[m]> so the order will still matter, but you'll do one HTTP requests for all cachix caches
<domenkozar[m]> I'd prefer Nix would have a better protocol, but I guess there's zero interest switching away from S3 design :)
veske2 has joined #nixos
<domenkozar[m]> (cachix master already supports bulk query of narinfos that our CI uses)
<{^_^}> cachix/cachix#221 (by roberth, 51 seconds ago, open): Query multiple caches in a single request
<{^_^}> [nixpkgs] @vbgl merged pull request #67313 → dune: 1.11.1 -> 1.11.2 → https://git.io/fjNck
<{^_^}> [nixpkgs] @vbgl pushed 2 commits to master: https://git.io/fjNub
___laika has quit [Ping timeout: 245 seconds]
domogled has quit [Ping timeout: 246 seconds]
ilmu has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @talkara opened pull request #67339 → pythonPackages.robotframework-databaselibrary: init at 1.2.4 → https://git.io/fjNuA
___laika has joined #nixos
freeman[w]_ has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.5]
___laika has quit [Ping timeout: 272 seconds]
nschoe has quit [Ping timeout: 252 seconds]
gjabell has left #nixos ["Leaving"]
freeman[w]__ has quit [Ping timeout: 246 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @globin merged pull request #67294 → gitlab-runner: 12.1.0 -> 12.2.0 → https://git.io/fjNsO
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjNzt
knupfer has joined #nixos
nschoe has joined #nixos
<{^_^}> [nixpkgs] @etu opened pull request #67341 → phpPackages.phpstan: 0.11.12 -> 0.11.15 → https://git.io/fjNzC
mawis has joined #nixos
ilmu has joined #nixos
<{^_^}> [nixpkgs] @livnev opened pull request #67342 → solc 0.5.11 → https://git.io/fjNzE
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @livnev closed pull request #67342 → solc 0.5.11 → https://git.io/fjNzE
inkbottle has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
inkbottle has joined #nixos
drakonis has joined #nixos
o1lo01ol1o has joined #nixos
Okinan has quit [Ping timeout: 276 seconds]
<jonge[m]> i have a minor and non-intrusive PR open for a month now and i feel it is ignored, which leaves me with having it to rebase every now and then, which again feels like unnecessary work. is there anyone i could nudge about nodejs packages? https://github.com/NixOS/nixpkgs/pull/65306
<{^_^}> #65306 (by tfc, 4 weeks ago, open): nodePackages.gtop: init at 1.0.0
veske2 has quit [Quit: Leaving]
Okinan has joined #nixos
veske has joined #nixos
<srhb> jonge[m]: Sorry about that. I think it's mostly that people who are not familiar with nodePackages tend to not feel very secure in merging these. I would suggest pinging some of the people who have previously touched the tree to review and approve, that should speed things up.
<jonge[m]> srhb: i understand that. thank you
domogled has joined #nixos
<srhb> jonge[m]: If you still get no responses after a week or so after pinging me, feel free to ping me on the PR, and I'll see what I can do :)
<srhb> er, after pinging them*
<jonge[m]> srhb: i mentioned some people who commited things in the last weeks to the same files. if nothing happens for a week i will mention you, too. thank you. :)
boeg has joined #nixos
<srhb> Sure! Fingers crossed :)
domogled has quit [Client Quit]
fusion809 has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos
ottidmes has quit [Ping timeout: 248 seconds]
<freeman[w]_> does anyone know which is the NixOS GUI archive manager that can use the executable from p7zip?
<vika_nezrimaya> What's the correct Inputs array for Python setuptools' setup_requires?
<vika_nezrimaya> freeman[w]_: nixpkgs.mate.engrampa / nixpkgs.gnome3.file-roller
<vika_nezrimaya> I use them all the time
<freeman[w]_> vika_nezrimaya, do you recommend 1 or both?
<vika_nezrimaya> If you don't use GNOME, install Engrampa - its closure size, AFAIK, is smaller
<vika_nezrimaya> If you use GNOME, File Roller should be already installed
<{^_^}> [nixpkgs] @srhb merged pull request #66252 → scream-receivers: init at 3.3 → https://git.io/fjQVQ
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjNzx
<freeman[w]_> vika_nezrimaya, I use XFCE
hamishmack has joined #nixos
<vika_nezrimaya> Then Engrampa would be a better choice.
<jonge[m]> srhb: woah mentioning those people did the trick. things are happening!
<srhb> jonge[m]: Great! :)
<{^_^}> [nixpkgs] @marsam merged pull request #67309 → pythonPackages.pycurl: fix build on darwin → https://git.io/fjNnx
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjNgv
Okinan has quit [Quit: Konversation terminated!]
<{^_^}> [nixpkgs] @jraygauthier opened pull request #67343 → teamviewer: fix issue #61712 → https://git.io/fjNgk
<{^_^}> [nixpkgs] @primeos merged pull request #67205 → ffmpeg-full: 4.1.4 -> 4.2 → https://git.io/fjbSm
<{^_^}> [nixpkgs] @primeos pushed 3 commits to master: https://git.io/fjNgI
Okinan has joined #nixos
valebes has joined #nixos
veske has quit [Ping timeout: 245 seconds]
emptyflask has joined #nixos
valebes has quit [Client Quit]
<{^_^}> [nixpkgs] @globin opened pull request #67344 → alertmanager: 0.16.2 -> 0.18.0 → https://git.io/fjNgO
drakonis has quit [Ping timeout: 252 seconds]
ottidmes has joined #nixos
<emptyflask> is there any explanation why nix-prefetch-git (with a private github repo, using https://xxxx:x-oauth-basic) would return a different hash for the same revision than bundix?
<emptyflask> are the hashes cached?
drakonis has joined #nixos
<{^_^}> [nixpkgs] @lheckemann merged pull request #67307 → pythonPackages.nltk: 3.2.5 -> 3.4.5 (security fix - backport to release-19.03) → https://git.io/fjNnU
<{^_^}> [nixpkgs] @thefloweringash opened pull request #67345 → amazon-init: run userdata as a script if it starts with #! → https://git.io/fjNg4
<{^_^}> [nixpkgs] @lheckemann pushed 5 commits to release-19.03: https://git.io/fjNgB
knupfer has quit [Remote host closed the connection]
waleee-cl has joined #nixos
<{^_^}> [nixpkgs] @globin opened pull request #67346 → clamav: 0.101.3 -> 0.101.4 → https://git.io/fjNgR
knupfer has joined #nixos
ottidmes has quit [Ping timeout: 245 seconds]
nschoe has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #63763 → prometheus-node-exporter: 0.17.0 -> 0.18.1; set version information → https://git.io/fjrnr
<{^_^}> [nixpkgs] @globin pushed 3 commits to master: https://git.io/fjNgg
ilmu has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @globin merged pull request #67315 → prometheus_2: 2.11.1 -> 2.12.0 → https://git.io/fjNcO
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjNgo
jgt has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #67347 → ec2-utils: init at 0.5.1, include in amazon-image profile → https://git.io/fjNgi
nschoe has joined #nixos
<{^_^}> [nixpkgs] @globin merged pull request #67344 → alertmanager: 0.16.2 -> 0.18.0 → https://git.io/fjNgO
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjNgP
kyleondy[m] has joined #nixos
<{^_^}> [nixpkgs] @globin opened pull request #67348 → prometheus-mysqld-exporter: 0.10.0 -> 0.11.0 → https://git.io/fjNgM
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @thefloweringash opened pull request #67349 → ec2/create-amis.sh: register root device as /dev/xvda → https://git.io/fjNg9
alexbakker has joined #nixos
<{^_^}> [nixpkgs] @zimbatm pushed to master « nixpkgs-fmt: init at 0.2.0 »: https://git.io/fjNgb
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67351 → nixos/vte: ensure bash vte snippet appears first → https://git.io/fjNgA
<{^_^}> [nixpkgs] @symphorien opened pull request #67352 → pythonPackages.dogtail: fix sniff → https://git.io/fjNgp
chiiba has quit [Ping timeout: 245 seconds]
ilmu has joined #nixos
<{^_^}> [nixpkgs] @marius851000 opened pull request #67353 → system-syzygy: init at 1.0.1 → https://git.io/fjN2f
jgt has quit [Read error: Connection reset by peer]
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fresheyeball has joined #nixos
<fresheyeball> so I am trying out hie again
<fresheyeball> and used infinisil 's nix expression to install it
<fresheyeball> and everything looks good
<fresheyeball> but in my editor it complains that it cannot satisfy -package-id HTTP-4000.3.12
<{^_^}> [nixpkgs] @srhb merged pull request #63539 → usbguard-nox: init at 0.7.4 → https://git.io/fjV2c
<{^_^}> [nixpkgs] @srhb pushed 2 commits to master: https://git.io/fjN2q
<fresheyeball> is there anything special I need to do to get hie to see packages supplied by the nix-shell?
<exarkun> gchristensen: I just applied your nixops/nixPath thing to my system. Took me a minute to realize it can't affect my environment until I log in fresh but now it seems to be working well. Thanks again.
veske has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @globin merged pull request #67346 → clamav: 0.101.3 -> 0.101.4 → https://git.io/fjNgR
<{^_^}> [nixpkgs] @globin pushed 2 commits to master: https://git.io/fjN2G
<{^_^}> [nixpkgs] @globin opened pull request #67354 → scrot: 0.8-18 -> 1.2 → https://git.io/fjN2Z
boxscape has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67270 → seafile-client: Use qt5's mkDerivation → https://git.io/fjNYz
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjN2B
o1lo01ol1o has joined #nixos
hamishmack has joined #nixos
<{^_^}> [nixpkgs] @lheckemann pushed to openssl-1.1 « torque: remove commented-out sbin handling »: https://git.io/fjN26
veske has quit [Quit: This computer has gone to sleep]
o1lo01ol1o has quit [Ping timeout: 272 seconds]
gmarmstrong has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @Ma27 merged pull request #67348 → prometheus-mysqld-exporter: 0.10.0 -> 0.11.0 → https://git.io/fjNgM
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjN2H
hamishmack has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/79c2ed6b603 (from 33 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Ariakenom> how do I update nixos?
noam__ has joined #nixos
<joepie91> Ariakenom: update as in installing updates, or as in upgrading to a newer NixOS release?
noudle has joined #nixos
<Ariakenom> joepie91: especially release. but first one too
<joepie91> Ariakenom: so assuming that you've specified your packages in your configuration.nix' systemPackges (and *not* installed them using `nix-env`), installing updates is basically just a matter of running `nixos-rebuild switch` -- it will re-evaluate your configuration with whatever is the NixOS package set at that time, build anything that's missing, and switch to the new system build... which is functionally equivalent to
<joepie91> "installing updates"
<{^_^}> [nixpkgs] @peti pushed to master « Add a build for cabal-install-3.0.0.0 beta release. »: https://git.io/fjN2N
<{^_^}> [nixpkgs] @peti pushed 34 commits to haskell-updates: https://git.io/fjN2A
<joepie91> Ariakenom: for switching releases, the process is *almost* the same, but you first need to change what package set your Nix is pointed at as nixpkgs (namely, you switch it to a newer release), and you pass a flag to nixos-rebuild that tells it explicitly to grab the current package set and not use the local cache
<joepie91> hold on
<joepie91> Ariakenom: the details of that second process are here: https://nixos.org/nixos/manual/index.html#sec-upgrading
<joepie91> conceptually there's no difference between installing updates and upgrading to a new release; in both cases you re-evaluate the system config with a new package set. the only practical difference is that for a release upgrade, you first change what package set to look at :)
<Ariakenom> ah yes. i missed the upgrade flag
<Ariakenom> what about things installed with nix-env?
noudle has quit [Ping timeout: 246 seconds]
iyzsong has quit [Ping timeout: 250 seconds]
<joepie91> Ariakenom: I /think/ there may be an update flag for that, but I'm not sure. I personally avoid nix-env entirely, as using it means I can't reproduce my system from its config :)
freedan42x has quit [Ping timeout: 272 seconds]
hyper_ch2 has quit [Remote host closed the connection]
Ariakenom has quit [Remote host closed the connection]
<attente[m]> hi, is anyone here having issues with their external monitor not working? i have a thinkpad x1 carbon, 6th gen running nixos with linuxPackages_latest
freedan42x has joined #nixos
<joepie91> attente[m]: it has worked fine for me, but multi-monitor support is usually heavily dependent on your desktop environment
Ariakenom has joined #nixos
<Ariakenom> im not getting it to work? nixos-version still says 18.09.2574.a7e559a5504 (Jellyfish)
<attente[m]> joepie91: the thing is i can't even get my tty mirrored, so this is before any sort of desktop is launched
<Ariakenom> I was expecting 19.03 instead
<joepie91> attente[m]: have you ruled out a hardware / BIOS/UEFI config issue?
<{^_^}> [nixpkgs] @Ma27 merged pull request #67354 → scrot: 0.8-18 -> 1.2 → https://git.io/fjN2Z
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjNas
<attente[m]> i haven't, but i'm not sure how to do that, joepie91
<joepie91> I don't know the specifics but AFAIK most systems default to mirroring on external display ports
<joepie91> attente[m]: well, try booting into a different system, see if it works there
<joepie91> something not NixOS
<joepie91> ideally something like Windows, but even eg. an Ubuntu live CD would give you useful data points
<attente[m]> joepie91: ok, i'll try a live cd, thanks for the suggestion
<joepie91> you can also have a quick look through your BIOS/UEFI config on bootup, to see if there are any obvious options regarding display ports that look misconfigured
<attente[m]> that's also a good idea, i'll try that as well
<joepie91> attente[m]: btw, to be clear, I'm not saying that it *can't* be a NixOS issue - but no TTY mirroring is sufficiently weird that a hardware/config issue seems more plausible to me :)
<srhb> Ariakenom: What does `sudo nix-channel --list` say?
<joepie91> as my understanding is that that is done before the OS even boots
<attente[m]> yeah, that was my fear too
endformationage has joined #nixos
<srhb> attente[m]: Have you rummaged around firmware settings?
<attente[m]> but i've seen other people like here who are having similar problems: https://bbs.archlinux.org/viewtopic.php?id=248490
<attente[m]> srhb: i haven't. is it possible for rebuild --upgrade to also upgrade the firmware as well?
<srhb> attente[m]: I'm talking about the EFI/BIOS firmware, so no.
<srhb> (linux-firmware, yes)
knupfer has quit [Ping timeout: 264 seconds]
<Ariakenom> srhb: oh right. I didnt sudo the channel switch
<attente[m]> is it possible that an upgrade to linux-firmware happened that would cause this issue?
<srhb> Ariakenom: Right, then it was just for your user.
<alexbakker> hi, I'm trying to modify a systemd service of libvirt through configuration.nix, but it appears to get ignored
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67306 → nextcloud-client: 2.5.2 -> 2.5.3 → https://git.io/fjNZS
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjNa8
<srhb> attente[m]: I would have thought no, I've never had any of those packages affect anything display-like for me, but I honestly don't know.
<alexbakker> this is the directive that I'm using: systemd.services.libvirt-guests.environment.ON_BOOT = "ignore";
<alexbakker> does that look correct?
<alexbakker> or is that not the way to modify a systemd service?
chiefgoat has quit [Quit: ZNC 1.7.4 - https://znc.in]
nschoe has quit [Ping timeout: 252 seconds]
<Ariakenom> thanks again #nixos!
dasj19 has joined #nixos
<infinisil> alexbakker: That looks about right to me
<alexbakker> infinisil, ok, thanks
ng0 has quit [Quit: Alexa, when is the end of world?]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67236 → Update: easyjson, quicktemplate, statik, qtchan, vlang → https://git.io/fjNvz
<{^_^}> [nixpkgs] @worldofpeace pushed 6 commits to master: https://git.io/fjNa2
<alexbakker> the libvirtd module does the same for the "onShutdown" option, so I wonder why this doesn't work
nschoe has joined #nixos
<alexbakker> is there a way to inspect the generated environment file?
<joepie91> attente[m]: the issue described in that thread does look like a plausible cause
<joepie91> attente[m]: in that case, can you check if an issue already exists on the nixpkgs repo, and if not, create a new one referencing that thread?
<infinisil> alexbakker: systemctl cat libvirt-guest
<infinisil> s
SrCloudYeller is now known as Church-
teser has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
<alexbakker> infinisil, ah, thanks
<alexbakker> so the ON_BOOT environment variable does actually get set properly
<alexbakker> perhaps this is a libvirt bug
<freeman[w]_> currently smartgit package is broken (I will try to submit a PR fix). I did manage to install it on another PC, but I do not remember how. Anyone can take a guess what I could have possibly done?
o1lo01ol1o has joined #nixos
ilmu has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @adisbladis opened pull request #67355 → nixos/desktop-managers/xterm: Disable by default → https://git.io/fjNa5
Ariakenom has quit [Remote host closed the connection]
chiefgoat has joined #nixos
chiefgoat has quit [Client Quit]
zupo has joined #nixos
chiefgoat has joined #nixos
<alexbakker> oh I see, libvirt-guests.sh needs to be patched, as was done for ON_SHUTDOWN
<alexbakker> I'll submit a PR adding an onBoot option
<{^_^}> [nixpkgs] @lheckemann pushed 117 commits to openssl-1.1: https://git.io/fjNax
chiefgoat has quit [Client Quit]
<attente[m]> joepie91: sure, will do
<attente[m]> once i test with another live cd first
<{^_^}> [nixpkgs] @Ma27 merged pull request #67341 → phpPackages.phpstan: 0.11.12 -> 0.11.15 → https://git.io/fjNzC
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/fjNaj
hamishmack has joined #nixos
hamishmack has quit [Client Quit]
<{^_^}> [nixpkgs] @mmahut merged pull request #67331 → jormungandr: 0.3.2 -> 0.3.3 → https://git.io/fjNBN
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjNVk
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e6ad5e75f3b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
warmwaffles has joined #nixos
warmwaffles has left #nixos [#nixos]
chiefgoat has joined #nixos
<freeman[w]_> what is the shell command to install a package I modified in a local fork of nixpks?
<sphalerite> freeman[w]_: nix-env -f path/to/nixpkgs -iA hello
drakonis_ has joined #nixos
zupo has quit [Ping timeout: 244 seconds]
erasmas has joined #nixos
<freeman[w]_> sphalerite, so if I am in the git clone folder I just do: nix-env -f . -iA smartgithg ?
<sphalerite> freeman[w]_: yep
chiefgoat has quit [Client Quit]
polman has quit [Ping timeout: 245 seconds]
polman has joined #nixos
zupo has joined #nixos
drakonis1 has quit [Ping timeout: 264 seconds]
<freeman[w]_> sphalerite, cheers! if only I had my mindmap at work also. sphalerite++
<{^_^}> sphalerite's karma got increased to 64
<Miyu-chan> Hm. How do I build a NixOS without fileSystems nor grub?
<Miyu-chan> Or equivalently, how do I generate stub values for those?
<{^_^}> [nixpkgs] @vbgl merged pull request #66719 → ocamlPackages.sedlex: 1.99.4 -> 1.99.5 → https://git.io/fjdog
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.sedlex: 1.99.4 -> 1.99.5 »: https://git.io/fjNVo
ilmu has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/e6ad5e75f3b (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
orivej has joined #nixos
<sphalerite> Miyu-chan: boot.isContainer = true; might do what you want
<{^_^}> [nixpkgs] @lheckemann merged pull request #22357 → Use openssl 1.1 by default → https://git.io/vDOGw
<{^_^}> [nixpkgs] @lheckemann pushed 105 commits to master: https://git.io/fjNVi
<{^_^}> [nixpkgs] @lheckemann pushed 0 commits to openssl-1.1: https://git.io/fjNVP
<Miyu-chan> Thanks. They're not going to be run at all anyway. I'm just nixops deploy --build ing them.
ubert has quit [Quit: Leaving]
wfranzini has quit [Remote host closed the connection]
ilmu has quit [Ping timeout: 250 seconds]
sigmundv_ has quit [Ping timeout: 244 seconds]
<teser> How can I disable RstFold which comes with vim by default when installing ?
chiefgoat has joined #nixos
psyanticy has joined #nixos
<{^_^}> [nixpkgs] @alexbakker opened pull request #67356 → libvirtd: add onBoot option → https://git.io/fjNwk
<freeman[w]_> why is there no ~/.bashrc file by default under NixOS? should I create one? will NixOS use it?
nschoe has quit [Ping timeout: 252 seconds]
kleisli has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @timokau merged pull request #65480 → syncthingtray: init at 0.9.1 → https://git.io/fjyw7
<{^_^}> [nixpkgs] @timokau pushed commit from @doronbehar to master « syncthingtray: init at 0.9.1 (#65480) »: https://git.io/fjNwq
<srhb> freeman[w]_: Create it if you need it :)
<srhb> freeman[w]_: bash will pick it up.
<freeman[w]_> srhb, cheers! srhb++
<{^_^}> srhb's karma got increased to 70
nschoe has joined #nixos
drakonis has quit [Quit: WeeChat 2.5]
mcfrank has left #nixos ["WeeChat 1.9.1"]
drakonis has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<joepie91> warning: the following units failed: nixos-upgrade.service
<joepie91> uuuuuuhhhhh
<joepie91> why is that segfaulting
drakonis_ has quit [Ping timeout: 272 seconds]
<{^_^}> [nixpkgs] @Alkeryn opened pull request #67357 → sdrangel : init and maintainers: add alkeryn → https://git.io/fjNw2
judson has joined #nixos
judson_ has joined #nixos
hamishmack has joined #nixos
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
___laika has joined #nixos
pie_ has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @jtojnar opened pull request #67358 → nixos/ofono: various improvements → https://git.io/fjNwQ
<Miyu-chan> Has anyone made a CPS library for Nix yet?
eraserhd has quit [Ping timeout: 244 seconds]
<Miyu-chan> Just a sudden realization, but I think a CPS library is actually very important, if we want withPackages to be more ergonomic.
<{^_^}> [nixpkgs] @angerman opened pull request #67359 → Add support for `js-unknown-ghcjs` → https://git.io/fjNw5
hamishmack has quit [Ping timeout: 248 seconds]
<srhb> Miyu-chan: What is CPS when it's not continuation passing style?
<Miyu-chan> That's exactly what I mean. :P
<srhb> oh!
dsx has quit [Quit: dsx]
<srhb> CPS in Nix sounds.. Painful.
<srhb> Or in general, without Cont...
is_null has joined #nixos
<Miyu-chan> Hm.
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
pie_ has quit [Quit: pie_]
wildtrees has joined #nixos
<srhb> Maybe I'm just a pessimist :P
dsx has joined #nixos
<Miyu-chan> Nah. I'm actually thinking whether or not CPS is actually applicable.
zupo has joined #nixos
<iqubic> CPS in Nix does sound super hard.
obadz has quit [Ping timeout: 245 seconds]
<Miyu-chan> Also. I stupided out, and withPackages will not benefit from CPS, that much.
shibboleth has quit [Quit: shibboleth]
<Miyu-chan> BUT!
<Miyu-chan> There's actually a very core Nixpkgs feature that does benefit from CPS. :)
<Miyu-chan> (Make a guess?)
<freeman[w]_> where can I find DNF?
<Miyu-chan> ,locate bin dnf
<{^_^}> Couldn't find in any packages
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freeman[w]_ has quit [Read error: Connection reset by peer]
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @livnev opened pull request #67360 → solc 0.5.11 → https://git.io/fjNoZ
pie_ has joined #nixos
<teser> hi, I'm using: nix-shell -p 'with import <nixpkgs> { }; [ gcc_multi gnumake automake autoconf glibc z3 ]' to get the shell, but then when running make of certain program, I get this issue:
<teser> > fatal error: gnu/stubs-32.h: No such file or directory
<{^_^}> error: syntax error, unexpected ':', expecting ')', at (string):262:12
<teser> Shouldn't that be included in the glibc ?
obadz has joined #nixos
kmein has joined #nixos
phreedom_ has joined #nixos
<infinisil> teser: Write a shell.nix file instead with `with import <nixpkgs> {}; stdenv_32bit.mkDerivation { name = "shell"; buildInputs = [ automake autoconf z3 ]; }`
<infinisil> The normal stdenv which nix-shell -p uses doesn't support 32 bit
<pie_> tazjin: theres a discussion at the nixos tent right now about like improving the maintainership process or something if you want to join
<pie_> tazjin: though the goal seems to right now be figuring out what the current state is, whatever that means
iqubic has quit [Ping timeout: 276 seconds]
phreedom has quit [Ping timeout: 260 seconds]
<teser> infinisil, +1 thanks
fendor has joined #nixos
buckley310 has quit [Quit: leaving]
buckley310 has joined #nixos
buckley310 has quit [Client Quit]
kleisli has joined #nixos
erictapen has joined #nixos
liori has quit [Remote host closed the connection]
liori has joined #nixos
<pie_> tazjin: ok didnt really work :D
buckley310 has joined #nixos
<tazjin> pie_: I'm on a shopping run
<pie_> tazjin: no problem
rpg has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #67318 → gnome-photos: 3.32.0 → 3.32.1 → https://git.io/fjNcD
<{^_^}> [nixpkgs] @jtojnar pushed 10 commits to master: https://git.io/fjNoV
erictapen has quit [Ping timeout: 245 seconds]
aengelke has joined #nixos
boxscape is now known as boxscapeR
boxscapeR is now known as boxscape
o1lo01ol1o has quit [Remote host closed the connection]
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #67361 → ocamlPackages.ppx_tools_versioned: 5.1 -> 5.2.3 → https://git.io/fjNoX
ris has joined #nixos
teser has quit [Quit: Leaving]
___laika has joined #nixos
jgeerds has joined #nixos
npmccallum has quit [Remote host closed the connection]
iqubic has joined #nixos
pie_ has quit [Ping timeout: 250 seconds]
___laika has quit [Ping timeout: 272 seconds]
<colemickens> why is nix-daemon having its way with my CPU when its just downloading from a binary cache? is nix-daemon doing the extraction or is there a cpu-hungry loop in here or what?
<iqubic> So I have lorri installed. I have a systemd user service running lorri daemon. How do I tell lorri to watch a particular file?
freedan42x has quit [Remote host closed the connection]
Thra11 has joined #nixos
casaca has quit [Ping timeout: 272 seconds]
casaca has joined #nixos
freeman42x has joined #nixos
<samueldr> colemickens: uncompressing I think
Ariakenom has joined #nixos
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @mmahut opened pull request #67362 → opencv: CVE-2019-14493 → https://git.io/fjNKE
<{^_^}> [nixpkgs] @ldelelis closed pull request #67319 → pythonPackages.itypes: init at 1.1.0 → https://git.io/fjNCh
rpg has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #67363 → dbus: don't make datadir /etc, set runstatedir to /run → https://git.io/fjNKV
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #nixos
nschoe has quit [Ping timeout: 252 seconds]
ilmu has joined #nixos
pie_ has joined #nixos
ilmu has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @disassembler merged pull request #67362 → opencv: CVE-2019-14493 → https://git.io/fjNKE
<{^_^}> [nixpkgs] @disassembler pushed 2 commits to master: https://git.io/fjNKb
orivej has quit [Ping timeout: 268 seconds]
<ejpcmac> Hello! Is there a way to get `mkfs.exfat` while still using `exfat-nofuse` when mounting ExFAT volumes?
pie_ has quit [Ping timeout: 272 seconds]
nschoe has joined #nixos
<alexarice[m]> Not sure if I am explaining this well but is there a way to append something to an option set with `mkDefault` without just copying it out
<infinisil> alexarice[m]: Not sure what you mean by copying it out
<alexarice[m]> infinisil: say there is `config.a = mkDefault [ "foo" ]` somewhere and I want to append "bar" to that list without just writing `config.a = [ "foo" "bar" ]`
<hyperfekt> alexarice[m]: I have no idea if this would actually work but mkDefault is just mkOverride 1000 so I'd try combining mkAfter with mkDefault for your 'appendage'.
___laika has joined #nixos
<iqubic> So, I'm finding myself unable to run a 'nixos-rebuild switch' due to this error: error: assertion failed at /nix/store/d3yysrqlm4sf2mhlcpj12b78vcqpgxqa-nixos-19.09pre190234.dfc6d580bcc/nixos/pkgs/os-specific/linux/phc-intel/default.nix:4:1
<alexarice[m]> I guess `config.a = mkDefault [ "bar" ]` would work though it feels a bit wrong
<alexarice[m]> I almost want to escalate the priority of the default somehow
<alexarice[m]> I'll have a think
<iqubic> Anyone know how to fix my issue?
<infinisil> alexarice[m]: Yeah there's no easy way to do that
<alexarice[m]> was worth an ask
alex`` has quit [Ping timeout: 248 seconds]
knupfer has joined #nixos
alex`` has joined #nixos
drakonis has quit [Ping timeout: 250 seconds]
<hyperfekt> iqubic: The source at that line says your kernel version is below 4.10.
<iqubic> It is.
<iqubic> It is indeed.
<iqubic> Why is that an issue?
philr has quit [Ping timeout: 246 seconds]
jgt has joined #nixos
Zer0xp has joined #nixos
englishm has quit [Excess Flood]
chr15 has joined #nixos
kleisli has quit [Ping timeout: 276 seconds]
englishm has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer reopened pull request #44168 → make-derivation: install all outputs → https://git.io/fNzps
pie_ has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer merged pull request #67225 → nixos/zsh: Fix tramp support → https://git.io/fjbxo
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/fjN6Y
<hyperfekt> iqubic: git blame gives this commit message: "Fixes Hydra failures on kernel >= 4.10 by only supporting kernel >= 4.10."
<ivan> heh
<iqubic> Oh. I see
alex`` has quit [Ping timeout: 245 seconds]
ilmu has joined #nixos
pie_ has quit [Ping timeout: 272 seconds]
justanotheruser has quit [Quit: WeeChat 2.4]
justanotheruser has joined #nixos
<lassulus> graphical installation cd on the download page is kind of a lie :D since cds can only contain 700MBs
pie_ has joined #nixos
<gchristensen> haha
<{^_^}> [nix] @lilyball opened pull request #3055 → search: Don't omit version info when package name is matched → https://git.io/fjN6R
noam__ has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 258 seconds]
zaeph has quit [Quit: zaeph]
___laika has quit [Ping timeout: 248 seconds]
ilmu has quit [Ping timeout: 276 seconds]
<Thra11> What option do I need to pass to nix to temporarily disable binary caches?
<infinisil> Thra11: --option substitute false
<Thra11> infinisil: Thanks
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/a8d3aebdce8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
eraserhd has joined #nixos
kleisli has joined #nixos
<Thra11> I figure with the curl error problem there's no point repeatedly trying to ask cache.nixos.org for a source archive which is available elsewhere
nschoe has quit [Ping timeout: 245 seconds]
is_null has quit [Ping timeout: 258 seconds]
<Thra11> For future reference, is there an option which will try to fetch binaries, but not 'mirrored' sources? I'm guessing not, as nix doesn't make such a distinction?
casaca has quit [Ping timeout: 245 seconds]
<infinisil> Thra11: Possibly with `NIX_HASHED_MIRRORS="" nix-...`
<clever> $ nix show-config | grep hashed
<clever> hashed-mirrors = http://tarballs.nixos.org/
<Thra11> infinisil, clever: Cool, thanks
fendor has quit [Ping timeout: 244 seconds]
casaca has joined #nixos
<Miyu-chan> Does nix repl have a pretty printer? :/
casaca has quit [Ping timeout: 246 seconds]
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
casaca has joined #nixos
<Miyu-chan> Oh, turns out just s/;/;\n/g works pretty well.
d1rewolf has joined #nixos
ozychhi has quit [Quit: WeeChat 2.5]
<Miyu-chan> Hm. I can't help but think that Nix might actually benefit from CPS.
<jtojnar> ma27[m]: why does not nextcloud-client pick up openssl from buildInputs?
<Miyu-chan> :: (a -> b) -> b
<Miyu-chan> That's often used in Nixpkgs. override(Attrs), for example.
is_null has joined #nixos
<{^_^}> [nixpkgs] @jslight90 opened pull request #67364 → gitlab: 12.1.6 -> 12.2.0 → https://git.io/fjN6F
pie_ has joined #nixos
Ariakenom has quit [Ping timeout: 245 seconds]
noam_ has joined #nixos
Havvy has quit [Read error: Connection reset by peer]
fendor has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #63273 → gelasio: init at unstable-2018-08-13 → https://git.io/fjaBR
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjNik
alex`` has joined #nixos
selfsymmetric-pa has joined #nixos
<inkbottle> [noob] Nixos has pervasive package management; I believe it is nevertheless possible to delete old packages to make room?
<alexarice[m]> inkbottle: nix-collect-garbage is probably what you are looking for
<inkbottle> tx
fendor has quit [Ping timeout: 245 seconds]
<Church-> samueldr: Rad on the mobile nixos thing
<inkbottle> (I haven't done any sort of installation yet: only gathering pieces of information)
<Hedgework> Apropos of nothing... inkbottle is your nick due to being a fountain pen geek?
<inkbottle> I wouldn't think so
<Hedgework> Okay, just curious :)
<alexarice[m]> inkbottle: https://nixos.org/nixos/nix-pills/garbage-collector.html here is more info
<{^_^}> [nixpkgs] @dywedir opened pull request #67365 → hcxtools: 5.1.6 -> 5.2.0 → https://git.io/fjNis
dasj19 has quit [Quit: dasj19]
noam_ has quit [Remote host closed the connection]
<inkbottle> alexarice[m]: I so far am a debian user, and considering the possibility of exploring other distro; I've been using debian for a very very long time; but have nothing of the "system wizard"
<joepie91> inkbottle: feel free to ask questions - NixOS is quite different from distros like Debian, so there'll probably be a lot of new concepts to wrap your head around :)
<{^_^}> [nixpkgs] @peti opened pull request #67366 → WIP: update mailman to version 3.2.2 → https://git.io/fjNil
<joepie91> (it's worth it, imo, but it's still a learning curve)
<inkbottle> Hedgework: what is written or printed; but I rather like fonts than fountain pen (as a sort of manly expensive object); I do use a fountain pen though, but probably not of the sort expected for a fountain pen geek
<gchristensen> does NixOS have an service for something I can put in HTTP_PROXY for testing a PR?
<{^_^}> [nixpkgs] @jtojnar opened pull request #67367 → nextcloud-client: clean up → https://git.io/fjNiR
<{^_^}> [nixpkgs] @tadeokondrak opened pull request #67368 → wine{,-mono,-unstable,-staging}: update → https://git.io/fjNi0
<gchristensen> oh, squid
civodul has joined #nixos
<inkbottle> is that the place to start: https://nixos.org/nixos/manual/
captn3m0 has quit [Ping timeout: 245 seconds]
psyanticy has quit [Quit: Connection closed for inactivity]
<joepie91> inkbottle: the manual contains a lot of documentation, yeah. though I personally found https://nixos.org/~eelco/pubs/nspfssd-lisa2004-final.pdf very useful as an introduction to the concepts
<gchristensen> ,thesis
<joepie91> (it's pretty readable)
<Miyu-chan> Does ExecStart accept a list?
<Miyu-chan> s/Does/Can/
<Miyu-chan> I'm not so sure what to do when I have a long argument list.
<jtojnar> Miyu-chan: it can run multiple commands in a list, I think
<inkbottle> joepie91, {^_^}: thanks, I should probably start with that
<Miyu-chan> Oh. I'll just go with concatStringSep ' ' [ ... ] then.
<{^_^}> [nixpkgs] @etu opened pull request #67369 → sequeler: Fix missing icons while not in gnome → https://git.io/fjNiw
<inkbottle> Considering the pervasive aspect of nixos, I suppose root "partition", must be pretty large, like 30GB?
captn3m0 has joined #nixos
orivej has joined #nixos
<inkbottle> w. debian I have 10GB and often short
fusion809 has joined #nixos
<Miyu-chan> 30GB is... often not enough IMO.
<inkbottle> what's suitable size then?
<Miyu-chan> Sure, you can jam NixOS in 30 GB, but you'll lose a lot of niceties IMO.
kleisli has quit [Remote host closed the connection]
<{^_^}> [nix] @grahamc opened pull request #3056 → operators: document exact precedence, split up similar operators → https://git.io/fjNir
vika_nezrimaya has quit [Ping timeout: 246 seconds]
kleisli has joined #nixos
<Miyu-chan> I went with 64GB on my first install, and it was... okay? But I really suggest 128 GB.
<gchristensen> you *can* of course do 30. but if you like it, you might find it a bit cramped
<samueldr> I do one big partition on laptops
<Miyu-chan> I used to do a lot of distro hopping, but NixOS stopped that. :P
<samueldr> I never needed to "just nuke the root partition", so it's fine to keep my home there :)
<Miyu-chan> Also, as always, YMMV.
<samueldr> on my desktop machine, I have two drives, one 240GB SSD for / and a ~1TB SSD for home since there I can spare a distinct drive
<Miyu-chan> You'll need a larger drive if you upgrade often, ofc.
<inkbottle> so, on a 256GB ssd, either you do one big partition, or you give the system half of the disc
<{^_^}> [nixpkgs] @worldofpeace merged pull request #67214 → adoptopenjdk-icedtea-web: rename from icedtea_web → https://git.io/fjb5l
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjNii
<Miyu-chan> And it also matters how often you build things, especially ones that are not in the hydra, since you'll also have to populate /nix/store with the source code.
<samueldr> I think for laptops it makes sense not to subdivide, or if you do, with a FS you can easily expand as needed, like I imagine ZFS does
<Miyu-chan> Yeah, that's what I'd do. I have a 128/128 split on my desktop, with one 128 being used as a ZFS cache. :)
<samueldr> splitting partitions in a one-drive scenario I would always end up needing more space for either of the partition for my use cases :)
<gchristensen> (ZFS doesn't expand by default as it doesn't limit by default)
mawis has quit [Quit: WeeChat 2.4]
kleisli_ has joined #nixos
Zer0xp has quit [Read error: Connection reset by peer]
chr15 has quit [Read error: Connection reset by peer]
selfsymmetric-pa has quit [Remote host closed the connection]
<inkbottle> ZFS proprietary?
<{^_^}> [nixpkgs] @etu closed pull request #67369 → sequeler: Fix missing icons while not in gnome → https://git.io/fjNiw
<inkbottle> I've read sth in the news about that
<inkbottle> cna't remember though
<inkbottle> can't*
<joepie91> inkbottle: +1 on just having one large partition
kleisli has quit [Ping timeout: 276 seconds]
<joepie91> since state is pretty well-contained in NixOS (that's the point of it, after all!) the whole "persist my home directory across reinstallations" argument for a separate home partition kind of goes out the window
kleisli_ has quit [Remote host closed the connection]
<joepie91> LVM is also always an option if you want more flexibility
polman has quit [Read error: Connection reset by peer]
kleisli_ has joined #nixos
<inkbottle> OK
<joepie91> inkbottle: one very important thing to keep in mind is that your boot partition needs to be sufficiently big (and probably cannot be an LVM partition)
Zer0xp has joined #nixos
<joepie91> if you have one single non-LVM partition this isn't an issue, but if you use LVM or otherwise need a separate boot partition for technical reasons, you'll really want to give it at least 1GB, due to how the generation/rollback system works
<joepie91> you'll end up with multiple kernel images until you clean up old system generations
<joepie91> and this is something that is a bit painful to fix afterwards :)
chr15 has joined #nixos
<joepie91> so the same applies for LUKS, and probably md-raid, and so on
Havvy has joined #nixos
<inkbottle> sure; first thing I'll go to the easy way.
LouisDK has joined #nixos
marcinkuzminski_ has quit []
marcinkuzminski_ has joined #nixos
<LouisDK> I'm trying to build a package from a local repo in NixOS, however I get this error: "./configure: .: line 5935: can't open '/etc/os-release': No such file or directory "
<clever> LouisDK: that wont exist due to the nix sandbox, what does configure want to do with it?
<LouisDK> The file does exist. What is the best way to make the builder aware of it in a proper way?
<LouisDK> clever, 2 sec. Will look.
polman has joined #nixos
growpotkin has joined #nixos
waleee-cl has quit [Quit: Connection closed for inactivity]
shabius has quit [Quit: Leaving]
marcinkuzminski_ has quit [Client Quit]
marcinkuzminski has joined #nixos
<LouisDK> I want to look for either "centos","debian" or "ubuntu" in it and if untrue do something else.
<LouisDK> @clever ^
<clever> LouisDK: does it have an argument to override things?
<clever> what will it do in each situation?
is_null has quit [Ping timeout: 272 seconds]
shabius has joined #nixos
shabius has quit [Max SendQ exceeded]
<LouisDK> @Clever: I'm trying to build mythtv 30.0 which have support for libblueray introduced. Output: https://pastebin.com/qsuXrmUj - I can't figure out where VERSION_ID is sat in the config file.
Okinan has quit [Quit: Konversation terminated!]
shabius has joined #nixos
<LouisDK> @Clever I'll try to include libbluray and see if that'll solve it.
<clever> LouisDK: if you add libbluray to the buildInputs, the if condition on line 2 will find it, and end of story
<clever> LouisDK: VERSION_ID is a variable inside os-release
kleisli_ has quit [Ping timeout: 246 seconds]
<clever> $ cat /etc/os-release
<clever> VERSION_ID="19.09pre179307.bc94dcf5002"
<clever> but thats not pure, and why are they even doing that??
Ariakenom has joined #nixos
o1lo01ol1o has joined #nixos
<clever> i think it just assumes an os of a certain version has a certain library
<clever> but that wont be true for nix
<LouisDK> @clever OId hacky sw I guess. There's comments in the configure file like "# This is hopefully temporary". Really nice.
<clever> heh
pie_ has quit [Ping timeout: 268 seconds]
LouisDK has quit [Remote host closed the connection]
klntsky has quit [Remote host closed the connection]
klntsky has joined #nixos
<Miyu-chan> ,escape"
<{^_^}> " double quote: \" backslash: \\ bash curly bois: \${} newline: \n tab: \t "
Ariakenom has quit [Read error: Connection reset by peer]
drakonis has joined #nixos
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjNPn
<{^_^}> [nixpkgs] @marsam merged pull request #67316 → terraform_0_12: 0.12.6 -> 0.12.7 → https://git.io/fjNcn
growpotkin has quit [Ping timeout: 245 seconds]
captn3m0 has quit [Ping timeout: 245 seconds]
ryantrinkle has quit [Ping timeout: 248 seconds]
LouisDK has joined #nixos
evanjs has quit [Quit: WeeChat 2.5]
knupfer has quit [Ping timeout: 264 seconds]
civodul has quit [Quit: ERC (IRC client for Emacs 26.2)]
<LouisDK> @clever seems like a have to modify the configure file from the source tar gz. As /nix/store is mounted ro I need some way to do this in the nix file. Can you point be in a way on how to due that?
pie_ has joined #nixos
<clever> LouisDK: the unpackPhase copies the configure script to . before running it
<clever> so the patchPhase can just edit "configure" directly, its in the working dir
xkapastel has quit [Quit: Connection closed for inactivity]
ng0 has joined #nixos
kleisli_ has joined #nixos
<LouisDK> @Clever. It's using fetchfromgithub and there's only a "patch" option: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/video/mythtv/default.nix
<LouisDK> Pretty similar to the above.
<EsperLily> LouisDK: you can define your own patchPhase
pie_ has quit [Remote host closed the connection]
<ashkitten> hmm, i wonder if i should package glimpse for nix
<clever> ashkitten: package all the things
<clever> LouisDK: also, irc doesnt highlight when you @clever, putting the @ there is making it less noticable
<ashkitten> yes, but glimpse hasn't had a release yet :p
<EsperLily> well, defining your own patchPhase will break the existing patches attribute in the derivation you linked to. You could just define an actual patch too, or you could use a postPatch phase to do the custom patching
pie_ has joined #nixos
<EsperLily> is it just me, or is it pretty weird for a Nix derivation to fetch a patch from AUR?
Zer0xp has quit [Ping timeout: 245 seconds]
<LouisDK> EsperLily: Yearh. I too think it's kinda weird. I'll move it to pkgs/applications/video/mythtv/ instead.
chr15 has quit [Ping timeout: 246 seconds]
ilikeheaps has quit [Quit: Konversation terminated!]
<jw358> anyone using github actions
<jw358> i would like to figure out some solution for having nix available
<jw358> the problem with using the normal install script is that it segfaults often
<EsperLily> o_O
<EsperLily> I haven't really looked at GitHub Actions yet, but if they're using docker containers, can you base your action on a Nixery-provided container? https://nixery.dev
<ashkitten> hmph. i don't know how to build this, gimp builds from a release tarball and if i add autoreconfHook it complains about gtk-doc.make
<ashkitten> and there aren't any glimpse release tarballs yet
<ashkitten> :/
<clever> ashkitten: the release tarballs are usually just the result of running automake and autoconf in the source dir
<ashkitten> clever: isn't that what autoreconfHook does?
<clever> yep
freeman42x has quit [Ping timeout: 252 seconds]
<ashkitten> sooo why does it complain
<ashkitten> during automake
<clever> it needs extra deps
<ashkitten> i added gtk-doc to the build inputs
<clever> does gtk-doc actually contain gtk-doc.make?
<ashkitten> good question
<ashkitten> yes
<clever> and how does automake search for it?
<ashkitten> uhh
<ashkitten> idk
<ashkitten> specific error is `automake: error: cannot open < gtk-doc.make: No such file or directory`
<clever> sounds like its looking in the current dir?
<ashkitten> i don't know
jgt has quit [Ping timeout: 250 seconds]
<ashkitten> looks like i3ipc-glib.nix runs gtkdocize in preAutoreconf
<ashkitten> i'll try that
<ashkitten> yep, sure enough
<ashkitten> hopefully this works
<ashkitten> it's building now
<ashkitten> and failed
judson_ has quit [Ping timeout: 248 seconds]
judson has quit [Ping timeout: 248 seconds]
<ashkitten> needed libxslt
work_ has joined #nixos
LouisDK has quit [Remote host closed the connection]
polman has quit [Ping timeout: 245 seconds]
<tazjin> EsperLily: that should work!
<tazjin> I haven't received an invite to Github Actions yet to try it though
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e6ad5e75f3b (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<gchristensen> could also use the NixOS/nix images?
<tazjin> the limitation that some people might run into is that Nixery doesn't yet support `withPackages`-style calls, but I'll be looking into that soon (probably after cccamp) - https://github.com/google/nixery/issues/31
<{^_^}> google/nixery#31 (by flokli, 1 week ago, open): URL scheme: allow building `withPackages`-style derivations
<tazjin> gchristensen: two different use-cases I think (having Nix in the image vs. having an image with some tools, built by Nix - where the latter would otherwise be accomplished by having Nix in the image and installing tools)
polman has joined #nixos
<gchristensen> the first use case seemed like the one they wanted?
<gchristensen> but yeah true
NightTrain has joined #nixos
<ashkitten> hmm
pie_ has quit [Ping timeout: 250 seconds]
simukis_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
simukis_ has joined #nixos
pie_ has joined #nixos
<{^_^}> [nixpkgs] @jtojnar merged pull request #67320 → at-spi2-core: wrap at-spi-bus-launcher → https://git.io/fjNWJ
<{^_^}> [nixpkgs] @jtojnar pushed 2 commits to staging: https://git.io/fjNXI
<EsperLily> tazjin: I was thinking you'd use a Nixery image that contains your prereqs as a base, and then build on top of that with the customizations you need (like withPackages)
magnus1 is now known as skorpy2009
<EsperLily> heck, could you use something like nixery.dev/shell/nix as just a generic Nix base image? Dunno if that's any better than the NixOS/nix image though
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7294e168cdc (from 77 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
_Reli has joined #nixos
_Reli has left #nixos ["Leaving"]
erasmas has quit [Quit: leaving]
fionnan has joined #nixos
growpotkin has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
ashkitten has quit [Quit: WeeChat 2.4]
ashkitten has joined #nixos
thc202 has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 248 seconds]
growpotkin has quit [Ping timeout: 245 seconds]
orivej has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #67335 → unifiStable: 5.10.26 -> 5.11.39 → https://git.io/fjNE3
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjNXK
<{^_^}> [nixpkgs] @mmahut merged pull request #67326 → unit: 1.9.0 -> 1.10.0 → https://git.io/fjN87
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjNX6
<tazjin> EsperLily: Nix makes a bunch of environment assumptions that your image needs to fulfill, if you look at Nixery's own default.nix you'll see those
<tazjin> so if you ran shell/nix you'd need to set those up in the image
<tazjin> in which case the other Nix image might make more sense
<tazjin> There's an argument to be made that the public instance should know about stuff like this and to the right thing for packages like Nix itself
<tazjin> not sure about that yet
jgeerds has quit [Ping timeout: 272 seconds]
jluttine_ has quit [Ping timeout: 245 seconds]
dansho has joined #nixos
mbrgm_ has joined #nixos
mbrgm_ is now known as mbrgm
jluttine_ has joined #nixos
pie_ has quit [Ping timeout: 250 seconds]