<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
<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?
<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
<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?
<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>
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>
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>
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.
<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?
<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
<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: 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
<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"
<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
<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)]
<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...
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
<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
<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)]
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…)]
<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'.
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?
<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)]
<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?
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>
[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
<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>
[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 /
<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'