jrolfs has quit [(Ping timeout: 256 seconds)]
dan_b has joined #nixos
justanotheruser has joined #nixos
<yegortimoshenko> gchristensen: https://www.youtube.com/watch?v=cSwPOpOKr3w
<yegortimoshenko> gchristensen: Rich Hickey, Simple Made Easy
<yegortimoshenko> this is probably the best one i've watched, ever.
drakonis has quit [(Ping timeout: 252 seconds)]
<pbogdan> a great talk, indeed yegortimoshenko
drakonis has joined #nixos
leat has quit [(Ping timeout: 252 seconds)]
<yegortimoshenko> pbogdan: it is almost certainly the most influential for me, it radically changed the way i think about software.
<concatime> Finally, PulseAudio is working fine and is able to detect headphones ;)
<jeaye> yegortimoshenko: Indeed.
<jeaye> Most anything from Rich will turns some lights on or some pictures upside down.
<yegortimoshenko> jeaye: definitely. for example, I didn't think about breakage being as bad of a thing before I've watched spec-ulation
<yegortimoshenko> or rather, i did, when someone broke something for me.
<yegortimoshenko> but not when i was breaking something for someone else.
<concatime> Can someone actually build i3status-rust from cargo?
<concatime> It seems that pkg-config is not able to find dbus-1.pc
<concatime> `pkg-config --libs --cflags dbus-1` ~> No package 'dbus-1' found
mekeor has quit [(Remote host closed the connection)]
<concatime> `find /nix -name dbus-1.pc` ~> /nix/store/<hash>-dbus-1.10.24-dev/lib/pkgconfig/dbus-1.pc
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] samdroid-apps opened pull request #33094: werkzerg: patch reloader to find nix wrapped python scripts (master...fix-werkzerg-reloader) https://git.io/vb5dy
NixOS_GitHub has left #nixos []
warrickmacmillan has joined #nixos
dieggsy has quit [(Ping timeout: 264 seconds)]
jrolfs has joined #nixos
<gchristensen> globin: what does it mean to "give me values for all the free variables" mean?
warrickmacmillan has quit [(Quit: warrickmacmillan)]
jrolfs has quit [(Ping timeout: 256 seconds)]
cement has quit [(Ping timeout: 265 seconds)]
<yegortimoshenko> gchristensen: YouTube is missing slides, here's a proper link: https://www.infoq.com/presentations/Simple-Made-Easy
<gchristensen> ohh nice
<gchristensen> thanks, yegortimoshenko!
thc202 has quit [(Ping timeout: 252 seconds)]
m0rphism has joined #nixos
nuncanada has quit [(Ping timeout: 265 seconds)]
jrolfs has joined #nixos
cinimod` has joined #nixos
nix-gsc-io`bot has joined #nixos
otherjrolfs has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1258d9a4914 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vb5bQ
<NixOS_GitHub> nixpkgs/master 4d5837f Peter Hoeg: scummvm: add support for FluidSynth...
NixOS_GitHub has left #nixos []
cinimod` has quit [(Ping timeout: 240 seconds)]
mekeor has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
nevermind has joined #nixos
nevermind is now known as Guest50009
alasi has quit [(Quit: Connection closed for inactivity)]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg opened pull request #33095: smartd: support drive timeouts (master...m/smartd) https://git.io/vb5NO
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Ping timeout: 264 seconds)]
JazzyEagle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1764: nix repl: use linenoiseKeyType to differentiate ^C and ^D (master...fix/issue-1757) https://git.io/vb5Nz
NixOS_GitHub has left #nixos []
<JazzyEagle> Hello, all. Quick generic question: I'm trying NixOS in a VM right now, and I'm liking it so far (coming from ArchLinux)... I'm trying to understand pros/cons to adding programs into configuration.nix vs. manually installing via a command line. I didn't really see that called out clearly in the manual.
vidbina has quit [(Ping timeout: 240 seconds)]
cinimod has quit [(Quit: Connection closed for inactivity)]
<JazzyEagle> Well, hopefully it's quick. :)
kirelagin has joined #nixos
kirelagin has left #nixos []
<yegortimoshenko> JazzyEagle: program installed into system profile will be available system-wide, program installed into system profile will be available only to specific user
<jtojnar> JazzyEagle: listing the installed packages in the file allows you to use version control and/or share the configuration across machines
<yegortimoshenko> exactly what jtojnar said. i only store ephemeral in user profile and i wipe it every few days with `nix-env -Eir`
<yegortimoshenko> s/ephemeral/ephemeral packages/
<yegortimoshenko> user profile is stateful, unlike system profile
Ross has quit [(Quit: ZNC - http://znc.in)]
Ross has joined #nixos
<fearlessKim[m]> anyone has some experience with cmake not finding Qt5 ? https://github.com/NixOS/nixpkgs/pull/29558#issuecomment-353982826
Guest50009 has quit [(Quit: Textual IRC Client: www.textualapp.com)]
<JazzyEagle> Ok, so system vs. user is a major difference, version control and multi-machine config is another. Got it.
<concatime> The main idea of NixOS is being reproducible. That's why there is configuration.nix and why you should try to put everything in it.
<JazzyEagle> Thank you so much!! I'm liking what I'm seeing so far.
<JazzyEagle> Thanks, concatime. :)
<concatime> It's a pleasure ;)
<JazzyEagle> I need to get going for now, but will pop on later for more chat. Thanks again!
JazzyEagle has left #nixos ["WeeChat 2.0"]
<yegortimoshenko> concatime: everything might be a bad idea
<concatime> Everything that's doable cleanly ;)
concatime has quit [()]
<jtojnar> fearlessKim[m]: I was packaging telepathy-morse which uses Qt5 and CMake and did not encounter any issues https://github.com/NixOS/nixpkgs/pull/32622/files
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<fearlessKim[m]> jtojnar: good to know thanks. you call it with libsForQt5 so that might help. Might be a version thing too (5.7). I have to dig deeper
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
dan_b has quit [(Ping timeout: 272 seconds)]
fendor has quit [(Quit: Leaving)]
cinimod` has joined #nixos
cinimod` has quit [(Ping timeout: 252 seconds)]
dieggsy has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
nevermind has joined #nixos
nevermind is now known as Guest16134
jrolfs has joined #nixos
mbrgm has quit [(Ping timeout: 252 seconds)]
mbrgm has joined #nixos
yegortimoshenko has quit [(Remote host closed the connection)]
jrolfs has quit [(Ping timeout: 240 seconds)]
marzzzello has joined #nixos
markus1189 has quit [(Ping timeout: 252 seconds)]
[0x4A6F] has joined #nixos
moet has joined #nixos
Guest16134 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
warrickmacmillan has joined #nixos
warrickmacmillan has quit [(Quit: warrickmacmillan)]
Supersonic112 has quit [(Disconnected by services)]
oida has quit [(Ping timeout: 252 seconds)]
hotfuzz_ has quit [(Ping timeout: 256 seconds)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] olynch opened pull request #33098: denemo: init at 2.2.0 (master...denemo) https://git.io/vb5pR
NixOS_GitHub has left #nixos []
<pikajude> has anyone successfully built a ghcjsHEAD package recently
<pikajude> or ghcjsHEAD itself
<pikajude> it seems to be depending on ghc 8.2 but ghc 8.2 packages don't build at all for me
<MP2E> hmm I would guess that the recent move to ghc 8.2 by default broke it..
jrolfs has joined #nixos
<MP2E> not very familiar with ghcjs so perhaps I'm incorrect, but last I read about it on /r/haskell it still needed 8.0
nisstyre has quit [(Quit: WeeChat 1.9.1)]
otherjrolfs has joined #nixos
<andromeda-galaxy> Is there a standard approach for packaging binary-only libraries that have hardcoded paths to data files in them?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] olynch closed pull request #33055: pjsip: 2.6 -> 2.7.1 (master...master) https://git.io/vb7KD
NixOS_GitHub has left #nixos []
<MP2E> for relative paths, yes, in that case put the executable and data files/folders into $out/lib/programName/ and then create a wrapper of the executable using either wrapProgram or makeWrapper.
<pikajude> well, ghcjsHEAD has version constraints for ghc 8.2 specific stuff
<pikajude> that's the confusing part
<MP2E> ah then I must be mistaken about that! hmm
<andromeda-galaxy> MP2E: thanks, unfortunately this is an absolute path (into /opt)
<andromeda-galaxy> I am trying to use amdgpu 17.40 (vega) and it seems to have the path /opt/amdgpu-pro/share/libdrm/amdgpu.ids hardcoded into it
<MP2E> for that, worst case, you could create a chroot environment which has a file structure the program expects via symlinks... not pretty, but that's how we get steam working from what I understand
<MP2E> there might be an easier way, not sure..
<pikajude> never mind
<andromeda-galaxy> ah... I was thinking of trying to use buildFHSUserEnv for OpenCL and ignoring X11. It probably wouldn't work terribly well to run X in the necessary chroot/user env...
<pikajude> as usual, i've done something stupid
<pikajude> i replaced the nixpkgs overrides with my own
<pikajude> instead of adding to them
<pikajude> whoops
<moet> can i apply a patch to a package using overrideAttrs?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] olynch opened pull request #33099: pjsip: 2.6 -> 2.7.1 (master...pjsip) https://git.io/vb5hU
NixOS_GitHub has left #nixos []
<moet> putting the patch string into `patches [ 'diff ...' ]` didn't work because it treated the string as a filename
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
<samueldr> it is a list of filenames, you could have that patch locally next to the file having the override and referenc it as [ ./that.patch ];
<moet> samueldr: locally? my overrideAttrs is in a default.nix file.. you mean, just put the patch in the same dir?
<samueldr> yes
<moet> hmm, ok, that worked but didn't fix the problem
<samueldr> sorry, I might have missed what the problem actually was
JazzyEagle has joined #nixos
<JazzyEagle> Hello, again. :)
<moet> samueldr: (no problem, i didn't explain!) i am trying to build several projects which depend, transitively, on haskellPackages.exception-transformers .. all of them are failing with the same issue
<samueldr> oh, fun time thehn! (I won't be of any help with haskell stuff though)
* JazzyEagle knows some Haskell, but is just learning NixOS. :)
<moet> ah well
asuryawanshi has joined #nixos
<moet> i looked at the derivation file, and it's pulling in a version of HUnit which is just outside the bounds, 1.6
<moet> so i tried patching the cabal file to allow <=1.6
<moet> but the build fails with almost the same error, indicating the patched range (evidence that the patch was applied, and something else is weird with the build)
<JazzyEagle> Current version of HUnit is 1.6.0.0. You may want to make the constraint a little higher (e.g. < 1.7 or 2.0) to ensure you don't have the issue with every update of HUnit...
<JazzyEagle> Still, that doesn't solve your current problem. Let me take a look at the nix package.
tmaekawa has joined #nixos
asuryawanshi has quit [(Ping timeout: 252 seconds)]
<JazzyEagle> Ok, this is where my limitation on NixOS is going to give me a road block... I'm not seeing that package on nixos.org/nixos/packages.html ... Is there another place to look?
<moet> haskell packages live under haskellPackages
<moet> so i generally explore them in nix-repl
mekeor has quit [(Remote host closed the connection)]
<moet> as you can see from this, nixpkgs is going to use HUnit-1.5.0, which is totally in-bounds for exception-transformers-0.4.0.5
otherjrolfs has joined #nixos
jrolfs has joined #nixos
* JazzyEagle still has a lot to learn, apparently! :)
<moet> but then if i look at the files in the nix path for exception-transformers (see first paste) i, it's clear nix has selected the wrong dependency package http://lpaste.net/361134
<moet> 1.6
<moet> so, i'm lost
<JazzyEagle> moet: Have you tried compiling with cabal or stack to see if it might be some sort of constraint setting within your project?
<JazzyEagle> Just to rule that out?
<moet> hrm... i'm not depending on exception-transformers
<moet> and it's happening in all my projects
<moet> so i think it's a deep deep dependency of other packages i'm using
<moet> (i just set up nix today on osx for the first time, so, this is probably a setup-pain)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] olynch opened pull request #33100: mitschemeX11: init at 9.2 (master...mitschemeX11) https://git.io/vb5hj
NixOS_GitHub has left #nixos []
<JazzyEagle> Got a link to a repo with your code somewhere?
<JazzyEagle> lol We're probably in the same boat. I installed NixOS in a VM a day or two ago and I finally have the time today to practice building the system today. :)
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
Piece_Maker has joined #nixos
<JazzyEagle> I can't seem to get nix repl to work for me.
<moet> hold on, i was able to compile one project
<moet> i think i can narrow this down to one of my dependencies, one sec..
<JazzyEagle> Ahhh, I see. It's separately installable.
Acou_Bass has quit [(Ping timeout: 248 seconds)]
Piece_Maker is now known as Acou_Bass
<JazzyEagle> Are there a lot of these separate repos similar haskellPackages? If so, how does one view to see what they all are?
<JazzyEagle> I noticed that there are a lot of audio packages that are missing from the NixOS packages list. I'm curious to find out if there is some other repo I need to connect to.
justan0theruser has joined #nixos
justan0theruser has quit [(Client Quit)]
justan0theruser has joined #nixos
justanotheruser has quit [(Ping timeout: 248 seconds)]
<JazzyEagle> nixpkgs... I see now...
<JazzyEagle> There's a lot of the missing packages I was curious about. :)
<JazzyEagle> Not all of them, but a heck of a lot more of them. :)
<moet> ok, i have a minimal repro
jrolfs has joined #nixos
otherjrolfs has joined #nixos
rogue_koder has quit [(Ping timeout: 272 seconds)]
<JazzyEagle> Are you able to identify the offending package yet?
jrolfs has quit [(Ping timeout: 272 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<moet> no
<moet> it seems that the offending package was just exceptions-transformers
<moet> but ^ that repo has a repro
cinimod` has joined #nixos
<moet> JazzyEagle:
<moet> no explanation, but i put up a minimal repro
cinimod` has quit [(Ping timeout: 248 seconds)]
<JazzyEagle> Ok. I'm waiting for the last rebuild to finish so I can add in the haskell stuff.
<JazzyEagle> It's getting pretty late here though, and I'm not much of a night person, so I'm not sure if I'll be ale to figure this out before my brain turns to mush.
<moet> heh, no problem
<moet> if you think of anything, post it here.. i'll come back and read the logs later
<moet> but i too have to sign off.. have an early flight
<JazzyEagle> Take care. :)
atrx has joined #nixos
rogue_koder has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] moaxcp opened pull request #33101: jbake: init at 2.5.1 (master...master) https://git.io/vbded
NixOS_GitHub has left #nixos []
leat has joined #nixos
moet has quit [(Ping timeout: 248 seconds)]
endformationage has joined #nixos
nh2 has joined #nixos
babyflakes has joined #nixos
nh2 has quit [(Client Quit)]
nh2 has joined #nixos
drakonis_ has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
dieggsy has quit [(Ping timeout: 264 seconds)]
nh2 has quit [(Quit: Leaving.)]
nh2 has joined #nixos
dieggsy has joined #nixos
nh2 has quit [(Client Quit)]
drakonis has quit [(Ping timeout: 272 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 272 seconds)]
schoppenhauer has quit [(Ping timeout: 252 seconds)]
schoppenhauer has joined #nixos
dieggsy has quit [(Ping timeout: 272 seconds)]
dbe has quit [(Ping timeout: 240 seconds)]
asuryawanshi has joined #nixos
drakonis_ has quit [(Read error: Connection reset by peer)]
ericsagnes has quit [(Ping timeout: 256 seconds)]
tmaekawa has quit [(Quit: tmaekawa)]
bennofs has joined #nixos
bennofs has quit [(Ping timeout: 265 seconds)]
endformationage has quit [(Quit: WeeChat 1.9.1)]
asuryawanshi has quit [(Remote host closed the connection)]
atrx has quit [(Ping timeout: 252 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
threeve has joined #nixos
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
[0x4A6F] has quit [(Ping timeout: 252 seconds)]
jb55 has joined #nixos
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] volth opened pull request #1765: match and split discard string content (master...patch-1) https://git.io/vbdUV
NixOS_GitHub has left #nixos []
aarvar has quit [(Ping timeout: 256 seconds)]
atrx has joined #nixos
leat has quit [(Quit: WeeChat 1.9.1)]
ericsagnes has joined #nixos
jrolfs has joined #nixos
orivej has quit [(Ping timeout: 256 seconds)]
rogue_koder has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
pie_ has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
<JazzyEagle> Ok, I'm getting confused... How does one find the appropriate configuration settings? I was looking for how to configure XMonad/XMobar, found https://stackoverflow.com/a/47069389 and tried it, and I'm getting an error that The option 'windowManager' defined in /etc/nixos/configuration.nix does not exist.
<JazzyEagle> It appears that this *used* to be the correct way, but how do I figure out the current way to enable xmonad Contrib & Extras?
asuryawanshi has joined #nixos
<JazzyEagle> Note: Not specifically looking for the answer of how to configure it, but how to find out how to configure it. I don't need to know all the answers, I just need to know where to look up the answers. :)
<makefu> JazzyEagle: a good start is always https://nixos.org/nixos/options.html# -> search for xmonad
<makefu> or `man configuration.nix`
verite has joined #nixos
<makefu> if you think the solution you've found at the end is worth writing down, go ahead and put it into https://nixos.wiki
<JazzyEagle> Ok, cool. I didn't realize that's what the Options item was for.
<makefu> sometimes you will unfortunately have to read the source code of the options to understand what is going on or why something does not work as you expected. nixpkgs reside on github at https://github.com/NixOS/nixpkgs
asuryawanshi has quit [(Ping timeout: 240 seconds)]
pie_ has quit [(Ping timeout: 265 seconds)]
<JazzyEagle> Thanks. I found the github site before, but I'm still really new to NixOS, so I'm not completely familiar with the language or the way the folders are organized yet.
rogue_koder has joined #nixos
<JazzyEagle> Thankfully, I'm familiar with functional programming, so it doesn't look entirely foreign to me. :)
pie_ has joined #nixos
<makefu> that will really help, especially when you need to deep-dive into other peoples code ;)
<makefu> the nixpkgs source code is not super structured, your best bet will be "git grep" most of the time
warrickmacmillan has joined #nixos
<makefu> the general idea is: pkgs/ -> contains all the packages and package definitions available for you to use and install, nixos/ -> contains all the options when you use the nixos distribution
warrickmacmillan has quit [(Client Quit)]
<JazzyEagle> Ok. The other question is how I figure out how to enter a package into configuration.nix? I know the Haskell packages start with packageHaskell.x, but what about, say, the calf plugins? I see them at https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/audio/calf , but how do I know what to enter into configuration.nix?
hyphon81 has joined #nixos
otherjrolfs has joined #nixos
<makefu> to make a package available in your PATH you can use "environment.systemPackages" . most packages reside in the top-level pkgs. you can use nix-env -qaP | grep <thing> to find how the package is called or check in pkgs/top-level/all-packages.nix
<makefu> to get calf into the path this means : environment.systemPackages = [ pkgs.calf ]
<makefu> for just testing out scripts `nix-shell` will be your friend. to test calf: nix-shell -p calf
<makefu> you will enter a shell with calf in the path
<JazzyEagle> Not sure I understood that last part... Testing out scripts?
<JazzyEagle> I understand configuration.nix is a script, but the calf script is already written. What would I be testing?
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<makefu> sorry, testing out the binary without actually installing it in your system profile
leat has joined #nixos
<JazzyEagle> Ahhh, ok.
* makefu is sitting in a train right now with unreliable 3g ... sorry for the long delay
<JazzyEagle> lol No problem.
<JazzyEagle> It's almost 1am here, and my brain is mush. My delay in comprehension can't be blamed on 3g. XD
<makefu> configuration.nix defines your whole system configuration. you can think of it like the recipe for your own linux distribution
simukis has joined #nixos
<makefu> it is 7:53 here and i am up since 4:30 so i am not really any better
<JazzyEagle> And my nixos is slow, but I'm not blaming nixos for that... I'm running it inside a vm via ssh w/ compression. :)
<JazzyEagle> There's three different bottlenecks in one execution.
<makefu> :D
<JazzyEagle> All so I can fumble with it while sitting in a chair on my work laptop (I'm getting a personal laptop within a couple of weeks, hence revisiting distros before I choose what to install on it)
<makefu> with nixos you will become your very own distribution manager. you can mix and match configuration from others with your own setup and share configuration between multiple systems
<JazzyEagle> I don't see how I would end up doing that a whole heck of a lot. My wife is a die-hard MacOS user (though for the life of me I still can't figure out why... nor can she...) and my kids aren't really old enough yet to have their own laptops (though a default config to install from could come in handy when they do get to that age)
<JazzyEagle> I could see that being a big value for a company, though.
ssmike has joined #nixos
jb55 has quit [(Ping timeout: 264 seconds)]
<hyphon81> Hello. I would like to add packages to nixpkgs. So, I should obey this manual (https://nixos.org/nixpkgs/manual/) and send Pull Request. Is it right?
<makefu> i use it for laptop(s) as well as some VMs and small computers
jrolfs has joined #nixos
<makefu> hyphon81: yes, just open a PR on nixpkgs
leat has quit [(Quit: WeeChat 1.9.1)]
<hyphon81> makefu: Thanks!
<makefu> i am not a maintainer but i can review your PR nonetheless, just ping me
leat has joined #nixos
<JazzyEagle> makefu: Ok, I tried 'nix-env -qaP | grep calf' and got 'nixos.calf calf-0.0.60'... Then I tried 'nix-env -qaP | grep xmobar' and got nothing. Any ideas why xmobar came up blank?
<makefu> JazzyEagle: i think the main issue here is that haskellPackages do not show up
jrolfs has quit [(Ping timeout: 260 seconds)]
<JazzyEagle> Yeah. I wasn't sure if there's other things like haskellPackages for different categories of programs, though, so I'm not sure if this is limited to haskellPackages or not.
<JazzyEagle> I know Haskell tends to be unique in too many ways, and Haskellers love to simplify things within mathematical complexity, so wasn't sure if only Haskell was some sort of special case.
<makefu> JazzyEagle: try nix-env -qaP -A haskellPackages
<makefu> it is the same with pythonPackages i think
<JazzyEagle> attribute not found.
<makefu> if the packages provide a binary to be used they `should` be part of top-level pkgs
<makefu> mhh the command works for me ...
<JazzyEagle> Then perhaps I'm doing something wrong. I should probably try again in the morning. I can't think very well now.
* JazzyEagle is switching to lurking status.. g'nite, ya'll. Thanks again for everything.
<makefu> bye!
jluttine has quit [(Ping timeout: 256 seconds)]
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 264 seconds)]
ma27 has joined #nixos
jrolfs has joined #nixos
dbe has joined #nixos
blahdodo has quit [(Quit: Bye bye)]
jrolfs has quit [(Ping timeout: 268 seconds)]
Lisanna has joined #nixos
verite has quit [(Ping timeout: 240 seconds)]
lezed1 has joined #nixos
blahdodo has joined #nixos
jtojnar has quit [(Ping timeout: 240 seconds)]
sigmundv__ has joined #nixos
ssmike has quit [(Read error: Connection reset by peer)]
otherjrolfs has joined #nixos
dywedir has joined #nixos
jrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
alice_ has joined #nixos
<Lisanna> nix copy run inside runInLinxVM is very slow. What would be the best way to speed it up?
<alice_> Hey all, just installed nixos and I'm so lost. Used arch / debian comfortably for years and I'm lost here so bear with me. Apparently there's a discord package, I found it when I googled this problem, but "nix-env -i discord" errors with no derivations
<Lisanna> alice_: discord is not free software, and the NixOS manual does not have good (any) documentation on how to deal with this. The nixpkgs manual has some entries on this though: https://nixos.org/nixpkgs/manual/#sec-allow-unfree
<Lisanna> I'm getting about 0.1 MBps, probably because it has to deal with lots of little files.
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<alice_> Yeah, only issue is I have this in my config and I have no clue why it won't let it happen. "nixpkgs.config.allowUnfree = true;"
jrolfs has quit [(Ping timeout: 268 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
ma27 has quit [(Ping timeout: 265 seconds)]
leat has quit [(Ping timeout: 265 seconds)]
<lezed1> alice_: It looks like you are talking about putting that in the global /etc/nixos/configuration.nix. I would recommend not putting it globally/installing manually, but install add discord and allowUnfree = true to your /etc/nixos/configuration.nix
markus1189 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vbdqJ
<NixOS_GitHub> nixpkgs/master e8db786 Peter Hoeg: openwsman: do not compile on Darwin
NixOS_GitHub has left #nixos []
markus1189 has quit [(Ping timeout: 260 seconds)]
atrx has quit [(Ping timeout: 265 seconds)]
cinimod` has joined #nixos
leat has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
atrx has joined #nixos
markus1189 has joined #nixos
ma27 has joined #nixos
otherjrolfs has quit [(Ping timeout: 260 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
jluttine has joined #nixos
cinimod` has quit [(Read error: Connection reset by peer)]
atrx has quit [(Ping timeout: 240 seconds)]
atrx has joined #nixos
otherjrolfs has joined #nixos
MP2E has quit [(Remote host closed the connection)]
orivej has quit [(Ping timeout: 265 seconds)]
orivej has joined #nixos
pie_ has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
newb_nix has joined #nixos
<newb_nix> hello, what are the packages in minimal install? how do i find out?
ssmike has joined #nixos
<hyper_ch> newb_nix: what do you mean?
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<Lisanna> hyper_ch: newb_nix: I think they're referring to the "minimal" NixOS install image?
<newb_nix> installation cd, i am going to put some packages in systemPackages, i want to know if they come already in minimal install base
<Lisanna> What do the [X/Y/Z] numbers in the nixUnstable commands mean?
<hyper_ch> newb_nix if you add them to systempackages and they are already included it doesn't matter
ssmike has quit [(Read error: Connection reset by peer)]
<newb_nix> how to find what attributes are available for a pkg?
<newb_nix> do i have read each default.nix?
<newb_nix> to*
<newb_nix> is there a tool in system?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<hyper_ch> no idea
thc202 has joined #nixos
<laggy_wifi> does nix build glibc with debugging support?
<markus1189> is there some way to parameterize my configuration.nix? I would like to be able to e.g. pass in a string argument and use that inside my configuration.nix with if else conditions
<markus1189> best case would be pass it in during nixos-rebuild
asuryawanshi has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
<Lisanna> markus1189: I don't think nixos-rebuild has a thing for that
cinimod has joined #nixos
<hyper_ch> I doubt if else conditions are possible in configuration.nix
<markus1189> intended use case would be to conditionally import a nix file for different situations. like having all configuration related to work and activating/deactivating it
<markus1189> that would be awesome for stuff like proxy, ssh keys and more
pie_ has joined #nixos
<newb_nix> how do i see the arguments to the build expression, for e.g. what arguments does emacs have ? is there a tool for that?
ssmike has joined #nixos
<LnL> not really, but I think there's an emacs section in the manual
atrx has quit [(Read error: Connection reset by peer)]
<newb_nix> yes, but that was just an example, i guess i have to read the files
otherjrolfs has joined #nixos
<hyper_ch> question: should sata be hotpluggable normally?
hyphon81 has quit [(Remote host closed the connection)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<newb_nix> how to figure out the reverse dependencies of a package?
<hyper_ch> not sure what you mean
Arcaelyx has quit [(Ping timeout: 265 seconds)]
Arcaelyx_ has joined #nixos
<newb_nix> say who depends on fontconfig?
<sphalerite> newb_nix: it's not really ideal, but you can grep for it in pkgs
<sphalerite> Unless you're only interested in the stuff on your system in which case you can use nix-store -q --referrers
pie_ has quit [(Ping timeout: 248 seconds)]
xplorer has joined #nixos
<xplorer> Hello nixers :-)
ma27 has quit [(Quit: WeeChat 2.0)]
<xplorer> new nixos users (1 month, skim readed the docs) trying to port TeamViewer13
ma27 has joined #nixos
<xplorer> I have a "strage" issue, probably linker-related.
<xplorer> Via strace I discover an ENOENT for /etc/ld-nix.so.preload
<xplorer> and libQt5DBus.so.5, witch is in
<xplorer> /nix/store/p6r0j5fnksczb2m7r02kaf6w63my14mc-qtbase-5.9.1/lib/libQt5DBus.so.5
<xplorer> not found (error while loading shared library ...)
<xplorer> can be something wrong with patchelf --set-interpreter / --set-rpath ?
<xplorer> As --set-interpreter I use ${stdenv.cc}/nix-support/dynamic-linker
<xplorer> As --set-rpath I use all related deps, only changed them from tv12 nix expr.
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<fearlessKim[m]> markus1189: you can conditionnaly import things ` imports= [] ++ lib.optionals (builtins.pathExists ./machine-specific.nix) [ ./machine-specific.nix ];`
<xplorer> thanks, I'll try now
<newb_nix> what's the pkg name should i use to install gcc, gdb etc.
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<newb_nix> is there something like build-essential
<xplorer> @newb_nix I do not know if there are meta-packages like on Debian&c, but you can easily install gcc, gdb etc. Take a look at nixos.org/nixos/packages.html
hamishmack has quit [(Quit: hamishmack)]
<newb_nix> xplorer: do you specify the package name or package attribute in the systemPackages list?
<xplorer> newb_nix: ?
<newb_nix> xplorer: clang-wrapper-5.0.0 vs clang_5
<xplorer> newb_nix: Ah, ok, clang_5 (Attribute name)
<newb_nix> thanks
<xplorer> newb_nix: you're welcome :-) to keep a configuration.nix clean I suggest to put all pkgs in a separate file
<newb_nix> xplorer: do you have an example ?
<xplorer> fearlessKim[m]: I tried also to include qt5.full, but still get the same error
<xplorer> in /etc/nixos/configuration.nix you have something
<xplorer> like imports =
<xplorer> [
<xplorer> ./hardware-configuration.nix
<xplorer> you simply add another import like
<newb_nix> i mean what are the things that you change in that file
<xplorer> imports =
<xplorer> [
<xplorer> ./hardware-configuration.nix
<newb_nix> i understand modules
<xplorer> ./pkgs.nix
hamishmack has joined #nixos
<xplorer> newb_nix: normally boot stuff and other basic stuff
<xplorer> for the rest I keep separated files
<xplorer> like xserver.nix, firewall.nix, pkgs.nix, services.nix
<xplorer> etc
<newb_nix> ah okay
ottidmes has joined #nixos
<xplorer> It simply depend on how much stuff you have in config, if they are few a single file is ok
<xplorer> if they are long separate file keeps reading/handling config easy
<avn> newb_nix: also if you ave more than one machine, you possible like to split common stuff from machine-specific one
<newb_nix> avn how?
<newb_nix> do i take arguments to configuration.nix?
<newb_nix> or do you mean just separate configuration.nix files with imports common ?
<avn> newb_nix: I have my configuration.nix an oneliner, including ./config/hosts/$hostname/default.nix (so all my configs reside in ./config/ and managed in git)
<newb_nix> avn: do you manage user dotfiles using nix?
<avn> no, only systemwide stuff atm
<avn> dotiles just a .dotfiles repo, and script setting up symlinks
<avn> just because I believe, that dotfiles should works with others (even non-linux systems) like customer' servers where I have accounts, etc
<newb_nix> okay thanks
<pstn> Made it to 34C3. Anybody else here?
<manveru> pstn: Just arriving
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<adisbladis> pstn: I am :)
<manveru> I think there is a NixOS stand even?
<adisbladis> manveru: There is an assembly but I havent been there yet
<adisbladis> I saw fpletz somewhere yesterday
<manveru> Yeah he should be around
<fpletz> moin ;)
<adisbladis> Moin :)
<manveru> Hoi
pkill9 has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<fpletz> currently at the muccc & vr assembly
<manveru> That queue is massive... How many people are here?
<adisbladis> manveru: I heard someone say 10k and someone else 15k
<fpletz> is already someone at the nixos assembly?
xplorer has left #nixos ["ERC (IRC client for Emacs 27.0.50)"]
<pstn> I'm trying to find it right now. I'm a bit overwhelmed by the new scale right now.
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
asuryawanshi has joined #nixos
<hyper_ch> pstn: you just need more coffee
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] primeos pushed 3 new commits to master: https://git.io/vbdZ1
<NixOS_GitHub> nixpkgs/master ececaaf gnidorah: rootston module: better defaults
<NixOS_GitHub> nixpkgs/master c955c13 gnidorah: rootston module, orbment/bemenu: change my maintainership
<NixOS_GitHub> nixpkgs/master b15eea6 Michael Weiss: Merge pull request #33085 from gnidorah/rootston...
NixOS_GitHub has left #nixos []
<pstn> If you see a guy running around in the hackcenter wearing a hummingbird shirt and looking helpless otherwise, please just grab me.
<makefu> pstn: we are on the way
<pstn> There is a c3nav app on the play store and fdroid but the backend seems overloaded.
<makefu> pstn: there is https://34c3.c3nav.de/ which should give you a hint
<pstn> makefu: it's down for me and the infodesk :-D
<hyper_ch> what's a hummingbird shirt?
<makefu> haha
<LnL> probably the nixos 17.09 shirt :)
<makefu> so you are at the infodesk
<makefu> 1 sec
<adisbladis> Im here :)
<hyper_ch> so no pic of a bird on your shirt?
<hyper_ch> (he sounds way too unstable for 17.09)
<LnL> it's the nix logo with a humming bird
<pstn> makefu: I'm at the assembly
Thra11 has joined #nixos
<hyper_ch> LnL: is there a pic somewhere? pstn - instagram?
<LnL> hyper_ch: https://teespring.com/nixos-17-09-humming-bird#pid=211&cid=102526&sid=front
<hyper_ch> ah
ixxie has joined #nixos
ixxie has quit [(Client Quit)]
<hyper_ch> adisbladis: you work for piratbyran?
<dbe> What's the current event that everyone's at?
<hyper_ch> dbe: you mean "work"?
<adisbladis> dbe: CCC (34c3)
<dbe> Huh. Cool!
<dbe> hyper_ch: So, have you managed to get Nix into your work environment? I'm still working on that.
chaker has joined #nixos
<hyper_ch> dbe: yes, nixos powers my notebook
<hyper_ch> nixos powers my office server ( native encrypted 3-disk mirror zfs nixos with qemu/kvm )
<hyper_ch> nixos powers my home server
<manveru> pstn: you found it?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<pstn> manveru: Yes
<hyper_ch> dbe: you should go to 34c3... many nixoser there that can set you up :)
<dbe> hyper_ch: all right, awesome. Do you need to collaborate with other devs on the nixos machines as well? That's the hill I need to climb right now.
<dbe> hyper_ch: yeah. had I known in advance of the event, maybe I would have
<hyper_ch> dbe: no, server just runs multiple VMs (vpn server, voip server, web/mail server, data server and ca server)
<hyper_ch> it replaced the stolen 3-disk mdadm raid1 -> luks/dmcrypt -> ext4 debian with proxmox server
<chaker> Hey, Does anyone having problem building nixUnstable usinig nixos-17.09?
<chaker> I get "src/libexpr/primops/fetchGit.cc:11:29: fatal error: nlohmann/json.hpp: No such file or directory"
<hyper_ch> chaker: what are you trying to do?
jrolfs has quit [(Ping timeout: 248 seconds)]
<chaker> hyper_ch: I'm running nixos-rebuild switch --upgrade
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<hyper_ch> and you added nixos-unstable channel?
<chaker> And I have in my config nix.package = nixUnstable
<chaker> I only have "nixos https://nixos.org/channels/nixos-17.09"
<hyper_ch> chaker: you want to switch to nixos unstable?
<LnL> nixUnstable should work fine on 17.09
<hyper_ch> "should" :)
<LnL> changing channels won't help
<hyper_ch> LnL: why not?
<hyper_ch> or you could triy unstable small
<LnL> question is why it's building from source
drakonis has joined #nixos
vidbina has joined #nixos
<chaker> Okay, I will try to change channel
<LnL> what's the output path it's trying to build?
<chaker> Is trying to build "/nix/store/dlc38yww5xg4arb4zxzhgcsrlli71xq6-nix-1.12pre5788_e3013543.drv"
<LnL> I mean the store path, nix-store -q --binding out $drv
<chaker> /nix/store/d5isjxkv3a3c1w6wzwq7cc8z99ffp2r3-nix-1.12pre5788_e3013543
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<LnL> hmm, what about nix-build --option restrict-eval true '<nixpkgs>' -A nixUnstable
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
<chaker> It's not the same /nix/store/jfi7nfd9pyf7j3i126f7clkimhn0gx6p-nix-1.12pre5788_e3013543
<LnL> yeah, this build is for the same nix commit https://hydra.nixos.org/build/65928915
<LnL> some overlay/override is causing you to rebuild it
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
<chaker> LnL: I just checked my nixpgks config, and yes there's an override there. I removed it and now it works, Thanks
<LnL> great :)
<Lisanna> ugh.... nix-env requires ~/.nix-defexpr ? ):
<LnL> unless you pass -f '<nixpkgs>'
<Lisanna> :/
vidbina has quit [(Ping timeout: 240 seconds)]
<Lisanna> what... I can't pass raw /nix/store paths as derivations?
<Lisanna> it's like Nix is conspiring to not let me do the thing I'm trying to do...
pie_ has joined #nixos
warrickmacmillan has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] kim0 opened pull request #33104: Upgrade electrum-ltc to 2.9.3.1 (master...patch-1) https://git.io/vbdC8
NixOS_GitHub has left #nixos []
<Lisanna> okay... lib.toDerivation saved me
<Lisanna> thank god it doesn't have any funky dependencies
<LnL> oh, I’ve been doing that manually :)
<Lisanna> LnL: doing what manually?
<Lisanna> oh, making raw things into derivations?
<srhb> :q
<srhb> Woops
<LnL> yeah
<gchristensen> Lisanna: it sounds like you're having a good time in the deep dark bits of nix :)
<Lisanna> gchristensen: toDerivation is considered "Deep dark bits"???
<Lisanna> well, yeah, I guess that makes sense... I'm having to do a whole bunch of fun things to get this dynamic environment switcher working
<gchristensen> Lisanna: no, but you don't hear people talk about it unless they're doing something fun
<Lisanna> and I threw nix-shell out the window, way too much nonsense to deal with, I'm using a plain old nix-env command for this now
<gchristensen> :o
<Lisanna> but, I took a peek at the "nix run" documentation, and it looks like that will make things better
<Lisanna> so, looking forward to .12 :)
<Lisanna> ./default.nix: {pkgs ? (import <nixpkgs> {})}: { test = pkgs.lib.toDerivation "/nix/store/blah-environment"; }
<Lisanna> nix-env -ir -f ./default.nix -A test
<Lisanna> that's the nonsense I have to do to make this work :p
<srhb> Does steam work for anyone with current nixos-unstable?
drakonis has quit [(Ping timeout: 252 seconds)]
dan_b has joined #nixos
<srhb> Hmm, looks like like the chrootenv changes might have broken it..
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<gchristensen> Lisanna: you could just use nix 1.12 you know
alexteves has joined #nixos
dan_b has quit [(Ping timeout: 256 seconds)]
<sphalerite> ixxie: any news re Stockholm?
otherjrolfs has quit [(Ping timeout: 240 seconds)]
warrickmacmillan has quit [(Quit: warrickmacmillan)]
jrolfs has quit [(Ping timeout: 252 seconds)]
asuryawanshi has quit [(Ping timeout: 248 seconds)]
<LnL> but there's no new cli for nix-env yet
simendsjo has joined #nixos
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] etu opened pull request #33105: testssl: refactor and improve expression (master...testssl-fixups) https://git.io/vbdlW
NixOS_GitHub has left #nixos []
asymmetric has joined #nixos
asuryawanshi has joined #nixos
otherjrolfs has quit [(Ping timeout: 255 seconds)]
<srhb> Anyone on nixos unstable care to run $(nix-build '<nixpkgs>' -A steam)/bin/steam ?
raynold has quit [(Quit: Connection closed for inactivity)]
<srhb> I'm guessing there's some subtlety at work with my system since yegor seems to think Steam still works.
chaker has quit [(Ping timeout: 240 seconds)]
<srhb> (Should probably have added --no-out-link)
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
fendor has joined #nixos
otherjrolfs has joined #nixos
vidbina has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.9.1)]
<gchristensen> globin: https://www.youtube.com/watch?v=ho7oagHeqNc is pretty interesting and a follow-up from the talk you linked
otherjrolfs has quit [(Ping timeout: 256 seconds)]
asymmetric has quit [(Ping timeout: 255 seconds)]
<globin> gchristensen: yep, have watched that one, too :)
<globin> gchristensen: btw the next 4 days: https://streaming.media.ccc.de/34c3/
<gchristensen> oohh
ssmike has quit [(Remote host closed the connection)]
ssmike has joined #nixos
ma27 has quit [(Quit: WeeChat 2.0)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
moet has joined #nixos
simendsjo has quit [(Ping timeout: 255 seconds)]
oahong has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
<manveru> srhb: I can probably try it in a bit. In all using steam from 17.09
<manveru> *I'm still
<srhb> manveru: It's OK, I've already created the issue. I'm not sure exactly what's triggering it though. :)
jrolfs has joined #nixos
<kriztw> Are there anyone at 34C3 that would like to help me with Haskell workflows in nix later?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rnhmjoj opened pull request #33107: palemoon: use upstream recommended options (master...palemoon) https://git.io/vbd4v
NixOS_GitHub has left #nixos []
<fearlessKim[m]> srhb: what do you expect ? it seems to build fine here
<fearlessKim[m]> on nixos-unstable
jrolfs has quit [(Ping timeout: 272 seconds)]
<srhb> fearlessKim[m]: It builds fine, but does not run here.
<srhb> yegor already tested Steam on his setup with the chroot changes, so something is... Different.
chaker has joined #nixos
bobvanderlinden_ has joined #nixos
<fearlessKim[m]> srhb: I just looged in and it started correclty.
<srhb> Figures. Wonder what's different. :-)
<srhb> Thanks for confirming my suspicion.
<moet> hmm.. i'm seeing some weird nix-shell behavior in osx
exfalso has joined #nixos
<moet> or maybe it's ghcWithPackages weirdness, not nix-shell
<exfalso> hi, is there a nix tool with which i can get all runtime dependencies of a binary/package?
<srhb> moet: I think it's (...).env
oida has joined #nixos
<exfalso> or should i just 'strings | grep /nix/store'? :D
<srhb> moet: Hm, no...
<woffs> exfalso: nix-store -q --tree $(type -p yourbin)
<exfalso> woffs: awesome ty
<moet> srhb: yeah, i'm a bit confused
otherjrolfs has joined #nixos
<moet> (on osx, so weirdness may not be nix's fault)
<moet> i'm also having problems with packages depending on OpenGL and python packages depending on pyobjc
<symphorien> exfalso: if the goal is to export a binary with all its dependences, just tar foo.tar $(nix-store -qR /nix/store/pathofthebinary)
<moet> fwiw
<LnL> that example uses nix-shell -p, if you use a file you'll want (...).env
<srhb> Yeah, I think you want mkDerivation for the shell.nix file
<srhb> It's not OS X-specific.
dan_b has joined #nixos
pkill9 has quit [(Ping timeout: 252 seconds)]
<srhb> or even buildEnv
ma27 has joined #nixos
otherjrolfs has quit [(Ping timeout: 264 seconds)]
goibhniu has joined #nixos
<moet> srhb hrm.. i'm not following.. if i look at this in nix-repl, it appears it is already a derivation http://lpaste.net/361141
riclima has joined #nixos
<moet> though i see the example in the docs using ghcWithPackages and then a makeDerivation.. i'll try that
<srhb> moet: Right, but the problem is that nix-shell is setting you up in the build environment.
<srhb> moet: If you feed your shell.nix to nix-build, you'll see that result contains what you expect.
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
pkill9 has joined #nixos
ixxie has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
Thra11 has quit [(Ping timeout: 265 seconds)]
asymmetric has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<moet> srhb: you're right.. that file works with nix-build.. however, there still doesn't seem to be an easy way to get an env out of it http://lpaste.net/361142
Thra11 has joined #nixos
vidbina has quit [(Ping timeout: 256 seconds)]
vidbina has joined #nixos
<srhb> moet: I would use mkDerivation
pkill9 has quit [(Ping timeout: 248 seconds)]
<moet> trying that now..
<LnL> moet: add ().env around the function or use nix-shell -A env
<srhb> LnL: I don't think it exposes .env
<LnL> the haskell stuff provides an env attribute for a shell environment
<srhb> From mkDerivation, yeah.
Thra11 has quit [(Ping timeout: 252 seconds)]
Thra11 has joined #nixos
<LnL> oh you're right, only actual packages have that
<sphalerite> srhb: I recently had some issues with steam but it started working again after logging out and back in
<srhb> moet: Something like this: http://nixpaste.lbr.uno/WY7aOtmg
<srhb> sphalerite: I suspect this is file system related or something. The error is so weird...
asuryawanshi has quit [(Ping timeout: 265 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
arianvp2 has joined #nixos
<moet> this worked http://lpaste.net/361143 .. checking srhb's .. it won't load and i have to get on an airplane..
<srhb> moet: Only difference is buildInputs = [ (haskellPackages.ghcWithPackages ...) ]; :-)
<srhb> Have a good flight
<moet> thanks for your help
moet has quit [(Read error: Connection reset by peer)]
<manveru> kriztw: I'd be interested
dan_b has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
arianvp2 has quit [(Client Quit)]
asymmetric has quit [(Ping timeout: 240 seconds)]
dustmote has joined #nixos
<kriztw> manveru: nice, I'm finishing up on a talk now and then I'll move towards the nixos assembly. Are you there now?
jrolfs has joined #nixos
<manveru> kriztw: heading there in a few minutes
<kriztw> manveru: ok, see you there - I'm running around with blond hair and a rust t-shirt
dustmote has quit [(Client Quit)]
jrolfs has quit [(Ping timeout: 260 seconds)]
<manveru> k
dustmote has joined #nixos
<gchristensen> I'm super jealous of y'all European types who can go to cool conferences :)
dustmote has quit [(Remote host closed the connection)]
<srhb> Steam issue resolved. I had a broken /result symlink that the new chrootenv tries to stat. Durrr.
<gchristensen> :o
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mdorman opened pull request #33108: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vbd0A
NixOS_GitHub has left #nixos []
<srhb> I was too caught up in it being a chroot to actually consider my real root :P
<srhb> I'd even patched it to leave the temp directories. x_x
arianvp2 has joined #nixos
arianvp2 has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
arianvp2 has joined #nixos
otherjrolfs has joined #nixos
<adisbladis> gchristensen: You can come too :)
<ixxie> which conference?
jrolfs has joined #nixos
<gchristensen> adisbladis: it is a _big_ investment for me to come unfortunately
<gchristensen> but you're right, I could
<srhb> How much is a eurotrip these days?
<etu> ixxie: 34C3 ;)
<gchristensen> as low as $520 USD for the flight, plus 2 days vacation for travel time, plus lodging
<etu> plus food
<etu> always count food
<srhb> That's a lot of money...
<adisbladis> gchristensen: Yeah.. Not cheap for me either sadly :(
<adisbladis> At least Im having family visits while in europe
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<adisbladis> So its easier to motivate
<gchristensen> nice, yeah, definitely good to have extra reasons :)
jrolfs has quit [(Ping timeout: 248 seconds)]
<ixxie> ah of course
newb_nix has quit [(Ping timeout: 260 seconds)]
riclima has left #nixos []
ma27 has quit [(Quit: WeeChat 2.0)]
asymmetric has joined #nixos
<joepie91> gchristensen: if you book well in advance you can get cheaper transatlantic flights
<joepie91> (and if you're willing to fly a budget airline, ofc)
<gchristensen> what airline? $520 is the cheapest I found
<joepie91> gchristensen: wowair, iirc they don't show up in the price comparison sites
<joepie91> gchristensen: https://wowair.us/
<joepie91> see example prices in the yellow boxes
<joepie91> (those are one-way prices)
<gchristensen> this isn't the one that requires you to carry suspicious packages across borders is it? :P
<joepie91> hahaha nah
<joepie91> that's Cartel Air :D
<joepie91> it's just a very budget-y budget airline
<joepie91> operates from Iceland, so you have a transfer in Reykjavik
<joepie91> if you fly US -> EU
<joepie91> I don't know what their transatlantic planes are like, but my trip to Reykjavik involved sufficient legroom
<joepie91> but do keep in mind that it's a budget airline so absolutely everything costs extra
<joepie91> but if you're a little creative then you can get the travel cost down to $300-$400
<joepie91> (roundtrip)
<gchristensen> by the time I bring a suitcase its the same price as lufthansa
<asymmetric> how can i find out if a given python library supports python 2 or 3?
<joepie91> well yeah, you'd want to pack light, not a full suitcase
<joepie91> gchristensen: it's very much a money/time/convenience tradeoff ofc
<gchristensen> also what is the alternative to a "standard seat", which I see is an upgrade? :P
<asymmetric> i'm asking because i suspect this should be ran with python3 https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/electrum-ltc/default.nix
<joepie91> gchristensen: alternative is more legroom, but at least on their EU <-> IS flights I had plenty legroom in the standard seats, and I'm rather tall and usually have trouble with legroom
<joepie91> more legroom than on most budget airlines I believe
<gchristensen> yeah, fair, good to know -- thanks joepie91!
pie_ has quit [(Ping timeout: 260 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<joepie91> gchristensen: interesting curiosity is https://wowair.us/flights/wow-stopover/ (which both WOW Air and the other Icelandic airline, Icelandair, do)
<joepie91> you can basically schedule a short stay in Reykjavik for your US <-> EU flight, at no extra cost I believe
<joepie91> super clever scheme, it's given tourism a massive boost there, haha
<gchristensen> that is really neat, haha
<nixy> asymmetric: `nix-env -qaP -A python3Packages`?
<joepie91> I mean, their value proposition is literally "why not go look at some nature in Iceland at no extra cost to either us or you? if you're here anyway"
<joepie91> :p
<nixy> That would show python3 libraries and you should be able to run through that for the packages your thing depends on
<nixy> Or you could just switch it to python3 and see what breaks :P
<joepie91> gchristensen: fwiw, there's defcon and toorcamp, which are events in the US that are sort of in the same vein as the Chaos Communication Congress, Dutch hackercamps, EMF, etc.
<joepie91> I haven't been to either, and the impression I've gotten is that it's a little less creative and a little more offensive-hackery-stuff but supposedly they're both fun
<gchristensen> yeah, they are
<joepie91> ah, been there already? :P
<gchristensen> not really, but I've kept my eye :)
<asymmetric> nixy: i mean, if the original package is meant to be run with python2/3
<asymmetric> in order to fix the nix package
<asymmetric> nixy: sorry, i hadn't read your other messages
<asymmetric> so there's no "programmatic" way to find out, such as a file
<asymmetric> mentioning the python version
<srhb> asymmetric: Ultimately, no.
<nixy> I mean if that's your question, it seems like it's better to ask the upstream
<srhb> asymmetric: It may break instantly on one version, that's a good pointer
jrolfs has quit [(Ping timeout: 256 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<srhb> asymmetric: Or it may break much later, and that's a great pointer too, if less useful.
<srhb> Oh and sure, you could use *people communication* as nixy suggests, but I consider that cheating. :-P
fendor has quit [(Quit: Leaving)]
<arianvp2> Where is the nixos assembly at c34c3?
<arianvp2> couldn't find it
arianvp2 has quit [(Quit: arianvp2)]
markus1189 has quit [(Remote host closed the connection)]
ssmike has quit [(Ping timeout: 272 seconds)]
endformationage has joined #nixos
sary has quit [(Ping timeout: 260 seconds)]
jb55 has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
asymmetric has quit [(Remote host closed the connection)]
asymmetric has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
orivej has quit [(Ping timeout: 256 seconds)]
asymmetric has quit [(Ping timeout: 264 seconds)]
pie_ has joined #nixos
drakonis has joined #nixos
<Ankhers> gchristensen: You commented on one of my PR's about removing some Elixir versions. Would it be preferable to only have a single version? Or show I keep all supported versions?
<gchristensen> how many are supported? what is the upgrade path from one to the next like? is it reasonable to expect people to just update, or is it reasonable to expect people to lag behind a bit?
<gchristensen> the question isn't about hard policy, but keeping the experience for nix users reasonable while also keeping maintenance reasonable
<Ankhers> Well, I know a fair number of libs in the ecosystem still support 1.3 (the lowest version in nix right now)
<gchristensen> if it is reasonable to have multiple, then it is fine to keep the ones we have
oida has quit [(Ping timeout: 252 seconds)]
<Ankhers> The upgrade path is also usually fairly simple. They try to keep backward compatibility for the 1.x releases.
pie__ has joined #nixos
<ixxie> adisbladis: check your pm if you have a moment
<fearlessKim[m]> I do love nix-locate but on nixos-unstable, nix-index fails with " caused by: nix-env failed with error: nix-env failed with exit code 1:
<fearlessKim[m]> error: attribute ‘skylighting_0_4_4_1’ missing, at /home/teto/nixpkgs/pkgs/development/haskell-modules/configuration-common.nix:519:19" :( is there possible to run nix-index as part of the CI ? nix-index stops running from time to time and that's sad :'(
<gchristensen> then I'd think we probably want to drop everything but the latest 1.x, I can't imagine we'd want every 1.x
tg has quit [(Read error: Connection reset by peer)]
yegortimoshenko has joined #nixos
<yegortimoshenko> srhb: did chrootenv changes break anything for you?
pie_ has quit [(Ping timeout: 255 seconds)]
<yegortimoshenko> srhb: oh, i found github issue! nevermind.
sary has joined #nixos
jrolfs has joined #nixos
goibhniu has quit [(Ping timeout: 268 seconds)]
sary has quit [(Ping timeout: 240 seconds)]
Thra11 is now known as Thra11_
jrolfs has quit [(Ping timeout: 260 seconds)]
Thra11_ is now known as Thra11
oida has joined #nixos
pie__ has quit [(Remote host closed the connection)]
simendsjo has joined #nixos
tg has joined #nixos
pkill9 has joined #nixos
otherjrolfs has joined #nixos
sary has joined #nixos
Thra11 has quit [(Quit: IRC for Sailfish 0.9)]
asymmetric has joined #nixos
orivej has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Nadrieril opened pull request #33109: usbguard service: `rules` option should be of type 'lines' (master...usbguard-multiline-rules) https://git.io/vbd2A
NixOS_GitHub has left #nixos []
leat has quit [(Quit: WeeChat 1.9.1)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<srhb> yegortimoshenko: Yeah, sorry for the noise. That was a bit obscure :-)
<srhb> Who leaves dead result symlinks around in root anyway, right?
* srhb coughs
jrolfs has joined #nixos
otherjrolfs has joined #nixos
pie_ has joined #nixos
<yegortimoshenko> srhb: it's not the noise, i think chrootenv shouldn't fail in this case, i'll fix it
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<yegortimoshenko> s/the//
chaker has quit [(Ping timeout: 240 seconds)]
chaker has joined #nixos
pkill9 has quit [(Quit: WeeChat 2.0)]
<srhb> yegortimoshenko: Yay, thanks :)
Sonarpulse has joined #nixos
stepcut has joined #nixos
mmlb has quit [(Ping timeout: 248 seconds)]
otherjrolfs has joined #nixos
Sonarpulse has quit [(Remote host closed the connection)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
pie_ has quit [(Remote host closed the connection)]
<gchristensen> jtojnar: around?
thblt has joined #nixos
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bnikolic opened pull request #33110: bintools-wrapper: symlink all programs that do not need wrapping (staging...bintools-wrapper) https://git.io/vbdwq
NixOS_GitHub has left #nixos []
nevermind has joined #nixos
Sonarpulse has joined #nixos
nevermind is now known as Guest21381
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 3 new commits to mariadb-10.2: https://git.io/vbdwz
<NixOS_GitHub> nixpkgs/mariadb-10.2 c0acbd2 Robin Gloster: ghostOne: remove...
<NixOS_GitHub> nixpkgs/mariadb-10.2 c05482f Robin Gloster: treewide: libmysql -> mysql.connector-c
<NixOS_GitHub> nixpkgs/mariadb-10.2 adf7b72 Robin Gloster: treewide: generalise for both mysql & mariadb
NixOS_GitHub has left #nixos []
<gchristensen> globin: would you mind making `pkgs.mysql` actually be mysql? :P
chaker has quit [(Ping timeout: 265 seconds)]
<globin> gchristensen: ah I'm not sure how we should handle that in the future
<globin> gchristensen: I was going around that for another discussion, finishing the PR is hard enough
<gchristensen> cool :)
<globin> gchristensen: but debian/ubuntu at least are doing the same as we do afaik
<gchristensen> really!
<globin> gchristensen: I'm planning to check the most important distros on that
JazzyEagle has quit [(Ping timeout: 252 seconds)]
<gchristensen> cool
orivej has quit [(Quit: No Ping reply in 180 seconds.)]
<gchristensen> it seems very silly that mysql = mariadb was done _ever_ :/
hotfuzz has joined #nixos
pie_ has quit [(Remote host closed the connection)]
<joepie91> gchristensen: mariadb was designed as a drop-in mysql replacement, and for licensing reasons a lot of distros did indeed drop 'real' myself
<joepie91> mysq7L
<joepie91> mysql**
<gchristensen> I know it was
<gchristensen> but it isn't
<globin> yeah well it kind of is the version I'd expect to be the one of choice in future
orivej has joined #nixos
<globin> in non-large-cluster use I think it is more or less the standard already
<gchristensen> if they wanted to drop mysql they should have dropped mysql, not made mysql something else
<gchristensen> or a dummy package that tells you to use mariadb
pie_ has joined #nixos
<gchristensen> I do admit, I am out of touch with smaller mysql deployments, but recently mariadb is incompatible with mysql
pie_ has quit [(Remote host closed the connection)]
orivej has quit [(Ping timeout: 264 seconds)]
aarvar has joined #nixos
pie_ has joined #nixos
chaker has joined #nixos
otherjrolfs has joined #nixos
<thblt> I'm fighting with emacsWithPackages, could someone please explain to me what I'm doing wrong? Code is here: https://paste.thb.lt/1514392006.nix.html ; the issue is "cannot coerce a function to a string" when evualuating buildInputs. Thanks!
<gchristensen> thblt: you need to put ( and ) around emacsWithPackages (.e.. )
<gchristensen> currently your code's buildInputs has two values in it, the first is the function emacsWithPackages and the second is the function (epkgs: [ epkgs.esxml epkgs.magit epkgs.org ])
<thblt> gchristensen: it worked, thank you very much!
<gchristensen> yep!
yegortimoshenko has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
arianvp2 has joined #nixos
arianvp2 has quit [(Remote host closed the connection)]
stepcut has quit [()]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jonafato opened pull request #33111: liferea: 1.12.0 -> 1.12.1 (master...liferea-1.12.1) https://git.io/vbdo4
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vbdoX
<NixOS_GitHub> nixpkgs/master 8423b6a Peter Hoeg: wp-cli: allow using more memory as composer can exhaust it
NixOS_GitHub has left #nixos []
chaker has quit [(Ping timeout: 260 seconds)]
Itkovian has joined #nixos
otherjrolfs has joined #nixos
JazzyEagle has joined #nixos
otherjrolfs has quit [(Ping timeout: 264 seconds)]
pie_ has quit [(Remote host closed the connection)]
pie_ has joined #nixos
asuryawanshi has joined #nixos
pie_ has quit [(Client Quit)]
pie__ has joined #nixos
<catern> hey #nixos, how can I package a python package which has additional dependencies on python 2?
<simpson> You mean that the package doesn't work on Python 3?
<thblt> OK, I seem to have another issue with emacsWithPackages. Code is here: https://paste.thb.lt/1514393853.nix.html nix-shell doesn't complain, but I cannot (require) any package --- Emacs doesn't find them.
<simpson> You should get a free dependency to your Python runtime.
<thblt> I looked at the code of emacsWithPackages, and IIUC it should create a creates a $out/share/emacs/site-lisp/site-start.el which doesn't exist in my version
<catern> no no, it works on both python 3 and python 2, but has additional extra modules it depends on when running on python 2
<catern> (library backports from python 3, specifically)
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] lsix pushed 2 new commits to master: https://git.io/vbdKx
<NixOS_GitHub> nixpkgs/master 0fef1ed Jon Banafato: liferea: 1.12.0 -> 1.12.1...
<NixOS_GitHub> nixpkgs/master 92cdd7d Lancelot SIX: Merge pull request #33111 from jonafato/liferea-1.12.1...
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
jrolfs has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
simendsjo has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
<thblt> Now it's working fine. You just need to (package-initialize) since emacsWithPackages uses a package.el-like structure
ixxie has quit [(Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)]
akfp`` has quit [(Remote host closed the connection)]
mmlb has joined #nixos
akfp`` has joined #nixos
<akfp``> anyone have a setup for running windows under kvm?
<Isorkin> globin: me rebase pr and check PR 32928
simendsjo has joined #nixos
Sonarpulse has quit [(Ping timeout: 272 seconds)]
otherjrolfs has joined #nixos
<samueldr> akfp``: I've used libvirtd with virt-manager, which uses qemu-kvm
tekul has joined #nixos
<akfp``> samueldr: any example setup snippet?
<samueldr> you mean with libvirtd or nixos options?
<samueldr> with libvirtd, I literally used the GUI, nothing special
<akfp``> I find some stuff in pkgs/applications/virtualization/driver/win-spice/default.nix pkgs/build-support/vm/windows..
<akfp``> ah, will try that then.
<samueldr> I did add my user to the libvirtd group (using users.extraUsers.<myuser>.extraGroups
tekul has quit [(Quit: leaving)]
<samueldr> here's my libvirtd stuff (except user group) https://gist.github.com/samueldr/91730f88a3e36fc10fb6367884f68ba5
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<samueldr> virt-viewer, once spice is setup on the guest, seemed to work better than virt-manager
tekul has joined #nixos
<akfp``> thanks! got "warning: The option definition `virtualisation.libvirtd.enableKVM' in `/root/dotfiles-and-config/etc/nixos/libvirt.nix' no longer has any effect; please remove it.
<akfp``> Set the option `virtualisation.libvirtd.qemuPac
<akfp``> [Thu Dec 14 2017]
<akfp``> *** Topic for #ghcjs: GHCJS: Haskell to JavaScript transmogrifier [16:46]
<akfp``> *** #ghcjs: topic set by luite!~luite@luite.com, 2014-09-13 14:04:55
<akfp``> *** Users on #ghcjs: akfp`` dridus tusj mud Cale hexagoxel aloiscochard
<akfp``> Intensity juhp isenmann ehamberg robertm1 carter danza-cloud monad_cat
<samueldr> oops
<akfp``> lexi-lambda ehd angerman ocharles adamCS hodapp TallerGhostWalt ircbrowse
<akfp``> jamiis_ tolt tippenein wavewave mpickering idnar cstrahan srhb dredozubov
<akfp``> Squarism jonge yrid mankyKitty mbrcknl_ dmj` jakutis navilan cocreature
<akfp``> mbeidler gspia bitemyapp abrar Profpatsch exio4 ncl28 polux36 cschneid
<akfp``> xplat|work hvr martingale book` benkolera o0o[m]
<akfp``> *** Users on #ghcjs: unclechu mankyKitty[m] dalaing monomon[m] polux[m]
<hodapp> >_<
<akfp``> Ankhers domenkozar dedgrant Adeon luigy_ Sornaensis pchiusano terrorjack
<akfp``> JSharp elvishjerricco bitonic rizary radix1 jle` hamishmack _rvl avn
<akfp``> *** #ghcjs modes: +t
<akfp``> *** #ghcjs was created on 2012-05-08 04:33:57
<akfp``> <jfade983>
<akfp``> ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
<akfp``> ouch
<samueldr> woo, not too long though
<hodapp> I mean, I guess it's preferable to the shitposting floods going on in other channels
<akfp``> nothing more to say really :-)
<samueldr> akfp``:
asuryawanshi has quit [(Remote host closed the connection)]
<samueldr> you might be on unstable then
<samueldr> the option changed
<akfp``> yes
<samueldr> it's really not that important, I should even remove it from my configuration
<samueldr> basically, is switches which qemu package it uses, either the smaller qemu-kvm only package, or the "full blown all encompassing package" that has emulator for other platofmr
<samueldr> platforms*
asuryawanshi has joined #nixos
<akfp``> I'll have to rebuild the world. will be back later.
<samueldr> if you want to use the smaller one, set `libvirtd.qemuPackage` to `pkgs.qemu_kvm`
<akfp``> thanks. that cut the world in half
chaker has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
dpren has joined #nixos
stepcut has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to revert-33077-scalendar-cycle: https://git.io/vbdPs
<NixOS_GitHub> nixpkgs/revert-33077-scalendar-cycle e8a6f64 Peter Simons: haskell-scalendar: break the infinite recursion to avoid evaluation errors
NixOS_GitHub has left #nixos []
Sonarpulse has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti force-pushed revert-33077-scalendar-cycle from e8a6f64 to ec5e1d8: https://git.io/vbdPn
<NixOS_GitHub> nixpkgs/revert-33077-scalendar-cycle ec5e1d8 Peter Simons: haskell-scalendar: break the infinite recursion to avoid evaluation errors...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti force-pushed revert-33077-scalendar-cycle from ec5e1d8 to 39eb15b: https://git.io/vbdPn
<NixOS_GitHub> nixpkgs/revert-33077-scalendar-cycle 39eb15b Peter Simons: haskell-scalendar: break the infinite recursion to avoid evaluation errors...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vbdPl
<NixOS_GitHub> nixpkgs/master d9d554a Peter Simons: Merge pull request #33089 from NixOS/revert-33077-scalendar-cycle...
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 255 seconds)]
marzzzello has quit [(Read error: Connection reset by peer)]
jrolfs has quit [(Ping timeout: 240 seconds)]
pkill9 has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
ixxie has joined #nixos
rogue_koder has quit [(Ping timeout: 256 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] KaiHa opened pull request #33112: nitrokey-app: 1.1 -> 1.2 (master...nitrokey-1.2) https://git.io/vbdPA
NixOS_GitHub has left #nixos []
asuryawanshi has quit [(Remote host closed the connection)]
jrolfs has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<hyper_ch> hmmmm, what could be the reason that I have troubles connecting to a site with chromium "waiting for xxxxx" but it works just fine with firefox on the same computer?
<hodapp> funny, I was about the ask the same thing with Firefox and Chromium's roles reversed
<hodapp> sometimes one just has to clear cache... mostly I have no idea
<hyper_ch> just did so
asuryawanshi has joined #nixos
<hodapp> try drinking a beer and returning? >_>
ambro718 has joined #nixos
orivej has joined #nixos
rogue_koder has joined #nixos
<hyper_ch> didn't help either
<catern> does NixOS have /bin/sh?
<joepie91> catern: yep - it's the only thing in /bin for me
<joepie91> lrwxrwxrwx 1 root root 63 Dec 26 20:07 sh -> /nix/store/jm6gvsvk44jihzaz6f92xkyaav4kbb9n-bash-4.4-p12/bin/sh
<catern> or any other executables located at absolute paths that are the same as convetional POSIX systems? there's also /usr/bin/env
<hyper_ch> catern: #!/usr/bin/env bash
<catern> ok
<joepie91> catern: both /bin/sh and /usr/bin/env are symlinks
<joepie91> to a path in the Nix store
<catern> /bin/sh it is
<joepie91> catern: what do you need it for? :P
otherjrolfs has joined #nixos
jrolfs has joined #nixos
<catern> just writing a test case for a utility unrelated to Nix, that wants to be able to refer to some path by an absolute path; I will just use /bin/sh
<catern> do not attempt to persuade my otherwise, my mind is already made up :P
<joepie91> lol
<joepie91> catern: are you sure it'll work with a symlink?
<catern> yes
pie__ has quit [(Remote host closed the connection)]
<joepie91> okay
leat has joined #nixos
<joepie91> catern: btw, I'm not sure if busybox has a /bin/sh, if you intend to support that too
pie__ has joined #nixos
thblt has quit [(Ping timeout: 272 seconds)]
<catern> oh wait is the /bin/sh present in the Nix build sandbox
<catern> blargh okay nevermind about this test case :)
<joepie91> catern: does the path need to be an actual *file*? otherwise you'll probably have better luck with stuff like /proc
<catern> it needs to be an executable :)
<joepie91> ah, hum
<catern> but I don't actually need to do it, probably no point in testing execution of absolute paths...
<catern> oh I could just look up an absolute path in PATH...
houli has joined #nixos
vincent_vdk has left #nixos []
simendsjo has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
sary has joined #nixos
pie__ has quit [(Ping timeout: 256 seconds)]
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
pie_ has joined #nixos
<alice_> Hey all, I had a problem last night where I was unable to install Discord after enabling nonfree packages, when I accidentally tried again this morning and forgot "sudo" it worked, but now I'm unable to run it? Discord won't show up in KDE, the command does nothing, and trying to launch it by the file in opt just says "you need to update discord". Anyone else seen this?
pie_ has quit [(Ping timeout: 265 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
JosW has joined #nixos
<akfp``> which wm should I use that's close to xterm, but useable.
sary has quit [(Ping timeout: 240 seconds)]
<symphorien> i3 ?
grw has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
sary has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
Guest21381 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<infinisil> Oh my god, I need a Nix debugger
<infinisil> This damn infinite recursion
bennofs has joined #nixos
deepfire has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] yegortimoshenko closed pull request #33108: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vbd0A
NixOS_GitHub has left #nixos []
<joepie91> infinisil: welcome to my nightmare :(
<infinisil> This might be a good idea for my bachelors thesis: create a basic nix debugger
<joepie91> infinisil: in the meantime, I can at least push the stacktrace readable-ifier code I have
<joepie91> if that helps
<infinisil> Oh nice, doesn't help in my case unfortunately
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<joepie91> ah :P
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
bennofs has quit [(Ping timeout: 240 seconds)]
<infinisil> I want to step through the execution of it (or rather the lazy evaluation)
<akfp``> anyone knows how to disable powersave in X?
<infinisil> akfp``: xset dpms something
<infinisil> akfp``: Have a look at the xset manpage, the dpms parts
nevermind has joined #nixos
nevermind is now known as Guest73705
<akfp``> xset -dpms maybe.. ?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
chaker has quit [(Quit: WeeChat 1.9.1)]
<akfp``> trying services.xserver.displayManager.sessionCommands = ''xset -dpms;'';
manveru has quit [(Ping timeout: 240 seconds)]
codedmart has quit [(Ping timeout: 252 seconds)]
sjanssen has quit [(Ping timeout: 252 seconds)]
gaqzi has quit [(Ping timeout: 252 seconds)]
schaary has quit [(Ping timeout: 252 seconds)]
carter has quit [(Ping timeout: 252 seconds)]
rgrinberg has quit [(Ping timeout: 252 seconds)]
nz has quit [(Ping timeout: 252 seconds)]
houli has quit [(Ping timeout: 252 seconds)]
eddyb has quit [(Ping timeout: 252 seconds)]
Guest37084 has quit [(Ping timeout: 252 seconds)]
cbarrett has quit [(Ping timeout: 250 seconds)]
johs has quit [(Ping timeout: 250 seconds)]
akfp`` is now known as akfp
dvim has quit [(Ping timeout: 246 seconds)]
Wizek has quit [(Ping timeout: 252 seconds)]
monad_cat has quit [(Ping timeout: 252 seconds)]
ragge_ has quit [(Ping timeout: 255 seconds)]
rizary has quit [(Ping timeout: 240 seconds)]
mgdelacroix has quit [(Ping timeout: 240 seconds)]
sethetter has quit [(Ping timeout: 240 seconds)]
feepo has quit [(Ping timeout: 264 seconds)]
savanni has quit [(Ping timeout: 264 seconds)]
smola has quit [(Ping timeout: 264 seconds)]
mystfox has quit [(Ping timeout: 264 seconds)]
mjvoge02 has quit [(Ping timeout: 255 seconds)]
pauldub has quit [(Ping timeout: 255 seconds)]
mbrock has quit [(Ping timeout: 255 seconds)]
stasku has quit [(Ping timeout: 255 seconds)]
adelbertc has quit [(Read error: Connection reset by peer)]
yurrriq has quit [(Write error: Connection reset by peer)]
indika has quit [(Write error: Connection reset by peer)]
oscarduignan has quit [(Read error: Connection reset by peer)]
philipcristiano has quit [(Read error: Connection reset by peer)]
georgew has quit [(Read error: Connection reset by peer)]
xplat|work has quit [(Read error: Connection reset by peer)]
wavewave has quit [(Read error: Connection reset by peer)]
dmj` has quit [(Read error: Connection reset by peer)]
philips has quit [(Ping timeout: 252 seconds)]
edofic has quit [(Read error: Connection reset by peer)]
sdemos has quit [(Write error: Connection reset by peer)]
jml has quit [(Read error: Connection reset by peer)]
dgonyeo has quit [(Read error: Connection reset by peer)]
angerman has quit [(Read error: Connection reset by peer)]
posco has quit [(Ping timeout: 248 seconds)]
bitonic has quit [(Read error: Connection reset by peer)]
luto has quit [(Read error: Connection reset by peer)]
pingveno has quit [(Read error: Connection reset by peer)]
pcarrier has quit [(Read error: Connection reset by peer)]
cstrahan has quit [(Ping timeout: 272 seconds)]
ocharles has quit [(Ping timeout: 272 seconds)]
elvishjerricco has quit [(Ping timeout: 276 seconds)]
<infinisil> I just know that "xset dpms force standby" makes the display go black
yrashk has quit [(Ping timeout: 240 seconds)]
JoJoen has quit [(Ping timeout: 255 seconds)]
akl has quit [(Ping timeout: 252 seconds)]
scott has quit [(Ping timeout: 252 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
rodarmor has quit [(Ping timeout: 250 seconds)]
zimbatm has quit [(Ping timeout: 250 seconds)]
babyflakes has quit [(Ping timeout: 252 seconds)]
hoverbear has quit [(Ping timeout: 264 seconds)]
lezed1 has quit [(Ping timeout: 272 seconds)]
nand0p has quit [(Ping timeout: 272 seconds)]
mudphone has quit [(Ping timeout: 255 seconds)]
sa1 has quit [(Ping timeout: 255 seconds)]
isaac__ has quit [(Ping timeout: 255 seconds)]
moredhel has quit [(Ping timeout: 250 seconds)]
pchiusano has quit [(Ping timeout: 250 seconds)]
r0bby has quit [(Ping timeout: 250 seconds)]
kiliankoe has quit [(Ping timeout: 250 seconds)]
terrorjack has quit [(Ping timeout: 250 seconds)]
gleber_ has quit [(Ping timeout: 250 seconds)]
teozkr has quit [(Ping timeout: 250 seconds)]
gridaphobe has quit [(Ping timeout: 252 seconds)]
dgpratt has quit [(Ping timeout: 252 seconds)]
teej has quit [(Ping timeout: 240 seconds)]
<akfp> reading the man page makes me feel guilty as this feature is supposed to save mother earth from us using too much energy.
ericbmerritt_ has quit [(Ping timeout: 255 seconds)]
fingerzam has quit [(Ping timeout: 240 seconds)]
themistocle has quit [(Ping timeout: 255 seconds)]
thoughtpolice has quit [(Ping timeout: 240 seconds)]
cinimod has quit [(Ping timeout: 272 seconds)]
dpren has quit [(Ping timeout: 272 seconds)]
evangeline has quit [(Ping timeout: 240 seconds)]
yegortimoshenko has joined #nixos
Mateon1 has quit [(Ping timeout: 248 seconds)]
Mateon1 has joined #nixos
evangeline has joined #nixos
yegortimoshenko has quit [(Remote host closed the connection)]
<infinisil> We need to protect Earth-chan!
otherjrolfs has quit [(Ping timeout: 268 seconds)]
bennofs has joined #nixos
<adisbladis> Profpatsch: Ping
verite has joined #nixos
otherjrolfs has joined #nixos
<ixxie> adisbladis: ping yourself!
<ixxie> adisbladis: should I squash my commits?
<ixxie> I could use some tips on how
<infinisil> ixxie: squash them if it makes sense. Don't squash them if they clearly make more sense separate
<ixxie> infinisil: I am a bit unclear on how exactly to do the squash
<ixxie> git rebase -i HEAD~5 shows me both my feature branch and the master branch
<infinisil> that should work, not sure what you mean by it shows you both branches
<infinisil> Well it's pizza time for me now, bbl :)
<adisbladis> ixxie: Fixup commits should be squashed into the initial package commit
jrolfs has quit [(Ping timeout: 240 seconds)]
<ixxie> bon app infinisil
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<adisbladis> ixxie: Also I dont think your feature branch is actually rebased on current master
<ixxie> adisbladis: then how come all the tests pass?
<adisbladis> ixxie: A merge is not actually rebasing
<ixxie> adisbladis: oooh hmm
<adisbladis> ixxie: git pull --rebase origin master
<adisbladis> Should do the trick
asuryawanshi has joined #nixos
adisbladis has quit [(Changing host)]
adisbladis has joined #nixos
bennofs has quit [(Ping timeout: 265 seconds)]
verite has quit [(Ping timeout: 256 seconds)]
otherjrolfs has joined #nixos
<taohansen> hey Nixers, does anyone run a simple Node webserver using either Nginx or Caddy they'd like to share their config for?
sary has joined #nixos
<ixxie> adisbladis: on it
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<adisbladis> taohansen: I make a custom service for my nodejs apps
<akfp> I'm getting internal error creation of non-raw file images is not supported without qemu-img when using virt-manager. qemu-img is in path.
<adisbladis> Other than that its pretty much https://nixos.org/nixos/manual/index.html#idm140737316354336
<taohansen> adisbladis: i'd love to see your service definitions!
johs has joined #nixos
kiliankoe has joined #nixos
asuryawanshi has quit [(Ping timeout: 240 seconds)]
gaqzi has joined #nixos
Guest37084 has joined #nixos
jb55 has quit [(Ping timeout: 265 seconds)]
edofic has joined #nixos
oscarduignan has joined #nixos
posco has joined #nixos
schaary has joined #nixos
<ixxie> adisbladis: so now the rebase is complete (I think) how do I squash the commits?
smola has joined #nixos
mbrock has joined #nixos
sdemos has joined #nixos
Mic92 has quit [(Ping timeout: 252 seconds)]
ocharles has joined #nixos
warrickmacmillan has joined #nixos
wavewave has joined #nixos
sa1 has joined #nixos
sjanssen has joined #nixos
johbo has quit [(Quit: Bye)]
dmj` has joined #nixos
<adisbladis> ixxie: I will usually use interactive rebasing just as you described before
mpickering has joined #nixos
jrolfs has joined #nixos
jml has joined #nixos
zimbatm has joined #nixos
georgew has joined #nixos
eddyb has joined #nixos
monad_cat has joined #nixos
yurrriq has joined #nixos
johbo has joined #nixos
ericbmerritt_ has joined #nixos
cstrahan has joined #nixos
adelbertc has joined #nixos
philipcristiano has joined #nixos
pcarrier has joined #nixos
<ixxie> adisbladis: is it okay to squash two packages together?
teej has joined #nixos
<samueldr> afaik, you should have one commit per package
<adisbladis> ixxie: No please keep packages separate :)
philips has joined #nixos
<adisbladis> What samueldr said
dvim has joined #nixos
xplat|work has joined #nixos
dgonyeo has joined #nixos
houli has joined #nixos
nz has joined #nixos
<LnL> you can leave those separate unless the changes don't make sense on their own
savanni has joined #nixos
teozkr has joined #nixos
codedmart has joined #nixos
themistocle has joined #nixos
<ixxie> the problem is I don't know which commits correspond to which package, especially since this is also work by cstrahan
thoughtpolice has joined #nixos
fingerzam has joined #nixos
jrolfs has quit [(Ping timeout: 255 seconds)]
Wizek has joined #nixos
r0bby has joined #nixos
tsmeets has joined #nixos
rizary has joined #nixos
yrashk has joined #nixos
mystfox has joined #nixos
pchiusano has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
bitonic has joined #nixos
pauldub has joined #nixos
ragge_ has joined #nixos
angerman has joined #nixos
pingveno has joined #nixos
manveru has joined #nixos
<LnL> it's probably fine, the main thing we want to avoid is a bunch of commits like oeps typo
cinimod has joined #nixos
scott has joined #nixos
mgdelacroix has joined #nixos
nand0p has joined #nixos
gridaphobe has joined #nixos
akl has joined #nixos
sethetter has joined #nixos
terrorjack has joined #nixos
JosW has quit [(Quit: Konversation terminated!)]
indika has joined #nixos
luto has joined #nixos
otherjrolfs has joined #nixos
<samueldr> in any way, if there's anything serious with the commits, it will be mentioned in the PR process :)
jrolfs has joined #nixos
mudphone has joined #nixos
<LnL> yeah, you can still rebase afterwards
jsgrant has quit [(Remote host closed the connection)]
otherjrolfs has quit [(Ping timeout: 255 seconds)]
jrolfs has quit [(Ping timeout: 272 seconds)]
<infinisil> Alright what the hell, something's wrong with nixops, because this module gives me infinite recursion: https://git.io/vbd5z
stasku has joined #nixos
moredhel has joined #nixos
<infinisil> wait no i'm stupid
<infinisil> the error changed to "undefined attribute types" and i didn't notice
jb55 has joined #nixos
<tsmeets> Hello I am trying to deploy a nixops network locally using libvirtd. But it wont get past the stage 2 boot. I have been following this guide 'https://nixos.org/nixops/manual/#idm140737318336864'.
<tsmeets> this is the nixops output after callilng 'nixops deploy -d example': https://hastebin.com/fasuwaruqo.vbs
babyflakes has joined #nixos
eacameron has joined #nixos
<tsmeets> I am in the libvirtd group. and the /var/lib/libvirt/images folder has the libvirtd group.
ixxie has quit [(Quit: Lost terminal)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
warrickmacmillan has quit [(Quit: warrickmacmillan)]
<tsmeets> Here is the complete output: https://hastebin.com/fopujezewe.pas
warrickmacmillan has joined #nixos
_c_ has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
feepo has joined #nixos
_c__ has quit [(Ping timeout: 272 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vbdFz
<NixOS_GitHub> nixpkgs/master 63a9142 Peter Simons: Merge pull request #33054 from NixOS/ghc-prebuilt...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 2 new commits to master: https://git.io/vbdFD
<NixOS_GitHub> nixpkgs/master 071c6bb Peter Simons: LTS Haskell 10.1...
<NixOS_GitHub> nixpkgs/master 635c101 Peter Simons: hackage-packages.nix: automatic Haskell package set update...
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 256 seconds)]
jb55 has quit [(Ping timeout: 260 seconds)]
jb55 has joined #nixos
otherjrolfs has joined #nixos
warrickmacmillan has quit [(Quit: warrickmacmillan)]
Yotam has joined #nixos
otherjrolfs has quit [(Ping timeout: 264 seconds)]
tsmeets has quit [(Quit: leaving)]
Guest73705 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
johbo has quit [(Quit: Bye)]
steshaw has joined #nixos
jrolfs has joined #nixos
johbo has joined #nixos
otherjrolfs has joined #nixos
nallar has joined #nixos
Ross has quit [(Ping timeout: 268 seconds)]
nallar is now known as Ross
<manveru> tsmeets: seems like the device exists already?
slyfox has quit [(Ping timeout: 264 seconds)]
jrolfs has quit [(Ping timeout: 272 seconds)]
otherjrolfs has quit [(Ping timeout: 265 seconds)]
carter has joined #nixos
Yotam has quit [(Quit: Leaving)]
slyfox has joined #nixos
fragamus has joined #nixos
fragamus has quit [(Client Quit)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
fragamus has joined #nixos
<alice_> Anyone managed to install BetterDiscord on NixOS? The Electron installer does not want to work and I'm not certain I can do the manual installation because nix polices npm package installation
<samueldr> anybody here with an ASUS laptop wants to check something?
alice_ has quit [(Quit: Page closed)]
<AntonLatukha[m]> I am on ASUS laptop right now )
<samueldr> ASUS may times have different variations of the same "model"
<samueldr> e.g., TP300LA I know they have at lest 6 variations
<samueldr> I may have found a way to get the actual model number from linux
<AntonLatukha[m]> Yes. IN reality - everyone have "model" and "model type".
<samueldr> AntonLatukha[m]: can you tell me if the OEM String 4 in dmidecode is the model number?
<samueldr> sudo nix-shell -p dmidecode --run "dmidecode -t 11" | grep 'String 4' | sed -e 's/\s//g' | cut -d':' -f2
alice_ has joined #nixos
<samueldr> for my TP300LA this gives me 90NB05Y1-M01340, when googling this, it gives me the actual exact model
* samueldr is now wondering if that number is printed on the device
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 252 seconds)]
Mic92 has joined #nixos
<samueldr> no, but I have found *another* number
<samueldr> (which gives fewer results in google)
cbarrett has joined #nixos
rgrinberg has joined #nixos
zarel has joined #nixos
isaac__ has joined #nixos
JoJoen has joined #nixos
<pikajude> uhhh
hoverbear has joined #nixos
<pikajude> does the haskell builder not work properly for packages with multiple libraries?
<pikajude> this is weird
dpren has joined #nixos
lezed1 has joined #nixos
dgpratt has joined #nixos
mjvoge02 has joined #nixos
<AntonLatukha[m]> samueldr: Yeah, I have number that matches model. And I have rare model. But it is not printed on the back.
<samueldr> nice!
zarel has quit [(Client Quit)]
<samueldr> nice, random googling makes me thing asus does this for all laptops
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
<pbogdan> pikajude: this could be related perhaps https://github.com/NixOS/nixpkgs/pull/32993 ?
phreedom has joined #nixos
elvishjerricco has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
gleber_ has joined #nixos
rodarmor has joined #nixos
<infinisil> Alright what the f**k, I thought I understood nix and the module system, but I cannot for the life of me figure out why such a simple module gives me infinite recursion: https://git.io/vbdx5
otherjrolfs has quit [(Ping timeout: 246 seconds)]
jrolfs has quit [(Ping timeout: 272 seconds)]
<infinisil> Actually, scratch that, 2 lines, infinite recursion: https://git.io/vbdpI
exfalso has quit [(Quit: Lost terminal)]
alice_ has quit [(Quit: Page closed)]
<infinisil> What this should do is create configs for each openssh port and merge them, which is totally totally reasonable, but it doesn't want to work
fragamus has quit [(Ping timeout: 248 seconds)]
nschoe has joined #nixos
<nschoe> Hi everyone,
<nschoe> I'm trying to compile a 32-bit executable from my 64 bit nixOS, but the `-m32` flag gives an error because it cannot find gnu/stub-32.h.
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
<nschoe> I have been looking a bit and found packages `unstable.tests.cc-multilib-gcc` and `nixos.glibc_multi`.
<nschoe> Do I need both?
<nschoe> Do I need something else?
<LnL> are you using the i686 stdenv?
<nschoe> LnL, probably not, since I did not do anything specific for that
<nschoe> LnL, what should I do? Is there a doc page about doing this?
<LnL> pkgsi686Linux.stdenv.mkDerivation { ... }
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 4 new commits to master: https://git.io/vbdp5
<NixOS_GitHub> nixpkgs/master f5fc1ff John Ericson: top level: Stop hacking around #28223...
<NixOS_GitHub> nixpkgs/master 831c71e John Ericson: top level: Clean up definitions of alternative stdenvs...
<NixOS_GitHub> nixpkgs/master 558c96f John Ericson: treewide: Cleanup usage of multi-arch tools...
NixOS_GitHub has left #nixos []
<nschoe> LnL, can I run a nix-shell with this package installed?
<LnL> sure, nix-shell -p pkgsi686Linux.stdenv
<LnL> then you can call cc to compile something, etc.
nevermind has joined #nixos
<nschoe> LnL, yeah that's what I want to test. Thanks
nevermind is now known as Guest20984
<nschoe> LnL, last thing by searching nix-env I found `nixos.stdenv_32bit`, is is different?
<LnL> but it might also work for what you want
* hodapp considers breaking something in his otherwise-working-fine NixOS configuration so that his learning doesn't stop
hiratara has quit [(Ping timeout: 265 seconds)]
<nschoe> LnL, thanks
<infinisil> hodapp: You can have a look at this which gives infinite recursion for unknown reason: https://git.io/vbdpI
hiratara has joined #nixos
<infinisil> Well whatevs, I'm too sick of trying to debug nix anymore for today, it's a pain
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis opened pull request #33115: plasma5: add qtvirtualkeyboard support (master...plasma/virtualkeyboard) https://git.io/vbdh0
NixOS_GitHub has left #nixos []
<LnL> have you tried { config = lib.mkMerge ...; }
jb55 has quit [(Ping timeout: 248 seconds)]
<infinisil> yeah
<infinisil> it seems like such a trivial thing
<LnL> the problem is that mkMerge doesn't know if that new config might override the ports yet
<infinisil> Ohh..
<LnL> do you have an actual example of what you're trying to do?
<infinisil> I do but it's hella big
<infinisil> basically declaring an option and using that instead of openssh.ports
<samueldr> ♥ nixos, enable IIO for my device (and patching hwdb) was breeze
<samueldr> a breeze*
<infinisil> LnL: The problematic mkMerge is on line 9, which uses the option declared at line 96
<gleber_> Any pointers how to make Hydra behave well behind a reverse-proxy?
<gleber_> Currently all links it produces are to localhost:3000, although base_url is set correctly
<LnL> yeah, I think imports would work fine
<infinisil> Ohhh, I think I should use a submodule
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] mimadrid opened pull request #33117: git-cola: 2.11 -> 3.0 (master...update/git_cola-3.0) https://git.io/vbdh5
NixOS_GitHub has left #nixos []
<infinisil> somehow, not sure how though
<LnL> gleber_: don't have any issues, maybe because of services.nginx.recommendedProxySettings
simpson has left #nixos ["WeeChat 1.0.1"]
cement has joined #nixos
pkill9 has quit [(Quit: WeeChat 2.0)]
<gleber_> LnL: good hintm trying!
<gleber_> *hint
pkill9 has joined #nixos
<gleber_> LnL: it works!
<gleber_> LnL: so... now I have a Hydra running. How can I contribute its compute power to Nix community? :)
<infinisil> gleber_: You cannot
<gleber_> infinisil: :(
<infinisil> gleber_: There would be security concerns if anybody could help with their own machines
aarvar has quit [(Ping timeout: 248 seconds)]
mmlb has quit [(Read error: Connection reset by peer)]
<gleber_> infinisil: true, true
mmlb has joined #nixos
<LnL> well you can help people test stuff ofcorse
jrolfs has joined #nixos
otherjrolfs has joined #nixos
aarvar has joined #nixos
<gleber_> asked grahamc if I can contribute some power to his borg fleet
otherjrolfs has quit [(Ping timeout: 248 seconds)]
jrolfs has quit [(Ping timeout: 248 seconds)]
<pikajude> i have a really fun issue for anyone who's worked on the haskell builder
<pikajude> boom
<pikajude> go fix it
* LnL runs away
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/vbFeo
<NixOS_GitHub> nixpkgs/staging b3df156 John Ericson: Merge branch 'alt-stdenv' into staging
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
hiratara has joined #nixos
aarvar has quit [(Ping timeout: 248 seconds)]
dywedir has quit [(Ping timeout: 264 seconds)]
aarvar has joined #nixos
jrolfs has joined #nixos
dan_b has joined #nixos
jrolfs has quit [(Ping timeout: 260 seconds)]
vidbina has quit [(Ping timeout: 264 seconds)]
coot_ has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
yegortimoshenko has joined #nixos
<yegortimoshenko> pbogdan: hi!
deepfire has quit [(Ping timeout: 248 seconds)]
<infinisil> Well great, I solved my infinite recursion problem
<yegortimoshenko> pbogdan: how do you trigger this?
<infinisil> It's just a really really ugly hack
otherjrolfs has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] grahamc pushed 1 new commit to master: https://git.io/vbFfk
<NixOS_GitHub> nixpkgs/master 9fed741 José Romildo Malaquias: jgmenu: 0.7.5 -> 0.7.6 (#33079)
NixOS_GitHub has left #nixos []
jrolfs has quit [(Ping timeout: 260 seconds)]
Guest20984 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<jtojnar> gchristensen: I am back
otherjrolfs has joined #nixos
jrolfs has joined #nixos
drakonis has joined #nixos
sary has quit [(Ping timeout: 252 seconds)]
sary has joined #nixos
m0rphism has joined #nixos
drakonis has quit [(Read error: Connection reset by peer)]
<catern> hey #nixos, how can I package a python package which works on both python 2 and python 3, but when running on python 2, depends on some additional libraries? (some Python 3 module backports, specifically)
<pbogdan> yegortimoshenko: create invalid symlink in the root folder, invoke steam; it is not deterministic in nature for reasons I don't yet understand so I can't provide more guidance :-(
pie_ has joined #nixos
<jtojnar> catern: you can use isPy3k
MP2E has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin pushed 1 new commit to mariadb-10.2: https://git.io/vbFfd
<NixOS_GitHub> nixpkgs/mariadb-10.2 c70d1ec Robin Gloster: gdal_1_11: needs mysql57 not mariadb
NixOS_GitHub has left #nixos []
<pbogdan> yegortimoshenko: I'm also not sure what influences directory traversal order or the exact timing; I can provide you with strace dump of the steam process if that helps
coot_ has quit [(Quit: coot_)]
<yegortimoshenko> pbogdan: please do (strace)
Sonarpulse has quit [(Ping timeout: 255 seconds)]
<pbogdan> yegortimoshenko: yup, one moment
leothrix has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
globin has quit [(Ping timeout: 260 seconds)]
coot_ has joined #nixos
globin has joined #nixos
simukis has quit [(Ping timeout: 264 seconds)]
<pbogdan> yegortimoshenko: added to the issue
theseriousadult has joined #nixos
<theseriousadult> Why does nix-env keep trying to upgrade signal-desktop to signal-desktop-beta?
<theseriousadult> And can I make it stop? It's failing to download signal-desktop-beta from all mirrors too, so this is blocking nix-env -u
pie_ has quit [(Ping timeout: 265 seconds)]
dieggsy has joined #nixos
<LnL> it's based on the drv name, the priority (or name) should be fixed
DTK has joined #nixos
<theseriousadult> LnL: is there any way to fix it locally, or do I have to submit a pull request to nixpkgs?
<LnL> you could make an overlay that replaces the beta package with {}
<LnL> but that won't help other people :)
coot_ has quit [(Quit: coot_)]
leothrix has joined #nixos
<yegortimoshenko> pbogdan: what do you mean by "create invalid in root folder"? would `chmod 777 /root; cd /root; ln -s foo meh' suffice?
jrolfs has joined #nixos
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] hrdinka opened pull request #33118: nginx module: only turn on HTTP2 when SSL is enabled (master...nginx) https://git.io/vbFJ5
NixOS_GitHub has left #nixos []
nevermind has joined #nixos
c0ffee152 has joined #nixos
nevermind is now known as Guest15615
pie_ has joined #nixos
<pbogdan> yegortimoshenko: oh sorry, I meant cd /; ln -s foo
jrolfs has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 268 seconds)]
<pbogdan> ln -s foo a
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] globin closed pull request #33118: nginx module: only turn on HTTP2 when SSL is enabled (master...nginx) https://git.io/vbFJ5
NixOS_GitHub has left #nixos []
<infinisil> LnL: ohh you were suggesting using imports to me, i didn't even realize this was addressed to me
<laggy_wifi> are patch files reliable when code updates? or do they need to be modified every time the line where the code is meant to go changes in the source
<LnL> yes, with imports you won't need the toplevel mkMerge
<yegortimoshenko> pbogdan: `ln -s foo a`? how does that affect root folder?
<infinisil> LnL: yeah thanks, I'll try
<LnL> either with separate files or anonymous modules, but that makes debugging harder
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley opened pull request #33119: Xaw3d: 1.6 -> 1.6.2 (master...Xaw3d-fix) https://git.io/vbFUY
NixOS_GitHub has left #nixos []
<pbogdan> yegortimoshenko: the root folder as in / not the root's folder, sorry; does that make sense?
<yegortimoshenko> pbogdan: ah, ok. sorry.
<yegortimoshenko> pbogdan: still nothing. i have the same chrootenv (same nix hash).
pie_ has quit [(Remote host closed the connection)]
<laggy_wifi> for example, source Z contains a patch for x at line 3, source Z gets updated and 10 lines are added to line 0, would the patch need to be corrected to patch x at line 13 instead of x at line 3
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jwiegley opened pull request #33120: Xfig update (master...xfig-update) https://git.io/vbFUE
NixOS_GitHub has left #nixos []
<pkill9> is there a way to move the nix store to another partition safely?
otherjrolfs has joined #nixos
<pbogdan> yegortimoshenko: hmm, I can't get it to clean up at all without some error of sort - what is the exit message for you?
<pkill9> i.e. without anything breaking
<pbogdan> assuming I have something in / that fails to stat()
otherjrolfs has quit [(Ping timeout: 272 seconds)]
Guest15615 has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
jrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] dtzWill opened pull request #33121: chkrootkit: 0.51 -> 0.52 (master...update/chkrootkit-0.52) https://git.io/vbFUx
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy pushed 2 new commits to master: https://git.io/vbFUh
<NixOS_GitHub> nix/master 2e6f06c Will Dietz: fetchGit: Fix handling of local repo when not using 'master' branch...
<NixOS_GitHub> nix/master 25196d0 Shea Levy: Merge branch 'fix/fetchGit-clean-branch' of git://github.com/dtzWill/nix
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy closed pull request #1755: fetchGit: Fix handling of local repo when not using 'master' branch (master...fix/fetchGit-clean-branch) https://git.io/vbHR6
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy pushed 2 new commits to master: https://git.io/vbFTv
<NixOS_GitHub> nix/master bd17ccf Will Dietz: nix repl: use linenoiseKeyType to differentiate ^C and ^D...
<NixOS_GitHub> nix/master 6a0dd63 Shea Levy: Merge branch 'fix/issue-1757' of git://github.com/dtzWill/nix
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] shlevy closed pull request #1764: nix repl: use linenoiseKeyType to differentiate ^C and ^D (master...fix/issue-1757) https://git.io/vb5Nz
NixOS_GitHub has left #nixos []
<yegortimoshenko> pbogdan: same that srhb had
<yegortimoshenko> pbogdan: i don't understand. your strace seems to presume there are no broken symlinks in /
mmlb has quit [(Ping timeout: 248 seconds)]
mmlb has joined #nixos
<Acou_Bass> eey folks, this is more a curiosity than anything but figured id ask - if i were to switch to nixos-unstable, where would be the best place to keep my eye out for breaking configuration changes? or is it more a case of 'when they come up, check up on them'
jrolfs has quit [(Ping timeout: 240 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]