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
drakonis has joined #nixos
t58 has quit [Quit: Leaving]
<infinisil> xepyhr1998: config is available as self.config in the overlay
<tyrion-mx> Does anyone know how I can make sure /usr/share/gsettings-schemas/* is added to $XDG_DATA_DIRS ?
<tyrion-mx> in the buildFHSUserEnv
<tyrion-mx> That is the only thing that is missing, then it will work :O
<{^_^}> [nixpkgs] @elohmeier opened pull request #68993 → xmind: fix shell escape → https://git.io/JeOHY
amitshah has quit [Ping timeout: 265 seconds]
<tyrion-mx> I should be able to edit /etc/profile
<infinisil> I'd try searching through nixpkgs for gsettings-schemas
noudle has quit []
amitshah has joined #nixos
vika_nezrimaya has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @fpletz merged pull request #68992 → tarsnap: fix license to mark as unfree → https://git.io/JeO9o
<{^_^}> [nixpkgs] @fpletz pushed 2 commits to master: https://git.io/JeOH8
<tyrion-mx> I think I did with nix-locate, packages are putting file in the correct locations, just that FHSUserEnv does not update XDG_DATA_DIRS
<tyrion-mx> I solved that anyway, it works perfectly ... only thing is that icons are missing from the save attachment dialog
<infinisil> Cool!
<tyrion-mx> I tried installing adwaita-icon-theme but it still cannot find them
<{^_^}> [nixpkgs] @mweinelt opened pull request #68994 → pythonPackages.markdown: add missing setuptools to propagatedBuildInput → https://git.io/JeOH0
thc202 has quit [Ping timeout: 264 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #68995 → fprintd: 0.8.1 -> 0.9.0, libfprint: 0.99 -> 1.0 → https://git.io/JeOHu
<{^_^}> [nixpkgs] @fpletz pushed 8 commits to release-19.09: https://git.io/JeOHg
<tyrion-mx> After basically 3 days fighting with this day and night and now it works and it's just 83 lines xD
<tyrion-mx> makes me appreciate a bit more the work that maintainers do all the time at least :D
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68717 → qbec: init at 0.7.5 → https://git.io/JeOHV
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeOHw
<tyrion-mx> good night, tomorrow I will try to finalize this, and maybe open a pr if you think it's worth it
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68994 → pythonPackages.markdown: add missing setuptools to propagatedBuildInput → https://git.io/JeOH0
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeOHo
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @mweinelt to release-19.09 « pythonPackages.markdown: add missing setuptools to propagatedBuildInput »: https://git.io/JeOHK
<worldofpeace> tyrion: did you use wrapGAppsHook?
freeman42x has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68982 → paperwork: include setuptools to fix startup → https://git.io/JeODb
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeOHM
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/JeOHD
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @symphorien to release-19.09 « paperwork: include setuptools to fix startup »: https://git.io/JeOHy
selfsymmetric-mu has joined #nixos
leothrix has quit [Read error: Connection reset by peer]
leothrix has joined #nixos
MmeQuignon has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68945 → tendermint: 0.32.2 -> 0.32.3 → https://git.io/JeOHd
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeOHF
<{^_^}> [nixpkgs] @Ma27 merged pull request #68993 → xmind: fix shell escape → https://git.io/JeOHY
<{^_^}> [nixpkgs] @Ma27 pushed 2 commits to master: https://git.io/JeOHN
<{^_^}> [cabal2nix] @cdepillabout opened pull request #429 → Link to the YouTube video explaining hackage2nix. → https://git.io/JeOHx
ddellacosta has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #68996 → terraform: 0.12.8 -> 0.12.9 → https://git.io/JeOHj
evanjs- has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @Ma27 pushed commit from @elohmeier to release-19.09 « xmind: fix shell escape »: https://git.io/JeOQe
ris has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #68997 → mtm: 1.0.1 -> 1.1.0 → https://git.io/JeOQJ
mkoenig has quit [Remote host closed the connection]
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #68998 → gcc: use gcc8 on darwin → https://git.io/JeOQO
sigmundv has quit [Ping timeout: 240 seconds]
drakonis has quit [Ping timeout: 265 seconds]
Soo_Slow has quit [Remote host closed the connection]
<mkla> infinisil: thanks, this is helpful
<{^_^}> [nixpkgs] @marsam opened pull request #68999 → rclone: 1.49.2 -> 1.49.3 → https://git.io/JeOQR
mkla has quit [Quit: Lost terminal]
ArdaXi has quit [Ping timeout: 264 seconds]
init_6 has joined #nixos
ArdaXi has joined #nixos
drakonis has joined #nixos
drakonis_ has quit [Ping timeout: 245 seconds]
Rusty1 has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #66147 → doc/stdenv: document meson variables → https://git.io/fjQI7
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/JeOQD
<{^_^}> [nixpkgs] @eadwu opened pull request #69000 → nixopsUnstable: 1.7pre2764_932bf43 -> 1.7pre2844_b7cac11 → https://git.io/JeOQy
<{^_^}> [nixpkgs] @eadwu opened pull request #69001 → raspberrypi-wireless-firmware: 2018-08-20 -> 2019-09-17 → https://git.io/JeOQS
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.09 « doc/stdenv: document meson variables »: https://git.io/JeOQH
<{^_^}> [nixpkgs] @marsam opened pull request #69002 → pianobar: enable on darwin → https://git.io/JeOQQ
<{^_^}> [nixpkgs] @romildo opened pull request #69003 → arc-theme: 20190910 -> 20190917 → https://git.io/JeOQp
xkapastel has quit [Quit: Connection closed for inactivity]
sb0 has quit [Quit: Leaving]
drakonis1 has joined #nixos
slack1256 has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #68999 → rclone: 1.49.2 -> 1.49.3 → https://git.io/JeOQR
<{^_^}> [nixpkgs] @marsam pushed to master « rclone: 1.49.2 -> 1.49.3 (#68999) »: https://git.io/JeO7I
dbyte has quit [Read error: Connection reset by peer]
bsima has quit [Quit: ZNC 1.7.2 - https://znc.in]
dbyte has joined #nixos
bgamari has quit [Ping timeout: 246 seconds]
bsima has joined #nixos
<craige> Anyone here used vgo2nix before and has experience tracking down difficult and possibly unique dependency issues?
bgamari has joined #nixos
kleisli has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #69004 → telegraf: 1.10.2 -> 1.12.1 → https://git.io/JeO7B
<{^_^}> [nixpkgs] @matthewbauer merged pull request #69002 → pianobar: enable on darwin → https://git.io/JeOQQ
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/JeO70
<contrun[m]> What is the easiest way to run bundle for ruby? I want to bundle install without manually writing a .nix file. Is that possible? Currently bundle yells at me with To install the missing version, run `gem install bundler:2.0.2`.
felixfoertsch23 has joined #nixos
felixfoertsch has quit [Ping timeout: 276 seconds]
ntsrtoh^ has joined #nixos
layus has quit [Quit: ZNC 1.7.3 - https://znc.in]
layus has joined #nixos
eraserhd has quit [Quit: WeeChat 2.6]
eraserhd has joined #nixos
ntsrtoh^ has left #nixos [#nixos]
ncrth^ has joined #nixos
ddellacosta has quit [Ping timeout: 245 seconds]
Guest66 has joined #nixos
<Guest66> Hi.
mac10688 has joined #nixos
<Guest66> Anyone uses vim with ranger?
captn3m0 has quit [Ping timeout: 258 seconds]
captn3m0 has joined #nixos
Supersonic has quit [Disconnected by services]
Supersonic112 has joined #nixos
Supersonic112 is now known as Supersonic
captn3m0- has joined #nixos
<craige> Not me, sorry Guest66
<Guest66> No trouble.
<Guest66> I think it's conflicting with fzf.
<craige> Ranger looks pretty good though. I'd guess it would used a plugin for Vim(?). If that's correct it could be called the same was as any other Vim plugin.
captn3m0 has quit [Ping timeout: 265 seconds]
<Guest66> Or just exhibiting weird behavior when I open a directory with vim.
<craige> ah, so you;ve got it working, just not the way you expected.
<Guest66> Yeah.
<Guest66> I cd a dir and open a file with it and when I try to navigate the file
<Guest66> (with e.g Up, Down)
<Guest66> The navigation gets messy.
<Guest66> vim "erases" lines (doesn't acttually delete them), "jumps" around etc.
<slack1256> Guest66: There is also the #vim channel that might help you (I think they also help with nvim).
<Guest66> And it only happens if I cd a dir with vim + ranger. If I use ranger for it it's ok.
<Guest66> slack1256: I think #vim requires authentication. xd
<slack1256> Authenticate! it is worth it.
<Guest66> Man. x.x
mexisme has quit [Ping timeout: 276 seconds]
<Guest66> Too much of a hack to just :e! in augroup ranger?
<Guest66> Seems to fix it.
<{^_^}> [nixpkgs] @orivej-nixos pushed commit from @orivej to master « python.pkgs.scikitlearn: 0.20.3 -> 0.20.4 »: https://git.io/JeO7h
m0rphism has quit [Ping timeout: 245 seconds]
Guest66 has left #nixos [#nixos]
exadeci has joined #nixos
<{^_^}> [nixpkgs] @disassembler opened pull request #69005 → linuxPackages.ply: add rsync to native build inputs → https://git.io/JeO5t
leo_ has joined #nixos
leo_ has left #nixos [#nixos]
Guest66 has joined #nixos
<Guest66> I solved it.
<Guest66> augroup ranger :redraw! is a quickfix.
sb0 has joined #nixos
Guest66 has left #nixos [#nixos]
<{^_^}> [nixpkgs] @marsam opened pull request #69006 → mkvtoolnix: fix build with clang → https://git.io/JeO5m
drakonis1 has quit [Quit: WeeChat 2.4]
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @lattfein opened pull request #69007 → station: init at 1.49.0 → https://git.io/JeO5s
drakonis_ has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
mexisme has joined #nixos
drakonis has quit [Ping timeout: 264 seconds]
gyroninja has joined #nixos
init_6 has quit []
rmeis has joined #nixos
endformationage has quit [Quit: WeeChat 2.5]
hc has quit [Ping timeout: 245 seconds]
nexgen has joined #nixos
hc has joined #nixos
slack1256 has quit [Remote host closed the connection]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
Guest66 has joined #nixos
<Guest66> Is there a way to dinamically update a configuration set?
<Guest66> Like programs.bash.shellAliases = programs.bash.shellAliases // { myalias1 = "bla"; # ... }
<Guest66> At the configuration.nix
rmeis has quit [Ping timeout: 265 seconds]
<clever> Guest66: it already does that out of the box, just set it without trying to merge
felixfoertsch23 has quit [Quit: ZNC 1.7.3 - https://znc.in]
felixfoertsch has joined #nixos
<Guest66> clever: and if I want to unset it?
jluttine has quit [Ping timeout: 265 seconds]
<Guest66> like ... programs.bash.shellAliases = { thisShouldBeTheOnlyAlias = "..."; }
cdepillabout has joined #nixos
<clever> Guest66: mkForce can do that, but then you loose a lot of the merging logic between your own files
<Guest66> Got it. Sorry to spam this room.
<clever> thats the whole point of this room
vonfry has joined #nixos
<Guest66> I've been studying nix for the past 5-6 days.
<Guest66> Generation 49 now.
<Guest66> But it's hard to come by. heh
<clever> lrwxrwxrwx 1 clever users 16 Aug 6 19:57 /nix/var/nix/profiles/per-user/clever/profile -> profile-453-link
<cdepillabout> When I try to run konversation (a KDE IRC client) from a nix-shell, I get a message on the console about the standard icon theme "breeze" not being able to be found. Does anyone know how to make sure KDE applications can see an icon theme? I tried making sure the breeze-qt5 derivation was also available in the nix-shell, but that doesn't seem to make any difference.
Guest66 has left #nixos [#nixos]
wfranzini has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @marsam opened pull request #69009 → terraform-lsp: 0.0.5 -> 0.0.6 → https://git.io/JeO5d
jluttine has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #68925 → ocamlPackages.cryptokit: fix #68874 → https://git.io/JeO5x
<{^_^}> [nixpkgs] @vbgl pushed 3 commits to master: https://git.io/JeO5p
mexisme has quit [Ping timeout: 276 seconds]
abbiya has joined #nixos
<{^_^}> [nixpkgs] @cdepillabout opened pull request #69010 → konversation: make sure breeze-icons is in buildInputs → https://git.io/JeOdv
jluttine has quit [Ping timeout: 240 seconds]
<cdepillabout> Nevermind, I think I figured it out and submitted a PR to fix it ↑
joehh has joined #nixos
cdepillabout has quit [Quit: Leaving]
jtojnar has quit [Read error: Connection reset by peer]
<joehh> hello, any hints on how to deal with large dependencies? I'm pulling some data (~250mb) out of a 30gb file to make some derivations to be sent out via nixops
jtojnar has joined #nixos
<joehh> It seems I have to do this outside of nix, but is there any way to do it within?
abathur has quit [Ping timeout: 240 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ctp> Hi folks. How can I remove alle dependencies from Nix store after I deinstalled a package? This is my issue https://gist.github.com/cpilka/3df276c6b328dfffb38e4cd3b579d029
Synthetica has joined #nixos
zupo has joined #nixos
zupo has quit [Ping timeout: 268 seconds]
<clever> ctp: why do you want to entirely delete the package? it shouldnt be harming anything
palo1 has joined #nixos
cdepillabout has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
cdepillabout has quit [Client Quit]
<ctp> i write a custom installer. if someone cancel one of the install steps it should rollback to exactly same state as it was in before the installer was launched.
cdepillabout has joined #nixos
<ctp> isn't nix-store --gc supposed to gc the nix store? :D
<joehh> what happens if you do nix-store --delete /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
<clever> ctp: that is exactly what generations and rollbacks are for
<clever> ctp: and nix is holding on to the old emacs, incase you choose to `nix-env --rollback` to undo the last action
<clever> that path cant be deleted, because an older generation refers to it
<clever> and you still have the option to rollback to that generation
<clever> `nix-collect-garbage -d` is the nuclear option, to just get rid of all ability to undo actions
<clever> but your better off just doing your install in an atomic manner, so it either happens, or doesnt
<joehh> thanks clever, obvious when you think about it
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/44808beb7db (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<ctp> Hm, even if i roll back to first generation, it still doesn't clean up the Nix store https://gist.github.com/cpilka/078c59cfdc37e131f92de605e89a056e
<clever> ctp: because you may choose to roll forwards instead, to redo those actions
<clever> and nix is keeping things around incase you choose that action
<clever> if you dont want something rooted jsut yet, dont give it to nix-env
<clever> use nix-build instead, to just build things
<clever> `nix-build '<nixpkgs>' -A emacs -o emacs.root` will create an `emacs.root` symlink
<clever> and once `meacs.root` is deleted, you can GC emacs
<clever> (if nothing else happens to also be needing it)
<ctp> right, i see, that makes kind of sense. ok, lemme try :)
Ariakenom has joined #nixos
<MasseR> What's the difference between `name` and `pname` in mkDerivation?
emptyflask has quit [Ping timeout: 276 seconds]
batzy has joined #nixos
<batzy> does anyone know why the menu bar won't load on my cool-retro-term?
<MasseR> `name = "${pname}-${version}` ?
<batzy> I get an interesting error as well
<etu> MasseR: yes, pname and version is composed to name
<cdepillabout> Have you guys ever seen ofborg ignore commands? I tried to tell it to build a package in this comment, but it didn't seem to respond: https://github.com/NixOS/nixpkgs/pull/69010#issuecomment-532528864
jgt1 has joined #nixos
abbiya has quit [Quit: abbiya]
<batzy> where can i post errors to share here?
zupo has joined #nixos
hyper_ch2 has joined #nixos
<etu> ,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.
<sphalerite> tilpner: both really :p
<batzy> this is what I see when I run cool-retro-term
<batzy> the issue is cool-retro-term is not loading the menu bar.
graf_blutwurst has joined #nixos
hmpffff has joined #nixos
dermetfan has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/c8c01e2a956 (from 5 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<batzy> :\
sb0 has quit [Ping timeout: 265 seconds]
sb0 has joined #nixos
dermetfan has quit [Ping timeout: 276 seconds]
jluttine has joined #nixos
orivej has quit [Ping timeout: 268 seconds]
batzy has quit [Quit: Leaving]
zupo has joined #nixos
notgne2 has quit [Quit: ZNC 1.7.3 - https://znc.in]
Ariakenom has quit [Ping timeout: 276 seconds]
rauno has joined #nixos
wfranzini has joined #nixos
notgne2 has joined #nixos
jgt1 is now known as jgt
ng0 has joined #nixos
exadeci has quit [Quit: Connection closed for inactivity]
hmpffff has quit [Quit: nchrrrr…]
Jackneill has joined #nixos
tvorog has joined #nixos
<tvorog> и
noudle has joined #nixos
init_6 has joined #nixos
dermetfan has joined #nixos
o1lo01ol1o has joined #nixos
linuxdaemon has quit [Read error: Connection reset by peer]
kaliumxyz has quit [Ping timeout: 245 seconds]
kaliumxyz has joined #nixos
<{^_^}> [nixpkgs] @vcunat pushed to staging-19.09 « expat: patch CVE-2019-15903 (from Debian, issue #68818) »: https://git.io/JeOFl
linuxdaemon has joined #nixos
<{^_^}> [nixpkgs] @srghma opened pull request #69011 → hubstaff: 1.4.10 -> 1.4.11 → https://git.io/JeOF8
cdepillabout has quit [Quit: Konversation terminated!]
mexisme has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
mexisme has joined #nixos
veske has joined #nixos
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/JeOFz
<{^_^}> [nix] @edolstra merged pull request #3094 → Move 'builtins.splitVersion' to position respecting alphabetical order → https://git.io/JeO9G
joehh has quit [Ping timeout: 258 seconds]
johanot has joined #nixos
Makaveli7 has joined #nixos
hyper_ch2 has quit [Quit: Ping timeout (120 seconds)]
ggp0647 has quit [Ping timeout: 245 seconds]
ggp0647 has joined #nixos
mexisme has quit [Ping timeout: 276 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
hyper_ch2 has joined #nixos
dansho has quit [Quit: Leaving]
init_6 has quit [Ping timeout: 268 seconds]
Neo-- has joined #nixos
mexisme has joined #nixos
Neo-- has quit [Ping timeout: 276 seconds]
hyper_ch2 has quit [Remote host closed the connection]
Ariakenom has joined #nixos
asymptotically has joined #nixos
hmpffff has joined #nixos
Myhlamaeus has joined #nixos
thc202 has joined #nixos
<{^_^}> [nixpkgs] @teto opened pull request #69013 → really check requiredKernelConfig → https://git.io/JeObY
kleisli has quit [Ping timeout: 245 seconds]
vyorkin has joined #nixos
civodul has joined #nixos
Ariakenom has quit [Ping timeout: 240 seconds]
<sb0> I can use "store_uri=auto" on hydra, right?
<sb0> "auto" is the default
<sb0> (from what I read in the source)
<sb0> I used not to specify store_uri, but now it wants store_uri=...?secret-key= instead of binary_cache_secret_key_file
<{^_^}> [nixpkgs] @smaret closed pull request #68964 → python3Packages.astropy: disable tests → https://git.io/JeOwB
sigmundv has joined #nixos
nschoe has joined #nixos
<sb0> nixbld hydra-queue-runner[4064]: warning: unknown setting 'secret-key'
<sb0> wtf
Myhlamaeus has quit [Ping timeout: 264 seconds]
mac10688 has quit [Ping timeout: 268 seconds]
__monty__ has joined #nixos
mac10688 has joined #nixos
<sb0> Taneb: seems you had this issue a while ago, did you sort it out?
<sb0> I'm using "store_uri=auto?secret-key=/etc/nixos/secret/nixbld.m-labs.hk-1"
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
lord| has quit [Read error: Connection reset by peer]
lord| has joined #nixos
Ariakenom has joined #nixos
Myhlamaeus has joined #nixos
<{^_^}> hydra#679 (by sbourdeauducq, 37 seconds ago, open): suggested replacement for binary_cache_secret_key_file is dysfunctional
orivej has joined #nixos
<Ariakenom> i managed to cat my private key instead of public. is bash output stored somewhere i should clear?
<clever> Ariakenom: only in ram, in the scrollback history of your terminal emulator, which is usually gone once you close the terminal
<clever> but that might leak into swap, depending on system conditions
<Taneb> sb0: I can't remember how I solved it, I'm sorry
m0rphism has joined #nixos
<Ariakenom> clever: thanks. no swap so that's not an issue
<clever> sb0: ive also looked into the source, binary_cache_secret_key_file is used by the perl code, when hydra itself as acting as a binary cache (over http)
<clever> sb0: but store-uri is used by the c++ code, when the queue-runner is copying artifacts into whatever the store-uri is
<sb0> okay, but then why does it say it's deprecated?
<sb0> and especially "ignored" when it is not
<clever> sb0: somebody forgot to update the perl code
<clever> sb0: the official hydra.nixos.org has also disabled that perl code, since it now uploads everything to S3 and is configured to not act as a cache
<sb0> so the solution is to update the perl code so that it takes store_uri into account and actually ignore binary_cache_secret_key_file
<sb0> ?
<clever> sb0: probably
<{^_^}> [nixpkgs] @petabyteboy opened pull request #69015 → qt5.12: Add patches for QTBUG-73459 and QTBUG-69077 (19.09) → https://git.io/JeObj
gxt has quit [Ping timeout: 260 seconds]
Walker3R has joined #nixos
vyorkin has quit [Remote host closed the connection]
vyorkin has joined #nixos
logzet has joined #nixos
Shados has quit [Quit: Shados]
Ariakenom has quit [Remote host closed the connection]
cdepillabout has joined #nixos
growpotkin has quit [Quit: ZNC 1.7.4 - https://znc.in]
xepyhr1998 has quit [Remote host closed the connection]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 245 seconds]
zupo has joined #nixos
johanot has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @volth opened pull request #69016 → system.extraSystemBuilderCmds: work around length limit → https://git.io/JeONl
zupo has quit [Client Quit]
inkbottle has quit [Ping timeout: 245 seconds]
inkbottle has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
orivej has joined #nixos
fusion809 has joined #nixos
<Nyanloutre[m]> hello, does anyone have experience with Wireguard on NixOS ?
<Nyanloutre[m]> I have trouble using the wireguard tunnel as my default route
<Nyanloutre[m]> I can add specific public IPs with no problems but as soon as I use "0.0.0.0/0" my client connection break
dycan has joined #nixos
<dycan> hi all, I use nixos-unsable channel. But I keep encountering haskell packages "marked as broken" when nix-instantiate my yesod project. What did I do wrong?
<manveru> argh
<manveru> this one
chiefgoat has quit [Quit: ZNC 1.7.5-rc1 - https://znc.in]
chiefgoat has joined #nixos
<dycan> manveru: thanks you! Now I can take a step further to understand why.
orivej has quit [Ping timeout: 268 seconds]
zupo has joined #nixos
graf_blutwurst has quit [Remote host closed the connection]
<{^_^}> [nix] @edolstra pushed 4 commits to flakes: https://git.io/JeON9
<shyim> Hey, sometimes i have an issue where my pc freezes. I am using the "latest" kernel . Has someone an idea?
eddyb has joined #nixos
peti has joined #nixos
<{^_^}> [nixpkgs] @volth opened pull request #69018 → ammonite: add scala-2.13 version → https://git.io/JeONN
<peti> Hi there. When I pass a --profile=foobar flag to nixos-rebuild, is there any way to see that value inside of configuration.nix? I would like to parameterize the system's configuration based on the profile I'm building. I realize that I could use different top-level configuation.nix files by passing "-I nixos-config=...-foobar.nix" along with --profile, but that seems awkward. Is there any better solution?
<peti> My use case is that I'd like to be able to boot my laptio with the Optimus NVidia chipset enabled or disabled depending on the profile I am booting.
<eddyb> does anyone know why `glxinfo` might fail with `Error: couldn't find RGB GLX visual or fbconfig`?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<clever> peti: i checked the source in the above, and it looks like there is no way for you to access that, and the vars that do contain the value arent exported
<eddyb> but I hope there's an easier way to diagnose this
gxt has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #68351 → qt5.12: Add patches for QTBUG-73459 and QTBUG-69077 → https://git.io/Jekts
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging: https://git.io/JeONj
gagbo has quit [Ping timeout: 265 seconds]
zupo has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #69015 → qt5.12: Add patches for QTBUG-73459 and QTBUG-69077 (19.09) → https://git.io/JeObj
<{^_^}> [nixpkgs] @ttuegel pushed 2 commits to staging-19.09: https://git.io/JeOAv
<peti> clever: I suppose it wouldn't be hard to pass "--argstr profileName foobar" to nix-build in that script ... could be done unconditionally, to be honest. The default would simply be "system".
gagbo has joined #nixos
<eddyb> wait I just did `nix-env -i glxinfo` and it works now. I suppose this betrays a significant misunderstanding on my part wrt how libGL & friends work
kleisli has joined #nixos
<clever> peti: but that --argstr would be passed to nixos/default.nix, not configuration.nix
<clever> peti: which only accepts 2 args
<{^_^}> [nixpkgs] @ttuegel merged pull request #68820 → iosevka: 1.4.3 -> 2.3.0 → https://git.io/JeOAU
<{^_^}> [nixpkgs] @ttuegel pushed 3 commits to master: https://git.io/JeOAT
ubert has joined #nixos
<eddyb> did GL/GLX ABI have a breaking change at some point?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos
davidtwco has quit []
joehh has joined #nixos
davidtwco has joined #nixos
cdepillabout has quit [Quit: Konversation terminated!]
iyzsong has joined #nixos
gxt has quit [Remote host closed the connection]
gxt has joined #nixos
<teto> am trying to resize my console with `resizecons` but seems like kbd installed no videomodes :/
dycan has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #69009 → terraform-lsp: 0.0.5 -> 0.0.6 → https://git.io/JeO5d
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeOAm
<{^_^}> [nixpkgs] @marsam merged pull request #68997 → mtm: 1.0.1 -> 1.1.0 → https://git.io/JeOQJ
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeOAY
<{^_^}> [nixpkgs] @marsam merged pull request #69004 → telegraf: 1.10.2 -> 1.12.1 → https://git.io/JeO7B
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeOAO
peti has quit [Quit: ERC (IRC client for Emacs 26.3)]
<{^_^}> [nixpkgs] @marsam merged pull request #68966 → cargo-inspect: fix build on Darwin → https://git.io/JeOot
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/JeOAs
<{^_^}> [nixpkgs] @markuskowa merged pull request #68263 → micronaut init at 1.2.1 → https://git.io/fjjdV
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/JeOAG
<{^_^}> [nixpkgs] @Ma27 opened pull request #69019 → wlr-randr: init at unstable-2019-03-21 → https://git.io/JeOAn
Netsu has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « oh-my-zsh: 2019-09-11 -> 2019-09-13 »: https://git.io/JeOAc
veske has joined #nixos
<{^_^}> [nixpkgs] @minijackson opened pull request #69020 → gnvim: init at 0.1.5 → https://git.io/JeOAl
orivej has quit [Ping timeout: 240 seconds]
nixhost has quit [Read error: Connection reset by peer]
nixhost has joined #nixos
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<Ariakenom> can I see why something is not GCd? as in the store items that point to it
orivej has joined #nixos
<averell> nix-store -q --referrers <path> for example. man nix-store has the query options
<averell> or just nix-store --gc --print-roots to see roots, if you're after general garbage
<Netsu> Hello, I trying to build package via gcc8 on macos but there's strange path to stdlib https://gist.github.com/Pitometsu/ac1a00b3187732105f793ab41c21083e
<{^_^}> [nixpkgs] @minijackson opened pull request #69021 → bingrep: init at 0.7.0 → https://git.io/JeOAi
o1lo01ol1o has quit [Remote host closed the connection]
knupfer has joined #nixos
vonfry has quit [Quit: WeeChat 2.4]
cinimod` has joined #nixos
<Netsu> Oh, I got it, I need the `gcc8Stdenv.mkDerivation ...` instead of `stdenv.mkDerivation { stdenv = gcc8Stdenv ... }`
<cinimod`> What is the status with 19.09?
knupfer has quit [Remote host closed the connection]
knupfer has joined #nixos
Netsu has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @volth closed pull request #69016 → system.extraSystemBuilderCmds: work around length limit → https://git.io/JeONl
evanjs- has joined #nixos
<hyperfekt> infinisil: Minecraft PR is done. :)
<{^_^}> [cabal2nix] @peti merged pull request #429 → Link to the YouTube video explaining hackage2nix. → https://git.io/JeOHx
<{^_^}> [cabal2nix] @peti pushed 2 commits to master: https://git.io/JeOxU
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @lheckemann opened pull request #69022 → buildEnv: check pathsToLink before checking collisions → https://git.io/JeOxE
kleisli has quit [Ping timeout: 264 seconds]
o1lo01ol1o has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
abathur has joined #nixos
evanm has joined #nixos
dsx has quit [Quit: dsx]
dsx has joined #nixos
<{^_^}> [nixpkgs] @NeQuissimus merged pull request #68743 → curl: 7.65.3 -> 7.66.0 → https://git.io/JeOxX
<{^_^}> [nixpkgs] @NeQuissimus pushed 2 commits to staging: https://git.io/JeOx1
veske has joined #nixos
veske has quit [Client Quit]
<evanjs> Anybody else having issues with xmobar not referencing the config file when running it via a user service?
<evanjs> Or rather, it seems to be referencing it, but not using it...
turtlerabbit has joined #nixos
<turtlerabbit> I can't use my 3G modem until I manually start "systemctl start modem-manager.service". Shouldn't it be started automatically?
<turtlerabbit> I'm on Nixos 19.03
hoijui has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
rndd has joined #nixos
<rndd> hi everyone! what's the best way to install games on NixOs from GOG?
jgt has quit [Ping timeout: 246 seconds]
evanjs- has joined #nixos
rauno has quit [Ping timeout: 258 seconds]
<Yaniel> probably lutris or whatwasthatotherone
sb0 has quit [Quit: Leaving]
orivej has joined #nixos
psyanticy has joined #nixos
evanm has quit [Remote host closed the connection]
knupfer has quit [Read error: Connection reset by peer]
cinimod` has quit [Ping timeout: 240 seconds]
<rndd> Yaniel: I mean the way without any launchers. Just take a linux version from GOG and to install
<Yaniel> then you'll want to hit the nixpkgs manual/wiki on the topic of prebuilt binaries
<sphalerite> ,binaries
<{^_^}> sphalerite: Did you mean libraries?
<{^_^}> Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
<sphalerite> no… :|
rndd has quit [Quit: WeeChat 2.4]
<sphalerite> rnhmjoj: https://nixos.wiki/wiki/FAQ#I.27ve_downloaded_a_binary.2C_but_I_can.27t_run_it.2C_what_can_I_do.3F
<sphalerite> oh pff
dbyte has quit [Ping timeout: 265 seconds]
lewo` has quit [Remote host closed the connection]
lewo` has joined #nixos
<rnhmjoj> freenode_rndd: this is how i do it: https://hastebin.com/uxawusaqex.md
siel has quit [Ping timeout: 245 seconds]
siel has joined #nixos
mac10688 has quit [Ping timeout: 240 seconds]
mexisme has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
waleee-cl has joined #nixos
siel has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @joachifm pushed to master « tests/hardened: fix build »: https://git.io/JeOpm
mexisme has quit [Ping timeout: 252 seconds]
siel has joined #nixos
<{^_^}> [nixpkgs] @joachifm pushed to release-19.09 « tests/hardened: fix build »: https://git.io/JeOp3
<{^_^}> [nixpkgs] @matthewbauer merged pull request #68366 → Install git’s bash completion so that it is loaded on demand → https://git.io/JeqaN
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to staging: https://git.io/JeOps
orbekk has quit [Ping timeout: 265 seconds]
dbyte has joined #nixos
orivej has joined #nixos
orbekk has joined #nixos
jgt has joined #nixos
mkoenig has quit [Remote host closed the connection]
mkoenig has joined #nixos
veske has joined #nixos
dbyte has quit [Ping timeout: 265 seconds]
dbyte has joined #nixos
nschoe has quit [Ping timeout: 240 seconds]
suzanne has joined #nixos
orivej has quit [Ping timeout: 240 seconds]
joehh has quit [Ping timeout: 268 seconds]
hoijui has quit [Ping timeout: 250 seconds]
bahamas has joined #nixos
nschoe has joined #nixos
<bahamas> how do I find the location of a file in nixos? specifically pg_hba.conf in this case
<sphalerite> bahamas: what are you trying to achieve by finding it? Because editing it, wherever it is, will be a bad idea
<teto> bahamas: you can use nix-locate or the bot
<teto> {^_^}: ,locate pg_hba.conf
<teto> ,locate pg_hba.conf
<{^_^}> Found in packages: postgresql94, postgresql95, postgresql96, postgresql_10, postgresql_11
<Ariakenom> I've been trying to figure out why clementine starts on login on my nixos plasma5. I have tried to uninstall it . for some reason it shows up in nix-store --gc --print-roots | grep clementine
<Ariakenom> does anyone have troubleshooting tips
<sphalerite> Ariakenom: where was it previously installed? How did you try to uninstall it?
<bahamas> sphalerite: I want to see what it contains. I'm using the code found here https://nixos.wiki/wiki/PostgreSQL, but for some reason I get "psql: FATAL: role "vagrant" is not permitted to log in" when I try to login
zupo has joined #nixos
<bahamas> of course, I'm creating role vagrant and database vagrant
<Ariakenom> I think nix-env --install and --uninstall. might have been adding removing from configuration.nix. I dont remember, it was a while ago
endformationage has joined #nixos
<sphalerite> bahamas: ah, fair enough — it should be in postgres's data directory, which is by default a subdirectory of /var/lib/postgresql
<sphalerite> Ariakenom: Is it included in the output of `nix-env -q`?
<Ariakenom> sphalerite: no
<orbekk> bahamas: my regular workflow would be 'systemctl cat postgresql', and dig around there to find its configuration files
<sphalerite> Ariakenom: what about `nix-store -qR /run/current-system | grep clementine` ?
<Ariakenom> sphalerite: nothing
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sphalerite> Ariakenom: ok, one more try for a nixy path where it might live… is it in _sudo_ nix-env -q?
xacktm has quit [Ping timeout: 264 seconds]
nschoe has quit [Quit: Program. Terminated.]
<sphalerite> Ariakenom: failing that, it's probably in some weird stateful path. Try `grep -r clementine ~/.config ~/.local`
<Ariakenom> sphalerite: nope that's empty
<Ariakenom> that was about the previous command
<gchristensen> sphalerite: (redirect from -dev about znapzend) I'm surprised you keep so many locally and so few remotely, which is the opposite of what I want to do. can you tell me about that?
<gchristensen> just not enough space?
<bahamas> orbekk: I guess I needed to remember that postgres stores everything in PGDATA for that to be useful
<sphalerite> gchristensen: I keep infrequent snapshots for a long time remotely, and frequent snapshots for a short time locally
rndd has joined #nixos
rndd has quit [Client Quit]
<Ariakenom> sphalerite: that turns up some .config/Clementine/Clementine.conf .config/plasmashellrc .config/ksmserverrc
<gchristensen> I wonder if the frequent snapshots remotely (with a low retention remotely) would be good so you're transfering small amounts of data regularly, instead of one big xfer once a day (and then you have closer to an "up-to-the-minute" snap if something fails bad)
<sphalerite> Ariakenom: check the latter two
<sphalerite> gchristensen: znapzend does do that, essentially — it sends _all_ the snapshots more recent than the most recent one retained according to the config
<gchristensen> oh :) I should read more!
<bahamas> how do you enable tab completion in nixos?
Ariakenom has quit [Remote host closed the connection]
hmpffff has quit [Quit: Bye…]
Ariakenom has joined #nixos
<Ariakenom> sphalerite: The references looked like "restart because it was on during last session". so i tried to stop it and then restart but it still started
<orbekk> bahamas: I'm just saying that's generally a useful place to start, because the startup script often points to the location of the configuration files
<bahamas> orbekk: yes, you're right
<sphalerite> Ariakenom: does it still show up in those files?
<bahamas> in postgres' backend-initScript, I have "GRANT ALL PRIVILEGES ON DATABASE vagrant TO vagrant;" but in the logs only "GRANT" is shown. also, the vagrant database is owned by postgres instead of vagrant. anyone know why?
<Ariakenom> sphalerite: yes under the same sections afaict
orivej has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #69024 → nodejs-12_x: 12.5.0 -> 12.10.0 → https://git.io/JeOho
<sphalerite> Ariakenom: maybe you can remove it manually.
<{^_^}> [nixpkgs] @marsam closed pull request #65991 → nodejs-slim-12_x: 12.5.0 -> 12.7.0 → https://git.io/fjHXF
<{^_^}> [nixpkgs] @marsam opened pull request #69025 → nodejs-10_x: 10.16.0 -> 10.16.3 → https://git.io/JeOh6
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
<Ariakenom> sphalerite: ok I'll try to just remove them from those files
Ariakenom has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @romildo opened pull request #69026 → enlightenment.enlightenment: add dependency on bc → https://git.io/JeOhy
Ariakenom has joined #nixos
Ariakenom has quit [Remote host closed the connection]
Ariakenom has joined #nixos
jump_spider has joined #nixos
Makaveli7 has quit [Quit: WeeChat 2.6]
<gchristensen> thank you infinisil, sphalerite. down from 96% full to 50% full
logzet has quit [Ping timeout: 246 seconds]
<Ariakenom> sphalerite: Not entirely sure but I think it
<sphalerite> gchristensen: \o/
Overtion has joined #nixos
<Ariakenom> it's no longer starting because I actually shut it down this time. the time before I did it from the kde bar and I think it just went away from the bar
<Ariakenom> it still appears in plasmashellrc as "1 shell_clementine" for some reason. I did remove it once
<gchristensen> pretty cool that 19.09's systemd does CPU and network accounting
suzanne has quit [Ping timeout: 265 seconds]
emptyflask has joined #nixos
<Ariakenom> what may plasmashellrc be generated from ...
<{^_^}> [nixpkgs] @tyrion opened pull request #69027 → Add mailspring → https://git.io/JeOjv
duncan has joined #nixos
<Ariakenom> what does the "{memory:9} ->" mean in "nix-store --gc --print-roots"?
{^_^} has quit [Remote host closed the connection]
<duncan> Hmm.. I'm having a wee bit of trouble with the `diceware` package. Not sure if this is my fault. I'm using nixpkgs-unstable: https://paste.debian.net/hidden/638ba101/
<duncan> (on darwin)
zacts has joined #nixos
<duncan> It looks like it might be an issue with a dependency in the environment but I confess I don't know.
{^_^} has joined #nixos
vyorkin has quit [Remote host closed the connection]
<Taneb> It'd be nice if Hydra had a "why isn't this build running right now?" feature
bahamas has quit [Quit: leaving]
orivej has quit [Ping timeout: 265 seconds]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « ghc: Revert "compile with DWARF support by default" »: https://git.io/JeOjE
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68492 → Introduce environment.profileRelativeSessionVariables → https://git.io/JemEU
<{^_^}> [nixpkgs] @worldofpeace pushed 12 commits to master: https://git.io/JeOjz
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68729 → nixos/pantheon: use Pantheon's greeter → https://git.io/JeOj2
<{^_^}> [nixpkgs] @worldofpeace pushed 8 commits to master: https://git.io/JeOja
<sphalerite> Ariakenom: it means that it's still referenced by some running process
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<Ariakenom> sphalerite: ah ok
<Ariakenom> hey clementine is now gone from gc roots. I dont understand why
<glasserc> Is there a way to write a derivation that doesn't have a `src` ?
<sphalerite> glasserc: yes, just make sure the normal unpackPhase doesn't run, by providing buildCommand (if you want to specify all the commands that get run for building your derivation) or unpackPhase = ":" (if you only want to stop it from trying to unpack src).
dbyte has quit [Read error: Connection reset by peer]
dm9 has joined #nixos
<glasserc> sphalerite: Cool, thanks!
Shados has joined #nixos
dbyte has joined #nixos
orivej has joined #nixos
dbyte has quit [Ping timeout: 265 seconds]
Ilya_G has joined #nixos
Ariakenom has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #69028 → Revert "setup.sh introduce isELFExec, isELFDyn" → https://git.io/JeOjS
<Ilya_G> I am using `nixos/nix` docker and I am trying to add a trusted CA to it. I placed a cert for trusted certificate into `/usr/local/share/ca-certificates/` to no avail. When bash into the running docker container I can't either curl or nix-prefetch-url the path I am trying to get.
erasmas has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @ryantrinkle pushed 19 commits to mine-2019-09-18: https://git.io/JeOj7
growpotkin has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
<{^_^}> [nixpkgs] @matthewbauer opened pull request #69029 → Revert "setup.sh introduce isELFExec, isELFDyn" → https://git.io/JeOjb
<sphalerite> Ilya_G: try setting the environment variable NIX_SSL_CERT_FILE to point to the file containing the cert
<{^_^}> [nixpkgs] @jtojnar opened pull request #69030 → contrast: init at 0.0.2 → https://git.io/JeOjh
mexisme has joined #nixos
<Ilya_G> sphalerite: THX let me see
qyliss has quit [Quit: bye]
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
<Ilya_G> sphalerite: That being said I am pulling data down from a preset git repo over HTTPS and the cert I am trying to add is our internal CA. Does your answer still apply?
<sphalerite> Ilya_G: yes and no — nix will use _only_ the certs from the file specified, so you might need to bundle it along with the standard certs into one file, if you need non-internal-CA certs.
Shell has joined #nixos
dbyte has joined #nixos
<Ilya_G> sphalerite: Isn't there a way to add a custom CA certificate to a certificate store?
mexisme has quit [Ping timeout: 245 seconds]
qyliss has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
<sphalerite> Ilya_G: I'm sure there is, I just don't know how
<manveru> Ilya_G: jup
dbyte has joined #nixos
<manveru> lemme check how i did that
ixxie has joined #nixos
<Ilya_G> sphalerite: NP. thank you for responding
<Ilya_G> manveru: * eagerly waiting*
<manveru> Ilya_G: `SSL_CERT_FILE = __toFile "my.crt" ''${__readFile "${cacert}/etc/ssl/certs/ca-bundle.crt"} ${__readFile ./other.crt}''`
<manveru> something like that should work
<__monty__> Is there a way to bring only a single binary from an expression into scope in a nix-shell? In particular, I need pod2man but I don't the perl binary for example.
<infinisil> __monty__: I guess if you just need a single binary you can do `export PATH="$(nix-build --no-out-link '<nixpkgs>' -A pod2man)/bin:$PATH"`
<infinisil> (A bit verbose though)
<manveru> that'd still add all binaries from that package
<infinisil> Ah
<manveru> so you have to make a wrapper, i guess
<{^_^}> [nixpkgs] @worldofpeace opened pull request #69031 → nixos/xdg/icons: match XCURSOR_PATH spec → https://git.io/Je3eC
<infinisil> I understood that __monty__ didn't want to have other binaries from the nix-shell like gcc and such
<manveru> also possible :)
<{^_^}> [nixpkgs] @vcunat pushed 2 commits to staging: https://git.io/Je3el
<{^_^}> [nixpkgs] @vcunat merged pull request #68748 → libuv: 1.30.1 -> 1.32.0 → https://git.io/Je3e8
<infinisil> It would be cool if NixOS had some binary installation option
<infinisil> Like `environment.binaries.bash = pkgs.bash`
<Taneb> infinisil: how would that differ from what currently exists?
<infinisil> environment.systemPackages installs all binaries of a package
<infinisil> My PATH is bloated with all kinds of binaries I never need because of that
Overtion has left #nixos [#nixos]
nixnothing has joined #nixos
<Taneb> And what would this do differently?
growpotkin has quit [Ping timeout: 240 seconds]
<{^_^}> [nixpkgs] @peti opened pull request #69032 → ghc: revert "compile with DWARF support by default" → https://git.io/Je3eB
<infinisil> It would only install the binaries you tell it to
MmeQuignon has joined #nixos
zupo has joined #nixos
<infinisil> E.g. with bash it would only install the `bash` binary, not `sh`
<infinisil> With `environment.binaries.bluetoothctl = pkgs.bluez` it would only install ${pkgs.bluez}/bin/bluetoothctl, and none of the other dozend binaries I never need
wfranzini has quit [Remote host closed the connection]
<immae> I understand your idea but your syntax is strange infinisil
<Taneb> I think I follow
<infinisil> immae: Got a better syntax?
<Taneb> I'm worried that this would cause breakages
dermetfan has quit [Ping timeout: 268 seconds]
Myhlamaeus has quit [Remote host closed the connection]
<immae> I was thinking of something reversed (i.e. when installing bluez you have a mechanism to "override" the derivation to say that you want only ${pkgs.bluez}/bin/bluetoothctl in it), which seems more generic (can be used in non-nixos or non /bin) than your `environment.binaries`
<immae> But actually I’m starting to understand the rationales behind environment.binaries and it seems neat too
<{^_^}> [nixpkgs] @jb55 closed pull request #68187 → grub: enable copyKernels by default → https://git.io/fjjBG
tvorog has quit [Ping timeout: 246 seconds]
Ilya_G has quit [Remote host closed the connection]
<cransom> it'd probably look something like `security.wrappers` from configuration.nix, but with none of the security settings involved. you'd have to state with binary you wanted from whichever derivation.
erasmas has quit [Quit: Lost terminal]
erasmas has joined #nixos
Guest66 has joined #nixos
<Guest66> I'm trying to overlay firefox to use a custom user.js configuration
<Guest66> Anyone tried that?
growpotkin has joined #nixos
judson__ has joined #nixos
judson has joined #nixos
Ariakenom has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: disable builds that break evaluation on Hydra »: https://git.io/Je3eH
<{^_^}> [nixpkgs] @peti merged pull request #69032 → ghc: revert "compile with DWARF support by default" → https://git.io/Je3eB
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/Je3eQ
<{^_^}> [nixpkgs] @peti pushed 31 commits to haskell-updates: https://git.io/Je3ed
<__monty__> What infinisil described is kinda what I'm after. Installing moreutils for vidir brings a ton of other binaries in scope. I don't want to accidentally mask something else just because I need a single binary from a package.
<{^_^}> [nixpkgs] @peti pushed 24 commits to haskell-updates: https://git.io/Je3ex
<infinisil> immae: Oh, how about something like `filePicker { bin.bluetoothctl = pkgs.bluez; bin.bash = pkgs.bash; etc.foo = pkgs.foo; }`
<infinisil> This would pick the file at the path `bin/bluetoothctl` from `${pkgs.bluez}/bin/bluetoothctl`
<infinisil> And `$out/etc/foo` from `${pkgs.foo}/etc/foo`
<infinisil> Like a more fine-grained `buildEnv`
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/Je3eh
<immae> infinisil or something like that yes :)
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « git-annex: update sha256 hash for new release 7.20190912 »: https://git.io/Je3vv
__monty_2 has joined #nixos
__monty_1 has joined #nixos
__monty_1 has quit [Client Quit]
<infinisil> I guess it would be annoying if you had to pick out the man pages for commands like that
__monty_2 has quit [Client Quit]
<immae> __monty__: you cannot mask something without getting an error (or at least a warning)
<immae> infinisil nothing prevents you from takeing `${pkgs.foo}/etc/foo/` if you have `etc.foo = pkgs.foo`
<immae> (like, directories)
<infinisil> Yeah, but man pages are in e.g. `$out/share/man/man1/foo.1.gz`
<immae> ah yes
<nixnothing> so yesterday
<nixnothing> I learned
<infinisil> I've also thought about how it would be nice to have some better guidelines and conventions for what $out contains
<nixnothing> nixpkgs channel has almost as many packages as debian
<infinisil> Like man pages are there, binariies in $out/bin, but there's a lot more unwritten conventions
<infinisil> nixnothing: It depends a lot on what gets counted, but yeah nixpkgs has a whole bunch :)
<Taneb> nixnothing: according to repology.org, nixpkgs has considerably more :)
<immae> infinisil in that regard I think people assume that $out is kind of equivalent to /usr, no?
<immae> so bin, man, share, lib, and that’s about it
<immae> (include, src)
sigmundv has quit [Ping timeout: 240 seconds]
<infinisil> immae: Yeah that mostly works, but then there's also things like zsh/bash completions which are somewhere in /share (I think there's multiple locations even)
<infinisil> applications, icons
<infinisil> Licenses, html/pdf documentation
<infinisil> And for bash/zsh completions this is important because these paths are integrated into NixOS so you can add completions just by adding them to `environment.systemPackages`
<nixnothing> Teneb: ah, dang
<immae> infinisil right, my assumption was a bit light :D
justanotheruser has quit [Ping timeout: 240 seconds]
<Taneb> nixnothing: I think we might "cheat" (because repology lists both nixpkgs stable and unstable, the "not unique" count is kind of useless)
<infinisil> No worries
evils has joined #nixos
<__monty__> immae: Afaict that's false. I get a different version of pod2man if I enter a `nix-shell -p perl`.
zacts has joined #nixos
<immae> __monty__: nix-shell is not "installing" anything long term
<nixnothing> Taneb: ah, that makes sense. I was looking at the graph and scracting my heard
<{^_^}> [nixpkgs] @peti opened pull request #69033 → drop obsolete versions of the GHC compiler → https://git.io/Je3vu
<nixnothing> nixpkgs was way out there XD
dm9 has quit [Quit: WeeChat 2.6]
ubert has quit [Remote host closed the connection]
<__monty__> immae: True, but it happened to be what I was talking about. Though it'd also be useful to specify exactly which binaries in a more permanent place, like configuration.nix.
<nixnothing> unstable
erasmas has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos
<nixnothing> I've also been a big fan of dnf when I use fedora
<immae> __monty__: if you install things with nix-env or via systemPackages (not sure of the name), then you have an error in case of collision (locally for each), then it’s like in every system : if you reorder your path (putting the path corresponding nix-env before or after systemPackages) or add things to it (nix-shell), then you will modify the precedence, that’s nothing new (and nothing I would care about as
<immae> an administrator, actually)
<{^_^}> [nixpkgs] @pacien opened pull request #69035 → riot-{web,desktop}: 1.3.3 -> 1.3.5 → https://git.io/Je3vK
drakonis_ has quit [Ping timeout: 268 seconds]
<__monty__> immae: I'm not sure why you're going on about this. It's not the only possible reason to limit packages to the specific binaries you actually care about. It's just *a* reason *I* would like that feature. And I'm not talking about shadowing between permanently installed things even. I'm specifically talking about temporary development shells.
<emptyflask> /quit
emptyflask has quit [Quit: WeeChat 2.4]
drakonis_ has joined #nixos
<nixnothing> would you all believe me if I said I have been going by nix online for years before even knowing about nixos? (and prob b4 it was a thing)
<immae> __monty__: Ok, that’s not what I understood from your first message, sorry.
<infinisil> nixnothing: That's impressive considering that NixOS is in focus everywhere
<{^_^}> [nixpkgs] @pacien opened pull request #69036 → gscan2pdf: 2.5.5 -> 2.5.6 → https://git.io/Je3vy
<nixnothing> >_<....happy (and now very confusing) coincidence. used to be my old wow name since bc
rauno has joined #nixos
<infinisil> Ahh, I understood that you were using Nix without ever coming accross NixOS
drakonis has quit [Ping timeout: 276 seconds]
<infinisil> But it being your username is cool and more believable :o
<__monty__> infinisil: Isn't that a tad optimistic about NixOS? *Maybe* people in the configuration management space have all at least heard about it. But it's not as if it's a mainstream distro.
<__monty__> Oh.
<__monty__> nvm
<eyJhb> __monty__: soon it will be!
<nixnothing> also #thatfeelwhentryingtosellotherpeopleonnix
<eyJhb> It's easy nixnothing !
<nixnothing> #andthenexplainingit
<infinisil> Nix is on its way to become a decently popular distro
<infinisil> NixOS*
<eyJhb> I am considering if I can get some servers at AAU to start using NixOS internally at ITS
<infinisil> Hell I'll say it's decently popular even now
<eyJhb> Would be nice
<__monty__> What happened to "Avoid success at all costs!?"
<nixnothing> I like it, it solves problems by trying to solve underlying issues rather thank adding 'band-aid' obfiscation layers
Myhlamaeus has joined #nixos
<infinisil> __monty__: Who said that?
<eyJhb> Do NixOS not want to be successfull?
<nixnothing> but I've found it rought to sell some ppl on b/c learing curve
<infinisil> We should write more and better Nix tutorials
<__monty__> infinisil: I'm pretty sure it's a requirement for something to be called "declarative."
<nixnothing> its like how it took a while to alot of poeple to get onboard with functional programming (imo)
<__monty__> It's still taking a while : )
<nixnothing> It think its just waiting for people to reach they same conclusion =/
erasmas has joined #nixos
drakonis has joined #nixos
<exarkun> How do I get certbot plugins on nixos?
<lordcirth_> "atomic rollbacks" was all I needed to hear to just in
<lordcirth_> jump*
<dminuoso> 18:45:09 nixnothing | but I've found it rought to sell some ppl on b/c learing curve
<__monty__> lordcirth_: A kernel upgrade gone awry is what got me to look into it.
<lordcirth_> The amount of screwups I could have just hit "undo" on...
<dminuoso> nixnothing: I think the main prohibitive thing is that in order to sensibly use nixos/nixops you have to learn nix and write overlays/custom nix derivations.
<dminuoso> nixnothing: (Because you rapidly hit edge cases of missing features, or some "doesn't quite do what you need" - and that case you are completely screwed since quick band-aids are pretty much impossible in nixos)
<nixnothing> lordcirth_: yeas! thatsr why I converted from fedora
<eyJhb> dminuoso: a lot of people get by, without being able to write anything nix, like me most of the time
<eyJhb> Also why I waste hours and then infinisil just come and say "why don't you just do this?"
<infinisil> Hehe
<nixnothing> dminuoso: yea. its like ppl are afraid of commit to a stack, but don't realize that its more of a methodology and all the stack tools are just feautes/convenience
drakonis_ has quit [Ping timeout: 276 seconds]
<teto> docs/UI are kinda dreadful but the pace at which it is improving is fascinating. nix 2 was a cool improvement, flakes are gonna be great, and after flakes we'll get a proper module system I believe. That will already improve things a ton
<__monty__> Also though, as a devil's advocate, btrfs/zfs/stratis/lvm snapshots. Or, you know, conventional backups.
<dminuoso> eyJhb: Well if you get by with what's already there that's great.
<eyJhb> infinisil: going to convert my openvpn server tonight, sooo, hoping you will be here ;)
<nixnothing> I use zfs too
<infinisil> teto: I wish the new UI was actually finished though..
<dminuoso> eyJhb: But sensible nixops requires nix competency in order to get anything right.
<dminuoso> (Unless you have a trivial infrastructure)
<{^_^}> [nixpkgs] @matthewbauer pushed 2 commits to master: https://git.io/Je3fn
<infinisil> eyJhb: I do have a bunch of experience with openvpn :D
<infinisil> And a new module for it too
<dminuoso> We're currently moving our first servers from manual CentOS to NixOS as an attempt to introduce declarative server description over ansible non-sense. And we already have to modify some nixos modules because things being things
<infinisil> Well it could be better, but I didn't feel like spending more time on it for now: https://github.com/Infinisil/system/blob/master/config/new-modules/openvpn.nix
<dminuoso> Dont get me wrong, Im all down for it, but it'll be a hard sell to "but then I cant just ssh into the machine and do XYZ"
<nixnothing> nice
<infinisil> dminuoso: The quality of NixOS module is horrible tbh..
xacktm has joined #nixos
<infinisil> Of the *average* NixOS module
<nixnothing> we are stuck on ansible/docker here
<infinisil> rfcs#42 is part of my effort to increase the quality of modules
<{^_^}> https://github.com/NixOS/rfcs/pull/42 (by Infinisil, 25 weeks ago, open): [RFC 0042] NixOS settings options
<nixnothing> but may move to kubernetes
<dminuoso> infinisil: Im beginning to wonder whether that's just an artifact of an OS methodology/ecosystem that's just not designed for declarative thinking.
<dminuoso> (GNU/Linux I mean)
<__monty__> Yeah, I don't have a good answer yet to "X doesn't work on nixos and I need it *now*, can't afford to spend a day packaging it."
<nixnothing> I'm sure Im gonna end up being the `have your yeard of our lord and savior nixos` guy
<dminuoso> __monty__: Indee!
<infinisil> dminuoso: Maybe yeah, a lot of people just think about getting their usecase working, without thinking further than that, which means we end up with mostly hardcoded service configurations
<dminuoso> In a usual setting I could always hand-compile packages if I had to badly enough.
<__monty__> And, "Spin up a docker/VM" isn't a satisfying solution, imo.
<nixnothing> __monty__: containers?
<nixnothing> ah
<infinisil> __monty__: Is it often the case that you have to get something running *now* now, and can't affort to spend a day packaging it?
<__monty__> infinisil: Not for me currently but that's a luxury most people lack. It's why some friends gave up on NixOS.
<infinisil> I guess if it's something complex, it might take longer than a day, and you're not sure how long it will take, or if it's even possible without patching everything
<dminuoso> __monty__: I think that's what Docker gets right. You get a sort of deterministic (with some discipline) method of shipping build artifacts in a standardized way, but it's utterly trivial to transfer your usual linux competency into a Dockerfile.
<dminuoso> Which might explain why it has so much adoption.
<__monty__> But I do often run into "This tool *might* solve my problem but I don't want to invest effort in getting it to run up front."
janneke has quit [Quit: janneke quits Mes'sing]
<nixnothing> __monty__: maybe like sell nixos for like, longterm-stable, and concurently run another, server/vps for newer stuff
<nixnothing> like an additional layer to staging, prod/pre-prod
<dminuoso> infinisil: Here's an example. I switched to NixOS and then I had the problem of "I need mail and we have just outlook"
<__monty__> Also, packaging often sucks. You have to get pretty familiar with a project's build system if you go beyond "./configure && make && make install # this always works."
janneke has joined #nixos
<dminuoso> infinisil: I spend nearly a week trying to build a working nix derivation for hiri, in vain. I tried evolution, but that required a massive hackery of a nix derivation to make it work.
<eyJhb> infinisil: what do you do for generating those certs? easyrsa module?
<dminuoso> (Now you could blame that hiri is badly packaged, but at the end you could also say that "hiri would have worked out of the box on ubuntu, fedora or centos)
<infinisil> dminuoso: Why not another mail client like thunderbird?
<dminuoso> infinisil: thunderbird doesn't natively talk to outlook.
<dminuoso> It requires a commercial plugin
<infinisil> Ugh
kleisli has joined #nixos
<infinisil> Nasty stuff
<infinisil> But yeah, until somebody goes through the pain of packaging something like that NixOS is at a disadvantage
<infinisil> s/NixOS/,NixOS
<infinisil> eyJhb: Ah yeah, I actually have some text files I use to remember what to do but they're in my private repo
<eyJhb> PRIVATE! Damn you. jk. But you don't do it automatically with NixOS then?
<dminuoso> infinisil: In my eyes, it's that fundamental concept of a filesystem that is poison to declarative system descriptions, because filesystems are inherently stateful.
<infinisil> eyJhb: It's not much :): https://paste.infinisil.com/4RjCGkx8bQ.txt
<eyJhb> dminuoso: well, some do / in tmpfs, if that helps
<dminuoso> (And GNU/Linux is, more than any other system, so heavily focused around the idea of "everything is a file")
<infinisil> dminuoso: Yeah agreed, filesystems in NixOS are a bit painful..
<lordcirth_> Well, if you go down far enough, the storage hardware is stateful. I'm not sure that trying to push that even lower than the filesystem layer is helpful.
<dminuoso> lordcirth_: I dont mind persistent storage, but filesystems dont appear to be the right abstraction for it.
<eyJhb> infinisil: thanks! I will look at it. Could probably do a systemd service, that just checks if those files exists, and then fire those commands
<eyJhb> That does not make sense.. Ignore that
<infinisil> Yeah those should be run statefully
<eyJhb> More, initial startup then I don't care much about them, but you're right
<infinisil> Ah
<infinisil> Yeah you could do like the proper key request/sign thing
<exarkun> how do I construct a mirror://pypi/... url for fetchurl? how do I know what's on the mirror and what's not?
drakonis has quit [Read error: Connection reset by peer]
<infinisil> Where all clients send a certificate signing request (easyrsa can do that too) to the openvpn server through another secure channel
<eyJhb> I will just copy my existing files, and use those. My only problem is my iptables are kinda... Weird.. As I do some snat/dnat for forwarding using OpenVPN. Which at some point, I will just do using autossh
<infinisil> Then you can trigger the signing which sends the signed cert back
<teto> exarkun: look into fetchurl/mirrors.nix
<eyJhb> Considering doing some insecure user/pass :p
drakonis has joined #nixos
<exarkun> teto: helps ... minimally
<exarkun> actually, maybe interesting but not really helpful at all?
<teto> exarkun: ok I don't get what you ask probably sry
<exarkun> if there's some python package I want to use as a src, I wonder how to write a mirror:// url for it instead of an https://pypi.org/... url
<worldofpeace> exarkun: why not use fetchPypi?
<exarkun> worldofpeace: I don't know
gagbo has quit [Ping timeout: 268 seconds]
<exarkun> why do things in nixpkgs use fetchurl instead of fetchPypi sometimes?
dbyte has quit [Ping timeout: 240 seconds]
<teto> yeah it will generate the correct url
<teto> exarkun: probably because of ignorance
gagbo has joined #nixos
<worldofpeace> exarkun: because fetchPypi is only meant to fetch things from fetchPypi. anything that doesn't use it for pypi is a bug
<exarkun> cool I'll use fetchPypi
<adisbladis> exarkun: Even fetchPypi is an abstraction on top of fetchurl :)
kleisli has quit [Ping timeout: 250 seconds]
<exarkun> of course
<exarkun> abstractions are nice
<evils> anyone here using sway?
<__monty__> evils: Multiple, I think gchristensen for one.
<gchristensen> yeah a bunch are (and I do, yeah)
orivej has quit [Ping timeout: 276 seconds]
boxscape has joined #nixos
<evils> i seem to be getting further with it than i was on debian, i'm currently stuck at something that may be a keyboard issue
Bryophyllum has joined #nixos
<evils> i've set my layout (dvorak), and that actually seems to work, but either urxvt and dmenu don't start, or some keybindings are dead
gxt has quit [Remote host closed the connection]
knupfer has joined #nixos
kleisli has joined #nixos
<alexarice[m]> evils: have you got xwayland installed?
<alexarice[m]> both of the things you mentioned are X programs
gxt has joined #nixos
<evils> alexarice[m]: not that i know of, i'll look into it, thanks
<alexarice[m]> evils: if you are on nixos the sway module will automatically install xwayland unless you override `programs.sway.extraPackages`
<evils> i've got sway installed in my environment, xwayland was indeed the issue, i'll look into actually setting it up properly later
<evils> another question, is there a recommended way to deal with multi-monitor setups?
gagbo has quit [Ping timeout: 258 seconds]
dbyte has joined #nixos
<{^_^}> [nix] @zimbatm opened pull request #3097 → function-trace: always show the trace → https://git.io/Je3fb
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
gagbo has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<alexarice[m]> evils: you literally just need `programs.sway.enable = true;` in your config
<evils> alexarice[m]: but then it gets called automatically, wouldn't that interfere with my working i3 setup?
kleisli has quit [Ping timeout: 245 seconds]
<alexarice[m]> it won't get called automatically
<alexarice[m]> mine doesn't anyway
<{^_^}> [nixpkgs] @worldofpeace merged pull request #69035 → riot-{web,desktop}: 1.3.3 -> 1.3.5 → https://git.io/Je3vK
<{^_^}> [nixpkgs] @worldofpeace pushed 3 commits to master: https://git.io/Je3fh
dermetfan has joined #nixos
iqubic has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to master « haskell-packages.nix: cosmetic »: https://git.io/Je3fj
dbyte has quit [Ping timeout: 276 seconds]
knupfer has quit [Ping timeout: 245 seconds]
knupfer has joined #nixos
dbyte has joined #nixos
dbyte has quit [Read error: Connection reset by peer]
mkoenig has quit [Remote host closed the connection]
dbyte has joined #nixos
<Guest66> How do I append a build command in a pkg overlay?
mkoenig has joined #nixos
<{^_^}> [nixpkgs] @peti merged pull request #69033 → drop obsolete versions of the GHC compiler → https://git.io/Je3vu
<{^_^}> [nixpkgs] @peti pushed 4 commits to master: https://git.io/Je3JT
Guest66_ has joined #nixos
stzsch has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mexisme has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 26 commits to haskell-updates: https://git.io/Je3Jm
boxscape has quit [Remote host closed the connection]
knupfer has quit [Ping timeout: 245 seconds]
Guest66 has quit [Ping timeout: 240 seconds]
Guest66_ has left #nixos [#nixos]
waleee-cl has quit [Quit: Connection closed for inactivity]
mexisme has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.34 « gnome3.gnome-sound-recorder: 3.32.1 -> 3.34.0 »: https://git.io/Je3JC
Zer0xp has joined #nixos
zacts has quit [Quit: WeeChat 2.4]
drakonis_ has joined #nixos
drakonis has quit [Ping timeout: 240 seconds]
growpotkin has quit [Ping timeout: 276 seconds]
Zer0xp has quit [Read error: Connection reset by peer]
Zer0xp has joined #nixos
jgeerds has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer opened pull request #69038 → treewide: use libtinfo.so.5 where needed → https://git.io/Je3J1
waleee-cl has joined #nixos
hc has quit [Ping timeout: 268 seconds]
Bryophyllum has quit [Quit: Bryophyllum]
hc has joined #nixos
gagbo has quit [Ping timeout: 246 seconds]
gagbo has joined #nixos
gxt has quit [Ping timeout: 260 seconds]
kleisli has joined #nixos
zupo has joined #nixos
Zer0xp has quit [Ping timeout: 245 seconds]
<eyJhb> Can I have a file like.. `{ config, pkgs, lib, ... }: let something = "something"; in { somestuff = pkgs.writeblabla { text = "file"; }}; }`, and import it in another file, and rget somestuff path?
<eyJhb> I know I can just do a plain `{ somestuff = ... }` file, but I really would like to be able to declare that variable beforehand
<eyJhb> pst, infinisil :D
Jackneill has quit [Remote host closed the connection]
<infinisil-m> Not sure why you have the config/pkgs/lib there
mkoenig has quit [Remote host closed the connection]
<eyJhb> SHould probably only have pkgs, because I want to write to a file
<eyJhb> Thanks, pointed me in the right direction infinisil-m :)
<infinisil> Ah I see
<infinisil> I mean, that should work just fine
<infinisil> `{ pkgs ? import <nixpkgs> {} }: let something = "something"; in { somestuff = pkgs.writeText "filename" something; }`
<infinisil> Like this?
<eyJhb> I just ended up removing all { config, pkgs..} at the top, and just have a let, in which was string manipulation :p
<eyJhb> What does the { pkgs ? imort <nixpkgs> {} }: mean, compared to the other syntax?
<infinisil> It's a default argument, so you don't need to pass it a pkgs if you don't want to
<infinisil> Useful if you want to e.g. just check what the somestuff evaluates to
<infinisil> Because you can then do `nix-instantiate --eval file.nix -A somestuff`
ris has joined #nixos
<infinisil> (or the same with nix eval
<infinisil> Which wouldn't work if it didn't have a default value
domogled has joined #nixos
<eyJhb> So, it isn't a must, and I could do just { pkgs }:, but it is good practice?
<infinisil> But less good if you want reproducibility, because if you forgot to pass pkgs in your NixOS config or so, it uses the impure <nixpkgs>
<infinisil> Yeah it's not a must, just a small convenience thing, which might be very useful in certain cases
<infinisil> I wouldn't put a default there until you feel like it's needed
gagbo has quit [Ping timeout: 258 seconds]
<eyJhb> But I am guessing, that that syntax shouldn't be used in e.g. main configuration.nix?
<infinisil> Indeed, defaults for arguments shouldn't be used in NixOS modules
gagbo has joined #nixos
<infinisil> Well I guess there are cases where they could be used, but that's almost never necessary
<infinisil> But the standard pkgs, lib, config, options arguments should never have defaults
<eyJhb> At some point, I should really read all the nix-pills...
* infinisil never read through them
<infinisil> Not thoroughly at least
<eyJhb> But, I feel like they somewhat would help :p So I don't just ask all my stupid questions at you guys
drakonis_ is now known as drakonis
<samueldr> I have overviewed some of the nix-pills, and AFAICT it's only useful in understanding the underpinnings of nix and derivations
<eyJhb> Btw... Speaking of more questions. How can I check my networking.firewall.extraCommands, regarding the output they give whe nrun?
alex`` has joined #nixos
<infinisil> These aren't stupid questions ;)
growpotkin has joined #nixos
<eyJhb> I should probably say more, repetetive questions
<eyJhb> It must hurt how often such questions gets asked at some point
rmeis has joined #nixos
<infinisil> Actually I haven't seen your questions before!
<samueldr> I think it depends on whether *you* asked or were involved in such questions
<savanni> Are there any tools that nix provides to severely isolate a shell environment? I'm thinking docker-level isolation, with a full filesystem pretending to be there, but for a Mac instead of a for Linux?
<eyJhb> infinisil: hmm, that is something! Just often hurts when I look at #docker, and it is the same questions over and over again
Guest66 has joined #nixos
<eyJhb> samueldr: Yeah, right, it is just from my perspective when I sometime get a lot of the same questions in other channels!
<eyJhb> But, is there any way of checking the extraCommands from firewall? Doesn't seem like it want to add my snat/dnat things to iptables... And I have no clue why
<infinisil> We have {^_^} for our super-common questions here :D
<Guest66> samueldr: I studied your configurations for learning. * - *
<eyJhb> ,fixFirewall
<eyJhb> :D
<Guest66> I'm using overlays-compat and the "overlays pattern".
<infinisil> eyJhb: You mean like `nixos-option networking.firewall.extraCommands`?
<eyJhb> infinisil: yes, precisely. I have a bunch of ${pkgs.iptables}/bin/iptables ... commands, that I need to have added
<infinisil> Or I like the more direct `nix-instantiate --eval '<nixpkgs/nixos>' -A config.networking.firewall.extraCommands` too
<eyJhb> For debugging?
<infinisil> Yea
<eyJhb> But shouldn't it log to SOME kind of files, somewhere?
<infinisil> Or `nix eval --raw -f '<nixpkgs/nixos>' config.networking.firewall.extraCommands` if you want it to output multilines nicely
<infinisil> Not sure what you mean
<eyJhb> It doesn't seem obivious how I would feed that 7 lines of way to long iptable commands
<eyJhb> Like, when I rebuild and it adds/runs the extraCommands, shouldn't it be available in journalctl?
<eyJhb> Or something like that?
<infinisil> Ah you want to see where the extraCommands ended up in the final system?
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68984 → pythonPackages.iso-639: add setuptools dependency → https://git.io/JeOyR
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je3UC
<eyJhb> Yeah, and also the output when they run
<infinisil> eyJhb: After looking at the firewall.nix NixOS module, I think you should be able to do `systemctl cat firewall`
<eyJhb> As I cannot see them when I run `iptables-save` :(
<infinisil> The ExecStart points to the script containing the extraCommands
<{^_^}> [nixpkgs] @worldofpeace pushed commit from Averell Dalton to release-19.09 « pythonPackages.iso-639: add setuptools dependency »: https://git.io/Je3Ul
<infinisil> Unless the commands output something when run you probably won't see anything right?
<eyJhb> Oh, now they show up.. Might have run a ` | grep snat` instead of with `-i`.. - I was expecting them to give some kind of error ,because they did not show up :D
zacts has joined #nixos
knupfer has joined #nixos
ixxie has quit [Ping timeout: 265 seconds]
<infinisil> :)
<eyJhb> Thanks infinisil ! :D Now I just need to debug why it doesn't send stuff down my tunnel
<eyJhb> Yay
growpotk- has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to master « mdadm: fix path to sendmail »: https://git.io/Je3UE
rmeis has quit [Ping timeout: 265 seconds]
rmeis has joined #nixos
<{^_^}> [nixpkgs] @bjornfor pushed to release-19.09 « mdadm: fix path to sendmail »: https://git.io/Je3Uu
logzet has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @hedning pushed to gnome-3.34 « lxqt-archiver: 0.0.96 -> 2019-09-15 »: https://git.io/Je3Ua
o1lo01ol1o has joined #nixos
gagbo has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @bjornfor pushed to release-19.03 « mdadm: fix path to sendmail »: https://git.io/Je3Ur
rmeis has quit [Ping timeout: 240 seconds]
domogled has quit [Remote host closed the connection]
gagbo has joined #nixos
domogled has joined #nixos
o1lo01ol1o has quit [Ping timeout: 245 seconds]
johnnyfive has quit [Ping timeout: 246 seconds]
shibboleth has joined #nixos
johnnyfive has joined #nixos
troydm has quit [Ping timeout: 268 seconds]
domogled1 has joined #nixos
domogled has quit [Read error: Connection reset by peer]
domogled1 is now known as domogled
mexisme has joined #nixos
<rnhmjoj> what is the status of nix flakes? is it possible to use them or are they still a proposal?
<drakonis> its possible to use them, yes.
<drakonis> if you're running unstable or 19.09, you can enable them
<drakonis> its not entirely smooth sailing for regular usage though
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @samueldr opened pull request #69039 → vboot_reference: use the right ar when cross-compiling → https://git.io/Je3Ui
<{^_^}> [nixpkgs] @jtojnar pushed 199 commits to staging-next: https://git.io/Je3UP
<exarkun> the example beneath https://github.com/tweag/rfcs/blob/flakes/rfcs/0049-flakes.md?utm_source=tuicool&utm_medium=referral#flakes doesn't contain any `inputs` attribute but the text below the example talks about it as if it does
<exarkun> what am I missing
gxt has joined #nixos
rmeis has joined #nixos
iqubic has quit [Ping timeout: 265 seconds]
<drakonis> i was trying to figure out how to enforce enableunfree on nixpkgs
<rnhmjoj> drakonis: nice, i have been working on something that would really make sense as a flake. for now it's just a nixos module a load with fetchgit
<rnhmjoj> * i load
<eyJhb> is there any way of preventing `networking.firewall.extraCommands` from creating duplicate entries in iptables? I would somewhat expect it to take down all rules, put them up again
<drakonis> its quite nice.
<drakonis> the documentation on it is currently dreadful
<drakonis> the rfc alone doesnt't explain everything
<drakonis> eelco has a few flakes of his own
<exarkun> "It is also possible to omit inputs entirely and only list them as expected function arguments in outputs"
<drakonis> ohhh
<drakonis> yessss
<{^_^}> #68897 (by edolstra, 2 days ago, open): [WIP] Flake support
<infinisil> eyJhb: You might want to check out nftables, it's like the modern version of iptables which allow a declarative configuration
<drakonis> finally
<infinisil> s/allow/allows
<drakonis> sailing will be much smoother now
<rycee> eyJhb: On the first line of `extraCommands` I have `${extraStopCommands}`.
<eyJhb> infinisil: Looks nice! But a HUGE downside is that it does not play well with Docker
drakonis has quit [Read error: Connection reset by peer]
<eyJhb> rycee: So basically commands which first remove the rules?
<infinisil> eyJhb: It doesn't?
drakonis has joined #nixos
<rycee> eyJhb: Yes, I define `networking.firewall.extraStopCommands` to remove the rules I add.
<eyJhb> infinisil: `Note that if you have Docker enabled you will not be able to use nftables without intervention. Docker uses iptables internally to setup NAT for containers. This module disables the ip_tables kernel module, however Docker automatically loads the module. `
<eyJhb> There is some more info however
<infinisil> Ah I see
<rycee> Then I also stuff that option first in my `extraCommands` so it'll try removing the rules that I'm about to add :-)
rmeis has quit [Ping timeout: 258 seconds]
kleisli has quit [Ping timeout: 246 seconds]
<eyJhb> rycee: Question, can you just define `networking.firewall.extraStopCommands`, and then use it like you put? Or is it just to give me a example?
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @jonringer opened pull request #69040 → pythonPackages.certifi: 2019.6.16 -> 2019.9.11 → https://git.io/Je3TT
<rycee> eyJhb: https://nixos.org/nixos/manual/options.html#opt-networking.firewall.extraStopCommands
<eyJhb> Ah.
hc has quit [Ping timeout: 245 seconds]
<eyJhb> Sorry, should have looked better
<eyJhb> Considering if I can actually just use networking.nat for what I need, seems like it does snat/dnat
jtojnar2 has joined #nixos
hc has joined #nixos
<rycee> I changed my config now to have `${config.networking.firewall.extraStopCommands}` first in my `networking.firewall.extraCommands` setting.
<rycee> So that I avoid the `rec`…
<{^_^}> [nixpkgs] @jtojnar pushed 200 commits to staging: https://git.io/Je3Tq
<{^_^}> #57554 (by xaverdh, 27 weeks ago, open): WIP: firefox/wrapper.nix: make firefox wrapper configurable by the user
<Guest66> This is what I was looking for.
<Guest66> tor-browser-bundle also helped.
<Guest66> For ff customization.
o1lo01ol1o has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/c2d01c0dd5a (from 44 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @jonringer opened pull request #69041 → mystem: fix hash → https://git.io/Je3TG
<{^_^}> [nixpkgs] @worldofpeace merged pull request #68732 → shared-mime-info: 1.12 -> 1.13.1 → https://git.io/Je3Tn
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to staging: https://git.io/Je3Tc
<rycee> Guest66 (IRC): FWIW, HM supports configuring Firefox (https://rycee.gitlab.io/home-manager/options.html#opt-programs.firefox.profiles._name_.settings) but it does so by putting the configuration in your home directory.
wildtrees has joined #nixos
<eyJhb> Aaand I locked myself out of my server :(
evanjs| has joined #nixos
<rycee> eyJhb: Ouch. Do you have console access?
<{^_^}> [nixpkgs] @johanot opened pull request #69042 → kubernetes: 1.13.9 -> 1.13.11 → https://git.io/Je3T8
<eyJhb> Luckily yes! But I cannot type any special charaters into that console
<eyJhb> WHich sucks
<{^_^}> [nixpkgs] @Ma27 pushed to master « nixos/sway: install swaybg by default »: https://git.io/Je3T4
<samueldr> eyJhb: not at all?
<samueldr> try this trick: set your keyboard to qwerty US, even if your remote console is set to your native keyboard config
<eyJhb> I can do like... + and _ atm.
<eyJhb> The mapping is SO weird
nexgen has quit [Remote host closed the connection]
Cale has quit [Ping timeout: 252 seconds]
<samueldr> (setxkbmap us)
nexgen has joined #nixos
<eyJhb> I will note that down samueldr !
<eyJhb> I have missed that soo much
<samueldr> some remote consoles work by (wrongly imo) mapping from the char they get, to the keycode they produce on us qwerty
<eyJhb> I was lucky I had a cleanup script for iptables, so I could do ctrl+r, and just type in delete
<samueldr> I say "wrongly", but I think it's a case of not having a better solution :/
evanjs| has quit [Client Quit]
<samueldr> at least, that's what I observed
<Guest66> rycee: I'm reading your code.
<{^_^}> [nixpkgs] @Ma27 pushed to release-19.09 « nixos/sway: install swaybg by default »: https://git.io/Je3TB
<Guest66> Very good.
<Guest66> But I want it system-wide. hehe
<eyJhb> samueldr: yeah, the remote console are generally very very.. Weird
<Guest66> I'm not using home-manager. .-.
jgt1 has joined #nixos
<eyJhb> I also remember VMWares being a little... FUnky (I think vCenter or what it is called)
<eyJhb> It was my stop commands who screwed it up, weird
<drakonis> i'm not sure why but i'm giddy for the idea of a home-manager flake
<drakonis> doing away with the extra install steps looks like a positive change
evanjs| has joined #nixos
<eyJhb> Guess I will do without stop commands for now
<eyJhb> A little extra rules never hurt anybody
<rycee> Guest66: You can always create a user.js yourself and just copy or link it in place. But, yeah these won't provide a system wide configuration. Then the PR is your best bet I think :-)
o1lo01ol1o has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 252 seconds]
<Guest66> rycee: I want to get fancy. ><
<{^_^}> [nixpkgs] @peti pushed to master « shotcut: use vaapi_device /dev/dri/renderD128 instead of ":0" »: https://git.io/Je3To
o1lo01ol1o has joined #nixos
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
justanotheruser has quit [Read error: Connection reset by peer]
erba has joined #nixos
justanotheruser has joined #nixos
mexisme has quit [Ping timeout: 245 seconds]
Cale has joined #nixos
evanjs| has joined #nixos
<erba> Hey, so what is the correct way of setting up an environment with a set of packages? Originally I was defining a shell.nix that used mkShell but I later realised that I could also define a shell.nix where I create a derivation using mkDerivation and use nix run.. or nix-shell for that matter.
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @ttuegel merged pull request #68910 → kdeFrameworks: 5.61.0 -> 5.62.0 → https://git.io/Je3Ty
<{^_^}> [nixpkgs] @ttuegel pushed 13 commits to staging: https://git.io/Je3TS
domogled has quit [Quit: domogled]
psyanticy has quit [Quit: Connection closed for inactivity]
domogled has joined #nixos
evanjs| has quit [Quit: ZNC 1.7.4 - https://znc.in]
kleisli has joined #nixos
domogled has quit [Remote host closed the connection]
evanjs- has quit [Quit: ZNC 1.7.4 - https://znc.in]
ShaRose has quit [Quit: I appear to have left for some reason.]
justanotheruser has quit [Read error: Connection reset by peer]
BigBen has joined #nixos
mexisme has joined #nixos
zacts has quit [Ping timeout: 245 seconds]
buckley310 has quit [Quit: leaving]
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/4d3136c3a5a (from 83 minutes ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
ym555 has joined #nixos
wfranzini has quit [Remote host closed the connection]
buckley310 has joined #nixos
<infinisil> erba: mkShell is made for that exactly, so I'd recommend you to keep using that
<erba> infinisil: Ok, thanks! :) So what exacly is nix run used for?
domogled has joined #nixos
<infinisil> It's more or less what `nix-shell -p` does, with some newer stuff
<erba> infinisil: Ok, thanks again!
<infinisil> I haven't used the new `nix *` commands a lot though, they still seems rather unfinished
<infinisil> s/seems/seem
<infinisil> So I'm just sticking with `nix-*` commands
<emily> I use `nix run`/`nix build` all the time and like it
<emily> the progress display is really nice
<emily> also `nix search` if you don't like keeping a nixpkgs checkout
domogled has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jtojnar opened pull request #69043 → [19.09] doc: Disable wrapping source → https://git.io/Je3kl
<erba> I still need to work through the documentation but I haven't been this excited abou a distro ever. It's amazing to work with.
o1lo01ol1o has joined #nixos
<ivegotasthma> any idea when I can expect neovim 0.4 in 19.03?
<mightybyte> Is there a way to do something like callCabal2nix but with node2nix?
<hyperfekt> ivegotasthma: looks like the update is still being worked on: https://github.com/NixOS/nixpkgs/pull/68882
<{^_^}> #68882 (by rvolosatovs, 2 days ago, open): Neovim: 0.3.8 -> 0.4.2
<ivegotasthma> hyperfekt: thanks
mexisme has quit [Ping timeout: 268 seconds]
<{^_^}> [nixpkgs] @jtojnar merged pull request #68181 → doc: Disable wrapping source → https://git.io/fjjlM
<{^_^}> [nixpkgs] @jtojnar pushed 4 commits to master: https://git.io/Je3kR
justanotheruser has joined #nixos
zacts has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 7 commits to staging-next: https://git.io/Je3kg
<{^_^}> [nixpkgs] @johanot opened pull request #69044 → kubernetes: 1.15.3 -> 1.15.4 → https://git.io/Je3k2
<{^_^}> [nixpkgs] @jtojnar pushed 8 commits to staging: https://git.io/Je3kV
justanotheruser has quit [Read error: Connection reset by peer]
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
<infinisil> mightybyte: Nope, callCabal2nix only works because cabal2nix doesn't rely on internet access
<{^_^}> [nixpkgs] @rycee opened pull request #69045 → emacs: use runCommand to generate wrapper → https://git.io/Je3ki
Shell has joined #nixos
qyliss has joined #nixos
<mightybyte> infinisil: How does it not rely on internet access?
<mightybyte> Does it have a branch for when the package has already been installed?
<infinisil> cabal2nix just does a simple rewrite of the *.cabal file into nix syntax
<infinisil> No network involved
<mightybyte> Ahhh
<mightybyte> I assumed node2nix would do the same thing.
logzet has quit [Ping timeout: 264 seconds]
jgt1 is now known as jgt
vika_nezrimaya has joined #nixos
<clever> mightybyte: cabal2nix can do it without network, because it assumes you already did cabal2nix for the other dependencies
<clever> mightybyte: so you must find the sha256 of each dep's src, and run cabal2nix on each deps cabal file
zupo has quit [Ping timeout: 265 seconds]
<mightybyte> Ahhh
justanotheruser has joined #nixos
<clever> mightybyte: but node is a bigger mess, so things like node2nix need to fetch the deps, and recursively chase the package.json files
<clever> and fetching deps needs network
<mightybyte> Got it
<clever> yarn2nix works via yarn.lock, to mostly generate fixed-output drvs, that will fetch the deps at build time
<clever> but generating that file, requires import from derivation
<clever> though you can also run it in a mode without IFD, if you supply a pre-generated one
<mightybyte> Could you do node2nix with a .lock file and achieve the same effect?
Shell has quit [Quit: ZNC 1.7.4 - https://znc.in]
qyliss has quit [Quit: bye]
<clever> mightybyte: but which lock file? the yarn one? the npm one? there is also a 3rd tool to do the same thing
<mightybyte> THe npm one.
<mightybyte> node2nix has some docs about using it with a .lock file
justanotheruser has quit [Read error: Connection reset by peer]
<clever> if you have a hash for the .tar.gz of a source, you can fairly easily translate that into a nix expr
<mightybyte> Ok
zacts has quit [Quit: WeeChat 2.4]
zacts has joined #nixos
freeman42x has quit [Read error: Connection reset by peer]
raduom has quit [Ping timeout: 246 seconds]
troydm has joined #nixos
kleisli has quit [Ping timeout: 245 seconds]
ym555 has quit [Quit: leaving...]
<{^_^}> [nixpkgs] @offlinehacker merged pull request #69044 → kubernetes: 1.15.3 -> 1.15.4 → https://git.io/Je3k2
<{^_^}> [nixpkgs] @offlinehacker pushed 2 commits to master: https://git.io/Je3Iq
jb55 has quit [Quit: jb55]
jb55 has joined #nixos
shibboleth has quit [Quit: shibboleth]
<{^_^}> [nixpkgs] @grahamc merged pull request #69043 → [19.09] doc: Disable wrapping source → https://git.io/Je3kl
<{^_^}> [nixpkgs] @grahamc pushed 4 commits to release-19.09: https://git.io/Je3IG
justanotheruser has joined #nixos
<{^_^}> [nixpkgs] @jtojnar pushed 51 commits to staging-19.09: https://git.io/Je3In
waleee-cl has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #69046 → djvulibre: adopt → https://git.io/Je3Ic
justanotheruser has quit [Read error: Connection reset by peer]
dbyte has quit [Read error: Connection reset by peer]
dbyte has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/c2d01c0dd5a (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
fpob_ has joined #nixos
abathur has quit [Ping timeout: 246 seconds]
fpob has quit [Ping timeout: 246 seconds]
dermetfan has quit [Ping timeout: 245 seconds]
Jackneill has joined #nixos
BigBen has quit [Quit: Leaving]
Heirlung has joined #nixos
ee1943 has quit [Ping timeout: 268 seconds]
ee1943 has joined #nixos
erba has quit [Quit: WeeChat 2.4]
jgt has quit [Ping timeout: 276 seconds]
aw has quit [Quit: Quitting.]
spacefrogg has quit [Quit: Gone.]
Ariakenom has quit [Read error: Connection reset by peer]
aw has joined #nixos
spacefrogg has joined #nixos
knupfer has quit [Ping timeout: 250 seconds]
selfsymmetric-pa has joined #nixos
<selfsymmetric-pa> The `circleci-cli` package appears to be quite out of date. I could use some help in updating it.
<selfsymmetric-pa> Here is my attempt at updating it: https://gist.github.com/c822a25ad734428455237f924bd0455b
<selfsymmetric-pa> And here is the error message I get when I try to build: https://gist.github.com/3b0ff7c14596b2cf7b696d9d736af8be
Jackneill has quit [Remote host closed the connection]
<selfsymmetric-pa> Any advice?
Serus has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #69031 → nixos/xdg/icons: match XCURSOR_PATH spec → https://git.io/Je3eC
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/Je3Iw
alex`` has quit [Ping timeout: 265 seconds]
<selfsymmetric-pa> Posted upstream: https://github.com/NixOS/nixpkgs/issues/69047
<{^_^}> #69047 (by matthew-piziak, 12 seconds ago, open): Update request: circleci-cli
drakonis has quit [Quit: Leaving]
justanotheruser has joined #nixos
dbyte has quit [Ping timeout: 245 seconds]
justanotheruser has quit [Client Quit]
<evils> selfsymmetric-pa: i'm quite new to all this, but since no one else seems available, why aren't you using buildGoPackage?
<selfsymmetric-pa> evils: I am! I'm just overriding the `src`.
<selfsymmetric-pa> That's why I'm surprised it's not working.
<selfsymmetric-pa> At least that's my _intention_: to use `buildGoPackage` with a different `src` by using `overrideAttrs` on this: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/misc/circleci-cli/default.nix
<selfsymmetric-pa> Is that what my derivation is doing or did I mess something up?
drakonis has joined #nixos
<selfsymmetric-pa> I thought maybe I messed up the overrideAttrs so I also tried doing it by copy-pasting the whole derivation and changing some variables but that gave me the same error messages.
jgeerds has quit [Ping timeout: 268 seconds]
Walker3R has quit [Ping timeout: 252 seconds]
Walker3R has joined #nixos
asymptotically has quit [Quit: Leaving]
<c00w> Anyone know what fixes happened for hydra?
<c00w> Looks like it got a lot greener for unstable.
drakonis has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @dtzWill opened pull request #69048 → microcodeIntel: 20190618 -> 20190918 → https://git.io/Je3ID
Heirlung has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @dtzWill opened pull request #69049 → datamash: 1.4 -> 1.5 → https://git.io/Je3Iy
Heirlung has joined #nixos
hyper_ch has quit [Quit: ZNC 1.7.4 - https://znc.in]
Walker3R has quit [Ping timeout: 246 seconds]
hyper_ch has joined #nixos
drakonis has joined #nixos
<{^_^}> [nixpkgs] @dtzWill opened pull request #69050 → gtk3: 3.24.10 -> 3.24.11 → https://git.io/Je3I9
<{^_^}> [nix] @edolstra pushed 2 commits to flakes: https://git.io/Je3IQ
<{^_^}> [nixpkgs] @dtzWill opened pull request #69051 → libqalculate,qalculate-gtk: 3.3.0 -> 3.4.0 → https://git.io/Je3I5
sigmundv has joined #nixos
orivej has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace opened pull request #69052 → Pantheon 5.1 → https://git.io/Je3Id
<{^_^}> [nixpkgs] @dtzWill opened pull request #69053 → openttd: 1.9.2 -> 1.9.3 → https://git.io/Je3IF
<{^_^}> [hydra] @edolstra pushed to flake « Update lock file »: https://git.io/Je3Ib
turtlerabbit has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @worldofpeace pushed to master « pantheon.elementary-greeter: 2019-09-10 -> 5.0 »: https://git.io/Je3IN
<{^_^}> [nixos-homepage] @edolstra pushed to flake « Update lock file »: https://git.io/Je3Lv
<{^_^}> [nix] @edolstra merged pull request #3097 → function-trace: always show the trace → https://git.io/Je3fb
<{^_^}> [nix] @edolstra pushed 2 commits to master: https://git.io/Je3Lk
<infinisil> Wow so this is a weird interaction:
<infinisil> > pkgs.fetchurl { url = false; sha256 = fakeSha256; }
<{^_^}> illegal name: '.drv'
<infinisil> > pkgs.fetchurl { url = true; sha256 = fakeSha256; }
<{^_^}> "<derivation /nix/store/w62bc39ix2ciflx17a58sig81qjbi43n-1.drv>"
<{^_^}> [nixpkgs] @ivan opened pull request #69054 → chromium: 77.0.3865.75 -> 77.0.3865.90 → https://git.io/Je3Lm
<clever> > toString true
<{^_^}> "1"
<clever> > toString false
<{^_^}> ""
<clever> infinisil: all drv attrs go thru a variant of toString
<infinisil> Yeah I know why it does that
<infinisil> But damn, can we get type checking already
<{^_^}> [nixpkgs] @dtzWill opened pull request #69055 → linuxPackages.fwts-efi-runtime: init → https://git.io/Je3Ls
<clever> lol
<infinisil> This error is awful
<clever> pkgs.fetchurl could do builtins.typeOf and throw
<infinisil> But then it's also weird to do it only for one parameter, we'd have to do all of them!
dbyte has joined #nixos
<infinisil> And this would make one of the core functions slower, which is no good
<infinisil> And then again, who would set url to false anyways right?
<{^_^}> svanderburg/node2nix#155 (by Infinisil, 6 minutes ago, open): Add package error context to composePackage
<{^_^}> Channel nixos-19.09-small advanced to https://github.com/NixOS/nixpkgs/commit/9c19a2e51a8 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.09-small)
<{^_^}> [nixpkgs] @asbachb opened pull request #69056 → doc: replaced outdated config reference `build-use-sandbox` with `san… → https://git.io/Je3L4
civodul has quit [Quit: ERC (IRC client for Emacs 26.3)]
<rnhmjoj> i have been trying to make a flake but i think i've found a bug: nix build fails to fetch nixpkgs with `error: setting time of symlink '/home/rnhmjoj/.cache/nix/tarballs/.2_9frc4vbks7l7c1400gbdzrdbk1i0pcpg-source-unpacked': Read-only file system.` any idea?
gyroninja has quit [Read error: Connection reset by peer]
__monty__ has quit [Quit: leaving]
<clever> rnhmjoj: what does `dmesg` say at the end?
gyroninja has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @volth opened pull request #69057 → add config.environment.ld-linux → https://git.io/Je3LP
<{^_^}> [nixpkgs] @dtzWill opened pull request #69058 → graphviz: 2.40.1 -> 2.42.2 → https://git.io/Je3LM
<rnhmjoj> clever: nothing relevant to nix
<clever> rnhmjoj: anything about ext4 or the rootfs?
<rnhmjoj> neither
dycan has joined #nixos
<rnhmjoj> this is what the tarballs directory looks like: https://hastebin.com/raw/sirecufajo
<rnhmjoj> it's really trying to modify a read-only file (in the nix store)
<{^_^}> [nixpkgs] @dtzWill opened pull request #69059 → nm-tray: init at 0.4.3 → https://git.io/Je3L5
Palpares has quit [Ping timeout: 260 seconds]
<dycan> hi all. "nix-env -qaP -A haskellPackages.aeson" cannot find pacakge. But "nix-env -f "<nixpkgs>" -qaP -A haskellPacakges.aeson" can. Why? I would like to "nix-build --no-out-link -A haskellPackages.aeson" but can't find package.
Palpares has joined #nixos
Serus has joined #nixos
<infinisil> dycan: Use `nix-build --no-out-link '<nixpkgs>' -A haskellPackages.aeson`
<infinisil> Not sure why the first nix-env doesn't work, but nix-env is weird anyways, I wouldn't recommend it, especially not for installing libraries
<infinisil> ,libraries dycan
<{^_^}> dycan: Don't install libraries through nix-env or systemPackages, use nix-shell instead. See https://nixos.wiki/wiki/FAQ/Libraries for details.
Guest66 has left #nixos [#nixos]
<dycan> infinisil: I see. Thanks for the tips!
<dycan> thanks for the heads-up!
<infinisil> :)
johnnyfive has quit [Ping timeout: 245 seconds]
<selfsymmetric-mu> I'm trying to update the `circleci-cli` derivation but I'm having trouble. Can someone check my derivation here to see if I'm not making a silly mistake? https://github.com/NixOS/nixpkgs/issues/69047
<{^_^}> #69047 (by matthew-piziak, 1 hour ago, open): Update request: circleci-cli
johnnyfive has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #69006 → mkvtoolnix: fix build with clang → https://git.io/JeO5m
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je3te
inkbottle has quit [Ping timeout: 245 seconds]
batzy has joined #nixos
<{^_^}> [nixpkgs] @marsam merged pull request #68866 → pythonPackages.pyperf: 1.6.0 -> 1.6.1 → https://git.io/Je3tU
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/Je3tT
<infinisil> selfsymmetric-mu: If you want to update it in nixpkgs you should edit the expression in nixpkgs directly
<batzy> Alright let's try this again. I get this error when trying to run cool-retro-term. The issue is that the menu bar will not appear https://hastebin.com/oxicovekip.cpp
<infinisil> selfsymmetric-mu: And it seems that the package didn't have any dependencies before, so updating just the source won't work, you also need to make its dependencies available
zacts has quit [Quit: WeeChat 2.4]
<infinisil> selfsymmetric-mu: If the package has a go.mod file, check out kalbasit's blog on how to use buildGoModule for this: https://kalbas.it/2019/03/17/announcing-the-new-golang-infrastructure-buildgomodule/
<infinisil> selfsymmetric-mu: Otherwise check https://github.com/kamilchm/go2nix
Walker3R has joined #nixos
mbrgm_ has joined #nixos
mbrgm has quit [Ping timeout: 246 seconds]
mbrgm_ is now known as mbrgm
<batzy> one day someone might answer my question
<batzy> one day..
thc202 has quit [Ping timeout: 250 seconds]
judson__ has quit [Ping timeout: 240 seconds]
judson has quit [Ping timeout: 240 seconds]
<infinisil> Batzy: Well I can at least confirm that I'm getting the same error
<batzy> infinisil, :D
<batzy> it is good, to not be alone
<infinisil> Doesn't seem Nix-related
<batzy> which 1 is mine
<infinisil> That error at least
orivej has quit [Ping timeout: 265 seconds]
<batzy> infinisil, it could be because I dont have something installed right?
<infinisil> Doesn't seem likely, but I guess it could be
<batzy> nixos doesnt do dependencies very well
Palpares has quit [Remote host closed the connection]
<infinisil> Not sure what you mean by that
Palpares has joined #nixos
<batzy> compared to other OSes
<batzy> it suucks
joehh has joined #nixos
<infinisil> Feel free to use another distro, nobody is forcing you to use NixOS :)
<gchristensen> perhaps you could be more specific about your expectations and how NixOS doesn't satisfy them? (as it stands, you sound like trolling, and I'd rather think you're not)
<batzy> infinisil, why does it have to suck so bad with the dependencies tho
<{^_^}> [nixpkgs] @alexfmpe opened pull request #69060 → Fix example → https://git.io/Je3tG
<batzy> :^)
<infinisil> Batzy: Can you be more specific?
selfsymmetric-mu has quit [Remote host closed the connection]
<batzy> There's really no need for me to
batzy has left #nixos [requested by gchristensen (troll elsewhere)]
<infinisil> +1
<gchristensen> they're PMing me about how they're not trolling
<gchristensen> ¯\_(ツ)_/¯
ThatOtherGuy has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Anton-Latukha opened pull request #69061 → djview: adopt, upd {descriptions, to qt5}, add features → https://git.io/Je3tW
<worldofpeace> don't provide your energy to them
<infinisil> gchristensen: Can you tell them if they're open to discuss in a respectful manner they're allowed back?
<gchristensen> sure
orivej has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed commit from @dtzWill to gnome-3.34 « gtk3: 3.24.10 -> 3.24.11 »: https://git.io/Je3tl
<{^_^}> [nixpkgs] @worldofpeace closed pull request #69050 → gtk3: 3.24.10 -> 3.24.11 → https://git.io/Je3I9
mexisme has joined #nixos
batzy has joined #nixos
iqubic has joined #nixos
growpotk- has quit [Ping timeout: 245 seconds]
myg has joined #nixos
Rusty1 has joined #nixos
<arcnmx> is there an issue tracking whatever it is that's been holding the unstable channels back?
<{^_^}> [nixpkgs] @marsam opened pull request #69062 → circleci-cli: 0.1.2569 -> 0.1.5879 → https://git.io/Je3tR
<infinisil> ,howoldis arcnmx
<arcnmx> (and is it not ZHF ><)
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.34 « glibmm: 2.60.0 -> 2.62.0 »: https://git.io/Je3t0
<infinisil> howoldis doesn't really say what it is though
<infinisil> This needs to have a green evaluation for it to advance nixos-unstable
<arcnmx> mm, though I haven't been able to find any real mention of it... iirc it seems to have been broken since before 19.09 split off?
drakonis has quit [Ping timeout: 268 seconds]
<infinisil> I think I've heard that disk space was getting too low on the builders
<arcnmx> hm, and are the log links supposed to be readable? ><
<infinisil> arcnmx: Which one isn't?
<infinisil> The aborted ones aren't because there are no logs to show if you mean that
o1lo01ol1o has quit [Remote host closed the connection]
<arcnmx> oh nevermind, seems to be just my browser... sometimes the log links are just mojibake for some reason
o1lo01ol1o has joined #nixos
myg has quit [Remote host closed the connection]
<infinisil> I see :)
<infinisil> For completeness, here's the hydra page for nixpkgs-unstable: https://hydra.nixos.org/job/nixpkgs/trunk/unstable
<infinisil> There it seems that mysql is the only failing thing
drakonis has joined #nixos
<{^_^}> #69034 (by matthewbauer, 7 hours ago, open): mariadb fails on darwin
ThatOtherGuy has joined #nixos
<infinisil> (apparently mysql = mariadb)
<gchristensen> hate that :(
<arcnmx> hm o:
o1lo01ol1o has quit [Ping timeout: 265 seconds]