<Mic92>
or (ccWrapperFun { stdenv=overrideCC stdenv gcc7; })
<Ralith>
Mic92: then it complains about missing required arguments.
<Ralith>
that was the first thing I tried, it doesn't do anything.
<Ralith>
(assuming you supply all the other required arguments)
<Lisanna>
could someone quickly help me verify my default shell config? The way it's done currently seems rather fishy, and with no official documentation on this it's hard to know if I've inscribed the right incantations into my configuration file
sary has quit [(Ping timeout: 240 seconds)]
<Ralith>
it would probably save time if you tried evaluating these suggestions first
<Lisanna>
it broke between 17.03 and 17.09, so just want someone to verify that I'm not crazy before I file a bug report: https://hastebin.com/kifegedeza.bash
<Mic92>
a module might follow if bugworm writes one
<Lisanna>
Mic92: thanks. I'm not particularly concerned about using antigen, but glad to see it was added. I switched my programs.zsh to something similar to the original link you gave me and it's working now
<iqubic>
gchristensen: How does nix deal with new packages being added to hackage?
<gchristensen>
I don't know haskell and I don't know what hackage is
<iqubic>
gchristensen: Hackage is the repository for all haskell libraries that exist.
gandreani has joined #nixos
<puffnfresh>
gchristensen: wat?
Fare has joined #nixos
<gchristensen>
oh the package set is updated automatically periodically on some schedule, or some "long term release" kind of thing
<gchristensen>
puffnfresh: wat wat?
<puffnfresh>
"I'm surprised you're not gung-ho on static typing"
<puffnfresh>
lol where'd you get that from?
<gchristensen>
"I've come to a similar conclusion on dynamic typing. It is exactly unityping and my experience is that allowing programs with more than one type has no inherent disadvantage. Not a trade-off."
<gchristensen>
back in 10 :)
gandreani has quit [(Ping timeout: 240 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<hodapp>
bob harper? is that you?
pxc has joined #nixos
darlan has joined #nixos
<MP2E>
iqubic: I can answer that, we have a utility cabal2nix which can fetch packages from hackage and generate nix expressions from there. There is a script our haskell maintainer runs weekly/biweekly which generates nix expressions for every hackage package
<iqubic>
And let's say that I just want to install a package and run it as a binary? I can just put haskellPackages.fooBarBaz into my systemPackages in configuration.nix?
<iqubic>
So, I guess I'll have to disable tests for now.
<iqubic>
Want me to submit a bug report for this?
<MP2E>
yeah I think that's a good idea
<iqubic>
Also, nix is complaining about missing documentation for a large number of haskell packages
iqubic has quit [(Quit: Page closed)]
pxc has joined #nixos
iqubic has joined #nixos
<iqubic>
When I get to a stopping point in my homework, I'll write up a bug report.
<iqubic>
What should it say?
<fearlessKim[m]>
is it advised to download python packages from github or pypi (when writing a derivation) ? pypi just has a wheel there https://pypi.python.org/pypi/pygccxml
<iqubic>
MP2E: What exactly is the issue? That stable 17.09 is not being updated with the results of the hackage nix expression updates?
Kim has joined #nixos
<MP2E>
the glirc version on the release branch fails to build because of failing tests, and can be cherry picked to 2.14 or simply have the tests overiden (whatever the release policy dictates, I'd guess)
<iqubic>
MP2E: Why not just change the release branch so that it pulls version 2.24?
<iqubic>
That seems like the best thing to do. Version 2.24 is working just fine all around.
<iqubic>
But if it's just this one package, should I really make a bug report? Seems like a minor thing to report.
reinzelmann has joined #nixos
gandreani has joined #nixos
bambo has joined #nixos
bambo has quit [(Client Quit)]
<iqubic>
How do I get zsh to offer corrections for mistyped commands? Somthing like this: "zsh: correct 'biz' to 'baz' [nyae]? "
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Arcaelyx_ has quit [(Ping timeout: 258 seconds)]
Arcaelyx has joined #nixos
cmacrae has quit [(Ping timeout: 240 seconds)]
peterzky has joined #nixos
Khetzal has quit [(Remote host closed the connection)]
vandenoever has joined #nixos
Khetzal has joined #nixos
<Ralith>
s/people/organizations/
justbeingglad has joined #nixos
justbeingglad has left #nixos []
roconnor__ has quit [(Ping timeout: 240 seconds)]
<mbrgm>
fpletz: you upgraded unifi controller from the stable 5.5.x line to the stable-candidate 5.6.x line.. do you want to keep the stable-candidate line in nipxkgs?
<hyper_ch>
does nixos-generate-config generate also configs that contain according nvidia stuff?
MichaelRaskin has left #nixos []
proteusguy has quit [(Ping timeout: 246 seconds)]
ixxie has joined #nixos
vandenoever has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vdayy
<hyper_ch>
sphalerite: problem was, xserver didn't start... when I added videoDriver = [ "nvidia" ] then xserver started and kde/sddm gave an error about opengl
nikola__i has joined #nixos
nikola_ has quit [(Client Quit)]
nikola_i has quit [(Client Quit)]
<sphalerite>
Any more specific than "an error about opengl"..?
<hyper_ch>
sphalerite: it's hard to be specific when you're not at that notebook anymore
<sphalerite>
And it's hard to help without more specific information
<sphalerite>
jluttine: first we need to see that phone :p
Kingsquee has joined #nixos
<sphalerite>
I really want one but it's so expensive (student budget) and so long until the actual release :(
<sphalerite>
By the time it's out I'll probably be working full-time and affording it will be less of a problem
<hyper_ch>
sphalerite: but I thought you can mind-read over the internet :(
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor opened pull request #30270: nixos: run parted with --script option (master...nixos-parted-script) https://git.io/vdaQG
NixOS_GitHub has left #nixos []
jacob has joined #nixos
jacob is now known as Guest95219
fendor has quit [(Ping timeout: 255 seconds)]
<layus>
I have a strange bug with nix-shell & nix-env output
leat has quit [(Ping timeout: 255 seconds)]
<layus>
The curl progress meters are all scrambled, as if they were using wrong COLUMN information
<layus>
and each download was using a different COLUMN on top of that
<layus>
Anyone observed the same issue ?
kkini has quit [(Remote host closed the connection)]
kkini has joined #nixos
Mateon1 has quit [(Ping timeout: 255 seconds)]
ixxie has joined #nixos
ertes-w has joined #nixos
Jackneilll has quit [(Quit: Leaving)]
Itkovian has joined #nixos
Jackneill has joined #nixos
mc2 has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
zzamboni has joined #nixos
<sphalerite>
layus: it's just because multiple curls are running at the same time and don't coordinate their output
<sphalerite>
Only "solution" I know of is -Q
nikola__i has quit [(Ping timeout: 246 seconds)]
cmacrae has joined #nixos
<sphalerite>
I think new nix has better progress reporting too
<layus>
I know the can overlap, this has always been the case.
JosW has joined #nixos
<layus>
My issue is that the output is not just an overlap, it ends up with an unreadable mess
<whald>
hi! i'm using zfs on linux and want to limit my ARC size, is passing zfs_arc_max using boot.extraModprobeConfig the preferred way for this or is there a more specific knob to turn?
Lisanna has quit [(Ping timeout: 260 seconds)]
jtojnar has joined #nixos
adisbladis has quit [(Changing host)]
adisbladis has joined #nixos
hellrazor has quit [(Ping timeout: 248 seconds)]
ison111 has quit [(Ping timeout: 240 seconds)]
whald has quit [(Remote host closed the connection)]
arjen-jonathan has joined #nixos
vandenoever has quit [(Ping timeout: 248 seconds)]
mortum5 has joined #nixos
Acou_Bass has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mudri has quit [(Ping timeout: 255 seconds)]
<csingley>
ls
freusque has joined #nixos
Acou_Bass has joined #nixos
proteusguy has joined #nixos
proteusguy has quit [(Ping timeout: 260 seconds)]
peti has joined #nixos
<peti>
Hi there! Is by any chance someone around with a working docker installation who can test a docker image I made for the upcoming Haskell eXchange conference? I'd be particularly interested in knowing whether the image works correctly for people using docker on non-Linux system, i.e. Darwin.
<peti>
Basically, all I'd need is you to run "docker run --interactive --tty psimons/hex2017" and please confirm that the resulting VM has a properly working "nix-env" etc.
<peti>
The purpose of that image is to give participants of our Haskell/Nix workshop an easy way to access Nix during the conference-
eacameron has joined #nixos
<clever>
woffs: you man want to instead add zfs.zfs_arc_max=12345 to the kernel params
<tilpner>
420MB? :c
<peti>
tilpner: It's Nix + Nixpkgs 17.09 + ghc + some core Haskell dev tools.
<tilpner>
I hope your workshop network can handle that
<peti>
I hope the participants come into the workshop with that image already installed and working. :-)
ebzzry has quit [(Ping timeout: 240 seconds)]
<tilpner>
Shallow testing says it works
<ij>
Yeah, nix-env -q works.
ebzzry has joined #nixos
<peti>
tilpner, ij: Which host OS and docker version did you use?
MercurialAlchemi has quit [(Ping timeout: 255 seconds)]
<peti>
tilpner: thank you very much.
eacameron has quit [(Ping timeout: 240 seconds)]
mc2 has quit [(Read error: Connection reset by peer)]
<tilpner>
(For some reason with Docker client version 17.06.2-ce, not sure if that's right)
<ij>
I'm trying to cook up a good docker image with pkgs.dockerTools, but it's very cumbersome and I'm not sure anyone's done it right.
MercurialAlchemi has joined #nixos
<tilpner>
ij - Any problems in particular?
<ij>
Yeah, the /bin is full of things from coreutils, which I don't know why it should be there.
<tilpner>
peti - Just FYI, Alpine sometimes surprises me and needs a few workarounds. Tools often test better for Debian
sigmundv has joined #nixos
<tilpner>
(So if less surprises are more important than image size... debian)
<ij>
The big real problem is system activation, because /run is not present. I've been digging through boot stage and the activation script to figure it all out lately.
<ij>
/run is not present -> neither is locale archive, so UTF-8 doesn't work.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vdVfs
<NixOS_GitHub>
nixpkgs/master ef1cb94 Peter Hoeg: netalyzr: use makeWrapper i/o custom script
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/vdVfC
<NixOS_GitHub>
nixpkgs/master a936d9d Gabriel Ebner: isabelle: 2016-1 -> 2017
NixOS_GitHub has left #nixos []
<tilpner>
ij - What fromImage are you using?
<ij>
I want to cook up a new one.
<sphalerite>
ertes-w: systemd's term for it is oneshot service :p
<tilpner>
peti - Oh, and "apk add --no-cache"
zzamboni has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
zzamboni has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
<ertes-w>
peti: your image works for me, as far as i can tell
whald has joined #nixos
<ertes-w>
peti: i tried nix-env, nix-channel and nix-shell
xdelv has quit [(Ping timeout: 248 seconds)]
<ertes-w>
sphalerite: thanks, i already figured it out =)
Wizek has joined #nixos
Wizek_ has joined #nixos
mortum5 has quit [(Ping timeout: 240 seconds)]
isHavvy has quit [(Ping timeout: 240 seconds)]
vandenoever has quit [(Ping timeout: 240 seconds)]
oever has joined #nixos
<ertes-w>
peti: minor note: the package collection is called 'pkgs' in your image, which is different from both NixOS and nix installed through the curl-bash pipe
Havvy has joined #nixos
<ertes-w>
peti: when people install NixOS/nix for themselves and try to use 'nix-env -iA', they might get confused by that
ixxie has joined #nixos
reinzelmann has quit [(Ping timeout: 240 seconds)]
mortum5 has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
<ij>
Does nix scan the contents of derivations for the store hashes to determine dependencies?
<tilpner>
Though that sounds pretty easy to work around. Just also scan the contents of popular archive formats?
<layus>
For the know bad packages, just add a plain file that references the runtime dependencies.
<ij>
You'll never be able to eliminate completely.
<layus>
tilpner, yes, but there are even simpler work-arounds, like the above
<tilpner>
ij - If that only happens for five packages out of all of nixpkgs, then that would be good enough and you can use layus' workaround for the rest
ebzzry has quit [(Ping timeout: 258 seconds)]
<layus>
There are also issues the other way around, where packages keep references to unused build inputs
pxc has joined #nixos
<layus>
this is the reason why nix needs to strip all the binaries, otherwise debug info keeps references to headers in dev inputs for example
oever has quit [(Remote host closed the connection)]
<ij>
buildImage.contents copies the contents to / + closure to /nix/store. This clutters the /bin, which I'd like to keep empty.
<makefu>
FRidh[m]: you know which PR you referred to 20 days ago regarding automated update of individual packages? more concretely i'd like to have a short script which updates and tests radare2 so i don't have to do it manually
<makefu>
there also was a proposal for having a test phase which simply tries to run an executable and checks if the output matches
Wizek_ has joined #nixos
simukis has joined #nixos
hellrazor has quit [(Ping timeout: 240 seconds)]
tmaekawa has joined #nixos
hellrazor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] edolstra pushed 1 new commit to master: https://git.io/vdVYH
<kuznero>
Hi All! I have a problem on latest 17.09. When running docker swarm service for rabbitmq I cannot access management plugin (in web browser). But if I run as unmanaged container (with docker run -d) it is working absolutely fine. Have anybody see such behavior? I know for fact that that same thing work on 17.03.
griff_ has quit [(Ping timeout: 248 seconds)]
griff__ is now known as griff_
<kuznero>
Thought of asking before issuing a ticket
pxc has joined #nixos
<kuznero>
Strange thing is that accessing other exposed ports through http for other images works fine with managed containers. So, for some reason it is only related to rabbitmq
<sphalerite>
Is that behaviour nixos-specific?
<kuznero>
I'm afraid this narrows down the audience that can help. But maybe you have some guesses?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] basvandijk opened pull request #30277: [NixOS-17.09] Fix graphite crash by upgrading from 0.9.15 -> 1.0.2 (release-17.09...graphite-1.0.2_nixos-17.09-small) https://git.io/vdV8t
NixOS_GitHub has left #nixos []
<kuznero>
sphalerite: yes, I can only see this on nixos. But to be fare I am only running old version of docker on RHEL
<kuznero>
So, it might be both Nix 17.09 as well as simply new version of docker.
<kuznero>
But what it is not is it is not a new version of rabbit (I saw it was working on 17.03 before)
<gchristensen>
kuznero: I mean it sounds like an issue with how your swarm is setuup?
<kuznero>
gchristensen: I am running very simple set of commands (this is a dev station - single noded swarm cluster for testing). `docker swarm init && docker network create ci -d overlay && docker service create --detach --name rabbit -p 15672:15672 ... rabbitmq:3.6.12-management`
<kuznero>
gchristensen: there is very little room for something to go wrong
<kuznero>
And again, same thing was working before.
<gchristensen>
yeah but you're saying it works fine on nixos until you add swarm, right?
<kuznero>
nope, until I upgraded to 17.09
<kuznero>
I was always using swarm
<gchristensen>
yes but
<gchristensen>
"But if I run as unmanaged container (with docker run -d) it is working absolutely fine."
<gchristensen>
^ is that on nixos 17.09?
<kuznero>
yes, it is both. So, on 17.03 it is working both as managed and unmanaged container. But on 17.09 it only works as unmanaged container.
<hodapp>
hm. I need to upgrade to 17.09
<hodapp>
whoa, this might be the first Nix version that has some of my patches in it! \o/
<kuznero>
hodapp: And I'm afraid I will need to downgrad ;(
<gchristensen>
kuznero: this forces me to think something about 17.09 + docker swarm is breaking it
<kuznero>
gchristensen: agree
<gchristensen>
kuznero: I've historically had many problems of docker breaking networking features between minor versions
<kuznero>
gchristensen: is there a way to force nixos to install previous version of docker chain while still use 17.09?
<gchristensen>
I'll make a proper service tonight / tomorrow
nslqqq has quit [(Ping timeout: 240 seconds)]
Mateon1 has joined #nixos
efx has joined #nixos
<efx>
what is the proper way to modify another derivation's folder from a later one? I'm working on bumping a version of modsecurity (an apache httpd module), but keep getting build errors from permission denied
<efx>
I am building on macOS in a multiuser environment
truh has quit [(Remote host closed the connection)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
<michaelpj>
tilpner, viric: yes, only one path is searched for overlays. I updated that bit of documentation recently to try and make this clearer, is it still confusing?
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
eacameron has joined #nixos
<tilpner>
michaelpj - Do you have the old text still available?
<tilpner>
michaelpj - I was sure NIX_PATH took precedence, and I assume that's because the old phrasing explicitly promised that. The new one doesn't
<michaelpj>
the code itself definitely hasn't changed
<michaelpj>
the precedence is: argument passed to nixpkgs; NIX_PATH; ~/.config/nixpkgs/overlays
<michaelpj>
which is what the manual now says
<tilpner>
Yes, that's not the issue, we both read impure.nix after looking at the manual and deciding it wasn't explicit enough
erictapen has quit [(Ping timeout: 240 seconds)]
<woffs>
I have a question regarding haskell modules from hackage. My amqp-utils-0.2.1.5 fails to build because it depends on amqp-0.17. How to solve this? It would work if it did depend on amqp_0_18_1 or if amqp-utils would be held on 0.2.1.4 (which depends on amqp-0.15, which is ok and in current LTS Haskell).
<michaelpj>
right, so I'm just interested which bit isn't explicit enough?
<michaelpj>
then we can fix it :)
<hyper_ch>
lenovo thinkpad 13 looks yummy
iqubic has quit [(Ping timeout: 246 seconds)]
<tilpner>
michaelpj - The old text said "The set of overlays is looked for in the following places. The first one present is considered, and all the rest are ignored"
<hyper_ch>
does nixos support WiDi?
<tilpner>
michaelpj - This "all the rest are ignored" is an important point that the current phrasing doesn't really mention, only imply
<michaelpj>
yes, the phrasing with "otherwise" is supposed to make it clear that it's an exclusive case, but I guess that's not as clear as it could be
<michaelpj>
reading it now it's less obvious than I thought it was when I wrote it ;)
proteus-guy has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
bin8me has joined #nixos
<hodapp>
kuznero: that's what I did... because it's only Flash, as I said :P
peacememories has joined #nixos
<hodapp>
except it was pepperFlash, but I doubt that matters
<kuznero>
ok
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to master: https://git.io/vdVgS
<Fossi>
hi. it seems like my wine did not install with pulseaudio, but it also does not seem to work via alsa. i can't figure out what flag i'm supposed to set to build it with pulseaudio support for example
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
* tilpner
looks at wine
* tilpner
takes a moment to remind everyone of the irony that is nixpkgs/pkgs/misc/emulators/wine
pie_ has quit [(Ping timeout: 260 seconds)]
<tilpner>
Fossi - Are you on Linux or have pulseaudio enabled in your config?
<TweyII>
I have a bunch of derivations that, as part of their build process, download a manifest from a remote site. The manifest updates occasionally, and at those times I should update the manifest and begin using the new one, but it's append-only, so the manifest changing shouldn't change the build output of the derivations. I'd like to share this manifest among the derivations. What's a good Nix pattern for
proteus-guy has quit [(Ping timeout: 255 seconds)]
<TweyII>
tilpner: The manifest is updated (at least) several times a day, so manually updating the expression every time is infeasible
<Fossi>
i just 'nix-env -i wine' which seems to be wine-2.0
<tilpner>
TweyII - fetchurl the manifest, use a fixed-output derivation to keep it from rebuilding after it succeeded once
<TweyII>
tilpner: But what happens about the updating part? (if the manifest is out of date, the build fails, or has to slowly download its own copy if I add redundancy to the builder)
<tilpner>
Oh, you want it to rebuild when the manifest updates?
peacememories has joined #nixos
<tilpner>
Don't use fixed output derivation then
<tilpner>
:/
<TweyII>
tilpner: Mmm. But doesn't that make all the packages that depend on it appear non-deterministic? Whereas in reality they will be deterministic — they only refer to things that are already in the manifest, and the manifest is append-only
<TweyII>
tilpner: So a new manifest version will never change the build output
<tilpner>
Then my initial suggestion was correct, no?
<tilpner>
Why would the build fail with a fixed-output derivation, if a newer manifest doesn't cause the output to change?
<TweyII>
tilpner: Ohh, use a fixed-output derivation for the *packages*?
<tilpner>
Yes
<TweyII>
Mmm, interesting
<tilpner>
Fossi - Should be enabled. How do you determine it's not?
<TweyII>
tilpner: I *do* want to depend on the other inputs, though
ona has quit [(Ping timeout: 255 seconds)]
<TweyII>
I guess I can manually calculate the outputHash?
<Fossi>
tilpner: i start 'wine winecfg' and it says "no sound devices" and crashes with an error about mmdevapi, which seems to be the windows sound api
<Fossi>
google says that is because it can't play sound :)
<Fossi>
i'll try with a current wine nixpkg
<tilpner>
Also consider updating to 17.09
<Fossi>
sure, didn't see earlier that it was out
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<Fossi>
but afaics the .09 releases are a trend ;)
michiel_l has quit [(Ping timeout: 246 seconds)]
michiel_l has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 258 seconds)]
ixxie has joined #nixos
python476 has quit [(Read error: Connection reset by peer)]
cement has joined #nixos
xdelv has joined #nixos
bin7me has joined #nixos
<Fossi>
well... now it compiles wine 2.18. lets see how long that takes and whether it works. should have looked at the configure output when it was scrolling by...
<Fossi>
ah, it's still in the buffer. let's see :D
Neo-- has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
<Fossi>
"checking for pulse/pulseaudio.h... yes" sounds promising
jtojnar has joined #nixos
bin8me has quit [(Ping timeout: 248 seconds)]
<tilpner>
The old one had pulseaudio support enabled too
katyucha has quit [(Quit: leaving)]
<Fossi>
yeah, might not be the only or real problem at hand
Itkovian has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<gchristensen>
I'm seeing on some hosts my nix channel has a file at /nix/var/nix/profiles/per-user/root/channels/nixpkgs/.git-revision, but other hosts don't have this .git-revision file -- anyone know why it may not be there?
pxc has joined #nixos
silver_hook has quit [(Quit: Konversation terminated!)]
silver_hook has joined #nixos
<tilpner>
Do the channel sources differ?
<hodapp>
huh, I am still at stateVersion of 16.09 for some reason
<hodapp>
apparently I never upgraded that to 17.03
<TweyII>
http://lpaste.net/1251184261780733952 — I'm trying to write a function that I can call to convert a string of TOML to a Nix value. We have builtins.fromJSON, so my idea was that all I have to do is convert the TOML to JSON (with remarshal) and then use builtins.readFile to read the result. But I think I'm doing it wrong. I get an error that: mkdir: cannot create directory
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vdVDD
<NixOS_GitHub>
nixpkgs/master 94bea74 Michael Alan Dorman: Fix pkgconfig reference
NixOS_GitHub has left #nixos []
<TweyII>
tilpner: Not least because this seems to chop off all but the top section of my TOML file :-\
<Fossi>
tilpner: it now says winepulse.drv, so that worked. not sure why the old one didn't
<Fossi>
but i'll upgrade to 17.09 soonish anyway
<Fossi>
thanks for the help though
charlycoste has joined #nixos
mortum5 has joined #nixos
<Fossi>
tilpner: ah, actually, something is still fishy... running wine winecfg as a non-root user freezes the gui
<Fossi>
so, maybe something else is still weird
<Fossi>
ah, but the game i wanted to play runs if i start wine as root... well, whatever
<Fossi>
i'll leave the weird problems for later ;)
kuznero has joined #nixos
Fossi has quit [(Quit: Page closed)]
<kuznero>
gchristensen: I have tried downgrading docker to 17.06, but it still does not work. Tested on 2 machines. But then the version of docker on nixos 17.03 was also 17.03, not 17.06. And it does not exist now.
<tilpner>
TweyII - phases = ["buildPhase"]; makes it work, so some other phase tries to do thing. Maybe installPhase?
<gchristensen>
kuznero: I think it would be good to ask in #docker and what-not
<gchristensen>
I'm not sure nixos has anything (special) to do with it
<kuznero>
gchristensen: but before that maybe it makes sense to revive docker 17.03 and try with that perhaps?
<gchristensen>
I suppose you could fetch an old version of nixpkgs and import that, then set the docker package to importedOldNixpkgs.docker_17_03 or whatever
<boxofrox>
i'm trying to write my own package against a private git repo and stuck on creating the sha256 hash for fetchgit. using `nix-prefetch-git <url>` works, but I need the hash for a specific branch. `nix-prefetch-git <url> <rev>` just prints an error message: "Bad commit hash or bad reference."
<boxofrox>
where <rev> is a tag name: v0.0.1
<tilpner>
Private as in not publicly accessible?
<boxofrox>
correct
<tilpner>
Never used it, but there's fetchgitPrivate
<boxofrox>
it's a self-hosted gitlab server on my lan
<gchristensen>
it isn't very friendly or safe in terms of security of the private ssh key
dbmikus has joined #nixos
<boxofrox>
tilpner: fetchgitPrivate doesn't need a hash? or provides a different route for obtaining the hash?
<kuznero>
gchristensen: just tested on 17.03 - works fine. Will try that for now. thanks
<gchristensen>
ok
<gchristensen>
kuznero: can you please ask in #docker why? it isn't a good idea to just carry around an old nixpkgs for this
<tilpner>
boxofrox - Can you just provide e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 as a sha256 for now?
<tilpner>
boxofrox - It will then error and give you the right one c.c
<boxofrox>
tilpner: i'll try that. i left the string empty thinking it would give me the right one.
<kuznero>
gchristensen: will do, I just suspect there are not so many nix guys in #docker
<gchristensen>
kuznero: I think we've established nix has nothing to do with this
<kuznero>
I still need to test nixos 17.09 with docker 17.03 (only tested with 17.06).
<gchristensen>
I thought you did that
jb55 has joined #nixos
<kuznero>
nope, pkgs.docker_17_03 was removed now, there are only 17_06 and 17_09 by now. Will confirm if that combination works and then will try to reach out to #docker folks
<gchristensen>
kuznero: you could fetch an old version of nixpkgs and import that, then set the docker package to importedOldNixpkgs.docker_17_03 or whatever
<kuznero>
gchristensen: will do that. But first need to figure out when it was removed
<gchristensen>
in 17.09
<gchristensen>
just fetch the latest nixos-17.03 channel rev
<kuznero>
ok, thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vdVHe
<NixOS_GitHub>
nixpkgs/master e71a6aa Michael Raskin: badvpn: fix build
<NixOS_GitHub>
nixpkgs/master ef291b5 Michael Raskin: pingus, quirc: fix pkgconfig passing
NixOS_GitHub has left #nixos []
<tilpner>
fetchgit is bad for getting nixpkgs, because git is bad at cloning just a specific rev
<tilpner>
fetchTarball and fetchFromGitHub are better
<gchristensen>
sure, whatever you want :)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] elseym opened pull request #30283: mattermost: create role and db with postgres superuser (release-17.09...fix-mattermost-postgres-user) https://git.io/vdVHm
<tilpner>
copumpkin - It uses fetchzip for shallow, fetchgit for recursive clones
<copumpkin>
oh sorry
<tilpner>
I'm just warning, because at some point fetchgit won't download the usual 12MB, but something around 600MB, and you'll be surprised
TweyII has quit [(Ping timeout: 260 seconds)]
<copumpkin>
you
<copumpkin>
are talking about builtins.fetchTarball
<copumpkin>
my bad :)
<copumpkin>
yeah, I don't like the fetchgit fallback for fetchFromGitHub
<tilpner>
Is there really an alternative?
<copumpkin>
sort of
<tilpner>
Which?
<copumpkin>
parse the submodules, if they're also from github, apply fetchFromGitHub logic recursively
<copumpkin>
if from other things, possibly do similar stuff from gitlab, etc.
<copumpkin>
otherwise maybe fall back to fetchgit logic
<copumpkin>
this would all have to be in the builder rather than the nix, alas
<cocreature>
how do I build all deps of a derivation but not the derivation itself?
Guest12683 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] therealpxc opened pull request #30284: [WIP] fish: always set up the basic Nix env during shell initialization (master...fish) https://git.io/vdVQb
NixOS_GitHub has left #nixos []
<kuznero>
My `sudo systemctl status docker` is filled with `failed to retrieve docker-runc version: unknown output format` messages. Same applies to latest versions. Let's see if it is related somehow
bin7me has quit [(Remote host closed the connection)]
<clever>
copumpkin: i recently looked into submodules and discovered that the rev for a submodule isnt present in the filesystem state
<cocreature>
copumpkin: perfect, thanks!
<clever>
copumpkin: objects in a directory within git, can have a type of file, directory, or commit, it stores a commit hash + dirname directly into the directory
<copumpkin>
how is it not?
<copumpkin>
oh, I see what you mean
<copumpkin>
sure then
<clever>
so you must inspect .git to find the rev
<copumpkin>
ah, so it would need to speak to the github API
<kuznero>
gchristensen: it seems it is nixos changes. nixos 17.09 does with docker 17.03 does not work still
peacememories has joined #nixos
twey1 has joined #nixos
Guest12683 has quit [(Ping timeout: 248 seconds)]
<tilpner>
copumpkin - Oh. Nice! Sort of ugly, but might just work. Not sure it's worth the effort though
<copumpkin>
probably not :)
<copumpkin>
although I do have a few cases where I manually plumb together fetchFromGitHub calls
peacememories has quit [(Client Quit)]
python476 has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
<kuznero>
gchristensen: I will check one other thing - older rabbitmq image
twey1 has quit [(Ping timeout: 240 seconds)]
<sphalerite>
gchristensen: love is-nix-up-to-date! (although the name could be catchier 😉)
twey1 has joined #nixos
<tilpner>
sphalerite - What is that?
<sphalerite>
gchristensen: I personally usually use `while sleep n; do stuff; done` rather than `while true ; do stuff ; sleep n; done`. In the case of your script I suppose it doesn't really make a difference since you've got set -e
<sphalerite>
That way you don't even need to hit your API :)
<gchristensen>
sorry, the problem is on the local machine, with nixpkgs-unstable /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixpkgs/.git-revision doesn't exist, but with nixos-* /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixpkgs/.git-revision does exist
<gchristensen>
(the exact path isn't important, but the .git-revision file existing in the channel checkout is important, and it doesn't exist on nixpkgs channels)
ertes-w has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko opened pull request #30286: desktop-managers: do not leak feh to PATH (master...patch-2) https://git.io/vdVbm
<tester123>
If usually in a `mkDerivation` script we have `src = fetchgit { url = …; rev = …; sha256 = … };`, howe do we make it so that nix doesn't manually fetch anything? Like if you want to manually clone a GitHub repo on your machine and put a `make.nix` file at the top level. Is it as simple as `src = .`?
arjen-jonathan has quit [(Ping timeout: 260 seconds)]
sigmundv has quit [(Ping timeout: 255 seconds)]
<clever>
tester123: src = ./.;
civodul has joined #nixos
<tester123>
clever: How do I then run that build script from the top level?
<tester123>
`nix-build make.nix`?
<tester123>
Bleh that doesn't work. My `make.nix` is structured as a function so needs arguments.
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdVpn
<NixOS_GitHub>
nixpkgs/master f4c9d51 Vladimír Čunát: tiptop: bugfix 2.3 -> 2.3.1
NixOS_GitHub has left #nixos []
<tester123>
Can someone tell me how I would call this from the top level using nix-build, supplying the necessary arguments?
ShalokShalom_ has joined #nixos
digitus has joined #nixos
charlycoste has quit [(Quit: Leaving.)]
erictapen has quit [(Ping timeout: 246 seconds)]
<shlevy>
Anyone ever seen "foo | grep -q bar" fail while "foo | grep bar > /dev/null" succeeds?
<shlevy>
I can only replicate it inside the nix build, outside of it it works fine :/
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vdVhC
<NixOS_GitHub>
nixpkgs/master 7a946f0 Vladimír Čunát: libav_12: maintenance 12.1 -> 12.2
NixOS_GitHub has left #nixos []
ShalokShalom has quit [(Ping timeout: 264 seconds)]
<Dezgeg>
maybe something related to SIGPIPE?
eacameron has quit [(Read error: Connection reset by peer)]
<shlevy>
wtf it's only when it's in a pipeline
eacameron has joined #nixos
<shlevy>
Aaah
<shlevy>
Right
<shlevy>
Thanks
<shlevy>
stupid
<boxofrox>
tester123: not sure if this helps with nix-build. I created an overlay per the manual which includes a top-level default.nix that provides the necessary arguments to the package file. https://nixos.org/nixpkgs/manual/#sec-overlays-definition
arjen-jonathan has joined #nixos
<boxofrox>
tester123: i've been using `nix-shell -I "nixpkgs-overlays=<path/to/overlay>" -p <package>.nix` to build... though I haven't gotten it working completely. Having trouble with self-signed SSL on my git server.
ShalokShalom_ is now known as ShalokShalom
<tilpner>
tester123 - Easiest solution is to prepend "with import <nixpkgs> {};" and remove the pkgs argument
<tilpner>
tester123 - If you want to keep it that way, use: nix-build -E '(import <nixpkgs> {}).callPackage ./make.nix {}'
pxc has quit [(Ping timeout: 260 seconds)]
__Sander__ has quit [(Quit: Konversation terminated!)]
goibhniu has quit [(Ping timeout: 240 seconds)]
roi_du_silence has joined #nixos
ThatDocsLady has joined #nixos
<ixxie>
tester123: I imagine nix-build uses your default channel but I may be mistaken
<ixxie>
oops
<tilpner>
boxofrox - Why not set NIX_PATH globally? And use LetsEncrypt...
<boxofrox>
tilpner: i didn't understand that nix.nixPath affected nix-shell. I set nixpkgs.overlays instead which had no affect, and found that -I worked.
pie_ has joined #nixos
dbmikus has quit [(Quit: WeeChat 1.9.1)]
<tilpner>
boxofrox - That's for NixOS. If you're on something else you'll probably have to edit some shell init file
<boxofrox>
tilpner: as for letsencrypt, i'm reading up on that now
<pstn>
tilpner: I've even put it in our repos, but never got around to use it for nginx acme and other acme applications...
sigmundv has joined #nixos
<tilpner>
pstn - Using something else?
<boxofrox>
tilpner: thanks for the link. what did you mean by "over certbot"? i'm using a docker image for gitlab, which doesn't have letsencrypt baked in. most of what I'm reading suggests setting up a letencrypt+proxy container in front.
<hyper_ch>
so, installed nixos on a notebook with intel and nvidia card and actually set it to autostart sddm.... however, it just boots into shell and no xserver
<tilpner>
boxofrox - certbot is the most popular LE client, but it was quite big and had some problems when I first used it. Maybe it's improved since, but dehydrated never gave me any problems and is very small
<boxofrox>
tilpner: ah, over = instead. gotcha
<hyper_ch>
hmmm: nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
<tilpner>
boxofrox - I'm currently using nginx+dehydrated on one server, and traefik on another. Both are working well, traefik is a little more magic. Prefer the solution you're already partly familiar with
MichaelRaskin has joined #nixos
<pstn>
Me too but it would be nice to have it properly supported in nixos.
MinceR has quit [(Ping timeout: 260 seconds)]
MinceR_ has joined #nixos
jgertm has joined #nixos
jgertm has quit [(Client Quit)]
jgertm has joined #nixos
<jgertm>
is there a way to build GHC with libdwarf?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy opened pull request #30290: Break all-cabal-hashes into case-insensitive-safe components. (master...all-cabal-hashes-components) https://git.io/vdwfV
NixOS_GitHub has left #nixos []
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nschoe has quit [(Quit: Program. Terminated.)]
arjen-jonathan has quit [(Ping timeout: 240 seconds)]
MinceR_ is now known as MinceR
phreedom has quit [(Ping timeout: 255 seconds)]
ixxie has quit [(Ping timeout: 248 seconds)]
<edef>
copumpkin: TIL we hung out on #bitcoin-dev concurrently in like, 2011
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vdwJ2
<codedmart>
I am not using nixos but just nix as a package manager.
johnw_ is now known as johnw
eacameron has quit [(Remote host closed the connection)]
johnw has quit [(Changing host)]
johnw has joined #nixos
rsa has quit [(Quit: leaving)]
pxc has joined #nixos
mudri has joined #nixos
<CrazedProgrammer>
you shouldn't be fetching sources in the build phase. as a quick workaround you could add `buildInputs = with pkgs; [ git ];` but you should really be using fetchFromGit(Hub)
<twey1>
hyper_ch: Reinstall it — you've switched GL implementations, which is impure
<hyper_ch>
twey1: reinstall what?
<twey1>
hyper_ch: The screen locker
<hyper_ch>
how to reinstall it?
<twey1>
hyper_ch: I don't know what you use, but I just ‘nix-env -e xscreensaver; nix-env -i xscreensaver’ and this fixes ‘libGL missing symbol’ issues
<hyper_ch>
twey1: sddm - and whatever comes with it
jensens has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor pushed 1 new commit to master: https://git.io/vdwL1
<gerschtli1>
but I#m getting now a "PHP Warning: PHP Startup: Unable to load dynamic library /nix/store/.../couchbase.so .. undefined symbol: igbinary_unserialize in Unknown on line 0"
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] efx opened pull request #30292: bump modsecurity, allow compiling on macOS (master...topic-modsecurity-update) https://git.io/vdwtp
NixOS_GitHub has left #nixos []
rsa has joined #nixos
<gerschtli1>
is anyone in here who has some experience with php extensions or gnu autotools?
musicmatze_ has joined #nixos
zarel has joined #nixos
<musicmatze>
Good evening
<musicmatze>
can someone help me with container networking?
<musicmatze>
I'm trying to run a ZNC instance in a container on port 5000 and I want to connect through the host system...
<musicmatze>
inside the container, the port is open (due to nmap)
roi_du_silence has quit [(Ping timeout: 248 seconds)]
k2s has quit [(Client Quit)]
shymega has joined #nixos
arjen-jonathan has joined #nixos
mudri has joined #nixos
MichaelRaskin has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vdwOP
<NixOS_GitHub>
nixpkgs/master aeeac71 elseym: mattermost: create role and db with postgres superuser...
NixOS_GitHub has left #nixos []
JosW has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Gerschtli opened pull request #30293: php couchbase: remove warnings on php startup (master...fix/php-couchbase) https://git.io/vdw3m
NixOS_GitHub has left #nixos []
<infinisil>
Ummm, what the fuck. The ip of my DO droplet was somehow blocked from downloading from youtube with youtube-dl (429: Too Many Requests). So I went through all the trouble to get a new droplet with a new ip, I tested whether download works with the preinstalled debian, installed all of my nixos config on it
<infinisil>
And now I get 429's again...
tesufiue has joined #nixos
<Ralith>
what're the rules for managing system.stateVersion?
<gchristensen>
in general: don't touch it
tesufiue has quit [(Client Quit)]
<Ralith>
ever?
<Ralith>
there's no concern about things breaking in five years because it's too old?
<infinisil>
If you're looking for trouble, then you may change it
<infinisil>
that means some network setting in nixos makes this happen, which means i don't need a new droplet after all
<hyper_ch>
infinisil: debian works great :)
musicmatze_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<hyper_ch>
but what didn't work for you?
musicmatze_ has joined #nixos
<infinisil>
youtube-dl can't download from youtube on nixos.. gives me a 429: Too many requests. With the same ip (and the it should be the same network config) on debian it works..
<infinisil>
really weird
<Dezgeg>
is it the same version?
<infinisil>
Ah yeah I could check that
<infinisil>
Well, the same youtube-dl version on my local machine works..
<Dezgeg>
you could install nix on debian and the same version to rule that out :P
<infinisil>
Ah yes, I'll try that
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vdwn4
<NixOS_GitHub>
nixpkgs/staging e9a1663 Vladimír Čunát: mesa: don't build "svga" gallium driver on ARM...
NixOS_GitHub has left #nixos []
gerschtli has joined #nixos
musicmatze_ has quit [(Remote host closed the connection)]
<hyper_ch>
I have youtube-dl on my home server which runs debian :)
musicmatze_ has joined #nixos
<infinisil>
The debian version is about 5 months older than the nixos version
<argo>
Is there a way to dynamically edit /etc/hosts on nixOS? I've been using vagrant-hostsupdater to add/remove entries on startup/shutdown of VMs using vagrant. I'd like to add/remove nfs shares dynamically, too. But on nixOS etc/hosts and etc/nfs.conf are static/read-only. Any idea how to do this the right way (TM)?
<hyper_ch>
argo: adding some addserver and point them to 127.0.0.1?
<infinisil>
yeah, thanks, i guess it's something with the network instead
stanibanani has joined #nixos
musicmatze_ has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
musicmatze_ has joined #nixos
johnw has quit [(Ping timeout: 240 seconds)]
pukkamustard has quit [(Quit: Page closed)]
johnw has joined #nixos
musicmatze_ has quit [(Client Quit)]
<argo>
hyper_ch: I'm using vagrant for development and add hosts entries automatically on "vagrant up". And I use nfs to share my project directories with the VM. I added your settings to environment.conf, works perfectly.
musicmatze_ has joined #nixos
MichaelRaskin has joined #nixos
musicmatze_ has quit [(Remote host closed the connection)]
<Alling>
Yo guys! Trying to make my RPi not write logs to the SD card. Instead I would like the logs on a tmpfs and copy them to an external disk with a cron job.
<Alling>
However, /var/log is straight up empty. Where are my logs?
<argo>
hyper_ch: Nice, I'm using LEDE on my router and let it do the filtering. But this is useful on a laptop
<hyper_ch>
there's very likely more lists out there :)
paraseba has quit [(Remote host closed the connection)]
<hodapp>
gack, why do I get "error: attribute ‘ess-R-object-popup’ missing, at /nix/store/mibgyqq0292n8rn8fayk6w8v2zf5x1hz-nixos-17.09.1547.2231575a7d/nixos/pkgs/applications/editors/emacs-modes/melpa-packages.nix:76:28"
<hodapp>
when doing: nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.melpaPackages
musicmatze has quit [(Quit: WeeChat 0.4.3)]
musicmatze_ is now known as musicmatze
musicmatze has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
mudri has quit [(Ping timeout: 255 seconds)]
musicmatze has joined #nixos
musicmatze has quit [(Remote host closed the connection)]
hhomar has joined #nixos
musicmatze has joined #nixos
truh has quit [(Ping timeout: 255 seconds)]
mudri has joined #nixos
<efx>
what is the simplest way to provide a group of derivations for users to install using nix-env? I like the approach of this link but am somewhat confused on how to do this while pointing to a master branch of nixpkgs repo (https://nixos.org/nixpkgs/manual/#sec-declarative-package-management)
<efx>
so I figured i can just write a nix expression that is a subset of top-level.nix, but wondered if there is a cleaner / easier way
Guest95219 has quit [(Quit: Lost terminal)]
pSub has quit [(Remote host closed the connection)]
<ixxie>
efx: maybe you can make your own nix channel
<efx>
that looked promising, but it seems like I have to tarball a file or something. At this stage, i wanted to do something soley based of a public github URL
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
<efx>
ixxie: do you know of any simple channel templates? (i'm quite new to nix, and working mainly on packaging in macOS so clear distilled examples really help me see whats going on)
<LnL>
that's a config.nix the overrides will get applied for any nixpkgs you import
<freeman42x>
what do I need to place in the NixOS main configuration to install GHC globally using that... oh, nvm
<freeman42x>
I am stupid
Isorkin has quit [(Ping timeout: 240 seconds)]
mudri has quit [(Ping timeout: 255 seconds)]
<ixxie>
efx: I've never done that sort of thing but I just vaguely recall its possible. It may not be the best approach in your case, others probably know better
<efx>
gotcha, thanks for the tip. Overall the channel sounds like a clearer approach though.
pSub has quit [(Ping timeout: 248 seconds)]
<efx>
LnL: I see, that is more user preference approach.
<efx>
i'm bundling packages programmatically so use case is a bit different. I don't want to modify the users' nix config
pSub has joined #nixos
pSub has quit [(Changing host)]
pSub has joined #nixos
paraseba_ has joined #nixos
musicmatze has quit [(Remote host closed the connection)]
musicmatze has joined #nixos
paraseba_ is now known as paraseba
Isorkin has joined #nixos
<LnL>
overlays is a similar alternative users can enable multiple of those by putting a bunch of files in the overlays directory
mudri has joined #nixos
phreedom has joined #nixos
ixxie has quit [(Quit: Lost terminal)]
schoppenhauer has quit [(Ping timeout: 255 seconds)]
arjen-jonathan has joined #nixos
chakerbenhamed has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yegortimoshenko opened pull request #30297: unbound: fix typo in systemd Before (master...patch-4) https://git.io/vdwgg
NixOS_GitHub has left #nixos []
schoppenhauer has joined #nixos
<asdfoiawe>
Hi, Im currently doing my first "real" nixos installation (outside an vm), on a system with gentoo and windows 7 already installed.
<asdfoiawe>
I created a FAT32 partition and a ext4 root partition with gparted and mounted the root partition to /mnt and the fat32 partition to /mnt/boot.
<asdfoiawe>
I didnt change the boot.loader.* variables after nixos-generate-config and nixos-install fails complaining about /boot having the wrong type for an EFI system partition.
<asdfoiawe>
iirc only one efi partition is needed per computer (mounted to /boot/efi on my gentoo), do I have to create something similar on my nixos or is /boot just a partition for the installed kernels (like on my gentoo) and I got confused by the error message?
<asdfoiawe>
I actually dont remember if I installed WIndows first or not (I did it 2 years ago), but it worked for me so far.
<asdfoiawe>
What does nix store on /boot? Just kernels and its own grub?
<MichaelRaskin>
In EFI case? GRUB2 or gummiboot. kernels, initramfs images.
<shanemikel>
If possible, it's best just to use separate HDs
<shanemikel>
that's the cleanest solution... resizing partitions is scary :o
<MichaelRaskin>
It is only scary if you don't have backups.
<asdfoiawe>
The resizing is done, only needed to touch my windows partition which doesnt contain any important data
<MichaelRaskin>
But with modern storage device quality, not having backups should be scary in any case!
nikola_ has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin>
Yeah, usually, if you ask Windows to resize Windows partitions, it continues to boot.
<asdfoiawe>
Well, I used gparted, Ill see if it boots ^^
<shanemikel>
I had a dual-boot with OSX and Ubuntu on a Macbook... It worked for a while... it decided to fry the part table during an update
<pxc>
shanemikel: what did?
<shanemikel>
osx
<pxc>
rude
<pxc>
of osx, I mean
<asdfoiawe>
Ahh, I resolved my issue from my original question: I forgot the boot flag on nixos' boot partition
<MichaelRaskin>
Boot flag? I thought EFI implies GPT, so it is more «partition type EF00»
<asdfoiawe>
It does, but that resolved my nixos error message, the manual doesnt say anything about a efi system partition though :/
acarrico has quit [(Ping timeout: 240 seconds)]
<asdfoiawe>
And I'm no uefi expert
sigmundv has quit [(Ping timeout: 258 seconds)]
<asdfoiawe>
If anyone is running an uefi-nixos-setup: How did you set up your partition layout?
Thra11 has joined #nixos
<infinisil>
i am doing tha
<infinisil>
t
tester123 has quit [(Quit: Page closed)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin opened pull request #30299: xcbuild: add SDKROOT by default to the wrappers (master...xcbuild-sdk) https://git.io/vdwr2
NixOS_GitHub has left #nixos []
<infinisil>
I just have a partition of 1GB with type EF00 (EFI System), and boot.loader.grub.device = "nodev", which will prevent grub trying to install into a BIOS partition of which i have none
dywedir has quit [(Remote host closed the connection)]
griff_ has joined #nixos
<asdfoiawe>
Another newbie question: Why do some packages from the nixpkgs git repo not show up in https://nixos.org/nixos/packages.html nor nixos itself?
<asdfoiawe>
For example spotify which seems to exist in the repo for a few years
<LnL>
most likely because they are unfree
<LnL>
pretty sure non linux packages won't show up there either
sigmundv has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
<asdfoiawe>
Sounds reasonable, the nvidia drivers don't show up there either
dieggsy` has joined #nixos
dieggsy has quit [(Ping timeout: 246 seconds)]
griff_ has quit [(Ping timeout: 248 seconds)]
griff__ has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
fragamus has joined #nixos
griff_ has joined #nixos
griff__ has quit [(Ping timeout: 240 seconds)]
dieggsy` has quit [(Quit: ERC (IRC client for Emacs 27.0.50))]