gchristensen changed the topic of #nixos to: NixOS stable: 18.09, beta: 19.03 https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950 || https://nixos.org || Latest NixOS: https://nixos.org/nixos/download.html || Latest Nix: https://nixos.org/nix/download.html || Logs: https://logs.nix.samueldr.com/nixos/ || #nixos-dev, #nix-darwin, #nixos-aarch64, #nixos-chat, #nixcon ... nixcon videos: https://tinyurl.com/nixcon2018
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adetokunbo has quit [Quit: This computer has gone to sleep]
Erasmus has joined #nixos
<rotaerk> hmm I see 'kakoune-unstable' was renamed to 'kakoune', and I see the latter if I `grep -nr kakoune` from within /nix/var/nix/profiles/per-user/root/channels/nixos
<rotaerk> but if I nix-env -qa, it still shows kakoune-unstable
<rotaerk> what am I likely failing to do?
mabel has joined #nixos
polman has joined #nixos
<{^_^}> [nixpkgs] @bendlas pushed to master « chromium: disable vaapi support »: https://git.io/fjkzv
drakonis_ has joined #nixos
drakonis2 has joined #nixos
init_6 has joined #nixos
<rotaerk> I feel like at some point I tried to bypass channels and manually manage a local clone of nixpkgs ... but I don't see how that would've been setup to be used
mbrgm_ has joined #nixos
drakonis1 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58596 → nixos/rename: drop system.nixos.{stateVersion, defaultChannel} → https://git.io/fjkEs
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjkzT
<rotaerk> I just noticed that, while root had nixos-unstable-small as a channel, my main user did not. I just added it (called nixos) and then did nix-channel --upgrade nixos
m0rphism has quit [Ping timeout: 255 seconds]
drakonis_ has quit [Ping timeout: 250 seconds]
<rotaerk> but then when I nix-env -qa, I get: warning: name collision in input Nix expressions, skipping '/home/rotaerk/.nix-defexpr/channels_root/nixos'
mbrgm has quit [Ping timeout: 255 seconds]
mbrgm_ is now known as mbrgm
<rotaerk> ah; I see... that's just from having a nixos channel on both users
<samueldr> it's probably unwise to have a channel named `nixos` as your used, as it could cause confusion given that the system is built using root's `nixos` channel (by default)
<rotaerk> yeah
<{^_^}> [nixpkgs] @worldofpeace opened pull request #58599 → [19.03] nixos/rename: drop system.nixos.{stateVersion, defaultChannel} → https://git.io/fjkzt
<rotaerk> I'm just kind of confused as to why nix-env isn't seeing the package that exists in /nix/var/nix/profiles/per-user/root/channels/nixos
evanm has quit [Ping timeout: 256 seconds]
<rotaerk> seeing some older version
init_6 has quit [Read error: Connection reset by peer]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
<rotaerk> ah, interesting. if I nix-env -qa from root, I see the new packages; if I do so from my main user, I see the old one
init_6 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/f1b08ec9ec4 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<mightybyte> Anyone know how I can debug remote builder that's not working? I verified that I can indeed connect to the builder, ping-store works, and I'm using -vvvvv but I don't see any useful information for debugging this problem.
<{^_^}> [nixpkgs] @AerialX opened pull request #58600 → MSP430 debug stack → https://git.io/fjkzZ
init_6 has quit [Read error: Connection reset by peer]
<{^_^}> [nixpkgs] @samueldr merged pull request #58599 → [19.03] nixos/rename: drop system.nixos.{stateVersion, defaultChannel} → https://git.io/fjkzt
<{^_^}> [nixpkgs] @samueldr pushed 2 commits to release-19.03: https://git.io/fjkzC
iyzsong has joined #nixos
jluttine has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 245 seconds]
Fare has quit [Ping timeout: 255 seconds]
<rotaerk> oh ... my /boot is full. even if I clear out all the old stuff from /boot/kernels, `nixos-rebuild boot` seems to recreate it all and fill it up
jluttine has joined #nixos
<clever> rotaerk: you need to nix-collect-garbage some profiles (-d or --delete-older-than) to stop nixos-rebuild from copying them back
<rotaerk> ah
erictapen has quit [Ping timeout: 268 seconds]
erictapen has joined #nixos
silver has quit [Read error: Connection reset by peer]
npmccallum has quit [Quit: npmccallum]
shabius_ has joined #nixos
npmccallum has joined #nixos
<rotaerk> clever, that changed the error; after garbage collecting everything older than 60 days, I then ran nixos-rebuild boot, and I get: Died at /nix/store/3bsj5f8g24849rk71l0gvbqjrxqmhynr-install-grub.pl line 33.
<rotaerk> after it's attempting to updatte the GRUB 2 boot menu
<clever> rotaerk: do you still have free space on /?
jluttine has quit [Ping timeout: 250 seconds]
shabius has quit [Ping timeout: 258 seconds]
<rotaerk> oh, deleting the contents of /boot/kernels fixed that error
<rotaerk> think I'm good now; thanks... time to reboot and see if it worked
<rotaerk> bleh. even after getting the nixos-rebuild to work properly, I still don't see the latest packages when I run nix-env from my non-root user
<clever> rotaerk: nixos-rebuild will never affect nix-env
<clever> rotaerk: nix-env's versions depend on when you last did nix-channel --update
<elvishjerricco> mightybyte: Maybe strace the nix process and see what it's trying to do, then try to duplicate that manually?
<elvishjerricco> strace has become a good friend of mine recently :P
<mightybyte> elvishjerricco: Oh, good idea. I was really helping nix would just tell me.
<{^_^}> [nixpkgs] @peti pushed to haskell-updates « hackage-packages.nix: automatic Haskell package set update »: https://git.io/fjkzr
<elvishjerricco> mightybyte: Yea it's odd that it's not giving you feedback. Whatever it ends up being, I'd file a bug report with nix
npmccallum has quit [Quit: npmccallum]
<rotaerk> clever, I see. well I just ran `nix-channel --update nixos`, and nix-env -qa still lists kakoune-unstable
<rotaerk> while if I run nix-env -qa from root, it lists kakoune
<rotaerk> (the latter being newer)
npmccallum has joined #nixos
<rotaerk> I have no channels setup for my non-root user
<clever> rotaerk: as a non-root user, `ls -l ~/.nix-defexpr/channels*/*` into a pastebin
<rotaerk> is there a good paste site that you can paste to from a shell, now that ptpb.pw is gone
<gchristensen> ix.io
<rotaerk> ty
<gchristensen> but, caution: I know some people have lost their jobs accidentally pasting secrets to it
init_6 has joined #nixos
<rotaerk> heh
<mabel> I'm trying to package an OSS project that requires cmake. I have the derivation set up, but configure fails because the project requires cmake to be built with CMAKE_USE_OPENSSH
<clever> rotaerk: i prefer using gist though
<mabel> so I did cmake.overrideDerivation (oldAttrs: { buildInputs = oldAttrs.buildInputs ++ [ openssl ]; configureFlags = oldAttrs.configureFlags ++ [ "-DCMAKE_USE_OPENSSH=ON" ]; }
<mabel> that derivation builds, but it doesn't seem to have cmake openssh support.
init_6 has quit [Read error: Connection reset by peer]
<mabel> did I do something wrong? is that not how you're supposed to set cmake settings?
<rotaerk> clever, there you go; and yeah, I keep forgetting about gist
<clever> rotaerk: yeah, only root has a channel, and the channel is called nixos, so both users should agree, baring overrides
<clever> rotaerk: does ~/.nixpkgs/config.nix or ~/.config/nixpkgs/config.nix exist?
tmaekawa has quit [Ping timeout: 245 seconds]
thc202 has quit [Ping timeout: 268 seconds]
<rotaerk> ohh, there we go... yes, both do
<rotaerk> and I have something mapping 'kakoune' to 'kakoune-unstable' in the latter...
<clever> rotaerk: and does either override the version of the package in question?
<rotaerk> lol
Fare has joined #nixos
<rotaerk> I thought I had set something like that up, but I forgot where it was... I didn't see it in ~/.nixpkgs/config.nix, and forgot ~/.config/nixpkgs/config.nix existed
<rotaerk> what's the difference between the two?
<clever> rotaerk: ~/.config/nixpkgs/config.nix is the new path and has priority
<clever> it got moved to conform to the XDG? standard
init_6 has joined #nixos
<rotaerk> ah; I'm going to delete the other to prevent it from distracting me
<rotaerk> thanks a bunch
<mightybyte> elvishjerricco: Oops, I can't. I'm on mac.
<elvishjerricco> mightybyte: Ah, macOS does have dtrace, but I've never been able to figure out how to use it
<elvishjerricco> supposedly it's as good as strace though
<mightybyte> lol
<clever> elvishjerricco: just run execsnoop as root, thats enough for this debugging
<clever> no args needed
<clever> opensnoop is the other pre-made tool for it
<elvishjerricco> clever: How do you use execsnoop to spawn the command you want to to snoop on?
init_6 has quit [Read error: Connection reset by peer]
<elvishjerricco> AFAICT it just snoops for other running process of a given command
<clever> elvishjerricco: execsnoop shows you what was ran, then try manually running the same thing in a terminal
<elvishjerricco> clever: Ahh, so it doesn't show you the syscalls?
<clever> elvishjerricco: i think it will only show syscalls related to executing things
Ariakenom has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @groodt closed pull request #58557 → bazel: 0.22.0 doesn't build in Darwin sandbox → https://git.io/fjTA2
Fare has quit [Ping timeout: 246 seconds]
<mightybyte> elvishjerricco: Oh, figured it out. I forgot that I'm still running the nix daemon on this machine.
<elvishjerricco> mightybyte: What does that have to do with it?
ym555 has quit [Ping timeout: 245 seconds]
tdbgamer has joined #nixos
<mightybyte> That means that it's trying to SSH to the remote build machine as root instead of my user.
<mabel> any idea what I should do to get around CMAKE_USE_OPENSSH not being supported?
<mabel> oh gosh... it looks like this build system relies almost entirely on downloading all its dependencies during make
<mabel> it's a "SuperBuild" sort of build
Supersonic has quit [Ping timeout: 258 seconds]
<clever> mabel: thats very anti-nix!
<mabel> it is! I'm not sure if it's even possible to package this for Nix
<clever> mabel: just rewrite the cmake file!
<mabel> it's an open-source DICOM medical imaging viewer, and I'm hoping to use it to see my brain scan results
<mabel> it's a pretty huge repository, and I don't know cmake, so I don't think that's viable for me
<clever> mabel: cmake is pretty simple, the harder part is knowing enough c/c++ to re-assemble things
<mabel> https://www.slicer.org/ it's this thing. it looks pretty beefy
Supersonic has joined #nixos
<mog> any word on when 19.03 might drop? are we waiting to get zero hydra failures? or something else?
Fare has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<nh2> zimbatm: do you maintain https://builtwithnix.org? I get a `ERR_CERT_COMMON_NAME_INVALID` TLS error
<colemickens> mog, ^ one of those issues is specifically for zero failures as well
<gchristensen> ehh it is being served github's certs
<mightybyte> Is it possible to do a build with remote builders but have the current machine not be used for building at all?
<mog> thank you, i was curious as to what was left
<nh2> mightybyte: yes, pass `--max-jobs 0`
<mightybyte> Oh nice
<samueldr> manveru: ^ see nh2's comment about builtwithnix.org (I think you were involved?)
nD5Xjz_ has quit [Ping timeout: 268 seconds]
<samueldr> though it might be a case of github pages having an issue?
shibboleth has quit [Quit: shibboleth]
nD5Xjz has joined #nixos
goibhniu1 has quit [Ping timeout: 246 seconds]
<{^_^}> [nixpkgs] @worldofpeace opened pull request #58601 → typora: 0.9.64 -> 0.9.68 → https://git.io/fjkgU
<{^_^}> [nixpkgs] @jerith666 opened pull request #58602 → WIP: openjdk: 11.0.2 -> 12 → https://git.io/fjkgT
jluttine has joined #nixos
<{^_^}> [nix] @nh2 opened pull request #2750 → docs: Mention `--max-jobs 0` to build remotely only → https://git.io/fjkgI
<{^_^}> nix#2750 (by nh2, 35 seconds ago, open): docs: Mention `--max-jobs 0` to build remotely only
<gchristensen> nice, nh2 :)
<nh2[m]> gchristensen: "Maybe make a new here?" -- do you mean "a new <para>"?
<gchristensen> lol, yeah, there actually is a <para> there but
<{^_^}> [nixpkgs] @dtzWill opened pull request #58603 → yubico-pam: init, nixos integration → https://git.io/fjkg8
<samueldr> markdown accepts html
<samueldr> so it annoyingly eats tag
<samueldr> s
<gchristensen> nothing a little &lt; &gt; can't solve
<nh2[m]> ah
<samueldr> you only need to escape the opening one :)
<nh2[m]> dtz: nice
<samueldr> finally took the time to look at autorandr, and with that udev magic it just works https://gitlab.com/samueldr/nixos-configuration/commit/8a0c551b1bf2119f37af2bff61d3714d0c64ab2e
<gchristensen> awesome!!
slack1256 has joined #nixos
<samueldr> (autorandr.service is provided by the nixos configuration)
<{^_^}> [nixpkgs] @veprbl merged pull request #36886 → doc: mention symlinkJoin in multiple-outputs section → https://git.io/vxJmE
<{^_^}> [nixpkgs] @veprbl pushed 2 commits to master: https://git.io/fjkgE
<gchristensen> I wish X and my monitor better
<samueldr> have you checked whether the intel vs. modesetting X driver works better?
<gchristensen> yea
<gchristensen> it doesn't :/ I've moved to sway which makes 4/4 of my regularly used graphical programs worse, but it hotplugs properly.
<samueldr> turns out the solution to my bad tearing was to go back to the intel (SNA?) driver
<samueldr> I say "back", but AFAIUI it's still developed
everybodyHertz has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjkgz
<gchristensen> ok, past my bed time. g'night, and congratulations :)
<mabel> ok, think I found a way to disable their "superbuild" thing
<mabel> if not I guess I can always rewrite their whole build system like @clever said and include it as a patch file
<everybodyHertz> I'm having some trouble with a GCE deployment in nixops: any time I attempt to deploy, it runs into 4 async exceptions- each of which references a project that is not the project defined in my .nix files (it's just some string of numbers, so I have no clue where it came from)
<{^_^}> [nixpkgs] @Infinisil merged pull request #58517 → iterm2: fix build → https://git.io/fjTiT
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjkg2
<everybodyHertz> also, has anyone been able to use the images out on gs://nixos-cloud-imags ? I keep getting access denied when I try to use them
<worldofpeace> infinisil: great job on tagging "has: package (update)" btw 😀
<infinisil> Hehe thanks
<worldofpeace> Though I don't see why ofborg couldn't do that automagically
<infinisil> worldofpeace: Probably just not implemented yet
<{^_^}> [nixpkgs] @Ma27 merged pull request #58574 → phpPackages.phpc(s|bf): 3.4.0 -> 3.4.1 → https://git.io/fjkTq
<worldofpeace> infinisil: ideas for a future feature reques then
<{^_^}> [nixpkgs] @Ma27 pushed 3 commits to master: https://git.io/fjkgM
<worldofpeace> * request
alex`` has quit [Quit: WeeChat 2.4]
Glider_IRC has joined #nixos
mabel has quit [Ping timeout: 268 seconds]
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/7e39a961fdc (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
endformationage has joined #nixos
<{^_^}> [nixpkgs] @dtzWill merged pull request #58569 → electron{,_3}: minor updates → https://git.io/fjkv8
<{^_^}> [nixpkgs] @dtzWill pushed 3 commits to master: https://git.io/fjkgN
vk3wtf has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @veprbl merged pull request #58108 → root5: fix build → https://git.io/fjJeY
<{^_^}> [nixpkgs] @veprbl pushed 3 commits to master: https://git.io/fjkgx
<{^_^}> [nixpkgs] @worldofpeace closed pull request #56533 → typora: 0.9.64 -> 0.9.65 → https://git.io/fhNj7
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58601 → typora: 0.9.64 -> 0.9.68 → https://git.io/fjkgU
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjkgh
buffet has joined #nixos
pbb has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
buffet_ has quit [Ping timeout: 245 seconds]
pbb has joined #nixos
<{^_^}> [nixpkgs] @worldofpeace pushed to release-19.03 « typora: 0.9.64 -> 0.9.68 »: https://git.io/fjk2e
<{^_^}> [nixpkgs] @worldofpeace pushed to master « eolie: 0.9.45 -> 0.9.60 »: https://git.io/fjk2v
vk3wtf has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #58604 → postgresqlPackages.pg_cron: 1.1.2 -> 1.1.3 → https://git.io/fjk2U
<{^_^}> [nixpkgs] @marsam opened pull request #58605 → postgresqlPackages.postgis: 2.5.1 -> 2.5.2 → https://git.io/fjk2L
<{^_^}> [nixpkgs] @illegalprime opened pull request #58606 → [WIP] gcc: put target-specific libs in lib output → https://git.io/fjk2t
<{^_^}> [nixpkgs] @marsam opened pull request #58607 → postgresqlPackages.plv8: 2.3.8 -> 2.3.11 → https://git.io/fjk2O
Anton-Latukha has quit [Quit: Leaving.]
<{^_^}> [nixpkgs] @uri-canva reopened pull request #58116 → bazel: 0.22.0 -> 0.23.2 → https://git.io/fjJfo
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/7e39a961fdc (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
drakonis has quit [Quit: WeeChat 2.3]
cyphase has quit [Ping timeout: 246 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
cyphase has joined #nixos
drakonis_ has joined #nixos
drakonis2 has quit [Ping timeout: 258 seconds]
slack1256 has quit [Remote host closed the connection]
slack1256 has joined #nixos
freeman42y has joined #nixos
freeman42x has quit [Ping timeout: 257 seconds]
freeman42z has joined #nixos
drakonis has joined #nixos
freeman42y has quit [Ping timeout: 259 seconds]
drakonis_ has quit [Ping timeout: 246 seconds]
fusion809 has joined #nixos
slack1256 has quit [Remote host closed the connection]
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/4d4b67b65e8 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
groodt has joined #nixos
<groodt> Hello! Good day for deriving!
<groodt> Anybody online with Ofborg build permissions to kick off something for me?
Rusty1 has quit [Quit: Konversation terminated!]
linarcx_ has quit [Ping timeout: 255 seconds]
linarcx has quit [Ping timeout: 255 seconds]
drakonis_ has joined #nixos
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/986561f31ca (from 2 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
drakonis has quit [Ping timeout: 268 seconds]
slack1256 has joined #nixos
jasongrossman has joined #nixos
marusich has joined #nixos
palo1 has joined #nixos
palo has quit [Ping timeout: 245 seconds]
palo1 is now known as palo
Cale has quit [Ping timeout: 250 seconds]
aanderse has quit [Ping timeout: 250 seconds]
zgrep has joined #nixos
<infinisil> groodt: Yeah, but only if you tell me what!
<infinisil> I feel so stupid right now, I can't get this simple cpp thing to compile: https://github.com/taylorconor/tinytetris
<infinisil> I just need to compile a simple cpp file with ncurses, how can this be so hard!
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
endformationage has quit [Quit: WeeChat 2.4]
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
<slack1256> infinisil: your aren't passing -lcurses to g++
<infinisil> slack1256: ld: cannot find -lcurses
<infinisil> I'm pretty sure Nix is supposed to set up some env var to have the correct flags, but I can't for the life figure it out
drakonis_ has quit [Ping timeout: 245 seconds]
<slack1256> yeah I never used ld before, I just link via the compiler
<infinisil> I didn't use ld
<infinisil> I used g++
<infinisil> No idea why the error says ld
<slack1256> $NIX_CC/bin/ld tinytetris.o $NIX_LDFLAGS -o tinytetris
<slack1256> you are using ld
<{^_^}> Channel nixos-19.03 advanced to https://github.com/NixOS/nixpkgs/commit/3a4ffdd38b5 (from 2 days ago, history: https://channels.nix.gsc.io/nixos-19.03)
<infinisil> I commented that out, I'm used only the g++ command now, which fails
<infinisil> With -lcurses with above error, without -lcurses with the error in the gist
<slack1256> Ok, maybe the -L flag that says where to lookout for the include .h
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
<slack1256> Sorry the -I flag
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/986561f31ca (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
<infinisil> slack1256: Nope, trying with ` $NIX_CC/bin/g++ -L${lib.getLib ncurses}/lib -I${lib.getDev ncurses}/include tinytetris.cpp -o tinytetris`
<infinisil> Same error as in the gist
<infinisil> If i add -lcurses it can't find -lcurses
drakonis_ has joined #nixos
silver_hook has quit [Ping timeout: 244 seconds]
Fare has quit [Ping timeout: 246 seconds]
<infinisil> groodt: Well I'm going to bed now. For the future, if you ask for something regarding a PR, always post a link to it. If I knew which PR I could've started an ofborg build by now.
<slack1256> Well I am not scratching my head too :-(
<groodt> infinisil It would be awesome if you could kick this one
<{^_^}> #58147 (by groodt, 1 week ago, open): bazel: 0.22.0 -> 0.24.0
<infinisil> groodt: Done did that :)
jasongrossman has quit [Ping timeout: 245 seconds]
<slack1256> now*
<groodt> infinisil: legend! Good night!
groodt has quit [Quit: Page closed]
<slack1256> infinisil: your example bugs me too. When you solve it, can a bot (I guess nixos has one?) be set up to tell me how you did it?
<{^_^}> [nixpkgs] @gnidorah opened pull request #58609 → actkbd module: introduce services.actkbd.brightnessControl option → https://git.io/fjkap
<slack1256> What I am guessing is that as this package is not autoconf based, the configurePhase isn't setting some environment variables and that is tripping ld
marusich has quit [Remote host closed the connection]
slack1256 has quit [Remote host closed the connection]
mojjo has joined #nixos
<mojjo> in the build process of a derivation I'm doing some HTTP calls, could not solve this in a more pure way for now. Worked in 18.03, does not in 18.09 even though `nix.sandbox = false` is set. any objections?
domogled has joined #nixos
<mojjo> I mean `nix.useSandbox`
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
<Ralith> infinisil: when he comes back, you should tell him all he needed to do was slap `-lncurses` on the end of the g++ invocation
<Ralith> no env vars needed, nix does that behind the scenes
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
ddellacosta has quit [Ping timeout: 268 seconds]
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
<Ralith> when in doubt, look at what the actual lib<thing>.so files your dependency supplies, or ask pkg-config
lord| has quit [Quit: WeeChat 2.4]
<infinisil> Ralith: I'm the one who asked for that :)
<infinisil> Wow, yeah that worked :O
<Ralith> all the better!
<infinisil> Ralith++
<{^_^}> Ralith's karma got increased to 2
<Ralith> in stdenv, "g++" is actually a shell script that digs around for all the proper nix env vars and splices together a command line for the real thing
<infinisil> But why do I still need to provide -lncurses?
<infinisil> Couldn't it take care of that too?
<Ralith> the shell script's function is to emulate an environment where all of your buildInputs are installed into the compiler's search path; being in the search path does not necessarily mean you want to actually link the thing
<Ralith> for example, ncurses itself provides many different libraries, and you don't want all of them at once
<Ralith> this is not uncommon
lord| has joined #nixos
<Ralith> additionally, the ordering of `-l` wrt. itself and other options can be significant
<infinisil> ,tell slack1256 Ralith was able to help me, all that was needed is -lncurses, because ncurses provides a libncurses.so file, *not* libcurses.so, this now works: https://gist.github.com/Infinisil/fa3016416a6fa4430c50d9ac3c7dd3c9
<{^_^}> infinisil: I'll pass that on to slack1256
<infinisil> Ralith: Hmm I see
<Ralith> every build system under the sun involves explicitly declaring the things you want to link anyway, so it's generally a nonissue
Jackneill has joined #nixos
<mojjo> does anyone have experience with `node2nix`? I'm having a hard time to get `sqlite3` installed as it needs `node-pre-gyp`...
kvda has joined #nixos
<mojjo> ^ solved
jbgi has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
thedavidmeister has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
<thedavidmeister> what's a good way to split shell.nix files out?
<thedavidmeister> i've been doing something like this
<thedavidmeister> let
<thedavidmeister> pkgs = import <nixpkgs>;
<thedavidmeister> foo = pkgs.writeShellScriptBin "foo" "echo 'hi'";
<thedavidmeister> in
<thedavidmeister> with pkgs;
<thedavidmeister> stdenv.mkDerivation rec {
<thedavidmeister> name = "foo";
<thedavidmeister> buildInputs = [ foo ];
<thedavidmeister> }y
<thedavidmeister> but my buildInputs is getting rather long
soldersmoke has joined #nixos
nD5Xjz has quit [Ping timeout: 245 seconds]
nD5Xjz has joined #nixos
jbgi has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @Profpatsch closed pull request #58597 → riot-desktop: use own yarn2nix → https://git.io/fjkEb
<{^_^}> [nixpkgs] @Profpatsch reopened pull request #58597 → riot-desktop: use own yarn2nix → https://git.io/fjkEb
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jbgi has joined #nixos
kurisu has left #nixos ["WeeChat 2.4"]
drakonis_ has joined #nixos
shabius has joined #nixos
Zer000 has quit [Ping timeout: 268 seconds]
shabius_ has quit [Ping timeout: 258 seconds]
orivej has joined #nixos
jbgi has quit [Ping timeout: 246 seconds]
andymandias has quit [Remote host closed the connection]
kvda has joined #nixos
Ariakenom has joined #nixos
soldersmoke has quit [Remote host closed the connection]
mojjo has quit [Ping timeout: 256 seconds]
andymandias has joined #nixos
Glider_IRC has quit [Ping timeout: 268 seconds]
jasongrossman has joined #nixos
silver has joined #nixos
rprije has quit [Ping timeout: 245 seconds]
InFlames has quit [Ping timeout: 268 seconds]
init_6 has joined #nixos
Cale has joined #nixos
m0rphism has joined #nixos
<{^_^}> [nixpkgs] @vbgl opened pull request #58610 → hol_light: 2018-09-30 -> 2019-03-27 → https://git.io/fjkVP
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
b has quit [Ping timeout: 246 seconds]
agjacome has joined #nixos
Serus has quit [Ping timeout: 268 seconds]
grizwako has joined #nixos
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion1 has joined #nixos
i1nfusion has joined #nixos
Serus has joined #nixos
init_6 has quit [Ping timeout: 250 seconds]
ym555 has joined #nixos
init_6 has joined #nixos
<{^_^}> [nixpkgs] @LnL7 opened pull request #58611 → [WIP] gnutls: remove 3.5.10 on darwin → https://git.io/fjkwR
<srhb> thedavidmeister: I don't think I'd consider that a problem.
<srhb> thedavidmeister: if buildInputs is long, it'll be long no matter where it is. :)
jasongrossman has quit [Ping timeout: 250 seconds]
groodt has joined #nixos
jasongrossman has joined #nixos
fusion809 has quit [Read error: Connection reset by peer]
fusion809 has joined #nixos
freeman42y has joined #nixos
barrel has joined #nixos
thc202 has joined #nixos
freeman42z has quit [Ping timeout: 257 seconds]
<{^_^}> [nixpkgs] @markuskowa merged pull request #58541 → megahit: init at 1.1.4 → https://git.io/fjTHS
<{^_^}> [nixpkgs] @markuskowa pushed 2 commits to master: https://git.io/fjkwK
<{^_^}> [nixpkgs] @bricewge opened pull request #58612 → brig: 0.3.0 -> 0.4.1 → https://git.io/fjkw6
gagbo has joined #nixos
lejonet has quit [Ping timeout: 246 seconds]
jbgi has joined #nixos
knupfer has joined #nixos
ixxie has joined #nixos
jbgi has quit [Ping timeout: 246 seconds]
groodt has quit [Quit: Page closed]
aanderse-work has joined #nixos
alex`` has joined #nixos
jfm_ has joined #nixos
shabius has quit [Quit: Leaving]
jfm_ has quit [Client Quit]
jfmartin has joined #nixos
adetokunbo has joined #nixos
adetokunbo has quit [Client Quit]
adetokunbo has joined #nixos
<jfmartin> hi! is there a variant (sum type) in nix ?
Neo-- has quit [Ping timeout: 258 seconds]
jfmartin has quit [Quit: Leaving]
jfmartin has joined #nixos
jfmartin has quit [Client Quit]
ym555 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @Yungzia33 opened pull request #58613 → Stagingxxx → https://git.io/fjkrq
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vk3wtf has quit [Ping timeout: 245 seconds]
Fare has joined #nixos
linarcx has joined #nixos
ng0 has joined #nixos
jomik has joined #nixos
__monty__ has joined #nixos
linarcx has quit [Ping timeout: 250 seconds]
<jomik> Hey guys. I have a bit of an issue with `toINI` - I am trying to make a configuration for i3blocks, the order of the sections in the file matter, but `toINI` outputs the sections alphabetically, due to attribute sets being sorted by keys, I guess. How can I get them in the order I want?
<jomik> ... I guess I could prefix the names with a number, or something, but is there a better way, so that it would be easy to reorder too.
linarcx has joined #nixos
wolfman154 has joined #nixos
wolfman154 has quit [Client Quit]
<__monty__> jomik: Maybe do several toINI calls and append the results?
<betawaffle> how should i go about moving the current contents of /nix to a new partition? do i need to boot a live system, or can i do it from a system that's running out of /nix?
zupo has joined #nixos
<gchristensen> live system would certainly be the easiest and safest
<betawaffle> and is there anything special i need to do to make sure that new partition is mounted correctly on boot?
<betawaffle> (since nixos will literally need it to boot)
<gchristensen> the way I'd go about it is: boot the nixos installer, mount your root partition to /mnt, mount your new nix store to /mnt/nix2, rsync or whatever everything over, delete /mnt/nix, remount the nix partition to /mnt/nix, edit /mnt/etc/nixos/hardware-configuration.nix to have the new /nix filesystem represented, then run nixos-install
orivej has quit [Ping timeout: 245 seconds]
<betawaffle> k, and one final question... the standard nixos live environment doesn't seem to work for me. so how do i go about creating a new one that works?
<gchristensen> hehe, what needs to change about it?
<betawaffle> (i'm not sure what's broken about it. all i know is the on-disk nix system boots just fine)
<betawaffle> so basically, how can i compare the two to find what's missing?
<gchristensen> you ask all the good questions
<gchristensen> clone nixpkgs and run nix-build ./nixos/release.nix -A iso_minimal.x86_64-linux -- this builds a nixos live cd based on https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
<gchristensen> for a hint as to what is different, one moment
Notkea has quit [Read error: Connection reset by peer]
Notkea has joined #nixos
<{^_^}> [nixpkgs] @FRidh closed pull request #58613 → Stagingxxx → https://git.io/fjkrq
<gchristensen> we can diff the derivations of your system vs. the ISO. get the derivation (drv) of the iso: nix-instantiate ./nixos/release.nix -A iso_minimal.x86_64-linux and then of your system: nix-store --query --deriver /run/current-system
<gchristensen> nix-shell -p nix-diff and then nix-diff /nix/store/ddzzvx8jf4ipps5vv2r89hyf94012ibd-nixos-system-Petunia-19.03beta171840.23fd1394dc6.drv /nix/store/c41spmriwqw5ihbamzhf6qjaki0gp8gm-nixos-minimal-19.03beta130979.gfedcba-x86_64-linux.iso.drv
<gchristensen> this might not be 100% what you want, but hopefully it'll be close
<jomik> __monty__: Yeah, I guess I'll have to do that ^^ Thank you.
Anton-Latukha has joined #nixos
ng0 has quit [Quit: Alexa, when is the end of world?]
ng0 has joined #nixos
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/c637aeff19b (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
<betawaffle> apparently nixpkgs is almost 1GiB
<gchristensen> 16 years, 175,000 commits, and 2500 authors can do that to you :P
<betawaffle> how does linux keep their repo from getting complete out of hand?
<das-g[m]> The Linux kernel?
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « dnsperf: fixup build with new bind version »: https://git.io/fjkrV
<{^_^}> [nixpkgs] @marsam opened pull request #58615 → gotop: 2.0.1 -> 3.0.0 → https://git.io/fjkrw
<gchristensen> betawaffle: I suspect some tarballs were checked in to nixpkgs very early on
<gchristensen> like bootstrap binaries or something
adetokunbo has quit [Quit: This computer has gone to sleep]
<{^_^}> [nixpkgs] @vcunat pushed 14 commits to release-18.09: https://git.io/fjkro
sgronblo has joined #nixos
<betawaffle> gchristensen: ok, looking at the diff now
<sgronblo> Is there some way to use both homebrew and nix at the same time on Macos?
init_6 has quit []
<sgronblo> Most blog posts I've seen about nix on Macos have been about removing homebrew first
<betawaffle> i've got them both installed. but they don't really interact
<gchristensen> sgronblo: just do it, no conflict
<betawaffle> afaik, nix never really conflicts with anything
<sgronblo> i see, thanks!
adetokunbo has joined #nixos
<betawaffle> gchristensen: there don't appear to be mnay meaningful differences, except for the set of input names
<betawaffle> many*
<tilpner> gchristensen: Apparently the largest things are the many generated hackage and melpa files
<{^_^}> [nixpkgs] @marsam opened pull request #58616 → flow: 0.95.1 -> 0.96.0 → https://git.io/fjkry
<tilpner> And... 3.5MiB pkgs/os-specific/linux/blcr/fixes.patch
<gchristensen> O.o
<gchristensen> ah python-packages isn't generated :)
<tilpner> I didn't say it was (but I also didn't know it wasn't)
<gchristensen> aye
<{^_^}> flatpak/flatpak.github.io#325 (by das-g, 2 weeks ago, open): Setup on NixOS: Use option services.flatpak.enable
Ariakenom has quit [Ping timeout: 246 seconds]
gagbo has quit [Ping timeout: 246 seconds]
<tilpner> Looks fine
<das-g[m]> Thanks!
aanderse-work has quit []
<sgronblo> can I get nix to show me which config file is used?
Glider_IRC has joined #nixos
jomik has quit [Quit: WeeChat 2.4]
imdoor has joined #nixos
<laalf> is plasma-discover packaged anywhere? it has flatpak support so it would make some sense to package
<tilpner> sgronblo: While doing what?
<betawaffle> gchristensen: so i always forget the right rsync options. any tips for this? also, my /nix partition already has nix stuff in it, should be fine, right?
<betawaffle> my plan is to be able to share /nix with multiple OSes
<betawaffle> thought that would be problematic for gc, right...
<gchristensen> I imagine it could be possible if the GC roots were managed very carefulyl
<gchristensen> but I'm not sure what that'll look like for day to day use
<betawaffle> i'm mainly going to be using nixos anyway
<sgronblo> tilpner: i was trying to find something like nix show-config that would show me where it expects to find the config file on my system
<betawaffle> oh... and i'll want to share /home too
<betawaffle> so that may simplify things a bit?
<tilpner> sgronblo: That depends on which config file you're talking about. Your NixOS config, or your nixpkgs config?
<sgronblo> but i just assumed the manual was correct in the end and put some content in ~/.config/nix/nix.conf which seemed to work
<tilpner> sgronblo: The former defaults to /etc/nixos/configuration.nix but is override by the NIX_PATH entry nixos-config
<sgronblo> tilpner: im running macos on my laptop here and taking my first stumbling steps in trying out nix
<tilpner> Oh
<tilpner> That should be ~/.config/nixpkgs/config.nix
b has joined #nixos
<sgronblo> https://nixos.org/nix/manual/#sec-conf-file i followed this page which mentions "The user configuration file $XDG_CONFIG_HOME/nix/nix.conf, or ~/.config/nix/nix.conf if XDG_CONFIG_HOME is not set."
<sgronblo> btw, is nixos commonly used with docker?
endformationage has joined #nixos
Ariakenom has joined #nixos
<manveru> sgronblo: which way around? :)
erictapen has quit [Ping timeout: 245 seconds]
thedavidmeister has quit [Quit: WeeChat 2.4]
<manveru> docker on nixos, very much, but nixos in docker, not so
<manveru> sgronblo: also, nix/nix.conf is the nix config (for the nix executable), while nixpkgs/config.nix is the nixpkgs config (for the package collection)
drakonis_ has quit [Ping timeout: 246 seconds]
orivej has joined #nixos
drakonis_ has joined #nixos
erictapen has joined #nixos
shabius has joined #nixos
meck has joined #nixos
<typetetris> hmm, i only get ipv6 addresses via network manager ..
<Church-> Could you need nothing else!
<{^_^}> [nixpkgs] @jluttine opened pull request #58617 → josm: fix support for kendzi3d plugin → https://git.io/fjkoS
erictapen has quit [Ping timeout: 246 seconds]
Fare has quit [Ping timeout: 250 seconds]
jbgi has joined #nixos
Glider_IRC_ has joined #nixos
Erasmus has quit [Quit: reboot]
<{^_^}> [nixpkgs] @teh opened pull request #58618 → pyre: 0.0.20 -> 0.0.21 → https://git.io/fjko7
Glider_IRC has quit [Ping timeout: 245 seconds]
iyzsong has quit [Ping timeout: 258 seconds]
zupo_ has joined #nixos
jbgi has quit [Ping timeout: 250 seconds]
zupo has quit [Ping timeout: 246 seconds]
<immae> Hey there! Is anyone at ease with bundler applications? (specifically, rails) I’m trying to fix a derivation that used to work in branch 18.09 and failed in 19.03 . At build time, "bundle" commands run alright and it builds fine, but at runtime (in systemd services) the same command with the same dependencies fails. It’s a derivation for diaspora (
<immae> https://git.immae.eu/?p=perso/Immae/Config/Nix.git;a=tree;f=nixops/modules/websites/tools/diaspora;hb=7ac9bef4930a10101f02cbfdc4c75351e98553d6 ). I don’t find examples to find how things should be done properly
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
barrel has quit [Ping timeout: 246 seconds]
jasongrossman has quit [Remote host closed the connection]
knupfer has quit [Quit: knupfer]
<pie_> is it possible to have two configurations for the same interface in networkmanager?
knupfer has joined #nixos
knupfer has quit [Client Quit]
<betawaffle> gchristensen: are any nixos modules included implicitly? (ie. still present if you have a blank configuration.nix)
shabius has quit [Quit: Leaving]
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58619 → alsaOss: 1.1.6 -> 1.1.8 → https://git.io/fjkox
shabius has joined #nixos
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58620 → amazon-ecs-cli: 1.12.1 -> 1.13.1 → https://git.io/fjkoj
Erasmus has joined #nixos
<sphalerite> betawaffle: all of those in nixos/modules/module-list.nix
<sphalerite> ,find nixos/modules/module-list.nix
<{^_^}> ,find is temporarily unimplemented
<betawaffle> sphalerite: ok thanks
<betawaffle> and which ones of those bring in actual stuff, as opposed to just options that can be set?
<betawaffle> like for example, ./services/web-servers/caddy.nix doesn't actually install caddy unless you've configured it to
<betawaffle> so how would i got about finding ones that install things by default?
<betawaffle> as i suspect it's a small subset
<{^_^}> [nixpkgs] @r-ryantm opened pull request #58621 → apacheHttpd: 2.4.38 -> 2.4.39 → https://git.io/fjkKT
<sphalerite> good question…
<sphalerite> betaboon: a fair approximation would probably be to grep for all occurrences of `config = …` without a mkIf
<sphalerite> would still require going through them manually, but should narrow it down a fair bit
<betawaffle> k
<betawaffle> isn't there a tool which shows why something is installed?
pie__ has joined #nixos
knupfer has joined #nixos
<{^_^}> [nixpkgs] @marsam opened pull request #58622 → influxdb: 1.6.3 -> 1.7.5 → https://git.io/fjkKs
<sphalerite> betawaffle: nix why-depends can show you how one path depends on another
<sphalerite> betawaffle: you could try nix why-depends /run/current-system nixpkgs.foo
<{^_^}> [nixpkgs] @marsam opened pull request #58623 → dep2nix: 0.0.2 -> 2019-01-20 → https://git.io/fjkKl
<tilpner> > :p (import <nixpkgs/nixos> {}).options.environment.systemPackages.files
<{^_^}> [ "/var/lib/nixbot/nixpkgs/master/repo/nixos/modules/virtualisation/containers.nix" "/var/lib/nixbot/nixpkgs/master/repo/nixos/modules/tasks/swraid.nix" "/var/lib/nixbot/nixpkgs/master/repo/nixos/modu...
<tilpner> Could also try .definitions
mojjo has joined #nixos
Erasmus has quit [Read error: Connection reset by peer]
zupo has joined #nixos
<mojjo> hi! I'm trying out stack2nix, works until now. However, when building the generated nix file, every package is built from scratch. Is there a way to use already built packages?
sophiag has joined #nixos
Erasmus has joined #nixos
<pie__> i keep forgetting how to do this, how do i make a shell.nix that gives me some packages in my environment?
<manveru> pie__: `with import <nixpkgs>; mkShell { buildInputs = [ foo bar ]; }`
<pie__> thanks
<manveru> missing a {}, sorry
<pie__> yeah i do that all the time too
Mr_Keyser_Soze has joined #nixos
<pie__> would be nice to get some expanded explanation https://nixos.org/nixpkgs/manual/#sec-pkgs-mkShell
<pie__> ill check if theres an issue yet and open one if not, i guess i might try to add some docs later
<manveru> it's mostly a mkDerivation but with a default name
<manveru> and no phases...
mmlb9774508 has quit [Ping timeout: 255 seconds]
<pie__> aha
aanderse has joined #nixos
Mr_Keyser_Soze has quit [Ping timeout: 250 seconds]
wolfman154 has joined #nixos
<wolfman154> Hello
wolfman154 has quit [Client Quit]
<{^_^}> [nixpkgs] @Infinisil merged pull request #58542 → pythonPackages.jupyterhub: Fix running locally → https://git.io/fjTQV
<{^_^}> [nixpkgs] @Infinisil pushed 2 commits to master: https://git.io/fjkKi
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/3eed6d45739 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
<{^_^}> [nixpkgs] @Infinisil pushed to release-19.03 « pythonPackages.jupyterhub: Fix running locally »: https://git.io/fjkK1
<infinisil> mojjo: Nope, not with stack2nix. The builds will be cached after you built them the first time though
ixxie has quit [Ping timeout: 255 seconds]
linarcx has quit [Ping timeout: 245 seconds]
drakonis has joined #nixos
linarcx has joined #nixos
drakonis_ has quit [Ping timeout: 250 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
mojjo has quit [Quit: Page closed]
<{^_^}> [nixpkgs] @xzfc opened pull request #58625 → aria2: Add sphinx build dependency to generate man pages → https://git.io/fjk6s
<{^_^}> [nixpkgs] @vcunat pushed to staging-next « notary: disable tests (for now) »: https://git.io/fjk6G
<{^_^}> [nixpkgs] @vcunat pushed to staging-19.03 « notary: disable tests (for now) »: https://git.io/fjk6W
<{^_^}> [nixpkgs] @vcunat pushed to release-18.09 « notary: disable tests (for now) »: https://git.io/fjk64
<teto> I am trying to do remote builds and I don't know why I keep having "Host key verfication error"; I did remove it with ssh-keygen -R , stopped the agent etc. Do I have to add the host key in /etc/ssh/ssh_known_hosts, isn't ~/.ssh/known_hosts enough ?
erictapen has joined #nixos
civodul has joined #nixos
wolfman154 has joined #nixos
<wolfman154> Any one on?
<simpson> Yes, but that's probably not your actual question.
ancarda has left #nixos [#nixos]
Erasmus has quit [Quit: BBL]
<samueldr> teto: remote builds might happen under the root user if you're using the nix daemon
<wolfman154> simpson: Cool, I wasn’t if this irc sees traffic during the weekend. I have some confusion about the home manager, https://github.com/rycee/home-manager , in the ‘graphical services’ section does it mean: in order for the services to be started automatically I need to remove xserver from my global configuration(configuration.nix) and only use xsession in my home manager, I am installing and s
<wolfman154> etting up xmonad so I want to make sure I am doing this correctly?
<teto> samueldr and nix would not ask me if I trust the remote user (I just checked, my root has an empty known_hosts)
<simpson> wolfman154: I don't think so, but I've never used home-manager.
<samueldr> I'm not sure, but I think it will not pass through the usual ssh questions; I know I ssh'd in my remote builder before first building, to have the remote key, but am unsure if it was truly required, but I assume so
<teto> wolfman154: you still have to enable xserver, but the windowmanager config should be in home-manager I think
<teto> samueldr:yep that was it. For some reason I thought that nix would use my user know_hosts because I have a gpg-agent. I think because it solved builtins.fetchGit for private repos but the nix-daemon works differently
<samueldr> sadly, I know just enough to say "it might be using root's things" but not enough to know better about the rest :)
<samueldr> though great to see this resolved
<wolfman154> teto: thanks for the tips but windowManager.default = “xmonad”; Is not recognized by home-manager (undefined error) ?
<samueldr> > “xmonad”
<{^_^}> error: syntax error, unexpected $undefined, at (string):230:1
<samueldr> > "xmonad"
<{^_^}> "xmonad"
<samueldr> check your quotes
<teto> samueldr <3
<teto> <3 samueldr
<{^_^}> samueldr's karma got increased to 64
<samueldr> unexpected $undefined is largely caused by sneaky characters looking like they belong, not actually belonging
<samueldr> like this
<samueldr> > 1 + 1
Erasmus has joined #nixos
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):230:2
imdoor has quit [Quit: imdoor]
<samueldr> see those spaces? they're " " and not " " :) (non-breaking space vs "regular" spaces)
xqsl has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
wfranzini has quit [Remote host closed the connection]
<wolfman154> I pasted it straight from Haskell.org and it’s telling me windowManager defined in home.nix does not exist?
wfranzini has joined #nixos
xqsl has joined #nixos
<teto> wolfman154: man home-configuration.nix, it's xsession.windowManager
<wolfman154> teto: without default?
<teto> it's a thing of beauty to compile while my cpu remains at 0%. IS there an option to have the build keep going even if I lose the connection ? my connection is super flaky as I am traveling
<teto> wolfman154: look at the manpage I gave you, you will see all the available options
<teto> just enable should be enough to have a barebone xmonad
<teto> I mean xsession.windowManager.xmonad.enable = true;
<samueldr> teto: I think the official word is "no" but my experience seems to be "sometimes when it flakes out it continues building"
<samueldr> teto: but by "no", I mean "there is no support", pretty sure they wouldn't mind if there was a way to do it added to nix
<wolfman154> thanks , I need to fix the syntax
<wolfman154> teto++
<{^_^}> teto's karma got increased to 1
<wolfman154> samueldr: ++
<wolfman154> samueldr++
<{^_^}> samueldr's karma got increased to 65
<{^_^}> [nixpkgs] @veprbl pushed commit from @LinArcX to master « behdad-fonts: init at v0.0.3 (#58497) »: https://git.io/fjk6D
<{^_^}> [nixpkgs] @veprbl merged pull request #58497 → behdad-fonts: init at v0.0.3 → https://git.io/fjTg3
<{^_^}> [nixpkgs] @jabranham opened pull request #58626 → ledger: 3.1.2 -> 3.1.3 → https://git.io/fjk6S
<wolfman154> There’s no option to set xmonad to default in the manual for home manager, so I guess I will just leave it out
sgronblo has quit [Ping timeout: 246 seconds]
<wolfman154> It has it for global configuration though
linarcx has quit [Quit: WeeChat 2.4]
<{^_^}> [nixpkgs] @dtzWill opened pull request #58627 → sddm: 0.18.0 -> 0.18.1 → https://git.io/fjk6H
<wolfman154> When is nixos 19 coming out as the stable version?
sgronblo has joined #nixos
erictapen has quit [Ping timeout: 250 seconds]
npmccallum has quit [Ping timeout: 255 seconds]
<wolfman154> ?
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
wolfman154 has joined #nixos
Erasmus has quit [Quit: END-AUMF]
wolfman154 has quit [Client Quit]
<colemickens> Clear Linux uses AutoFDO for profile-based optimizations. Is this something NixOS could do and/or has anyone looked at including the Clear Linux patches in NixOS?
<colemickens> wolfman12345[m]: idk if it's the official gate, but there is a 19.03 milestone on GitHub with a number of open issues.
b has quit [Quit: Lost terminal]
cswl has joined #nixos
<samueldr> colemickens: it shouldn't be what stops the release, as many of these were brought over from 18.09, and the same from 18.03 to 18.09
<colemickens> okay, is there a better answer for the question of "when" or "what is blocking" it then?
<colemickens> (is there a release wg, maybe I should lurk in -dev more)
<samueldr> release wg?
<justanotheruser> I thought #nixos was the dev channel? alis shows no nixos-dev
<simpson> "release wig" probably
<colemickens> wg = working group
<samueldr> ah
<colemickens> justanotheruser: I'm in #nixos-dev, idk?
<samueldr> channels listing services from freenode have issues listing all channels in freenode apparently
<justanotheruser> ah alright, thanks
<samueldr> there's a non-exhaustive list here https://nixos.wiki/wiki/Get_In_Touch#Chat
<samueldr> missing channels are free from adding themselves here!
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
<samueldr> :o the logs link do not link to my logs!!
vendicta has joined #nixos
ru_horlick has joined #nixos
* samueldr fixes
<justanotheruser> thanks samueldr
<samueldr> and more channels here https://logs.nix.samueldr.com/
i1nfusion1 has joined #nixos
i1nfusion has joined #nixos
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<{^_^}> [nixpkgs] @veprbl merged pull request #58480 → sahel-fonts: init at v1.0.0-alpha22 → https://git.io/fjTCh
<{^_^}> [nixpkgs] @veprbl pushed commit from @LinArcX to master « sahel-fonts: init at v1.0.0-alpha22 (#58480) »: https://git.io/fjkis
ddellacosta has joined #nixos
justanotheruser has quit [Quit: WeeChat 2.2]
justanotheruser has joined #nixos
boogiewoogie has joined #nixos
ixxie has joined #nixos
InFlames has joined #nixos
wolfman154 has joined #nixos
wolfman154 has quit [Client Quit]
npmccallum has joined #nixos
Fare has joined #nixos
<infinisil> ,channels
<{^_^}> Largest Nix-related channels: #nixos, #nixos-dev, #nix-darwin, #nixos-chat, #nixos-aarch64, #nixos-wiki, #nixos-borg, #nixos-security, #nix-core
<{^_^}> [nixpkgs] @veprbl merged pull request #58445 → parastoo-fonts: init at v1.0.0-alpha5 → https://git.io/fjUpN
<{^_^}> [nixpkgs] @veprbl pushed commit from @LinArcX to master « parastoo-fonts: init at v1.0.0-alpha5 (#58445) »: https://git.io/fjkir
<boogiewoogie> hey, anyone here using the riot-web messenger?
<{^_^}> [nixpkgs] @dotlambda opened pull request #58628 → python.pkgs.celery: 4.3.0rc1 -> 4.3.0 → https://git.io/fjkio
<samueldr> ,ask boogiewoogie
<{^_^}> boogiewoogie: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
<samueldr> boogiewoogie: depending on the question, sometimes non-users might be able to help
aanderse has quit []
<{^_^}> [nixpkgs] @veprbl merged pull request #58383 → samim-fonts: init at 3.1.0 → https://git.io/fjUgN
<{^_^}> [nixpkgs] @veprbl pushed commit from @LinArcX to master « samim-fonts: init at 3.1.0 (#58383) »: https://git.io/fjkii
<boogiewoogie> samueldr: yeah, good point.. just didn't want to bug anyone with what might be a non-issue :)
<boogiewoogie> so I wanna try the riot messenger -- https://github.com/vector-im/riot-web -- as a desktop app. installed the package https://github.com/NixOS/nixpkgs/blob/395a543f3605ea7c17797ad33fda0c251b802978/pkgs/applications/networking/instant-messengers/riot/riot-web.nix#L20 yet there doesn't seem to be a binary there
<boogiewoogie> and I was wondering how it's to be run
<{^_^}> Channel nixpkgs-19.03-darwin advanced to https://github.com/NixOS/nixpkgs/commit/a05b0cf8b4e (from 3 hours ago, history: https://channels.nix.gsc.io/nixpkgs-19.03-darwin)
aanderse has joined #nixos
<samueldr> AFAIUI this is the server part for riot-web and not the app
<boogiewoogie> oh yeah, that makes a lot of sense
wolfman154 has joined #nixos
wolfman154 has quit [Client Quit]
Erasmus has joined #nixos
<betawaffle> in the partitioning part of the nixos manual, is there a reason we create the boot partition last, as opposed to first?
<betawaffle> i've seen that elsewhere, but i just assumed you'd create partitions in the order they are on disk
<eyJhb> Have anybody else have trouble with matplotlib and showing images? (plt.show()), no errors or anything. Just no drawings
<gchristensen> betawaffle: I agree, it would be really nice to update that
justanotheruser has quit [Ping timeout: 246 seconds]
<samueldr> betawaffle: to keep /dev/sda1 and /dev/sda2 the same for both legacy bios and EFI instructions
<samueldr> gchristensen: nothing to fix otherwise the manual will get harder to follow :/
<betawaffle> ok, so not actually that important if i know what i'm doing
<gchristensen> ah
<samueldr> it will become a mess of "if you are using bios boot, use /dev/sda1 or with EFI boot, use /dev/sda2"
justanotheruser has joined #nixos
<samueldr> an alternative would be to always make a partition for a /boot partition, but it wasn't part of the original instructions
tomberek has joined #nixos
<samueldr> (and is _not_ required with NixOS)
<samueldr> betawaffle: exactly
<samueldr> betawaffle: those instructions are "known good instructions", but they are more guidance than truth
<betawaffle> i'm trying to decide how i want to partition the 1tb nvme in my new laptop
<samueldr> betawaffle: "how" how?
<betawaffle> such that i don't lock myself into any particular decision
<samueldr> if you intend to only run nixos, you might want to do it simply with one partition for everything, and one for ESP
<samueldr> even having the swap as a swap file (except if your FS cannot)
slack1256 has joined #nixos
<betawaffle> i'm not necessarily going to use nixos for everything, i may want to have other oses installed
<samueldr> if you intend to use zfs all bets are off
<samueldr> right
<tomberek> Can the new nix do shebang-style nix-shell functionality? My intent it to be able to use the statically compiled Nix by matthebauer instead of requiring a full installation.
<samueldr> you could always use an LVM PV as a portion of your drive, set the nixos root partition in there, and if you ever need to increase its size, another PV can be created anywhere on the disk, even out of order, to extend the volume group (I might have messed the LVM terms)
<betawaffle> ehh, nah
<samueldr> :)
<samueldr> at one time in the past it was useful for me; before nixos, I had this laptop with its original windows 8 install resized; needed to expand the linux system; removed the windows partition, made a new lvm PV before the existing one, expanded the volume group and partition, so the end of it was physically before the start
<slack1256> tomberek: yep, read the manpage to see how
<{^_^}> slack1256: 11 hours, 25 minutes ago <infinisil> Ralith was able to help me, all that was needed is -lncurses, because ncurses provides a libncurses.so file, *not* libcurses.so, this now works: https://gist.github.com/Infinisil/fa3016416a6fa4430c50d9ac3c7dd3c9
Erasmus has quit [Read error: Connection reset by peer]
<tomberek> slack1256: i'm aware of nix-shell's ability to do this, but i'm not sure about the "nix" executable itself
<slack1256> I see
<samueldr> pretty sure it doesn't have the feature, grepping the source code for shebang only refers to nix-shell things
<gchristensen> nix-shell is it
<samueldr> the `nix` porcelain is AFAIK, not yet ready to be used as plumbing
<samueldr> ready as in "with a stable API", it shouldn't cause any issues in using it except for (unlikely?) breakage along the way
<tomberek> yeah... that's what i thought. But i'm trying to modify static-nix to bundle nix-shell instead of nix.... just an experiment to implement a dependency installing interpreter without requiring nix installation.
Erasmus has joined #nixos
<slack1256> infinisil: haha we were so close. Tbh the tinytretris README.md told us to link against -lcurses .
<samueldr> that would be amazing :)
<samueldr> tomberek: especially if it would somehow read the script as an appended thing to the binary?
<samueldr> (nerd snipe ahoy)
<infinisil> slack1256: Apparently some distros link curses -> ncurses
<infinisil> But some don't
Jackneill has quit [Remote host closed the connection]
<slack1256> So the confifurePhase set up the environment varibles so -L and -I on g++ weren't neccesary, nice!
<slack1256> *s/fure/gure/
wfranzini has quit [Remote host closed the connection]
<Ralith> configurePhase wasn't doing anything at all there, the environment setup is more fundamental than that
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @minijackson opened pull request #58629 → qsynth: 0.5.2 -> 0.5.4 → https://git.io/fjkix
tomberek has quit [Ping timeout: 256 seconds]
<{^_^}> [nixpkgs] @gebner merged pull request #58324 → khal: 0.9.10 -> 0.10.0 → https://git.io/fjUGq
<{^_^}> [nixpkgs] @gebner pushed 5 commits to master: https://git.io/fjkip
<eyJhb> Hey, I am getting this error, when I add matplotlib to python2.7.. ANy clues? https://termbin.com/ac4w
<{^_^}> [nixpkgs] @NeQuissimus pushed to master « linux: 5.0-rc8 -> 5.1-rc2 »: https://git.io/fjkij
sophiag` has joined #nixos
sophiag has quit [Ping timeout: 255 seconds]
tomberek has joined #nixos
<tomberek> samueldr: My thought similar. Or have a simple function that would be able to bootstrap itself via a "curl | sh" if needed.
<slack1256> good
Erasmus is now known as erasmus
agjacome has quit [Quit: leaving]
<tomberek> samueldr: easiest would be if we had a golang Nix interpreter. Then we get all the static/cross-compile goodness for free.
<{^_^}> [nixpkgs] @volth opened pull request #58630 → firefox-esr-52: fix build → https://git.io/fjkPc
<samueldr> tomberek: do it ;)
<samueldr> (that's some hardcore nerd sniping here)
<tomberek> yeah, i'm seeing hnix do it's thing and seems a large endeavor. I have been building my go experience lately, but writing a compiler in one is beyond my current ability. I'd start out with some hacky method first.
<{^_^}> [nixpkgs] @volth opened pull request #58631 → djview: fix mozilla plugin path → https://git.io/fjkPW
jbgi has joined #nixos
<tomberek> samueldr: hm... this seems promising: https://github.com/input-output-hk/nix-hs-hello-windows use that with hnix
<{^_^}> [nixpkgs] @apeyroux opened pull request #58632 → jsbeautifier: 1.8.9 -> 1.9.1 → https://git.io/fjkPu
Glider_IRC_ has quit [Ping timeout: 250 seconds]
<manveru> go would be fun, kinda :)
<{^_^}> [nixpkgs] @zimbatm pushed to master « direnv: 2.19.2 -> 2.20.0 »: https://git.io/fjkPV
<manveru> been trying to figure out how to call the C++ nix from elixir... but seems like NIF only does C bindings :(
<manveru> looked through the hydra code a bit too, since they seem to call C++ from perl, still haven't figured out how exactly though
<Ralith> generally step 1 is to make C bindings for the C++
<manveru> hmm, that'd get around the mangling?
npmccallum has quit [Ping timeout: 268 seconds]
<manveru> might try that when i get some time :)
<symphorien> different compilers have different calling conventions in c++
<symphorien> so there is not such thing as "c++ ffi"
<symphorien> I tried to do it anyway with nix-du
<{^_^}> [nixpkgs] @veprbl merged pull request #56740 → kitty: support macOS → https://git.io/fhAFO
<{^_^}> [nixpkgs] @veprbl pushed commit from @strager to master « kitty: support macOS (#56740) »: https://git.io/fjkPX
<symphorien> that was a really bad idea
<manveru> there's always SWIG :P
<manveru> haven't touched that in ages though
<manveru> tried to do some Qt bindings back then
<manveru> used tcl/tk instead though :)
vendicta has quit [Remote host closed the connection]
<{^_^}> Channel nixos-18.09-small advanced to https://github.com/NixOS/nixpkgs/commit/43ba99fa035 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-18.09-small)
Zer000 has joined #nixos
wolfman154 has joined #nixos
<wolfman154> Any still on today?
wolfman154 has quit [Client Quit]
zupo has joined #nixos
<{^_^}> Channel nixos-19.03-small advanced to https://github.com/NixOS/nixpkgs/commit/a05b0cf8b4e (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-19.03-small)
wolfman154 has joined #nixos
Peter_Storm__ has joined #nixos
Peter_Storm__ has quit []
Peter_Storm_ has joined #nixos
<wolfman154> xmonad —recompile is not working on nixos?
<wolfman154> Hello hello?
<hexa-> emily: hi, can I bother you with regards to your conclusion on your dns-01 inquiry earlier this month?
<mightybyte> How do remote builders work when you have multiple remote builders of different platforms?
<mightybyte> If you have, say, a Linux and a Mac, does it build binaries for both platforms?
vendicta has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
DerGuteMoritz has joined #nixos
shabius has quit [Quit: Leaving]
rembo10 has quit [Quit: ZNC 1.7.2 - https://znc.in]
<{^_^}> [nixpkgs] @matthiasbeyer opened pull request #58633 → qgit: Fix meta.homepage → https://git.io/fjkXT
ru_horlick has quit [Quit: Connection closed for inactivity]
<samueldr> mightybyte: it will use the right builder for the platform you're building for
<everybodyHertz> hey all- anyone online at the moment that has some experience with nixops and GCE?
shabius has joined #nixos
knupfer has quit [Remote host closed the connection]
<mightybyte> samueldr: What if I want to build for another platform? Or multiple platforms?
<samueldr> nix-build . -A hello --option system x86_64-darwin IIRC
<gchristensen> just --system x86_64-darwin
cswl has quit [Quit: Connection closed for inactivity]
<gchristensen> (I think?)
<mightybyte> Can you do multiple at once?
<sphalerite> ,ask everybodyHertz
<{^_^}> everybodyHertz: Just ask your question. It's the best way to know if anybody can help. Or look at other ways of getting in touch with the Nix community here: https://nixos.wiki/wiki/Get_In_Touch
Shouou has joined #nixos
slack1256 has quit [Remote host closed the connection]
<everybodyHertz> sphalerite: heh, fair enough- I've got a nixops deployment that is running into issues provisioning to GCE. More specifically, I get 4 async exceptions each time. All of them reference 'project=<numbers>' (where <numbers> is a string of numbers that I don't recognize) which is strange considering all of my debugging so far indicates the value at run time should be 'nix-cloud' (name of my GCE project)
rembo10 has joined #nixos
vendicta has quit [Quit: leaving]
knupfer has joined #nixos
anon has joined #nixos
<everybodyHertz> If it provides any context, I'm using the .json key generated for a service account in a project and before I started anything (even copying the image into my storage bucket), I did a quick `nix-env -i google-cloud-sdk` and `readlink -f ./key.json | gsutil config -e` (otherwise I kept getting weird auth/signing issues)
fusion809 has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace closed pull request #51004 → semver-tool: init at 2.1.0 → https://git.io/fp0Qv
<{^_^}> [nixpkgs] @worldofpeace merged pull request #58581 → semver-tool: init at 2.1.0 → https://git.io/fjkLf
<{^_^}> [nixpkgs] @worldofpeace pushed 2 commits to master: https://git.io/fjkXm
<{^_^}> [nixpkgs] @romildo opened pull request #58634 → deepin updates → https://git.io/fjkXY
wolfman154 has joined #nixos
<wolfman154> Can someone help me out?
drakonis1 has joined #nixos
<gchristensen> wolfman154: probably, stick around a while longer and you're more likely to get the help you need
<sphalerite> wolfman154: we have a number of xmonad users. You may want to A, describe your problem in more detail (how does xmonad --recompile fail?), and B, stick around and wait for a while (I'd suggest 6 hours at least) to see if anyone can help.
<everybodyHertz> this is all so I can then test a fix I've implemented for https://github.com/NixOS/nixops/issues/829
<{^_^}> nixops#829 (by 4e6, 1 year ago, open): GCE: Option to skip public IP address association and use private IP address
<manveru> wolfman154: not using xmonad either, but it sounds like you try to reconfigure it, which you probably should be doing via configuration.nix
<sphalerite> manveru: I don't think this applies in the case of xmonad actually.
<wolfman154> Well I could paste bin the links with my code and errors?
<manveru> wolfman154: go ahead
<wolfman154> Ok 1 sec
Ralith_ has quit [Read error: Connection reset by peer]
<everybodyHertz> which, when combined with https://github.com/NixOS/nixops/issues/767 and https://github.com/NixOS/nixops/issues/221, we'll be able to do private clouds vpn'd across 3 major vendors
<{^_^}> nixops#767 (by jbgi, 1 year ago, open): Azure deployment should allows use of private IP for deployment/ssh.
<{^_^}> nixops#221 (by joamaki, 4 years ago, closed): Option to use private ip address with EC2
<sphalerite> everybodyHertz: that sounds really cool. While I don't think I can help you, I appreciate that you're doing this! everybodyHertz++
<{^_^}> everybodyHertz's karma got increased to 1
zupo_ has joined #nixos
zupo has quit [Ping timeout: 245 seconds]
<everybodyHertz> sphalerite: many thank yous, kind sir. Gonna keep posting context (booting up my work laptop now to get to the deets) to see if it connects any dots out there =D
fendor has joined #nixos
<wolfman154> https://hastebin.com/aqeyinanag.bash https://hastening.com/ivobesovig.sql I typed it on my phone let me know if the links aren’t working
knupfer has quit [Remote host closed the connection]
<everybodyHertz> sphalerite: or madame <- ugh- pronouns and gender politics in a modern age... I don't disagree, but I have to catch myself
Fare has quit [Ping timeout: 255 seconds]
<gchristensen> thank you for trying, everybodyHertz :)
<wolfman154> I was wondering if you guys could try out my home-manager configuration from those two links to see if you get the same error?
vk3wtf has joined #nixos
<everybodyHertz> not that I'm asserting there's only a binary of genders (oh god- I'm shuting this down...)
<gchristensen> best not to try and get in to the details of it
<everybodyHertz> :+1:
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos
<wolfman154> I am installing xmonad in home-manager, I am stuck at xmonad-recompile
<gchristensen> everybodyHertz: to clarify: NixOS's community is open and friendly and supportive of people regardless of gender and pronouns, however you and I and IRC are probably not the right people to be having the conversation on our own. The important part for you and I is to try to do the best we can to be inclusive, and I appreciate your attempt to be inclusive
<manveru> wolfman154: "Error detected while loading xmonad configuration file: /home/tjg/.xmonad/xmonad.hs"
<manveru> wolfman154: does that file exist?
<{^_^}> [nixpkgs] @romildo closed pull request #52403 → [WIP] deepin: updates, new packages and fixes → https://git.io/fpN7E
<wolfman154> manveru: when I created it using touch it said it was in the way so I remit and nw it’s throwing another error?
<wolfman154> Removed it
<wolfman154> Typo
<manveru> well, home-manager probably tries to create it, but you reference it with `config = .xmonad`, so it tries to read from there first...
Fare has joined #nixos
<everybodyHertz> gchristensen: lol- many thanks. It started as genuine concern and then spiraled into what I hope came off as a bit of a verbal farce (tho now I'm hoping wasn't too tone deaf as to offend)- either way: back to nix =P
<manveru> home-manager will never overwrite existing files, and if you have no existing configuration, i'd just remove that line
<gchristensen> <3
<everybodyHertz> so if it provides additional context, the project mentioned in the async errors is 1078724259120
<everybodyHertz> I tried looking at the details for a project of that name, but as suggested by the error message, I'm not allowed (that's not my project's name, so that makes sense)
<rycee> wolfman154: The config option should be set to the path of your xmonad.hs file. For example, in my configuration I have `config = ./dotfiles/xmonad.hs;`
<wolfman154> manveru: doesn’t ~/.xmonad mean home/usr? And so you’re saying it would be best to remove config = ~/.xmonad ?
<everybodyHertz> I've tried grepping for that string of numbers in the deployment files, the $out files for the compiled nixops I'm using (with the private ip considerations for GCE), and the --debug output, but bupkis =/
<Shouou> How do I satisfy the pip 'Could not find a version that satisfies the requirement protobuf==3.0.0b2' error with a Nixpkg? Does the package name just have to match?
<wolfman154> rycee: well where is xmonad.hs, I thought when I recompile in that area this file would be automatically built ?
<Shouou> (and version)
<wolfman154> Dir instead of area
mmlb9774508 has joined #nixos
apaul1729 has joined #nixos
anon has quit [Quit: Lost terminal]
<wolfman154> Shouou: was that message for me?
<Shouou> wolfman154, oh no, just a continuation of my own message
<rycee> wolfman154: I'm not certain I follow completely but ~/.xmonad should be a directory that does not contain xmonad.hs. When you do `home-manager switch` it will link the xmonad config file you specified into ~/.xmonad and trigger a rebuild/
Fare has quit [Ping timeout: 255 seconds]
<apaul1729> so i'm trying to update a nixpkg for macOS (https://github.com/libguestfs/hivex). it's an ocaml project that also uses perl bindings that get written under `result/lib`. what's the proper way to wrap the results in `bin/` with the proper PERL5LIB path?
<rycee> In my case `readlink .xmonad/xmonad.hs` answers /nix/store/kk1fwg801ijx7w26xk70471xgqwpi7xh-home-manager-files/.xmonad/xmonad.hs
<rycee> apaul1729: The best way is to use the makePerlPath function. I'll look up an example…
Fare has joined #nixos
ixxie has quit [Ping timeout: 255 seconds]
<apaul1729> rycee thanks i'll try that out
tomberek has quit [Ping timeout: 256 seconds]
<rycee> apaul1729: But that assumes the Perl bindings get installed nicely as their own packages.
<apaul1729> right. can i not just wrap it to the result's lib/ dir?
<rycee> apaul1729: Yeah, you might succeed with something like `--set PERL5LIB $out/lib/blah/blah`
<{^_^}> [nixpkgs] @aszlig pushed to master « chromium/updater: Fix usage of insecure MD5 hashes »: https://git.io/fjkXX
<wolfman154> manveru: I removed the config = ~/.xmonad line and it works, xmonad is finally recompiling, thanks
<apaul1729> ah i see
<wolfman154> manveru++
<{^_^}> manveru's karma got increased to 6
goibhniu1 has joined #nixos
<apaul1729> rycee would it be better to just make a perlModule out of the lib folder in/during the derivation somehow?
<rycee> apaul1729: How is the perl module built? Using Build.PL or something like that?
<rycee> (or Makefile.PL)
<wolfman154> Do I create my own xmonad.hs or does xmonad automatically do this when I recompile?
<rycee> wolfman154: You need to provide an xmonad.hs configuration file through the config option. Home Manager does not attempt to generate an xmonad configuration file.
<apaul1729> rycee i'm actually not sure, this is just a dependency of other stuff i'm building. let me take a look
<wolfman154> rycee: thanks for the tip
<wolfman154> rycee++
<{^_^}> rycee's karma got increased to 1
<wolfman154> rycee: noob question where would be the best location to create this file
<rycee> wolfman154: I have my HM configuration in a git repo. Inside there I have a directory called `dotfiles`. In there I have my xmonad.hs
<rycee> So I end up with `config = ./dotfiles/xmonad.hs;` in my xmonad HM configuration.
<wolfman154> rycee: thanks
<wolfman154> rycee++
<{^_^}> rycee's karma got increased to 2
erictapen has joined #nixos
kleisli has joined #nixos
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
sophiag` has quit [Ping timeout: 255 seconds]
kleisli has quit [Client Quit]
linarcx has joined #nixos
orivej has quit [Ping timeout: 245 seconds]
kleisli has joined #nixos
phreedom_ has joined #nixos
phreedom has quit [Ping timeout: 256 seconds]
<apaul1729> rycee i'm not quite sure, but i think the perl module the program needs is already written, it's just a subdir in the repo:
linarcx has quit [Ping timeout: 255 seconds]
ninjin has quit [Ping timeout: 256 seconds]
ddellacosta has quit [Ping timeout: 255 seconds]
<everybodyHertz> yeah, I'm at a loss for now... print() debugging around the connect() method didn't even clarify- still printed my project name (the one I wrote into the .nix file), but the async errors all still fail due to an access error on project 1078724259120
<everybodyHertz> gonna hit up amine-chikhaoui tomorrow methinks
<rycee> apaul1729: I had a look at the existing hivex package in Nixpkgs and it seems to install the Perl module. So you should be able to wrap the program using `--set PERL5LIB "$out/${perlPackages.perl.libPrefix}"`
<rycee> apaul1729: Is hivexregedit the program that needs wrapping?
<emily> hexa-: I have the Cloudflare Python hook for dehydrated half
<emily> packaged locally.
<emily> still haven't gotten around to setting it up :/
<hexa-> emily: ah, I wanted to host everything locally, rfc2136 :)
vk3wtf has quit [Ping timeout: 246 seconds]
<hexa-> I am a dehydrated user myself on other systems, but lego seems to be a good acme implementation in general
<emily> ah, that's slightly too hardcore for me hehe
<emily> I'd be fine with lego too, dehydrated just seemed easier to get working at a pinch
ng0 has quit [Quit: Alexa, when is the end of world?]
<emily> I'd love to see someone improve the acme module
<apaul1729> rycee yeah it's hivexregedit
<apaul1729> it fails out with `cant locate Win/Hivex.pm in @INC` . trying a build with your last suggestion
<apaul1729> oh hey that seemed to work
<apaul1729> ah now i see what libPrefix is
<apaul1729> i couldn't figure out the proper path to use beforehand
linarcx has joined #nixos
grumble is now known as upline
<mkaito> I'm having trouble getting the libv8 ruby gem to build, could anyone lend me a hand? https://gist.github.com/mkaito/069723f7503a14beebe2a15eec5e874f
tomberek has joined #nixos
leotaku has quit [Quit: ZNC 1.7.1 - https://znc.in]
leotaku has joined #nixos
erasmus is now known as yourhandle
kleisli has quit [Quit: Leaving]
ekleog has quit [Quit: back soon]
kleisli has joined #nixos
<rycee> apaul1729: Glad it worked out for you :-)
slack1256 has joined #nixos
ekleog has joined #nixos
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #nixos
i1nfusion1 has joined #nixos
kleisli has quit [Client Quit]
kleisli has joined #nixos
kleisli has quit [Client Quit]
<{^_^}> [nixpkgs] @FlexW opened pull request #58635 → cask: init at 0.8.4 → https://git.io/fjk1l
kleisli has joined #nixos
kleisli has quit [Client Quit]
<worldofpeace> ,locate bin/locale-gen
<{^_^}> Couldn't find in any packages
<clever> ,locate bin locale-gen
kleisli has joined #nixos
<clever> the bot has a weird syntax
<{^_^}> Couldn't find in any packages
<everybodyHertz> ,?
<worldofpeace> I've noticed bin/ getting more results though
<clever> and that doesnt seem to be anywhere obvious
<clever> ,locate bin/hello
<{^_^}> Found in packages: hello, mbedtls, perkeep.bin, gitlab-runner.bin, haskellPackages.hello
<clever> worldofpeace: ah, maybe its been improved since i last saw the weirdness
<worldofpeace> clever: Perhaps, though infinisil still tries both :)
civodul has quit [Quit: ERC (IRC client for Emacs 26.1)]
<samueldr> worldofpeace: ,locate bin/hello is like bin/hello*, while ,locate bin hello is like bin/hello$
<samueldr> hm, like ^bin/hello$*
<samueldr> so yeah, bin/hello might find bin/hello-world
<infinisil> worldofpeace: clever: `,locate bin <name>` searches for exactly $out/bin/<name>, whereas `,locate bin/<name>` is just a path search for bin/<name> anywhere in the path, so this include things that wouldn't be in PATH too, but just happen to have bin/<name> in the path
<worldofpeace> Now it all makes sense.
<clever> ahh
<infinisil> Who needs docs when you can ask me right!
<infinisil> /s
<worldofpeace> exactly, much faster than reading :)
dejanr has quit [Ping timeout: 245 seconds]
slack1256 has quit [Ping timeout: 250 seconds]
_linarcx has joined #nixos
linarcx has quit [Ping timeout: 245 seconds]
goibhniu2 has joined #nixos
yourhandle is now known as ErAsMuS
wolfman154 has joined #nixos
goibhniu1 has quit [Ping timeout: 246 seconds]
gagbo has joined #nixos
kvda has joined #nixos
vk3wtf has joined #nixos
_linarcx has quit [Quit: WeeChat 2.4]
invokesus has quit [Ping timeout: 256 seconds]
cryptomonad has joined #nixos
das_j has quit [Remote host closed the connection]
das_j has joined #nixos
wolfman154 has quit [Ping timeout: 245 seconds]
<{^_^}> [nixpkgs] @dtzWill merged pull request #58603 → yubico-pam: init, nixos integration → https://git.io/fjkg8
<{^_^}> [nixpkgs] @dtzWill pushed 4 commits to master: https://git.io/fjk1M
i1nfusion1 has quit [Remote host closed the connection]
i1nfusion has quit [Remote host closed the connection]
vk3wtf has quit [Ping timeout: 250 seconds]
i1nfusion1 has joined #nixos
i1nfusion has joined #nixos
Ariakenom has quit [Quit: Leaving]
<WilliamHamilton[> how could I specify a subdirectory when I use fetchFromGithub?
slack1256 has joined #nixos
<WilliamHamilton[> (in my case, I want to build a cabal package that's in a subdirectory of a git repo)
slack1256 has quit [Remote host closed the connection]
tomberek has quit [Ping timeout: 256 seconds]
<manveru> WilliamHamilton[: like `foo = fetchFromGitHub { ... }; src = "${foo}/whatever";` should do it
<WilliamHamilton[> manveru: thanks, in the meantime I also found https://stackoverflow.com/questions/53658303/fetchfromgithub-filter-down-and-use-as-environment-etc-file-source which says something along the lines of `fetchFromGithub {...} + "/subfolder"`
<manveru> yeah, same thing basically :)
<WilliamHamilton[> and tbh this confuses me a bit, when I say `fetchFromGithub {...}` the "return type" is a folder?
<manveru> the return value is the path of the downloaded repo
<WilliamHamilton[> yes, just pointing it out because I found that surprising :)
<infinisil> To be a bit more exact, fetchFromGitHub returns a derivation that will contain the repositories contents when built
<infinisil> > fetchFromGitHub { owner = "NixOS"; repo = "nixpkgs"; rev = "master"; sha256 = "0000000000000000000000000000000000000000000000000000"; }
<{^_^}> "<derivation /nix/store/iknsb49piyxl3jax3qanp3yrhspk113w-source.drv>"
<infinisil> And a derivations .outPath contains the path of the build result
<infinisil> > (fetchFromGitHub { owner = "NixOS"; repo = "nixpkgs"; rev = "master"; sha256 = "0000000000000000000000000000000000000000000000000000"; }).outPath
<{^_^}> "/nix/store/bqfq4db6nwycmkdrql9igsbrayqsw3g2-source"
<WilliamHamilton[> ok, and so that + concatenates the outpath?
<WilliamHamilton[> how does it know that it should choose the `outPath` attribute?
<infinisil> Indeed, + tries to make strings out of its arguments, and derivations get converted to strings by taking their outPath
<manveru> string interpolation uses .out, no?
<gchristensen> > pkgs.hello.outPath
<{^_^}> "/nix/store/5blzqmi4735d90rdrw26byjnn2bdzm4b-hello-2.10"
<manveru> ah, ok
<infinisil> > { outPath = "hello"; } + " there!"
<gchristensen> > pkgs.sqlite.dev.outPath
<{^_^}> "hello there!"
<{^_^}> "/nix/store/7kl0rfxrv359yh6sb3h9skcdhrvlbhkx-sqlite-3.26.0-dev"
<infinisil> It actually doesn't even look at whether it's a derivation, it just takes outPath if it's an attrset :)
<manveru> and derivations are attrsets with some special type key set...
<WilliamHamilton[> thanks manveru infinisil this has been very instructive for me!
<{^_^}> [nixpkgs] @vandenoever opened pull request #58636 → kde-frameworks: 5.54 -> 5.56 → https://git.io/fjk1A
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rprije has joined #nixos
vk3wtf has joined #nixos
wfranzini has quit [Remote host closed the connection]
wfranzini has joined #nixos
<{^_^}> [nixpkgs] @vandenoever opened pull request #58637 → plasma-5: 5.14.5 -> 5.15.3 → https://git.io/fjk1j
<{^_^}> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/d8c7f0bd3f4 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
growpotkin has joined #nixos
<{^_^}> [nixpkgs] @rycee pushed commit from @jluttine to master « josm: fix support for kendzi3d plugin »: https://git.io/fjkMf
<{^_^}> [nixpkgs] @rycee closed pull request #58617 → josm: fix support for kendzi3d plugin → https://git.io/fjkoS
growpotkin has quit [Remote host closed the connection]
jbgi has quit [Ping timeout: 245 seconds]
wolfman154 has joined #nixos
selfsymmetric-mu has joined #nixos
vk3wtf has quit [Ping timeout: 250 seconds]
wolfman154 has quit [Quit: Mutter: www.mutterirc.com]
__monty__ has quit [Quit: leaving]
<{^_^}> [nixpkgs] @Amar1729 opened pull request #58638 → added perl dep, added libiconv for macOS → https://git.io/fjkMY
m0rphism has quit [Ping timeout: 245 seconds]
selfsymmetric-mu has left #nixos ["1"]
Anton-Latukha has quit [Quit: Leaving.]
jackdk has joined #nixos
<apaul1729> @ryce
<apaul1729> rycee thanks for the help https://github.com/NixOS/nixpkgs/pull/58638
<{^_^}> #58638 (by Amar1729, 9 minutes ago, open): Fix hivex for darwin
rhitakorrr has joined #nixos
<{^_^}> [nixpkgs] @Infinisil opened pull request #58639 → browserpass: 2.0.22 -> 3.0.1 → https://git.io/fjkMn
vk3wtf has joined #nixos
<rhitakorrr> Hey folks - was wondering if anyone could help me figure out what's going wrong here (or point me in the right direction).
<rhitakorrr> Trying to install some Ruby packages, I'm getting:
<rhitakorrr> "builder for '/nix/store/[...]-ruby2.6.1-tzinfo-1.2.5.drv' failed with exit code 1"
<rhitakorrr> Some ways above that, "ERROR: While executing gem ... (Gem::InvalidSpecificationException)"
<samueldr> which channel/branch of nixpkgs? (and revision?) additionally, one of the ruby package failing
<rhitakorrr> The exact revision is 5082ab8335be9a0895ca78fe1ae81a5a186ae4a4
pie__ has quit [Ping timeout: 258 seconds]
mabel has joined #nixos
<rhitakorrr> I've tried a couple now with similar results. The tzinfo package always seems to fail as of trying to update to Ruby 2.6.x.
fendor has quit [Read error: Connection reset by peer]
<rhitakorrr> Was previously on Ruby 2.5.x
mabel has quit [Changing host]
mabel has joined #nixos
tmaekawa has joined #nixos
<mabel> hey, this is a noob question, but I copied a file from nixpkgs (vtk/default.nix -> vtk.nix off-tree) and tried to use callPackage ./vtk.nix {}; to invoke it
<samueldr> sorry, I'm a bit unimaginative, what good example ruby package rhitakorrr?
<mabel> it complains that I am missing Cocoa
<mabel> vtk.nix indeed takes the attribute { Cocoa } in its args.... but it does not require Darwin
<mabel> am I setting up the callPackage wrong?
<samueldr> that's from pkgs/top-level/all-packages.nix which github think is too big to be able to link to :/
<manveru> rhitakorrr: hmm, that's interesting :)
<mabel> samueldr: oh! thank you!
<rhitakorrr> samueldr: Do you mean an example which causes the error?
<samueldr> yes :)
<samueldr> the only thing off the top of my head using ruby is redmine, which apparently uses 2.4
<samueldr> or uh, nix-top, which apparently uses 2.5 on the revision you said
* samueldr forgot about his own thing
alex`` has quit [Quit: WeeChat 2.4]
<rhitakorrr> Hmm... the issue is specifically appearing in my personal project. I could try to make a minimal example in a gist if that helps?
Shouou has left #nixos ["Leaving"]
<manveru> i reproduced it already
<manveru> something in rubygems must've changed :(
<manveru> time to go source diving...
apaul1729 has quit [Remote host closed the connection]
jbgi has joined #nixos
<rhitakorrr> Thanks, manveru - I'm not quite familiar enough with Nix to debug this sort of thing myself :/
<mabel> bleh. my machine is running a high fever and I'm not sure what's wrong with it. I thought it was a thermal grease issue but I reapplied yesterday
<manveru> rhitakorrr: seems like gemspec got stricter...
<manveru> i'm wondering if this gem even builds on other platforms
acham has joined #nixos
<acham> Yo, I'm trying to prepare a package, "github.com/apenwarr/redo" and noticed it works in an unreleased git version, but not in the latest tag.
<acham> Is that okay? what should I put in the version field?
<manveru> rhitakorrr: for now you can add this to your `bundlerEnv`, that should fix it. https://www.irccloud.com/pastebin/nriFtobh/
erictapen has quit [Ping timeout: 245 seconds]
<rhitakorrr> manveru: I'll give it a try. Thanks!
<manveru> since tzinfo is very popular, we should add that to defaultGemConfig... but i gotta get some sleep now
<samueldr> acham: that would be okay; the official word is to have the name be `pkgname-unstable-YYYY-MM-DD`, https://nixos.org/nixpkgs/manual/#sec-package-naming
<samueldr> where YYYY-MM-DD is the date of the commit
<acham> Thank you
erictapen has joined #nixos
domogled has quit [Ping timeout: 250 seconds]
<{^_^}> [nixpkgs] @worldofpeace pushed to gnome-3.32 « gnome3.mutter: hardcode path to zenity »: https://git.io/fjkMa
tomberek has joined #nixos
<mabel> oh, this is strange too. I'm using nix-prefetch-git https://github.com/Kitware/VTK --rev v8.0.0
<mabel> it spits out a rev-hash and a sha256
<mabel> I plug those into fetchFromGitHub, and it *fails*, saying that the hash was not as expected
<mabel> this must be a bug in nix-prefetch-git, right?
ErAsMuS is now known as erasmus
jasongrossman has joined #nixos
jbgi has quit [Ping timeout: 245 seconds]
<samueldr> mabel: no, it's more of a mismatch in expectations
<samueldr> fetchFromGitHub will not use git* when fetching, it will use the archive download
<timclassic> I can't seem to override the openssh parameter to the nixops package. `nixops = super.nixops.override { openssh = openssh-other; };` gives me `anonymous function at ... called with unexpected argument 'openssh'`.
<samueldr> and it will hash the extracted contents (since archives files could change)
<samueldr> mabel: the "*" was that when using deep cloning it will go back to using git
<samueldr> ,tofu mabel
<{^_^}> mabel: 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.
<timclassic> There seems to be a layer of indirection when constructing the nixops package, where the nixops default.nix uses another `callPackage` to a generic.nix -- could this be the reason `.override` is not working?
<samueldr> when you're pretty confident in the supply chain, TOFU is generally the easier way to handle hashes within nix
<{^_^}> [nixpkgs] @andrewchambers opened pull request #58640 → redo-apenwarr: init at unstable-2019-03-12 → https://git.io/fjkMw
<rhitakorrr> manveru: It's working :)
<{^_^}> [nixpkgs] @worldofpeace opened pull request #58641 → gnome3.mutter328: use gnome-3-28 branch → https://git.io/fjkMK
mbrgm_ has joined #nixos
andymandias has quit [Ping timeout: 246 seconds]
andymandias has joined #nixos
mbrgm has quit [Ping timeout: 245 seconds]
mbrgm_ is now known as mbrgm
Ralith_ has joined #nixos
Rusty1 has joined #nixos
kleisli has quit [Ping timeout: 255 seconds]
kreisys has joined #nixos