laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<bhipple[m]>
I'm also wondering if there's a reason not to use the rec attribute set (urlPrefix and url have some duplication that could be reduced). Is it just because some of hte initial examples are many years old and it's copy+paste or is there a concrete reason (evaluator slowness, maybe?)
justanotheruser has quit [(Ping timeout: 250 seconds)]
<bhipple[m]>
Do you happen to know if there's a stable URL for Centos 7.4? I have a working NixPkg for Centos 7.4 too, but since it's on http://mirror.centos.org and not the vault the URL will disappear as soon as the next revision comes out
<gchristensen>
no idea, sorry
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
dan_b_ has quit [(Ping timeout: 264 seconds)]
ris has quit [(Ping timeout: 248 seconds)]
dan_b_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
mandrews has joined #nixos
<mandrews>
Hey all, what's the deal with the wiki? I haven't been able to reach nixos.wiki for some time.
<disasm>
dhess`: I'm pulling containers from docker hub on nixos, no issues. I have plexpass and samba-ad running in docker just fine.
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
mrkgnao has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
hamishmack has quit [(Client Quit)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Oida has quit [(Ping timeout: 248 seconds)]
Oida has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<MichaelRaskin>
bhipple: re: stable URL: if you can predict the future stable URL, you can pass urls= to fetchurl, it will try both options. If I understand correctly that you fetch an ISO, checking for a 404 is fast compared to the actual download.
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
mizu_no_oto has joined #nixos
drakonis has quit [(Ping timeout: 240 seconds)]
marusich has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justanotheruser has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
srdqty has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
srdqty has quit [(Client Quit)]
srdqty has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hamishmack has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Wharncliffe has quit [(Quit: Lost terminal)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hamishmack has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
jb55 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vFAnA
<NixOS_GitHub>
nixpkgs/staging 98ff9fc Jan Tojnar: libxml2: 2.9.5 → 2.9.7
laggy_wifi has quit [(Read error: Connection reset by peer)]
miko__ has quit [(Ping timeout: 250 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] yrashk opened pull request #31959: gdbgui: init at 0.9.0.1 (master...gdbgui) https://git.io/vFAlA
NixOS_GitHub has left #nixos []
laggy_wifi_ has joined #nixos
MP2E has joined #nixos
reinzelmann has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justan0theruser has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justanotheruser has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
justbeingglad has joined #nixos
laggy_wifi_ has joined #nixos
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
freusque has joined #nixos
<adamt>
I want to install riot-web, but have to add a configuration file to the root of riot (the package). How would I do that?
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<adamt>
Do I make a new package that somehow inherits everything from riot, and then add the file somehow, or can i do it with a package override somehow?
hamishmack has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
justbeingglad has left #nixos []
orivej has quit [(Ping timeout: 248 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
adamt_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor closed pull request #27344: Gnuradio: Enable Darwin Support (master...gnuradio-update) https://git.io/vQSNo
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
hotfuzz_ has joined #nixos
periklis has joined #nixos
zzamboni has joined #nixos
hotfuzz has quit [(Ping timeout: 260 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
ansero1234 has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
adamt_ is now known as adamt
reinzelmann has quit [(Quit: Leaving)]
<tilpner>
adamt - Yes, you could do that in postInstall from an overrideAttrs
laggy_wifi_ has quit [(Remote host closed the connection)]
<adamt>
tilpner: What if the package itself gets a postInstall definition? Won't mine override that of the package?
<adamt>
(say, in a future update)
<tilpner>
adamt - You can append to it, if necessary
laggy_wifi_ has joined #nixos
<tilpner>
taaperotassu - In case you're still wondering, that package was only added 28 days ago. I'm not entirely sure which channel the package search displays (could be 17.09 or unstable), but kitty hasn't made it to the 17.09 channel yet, only unstable
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
BioSpider has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
ertes has quit [(Ping timeout: 268 seconds)]
ansero1234 has quit [(Remote host closed the connection)]
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
orivej has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
phreedom has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Tucky has joined #nixos
hotfuzz_ has quit [(Quit: WeeChat 1.9.1)]
hotfuzz has joined #nixos
zzamboni has quit [(Ping timeout: 250 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<adamt>
tilpner: It doesn't look like postInstall is even run. I even added a postInstall step to the package directly (i don't use channels but a local clone of nixpkgs) to test, and that wasn't run either. riot-web overrides installPhase, can that be the reason that the postInstall hook doesn't seem to run?
<tilpner>
And config.sample.json still exists in the output? I'm not all that familiar with the phases, it could be the reason, but I can't check right now
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<adamt>
tilpner: Yeah, config.sample.json still exists, and config.json doesn't. Hmm
<adamt>
Maybe i should map /config.json (in nginx) to a specific file in the nix store containing the config. :P
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub pushed 2 new commits to master: https://git.io/vFAzg
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<srhb>
adamt: Looks like riot-web defines installPhase without runHook postInstall
laggy_wifi_ has quit [(Remote host closed the connection)]
<adamt>
srhb: I thought the runHook was somehow provided by mkDerivation, and not required to run manually from the installPhase. Sounds like i'll stick with this ugly solution for now. :-)
laggy_wifi_ has joined #nixos
<srhb>
adamt: I don't think it's that bad to be honest. Alternatively, as it looks like you're providing a *configured* version of riot-web. you might want to simply create a second derivation that uses riot-web as its buildInput
<srhb>
adamt: (You can avoid duplication by just symlinking into riot-web)
<srhb>
That way it becomes a sort of overlay package.
<srhb>
But yeah, it's fine really :)
<adamt>
srhb: I have no idea how to do that. Also, you should be enjoying your holiday.
<srhb>
I am! Didn't even get out of bed yet. :-P
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Cheng has joined #nixos
IRCNickname has quit [(Ping timeout: 248 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
thc202 has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<Cheng>
How do I use NIX_CURL_FLAGS? I tried "env NIX_CURL_FLAGS=--invalid-flag nixos-rebuild switch". Although passing an invalid flag, curl still seemed to run
kkini has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<adamt>
srhb: Yeah, that's prettier.
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
spietz has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
MP2E has quit [(Remote host closed the connection)]
ChongLi has joined #nixos
ChongLi_ has quit [(Read error: Connection reset by peer)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
periklis has quit [(Ping timeout: 248 seconds)]
drever has joined #nixos
<pcarrier>
I don't seem to have a tty
laggy_wifi_ has quit [(Remote host closed the connection)]
<pcarrier>
when I turn on sddm
laggy_wifi_ has joined #nixos
<srhb>
pcarrier: As in, they're just blank?
<pcarrier>
srhb: as in, I can't switch to them with ctrl-alt-Fkeys
<pcarrier>
oooh f-lock on this laptop so sorry I realized as soon as I wrote it
<srhb>
:P
orbekk has quit [(Quit: WeeChat 1.9.1)]
drever has quit [(Client Quit)]
drever has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<drever>
hi, i want to install the matlab runtime on nixos. for this the java binaries have to be patched. The nixos wiki on patching binaries tells me to use patchelf with the variable $NIX_CC. However, this variable is not set on my system (17.09 in a VM). Where should the variable $NIX_CC come from?
whald has joined #nixos
ssmike has joined #nixos
ssmike has quit [(Remote host closed the connection)]
<fearlessKim[m]>
I would like to set services.strongswan.secrets from the REPL to debug a pb, how can I do that ?
<manveru>
drever: that variable is set inside of a mkDerivation
<srhb>
Specifically by stdenv.cc iirc
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<tommyangelo>
does anyone know what to do when the sshd service failed to restart with `bad SSH2 mac spec`?
laggy_wifi_ has quit [(Remote host closed the connection)]
<srhb>
tommyangelo: Guess you'll have to rollback through a remote console.
<Rovanion>
Hi! Is anyone using way-cooler and knows how to start it? Trying to start it it just barfs out my environment variables and then dies without an error message.
laggy_wifi_ has joined #nixos
<srhb>
Rovanion: It's marked as broken in unstable, so presumably it cannot start.
<Rovanion>
srhb: Where do you see that?
roconnor has joined #nixos
<srhb>
Rovanion: In pkgs/applications/window-managers/way-cooler/default.nix
<srhb>
Rovanion: It should have failed to install entirely with a message for you, unless you have allowBroken = true;
<Rovanion>
I think. lsb_release -a doesn't seem to be a thing.
<srhb>
Rovanion: Indeed, it is not marked as broken in 17.09
zzamboni has joined #nixos
pie__ has joined #nixos
roconnor_ has quit [(Ping timeout: 260 seconds)]
<tommyangelo>
srhb: damn, I can't get over how easy nix makes this stuff. `nixos-rebuild switch --rollback` on the host, then nixops deploy on my laptop. Done. Thanks for the help!
<srhb>
tommyangelo: You're welcome. :)
dan_b_ has joined #nixos
oahong has quit [(Ping timeout: 240 seconds)]
drever has quit [(Ping timeout: 260 seconds)]
<rsa>
modified xkeyboardconfig to add one file to xkb/symbols, now recompiling everyting depending on X >.<
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
jensens has joined #nixos
ThatDocsLady_ has joined #nixos
<srhb>
rsa: Yeah, there's no pretty way to do that.
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
Neo-- has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
<srhb>
adamt: I took a look at the ES datadir. It doesn't seem related to the disk layout at all, and it looks like we could just throw all the disks in extraConf.
<srhb>
adamt: We could also parameterize this properly with types.listOf types.path or something, of course.
<srhb>
(And have it default to whatever the default path is for ES anyway, I suppose)
drever_ has quit [(Ping timeout: 240 seconds)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
asuryawanshi has joined #nixos
<adamt>
srhb: Ah. That's great. We might need to do quite some work to bump it to Elasic v6 anyways (current package does funny classpath stuff, among others, and god knows what might have changed in those parts..), so expanding the module will be piece of cake in comparison. I think.
<srhb>
adamt: Oh, really. I haven't looked at the actual package yet, just the module, and that looks just fine and easy to extend :)
<srhb>
Sounds fun!
<srhb>
For some value of fun...
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
Cheng has quit [(Quit: Leaving)]
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
roberth has quit [(Ping timeout: 240 seconds)]
<srhb>
adamt: ES 2.4 will be deprecated by March 2018, so we might want to delay a bit on the module. :-)
<adamt>
srhb: Or we can just do the work now, and not submit it until later. :P
<srhb>
adamt: Overachiever. Fine! ;-)
mrkgnao has quit [(Ping timeout: 248 seconds)]
<srhb>
Actually, 18.03 is after the deprecation, so it might be fine to throw it in unstable soonish
<srhb>
adamt: We should probably aim for a few 18.03 milestones :)
laggy_wifi_ has quit [(Remote host closed the connection)]
<adamt>
srhb: I'm not an overachiever, I'm just lazy
laggy_wifi_ has joined #nixos
<srhb>
\o/
zzamboni has quit [(Quit: Leaving.)]
<fearlessKim[m]>
config.networking.networkmanager.basePackages ? pkgs.networkmanager_l2tp returns false but l2tp should be true ( i want to check if l2tp is in the set) ?
<Rovanion>
So has anyone tried sway on nixos 17.09? I've never used a wayland WM before but am sort of guessing that you don't have to start something like xorg before starting the WM in wayland-land, or am I wrong? When trying to start sway from the terminal I get the error: Not running from X11 and no access to /dev/input/event0 or logind unavailable. logind.service doesn't seem to be a thing on my machine though.
amfl has quit [(Read error: Connection reset by peer)]
<pcarrier>
can I specify the kernel version in configuration.nix easily? I'm not 100% sure but I suspect 4.9.61 -> 4.9.63 broke my wifi
amfl has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
<srhb>
pcarrier: Yes, boot.kernelPackages
laggy_wifi_ has joined #nixos
<srhb>
pcarrier: However, you probably do not have 4.9.61 in your nixpkgs unless you roll back to an earlier version.
Wizek has joined #nixos
<pcarrier>
I'm game for doing that
<pcarrier>
how would I do that? :D
davidak has joined #nixos
proteusguy has joined #nixos
<pcarrier>
the rollback interface is a bit annoying
<pcarrier>
I never know how to look at which gens exist
zzamboni has joined #nixos
<srhb>
pcarrier: I think the easier solution is to point nixos-rebuild at a checkout at the commit you're after
<srhb>
pcarrier: With -Inixpkgs=/path/to/checkout
<pcarrier>
wow that worked
<pcarrier>
nix-channel --rollback, now back to .61, and I have wifi again
<srhb>
pcarrier: Interesting :)
<pcarrier>
OK so it sounds like I want to freeze all my system in one git repo
<pcarrier>
nix-home, system-wide config, versions of the various repos
<adamt>
pcarrier: Or pull in a vastly newer kernel and see if that fixes the issue as well
<pcarrier>
can I do that and still leverage the binary cache?
<srhb>
pcarrier: Only for as long as those versions are in the cache of course.
<srhb>
pcarrier: Personally I just roll forward over most issues, or override specifics.
<srhb>
pcarrier: Like for instance linuxPackages_4_9 in your case
<pcarrier>
so I like my system to be stable :D
laggy_wifi_ has quit [(Remote host closed the connection)]
sibi_ has joined #nixos
<srhb>
Well, then you don't need binary caches, it never changes! ;-)
whald has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
<pcarrier>
yeah that's not a bad point, I just wonder how to design that thing at this point ;)
<srhb>
pcarrier: What I'd do in your case is pull in linuxPackages_4_9 from that older version of nixpkgs.
<srhb>
pcarrier: And leave everything else as upstream has it.
zzamboni has joined #nixos
dywedir has joined #nixos
<fearlessKim[m]>
ok found out how to load config from REPL and why it returned false \o/
laggy_wifi_ has quit [(Remote host closed the connection)]
<pcarrier>
srhb: could you point me to how such a thing can be done?
<srhb>
pcarrier: That's a completely arbitrary revision, so change it!
<srhb>
pcarrier: Just random snippets from my examples :)
oida has joined #nixos
zzamboni has quit [(Ping timeout: 246 seconds)]
zzamboni has joined #nixos
laggy_wifi_ has quit [(Remote host closed the connection)]
laggy_wifi_ has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
fendor has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<dan_b>
ok, this is a pretty random question, but is there a tool for indenting/code-formatting nix files?
<dan_b>
I'm used to having emacs do that, but whatever I'm using for nix mode doesn't support "pressing tab does the right thing"
zzamboni has quit [(Ping timeout: 246 seconds)]
FRidh has joined #nixos
fendor has joined #nixos
zzamboni has joined #nixos
adamt_ has joined #nixos
bkchr has joined #nixos
adamt has quit [(Ping timeout: 250 seconds)]
cfricke has joined #nixos
<bkchr>
Hi, I got a question regarding nixops. Is it possible to simulate a network with nixops? I want something like PC1 <--> Router <--> PC2
Isorkin has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
laggy_wifi_ has quit [(Quit: Konversation terminated!)]
zzamboni has joined #nixos
iyzsong has joined #nixos
roberth has joined #nixos
erictapen has joined #nixos
wzy8L-B2[m] has joined #nixos
zzamboni has quit [(Ping timeout: 255 seconds)]
metaphysician has quit [(Ping timeout: 255 seconds)]
metaphysician has joined #nixos
mrkgnao has joined #nixos
<aminechikhaoui>
bkchr: that's probably better to do with nixos tests
<gchristensen>
srhb: ping
<srhb>
adamt_: Upgrading to es6 was a piece of cake, no patches needed for basic functionality. The startup script has actually become more sane and more portable(!)
<srhb>
gchristensen: pong
<srhb>
adamt_: The NixOS e+l+k test actually passes with minimal effort.
<the-kenny>
Anyone else having problems with rustChannels using the nixpkgs-rust-overlay by mozilla? I use http://p.tarn-vedra.de/rust-shell.nix.html as a shell.nix for my rust development, and it started failing with "/nix/store/izkijl7w7qkjdfr09qk43v1n3bnbdnvm-stdenv/setup: ./install.sh: /bin/bash: bad interpreter: No such file or directory" today
<srhb>
gchristensen: I do not!
zzamboni has quit [(Quit: Leaving.)]
<gchristensen>
1. make sure you've reviewed the code before you trigger it on a PR that isn't your own
zzamboni has joined #nixos
<gchristensen>
2. be gentle, preferably don't run mass rebuilds / massive builds like chromium on it
<bkchr>
called without required argument ‘withFirewall’
<makefu>
bkchr: it seems that the build will not be called directly with the build but via make-test
<bkchr>
makefu: nix-build login.nix but that works for example
<makefu>
mhhhh, maybe quickly hard-coding true or false
<bkchr>
okay :)
<makefu>
is the test run by the channels?
BioSpider has quit [(Quit: Going offline, see ya! (www.adiirc.com))]
<bkchr>
Sorry, don't know
<makefu>
it seems like this, but to run the test release.nix is using 'callTest tests/nat.nix { withFirewall = false; };'
<bkchr>
yeah, I saw that
iyzsong has quit [(Read error: Connection reset by peer)]
iyzsong has joined #nixos
<dan_b_>
hmm. I wrote a derivation which depends on pkgs.qemu and it seems to be rebuilding the entire universe
<srhb>
grahamc: Don't worry about the rss-glx thing, I hadn't noticed it was broken. I was just trying to spot check dependents on imagemagick (it's hard to cover them all on a laptop though!)
<srhb>
Er, gchristensen ^
<dan_b_>
is hydra stuck? (how do I tell if hydra is stuck?)
<gchristensen>
srhb: no worries hehe your PR was just a recently opened PR that I'm testing on :$
<gchristensen>
heads up y'all: @grahamcofborg can take another command, "eval", to re-trigger evals. editing a PR description will no longer trigger a new eval check. please see: https://github.com/grahamc/ofborg#commands
<bkchr>
makefu: can you maybe help at another question. Do you know any way to copy a program into a machine that is created by a test? :D
<makefu>
i think you need to update the build expression for the test machine
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vFAhq
<NixOS_GitHub>
nixpkgs/master fcec492 Yurii Rashkovskii: gdbgui: init at 0.9.0.1...
<bkchr>
makefu: yeah, I would like to build something on my host and push that into the machine ^^
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<makefu>
mhhh not sure if this is currently supported
<bkchr>
okay
<makefu>
you could have it built by the virtual server and tested inside there
ma27 has joined #nixos
<makefu>
that is at least how all the other tests work
<bkchr>
I'm thinking of integrating the nix test stuff into a project of mine
<bkchr>
And would like to do my ci tests with it
<bkchr>
So it would be nice, that I could copy some stuff into the machine
<makefu>
bkchr: mhhh maybe you could create a nix expression which actually does the build and then use the derivation to test
<makefu>
or create a derivation which would fetch the finished build
<bkchr>
hmm
<bkchr>
Yeah, I will need to think about that
reinzelmann has quit [(Quit: Leaving)]
Wizek_ has joined #nixos
mrkgnao has quit [(Ping timeout: 248 seconds)]
cfricke has quit [(Quit: WeeChat 1.9.1)]
<knedlsepp>
Hi! Is there by any chance a way to "antiquote" nix expressions inside of a regular text file? Currently I am going with an approach that uses substituteInPlace MYFILE --replace "{{GDB}}" "${gdb}/bin/gdb". Where file is something that I ship with the nix expression. What I would like to do is just antiquote the entire MYFILE as if it were a string.
rosa has quit [(Read error: Connection reset by peer)]
<chrishill>
Hey, so I am having issues with memory consumption after I upgraded NixOS from 32 bit 16.09 (`16.09.1943.25f4906da6`) to the 17.09 (`17.09.1880.ac2bb5684c`). First I upgraded from 32 bit 16.09 to 64 bit 16.09 through a live CD (usb). Then I ugraded to 17.09 by switching to `nix-channel --add https://nixos.org/channels/nixos-17.09 nixos`.
rosa has joined #nixos
<chrishill>
Now after the upgrade applications like Firefox and Emacs (Spacemacs) take up a lot of memory. To the point where I can’t have many applications open at the same time. Sometime I use so much memory that I can’t use my mouse etc. so I am unable to kill the processes.
<chrishill>
I know that on 64 bit the processor is able to use more of the RAM (which is 4GiB). But applications are using a lot more memory on the regular, and I haven’t really noticed any increase in performance with this increased memory usage.
<chrishill>
Am I missing something here? I know very little on the differences between 32 bit and 64 bit.
<infinisil>
chrishill: Like every single application is using more memory? Or is there a few ones that just take up so much?
<chrishill>
So the applications that use most memory that I regularly use are Emacs, Firefox, Eclipse. And it seems that they all use more memory.
<chrishill>
infinisil: yesterday the only major applications that were open at some point were Firefox and Eclipse, and they used 3.7 GiB.
<chrishill>
I am probably going to be buying more RAM. But the use seems so… excessive that it feels like I am missing something, or have done something wrong.
<chrishill>
infinisil: and also Spotify uses a lot of memory. I can’t say if it would be more than before because I was unable to install Spotify on 32 bit.
<infinisil>
chrishill: Do you have numbers of memory usage before and after?
<chrishill>
I have to keep in mind how many applications I have open, maybe close Eclipse if I am going to be writing in Emacs if I want to avoid the whole desktop (Xmonad if it matters) to freeze on me.
rosa has quit [(Quit: rosa)]
<infinisil>
because if you were close to your machines limit before, then upgrading to 64bit and some version updates might have busted it
<chrishill>
infinisil: Unfortunately I didn’t really keep track of statistics of that. Before the upgrade it was never really an issue.
<chrishill>
infinisil: The weird thing is that I have been able to use the same applications before. So maybe I was close to the machine’s limits before, but then I don’t know how I was able to use the same applications.
Cheng has quit [(Remote host closed the connection)]
<infinisil>
chrishill: Do you have swap?
<chrishill>
Firefox used to crash pretty often, so maybe that had to do with memory. But I don’t really remember it using a lot of memory. I used to chalk it up to just being buggy and prone to be brought done by heavy scripts in one tab.
shlevy has quit [(Ping timeout: 250 seconds)]
<chrishill>
infinisil: No, I am running on a 120 SSD so I decided against using swap this time. On that point, when I did have swap installed it was not really used much. Maybe the most usual number that I saw was 100 megabytes or less. I certainly didn’t have any experiences like, “Okay, now I forced the computer to swap”.
shlevy has joined #nixos
<chrishill>
I realize that I probably have a lot to learn (or that I could learn on this subject). I am mainly asking if I might have missed something, or what to read up on when it comes to this stuff.
<zimbatm>
hetzner machines are super cheap, I would be interested in starting an unofficial hardware team
<gchristensen>
there is movement to have an official hardware team too ... :)
<zimbatm>
also I am looking into running macOS inside of qemu
<gchristensen>
nice!
fendor has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
<sphalerite>
hardware team in what sense?
<gchristensen>
to help maintain hydra and what-not
<gchristensen>
by the way, today is Thanksgiving in the USA, and I'm grateful for being part of such a wonderful community
Tucky has quit [(Quit: WeeChat 1.9.1)]
rosa has joined #nixos
dan_b_ has joined #nixos
<Rovanion>
What is the package name of urxvt? I
rosa has quit [(Client Quit)]
tgunb1 has quit [(Ping timeout: 250 seconds)]
<chrishill>
infinisil: So you think having 4GB or more swap could solve the problem? It wouldn’t just thrash the swap? Yeah I’m probably going to buy a twice as large SSD too since they are reasonably priced now. ☺
<Rovanion>
Searching for urxvt or rxvt-unicode on https://nixos.org/nixos/packages.html turns up a lot of different stuff, but nix-env -qa rxvt on my nixos 17.09 only returns rxvt-2.7.10.
<neonfuz>
man it's really irritating how nixos builds such a maximalist kernel
<neonfuz>
I just want to change one option on one kernel module, but I apparently need to recompile the whole kernel and every kernel module to do that?
<neonfuz>
building my kernel on other distros that don't build every module takes minutes, this takes maybe an hour
freusque has quit [(Quit: WeeChat 1.9.1)]
<Rovanion>
How can I search for every package matching the glob *rxvt* ?
<MichaelRaskin>
nienfuz: well, for a centrally-built kernel in binary cache a maximalist config makes sense; if you already change the options, you can override the entire config.
CodeWarrior has joined #nixos
Sonarpulse has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<fearlessKim[m]>
is is possible to pass a custom .config file for the kernel build ?
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
justan0theruser has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub>
[nixpkgs] adisbladis reopened pull request #31176: pythonPackages: Add version and pname attributes to packages (master...pythonPackages-versionattr) https://git.io/vFnep
NixOS_GitHub has left #nixos []
<joko>
Some of my configuration files are looking on a path that my Hydra server does not have and I am getting errors like "getting status of '/opt': No such file or directory". Is it possible to bypass this error?
orivej has joined #nixos
justan0theruser has joined #nixos
tgunb has quit [(Ping timeout: 248 seconds)]
jb55 has joined #nixos
Sonarpulse has quit [(Ping timeout: 252 seconds)]
ertes-w has quit [(Ping timeout: 240 seconds)]
<joko>
I've tried with builtins.tryEval, but still no chance
MP2E has joined #nixos
deepfire has quit [(Ping timeout: 248 seconds)]
aminechikhaoui has quit [(Ping timeout: 260 seconds)]
aminechikhaoui has joined #nixos
ThatDocsLady_ has quit [(Remote host closed the connection)]
ThatDocsLady_ has joined #nixos
<sphalerite>
don't think so, besides avoiding that evaluation
<sphalerite>
one of my servers seems to be rebooting itself at fairly random intervals. The journal doesn't say anything, so I don't really have any clue what's going on. Does anyone know a way I can find out what's going on without being physically present during one of the shutdowns?
fikovnik has joined #nixos
<sphalerite>
joko: you could guard the access of /opt with an if builtins.pathExists. Not beautiful but it should work.
<neonfuz>
I can't seem to get parallel building working for my kernel
<neonfuz>
what do I all need to do, set nix.buildCores, and then set enableParallelBuilding=true; on the package?
deepfire has joined #nixos
Sigma has quit [(Remote host closed the connection)]
<sphalerite>
neonfuz: it should already have parallel building enabled — see nix-instantiate --eval '<nixpkgs>' -A linuxPackages.kernel.enableParallelBuilding
periklis has quit [(Ping timeout: 248 seconds)]
drever has quit [(Ping timeout: 250 seconds)]
bennofs has joined #nixos
Sigma has joined #nixos
fikovnik has quit [(Remote host closed the connection)]
<neonfuz>
hm well odd, it doesn't seem to want to use all 4 cores
<neonfuz>
or at least it only pushes my computer up to about 30% cpu despite me specifying the number of buildCores as the number of logical cores on my system
<neonfuz>
which doesn't seem right
ma27 has joined #nixos
sigmundv has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has joined #nixos
mizu_no_oto has quit [(Client Quit)]
rcshm has joined #nixos
ixxie has joined #nixos
rcshm has quit [(Client Quit)]
numerobis has joined #nixos
numerobis has left #nixos ["WeeChat 1.9.1"]
erictapen has joined #nixos
<ixxie>
yo cstrahan - I see you cleaned up my mess ^^ thanks!
<ixxie>
sphalerite: right xD I was hoping for some alternative material to complement this too
<ixxie>
hyper_ch: well I was working on the jupyterhub package, now with cstrahan's help its ready to be merged I think, and I was thinking to make a nixos module for it
spearman has joined #nixos
<sphalerite>
ixxie: ah, in that case idk sorry
<spearman>
how do you append to an option that is a list of strings?
argc_ has joined #nixos
justan0theruser has joined #nixos
katyucha has joined #nixos
<spearman>
i have added a local package to system packages with (import /home/spearman/nix/local/ibm3270font), now i want to add the "path" to font.extraFonts
<spearman>
like fonts.extraFonts = [ "/home/spearman/nix/local/ibm3270font" ]; ?
<Isorkin>
How to configure zsh plugin - antigen - http://pastebin.ru/Y6RmN6fx - not normal work config. Error - -antigen-cache-generate:zcompile:54: can't write zwc file: /nix/store/...-antigen-2.2.1/share/antigen/antigen.zsh.zwc
<spearman>
ah i can just put in the path to the derivation without quotes it seems that resolves to the `out`put
<spearman>
well it's showing in fc-list so that's a good sign :)
FRidh has quit [(Remote host closed the connection)]
<sphalerite>
rosa: the patching part is what I meant in my previous message. As for bundling a package with its dependencies for portable use, there's nix-bundle https://github.com/matthewbauer/nix-bundle
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Baughn opened pull request #31988: povray: Add X11/SDL preview support (master...povray) https://git.io/vFxiG
NixOS_GitHub has left #nixos []
<sphalerite>
Anybody know if linux's netconsole will also log kernel panics?
<sphalerite>
clever: you seem most likely to know ^
vcunat1 has joined #nixos
vcunat has quit [(Ping timeout: 240 seconds)]
vcunat1 has quit [(Client Quit)]
vcunat has joined #nixos
<rosa>
I meant as in patching hardcoded paths directly, like for example /usr/share/zle/zle.so
dan_b_ has joined #nixos
<rosa>
without recompiling zsh
<clever>
sphalerite: hmmm, not sure abotu that one
<MP2E>
patchelf does that, that's how we package programs that don't have source code available, generally speaking. There are exceptions, like Steam, which doesn't play nice unless we create a chroot for it
<rosa>
wich i need it to so it will cd to itself to load its cache
adc has left #nixos ["WeeChat 1.9.1"]
<clever>
sphalerite: netconsole can show the panic?, i should rig that up between all my machines
rosa has quit [(Quit: rosa)]
<sphalerite>
clever: yep, it did
<MP2E>
main relevant part is L33, later on we do wrap the program to explicitly add some libraries to the LD_LIBRARY_PATH, because discord loads some shared objects at runtime, but generally speaking patchelf should work without that
<suneej>
thats what I was looking for thanks @sphalerite
olto has quit [(Quit: hasta luego)]
<sphalerite>
yay, prescient issue diagnosis! xD
<suneej>
:-P
reinzelmann has quit [(Quit: Leaving)]
suneej has quit [(Read error: Connection reset by peer)]
civodul has joined #nixos
MP2E has quit [(Remote host closed the connection)]
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
taktoa has quit [(Remote host closed the connection)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
rosa has quit [(Read error: Connection reset by peer)]
davidak has quit [(Quit: Leaving.)]
bfrog has joined #nixos
rihards has joined #nixos
rihards has quit [(Client Quit)]
rihards has joined #nixos
acarrico has quit [(Ping timeout: 268 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
Ralith_ has quit [(Remote host closed the connection)]
markus1189 has joined #nixos
rosa has joined #nixos
rosa has quit [(Client Quit)]
bfrog has quit [(Ping timeout: 264 seconds)]
rosa has joined #nixos
ma27 has quit [(Ping timeout: 246 seconds)]
markus1189 has quit [(Ping timeout: 248 seconds)]
Isorkin has quit [(Ping timeout: 268 seconds)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
markus1189 has joined #nixos
<rosa>
by the way why does patchelf (when used on a non nixos distro) produce a "truncated file" that is incompatible with ldconfig yet loads fine
sigmundv has quit [(Ping timeout: 268 seconds)]
<rosa>
and how does nixos avoid using ld*
<rosa>
besides manually patching the files source code
markus1189 has quit [(Read error: Connection reset by peer)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
ris has joined #nixos
jb55 has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
ma27 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vFxyt
<NixOS_GitHub>
nixpkgs/master e0b9563 Andreas Rammhold: texstudio: 2.12.4 -> 2.12.6...
<NixOS_GitHub>
nixpkgs/master 9c048f4 Joachim F: Merge pull request #31984 from andir/texstudio...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bjornfor opened pull request #31990: nixos/syncthing: change group from nogroup to syncthing (master...nixos-syncthing-group) https://git.io/vFxyq
NixOS_GitHub has left #nixos []
<sphalerite>
How do I find someone's id in riot for android >.>
isidore has joined #nixos
rosa has quit [(Quit: rosa)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] jtojnar opened pull request #31991: gnome3.gsettings_desktop_schemas: do not rely on gnome-backgrounds (master...eschew-backrounds) https://git.io/vFxyX
NixOS_GitHub has left #nixos []
rihards has quit [(Quit: rihards)]
dan_b_ has quit [(Ping timeout: 248 seconds)]
simukis has quit [(Ping timeout: 260 seconds)]
<schoppenhauer>
hi
<schoppenhauer>
i have the following shell (default.nix): https://pastebin.com/2QdMq3An but when trying qmake && make on my project, it complains about not finding the Qt libraries, even though the corresponding .la files are in the place where -L/... points to
dan_b has quit [(Ping timeout: 248 seconds)]
<schoppenhauer>
which is … strange
hiratara has quit [(Ping timeout: 258 seconds)]
<schoppenhauer>
ok, well, there are only .la-files, not .so-files, but that should be right for c++
ssmike has joined #nixos
hiratara has joined #nixos
isidore has quit [(Quit: WeeChat 1.9.1)]
dan_b has joined #nixos
dan_b_ has joined #nixos
<schoppenhauer>
it works with qt56.full
miko__ has quit [(Ping timeout: 258 seconds)]
sigmundv has joined #nixos
rosa has joined #nixos
dywedir has quit [(Remote host closed the connection)]
fendor has joined #nixos
<sphalerite>
/ignore @freenode_rosa:matrix.org
Baughn has quit [(Quit: ZNC 1.6.2+deb1 - http://znc.in)]
<sphalerite>
Oops.
dan_b has quit [(Ping timeout: 240 seconds)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
<dhess`>
:\
acarrico has joined #nixos
jb55 has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
rosa has quit [(Client Quit)]
rosa has joined #nixos
dan_b_ has quit [(Ping timeout: 240 seconds)]
<sphalerite>
schoppenhauer: .la files are for static linking IIUC
<sphalerite>
schoppenhauer: and libtool is the thing that handles them, so gcc itself may not find it. I'm not sure about the workings of qmake interact, if at all, with libtool
rosa has quit [(Client Quit)]
rosa has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
stef__ has joined #nixos
<schoppenhauer>
sphalerite: ok. in qt56.full, there are .so-files.
<schoppenhauer>
sphalerite: but not in qt5.full
<schoppenhauer>
(which is, afaik, qt 5.9)
rosa has quit [(Client Quit)]
rosa has joined #nixos
<viric>
hm I may be dumb...
<sphalerite>
Which nixpkgs version are you on? I have .so files in my qt5Full
<viric>
but how can I merge 3 files? I have local, remote, and common base.
<stef__>
Hi. I am a new nixos user. While I was tweaking the configuration.nix during install, I replace /mnt/etc/nixos to a symbolic link `ln -s /tmp/tmpinstall/nixos-config` where nixos-config was a git manage project where I could version and comment my modification on the nix configuration file. At some moment nixos-install went well, and the installation process succeeded. But now I have a problem.
<viric>
is there any diffutil or so that will do that?
<sphalerite>
viric: I think if the changes don't conflict and it's a text file you can just produce a patch for each change and apply both the resulting patches to the base file
<stef__>
after rebbot my /etc/nixos is still symbolic link to /tmp/tmpinstall
dan_b has joined #nixos
dan_b_ has joined #nixos
<sphalerite>
stef__: do you have a copy of the nixos-config repo elsewhere?
<stef__>
I can't access the directory as a user, and there are no corresponding /Tmp/tmpinstall directory
<viric>
sphalerite: is it? So I have to run multiple commands
<viric>
sphalerite: what if I want a 'diff3' thing?
<viric>
oh diff3 may be able to emrge
<stef__>
sphalerite: yes, I can clone it. but I wonder where my current nix configuration come from ?
<viric>
merge
<stef__>
I can't find it unde /etc/nixos
* sphalerite
didn't even know diff3 existed
<sphalerite>
stef__: nixos just builds a system from the configuration files but the configuration files don't need to continue existing for the system to exist. In your case it's just gone
ssmike has quit [(Ping timeout: 258 seconds)]
<sphalerite>
stef__: which is why it's a very sensible idea to keep the config in git, as you have done :)
<stef__>
sphalerie: ok. so I have to put the proper file into /etc/nixos before I can call nixos-rebuild switch ?
<sphalerite>
yes
<pcarrier>
is there an obvious reason I couldn't run go binaries on nixos?
<stef__>
My first impression of nixos is: it's great I'm convinced
<sphalerite>
it doesn't have to be /etc/nixos, you can put it elsewhere and specify it through NIX_PATH as nixos-config=…, but yeah
<sphalerite>
glad to hear it!
<sphalerite>
pcarrier: they expect the dynamic loader to be in /lib/… which it isn't in nixos
vcunat has quit [(Ping timeout: 264 seconds)]
<sphalerite>
they may work if you use patchelf to change the loader path, or manually invoke the right loader on them. I seem to remember some issues about the former not working though.
<pcarrier>
oooh that is gonna be annoying
<viric>
damn diff3, it doesn't even report a conflict when there is.
<sphalerite>
pcarrier: you can try `$(cat $(nix-build '<nixpkgs>' -A gcc)/nix-support/dynamic-linker) your-go-binary`
<pcarrier>
yeah so I have shell scripts calling go binaries and co
<pcarrier>
I'm not gonna rewrite all that tooling for my team because I want to use the one Linux distro where Go binaries don't just work :)
<pcarrier>
sphalerite: any chance I could write something in my configuration.nix to create a /lib64/ld-linux-x86-64.so.2 and /bin/bash in /run/current-system/activate I guess?
<sphalerite>
then patchelf might be a better option. Or a FHS user env. Or (ideally 😉) packaging the go software in question
<sphalerite>
FHS user env sounds like a better idea than that
dan_b_ has quit [(Ping timeout: 240 seconds)]
dan_b has quit [(Ping timeout: 255 seconds)]
jtojnar has quit [(Remote host closed the connection)]
<pcarrier>
again yes ideally I would be using nix for all the things, but right now I have a monorepo setup I spent a lot of time building that automatically install its tools on OSX and Linux and it does expect stuff like /lib64/ld-linux-x86-64.so.2
<pcarrier>
and I really don't feel like rewriting everything to start using NixOS
thblt has joined #nixos
rosa has joined #nixos
jtojnar has joined #nixos
<sphalerite>
Yeah, FHS env sounds like the right thing fro you.
<pcarrier>
not really, unless I pull direnv, python, etc. into an FHS env
<pcarrier>
we currently use direnv and let a bunch of stuff just appear in PATH
<sphalerite>
Why not?
<pcarrier>
I don't want to maintain a list of wrappers to be created in the FHS env
pie_ has quit [(Remote host closed the connection)]
<sphalerite>
that is, why not pull direnv and python etc into the env
<pcarrier>
how would I enter/leave the env in my shell?
<sphalerite>
pcarrier: that's perfectly possible. I do that using a nix expression and nix-env with the -r flag, many others use home-manager which brings nixos-like modules to the user enc
<sphalerite>
Env
acarrico has quit [(Ping timeout: 260 seconds)]
jtojnar has quit [(Remote host closed the connection)]
Mateon3 has joined #nixos
mekeor has joined #nixos
jtojnar has joined #nixos
stef__ has quit [(Quit: Page closed)]
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon3 is now known as Mateon1
<jeaye>
pcarrier: I keep my user homes in /etc/user/ and use environment.etc to manage them.
argc_ has quit [(Quit: Leaving)]
<jeaye>
Nobody says ~ needs to be in /home/. This is NixOS, all previous assumptions are already thrown out the window. :P
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
<pcarrier>
hmmm. what's the clean way to relocate /etc/nixos/configuration and keep my user env declaration alongside it in a repo?
<clever>
pcarrier: if this file exists, nixpkgs will ignore the config.nix in $HOME
jtojnar has quit [(Remote host closed the connection)]
<clever>
pcarrier: and you can change that variable with nixos config
jtojnar has joined #nixos
rosa has quit [(Client Quit)]
rosa has joined #nixos
erictapen has joined #nixos
phreedom has quit [(Quit: No Ping reply in 180 seconds.)]
phreedom has joined #nixos
kini has quit [(Ping timeout: 260 seconds)]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
kini has joined #nixos
<pcarrier>
hmmm I'm pretty keen on keeping those things in /home/repos
<pcarrier>
can I tell nixos-rebuild to read configuration.nix from there through configuration.nix?
erictapen has quit [(Ping timeout: 248 seconds)]
rosa has quit [(Quit: rosa)]
rosa has joined #nixos
<pcarrier>
it's quite hard to get started :D
<clever>
pcarrier: nixos will just use <nixos-config> from your $NIX_PATH to find configuration.nix
<pcarrier>
it's obviously a super flexible system but "standard practices" to hold onto would help me a lot.
<clever>
pcarrier: so nix.nixPath can be used to change its location
<clever>
but you will need to use -I nixos-config=path the first time, to make it find the config that contains the config path
rosa has quit [(Client Quit)]
Cypi has joined #nixos
<Cypi>
Hi. I am trying to install Tkinter for Python3. I have the packages `python36` and `python36Packages.tkinter` in my configuration.nix, and yet when I try to `import tkinter`, I get `ModuleNotFoundError: No module named '_tkinter'`.
<Cypi>
Would anyone have any idea?
mekeor has quit [(Ping timeout: 255 seconds)]
<clever>
Cypi: you need to use pythonWithPackages
<pcarrier>
clever: how would I see the current value of nix.nixpaths for my config?