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
<clever> werner291: what do you get if you eval `idrisPackages.with-packages (with idrisPackages; [ contrib pruviloj ])` under `nix repl '<nixpkgs>'` ?
mbrgm has quit [Ping timeout: 248 seconds]
mbrgm_ is now known as mbrgm
ericsagnes has quit [Ping timeout: 272 seconds]
<infinisil> jlv: Yeah the nix-instantiate thing isn't 100% accurate sometimes
<infinisil> There is another way
<jlv> Looks like the error was with ini to json actually. I'll try another.
<infinisil> Hehe I see
<clever> jlv: have you used haskell before?
<werner291> (1 sec)
<jlv> clever: I have some haskell experience. I've been using PureScript more recently actually
<clever> jlv: http://hackage.haskell.org/package/hnix lets you generate a tree of data records, then translate that into a nix expr
<infinisil> werner291: Don't use mkDerivation for building idris packages btw, do this instead: https://nixos.org/nixpkgs/manual/#building-an-idris-project-with-nix
<clever> jlv: this will use cabal to parse a .cabal file, then packageToExpr to turn it into a { src = ...; dependencies = ...; } based set, and print it to "output"
Guanin has quit [Remote host closed the connection]
<clever> jlv: and hnix will properly deal with escaping all strings as it serializes to nix
romatthe has quit [Ping timeout: 264 seconds]
<clever> no more json middle-man!
<jlv> Well, I just tried another ini to json converter, and this one outright threw an error. I think it is struggling with lines like `font-1 = unifont:fontformat=truetype:size=8:antialias=false;0`. I think I will just do it manually. This is getting to the point where it is probably more effort to automate.
<jlv> Thanks for the suggestions though
* infinisil has a feeling there might be a rather simple awk expression that can go from ini -> nix directly
<infinisil> s/rather simple/simpler than you'd think/
waleee-cl has quit [Quit: Connection closed for inactivity]
ris has quit [Ping timeout: 244 seconds]
selfsymmetric-mu has joined #nixos
jgt has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<dansvo> Hey all! noob here looking for some advice. Trying to package up some software that contains a bunch of hard-coded paths to other pieces of code.
m0rphism has quit [Ping timeout: 245 seconds]
<dansvo> Wondering what some viable options are. So far I'm thinking either use the patch phase to replace them with store paths, or set up some chroot in the builder that replaces the paths with store links.
jgt has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @tckmn opened pull request #66699 → pry: init at 0.12.2 → https://git.io/fjdEp
werner291 has quit [Ping timeout: 244 seconds]
lord| has quit [Quit: WeeChat 2.5]
<dansvo> Any derivations in nixpkgs that'd be good references to find strategies for this problem?
<clever> dansvo: have you looked at libredirect yet?
lord| has joined #nixos
rsa has quit [Ping timeout: 248 seconds]
<gchristensen> clever: I sort of think maybe libredirect is a big hammer to swing for a noob who is just starting out :)
<gchristensen> but, perhaps it is the best choice
Rusty1 has joined #nixos
<clever> gchristensen: libredirect is the first nix bug i ever delt with, before even intalling nixos, lol
<gchristensen> ah haha
<clever> in that case, teamspeak is wrapProgram's to libredirect, and chrome was inheriting the redirect preload
<clever> and chrome hangs silently when you try to libredirect it
<gchristensen> oh yeah, taktoa[c] and Iwere talking about that a few weeks ago
<gchristensen> ouch.
<clever> yep
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjduJ
<clever> taktoa nerd-sniped me into fixing that bug, which got me into nixos :P
SunWuKung has joined #nixos
<gchristensen> praise taktoa[c]!
<dansvo> clever: hadn't encountered it yet, I will take a look.
<clever> dansvo: the teamspeak client is an example of how its used
<dansvo> clever: Thanks much, seems like exactly what I need.
SunWuKung has quit [Quit: Sleeping in 武當山]
rsoeldner has joined #nixos
sigmundv_ has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @yrashk opened pull request #66700 → wtf: 0.17.1 -> 0.19.1 → https://git.io/fjduG
<{^_^}> [nixpkgs] @yrashk closed pull request #66695 → wtfutil: init at 0.19.1 → https://git.io/fjd0s
ericsagnes has joined #nixos
drakonis_ has quit [Ping timeout: 244 seconds]
rsa has joined #nixos
SunWuKung has joined #nixos
<selfsymmetric-mu> taktoa[c]++
<{^_^}> taktoa[c]'s karma got increased to 1
dbmikus has quit [Ping timeout: 250 seconds]
ddellacosta has joined #nixos
rprije has joined #nixos
lambda-11235 has quit [Quit: Bye]
psy3497 has joined #nixos
kvda has joined #nixos
logzet_ has joined #nixos
logzet has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/e36f91fa861 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/e36f91fa861 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
mexisme has quit [Ping timeout: 244 seconds]
jgt has joined #nixos
jkachmar has quit [Quit: Connection closed for inactivity]
<{^_^}> [nixpkgs] @aanderse opened pull request #66701 → zabbix: 4.0.9 -> 4.0.11 & 4.2.3 -> 4.2.5 → https://git.io/fjdu2
atlas_ has quit [Quit: ZNC 1.7.3 - https://znc.in]
viric has quit [Ping timeout: 268 seconds]
atlas_ has joined #nixos
johnny101m has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
viric has joined #nixos
SunWuKung has quit [Quit: Sleeping in 武當山]
jtojnar has joined #nixos
jtojnar has quit [Read error: Connection reset by peer]
dl4mfo_ has joined #nixos
dl4mfo has quit [Ping timeout: 246 seconds]
mexisme has joined #nixos
SunWuKung has joined #nixos
kleisli has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @marsam merged pull request #66485 → cargo-expand: 0.4.12 -> 0.4.13 → https://git.io/fj7bc
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjdu1
<{^_^}> [nixpkgs] @marsam merged pull request #66659 → cargo-make: 0.21.0 -> 0.22.0 → https://git.io/fjdI5
<{^_^}> [nixpkgs] @marsam pushed 2 commits to master: https://git.io/fjduM
ericsagnes has quit [Ping timeout: 252 seconds]
kleisli has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
<{^_^}> [nixpkgs] @eadwu opened pull request #66703 → systemd-networkd: link: Name -> OriginalName → https://git.io/fjduQ
<{^_^}> [nixpkgs] @eadwu opened pull request #66704 → compton: 7 -> 7.2 → https://git.io/fjdu7
<{^_^}> [nixpkgs] @peterhoeg merged pull request #66680 → noti: 3.1.0 -> 3.2.0 → https://git.io/fjdCe
<{^_^}> [nixpkgs] @peterhoeg pushed 2 commits to master: https://git.io/fjdud
<nh2> infinisil: Can you also have a short look at https://github.com/NixOS/nixpkgs/pull/66490 ? It does no rebuilds so should be uncontroversial, but propagating the info of this change to more people might be useful
<{^_^}> #66490 (by nh2, 4 days ago, open): zlib: Properly clean up static/shared distinction
nexgen2 has quit [Quit: Leaving]
werner291 has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/31a577c7362 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
freeman42x has quit [Ping timeout: 252 seconds]
ottidmes has quit [Ping timeout: 246 seconds]
ddellacosta has quit [Ping timeout: 272 seconds]
ericsagnes has joined #nixos
<werner291> How do I do thuis?
<werner291> OK... I really just can't figure out how to use build-idris-package (am newb). I downloaded this file "https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/idris-modules/vdom.nix", then ran `nix-build vdom.nix`, and it tells me "error: cannot auto-call a function that has an argument without a default value ('build-idris-package')".
<werner291> *this
<clever> ,callPackage werner291
<{^_^}> werner291: If a Nix file foo.nix starts with something like `{ stdenv, cmake }:`, you can build it with `nix-build -E '(import <nixpkgs> {}).callPackage ./foo.nix {}'`
<werner291> The bot has an FAQ about it?
<clever> ,
<{^_^}> Special commands: find tell locate expand - Commands sorted by use count, page 0 (use ,<n> to view page <n>): tofu help libraries unstable unfree library declarative escape'' ping overlay escape" pinning howoldis profiling -a ask pr callpackage imperative cache which-channel paste xy exec nixlang++ wololo fancy-uninstall pills stateversion xml botsnack channels haskell home-manager loot stuck pointers tias timer dontask pure-eval runtimedeps cloak
romatthe has joined #nixos
<werner291> Huh
alex`` has quit [Ping timeout: 244 seconds]
<clever> thats a list of most things the bot can do
slack1256 has joined #nixos
rsoeldner has quit [Remote host closed the connection]
<werner291> error: anonymous function at /home/werner/Downloads/vdom.nix:1:1 called without required argument 'build-idris-package'
<werner291> It seems to want me to do this instead: "nix-build -E '(import <nixpkgs> {}).idrisPackages.callPackage ./vdom.nix {}'"
<werner291> What's going on there?
<{^_^}> [nixpkgs] @lopsided98 opened pull request #66705 → perlPackages.FCGI: fix cross build → https://git.io/fjdzt
rsoeldner has joined #nixos
<clever> werner291: everything under idris-modules is likely loaded that way
<werner291> Hmm... Nix still feels like magic sometimes. Very interesting and impressive magic, though.
<werner291> Is that some kind of specialized callPackage for Idris packages?
<contrun[m]> What to do when nix stuck at copying path? How can I view the relevant logs?
<clever> werner291: newScope creates a new instance of callPackage
<clever> contrun[m]: add more -v's
orivej has quit [Ping timeout: 246 seconds]
<contrun[m]> I am using stack. Don’t how to pass it to stack
<werner291> Thanks @clever, that makes sense.
* contrun[m] uploaded an image: ima_d19564f.jpeg (2747KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/xERhKoVIObqqPmGOBsttFzgY >
<contrun[m]> I’ve exported the STACK_IN_NIX_EXTRA_ARGS. Does not seem to work
jgt has joined #nixos
<clever> contrun[m]: you probably need to use a shell.nix file, but ive not delt with stack much
<contrun[m]> clever: Probably. I am trying to recompile xmonad. My consideration was to make it also work without nix.
<clever> contrun[m]: you can add a shell.nix file, and still have it build without nix
<contrun[m]> clever: you are right. I will try it
Supersonic has quit [Ping timeout: 250 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
Supersonic has joined #nixos
nexgen has joined #nixos
werner291 has quit [Ping timeout: 268 seconds]
NinjaTrappeur has quit [Ping timeout: 264 seconds]
recj has quit [Ping timeout: 272 seconds]
recj has joined #nixos
NinjaTrappeur has joined #nixos
ilikeheaps has quit [Ping timeout: 272 seconds]
jgt has quit [Ping timeout: 264 seconds]
jlv has quit [Remote host closed the connection]
drakonis has joined #nixos
lambda-11235 has joined #nixos
mir100 has joined #nixos
pandada8 has joined #nixos
<{^_^}> [nixpkgs] @kalbasit pushed to master « prow: init unstable at 2019-08-14 (#66662) »: https://git.io/fjdzg
<{^_^}> [nixpkgs] @kalbasit merged pull request #66662 → prow: init unstable at 2019-08-14 → https://git.io/fjdqw
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
ericsagnes has quit [Ping timeout: 250 seconds]
kleisli has quit [Ping timeout: 245 seconds]
vmandela has joined #nixos
ericsagnes has joined #nixos
romatthe has quit [Quit: WeeChat 2.5]
<teto> random question: anyone with experience on a perl LSP (Language Server) ? I am editing some nixos perl script and having an LSP would help
jgt has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
englishm has quit [Excess Flood]
englishm has joined #nixos
mexisme has quit [Ping timeout: 268 seconds]
detran has joined #nixos
<{^_^}> [nixpkgs] @rileyinman opened pull request #66707 → flashplayer: 32.0.0.223 -> 32.0.0.238 → https://git.io/fjdzX
ento has joined #nixos
Neo---- has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
Neo--- has joined #nixos
Neo---- has quit [Remote host closed the connection]
kvda has joined #nixos
slack1256 has quit [Remote host closed the connection]
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
Rusty1 has quit [Quit: Konversation terminated!]
endformationage has quit [Quit: WeeChat 2.5]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
Neo---- has joined #nixos
Neo--- has quit [Remote host closed the connection]
SunWuKung has quit [Quit: Sleeping in 武當山]
drakonis has quit [Quit: WeeChat 2.5]
jgt has joined #nixos
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
Neo--- has joined #nixos
Neo---- has quit [Remote host closed the connection]
jgt has joined #nixos
rsoeldner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @Mic92 merged pull request #66703 → systemd-networkd: link: Name -> OriginalName → https://git.io/fjduQ
rsoeldner has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjdzp
<{^_^}> [nixpkgs] @Mic92 pushed commit from @eadwu to release-19.03 « systemd-networkd: link: Name -> OriginalName »: https://git.io/fjdzj
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
Neo---- has joined #nixos
SunWuKung has joined #nixos
Neo--- has quit [Ping timeout: 252 seconds]
zupo has joined #nixos
SunWuKung has quit [Client Quit]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
___laika has quit [Ping timeout: 268 seconds]
Neo--- has joined #nixos
hyper_ch2 has joined #nixos
<{^_^}> [nixpkgs] @Mic92 pushed commit from @lopsided98 to staging « perlPackages.FCGI: fix cross build »: https://git.io/fjdgZ
Neo---- has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @Mic92 closed pull request #66705 → perlPackages.FCGI: fix cross build → https://git.io/fjdzt
<{^_^}> [nixpkgs] @Mic92 merged pull request #66700 → wtf: 0.17.1 -> 0.19.1 → https://git.io/fjduG
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjdgc
Ariakenom has joined #nixos
<{^_^}> [nixpkgs] @Mic92 merged pull request #66670 → rstudio: fix build → https://git.io/fjdOI
<{^_^}> [nixpkgs] @Mic92 pushed 2 commits to master: https://git.io/fjdgW
Neo---- has joined #nixos
Neo--- has quit [Remote host closed the connection]
casaca has quit [Read error: Connection reset by peer]
logzet_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
orivej has joined #nixos
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
casaca has joined #nixos
Neo--- has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/aeddf944b38 (from 59 minutes ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
Neo---- has quit [Ping timeout: 252 seconds]
___laika has joined #nixos
mexisme has joined #nixos
<{^_^}> [nixpkgs] @edef1c opened pull request #66708 → openssh: 7.9p1 -> 8.0p1 → https://git.io/fjdgF
jb55 has quit [Remote host closed the connection]
jb55 has joined #nixos
<{^_^}> [nixpkgs] @vbgl merged pull request #66363 → ocamlPackages.mmap: init at 1.1.0 → https://git.io/fj7YX
<{^_^}> [nixpkgs] @vbgl pushed to master « ocamlPackages.mmap: init at 1.1.0 »: https://git.io/fjd2T
mexisme has quit [Ping timeout: 244 seconds]
hyper_ch2 has quit [Remote host closed the connection]
cfricke has joined #nixos
hyper_ch2 has joined #nixos
cfricke has quit [Client Quit]
dansho has quit [Ping timeout: 244 seconds]
ilikeheaps has joined #nixos
cfricke has joined #nixos
rsa has quit [Ping timeout: 258 seconds]
dansho has joined #nixos
mrCyborg has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
mrCyborg has joined #nixos
rauno has joined #nixos
Neo--- has quit [Ping timeout: 250 seconds]
Neo---- has quit [Remote host closed the connection]
ento has quit [Quit: Connection closed for inactivity]
Neo---- has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
trevthedev has quit [Ping timeout: 252 seconds]
Neo---- has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
Chiliparrot has joined #nixos
Ariakenom has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/776d66ec115 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
ilikeheaps has quit [Quit: Konversation terminated!]
rsoeldner has quit [Remote host closed the connection]
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
rsoeldner has joined #nixos
rsoeldner has quit [Read error: Connection reset by peer]
rsoeldner has joined #nixos
_cyril_ has quit [Ping timeout: 244 seconds]
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
_cyril_ has joined #nixos
fusion809 has quit [Remote host closed the connection]
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/776d66ec115 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
rsoeldner has quit [Read error: Connection reset by peer]
rsoeldner has joined #nixos
rsoeldner has quit [Remote host closed the connection]
rsoeldner has joined #nixos
rsoeldner has quit [Remote host closed the connection]
cfricke has quit [Quit: WeeChat 2.5]
Neo--- has joined #nixos
rsoeldner has joined #nixos
dansho has quit [Remote host closed the connection]
pie_ has quit [Ping timeout: 252 seconds]
rsoeldner has quit [Remote host closed the connection]
Neo---- has quit [Ping timeout: 252 seconds]
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
___laika has joined #nixos
Zer0xp has joined #nixos
Neo---- has joined #nixos
Neo--- has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @danieldk opened pull request #66709 → drawio: 11.1.1 -> 11.1.4 → https://git.io/fjdaf
MmeQuignon has joined #nixos
dasj19 has joined #nixos
<manveru> is there some way to prevent my monitor speakers to be turned on in pulseaudio everytime i resume from suspend?
Neo--- has joined #nixos
Neo---- has quit [Remote host closed the connection]
<manveru> it somehow doesn't remember the setting :(
abbiya has joined #nixos
abbiya has quit [Read error: Connection reset by peer]
<dasj19> Hello nixos, I am a very new nixos user and want to customize my configuration.nix with a custom keyboard layout ... the way I did it in ubuntu/debian was to patch a couple of files in /usr/share/X11/xkb/ to have my custom keyboard available in gnome. what is the nix way of doing it?
abbiya has joined #nixos
<{^_^}> [nixpkgs] @teto merged pull request #66673 → libgphoto2: 2.5.17 -> 2.5.23 → https://git.io/fjdOK
<{^_^}> [nixpkgs] @teto pushed commit from @Dlahacz to master « libgphoto2: 2.5.17 -> 2.5.23 »: https://git.io/fjdaL
MmeQuignon has quit [Ping timeout: 250 seconds]
abbiya has quit [Remote host closed the connection]
abbiya has joined #nixos
abbiya has quit [Remote host closed the connection]
thc202 has joined #nixos
abbiya has joined #nixos
abbiya has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @tbenst opened pull request #66710 → tusk: init at v0.23.0 → https://git.io/fjdam
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest65420 has joined #nixos
eyJhb has quit [Quit: Bye]
whald has quit [Quit: Leaving]
joshuagl has joined #nixos
Neo---- has joined #nixos
Neo--- has quit [Remote host closed the connection]
<{^_^}> #47764 (by rnhmjoj, 45 weeks ago, merged): nixos/xserver: add option to install custom xkb layouts
<symphorien> It is not yet in stable
eyJhb has joined #nixos
<symphorien> It was possible previously but it was best described as a "pile of hack" iirc
winem_ has joined #nixos
<dasj19> symphorien: thanks a lot ... will check that out and if I get a nice configuration I'll consider adding the findings to the wiki
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<{^_^}> [nixpkgs] @domenkozar pushed to haskell-updates « haskell: hnix-store-core compiles »: https://git.io/fjdal
kvda has joined #nixos
Guest65420 has quit [Quit: Leaving]
liberiga has joined #nixos
<cizra> dasj19: When I wanted to customize my stuff, I modified the Nix package to accept an option. The option then switched the source of the package to a different upstream URL.
<cizra> dasj19: In your case, why not create a pre-build step that drops your favorite layout into the xkb (or whatever package owns layouts) package?
Ariakenom has joined #nixos
<symphorien> At this point it seems easier to switch to nixos-unstable
o1lo01ol1o has joined #nixos
<dasj19> I am using nix-unstable
<cizra> dasj19: Oh, right, this thing is merged already. Sorry for making noise. However, I still have a suggestion:
<cizra> OK, then I don't :D but I'm on stable, and for custom packages I'm using overlays.
<dasj19> cizra: no need to be sorry... I just started with nix... and trying to move from debian unstable to nixos unstable
<dasj19> so I have a lot to learn
<dasj19> any input is useful at this point
<cizra> Overlays are useful if you want to be mostly stable (like me) or have out-of-tree/custom packages.
Neo--- has joined #nixos
lambda-11235 has quit [Quit: Bye]
Neo---- has quit [Ping timeout: 252 seconds]
Neo--- has quit [Remote host closed the connection]
Neo--- has joined #nixos
asymptotically has joined #nixos
sigmundv_ has joined #nixos
<dasj19> one other thing... anyone knows where I find the latest documentation (for nixos unstable) ?
liberiga has quit [Ping timeout: 260 seconds]
Neo---- has joined #nixos
orivej has quit [Ping timeout: 246 seconds]
Neo--- has quit [Ping timeout: 252 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
<dasj19> this would be the git version : https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/configuration/x-windows.xml ... are there any rendered versions of this?
<li_matrix> I thought the whole point of storing code as text was to make it human readable. which begs the question: what is xml for?
<symphorien> You can build it locally, dasj19
<dasj19> okay :D
<symphorien> See the readme of the "manual" directory
<dasj19> I thought there was already a webpage for that ... and I could not find it
<symphorien> Also, "man configuration.nix" has an up to date list of optiobs
<symphorien> Not sure
mexisme has joined #nixos
veske has joined #nixos
psy3497 has quit [Ping timeout: 246 seconds]
o1lo01ol1o has joined #nixos
ottidmes has joined #nixos
mexisme has quit [Ping timeout: 272 seconds]
amir has quit [Ping timeout: 245 seconds]
v0d1ch has joined #nixos
ubert has joined #nixos
ng0 has joined #nixos
smakarov has quit [Quit: Leaving]
smakarov has joined #nixos
veske has quit [Quit: This computer has gone to sleep]
xorAxAx has quit [Ping timeout: 246 seconds]
nexgen has quit [Quit: Leaving]
ixxie has joined #nixos
xorAxAx has joined #nixos
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<{^_^}> [nixpkgs] @WilliButz opened pull request #66711 → codimd: 1.4.0 -> 1.5.0 → https://git.io/fjdVz
pie_ has joined #nixos
alex`` has joined #nixos
Okinan has quit [Quit: Konversation terminated!]
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
amir has joined #nixos
o1lo01ol1o has quit [Remote host closed the connection]
vonfry has joined #nixos
zupo has joined #nixos
vonfry has quit [Client Quit]
<{^_^}> [nixpkgs] @WilliButz merged pull request #66709 → drawio: 11.1.1 -> 11.1.4 → https://git.io/fjdaf
<{^_^}> [nixpkgs] @WilliButz pushed 2 commits to master: https://git.io/fjdVP
oleks has joined #nixos
<{^_^}> [nixpkgs] @SFrijters opened pull request #66712 → pyprof2calltree: move to python-packages → https://git.io/fjdV1
vmandela has left #nixos ["Leaving"]
Neo---- has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ThatDocsLady has joined #nixos
<colemickens> worldofpeace btw, I rebuilt last night with HEAD libdrm/mesa{-glu} and libva seemed to be working. Meant to check with intel-gpu-top but forgot before I fell asleep
Neo---- has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
orivej has joined #nixos
InfernalFlameZA has joined #nixos
winem_ has quit [Ping timeout: 268 seconds]
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/75e34adda52 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<Miyu-chan> Hm. Has anyone set up django + Nix? Turns out that buildPythonPackage's buildCommand doesn't work for it.
vmandela has joined #nixos
<Miyu-chan> Should I just remove buildPhase?
Neo---- has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
m0rphism has joined #nixos
<Miyu-chan> Or should I make a bulidDjangoPackage? idk.
Neo---- has quit [Read error: Connection reset by peer]
Neo---- has joined #nixos
wfranzini has quit [Remote host closed the connection]
waleee-cl has joined #nixos
wfranzini has joined #nixos
InfernalFlameZA has left #nixos ["Leaving"]
kfound has joined #nixos
<Miyu-chan> Oh, there's also mkPythonDerivation.
<adisbladis> Miyu-chan: For nixpkgs or private?
<Miyu-chan> Private.
<Miyu-chan> OTOH, I'm thinking of patching it into nixpkgs.
<adisbladis> Then I'd highly suggest pypi2nix/pip2nix
<adisbladis> If it doesn't have to go into nixpkgs that is
liberiga has joined #nixos
<maralorn> I have a problem with nixos containers. When I do a system-rebuild my nextcloud container will get reloaded via systemd. My server is kinda weak and the reload triggers a recursive chown and chmod of my quite large nextcloud-data. That takes longer the 90 seconds. So the reload timesout, thus the nixos-rebuild switch fails.
<Miyu-chan> Oh. Django has a bit different project structure though, right?
<Miyu-chan> Like, no setup.py, for example.
<adisbladis> Miyu-chan: Django usually has a manage.py as an entry point, though a project that is redistributed should also have a setup.py or a pyproject.toml
<maralorn> So in short my question is: Can I set a different reaload timeout for a systemd unit?
<Miyu-chan> adisbladis: Ah, thanks. I'm not too familiar with Python, much more Django.
<maralorn> (btw, the recursive chown and chmod is coded in the nextcloud module in nixpkgs and might be considered a bug)
<adisbladis> maralorn: You can set all systemd options directly if you want to :)
<maralorn> adisbladis: Yes, but my google-foo is failing me to finde the right option.
zupo has quit [Quit: Textual IRC Client: www.textualapp.com]
<adisbladis> maralorn: Look up in the service definition what the systemd service is called and then do something like: systemd.services.unbound.serviceConfig.WhatEverySystemdCallsIt = lib.mkForce 180;
<maralorn> TimeoutSec only applies to Start and Stop of the Service. Not the reload.
<adisbladis> Unbound was just an example, replace it with your service
<maralorn> Yeah, I am hanging at the WhatEverSystemdCallsIt part.
<adisbladis> maralorn: systemd.services.nextcloud-setup.serviceConfig.TimeoutSec = lib.mkForce 180;
<adisbladis> Something like that I think
noudle has joined #nixos
Neo--- has joined #nixos
Neo---- has quit [Remote host closed the connection]
<Miyu-chan> Semi-stupid question. Does #!${nix}/bin/nix-shell ${drvPath} work?
<immae> if drvPath contains a default.nix, then I see no reason why not :p
<maralorn> adisbladis: Yeah, I just read the systemd source and it really seems to be TimeoutSec. Just wondering why that didn‘t help.
<Miyu-chan> Not really. You can nix-shell directly to drvs.
<Miyu-chan> My question is that I'm wondering if a nix-shell shebang works for drv paths specifically.
<Miyu-chan> And also if that's a good idea. I'm doing it for a systemd service.
<Miyu-chan> adisbladis: Do you think it's a good idea to make a `buildDjangoProject` and add support for NixOS `WSGI` modules?
<adisbladis> Miyu-chan: I don't think so. I think they should use either setup.py or PEP518
<Miyu-chan> Checking PEP518. Thanks.
<adisbladis> Django shouldn't be any special when it comes to packaging
<adisbladis> Though I do think that we could benefit from some generic django module base
<adisbladis> For NixOS modules, but not in the builds themselves
Neo---- has joined #nixos
<Miyu-chan> Yeah. I'm thinking of fixing that, since there's a lot of hardcoding on my part. And Nix has the advantage of rich information.
<maralorn> Oh, wow. I think the problem is, that I thought container@cloud is started by the container@.service with container@cloud symlink to it. But nixos doesn‘t symlink but copy to container@cloud. Didn‘t expect that.^^
<Miyu-chan> You can see an example of this on NixOps. You can either specify a string for a resource, or you can just put the resource itself, and NixOps will handle conversion to string.
Neo--- has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @basvandijk opened pull request #66713 → rustfmt: use the src as defined by the git submodule in rust → https://git.io/fjdwW
<Zer0xp> Hey, does anyone here use Geek note ?
<tilpner> Mic92: IIRC you wanted to backport zfs 0.8 to 19.03 after a week of it working well. Did you encounter any issues with it?
<Mic92> tilpner: No. should be fine to update zfsUnstable.
rsoeldner has joined #nixos
<Mic92> I would keep `zfs` itself as it is.
Neo---- has quit [Remote host closed the connection]
<Mic92> tilpner: zfsUnstable is already on 0.8.1
<Mic92> So just switch to zfsUnstable on stable.
Neo---- has joined #nixos
<tilpner> Yes, I'm already using that, but that has the wrong intention
<tilpner> I want my server to be on stable 0.8 zfs, yet now I need to enable unstable
<DigitalKiwi> for what it's worth I've been using zfsUnstable with native encryption since december without any issues
<tilpner> So if someone updates zfsUnstable to 0.9-pre, I get all the unstable-ness that comes with it
<tilpner> And I might not notice until it's too late
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/776d66ec115 (from 6 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
nexgen has joined #nixos
Zer0xp has quit [Ping timeout: 246 seconds]
iyzsong has joined #nixos
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
<adisbladis> My only problem with zfs native crypto was when they broke the on-disk format ^_^
<Miyu-chan> So turns out `manage.py runserver` checks manage.py, so you can't just use wrapProgram on it.
<adisbladis> Miyu-chan: I'll typically create a wrapper
<adisbladis> I use PEP518 with Poetry, but you could translate it to setup.py https://github.com/nixcon/nixcon-vps/blob/master/pkgs/pretix/pyproject.toml#L16
v0d1ch has quit [Quit: Connection closed for inactivity]
<maralorn> tilpner: I feel like one often needs a function like: takeFirstPackageWithBigEnoughVersion "0.8" [ pkgs.zfs pkgs.zfsUnstable unstable.zfs ];
<maralorn> Of course in your case that wouldn‘t necessarily prevent your problem.
<Miyu-chan> Thanks.
<{^_^}> [nixpkgs] @mmahut merged pull request #66639 → pazi: 0.2.0 -> 0.3.0 → https://git.io/fjdfd
<{^_^}> [nixpkgs] @mmahut pushed 3 commits to master: https://git.io/fjdwr
Neo---- has quit [Remote host closed the connection]
Neo---- has joined #nixos
rauno has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @basvandijk opened pull request #66714 → rustc: 1.36.0 -> 1.37.0 → https://git.io/fjdw6
<Miyu-chan> Hm. I'm probably not the first person to ask this, but is there a `withPythonPackages` wrapper for arbitrary packages?
<Miyu-chan> Basically. `python3Packages.foo.pythonWithDeps`
<tilpner> maralorn: takeFirstPackageWithBigEnoughVersion = v: ps: with lib; findFirst (p: versionAtLeast (getVersion p) v) null ps
<tilpner> Buuut... that doesn't realy help
<Miyu-chan> These 2 are semi-equivalent: `nix-shell -p python3Packages.foo.pythonWithDeps` and `nix-shell -A python3Packages.foo`
<adisbladis> Miyu-chan: What would the difference between that and `python3.withPackages(ps: [ ps.foo ])`
selfsymmetric-mu has quit [Remote host closed the connection]
<adisbladis> be
<Miyu-chan> adisbladis: Hm. Nothing specific, actually.
<Miyu-chan> Because all buildInputs are propagated anyway.
<adisbladis> Tbh I think we should get rid of the global `pythonXPackages` names altogether..
<Miyu-chan> I guess it (subjectively) just looks better?
<Miyu-chan> adisbladis: And opt for a flat package list?
<Miyu-chan> Or?
<adisbladis> Miyu-chan: No, only `withPackages`
<adisbladis> That should be the only way to access python packages.
<adisbladis> Because it's the only way you can guarantee a coherent environment
<Miyu-chan> Hm. As opposed to using setupHook?
<adisbladis> I don't know how many times I've ended up with mixed python2/python3 deps because of PYTHONPATH
<adisbladis> This is not unique for python, there are other package ecosystems that suffer from the same thing.
<adisbladis> It just manifests ofter in Python for me
<Miyu-chan> Ah. I kinda don't like the `withPython` tbh. It somewhat makes `buildInputs`... hierarchal?
<Miyu-chan> OTOH, I do agree about the problems with PYTHONPATH being populated with multiple versions.
<Miyu-chan> It's even worse when you mess up with the overrides, and have a depend on b and c, but c depends on b-old.
johnny101m2 has joined #nixos
johnny101m has quit [Read error: Connection reset by peer]
<maralorn> adisbladis: But from which namespace do you take the packages that you enter in withPackages?
johnny101m has joined #nixos
<Shyim[m]> Have anyone an idea how to enable usb keyboard on password prompt on boot?
<{^_^}> [nixpkgs] @mmahut merged pull request #66701 → zabbix: 4.0.9 -> 4.0.11 & 4.2.3 -> 4.2.5 → https://git.io/fjdu2
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjdwF
<adisbladis> maralorn: `(pythonPackages.override { python = python3; }).requests` is sort of equivalent to `python3.withPackages(ps [ ps.requests ])`
<adisbladis> Does that answer your question?
johnny101m2 has quit [Ping timeout: 250 seconds]
<adisbladis> maralorn: pythonXPackages is already available as pythonX.pkgs
<adisbladis> I think the latter would be preferable everywhere
<maralorn> adisbladis: Ah, okay.
vmandela has quit [Quit: Leaving]
<adisbladis> As overriding only the interpreter and not pythonXPackages would still result in a coherent environment
<adisbladis> As it is now you'd end up with a strangely mixed environment
rprije has quit [Ping timeout: 248 seconds]
o1lo01ol1o has joined #nixos
Neo--- has joined #nixos
Neo---- has quit [Remote host closed the connection]
nexgen has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to master: https://git.io/fjdrq
<{^_^}> [nixpkgs] @NeQuissimus pushed 3 commits to release-19.03: https://git.io/fjdrm
o1lo01ol1o has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @edolstra merged pull request #66681 → rustPackages.clippy: init at rust-1.36.0 → https://git.io/fjdCO
<{^_^}> [nixpkgs] @edolstra pushed 2 commits to master: https://git.io/fjdrZ
xorAxAx is now known as xorAxAx2
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #66715 → mixxx: 2.2.1 -> 2.2.2 → https://git.io/fjdr2
o1lo01ol1o has joined #nixos
marek has quit [Ping timeout: 272 seconds]
mexisme has joined #nixos
hmpffff has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<petercommand> how should I interpret the progress bar of nix build?
Neo---- has joined #nixos
<petercommand> is there any document on this? thanks
Neo--- has quit [Remote host closed the connection]
<petercommand> there are two numbers that indicate some kind of size in the progress bar
<petercommand> what's the difference between these two numbers?
Neo--- has joined #nixos
<yorick> petercommand: it's inprogress/completed/total
Neo---- has quit [Remote host closed the connection]
<petercommand> yorick: ah..the left most ones..
<petercommand> yorick: the pair of numbers with DL at the right indicate downloaded/total size right?
<yorick> yeah
<petercommand> how about the other pair of numbers?
<petercommand> install size?
<yorick> yeah
<petercommand> thanks
npmccallum has joined #nixos
<{^_^}> [nixpkgs] @saschagrunert opened pull request #66717 → podman: 1.4.4 -> 1.5.1 → https://git.io/fjdrN
Neo---- has joined #nixos
Neo--- has quit [Ping timeout: 252 seconds]
Neo--- has joined #nixos
Neo---- has quit [Ping timeout: 264 seconds]
felixfoertsch has joined #nixos
mir100 has quit [Quit: WeeChat 1.9.1]
tmaekawa has joined #nixos
<felixfoertsch> Hello! I am currently trying to get Bitcoin running on my NixOS installation. I want to use the binaries from bitcoin.org. How can I add custom binaries to the configuration and start them at system start? I couldn't find anything on the manual.
<dminuoso> felixfoertsch: You'd start by writing a nix derivation for it, and then an appropriate nixos module.
marek has joined #nixos
npmccallum has quit [Quit: npmccallum]
<felixfoertsch> @dminuoso I found the package on the package library, but it looks like it tries building it from source.
koba1917 has joined #nixos
<dminuoso> felixfoertsch: That happens if, for some reason, no binary was found in the caches.
<dminuoso> felixfoertsch: Which software are you using?
<dminuoso> felixfoertsch: A miner like cgminer?
<felixfoertsch> @dminuoso Well I'd like to use the official binaries anyway.
<dminuoso> felixfoertsch: That means writing a nix derivation for it.
koba1917 has quit [Client Quit]
<felixfoertsch> @dminuoso I have a RasPi and trying to get a Full Node running.
<felixfoertsch> So just NixOS and Bitcoin for the moment. No mining.
Neo--- has quit [Remote host closed the connection]
<dminuoso> felixfoertsch: Im not very familiar with bitcoin and the software, was just trying to understand what it is that you are trying to intsall. :)
Neo--- has joined #nixos
<dminuoso> felixfoertsch: So you are interested in "Bitcoin Core"?
<felixfoertsch> @dminuoso Oh, okay. So there are binaries on bitcoin.org that I want to download and use.
<felixfoertsch> On Ubuntu i'd just wget them and put them to /usr/local/bin
<dminuoso> felixfoertsch: Right. So on nix this is not possible due to how nix is designed.
<dminuoso> On nixos rather.
<dminuoso> felixfoertsch: If you check your /usr/ directory you will, for example, notice that its rather.... "empty"
<felixfoertsch> Now I learned about NixOS and love the declarative thing, so I figured: I'd try it out. :D
<ivan> felixfoertsch: you can create an FHS environment and those will have a populated /usr https://nixos.org/nixpkgs/manual/#sec-fhs-environments
<dminuoso> felixfoertsch: There exists a complete bitcoin package in nix though, you should just use that. :)
o1lo01ol1o has quit [Remote host closed the connection]
<felixfoertsch> @dminuoso It's an outdated version. I already tried customizing it tho. You mean this one, right: I think I'd be okay with building from source, too. I already tried modifying https://github.com/NixOS/nixpkgs/blob/1f22d5b6f87cde2a2c300abaa142e6d6f4c2460d/pkgs/applications/altcoins/bitcoin.nix#L43 and make a local build. It fails with saying: configure: error: pkg-config not found.
<felixfoertsch> Damn copy paste. Sec.
o1lo01ol1o has joined #nixos
<felixfoertsch> @dminuoso It's an outdated version. I already tried customizing it tho. You mean this one, right? https://github.com/NixOS/nixpkgs/blob/1f22d5b6f87cde2a2c300abaa142e6d6f4c2460d/pkgs/applications/altcoins/bitcoin.nix#L43
o1lo01ol1o has quit [Remote host closed the connection]
xorAxAx2 has quit [Quit: Gateway shutdown]
o1lo01ol1o has joined #nixos
<ivan> yeah you can update that by bumping the version and changing the sha256 and then inserting the correct sha256
<{^_^}> [nixpkgs] @aherrmann opened pull request #66718 → bazel: Fix python stub template → https://git.io/fjdoR
<{^_^}> [nixpkgs] @vbgl opened pull request #66719 → ocamlPackages.sedlex: 1.99.4 -> 1.99.5 → https://git.io/fjdog
<felixfoertsch> @ivan Okay. This means cloning the nixpkgs repo, right?
<felixfoertsch> Like written in the manual.
<dminuoso> I wonder, shouldnt this be in the unstable nixpkgs already?
koba1917 has joined #nixos
<ivan> felixfoertsch: yes unless you want to use an overlay
<ivan> I work on nixpkgs so that I can PR things
<dminuoso> ivan: Couldnt they just add a second channel for nixpkgs unstable, and then pull the package via that channel, instead?
<felixfoertsch> @ivan I think the one you linked is the wrong one tho. The one I am looking for is from bitcoin.org, not bitcoincore.org. The latter is an altcoin.
<felixfoertsch> But this whole space is really confusing that's why I would like to stick to the binaries from bitcoin.org.
<dminuoso> felixfoertsch: From the looks of it, they both provide the same source.
dansvo has quit [Ping timeout: 246 seconds]
<dminuoso> felixfoertsch: The nix derivation asserts the package is authentic by verifying its SHA hash. This one provides two alternative sources, presumably in case one is not reachable.
<dminuoso> felixfoertsch: Im convinced that this is the authentic/correct one you are looking for.
<felixfoertsch> @dminuoso Okay.
<dminuoso> felixfoertsch: And indeed, you dont need to clone/overlay, you can also add a separate channel.
<felixfoertsch> So if you are saying it should be in the repo, how would I go installing it then? I think I installed the stable NixOS.
<dminuoso> felixfoertsch: You just add another channel in parallel. You can selectively pull packages from either channel.
nakkle has joined #nixos
<felixfoertsch> @dminuoso this one? # nix-channel --add https://nixos.org/channels/nixos-unstable nixos
<dminuoso> felixfoertsch: rather name it "nixos-unstable"
<dminuoso> felixfoertsch: ⌜# nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable⌝
<felixfoertsch> Check
<dminuoso> felixfoertsch: Then you could install it via ⌜nix-env -Ia nixos-unstable.altcoin.bitcoin⌝, or import the channel in your configuration.nix and then refer to it via that.
<dminuoso> err
<dminuoso> ⌜nix-env -iA nixos-unstable.altcoin.bitcoin⌝
<dminuoso> :-P
<felixfoertsch> This is all in user space, right?
<gchristensen> yep
<dminuoso> felixfoertsch: What do you mean by that?
<clever> felixfoertsch: its definitely not in kernel space
<felixfoertsch> @dminuoso That these settings are linked to my user and not system-wide.
<dminuoso> felixfoertsch: I see, so that's a bit of a subtle question.
<dminuoso> felixfoertsch: You can make it either, if you want.
<felixfoertsch> My goal is to have bitcoind running as a service on startup.
<dminuoso> felixfoertsch: So in order to do that, you'd have to write a small nixos module
<dminuoso> (Since nobody else has done that, apparently)
<felixfoertsch> So to recap: To get the newest version (0.18.1) I have to modify the package on the unstable channel (bump version). Then install this new package. Then write a module to start this package as a service. Correct?
<felixfoertsch> Is there a place to read up on modifying packages and writing modules?
<dminuoso> felixfoertsch: So that second step is not required.
<dminuoso> felixfoertsch: In its core there are two separate independent tasks.
<dminuoso> felixfoertsch: The first step is competely optional and its about switching out the versions.
<dminuoso> felixfoertsch: The second is about installing a systemd unit to run a bitcoin service (and you can configure which exact package that should be)
noudle has quit []
<felixfoertsch> Okay. Thank you very much @dminuoso. I'll do some reading and figuring out. Let's see if I can wrap my head around this.
<dminuoso> felixfoertsch: If you have any questions, dont hesitate to ask. Me or anyone can give you hints should require some.
<felixfoertsch> Will do! Thanks!
xkapastel has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/35841f87afa (from 89 minutes ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
<{^_^}> [nixpkgs] @mmahut merged pull request #66691 → skaffold: 0.30.0 -> 0.35.0 → https://git.io/fjdBB
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjdKt
vmandela has joined #nixos
<{^_^}> [nixpkgs] @mmahut merged pull request #66717 → podman: 1.4.4 -> 1.5.1 → https://git.io/fjdrN
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjdKq
rsoeldner has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @00-matt opened pull request #66720 → kubeless: init at 1.0.4 → https://git.io/fjdKc
orivej has quit [Ping timeout: 248 seconds]
tmaekawa has quit [Quit: tmaekawa]
koba1917 has quit [Quit: WeeChat 2.5]
koba1917 has joined #nixos
selfsymmetric-pa has joined #nixos
<koba1917> /names
koba1917 has quit [Quit: WeeChat 2.5]
__monty__ has joined #nixos
<{^_^}> [hydra] @gilligan opened pull request #672 → Extend the jobset API response → https://git.io/fjdKi
inkbottle has joined #nixos
<worldofpeace> colemickens: yay! That's great, hope this gets in the release
<worldofpeace> (their latest release, not ours)
<{^_^}> [nixpkgs] @veprbl merged pull request #64321 → CNVkit: init 0.9.6 → https://git.io/fj6oV
<{^_^}> [nixpkgs] @veprbl pushed 4 commits to master: https://git.io/fjdKy
hmpffff has quit [Quit: nchrrrr…]
<{^_^}> [nix] @edolstra merged pull request #3041 → Fix for `unknown serve command 13` → https://git.io/fj5CP
<{^_^}> [nix] @edolstra pushed 3 commits to master: https://git.io/fjdKS
<worldofpeace> colemickens: did https://github.com/NixOS/nixpkgs/pull/66697#issuecomment-521822725 work for you? nulling `installPhase` makes it use the regular phase
nexgen has joined #nixos
<colemickens> They haven't enabled it in meson.build yet, so not sure what to expect...
<yorick> what's the name of the package that has things like tput and make?
<yorick> I thought it was stdenv but there's nothing in there
<slabity> So I have an overlay that I pull in with fetchTarball. How do I get Nix to update the tarball used? There are changes in the overlay that are not getting pulled.
liberiga has quit [Ping timeout: 260 seconds]
<clever> nix show-config | grep tarball-ttl
<clever> slabity: if the url hasnt changed, it will take up to 1 hour for it to check for changes
<tilpner> If you want to force a refetch, you can start nuking things in ~/.cache/nix
<tilpner> yorick: My nix-index db has no package that contains both
<yorick> tilpner: sad, I think you get them if you do nix-shell -p --run ghjkl
marek has joined #nixos
marek has quit [Changing host]
felixfoertsch has quit [Quit: Textual IRC Client: www.textualapp.com]
<tilpner> It might still exist, but not be indexed
<{^_^}> [nixpkgs] @mmahut merged pull request #66694 → bitcoin: 0.18.0 -> 0.18.1 → https://git.io/fjdRw
<{^_^}> [nixpkgs] @mmahut pushed 2 commits to master: https://git.io/fjd6V
<__monty__> clever++ For yesterday, problem was indeed resolved by simply adding a friend. : )
<{^_^}> clever's karma got increased to 169
jabranham has joined #nixos
kleisli has joined #nixos
<slabity> Thanks clever++, tilpner++. Killing the cache worked perfectly
<{^_^}> clever's karma got increased to 170, tilpner's karma got increased to 35
<slabity> Though I think I'll change it all to use fetchGit instead
<tilpner> fetchGit can be much slower than fetchTarball
Yakulu has left #nixos ["Disconnected: closed"]
<{^_^}> [nixpkgs] @grahamc merged pull request #64054 → snscrape: 0.2.0 -> 0.3.0 → https://git.io/fjK0e
<{^_^}> [nixpkgs] @grahamc pushed 2 commits to master: https://git.io/fjd6K
<slabity> tilpner: Wouldn't it only check for git changes though?
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjd66
<tilpner> I'm not sure, but the initial clone for e.g. nixpkgs can be a difference of hundreds of MB vs <20MB
<tilpner> If your repo is small, either should be fine
<slabity> That's fine. The git repos I'm pulling are less than 1MB in size
kleisli has quit [Ping timeout: 246 seconds]
<slabity> Except maybe the mozilla one...
<{^_^}> [nixpkgs] @peti pushed 3 commits to haskell-updates: https://git.io/fjd6y
veske has joined #nixos
veske has quit [Client Quit]
ubert has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage2nix: update list of broken builds to avoid evaluation errors on Hydra »: https://git.io/fjd67
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjd6N
<{^_^}> [nixpkgs] @peti closed pull request #66655 → haskellPackages: unbreak hnix build → https://git.io/fjdTl
<Miyu-chan> Hm. Is there a way to override what *callPackage* you use?
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/35841f87afa (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<Miyu-chan> I already have a nix file that's python3Package.callPackage. Do you think I can call with a new callPackage?
kleisli has joined #nixos
<{^_^}> [nixpkgs] @emmanuelrosa opened pull request #66721 → brave: fix path to brave in *.desktop file → https://git.io/fjdif
<{^_^}> [nixpkgs] @mmahut opened pull request #66722 → trezord: adding emultor support (plus test) → https://git.io/fjdiJ
<maralorn> slabity: fetchGit also uses tarball-ttl. (Which is not apparent from the naming I think.)
<Miyu-chan> Hm. I was thinking of `callPackage foo.override {}` but dynamic functionArgs needs IFD.
<mbrgm> anybody runnig nixos on zfs root?
kfound has quit [Ping timeout: 258 seconds]
<{^_^}> [nixpkgs] @aherrmann opened pull request #66723 → Bazel test shebangs → https://git.io/fjdiT
<mbrgm> any special measures to take? like acl settings or such?
<maralorn> slabity: I often use --option tarbal-ttl 0 instead of clearing the cache.
<Miyu-chan> Methinks callPackage is not "overridable"?
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjdit
hyper_ch2 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @peti pushed 2 commits to haskell-updates: https://git.io/fjdiO
orivej has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjdiG
johnny101m has quit [Remote host closed the connection]
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom has quit [Quit: Leaving]
<mbrgm> I created a user by adding him to users.users..., but in the user's home directory, there's no .nix-profile symlink, no nix-defexpr etc. any ideas how to fix this?
<mbrgm> it's a plain install from the latest 19.03 minimal installer
o1lo01ol1o has joined #nixos
<symphorien> mbrgm: iirc it is created on the first login by /etc/profile
Okinan has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @aherrmann opened pull request #66724 → bazel: cctools runtime dependency on darwin → https://git.io/fjdiR
orivej has joined #nixos
<mbrgm> symphorien: thx for the pointer.
Neo--- has quit [Ping timeout: 252 seconds]
aither has quit [Ping timeout: 244 seconds]
snajpa has quit [Ping timeout: 250 seconds]
snajpa has joined #nixos
erasmas has joined #nixos
smakarov has quit [Quit: rcirc on GNU Emacs 26.2]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/97648655bf7 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
englishm has quit [Excess Flood]
englishm has joined #nixos
Neo--- has joined #nixos
hmpffff has joined #nixos
iyzsong has quit [Ping timeout: 252 seconds]
Soo_Slow has joined #nixos
<{^_^}> [nixpkgs] @ttuegel merged pull request #65561 → kde_applications: 19.04.1 -> 19.08.0; kdeFrameworks: 5.58 -> 5.61; plasma-5: 5.15.5 -> 5.16.4 → https://git.io/fjSZp
<{^_^}> [nixpkgs] @ttuegel pushed 27 commits to staging: https://git.io/fjdix
nakkle has quit [Ping timeout: 252 seconds]
nakkle has joined #nixos
asymptotically has quit [Quit: Leaving]
<codedmart> How do I install chromium with vaapi? I tried add `(chromium { vaapi = true; })` to my `environment.systemPackages` in `configuration.nix`.
<codedmart> Sorry that is `useVaapi` not `vaapi`
trinityhex has joined #nixos
mexisme has joined #nixos
jabranham has quit [Read error: Connection reset by peer]
fusion809 has joined #nixos
mexisme has quit [Ping timeout: 246 seconds]
<codedmart> Also tried (pkgs.chromium.override { useVaapi = true; })
sigmundv_ has quit [Ping timeout: 248 seconds]
jabranham has joined #nixos
nakkle has quit [Ping timeout: 248 seconds]
<tilpner> codedmart: useVaapi is only available in nixos-unstable
<tilpner> ,unstable
<codedmart> Ah that would explain it. Thanks!
<gchristensen> I would love to have nixpkgs-unstable be the same as nixos-unstable.
<gchristensen> it is so annoying that they are different.
<tilpner> codedmart: Enabling that will recompile chromium, so you'll need some patience
<tilpner> gchristensen: I think it's important that Darwin doesn't block NixOS
<gchristensen> yeah?
<tilpner> Well, there are points for and against it, but I've considered even finer-grained channels
pachacuti[m] has joined #nixos
<tilpner> The faster master reaches your system (while not risking unwelcome surprises), the better
<gchristensen> yeah
<tilpner> You wouldn't want a security update for your NixOS server to be delayed by some build failure for Darwin
<vmandela> gchristensen, ping
waleee-cl has quit [Quit: Connection closed for inactivity]
<jabranham> speaking of security updates, I noticed firefox 68.0.2 isn't in nixpkgs yet. What should I do? Open a github issue?
<codedmart> tilpner: How do I use `libgnome-keyring3 ? null`?
<codedmart> I wanted to have gnomeKeyringSupport
<tilpner> jabranham: Issue or PR, depending on your motivation :)
<jabranham> tilpner: I very much doubt my computer can handle building FF so it'll have to be an issue
<jabranham> I suppose I can try though.
jgt has quit [Ping timeout: 252 seconds]
<tilpner> codedmart: Where are you seeing that line? .override { gnomeKeyringSupport = true; } Should™ do it
Ariakenom has joined #nixos
<tilpner> codedmart: You don't need to pass pulseSupport if you're on NixOS
<tilpner> codedmart: And there is no argument called libpulseaudio, so remove that
<codedmart> Why don't I need pulseSupport?
ixxie has quit [Ping timeout: 246 seconds]
<tilpner> Because it defaults to true on NixOS/Linux
<codedmart> Removing pulseSupport and libpulseaudio gives me `error: value is null while a set was expected`
<codedmart> Should I remove gnomeSupport as well?
dsiypl4 has joined #nixos
orivej has quit [Ping timeout: 248 seconds]
<tilpner> I don't know how the "gnome" argument is used
<tilpner> There is no attribute of that name in top-level nixpkgs
<tilpner> You could try passing gnome = gnome3;, but that's just a guess
<tilpner> Disabling gnomeSupport seems fine too, given how it's off by default
<codedmart> OK thanks
<codedmart> And now I wait
___laika has quit [Ping timeout: 248 seconds]
<codedmart> Just joking it fails on applying the patches :|.
<tilpner> Comment out some lines to tell which one is causing it
<codedmart> Well even with just useVaapi it fails that is what I want most.
<tilpner> Can try the Beta and Dev versions
o1lo01ol1o has quit [Remote host closed the connection]
Ariakenom_ has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @Profpatsch merged pull request #66718 → bazel: Fix python stub template → https://git.io/fjdoR
<{^_^}> [nixpkgs] @Profpatsch pushed commit from @aherrmann to master « bazel: Fix python stub template »: https://git.io/fjdPS
Soo_Slow has quit [Read error: Connection reset by peer]
Soo_Slow has joined #nixos
Ariakenom has quit [Ping timeout: 248 seconds]
<{^_^}> [nixpkgs] @flokli opened pull request #66725 → stdenv: add isELFExec, isELFDyn, fix wrappers → https://git.io/fjdPH
o1lo01ol1o has quit [Ping timeout: 272 seconds]
dbmikus has joined #nixos
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @bbigras opened pull request #66726 → httplz: 1.5.0 -> 1.5.1 → https://git.io/fjdPd
ThatDocsLady has quit [Quit: Leaving]
fusion809 has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @jabranham opened pull request #66727 → Firefox 68.0.2 → https://git.io/fjdPx
ng0 has quit [Quit: Alexa, when is the end of world?]
fusion809 has joined #nixos
<{^_^}> [nixpkgs] @symphorien opened pull request #66728 → rls: tie version to rustc's → https://git.io/fjdPh
ng0 has joined #nixos
werner291 has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
xkapastel has quit [Quit: Connection closed for inactivity]
<exarkun> does python.buildEnv needlessly extend sys.path? It seems like it makes a python env with all of the necessary symlinks in site-packages and then it adds the site-packages of every python dependency to sys.path, too
pandada8 has quit [Ping timeout: 246 seconds]
werner291 has quit [Client Quit]
<simpson> Is it needless? Isn't that needed for pkg_resources?
<jabranham> Can someone make ofborg build #66727?
<{^_^}> https://github.com/NixOS/nixpkgs/pull/66727 (by jabranham, 6 minutes ago, open): Firefox 68.0.2
o1lo01ol1o has quit [Remote host closed the connection]
pandada8 has joined #nixos
<exarkun> simpson: I don't know :(
<exarkun> It might be inconsistent, too. Python programs are wrapped to get all of the individual site-packages but the python interpreter itself isn't.
<exarkun> Maybe that's not inconsistent. Maybe that's exactly reflecting the pkg_resources requirement?
judson has joined #nixos
judson__ has joined #nixos
<exarkun> Since the Python programs all have the pkg_resources-based belt-and-suspenders version checking...
<exarkun> idk. so many weird pieces.
<exarkun> I have only written a couple million lines of Python so I probably can't be expected to understand how all of the import stuff works.
<__monty__> Zing : )
fusion809 has quit [Remote host closed the connection]
<simpson> No, seriously. I've written a module loader for Python, and I still don't grok PEP 302. I don't know whether doing it again would help, either.
jgt has joined #nixos
fusion809 has joined #nixos
bdesham has joined #nixos
<bdesham> does Git come with zsh completion scripts? if yes, do I need to specifically enable that when I install Git via Nix? (I'm on Darwin)
<{^_^}> [nixpkgs] @samueldr merged pull request #60422 → nixos/hardware.deviceTree: new module → https://git.io/fjGPM
<{^_^}> [nixpkgs] @samueldr pushed 4 commits to master: https://git.io/fjdXJ
___laika has joined #nixos
<{^_^}> [nixpkgs] @peti pushed 2 commits to master: https://git.io/fjdXk
<bdesham> I do have /nix/store/jsv7niyxvfj3zkanlrlr6ww1vj4hkq88-git-2.22.0/share/git/contrib/completion/git-completion.zsh, but I would have expected something to end up in ~/.nix-profile/share/zsh/site-functions
___laika has quit [Ping timeout: 245 seconds]
sudoforge has joined #nixos
vmandela has quit [Quit: Leaving]
Xyliton has joined #nixos
___laika has joined #nixos
<Xyliton> What might cause `nixos-rebuild switch --upgrade` to run into multiple timeouts when trying to fetch archives from the nixos cache?
<Xyliton> I've tried restarting it multiple times but I always get timeouts at random points which ultimately errors out of the whole upgrade process
<{^_^}> [hydra] @edolstra merged pull request #672 → Extend the jobset API response → https://git.io/fjdKi
<{^_^}> [hydra] @edolstra pushed 2 commits to master: https://git.io/fjdXW
<maralorn> Sadly a lot of things? Are you sure it’s not a faulty connection?
<Xyliton> maralorn: yes, my connection is working just fine. It successfully copies lots of files from the online cache but then decides to choke on some later on
<{^_^}> [hydra] @edolstra closed pull request #664 → hydra-server: jobsets api endpoint returns more elements → https://git.io/fjyJs
ixxie has joined #nixos
sudoforge has quit [Ping timeout: 250 seconds]
Hedgework has quit [Ping timeout: 252 seconds]
<{^_^}> [nixpkgs] @edolstra closed pull request #66714 → rustc: 1.36.0 -> 1.37.0 → https://git.io/fjdw6
kandinski has quit [Ping timeout: 245 seconds]
wildtrees has joined #nixos
kandinski has joined #nixos
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos
bricewge has quit [Ping timeout: 276 seconds]
smolboye[m] has quit [Ping timeout: 276 seconds]
<{^_^}> [nixpkgs] @matthewbauer reopened pull request #64427 → chromium: Strip with --strip-unneeded to reduce binary size. → https://git.io/fjild
lambda-11235 has joined #nixos
<{^_^}> [nixpkgs] @matthewbauer closed pull request #64427 → chromium: Strip with --strip-unneeded to reduce binary size. → https://git.io/fjild
wildtrees has quit [Max SendQ exceeded]
bricewge has joined #nixos
Hedgework has joined #nixos
smolboye[m] has joined #nixos
wildtrees has joined #nixos
jollyjester has joined #nixos
wildtrees has quit [Max SendQ exceeded]
freeman42x has joined #nixos
ToxicFrog has quit [Ping timeout: 246 seconds]
jgt has quit [Ping timeout: 252 seconds]
<jollyjester> i'm getting the following error
wildtrees has joined #nixos
<jollyjester> any way to fix it? it appears when doing nixos-install
<samueldr> jollyjester: it's likely you want to follow the tip in "a)"
<jollyjester> i've added it, it still appears
wildtrees has quit [Max SendQ exceeded]
ToxicFrog has joined #nixos
<samueldr> in the target configuration.nix file, right? (the installer media has /etc/configuration.nix, too, which is for the live system)
<{^_^}> [nixpkgs] @peti pushed 5 commits to haskell-updates: https://git.io/fjdXw
forgon has joined #nixos
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « all-cabal-hashes: update to Hackage at 2019-08-10T08:59:19Z »: https://git.io/fjdXK
<{^_^}> [nixpkgs] @peti pushed 6 commits to master: https://git.io/fjdX6
<jollyjester> ok fixed, i didn't add it to both of the files
<jollyjester> you guys should probably add a little snippet of unfree software as a hint on the installation manual
<jollyjester> anyways, thanks
jollyjester has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @matthewbauer closed pull request #66569 → mesa: Put surfaceless last → https://git.io/fj5rb
jlv has joined #nixos
selfsymmetric-pa has quit [Remote host closed the connection]
<jlv> Say that I have my configuration split into multiple modules, how might I add a package in one of those modules, instead of in a master packages list?
<Xyliton> maralorn: it is getting even weirder: I can download the files that time out when doing nixos-rebuild through firefox just fine
forgon has quit [Quit: Ceterum censeo Qwerty esse delendam...]
dsiypl4 has quit [Ping timeout: 248 seconds]
Shouou has joined #nixos
<__monty__> Xyliton: Is that weird though? Browsers are usually more tenacious.
<Xyliton> __monty__: is it possible to tell nixos-rebuild to not give up so quickly?
<jlv> Wait, does it just merge the lists if I have import a module with `packages` defined?
<jlv> That's what it looks like, but I didn't expect that.
o1lo01ol1o has joined #nixos
<__monty__> Xyliton: I'm not sure my "solution"'s been to just restart nix commands until they finish. That's obviously not ideal but it hasn't bothered me enough to actually find a fix.
o1lo01ol1o has quit [Ping timeout: 272 seconds]
hmpffff has quit [Quit: nchrrrr…]
kleisli has quit [Ping timeout: 268 seconds]
jgt has joined #nixos
Jackneill has quit [Remote host closed the connection]
hmpffff has joined #nixos
jgt has quit [Ping timeout: 250 seconds]
hmpffff_ has joined #nixos
hmpffff has quit [Ping timeout: 252 seconds]
allodium has joined #nixos
mexisme has joined #nixos
ris has joined #nixos
dsiypl4 has joined #nixos
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/35841f87afa (from 6 hours ago, history: https://channels.nix.gsc.io/nixos-19.03)
mexisme has quit [Ping timeout: 264 seconds]
Neo--- has quit [Ping timeout: 264 seconds]
Guanin has joined #nixos
Guest10 has joined #nixos
<Xyliton> I can't get those cache problems to go away. I'm worried I might be stuck with my system in this current state
xkapastel has joined #nixos
kleisli has joined #nixos
Guest10 has quit [Client Quit]
janders223 has joined #nixos
lavalike has left #nixos [#nixos]
wildtrees has joined #nixos
<janders223> I'm struggling with a custom derivation not respecting the `unpackCmd`, does anyone mind taking a look? https://gist.github.com/janders223/c9b638e37c41cf6ec35e778c6641de76
___laika has quit [Ping timeout: 244 seconds]
Chiliparrot has joined #nixos
<gchristensen> NixOS office hours will be getting started in 15 minutes, join us: zoom.us/j/120295959, #nixos-officehours, https://www.youtube.com/watch?v=AWPM6di0KSk
allodium has quit [Remote host closed the connection]
<averell> janders223: how do you know, what is the error?
<averell> (also, postman is packaged, right? and that hash is apparently wrong)
<janders223> do not know how to unpack source archive /nix/store/yd1hk3la3w6ywx5limallkmjb6is7maa-osx
<janders223> This is the postman macos app
sebboh has left #nixos ["WeeChat 2.5"]
<nh2> ryantm: for stuff like https://github.com/NixOS/nixpkgs/pull/66163, should it go into staging or is it my task as a maintainer to switch the PR to master if I think it should also go to master?
<{^_^}> #66163 (by r-ryantm, 1 week ago, merged): srt: 1.3.2 -> 1.3.3
<averell> what if you manually unpack? that command seems right. you can add echos or something to see it's being respected.
<averell> maybe unzip on macos needs extra switches
<janders223> I'll keep digging
<{^_^}> [nixpkgs] @matthewbauer opened pull request #66729 → autogen: reduce closure size → https://git.io/fjd1u
<averell> also as that hash was wrong, maybe you're editing a different file than evaluating or something like that
inkbottle has quit [Ping timeout: 246 seconds]
<janders223> what is the best way to get the hash? I was told to use `nix-prefetch-url -unpack`
Xyliton has quit [Quit: Lost terminal]
<averell> ,tofu but whatever works
<{^_^}> but whatever works: To get a sha256 hash of a new source, you can use the Trust On First Use model: use probably-wrong hash (for example: 0000000000000000000000000000000000000000000000000000) then replace it with the correct hash Nix expected.
<averell> well.. :)
<janders223> That's what I thought
janders223 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jgt has joined #nixos
ericsagnes has quit [Ping timeout: 264 seconds]
ericsagnes has joined #nixos
felixfoertsch has joined #nixos
felixfoertsch has quit [Client Quit]
felixfoertsch has joined #nixos
jlv has quit [Remote host closed the connection]
jgt has quit [Ping timeout: 264 seconds]
joshuagl has quit [Quit: Textual IRC Client: www.textualapp.com]
psyanticy has joined #nixos
ryantm has quit [Ping timeout: 244 seconds]
mexisme has joined #nixos
janders223 has joined #nixos
jgt has joined #nixos
endformationage has joined #nixos
hyperfekt has joined #nixos
hyperfekt has left #nixos [#nixos]
<{^_^}> [nixpkgs] @bbigras opened pull request #66730 → starship: init at 0.10.1 → https://git.io/fjdM0
hyperfekt has joined #nixos
pie_ has quit [Ping timeout: 252 seconds]
hyperfekt has quit [Quit: hyperfekt]
hyperfekt has joined #nixos
hyperfekt has left #nixos [#nixos]
hyperfekt has joined #nixos
hyperfekt has left #nixos [#nixos]
orivej has joined #nixos
<symphorien> janders223: set `name = "foo.tar.bz2"; ` in the fetchurl call
<symphorien> fetchurl looks at the extension to know how to unpack the source
<symphorien> so you need to provide the right extension
<janders223> I actually figured it out…I was an idiot and had two different derivations and was calling the old one and working in the new one
<janders223> I got it to work as is once I got past my mistake
<symphorien> :)
___laika has joined #nixos
jgt has quit [Ping timeout: 264 seconds]
MmeQuignon has joined #nixos
<AWizzArd> How would I install software that I have to download from some web pages? For example Skype. It comes as a .deb file and easily installs under Ubuntu. How could I install such an app under NixOS?
<symphorien> skipe is in nixpkgs
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<symphorien> it is not in the search page because it is unfree
<symphorien> ,unfree AWizzArd
<{^_^}> AWizzArd: You cannot install your unfree software? See https://nixos.wiki/wiki/FAQ/unfree
Chiliparrot has joined #nixos
o1lo01ol1o has joined #nixos
<AWizzArd> {^_^}: I don’t have NixOS installed yet. I am reading first about it before I do the install. This was just one question that came up. Thanks for the link!
mexisme has quit [Ping timeout: 264 seconds]
inkbottle has joined #nixos
___laika has quit [Ping timeout: 245 seconds]
erasmas has quit [Quit: leaving]
<{^_^}> [nixpkgs] @markuskowa opened pull request #66732 → armadillo: 9.600.5 -> 9.600.6 → https://git.io/fjdDO
dsiypl4 has quit [Ping timeout: 245 seconds]
selfsymmetric-pa has joined #nixos
<markasoftware> Where is the unix socket for PostgreSQL?
<markasoftware> also, how did the devs come to the decision not to have a services.postgresql.databases config option? It seems much more convenient than relying on the initialScript, since the initialScript cannot account for addition or deletion of databases after initial setup.
dsiypl4 has joined #nixos
dasj19 has quit [Quit: dasj19]
jgt has joined #nixos
<srid> Is there an alternative to `developPackage` (haskell) that supports a multi project cabal source tree? (with `cabal.project` and all ...)
bdesham has left #nixos [#nixos]
<infinisil> srid: I've used shellFor for that before, but it's not optimal
jabranham has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<infinisil> Well use haskellPackages.override with callCabal2nix to get your packages in scope, then shellFor with these new packages
<infinisil> It's rather manual
waleee-cl has joined #nixos
<infinisil> I wonder if haskell.nix can do this better, it might
<srid> developPackages uses callCabal2nix. I do wonder if I can still use developPackage and somehow invoke nix-shell with arguments specifying the package I want to develop. cf. https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/make-package-set.nix#L215-L241
<clever> srid: i just write a default.nix, that loads each cabal file with callCabal2nix and shoves them all into an overlay
<srid> infinisil: did you recall seeing `Setup: filepath wildcard 'README.md' does not match any files.` with shellFor?
<clever> srid: is that listed in the cabal file? does it exist?
<infinisil> ^^
<srid> clever: yea. it works fine if i put the default.nix under ./foo (the package name); but not if default.nix is in project root.
<clever> srid: is the src= correct?
<clever> you must run cabal2nix from the same dir the default.nix will exist in
<srid> and my default.nix is:
nDuff has joined #nixos
<clever> with a relative path
<{^_^}> [nixpkgs] @pradyuman opened pull request #66733 → postmark-cli: init in nodePackages → https://git.io/fjdDN
orivej has quit [Ping timeout: 246 seconds]
<srid> I assumed `shellFor` automatically did callcabal2nix?
<clever> probably
<srid> it has to, because running `nix-shell` nearly finished running `cabal new-build` and failed at the end (haddock stage)
xantoz has quit [Quit: WeeChat 2.5]
<clever> srid: are you also using .env ?
xantoz has joined #nixos
<srid> clever: what's .env? (i don't have that file in the project)
<clever> something like nix-shell '<nixpkgs>' -A haskellPackages.servant.env
<clever> i believe shellFor uses that behind the scenes, you could try it also
<infinisil> clever: Actually it's the other way around, .env uses shellFor
<srid> wait, i'm actually running `nix-shell -A summoner` (since you have to select a package to build with shellFor). i'm yet to make it work with nix-shell
<clever> ah, heh
<srid> sorry, `nix-build -A summoner` (build not shell)
<clever> can you add all of the nix files to the github repo and link the branch?
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/cb4e56a7e93 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
* clever looks
felixfoertsch has quit [Quit: Textual IRC Client: www.textualapp.com]
hyperfekt has joined #nixos
hyperfekt has left #nixos [#nixos]
ixxie has quit [Ping timeout: 248 seconds]
hyperfekt has joined #nixos
<clever> still building...
jgt has quit [Ping timeout: 252 seconds]
MmeQuignon has quit [Ping timeout: 264 seconds]
<srid> it was using the official cache for all haskell dependencies until I did override of `parser-combinators`
<clever> yeah, overrides tend to do that
xkapastel has quit [Quit: Connection closed for inactivity]
mla has joined #nixos
<mla> how can i find what package / library a specific .h header file belongs to?
<clever> mla: nix-locate or the ,locate command on the bot
<mla> clever: ah great thanks, generating the index now
__monty__ has quit [Quit: leaving]
<clever> srid: yep, i can reproduce the problem
<clever> [clever@system76:~/apps/summoner]$ nix-store -q --binding src /nix/store/nxbvq540470z5b42y6p2y3z0q14s0ql1-summoner-1.3.0.1.drv
<clever> /nix/store/drzs7mzc03cjgs4q95maz0g1wcn8sv2d-summoner-cli
Ariakenom has joined #nixos
<clever> srid: aha
<clever> srid: README.md is a symlink to ../README.md
<clever> but summoner-cli was copied without its parent dir
<clever> so README.md doesnt exist anymore!
<clever> 2019-08-16 18:19:54 < clever> srid: is that listed in the cabal file? does it exist?
<clever> i was half right, but didnt think about symlinks getting broken
<srid> ah interesting. LICENSE too. so nix ignores symlinks for a good reason
psyanticy has quit [Quit: Connection closed for inactivity]
<clever> srid: not exactly
<clever> srid: nix is copying the symlink, but symlinks to ../ fail because nix copied only summoner-cli
Ariakenom_ has quit [Ping timeout: 245 seconds]
<clever> srid: run the same -q --binding on your drv file, then ls the resulting dir, and try to read its README.me
<srid> right; can i make it copy it including the symlink target
NightTrain has joined #nixos
<clever> not easily
Chiliparrot has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
judson__ has quit [Ping timeout: 244 seconds]
judson has quit [Ping timeout: 244 seconds]
janders223 has quit [Quit: Textual IRC Client: www.textualapp.com]
selfsymmetric-pa has quit [Remote host closed the connection]
<{^_^}> [nixpkgs] @kalbasit opened pull request #66734 → pythonPackages.pykalman: init at 0.9.5 → https://git.io/fjdyu
MmeQuignon has joined #nixos
MmeQuignon has quit [Client Quit]
o1lo01ol1o has quit [Remote host closed the connection]
o1lo01ol1o has joined #nixos
lambda-11235 has quit [Quit: Bye]
jgt has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/21a9aa0fcc8 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
dsiypl4 has quit [Ping timeout: 245 seconds]
o1lo01ol1o has quit [Remote host closed the connection]
cartwright has quit [Ping timeout: 260 seconds]
o1lo01ol1o has joined #nixos
<{^_^}> [nixpkgs] @aanderse merged pull request #66661 → apfs-fuse: init at 20190723 → https://git.io/fjdqa
<{^_^}> [nixpkgs] @aanderse pushed 3 commits to master: https://git.io/fjdy9
zeta_0 has joined #nixos
ddellacosta has joined #nixos
kleisli has quit [Ping timeout: 258 seconds]
mekeor has joined #nixos
jgt has quit [Ping timeout: 252 seconds]
mexisme has joined #nixos
freedan42x has joined #nixos
<freedan42x> How do I install wifi driver for BCM43142?
<clever> freedan42x: have you tried hardware.enableAllFirmware = true;?
<{^_^}> [nixpkgs] @timokau merged pull request #65802 → sage: add patch to debug transient issue → https://git.io/fj9Sc
<{^_^}> [nixpkgs] @timokau pushed 4 commits to master: https://git.io/fjdyp
mexisme has quit [Ping timeout: 252 seconds]
<freedan42x> clever, just tried. iwconfig still says "no wireless extension"
<clever> freedan42x: do you know what you normally have to load with modprobe to make it work?
<freedan42x> clever, I have literally 0 experience with that :(
<clever> freedan42x: a quick google says its `wl`
<clever> ,locate wl.ko
<{^_^}> Couldn't find in any packages
is_null has quit [Ping timeout: 245 seconds]
<freedan42x> clever, it does not say anything
<clever> does dmesg show anything?
<freedan42x> yes
<clever> can you pastebin it?
<freedan42x> it's like a few thousands of lines. is it intended to be?
<clever> yes
<freedan42x> clever, oh, it's 75k lines. where do I paste it then?
<clever> freedan42x: i prefer gist.github.com
<clever> [ 2.825289] usb 3-3: new full-speed USB device number 3 using ohci-pci
<clever> [ 2.996342] usb 3-3: Product: BCM43142A0
<clever> [ 16.770549] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-04ca-2009.hcd failed with error -2
<clever> freedan42x: so, its looking for a file with that name
<clever> ,locate BCM43142A0-04ca-2009.hcd
<{^_^}> Couldn't find in any packages
o1lo01ol1o has quit [Remote host closed the connection]
<freedan42x> clever, again says nothing
<clever> what says nothing?
<freedan42x> that command doesn't show anything
<clever> i can see that
<freedan42x> oh, I got it. I thought you wanted me to type those commands. sorry for confusion
<clever> it looks like the firmware isnt packaged in nixpkgs
<freedan42x> clever, I will say that in case. Currently I am using usb to receive internet connection from phone
<clever> is this a wifi or bluetooth adapter?
<clever> the logs say its bluetooth
<freedan42x> wifi obviously
<clever> [ 16.770549] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-04ca-2009.hcd failed with error -2
<clever> logs call it bluetooth here
<clever> freedan42x: what does `iwconfig` and `ip link` show?
<freedan42x> hmm.. I had same wifi problems with PopOS, but I fixed it with installing bcmwl-kernel-source
<clever> i dont see bcmwl in nixpkgs, so we would need the link to its source to even start
<freedan42x> clever, https://paste2.org/kvZdbsZm
<clever> yeah, looks like we need bcmwl-kernel-source packaged first
<freedan42x> clever, I can find .deb version. But I am not familiar with .deb files
<clever> source would be better, like an upstream github
<freedan42x> btw, I had this like an year ago, it worked, but now it doesn't seem to help `boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];`
<clever> details like that shouldnt be kept secret :P
<{^_^}> [nixpkgs] @andir merged pull request #66727 → Firefox 68.0.2 → https://git.io/fjdPx
<{^_^}> [nixpkgs] @andir pushed 5 commits to master: https://git.io/fjdSu
<freedan42x> clever, maybe this https://github.com/longsleep/bcmwl-ubuntu?
<clever> freedan42x: broadcom_sta contains wl.ko, the driver, so that is helping, the problem is that the firmware is missing
<freedan42x> clever, https://nixos.org/nixos/packages.html#broadcom this have firmware only for bluetooth
<clever> freedan42x: broadcom-bt-firmware has the missing firmware file
<clever> freedan42x: you want hardware.firmeware = [ pkgs.broadcom-bt-firmware ];
Soo_Slow has quit [Remote host closed the connection]
<freedan42x> clever, do I need this in config or hardware-config?
<clever> configuration.nix
<clever> also, the files are basically identical, anything that works in one, works in the other
kleisli has joined #nixos
<clever> but nixos-generate-config will overwrite hardware-configuration.nix without asking
<freedan42x> clever, rebuilted, what's now?
<clever> freedan42x: reboot
freedan42x has quit [Remote host closed the connection]
jgt has joined #nixos
freedan42x has joined #nixos
dsiypl4 has joined #nixos
dsiypl4 has quit [Max SendQ exceeded]
dsiypl4 has joined #nixos
<freedan42x> clever, now I got this in iwconfig: https://paste2.org/71NXPCNY
<clever> freedan42x: yep, its working, so now you just configure wireless as normal
<freedan42x> clever, what do you use for connecting to wifi?
<clever> freedan42x: networking.wireless.enable = true; and manually create a /etc/wpa_supplicant.conf
<clever> if using wpa, run `wpa_passphrase networkname password` to generate a config block for the file
zeta_0 has quit [Quit: taking break]
<freedan42x> clever, I have some troubles with it. Like, if my router reboots, I need to reboot nixos also to get wifi working back
<freedan42x> had*
<clever> check the logs and status next time, to see why
<jasom> freedan42x: should be able to just restart wpa_supplicant to fix that, right?
* jasom just uses nm though
<freedan42x> jasom, isn't that annoying each time restart wpa_supplicant?
<clever> freedan42x: it should reconnect on its own, check the logs to see why it isnt
<jasom> freedan42x: better than rebooting, no?
Rusty1 has joined #nixos
<jasom> freedan42x: but see also what clever says
<freedan42x> yup :)
hmpffff_ has quit [Quit: nchrrrr…]
hmpffff has joined #nixos
hmpffff has quit [Client Quit]
<freedan42x> clever, created config file, how do I connect?
<clever> freedan42x: restart wpa_supplicant any time you change the config file
chuenifule has joined #nixos
freedan42x_ has joined #nixos
<freedan42x_> clever, thank you for the help!
jgt has quit [Ping timeout: 252 seconds]
freedan42x has quit [Ping timeout: 248 seconds]
zeta_0 has joined #nixos
dsiypl4 has quit [Ping timeout: 245 seconds]
zeta_0 has quit [Client Quit]
Soo_Slow has joined #nixos
vesper11 has quit [Ping timeout: 246 seconds]
ng0 has quit [Ping timeout: 260 seconds]
dansvo has joined #nixos
freedan42x_ has quit [Ping timeout: 245 seconds]
rprije has joined #nixos
dansvo has quit [Client Quit]
sheeldotme has joined #nixos
ng0 has joined #nixos
<sheeldotme> hi, has anyone used go modules with nix? I'm trying to create a new module in nix-shell and I'm getting a few errors: https://0bin.net/paste/yT69a1Qqsr8lx9wF#ov-MqW+vQyYJZhhnIZ4LMG3pbKbYom5M5dvtvlo1O+b
<sheeldotme> Any idea if I'm going about this the wrong way?
<sheeldotme> I know I can build a go module like this: https://nixos.org/nixpkgs/manual/#sec-language-go, but I'm not sure how to create one in the first place.
<adisbladis> sheeldotme: Unset GOPATH
<sheeldotme> adisbladis, that did it thanks!
nDuff has quit [Ping timeout: 268 seconds]
mekeor has quit [Ping timeout: 272 seconds]
ng0 has quit [Quit: Alexa, when is the end of world?]
william123456 has joined #nixos
mexisme has joined #nixos
wildtrees has quit [Quit: Leaving]
jgt has joined #nixos
mbrgm_ has joined #nixos
notgne3 has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm