<gchristensen> speaking of me
<clever> ylwghst: it can also be helpfull to purposely put an error in, to confirm that its even reading the file
<ylwghst> im bit confused how sould i reference it
<clever> ylwghst: nixos-rebuild -I nixpkgs=/home/clever/nixpkgs test
<ylwghst> nvidia or nvidia-x11 or legacy340 everything passed with override without error
<dhess_> gchristensen: got time for a question now?
<clever> ylwghst: that will make nixos-rebuild use a custom version of nixpkgs
<ylwghst> clever: ok
<ylwghst> btw
magnetophon has quit [(Remote host closed the connection)]
<clever> ylwghst: it can also help to look at where nvidia will use things
<ylwghst> clever: if im currenly on stable and want to test build something like this nvidia driver from github.com/nixos/nixpkgs master is to safe to build this way? Should I do it?
<clever> ylwghst: the nvidia stuff is being specialized for every kernel
<gchristensen> dhess_: yep just got back
<ylwghst> build it*
<clever> ylwghst: and you want to override the one under the kernel your using
<clever> ylwghst: the simplest way is to run "git checkout <rev>" with the stable revision your on (nixos-version says it)
<clever> ylwghst: then modify from that
<LnL> manveru: look at https://hydra.nixos.org/build/64922614/nixlog/1, it has the same 'No greencard found' messages, etc.
<dhess_> gchristensen: ok. So I installed the multi-user setup on a new Mac yesterday. I've been running single-user all this time but I like the idea of an unprivileged account(s) doing the builds, rather than using my account, least privilege and all that
<gchristensen> sure
<dhess_> gchristensen: so I was surprised to see that store operations are done as root!
<manveru> LnL: ok, but what's the missing thing then?
<gchristensen> sorry?
<dhess_> downloads as well
<gchristensen> come again?
<dhess_> gchristensen: nix-download or whatever it is, and the unpacking of narfiles etc are being done as the root account
<gchristensen> wat
<ylwghst> clever: yeah thats sounds good
<gchristensen> LnL: can you verify this?
<dhess_> builds are done as nixbld1 etc, but *not* the downloads or writing of /nix/store
<LnL> manveru: no idea what *** abort because of serious configure-time warning from Cabal means
<gchristensen> dhess_: what is the easiest way for me to test this?
<manveru> not sure why cstrahan removed it
<dhess_> gchristensen: for me it just happened as soon as I did `nix-env foo`
<gchristensen> how did you spot it?
<dhess_> things that were in the cache, those were not built and were unpacked as the root user
<dhess_> and downloaded
<manveru> https://github.com/NixOS/nixpkgs/issues/3822 says it might indeed be an issue with transformers
<dhess_> gchristensen: I ran 'ps auxww" and grepped for nixb
<manveru> so... let's see what i can do about this
<dhess_> or rather nix
<dhess_> and noticed that only the builds were running as nixbld
<dhess_> I did that while the nix-env was evaluating, obviously.
<LnL> operations on store paths need to happen as root since that's the only user that has access
<LnL> but I'm not sure what that includes
<dhess_> why? /nix/store is g+w and the group is nixbld
<clever> the g+w is purely so the nixbld stuff can create its $out
<clever> which could be either a file or a directory
<gchristensen> this happens on nixos too, dhess_ root 2213 2.5 0.1 210188 21152 ? Ss 19:09 0:00 \_ /nix/store/rlwdvn75ss1yailrg2rmxn4lxfvmmfc0-perl-5.24.3/bin/perl -w -I/nix/store/br9pr4npwp4lqyzafpq9chvmzvganj0j-nix-1.11.1 /nix/store/br9pr4npwp4lqyzafpq9chvmzvganj0j-nix-1.11.15/libexec/nix/substituters/download-from-binary-cache.pl --substitute /nix/store/wggl0wrvjfa97qw0js1ac515kqd5j7pd-ghc-8.0.2
<dhess_> well it should be used for unpacking to the store as well
<gchristensen> /nix/store/wggl0wrvjfa97qw0js1ac515kqd5j7pd-ghc-8.0.2
<gchristensen> I gree
<dhess_> gchristensen: ok fair enough. But that seems like a really bad strategy
<gchristensen> dhess_: can you open a bug report? this should be fixed on all platforms
<dhess_> same for downloads, those should not be done as root
<dhess_> gchristensen: sure, you can reproduce this on nixos as well then?
<gchristensen> yeah
<LnL> dhess_: the minimal operation would be chown, like I said I don't know what that includes :)
<dhess_> I've never bothered to check, just assumed it was done by a nixbld user
<dhess_> LnL: ok :)
<clever> LnL, gchristensen: ive also discovered, that fixed-output derivations dont seem to obey the mount or process namespaces
<LnL> on nixos it's also more complicated since it's a readonly mount there
vandenoever has quit [(Ping timeout: 268 seconds)]
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
<gchristensen> ah, please reopen on nixos/nix -- I'm sorry, I should have specified
<dhess_> oh ok
magnetophon has joined #nixos
<LnL> pretty sure I'm seeing the same with 1.12
<gchristensen> (while true; do ps auxfg ; done) | grep "downloa" | grep -v grep is what I did to catch it
ssmike1 has joined #nixos
<LnL> the perl script doesn't exist for 1.12, but I see some nix-daemon subprocesses
ssmike has quit [(Ping timeout: 276 seconds)]
ssmike1 is now known as ssmike
<gchristensen> thank you dhess_
<gchristensen> nice find
<dhess_> sure, glad I was irritated enough to report it :)
<dhess_> Figured it was just a macOS issue
<gchristensen> I'm glad you were too :)
tylerjl has joined #nixos
leothrix has quit [(Read error: Connection reset by peer)]
markus1199 has joined #nixos
chreekat[m] has joined #nixos
markus1189 has quit [(Ping timeout: 268 seconds)]
digitus has quit [(Quit: digitus)]
tylerjl has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 248 seconds)]
Dr8128 has quit [(Ping timeout: 276 seconds)]
_ris has quit [(Ping timeout: 258 seconds)]
mrkgnao has joined #nixos
jgt has joined #nixos
peacememories has joined #nixos
<dhess_> Anyone doing any work with Vault or AWS Parameter Store to get a better story for secrets management with NixOS/NixOps?
peacememories has quit [(Client Quit)]
jgt has quit [(Ping timeout: 248 seconds)]
mahalel_ has quit [(Read error: Connection reset by peer)]
mahalel_ has joined #nixos
acarrico has joined #nixos
sdhand has joined #nixos
<sdhand> Hi
<sdhand> Anyone got any idea how to change the sddm theme?
erictapen has quit [(Ping timeout: 276 seconds)]
<ylwghst> sdhand:
<ylwghst> try this and let me know https://nixos.org/nixos/options.html#services.xserver.displaymanager.sddm.theme
leothrix has joined #nixos
page has quit [(Ping timeout: 248 seconds)]
oahong has quit [(Ping timeout: 255 seconds)]
<sdhand> I set that to "breeze" and saw no obvious change
<sdhand> I'm not convinced I have any themes installed but don't know how to verify this
<ylwghst> How you installed breeze?
<samueldr> ylwghst: you've seen the comment on github I pinged you on?
sigmundv has quit [(Ping timeout: 248 seconds)]
Neo-- has quit [(Ping timeout: 255 seconds)]
<ylwghst> not yet
<ylwghst> samueldr: gimme a sec
<ylwghst> i need reboot
<ylwghst> brb
<samueldr> n/p
ylwghst has quit [(Remote host closed the connection)]
sigmundv__ has quit [(Ping timeout: 276 seconds)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
ylwghst has joined #nixos
<sdhand> ylwghst: wb
<sdhand> I'm not sure are there even packages available for sddm themes?
<samueldr> IIRC there aren't any other than breeze and the default one packaged in nixos
<samueldr> there are some online, but I have trouble making them work
<samueldr> (well, they worked, but the qml features needed for the theme weren't there)
<sdhand> Ah, I wonder why I can't get breeze to work then
<sdhand> The default is kinda ugly
<samueldr> breeze can and does work
<samueldr> give me a sec
<samueldr> I'm using breeze and sddm
<samueldr> breeze will look like that when working: https://cn.pling.com/img/1/8/2/e/5dd0373ec1ec978fde5ef39ebab1269b4152.png
<sdhand> Yeah, mine looks very much not like that
<samueldr> this is what I have in my sddm.nix file
<samueldr> I'm not entirely sure pathsToLink is needed, first try without it, and then with it if it doesn't work
<samueldr> (there were changes between how it worked with 17.03 and 17.09)
<sdhand> Ooh, is plasma-workspace required for the theme?
duncan^ has quit [(Quit: WeeChat 1.9.1)]
<sdhand> ... I guess that would make sense
<samueldr> I believe so
<sdhand> Lol, silly me
<sdhand> Thanks
<samueldr> you're welcome
c0ffee152 has joined #nixos
<samueldr> sometimes stuff that seems obvious isn't really
<sdhand> I guess if I wanted a different theme I could always package my own right
<samueldr> yes right
<samueldr> there's quite a lack of themes though, and as I briefly touched, there are issues with how themes target QML
<ylwghst> sdhand: breeze is just gtk/qt theme. sddm uses it afaik
<samueldr> for sddm, there is a full qml theme
<ylwghst> i see ok
ssmike1 has joined #nixos
<sdhand> samueldr: adding /share to pathsToLink was required
<sdhand> Could you explain what this actually did just ooi?
<samueldr> thanks for confirming that it wasn't un-needed cruft
<samueldr> ooi?
<sdhand> Out of interest
<samueldr> ah
ssmike has quit [(Ping timeout: 240 seconds)]
ssmike1 is now known as ssmike
<samueldr> pathsToLink option description here: https://nixos.org/nixos/options.html#pathstolink
<samueldr> the trick is that this will put the contents of the /share folders of the built derivations in there
<samueldr> sddm is told to look there for themes
<samueldr> as it would for /usr/share elsewhere
<samueldr> it will look in /run/current-system/sw/share/[some sddm path/
<sdhand> Ah, ok
<sdhand> Now to see if I can work out how to change the sddm background image ;p
<samueldr> if possible without QML, please share the solution!
duncan^ has joined #nixos
duncan^ has quit [(Changing host)]
duncan^ has joined #nixos
<sdhand> samueldr: from my memory of doing this before it's just a line in sddm.conf
<sdhand> Exactly how to do that in nix I don't know
<sdhand> An extraConf option or something?
<samueldr> exactly!
<samueldr> it's a common pattern with configuration files
<ylwghst> samueldr: nice work dude
<samueldr> ylwghst: cursor thing?
<ylwghst> thats what we really needed
<samueldr> sadly, it didn't port over sddm
<samueldr> somewhere else the environment is "lost", and then I lost interest
<samueldr> it would be a bother if it is strongly dependent on the DM
<ylwghst> sure
<ylwghst> is there way to chane the cursor which X uses?
<ylwghst> but this propably should work on wayland too when x will be "gone"
<ylwghst> probably*
<sdhand> samueldr: ah I was incorrect, it's in the config for the theme
<sdhand> Still not the qml
<sdhand> Just the ini-style config
<samueldr> might be harder to patch in, I don't really have recommendations
<sdhand> But I'm gonna wager this makes things a bit trickier
<samueldr> probably something with overriding derivations, which I'm still getting used to
cement has quit [(Ping timeout: 268 seconds)]
<samueldr> well, I haven't really done, which means that I'm not actively getting used to that
astronavt has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
<Lisanna> is there something like stdenv but without all the gcc dependencies etc.? i.e., something basic that accepts buildInputs, does the shebang patching, etc.
dan_b has quit [(Ping timeout: 240 seconds)]
<ylwghst> samueldr: are you about to try implement it into service module?
ilja_kuklic has quit [(Ping timeout: 276 seconds)]
<samueldr> ylwghst: no, I only shared it there
hyphon81 has joined #nixos
Lisanna2 has joined #nixos
<samueldr> I'm not sure the way it's implemented is good
<samueldr> but it does work for personal uses
<ylwghst> btw
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
fragamus has joined #nixos
Sonarpulse has quit [(Ping timeout: 240 seconds)]
cybrian has joined #nixos
pxc has quit [(Ping timeout: 268 seconds)]
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jbboehr opened pull request #32186: nixos: i2pd: fix attribute check in inTunnels (master...patch-1) https://git.io/vbIRD
NixOS_GitHub has left #nixos []
vod has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #32184: rtags: 2.15 -> 2.16 (master...rtags-2.16) https://git.io/vbIYh
NixOS_GitHub has left #nixos []
orivej has quit [(Ping timeout: 240 seconds)]
dj_goku has quit [(Quit: Lost terminal)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<infinisil> This seems like the perfect usecase for Nix: https://lobste.rs/s/ewiny0/how_do_you_parameterize_configuration
<infinisil> I wrote a comment in support of it :)
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 258 seconds)]
joshuaks has joined #nixos
<sdhand> Heh, I was just reading that post
<sdhand> It's my first day using nix too and I saw the title and thought "that looks oddly relevant"
<fearlessKim[m]> http://nix-cookbook.readthedocs.io/en/latest/faq.html#i-m-getting-writing-to-file-connection-reset-by-peer , the error can also be due to a wromg url (like I had not prefixed the url with file:// and it triggered the same message)
fragamus has joined #nixos
<hyphon81> Are there somebody would like to use OpenStack Newton on NixOS 16.09? I made nix codes for build OpenStack environment on NixOS. Now, it can build on 17.03 and 17.09. However, it dosen't work on 16.09<=.
<infinisil> sdhand: Nice! I'll gladly help if you have any problems with it (although maybe not right now, going to bed)
<sdhand> I am too ;p thanks though
<hyphon81> In the first place, are not there anybody would like to use OpenStack on NixOS?
<infinisil> hyphon81: I don't think you should bother with 16.09<=
<joshuaks> Does anyone have experience with Vagrant installed with Nix on macOS? It can't seem to pull any images.
<gchristensen> hyphon81: nixos 17.03 and older aren't supported by nixosanyway
fragamus has quit [(Client Quit)]
<infinisil> hyphon81: Stuff only get's backported to 17.09 anyways
<hyphon81> Thanks. OK, I don't mind under 16.09.
jrolfs has quit [(Quit: Textual IRC Client: www.textualapp.com)]
fragamus has joined #nixos
slack1256 has joined #nixos
<slack1256> I got the octave info file on the `info` utility but not emacs. Anybody with the same issue?
cybrian has quit [(Read error: Connection reset by peer)]
jgt has joined #nixos
hiroshi has quit [(Ping timeout: 248 seconds)]
hiroshi has joined #nixos
thc202 has quit [(Ping timeout: 248 seconds)]
jgt has quit [(Ping timeout: 248 seconds)]
markus1199 has quit [(Ping timeout: 268 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mbrgm has quit [(Ping timeout: 248 seconds)]
mbrgm has joined #nixos
<dhess_> Does NixOS have something similar to Nixops deployment.keys now?
<dhess_> I recall seeing that in an issue somewhere, but I can't remember whether it's already been merged.
pxc1 has joined #nixos
pxc has quit [(Read error: Connection reset by peer)]
joshuaks has quit [(Ping timeout: 250 seconds)]
markus1189 has joined #nixos
cybrian has joined #nixos
Supersonic112 has quit [(Ping timeout: 240 seconds)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
ylwghst has quit [(Remote host closed the connection)]
fragamus has joined #nixos
lambdamu has joined #nixos
lambdamu_ has quit [(Ping timeout: 248 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/7fbf1c9afac (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
kus_ubuntui686 has quit [(Read error: Connection reset by peer)]
fragamus has joined #nixos
vaibhavsagar has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
vaibhavsagar has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vbIrb
<NixOS_GitHub> nixpkgs/master 9a4cd40 Peter Hoeg: gemrb: 0.8.1 -> 0.8.5...
NixOS_GitHub has left #nixos []
joshuaks has joined #nixos
dhess_ has left #nixos ["ERC (IRC client for Emacs 25.3.2)"]
joshuaks has quit [(Quit: WeeChat 1.9.1)]
nuncanada has quit [(Quit: Leaving)]
rogue_koder has quit [(Read error: Connection reset by peer)]
ylwghst has joined #nixos
pxc1 has quit [(Ping timeout: 248 seconds)]
Sonarpulse has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
pxc1 has joined #nixos
<vaibhavsagar> these new AWS announcements seem pretty cool
ylwghst has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<vaibhavsagar> would be cool if we could model the dependency graph of a package in a graph database and use the S3 select API to pull all dependencies in parallel
aw has quit [(Quit: Quitting.)]
spacefrogg has quit [(Remote host closed the connection)]
aw has joined #nixos
spacefrogg has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
mizu_no_oto has joined #nixos
m has joined #nixos
m is now known as zab
cement has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<zab> How are you guys conveniently keeping config info on github? I ended up importing my entire config from a module in my home directory dotfile repository. Seems... Sketchy at best
<zab> That's obviously for a one user pc
<pie__> does anyone make nixos shurikens
<pie__> havent seen any distro logos more implicating for the ninja sysadmin narrative
<drakonis> that's actually a snowflake?
<drakonis> oh wait
<drakonis> its a lambda
<zab> a bunch of lambdas
<drakonis> how did i not see this before
<samueldr> lambdaflake
<drakonis> a hexagon of lambdas
<drakonis> it looks like a snowflake
<zab> I think it's called a flock
<zab> no that's lambs
jsgrant has quit [(Remote host closed the connection)]
Sonarpulse has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
<vaibhavsagar> zab: your /etc/nixos/configuration.nix can be "{ imports = [/home/<user>/<nixos-config-repo>/configuration.nix]; }"
<vaibhavsagar> when I learned this my life greatly improved
<zab> Yep, that's what I ended up doing. Didn't know if that was normal
<vaibhavsagar> I don't know if it's normal, but it's what I do too
<vaibhavsagar> never had any issues
<zab> Cool, I'll stick to it then
cybrian has joined #nixos
pxc2 has joined #nixos
pxc1 has quit [(Read error: Connection reset by peer)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
pxc2 has quit [(Ping timeout: 248 seconds)]
pxc2 has joined #nixos
tsuki1 has joined #nixos
<tsuki1> howdy folks
<tsuki1> how can i change the sddm greeter background to a custom image?
fragamus has joined #nixos
pxc2 has quit [(Ping timeout: 240 seconds)]
jgt has joined #nixos
jgt has quit [(Ping timeout: 240 seconds)]
Bfnenzncbrnsd has joined #nixos
<Bfnenzncbrnsd> Is cache.nixos.org down?
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
c0ffee152 has quit [(Quit: Lost terminal)]
drakonis has quit [(Read error: Connection reset by peer)]
<Lisanna> Bfnenzncbrnsd: Nope
tsuki1 has quit [(Quit: WeeChat 1.9.1)]
dj_goku has joined #nixos
fragamus has joined #nixos
fragamus has quit [(Client Quit)]
fragamus has joined #nixos
Isorkin_ has quit [(Ping timeout: 268 seconds)]
tempeh has joined #nixos
Isorkin has joined #nixos
Bfnenzncbrnsd has quit [(Ping timeout: 260 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cybrian has quit [(Read error: Connection reset by peer)]
tempeh has quit [(Ping timeout: 248 seconds)]
proteusguy has quit [(Remote host closed the connection)]
cybrian has joined #nixos
ylwghst has joined #nixos
astronavt has quit [(Remote host closed the connection)]
ylwghst has quit [(Quit: Lost terminal)]
jmc_fr`` has joined #nixos
jmc_fr`` has quit [(Ping timeout: 240 seconds)]
<hyper_ch> hmmm, kernel rebuild?
ma27 has joined #nixos
Arcaelyx has quit [(Quit: Textual IRC Client: www.textualapp.com)]
andymandias has quit [(Ping timeout: 240 seconds)]
Arcaelyx has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
marusich has joined #nixos
Guest72929 has joined #nixos
Guest72929 has quit [(Excess Flood)]
ma27 has quit [(Ping timeout: 276 seconds)]
jgt has joined #nixos
jgt has quit [(Ping timeout: 240 seconds)]
reinzelmann has joined #nixos
hyphon81 has quit [(Remote host closed the connection)]
hyphon81 has joined #nixos
proteusguy has joined #nixos
cement has quit [(Ping timeout: 255 seconds)]
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
vandenoever has quit [(Ping timeout: 268 seconds)]
davidak has joined #nixos
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
Khetzal has joined #nixos
vandenoever has quit [(Ping timeout: 240 seconds)]
<fearlessKim[m]> I want to the buid the kernel with `autoModules = stdenv.platform.kernelAutoModules;` set to false, so basically I have to either to override the stdenv.platform or cross compile with a hostPlatform setting ? according to https://nixos.org/nixpkgs/manual/#sec-cross-usage, I should run nix-build <nixpkgs> --arg crossSystem '(import <nixpkgs/lib>).systems.examples.fooBarBaz' but then what's the point of setting
<fearlessKim[m]> hostPlatform in kernel/generic.nix ?
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
asuryawanshi has joined #nixos
pxc2 has joined #nixos
bkchr has joined #nixos
pxc2 has quit [(Ping timeout: 250 seconds)]
fragamus has joined #nixos
<bkchr> Hi, is there some callback or some other way to run commands after nixos-rebuild switch finished to switch to the new generation?
babyflakes has joined #nixos
catch22 has joined #nixos
<tilpner> You can run commands as part of the switching ("activation"), via system.activationScripts
bfrog has quit [(Ping timeout: 276 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
<tilpner> bkchr - But you have to be very careful not to break that, and it can be run multiple times
zunk has quit [(Ping timeout: 255 seconds)]
<bkchr> tilpner: ahh nice! I thought of creating a patch for the following issuse: https://github.com/NixOS/nixpkgs/issues/32170#issuecomment-347900318
<tilpner> Oh, I wouldn't suggest running "kquitapp5 plasmashell;plasmashell" from your activationScripts
<bkchr> I thought of some more logic
<bkchr> But I know that this bug is frustrating
jensens has joined #nixos
<sphalerite> Upgrading debian is such a pain 😢
spacemonkey243 has joined #nixos
<tilpner> bkchr - I think you just want to set systemd.services.display-manager.reloadIfChanged = true;, no?
<hyper_ch> hey tilpner, you run kde5?
<tilpner> No
<hyper_ch> awwww
<spacemonkey243> hi, is there a safer way to pass a password option to a nixos service, than just having a file somewhere? For example the mysql server need a root password on setup.
<bkchr> But that would reload the whole display-manager
<tilpner> bkchr - Though you probably don't want to switch from plasma in that case. If display-manager dies as part of the activation, the VTE switching will die too. So switch from a TTY just to be safe
<tilpner> bkchr - I thought that's what you wanted :/
<bkchr> Yeah I think it would work
<bkchr> But, I'm thinking about a more user friendly way
<hyper_ch> spacemonkey243: I have a secrets file which I load into my configuration.nix - so I can track configuration.nix by bit... however the password would still be in /nix/store somewhere....
pie___ has joined #nixos
<bkchr> Restarting the diplay-manager is not user friendly :D
<tilpner> Oh, this is not for just your machine?
<hyper_ch> spacemonkey243: but that would still be world readable... not sure if that helps
<bkchr> I thought of writing a more general patch
<hyper_ch> (I don't mind for myself, as nobody dares touching my notebook)
<bkchr> For me it is okay, to restart my machine :D
<dhess`> spacemonkey243: Do you use NixOps?
<adisbladis> Man it would be cool to switcheroo plasma after a system upgrade
vandenoever has quit [(Ping timeout: 268 seconds)]
<adisbladis> But it feels like it might be dangerous
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to staging: https://git.io/vbI90
<NixOS_GitHub> nixpkgs/staging 64f945e Orivej Desh: Revert "qt48: use tabs in the Makefile patch"...
NixOS_GitHub has left #nixos []
<bkchr> yeah, maybe not that easy
<etu> adisbladis: kwin_x11 --replace ;)
<adisbladis> etu: I know of that one but there are lots of other components at play
pie__ has quit [(Ping timeout: 268 seconds)]
<spacemonkey243> hyper_ch: yeah, I was hoping for something non world readable, or at least encrypted
<hyper_ch> for user there's initialhashedpassword
FenTiger has quit [(Ping timeout: 248 seconds)]
<hyper_ch> did you check the mysql/mariadb option if you can also use a hashed password?
<spacemonkey243> dhess`: I'm not using nixops, but I was planning to read up on it
civodul has joined #nixos
<Lisanna> any of you know if there's a thing like stdenv but without the gcc stuff? i.e., still does all the shebang patching, buildInputs, etc.
<dhess`> spacemonkey243: The safest way to do that right now is to use NixOps. Look into deployment.keys
<spacemonkey243> hyper_ch: I'm not sure, but thanks for the pointer!
<spacemonkey243> dhess`: ok, thank's a lot, I'll read up on that then
<dhess`> It deploys password files and key files to /run/keys, with the proper file permissions, so that they can be read or used to create configuration files.
<dhess`> /run/keys is a tmpfs so it's not persisted.
asuryawanshi has joined #nixos
<dhess`> and nothing is stashed in the Nix store.
<hyper_ch> spacemonkey243: there isn't any option for mysql
<tilpner> Lisanna - Wouldn't that be stdenvNoCC?
<spacemonkey243> dhess`: and the tmpfs will be on the host machine?
<dhess`> spacemonkey243: It's on the target machine
<dhess`> NixOps will scp the files there from the deployment machine.
<dhess`> On the deployment machine you can keep them in an encrypted fs, a git-crypt repo, etc.
<spacemonkey243> dhess`: ok, thanks
<dhess`> spacemonkey243: many NixOS services are not currently set up to work this way, but there's an effort underway to fix things.
<orivej> Lisanna: stdenvNoCC
periklis has joined #nixos
<Lisanna> tilpner: orivej: thanks!!
<spacemonkey243> dhess`: well, if there's a more or less agreed upon pass regarding what needs changing, I'd be glad to help with that
pie___ is now known as pie_
zzamboni has joined #nixos
<dhess`> spacemonkey243: I'm not sure it's quite "agreed upon" but there are some proposals. See https://github.com/NixOS/nixpkgs/issues/24288 for a meta-issue
<spacemonkey243> dhess`: hm, quick aside, I haven't read the manual completely, but is it possible to use the localhost as a targetHost for a nixops deployment?
<dhess`> spacemonkey243: You can deploy to the deployment machine, if that's what you mean
<dhess`> I manage my deployment machine with NixOps.
<dhess`> The manual is not clear on that and I asked the same thing when I was getting started with it :)
<spacemonkey243> dhess`: oh wow, ok, that's cool
<dhess`> spacemonkey243: Yeah initial setup needs to be done by hand, of course, but then on your first deployment, the machine is managed by NixOps from that point forward.
<dhess`> just don't forget to disable auto-updates on any host you manage with NixOps. auto-update will clobber the NixOps profile.
<dhess`> because auto-update only knows how to use the configuration that you put in /etc/nixos/configuration.nix
<dhess`> and NixOps doesn't touch that at all.
<tilpner> dhess` - What advantages over nixos-rebuild does that give you, apart from secrets management?
<dhess`> tilpner: You mean NixOps in general, or managing your NixOps deployment host with NixOps, specifically?
<tilpner> Using nixops to deploy to the machine running nixops
jensens has quit [(Ping timeout: 268 seconds)]
zzamboni has quit [(Ping timeout: 248 seconds)]
<dhess`> tilpner: for me it's just consistency. One set of configuration files manages all the hosts. They all are built from the same version of Nixpkgs, etc.
<dhess`> No need to maintian both your NixOps configurations and a separate one-off config for the deployment host.
<dhess`> Also it makes it really easy to create new deployment hosts when you want to upgrade the hardware :)
bkchr has quit [(Ping timeout: 264 seconds)]
<tilpner> Oh, I don't share much configuration between local and remote devices (laptop, server), and I already made it use the same nixpkgs for nixos-rebuild and nixops
<tilpner> (Didn't get overlays working though)
<vaibhavsagar> is there a reason that nixos-17.09 hasn't moved in a few days?
<vaibhavsagar> nixos-17.09-small and nixos-17.09-darwin have moved but not nixos-17.09 proper
<dhess`> tilpner: for me it's things like secure defaults (disabling password auth in ssh), ntp servers, dns servers, my personal user account and shell configuration, etc. Those things are pretty much the same across all of my fleets
bkchr has joined #nixos
<tilpner> dhess` - You're right, there's some sharing. I'll consider it for whenever I can break my config again :)
asuryawanshi has quit [(Remote host closed the connection)]
vandenoever has joined #nixos
vandenoever has quit [(Changing host)]
vandenoever has joined #nixos
<dhess`> :)
bennofs has joined #nixos
zzamboni has joined #nixos
bkchr has quit [(Ping timeout: 248 seconds)]
jgt has joined #nixos
freusque has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
zzamboni has quit [(Read error: Connection reset by peer)]
jgt has quit [(Ping timeout: 250 seconds)]
fragamus has quit [(Ping timeout: 276 seconds)]
<Lisanna> this question kind of applies to all Linux, but Nix makes it more of an issue: how does a program know where to find datafiles it needs? e.g., an installer would likely put them in /usr/share, and the program in /usr/bin. But the installer could use otherprefixes other than /usr (like /usr/local, or ~/localinstall, or /nix/store/blah)
<Lisanna> so what's the "right way" to find a <prefix>/share datafile in Linux?
bennofs has quit [(Ping timeout: 260 seconds)]
spacemonkey243 has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
<tilpner> Lisanna - Relative to environment variables or the executable seems like the most robust option
<Lisanna> tilpner: so take advantage of argv[0] ?
<tilpner> Or /proc/self/exe, yes
<Lisanna> how could I use /proc/self/exe?
<Lisanna> with argv[0] or bash's $0 I know how I could use that to traverse up a directory and then down into e.g. ./share
zzamboni has joined #nixos
<Lisanna> ohhh, /proc/self/exe is a symlink
<Lisanna> I didn't know /proc used symlinks...
zab has quit [(Quit: WeeChat 1.5)]
davidak has quit [(Quit: Leaving.)]
zzamboni has quit [(Ping timeout: 268 seconds)]
Turion has joined #nixos
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
zzamboni has joined #nixos
<Turion> How can "nix-shell -p mesa mesa_glu" succeed, where "nix-env -i mesa mesa_glu" complains that no derivation mesa_glu exists?
goibhniu has joined #nixos
hotfuzz_ has joined #nixos
hyphon81 has quit [(Remote host closed the connection)]
hotfuzz has quit [(Ping timeout: 268 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 2 new commits to master: https://git.io/vbI5b
<NixOS_GitHub> nixpkgs/master 1e4d675 Vladimír Čunát: nvidia_x11_legacy304: 304.135 -> 304.137...
<NixOS_GitHub> nixpkgs/master b934716 Vladimír Čunát: nvidia_x11_legacy304: fix build with kernel 4.14...
NixOS_GitHub has left #nixos []
<Turion> Could it be related to nix-env showing me "Warning: name collisions in input nix expression..."?
<tilpner> Turion - The names in nix-shell are interpreted as attribute paths, while they are interpreted as derivation names with nix-env
zzamboni has quit [(Ping timeout: 240 seconds)]
<Turion> tilpner, aahhh, thanks :)
<tilpner> Turion - Try with nix-env -iA nixpkgs.mesa nixpkgs.mesa_glu
zzamboni has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
<Turion> tilpner: I see. Strangely, it downloads different versions of the package for nix-shell than for nix-env
<tilpner> Please run nix-shell -p nix-info --run nix-info
<tilpner> (Maybe nix-info should offer to optionally gist the output?)
zzamboni has quit [(Ping timeout: 255 seconds)]
zzamboni has joined #nixos
<Turion> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.12pre5732_fd10f6f2, channels(root): "nixos-17.03.1944.6233be812f, nixpkgs-17.09pre112229.e619ace733", channels(turion): "nixos-18.03pre121253.2f1a818d00", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
<Turion> tilpner: Hm yes, this is surprising... can't remember getting 18.03 channel...
davidak has joined #nixos
<tilpner> What's weird about this are the root channels
MP2E has quit [(Remote host closed the connection)]
<Turion> So that's just running nix-info in the console (not in a nix-shell)
<tilpner> Your nixos-17.03.1944.6233be812f in channels(root) might be the reason for this, but I can't debug this right now, sorry
<Turion> tilpner: Ah great, maybe I can somehow get rid of it
<Turion> tilpner: Yes... I have the following weird setup: My CPU needs a <= 4.1 kernel, my soundcard needs >= 4.0, so I needed to clone nixpkgs and manually revert the commit where the 4.1 kernel was deleted from nixpkgs.
<Turion> So when I upgrade my system, I just run as root something like "nix-rebuild switch -I nixpkgs=path/to/my/local/clone
<Turion> Just realised that nix-channel --add just silently fails if a channel name already exists..?
Mateon3 has joined #nixos
bennofs has joined #nixos
Mateon1 has quit [(Ping timeout: 248 seconds)]
Mateon3 is now known as Mateon1
<Turion> What's the difference between the nixos channel and the nixpkgs channel?
pxc2 has joined #nixos
<hyper_ch> Turion: https://howoldis.herokuapp.com/ -> hydra build
<LnL> the nixos channels only update when tests pass
<LnL> using nixpkgs for your system could potentially make it unbootable, etc.
thc202 has joined #nixos
<Turion> hyper_ch, LnL, ahh, makes sense, thanks :)
pxc2 has quit [(Ping timeout: 240 seconds)]
<Turion> So why should I even have a nixpkgs channel?
<sphalerite> you don't need to
<LnL> you can install packages from it :)
<sphalerite> in fact you probably shouldn't. Although it won't cause any harm beyond potential confusion.
townsend has joined #nixos
<etu> jtojnar: I'm experiencing a weird issue regarding keyboard-layout since gnome 3.26. Left arrow registers as ISO_Level3_Shift, Up arrow registers as Screenshot. I don't know how to debug this :D
<Turion> sphalerite, alright... well, confusion is something that I currently have a lot, so maybe that's a cause ;)
<Turion> LnL, but are there any relevant packages that aren't on the nixos channel?
<LnL> no, it just updates faster
<sphalerite> Turion: no. nixpkgs-unstable and nixos-xx.yy/nixos-unstable are all just different versions of the same hting
<LnL> wht I do for example is use the tested nixos release for my system but overlay user packages from nixpkgs-unstable
crooksey has joined #nixos
<LnL> that way I get the latest version for stuff I care about but still use a stable release
asuryawanshi has quit [(Remote host closed the connection)]
<Turion> sphalerite, LnL: Ahhh, I just leveled up in nixos I think. Now on level 2 of 99.
<sphalerite> :D
<sphalerite> I wonder what level I am.
asuryawanshi has joined #nixos
cybrian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis closed pull request #32192: exim: 4.89 -> 4.89.1 (master...exim) https://git.io/vbIQE
NixOS_GitHub has left #nixos []
<Turion> sphalerite: nix-info --level
<srhb> Turion: That would be so awesome. We could gamify it by making sure there's a user file that updates based on usage of nix-build, nix-instantiate and friends.
<srhb> Achievement unlocked: NixWiz.
<sphalerite> lol
<Turion> srhb: Absolutely ;) but it would mean introducing state. We could also let the user declare their level in the config, and based on it, commands will be noob-friendly or powerful
<srhb> Turion: Clearly a better idea. :-P
<sphalerite> just gamify the shell as a whole. Keep it working as normal, just feed every command into an achievements program :p
<Turion> E.g. When you're level 1, you can't even choose channels. The current LTS is your channel. Gnome is installed by default.
<srhb> sphalerite: yesss
<sphalerite> WIth zsh you don't even need to do anything special, it already has a history file with enough metadata
<sphalerite> Turion: lol lts
ilja_kuklic has joined #nixos
<srhb> "Half a year should be enough for anyone."
adamt has quit [(Remote host closed the connection)]
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
cheshircat_ has joined #nixos
Turion1 has joined #nixos
pSub_ has joined #nixos
spacefrogg_ has joined #nixos
<Turion1> Yay, so I've now removed the nixpkgs channel, and nix-info now reads: system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.12pre5732_fd10f6f2, channels(root): "nixos-18.03pre121670.4cbbecc85db", channels(turion): "nixos-18.03pre121253.2f1a818d00", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
periklis- has joined #nixos
stefanc_diff has quit [(Ping timeout: 240 seconds)]
tg has quit [(Ping timeout: 240 seconds)]
cheshircat has quit [(Ping timeout: 240 seconds)]
Turion has quit [(Ping timeout: 240 seconds)]
aristid has quit [(Ping timeout: 240 seconds)]
demyan[m] has quit [(Ping timeout: 240 seconds)]
spacefrogg has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 240 seconds)]
nwspk has quit [(Ping timeout: 240 seconds)]
katyucha has quit [(Ping timeout: 240 seconds)]
zigschots20[m] has quit [(Ping timeout: 240 seconds)]
nocent has quit [(Ping timeout: 240 seconds)]
copumpkin has quit [(Ping timeout: 240 seconds)]
pSub has quit [(Ping timeout: 240 seconds)]
BlessJah has quit [(Ping timeout: 240 seconds)]
S0rin has quit [(Ping timeout: 240 seconds)]
suvash_away has quit [(Ping timeout: 240 seconds)]
AluisioASG has quit [(Ping timeout: 240 seconds)]
AllanDaemon[m] has quit [(Ping timeout: 240 seconds)]
mith[m] has quit [(Ping timeout: 240 seconds)]
AlanPearce[m] has quit [(Ping timeout: 240 seconds)]
Ralith has quit [(Ping timeout: 240 seconds)]
fgaz[m] has quit [(Ping timeout: 240 seconds)]
srhb has quit [(Ping timeout: 240 seconds)]
suvash_away has joined #nixos
periklis has quit [(Ping timeout: 240 seconds)]
AndersonTorres[m has quit [(Ping timeout: 240 seconds)]
a123123123[m] has quit [(Ping timeout: 240 seconds)]
moredhel1 has quit [(Ping timeout: 240 seconds)]
berot3[m] has quit [(Ping timeout: 240 seconds)]
dtz has quit [(Ping timeout: 240 seconds)]
aspiwack[m] has quit [(Ping timeout: 240 seconds)]
ipj[m] has quit [(Ping timeout: 240 seconds)]
olejorgenb[m] has quit [(Ping timeout: 240 seconds)]
suvash_away has quit [(Changing host)]
suvash_away has joined #nixos
aluisio_asg has joined #nixos
[0__0] has quit [(Remote host closed the connection)]
BlessJah has joined #nixos
aristid has joined #nixos
S0rin has joined #nixos
nwspk has joined #nixos
katyucha has joined #nixos
oida has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
[0__0] has joined #nixos
stefanc_diff has joined #nixos
michaelpj has quit [(Ping timeout: 255 seconds)]
tg has joined #nixos
srhb has joined #nixos
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
AndersonTorres[m has joined #nixos
AllanDaemon[m] has joined #nixos
a123123123[m] has joined #nixos
olejorgenb[m] has joined #nixos
AlanPearce[m] has joined #nixos
aspiwack[m] has joined #nixos
fgaz[m] has joined #nixos
Ralith has joined #nixos
demyan[m] has joined #nixos
mith[m] has joined #nixos
zigschots20[m] has joined #nixos
ipj[m] has joined #nixos
berot3[m] has joined #nixos
nocent has joined #nixos
moredhel1 has joined #nixos
dtz has joined #nixos
vcunat has joined #nixos
copumpkin has joined #nixos
adamt has quit [(Remote host closed the connection)]
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
__Sander__ has joined #nixos
andi- has quit [(Ping timeout: 258 seconds)]
zzamboni has joined #nixos
andi- has joined #nixos
<Turion1> As user, when I do nix-channel --list, do I also see the channel that root added?
zzamboni has quit [(Ping timeout: 248 seconds)]
<clever> Turion1: no
<Turion1> clever: Ok, but nix-env -i still sees it, unless I mess with my ~/.nix*
bennofs has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<clever> correct, nix-env can see channels from the user&root
<clever> but nix-channel can only see the ones from the current user
<Turion1> Ok, very good :) then I've managed to clean up my system somewhat
<clever> generaly, you just use channels on root and thats it
<clever> user channels are more for a multi-user system where you lack root
<sphalerite> nix-env is annoying and uses ~/.nix-defexpr which symlinks to root's channels
<sphalerite> nix 1.12 will fix that eventually with a new "nix install" command
x1n4u has quit [(Ping timeout: 240 seconds)]
<sphalerite> until then, I recommend always using nix-env with -f (usually -f '<nixpkgs>'
<sphalerite> )
Bane^^ has joined #nixos
<clever> you can also nix-env -iA channelname.foo
<clever> and ensure the channel names remain unique between users
* clever heads off to bed
x1n4u has joined #nixos
bjarki has joined #nixos
<Turion1> sphalerite, clever: Ah thanks!
<Turion1> I never understood '<nixpkgs>' though.
pierron_ has joined #nixos
<sphalerite> it means "nixpkgs on NIX_PATH"
larsvm has quit [(Ping timeout: 258 seconds)]
<sphalerite> so if you echo $NIX_PATH, you'll typically see there's an entry that starts with nixpkgs=
larsvm has joined #nixos
<sphalerite> it will use that. Or if there's a directory not preceded by an =, it will check if that directory contains a nixpkgs and use that
uptime has quit [(Ping timeout: 240 seconds)]
<sphalerite> https://nixos.org/nix/manual/#sec-common-env see the NIX_PATH entry
<Turion1> sphalerite: Ahhhh :) yes that makes sense. Nearing level 3.
lewo`` has joined #nixos
<Turion1> And miraculously, OpenGLRaw now builds!
bennofs has joined #nixos
<sphalerite> you're really racking up the exp points x)
<Turion1> Well it seems like I've found a camp with teachers where I can trade frustration XP for skill points
Dezgeg[m]1 has joined #nixos
adisbladis[m]1 has joined #nixos
Khorne[m]1 has joined #nixos
sjm[m]1 has joined #nixos
<Turion1> Ah, and setting the nixPath variable plays well with -f '<nixpkgs>'
hotfuzz_ has quit [(Ping timeout: 255 seconds)]
kini has quit [(Remote host closed the connection)]
Bane^^ is now known as Bane^
blahdodo_ has joined #nixos
<sphalerite> yep, that's exactly what nixPath is for :)
blahdodo_ is now known as blahdodo
nckx has joined #nixos
kini has joined #nixos
CustosLimen has joined #nixos
Baughn has quit [(Ping timeout: 260 seconds)]
phreedom has joined #nixos
tv has joined #nixos
Baughn has joined #nixos
moredread[m] has joined #nixos
scott1 has joined #nixos
Li[m] has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
<sphalerite> uuuugh configuring stuff outside nixos is such a fuss
<sphalerite> and gitlab is horrendously complex
uptime has joined #nixos
dmj` has joined #nixos
<srhb> sphalerite: No kidding...
<srhb> I asked yesterday, so a rerun: Does anyone know of a good way to version modules? What I'm aiming to avoid is littering a module file with lots of if versionthis then that else if versionfoo then bar ... etc. -- I'd like to have as few of these as possible, as "far up" as possible and then just duplicate code further down where need be.
<srhb> I think that huge multiversion modules are difficult to maintain.
<sphalerite> I can't get the nginx for ci.gitlab.strathtech.co.uk to serve the .well-known/acme-challenge directory right :(
<vaibhavsagar> srhb: can you put the version-specific stuff in one file per version?
<srhb> One issue I've bumped into in my first attempt is that parameterizing the top level config simply creates documentation for whatever the default version is and none of the others.
<srhb> vaibhavsagar: That's what I want, yes. How to do it is my main issue :/
asuryawanshi has quit [(Ping timeout: 252 seconds)]
<vaibhavsagar> lots of nixos module merging?
<srhb> So my next approach is service.moduleVersion2 = ...
<srhb> And then make the versions mutually exclusive.
<srhb> But that's also ugly. I'm not sure if it's acceptable.
<knedlsepp> Hi! I'm currently trying to package the opa-psm2 ( https://github.com/01org/opa-psm2 )library for omnipath (infiniband alternative) network access on our HPC. Compilation does however abort missing some symbols that are defined in the linux kernel: https://github.com/torvalds/linux/blob/ead751507de86d90fa250431e9990a8b881f713c/include/uapi/rdma/hfi/hfi1_user.h Does anybody know which attribute do I have to use that includes these headers? "linuxHeaders"
<knedlsepp> doesn't seem to work.
sigmundv__ has joined #nixos
<vcunat> knedlsepp: our linuxHeaders are from 4.4, so it won't help in case you need symbols that were introduced later...
jgt has joined #nixos
proteusguy has quit [(Remote host closed the connection)]
<sphalerite> srhb: another reason that it would be nice if not all modules were enabled by default…
<srhb> sphalerite: Wait, _what_
<knedlsepp> vcunat: If I'm not on NixOS could I override the linuxHeaders to match my machine?
<sphalerite> srhb: ?
<vcunat> I don't think the host OS matters, really
<srhb> sphalerite: All modules are enabled by default? o_o
<sphalerite> srhb: yes, as in evaluated. The actual functionality is guarded behind enable options usually, but they're all loaded and evaluated.
<adamt> srhb: Maybe he means included in module-list.nix
<srhb> Oh, right
<vcunat> knedlsepp: the running kernel version will matter, most likely, when you actually run the result - but first you need to build stuff
<srhb> Phew, that was a bit scary :P
jgt has quit [(Ping timeout: 240 seconds)]
<sphalerite> haha yes, that's what I meant
<vcunat> knedlsepp: I would try to locally create linuxHeaders_4_14 for example and try building with that
<sphalerite> but yeah, having them not included by default and using imports = … rather than enable options to enable them would be so nice
davidak has quit [(Ping timeout: 240 seconds)]
<sphalerite> and having specified dependencies between them
bitchecker has quit [(Remote host closed the connection)]
<srhb> Agreed..
bitchecker has joined #nixos
<knedlsepp> vcunat: Thanks for the heads up. I just tried to figure out which kernel I'm runing and `uname -r` reports "4.4.74-92.29-default". So shouldn't our linuxHeaders 4.4 be enough?
periklis- has quit [(Ping timeout: 276 seconds)]
Neo-- has joined #nixos
bitchecker has quit [(Remote host closed the connection)]
bitchecker has joined #nixos
davidak has joined #nixos
<vcunat> knedlsepp: according to the git link, hfi1_user.h exists since kernel 4.3
<vcunat> so it should be enough
<vcunat> and it *is* inside linuxHeaders
<vcunat> ./result/include/rdma/hfi/hfi1_user.h
hotfuzz_ has joined #nixos
<srhb> For reference, here's essentially what I want to do: https://github.com/srhb/nixpkgs/commit/7c5dd421a3f5cc6d6fec8374fe0a3cccb79b24bc
<srhb> Suggestion on improvements are extremely welcome.
<srhb> (I haven't guarded the enables mutually yet, will do so)
Neo-- has quit [(Ping timeout: 240 seconds)]
<knedlsepp> vcunat: Ok. That's right. The error I get is that the following are undeclared: HFI1_EVENT_LINKDOWN, HFI1_EVENT_LMC_CHANGE, HFI1_EVENT_SL2VL_CHANGE, HFI1_EVENT_LID_CHANGE, HFI1_EVENT_TID_MMU_NOTIFY
<knedlsepp> So it's possible that those symbols got introduced later than 4.4 and were backported by our provider?
<vcunat> that's possible
<vcunat> but during build it shouldn't matter what kernel you run
<vcunat> HFI1_EVENT_TID_MMU_NOTIFY is since 4.6
<vcunat> you can try with updated headers and see if it runs afterwards even on (your) 4.4 kernel
<knedlsepp> Ok. So I will try to override the linuxHeaders. Does this by any chance mean that this will cause a mass rebuild of all my stuff? Or should I just override the headers for this specific package?
<knedlsepp> vcunat: Thanks once again for your help!
<vcunat> I would just create a new linuxHeaders_something
<vcunat> and use that only for your package
<vcunat> knedlsepp: ^^
romildo has joined #nixos
reinzelmann has quit [(Remote host closed the connection)]
<romildo> When updating NixOS unstable today I am getting
<romildo> error: Package ‘webkitgtk-2.4.11’ in /nix/store/9m282aspvad18vc4d06j6r8jx8h0pc72-nixos-18.03pre121670.4cbbecc85db/nixos/pkgs/development/libraries/webkitgtk/2.4.nix:21 is marked as insecure, refusing to evaluate.
<romildo> Any clues
<romildo> ?
townsend has quit [(Ping timeout: 240 seconds)]
<hyper_ch> tried to run it again?
reinzelmann has joined #nixos
andi- has joined #nixos
iyzsong has joined #nixos
<romildo> webkitgtk-2.4.11 is brought into packages to install because of the Haskell package webkit (which I have tried to add to my system).
ilyaigpetrov has joined #nixos
<vcunat> romildo: it would be best to have a look if the haskell package can work with a newer version
<vcunat> 2.4.x has really lots of security holes nowadays
maxp has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
<ocharles> Has anyone encountered `<Error><Code>AuthFailure</Code><Message>AWS was not able to validate the provided access credentials</Message></Error>` in (shared) NixOps before?
<ocharles> Googling just seems to suggest it's a time problem, but my local clock is correct
<ocharles> The key in my environment variables works fine in another nixops deployment where I created the state, but I can't use the state that my colleague (in a different time zone) created
<ocharles> I get that with `nixops check`
<maxp> ocharles: how is it designed to work?
<ocharles> I'm not sure I understand the question
<maxp> ocharles: nix-ops is a program, which presumably has a design and a design document.
<maxp> ocharles: you should be able to consult it and see whether what you want matches the design.
<ocharles> I'm pretty sure running a command should work, not sure I need a design document to verify that :)
<maxp> ocharles: if the semantics of the program include your desired behaviour, then you can file a bug.
<maxp> ocharles: if there are no design documents, then they should first write some.
<maxp> ocharles: otherwise, there is no telling what the program is supposed to do in the first place.
<joepie91> ocharles: are you sure that the issue is on the nixops side, and it's not just a matter of eg. the credentials being region-limited?
<dhess`> hey... this sounds familiar
<ocharles> joepie91: Hm, I didn't know credentials could be region limited. In the management console, the region dropdown just says "global"
<maxp> ocharles: credentials are region limited.
dhess` has quit [(Read error: Connection reset by peer)]
<maxp> ocharles: I would just run nix-ops in a debugger to extract the exact EC2 API call failing.
dhess has joined #nixos
dhess` has joined #nixos
<ocharles> Well with --debug I can see that boto raises an exception at boto.ec2.connection.get_only_instances
<maxp> ocharles: then you know what's wrong exactly. Next to that you find the AWS logs.
<maxp> ocharles: with those two combined you should be able to figure it out.
dhess` has quit [(Remote host closed the connection)]
dhess has quit [(Remote host closed the connection)]
<ocharles> I'm still not quite following what is meant by "credentials are region limited"
malteof[m] has quit [(Ping timeout: 255 seconds)]
tommyangelo[m] has quit [(Ping timeout: 255 seconds)]
Yaniel has quit [(Ping timeout: 255 seconds)]
Wysteriary[m] has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej closed pull request #32183: Semi-automated Emacs package updates (master...emacs-updates) https://git.io/vbItM
NixOS_GitHub has left #nixos []
PlasmaStrike[m] has quit [(Ping timeout: 255 seconds)]
petersjt014[m] has quit [(Ping timeout: 255 seconds)]
dalaing has quit [(Ping timeout: 255 seconds)]
myklam[m] has quit [(Ping timeout: 255 seconds)]
guest521[m] has quit [(Ping timeout: 255 seconds)]
xurxo[m] has quit [(Ping timeout: 255 seconds)]
Deleh[m] has quit [(Ping timeout: 255 seconds)]
rnhmjoj[m] has quit [(Ping timeout: 255 seconds)]
AdamSlack[m] has quit [(Ping timeout: 255 seconds)]
aminech[m] has quit [(Ping timeout: 255 seconds)]
r3mfKm[m] has quit [(Ping timeout: 255 seconds)]
Johnny44[m] has quit [(Ping timeout: 255 seconds)]
spawnthink[m] has quit [(Ping timeout: 255 seconds)]
rycee has quit [(Ping timeout: 255 seconds)]
sk23[m] has quit [(Ping timeout: 255 seconds)]
MawKKe[m] has quit [(Ping timeout: 255 seconds)]
ConorCurry[m] has quit [(Ping timeout: 255 seconds)]
WinterFox[m] has quit [(Ping timeout: 255 seconds)]
sirius[m] has quit [(Ping timeout: 255 seconds)]
musicmatze[m] has quit [(Ping timeout: 255 seconds)]
dash has quit [(Ping timeout: 255 seconds)]
unlmtd has quit [(Ping timeout: 255 seconds)]
EuAndreh[m] has quit [(Ping timeout: 255 seconds)]
<ocharles> I can see the key that my colleague uses is working fine, and IAM shows "Last used: 2017-11-09 01:25 UTC with ec2 in us-east-1". I don't have the secret key associated with that, but if I add a new keypair, it still fails with the above error
<ocharles> When allocating a keypair, I have no option about region
<ocharles> I can understand policies being region limited, but not the credentials themselves
paraseba has quit [(Ping timeout: 240 seconds)]
yastero has quit [(Ping timeout: 240 seconds)]
sudoreboot[m] has quit [(Ping timeout: 240 seconds)]
suvash_away has quit [(Ping timeout: 240 seconds)]
simukis has joined #nixos
revoltmedia[m] has quit [(Ping timeout: 240 seconds)]
a123123123[m] has quit [(Ping timeout: 240 seconds)]
demyan[m] has quit [(Ping timeout: 240 seconds)]
AndersonTorres[m has quit [(Ping timeout: 240 seconds)]
marusich has quit [(Ping timeout: 240 seconds)]
<ocharles> I should note that if I allocate keys, I can use those keys with `aws ec2 describe-instances`, which is why I think this is a NixOps problem
downtime has joined #nixos
scott1 has quit [(Ping timeout: 250 seconds)]
Li[m] has quit [(Ping timeout: 250 seconds)]
moredread[m] has quit [(Ping timeout: 250 seconds)]
stefanc_diff has quit [(Ping timeout: 240 seconds)]
dhess has joined #nixos
Arcaelyx has quit [(Read error: Connection reset by peer)]
uptime has quit [(Disconnected by services)]
downtime is now known as uptime
suvash_away has joined #nixos
stefanc_diff has joined #nixos
codyopel has quit [(Ping timeout: 246 seconds)]
kevincox has quit [(Ping timeout: 252 seconds)]
viaken[m] has quit [(Ping timeout: 252 seconds)]
baconicsynergy[m has quit [(Ping timeout: 248 seconds)]
sjm[m]1 has quit [(Ping timeout: 248 seconds)]
timclassic has quit [(Ping timeout: 248 seconds)]
nixo[m] has quit [(Ping timeout: 248 seconds)]
JameySharp[m] has quit [(Ping timeout: 248 seconds)]
admin[m]1 has quit [(Ping timeout: 248 seconds)]
jlle[m] has quit [(Ping timeout: 248 seconds)]
ninegua[m] has quit [(Ping timeout: 248 seconds)]
etcinit[m] has quit [(Ping timeout: 248 seconds)]
trevorriles[m] has quit [(Ping timeout: 248 seconds)]
krawiec[m] has quit [(Ping timeout: 248 seconds)]
tokudan[m] has quit [(Ping timeout: 248 seconds)]
octalsrc[m] has quit [(Ping timeout: 248 seconds)]
peterhoeg has quit [(Ping timeout: 248 seconds)]
dylanjust[m] has quit [(Ping timeout: 248 seconds)]
bennofs[m] has quit [(Ping timeout: 248 seconds)]
cifra[m] has quit [(Ping timeout: 248 seconds)]
Drakonis[m] has quit [(Ping timeout: 248 seconds)]
nh2[m] has quit [(Ping timeout: 248 seconds)]
Leo[m]2 has quit [(Ping timeout: 255 seconds)]
wizek[m] has quit [(Ping timeout: 246 seconds)]
wzy8L-B2[m] has quit [(Ping timeout: 246 seconds)]
Elephant454[m] has quit [(Ping timeout: 246 seconds)]
grahamc has quit [(Ping timeout: 246 seconds)]
pstn has quit [(Ping timeout: 246 seconds)]
pvn[m] has quit [(Ping timeout: 240 seconds)]
hendrik[m] has quit [(Ping timeout: 240 seconds)]
kitten[m] has quit [(Ping timeout: 240 seconds)]
M-fishy has quit [(Ping timeout: 240 seconds)]
Oo[m] has quit [(Ping timeout: 240 seconds)]
Phyra[m] has quit [(Ping timeout: 240 seconds)]
hexkey[m] has quit [(Ping timeout: 240 seconds)]
onito[m] has quit [(Ping timeout: 240 seconds)]
thematter[m] has quit [(Ping timeout: 240 seconds)]
jyp[m] has quit [(Ping timeout: 240 seconds)]
indefini has quit [(Ping timeout: 240 seconds)]
wak-work has quit [(Ping timeout: 240 seconds)]
TimePath has quit [(Ping timeout: 240 seconds)]
Barnabas[m] has quit [(Ping timeout: 240 seconds)]
florianjacob has quit [(Ping timeout: 240 seconds)]
mrdaak[m] has quit [(Ping timeout: 255 seconds)]
stites[m] has quit [(Ping timeout: 255 seconds)]
copumpkin has quit [(Ping timeout: 255 seconds)]
mith[m] has quit [(Ping timeout: 255 seconds)]
AllanDaemon[m] has quit [(Ping timeout: 255 seconds)]
aaronc[m] has quit [(Ping timeout: 255 seconds)]
Sovereign_Bleak has quit [(Ping timeout: 255 seconds)]
chreekat[m] has quit [(Ping timeout: 252 seconds)]
dkellner[m] has quit [(Ping timeout: 255 seconds)]
jluttine[m] has quit [(Ping timeout: 255 seconds)]
wizzup[m] has quit [(Ping timeout: 255 seconds)]
chominist[m] has quit [(Ping timeout: 255 seconds)]
bhipple[m] has quit [(Ping timeout: 255 seconds)]
rihardsk[m] has quit [(Ping timeout: 255 seconds)]
StuK[m] has quit [(Ping timeout: 252 seconds)]
mhsjlw[m] has quit [(Ping timeout: 252 seconds)]
aniketd[m] has quit [(Ping timeout: 252 seconds)]
mtncoder[m] has quit [(Ping timeout: 252 seconds)]
peel[m] has quit [(Ping timeout: 252 seconds)]
ycy[m] has quit [(Ping timeout: 252 seconds)]
ison[m] has quit [(Ping timeout: 255 seconds)]
hedning[m] has quit [(Ping timeout: 255 seconds)]
Pneumaticat has quit [(Ping timeout: 255 seconds)]
M-berdario has quit [(Ping timeout: 255 seconds)]
equalunique[m] has quit [(Ping timeout: 255 seconds)]
spacekitteh[m] has quit [(Ping timeout: 255 seconds)]
freeman42x has quit [(Ping timeout: 248 seconds)]
jack[m] has quit [(Ping timeout: 248 seconds)]
matrixkrav has quit [(Ping timeout: 248 seconds)]
dibblego[m] has quit [(Ping timeout: 248 seconds)]
YuFanLovezYou[m] has quit [(Ping timeout: 248 seconds)]
ArdaXi[m] has quit [(Ping timeout: 248 seconds)]
bendlas has quit [(Ping timeout: 248 seconds)]
herzmeister[m] has quit [(Ping timeout: 248 seconds)]
voobscout[m] has quit [(Ping timeout: 246 seconds)]
dtz has quit [(Ping timeout: 246 seconds)]
fgaz[m] has quit [(Ping timeout: 246 seconds)]
aspiwack[m] has quit [(Ping timeout: 246 seconds)]
dpc has quit [(Ping timeout: 246 seconds)]
corngood has quit [(Ping timeout: 246 seconds)]
jsv[m] has quit [(Ping timeout: 246 seconds)]
wmertens[m] has quit [(Ping timeout: 246 seconds)]
Obscurity[m] has quit [(Ping timeout: 246 seconds)]
puffnfresh has quit [(Ping timeout: 246 seconds)]
DIzFer[m] has quit [(Ping timeout: 246 seconds)]
necronian has quit [(Ping timeout: 246 seconds)]
bdimcheff has quit [(Ping timeout: 246 seconds)]
reactormonk[m] has quit [(Ping timeout: 246 seconds)]
cornu[m] has quit [(Ping timeout: 246 seconds)]
bachp has quit [(Ping timeout: 246 seconds)]
the_m4ur1[m] has quit [(Ping timeout: 240 seconds)]
adisbladis[m]1 has quit [(Ping timeout: 240 seconds)]
das-g[m] has quit [(Ping timeout: 240 seconds)]
Singularity[m] has quit [(Ping timeout: 240 seconds)]
mpuppe[m] has quit [(Ping timeout: 240 seconds)]
yochai[m] has quit [(Ping timeout: 240 seconds)]
danielrf has quit [(Ping timeout: 240 seconds)]
Geeky[m] has quit [(Ping timeout: 240 seconds)]
NickHu has quit [(Ping timeout: 240 seconds)]
paperdigits[m] has quit [(Ping timeout: 240 seconds)]
regnat[m] has quit [(Ping timeout: 240 seconds)]
pierrebeaucamp[m has quit [(Ping timeout: 240 seconds)]
efx[m] has quit [(Ping timeout: 240 seconds)]
Phil[m]1 has quit [(Ping timeout: 264 seconds)]
moredhel1 has quit [(Ping timeout: 264 seconds)]
berot3[m] has quit [(Ping timeout: 264 seconds)]
olejorgenb[m] has quit [(Ping timeout: 264 seconds)]
johnwhitlow[m] has quit [(Ping timeout: 264 seconds)]
magnap has quit [(Ping timeout: 264 seconds)]
taohansen has quit [(Ping timeout: 264 seconds)]
apocolocyntos[m] has quit [(Ping timeout: 264 seconds)]
tobim[m] has quit [(Ping timeout: 264 seconds)]
icetan has quit [(Ping timeout: 264 seconds)]
randomenduser[m] has quit [(Ping timeout: 264 seconds)]
Vincenzo[m] has quit [(Ping timeout: 264 seconds)]
noctuid has quit [(Ping timeout: 264 seconds)]
AmineChikhaoui[m has quit [(Ping timeout: 264 seconds)]
fearlessKim[m] has quit [(Ping timeout: 264 seconds)]
abbafei[m] has quit [(Ping timeout: 264 seconds)]
sargon[m] has quit [(Ping timeout: 264 seconds)]
M-liberdiko has quit [(Ping timeout: 264 seconds)]
trikl[m] has quit [(Ping timeout: 264 seconds)]
WilliamHamilton has quit [(Ping timeout: 264 seconds)]
Nobabs27[m] has quit [(Ping timeout: 264 seconds)]
offlinehacker[m] has quit [(Ping timeout: 264 seconds)]
itorres has quit [(Ping timeout: 264 seconds)]
Kallegro[m] has quit [(Ping timeout: 264 seconds)]
davidar has quit [(Ping timeout: 264 seconds)]
benkolera has quit [(Ping timeout: 264 seconds)]
hl has quit [(Ping timeout: 264 seconds)]
sphalerite has quit [(Ping timeout: 264 seconds)]
Khorne[m]1 has quit [(Ping timeout: 255 seconds)]
AlanPearce[m] has quit [(Ping timeout: 255 seconds)]
retrry[m] has quit [(Ping timeout: 255 seconds)]
akavel[m] has quit [(Ping timeout: 255 seconds)]
primeos[m] has quit [(Ping timeout: 255 seconds)]
Arcaelyx has joined #nixos
ipj[m] has quit [(Ping timeout: 252 seconds)]
FRidh[m] has quit [(Ping timeout: 252 seconds)]
danbst[m] has quit [(Ping timeout: 252 seconds)]
Manish[m] has quit [(Ping timeout: 252 seconds)]
smbarte2[m] has quit [(Ping timeout: 252 seconds)]
AsherGottlieb[m] has quit [(Ping timeout: 252 seconds)]
sziszi[m] has quit [(Ping timeout: 252 seconds)]
gudea[m] has quit [(Ping timeout: 252 seconds)]
EB[m] has quit [(Ping timeout: 252 seconds)]
thomad[m] has quit [(Ping timeout: 252 seconds)]
seif[m] has quit [(Ping timeout: 252 seconds)]
qrilka[m] has quit [(Ping timeout: 252 seconds)]
zoya-kosova[m] has quit [(Ping timeout: 252 seconds)]
kainospur[m] has quit [(Ping timeout: 252 seconds)]
mankyKitty[m] has quit [(Ping timeout: 252 seconds)]
edef[m] has quit [(Ping timeout: 252 seconds)]
teh[m] has quit [(Ping timeout: 276 seconds)]
lecorpsnoir[m] has quit [(Ping timeout: 276 seconds)]
Dezgeg[m]1 has quit [(Ping timeout: 276 seconds)]
zigschots20[m] has quit [(Ping timeout: 276 seconds)]
nocent has quit [(Ping timeout: 276 seconds)]
Ralith has quit [(Ping timeout: 276 seconds)]
mudri[m] has quit [(Ping timeout: 276 seconds)]
marusich has joined #nixos
paraseba has joined #nixos
yastero has joined #nixos
michaelpj has joined #nixos
<maxp> I have seen people setup emacs where many emacs dependencies are managed by Nix in configuration.nix. Can someone pastebin their 17.09 compatible configuration?
Dr8128 has joined #nixos
jgt has joined #nixos
dhess has quit [(Remote host closed the connection)]
townsend has joined #nixos
leat has quit [(Ping timeout: 240 seconds)]
jgt has quit [(Ping timeout: 260 seconds)]
maxp has quit [(Ping timeout: 260 seconds)]
bitchecker has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] taku0 opened pull request #32198: firefox: 57.0 -> 57.0.1, firefox-esr: 52.5.0esr -> 52.5.1esr (master...firefox-bin-57.0.1) https://git.io/vbLk0
NixOS_GitHub has left #nixos []
asuryawanshi has joined #nixos
bitchecker has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/a88146d308f (from 27 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<guillaum3> a nix build is impure when it comes to the "nix" executable used, or there is a kind of "bootstrap" which uses the "nix" executable from the currently used "nixpkgs"?
leat has joined #nixos
dan_b has joined #nixos
erictapen has quit [(Ping timeout: 250 seconds)]
bennofs has quit [(Ping timeout: 258 seconds)]
<orivej> guillaum3: AFAIK nixos-rebuild performs such bootstrap, but nix itself does not
bennofs has joined #nixos
ylwghst has joined #nixos
dan_b has quit [(Ping timeout: 255 seconds)]
zzamboni has quit [(Quit: Leaving.)]
Dr8128 has quit [(Ping timeout: 240 seconds)]
catch22 has quit [(Remote host closed the connection)]
catch22 has joined #nixos
<ocharles> Fixed my NixOps problem. The state file contains the access key, so all invocations have to use the same access key
Dr8128 has joined #nixos
catch22 has quit [(Remote host closed the connection)]
ylwghst has quit [(Ping timeout: 255 seconds)]
ylwghst has joined #nixos
bennofs has quit [(Ping timeout: 255 seconds)]
cybrian has joined #nixos
mr_sm1th has joined #nixos
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] edolstra closed pull request #32188: amazon-image: use NTP provided by the hypervisor (master...copumpkin-aws-ntp) https://git.io/vbIKk
NixOS_GitHub has left #nixos []
catch22 has joined #nixos
catch22 has quit [(Remote host closed the connection)]
vcunat has quit [(Ping timeout: 264 seconds)]
Thra11 has joined #nixos
bennofs has joined #nixos
zzamboni has quit [(Ping timeout: 250 seconds)]
Turion1 has quit [(Ping timeout: 276 seconds)]
zzamboni has joined #nixos
<guillaum3> orivej: thank you.
magnetophon has quit [(Remote host closed the connection)]
bennofs has quit [(Read error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] jtojnar closed pull request #32193: kitty update 0.5.0 (master...kitty) https://git.io/vbI7G
NixOS_GitHub has left #nixos []
Dr8128 has quit [(Ping timeout: 252 seconds)]
primeos has quit [(Ping timeout: 240 seconds)]
vcunat has joined #nixos
Dr8128 has joined #nixos
magnetophon has joined #nixos
Ivanych has quit [(Quit: Leaving.)]
primeos has joined #nixos
Ivanych has joined #nixos
erictapen has joined #nixos
duncan^ has quit [(Quit: WeeChat 1.9.1)]
Dr8128 has quit [(Ping timeout: 250 seconds)]
ipj[m] has joined #nixos
Dr8128 has joined #nixos
proteusguy has joined #nixos
rodgort has quit [(Quit: Leaving)]
electrocat has left #nixos []
townsend has quit [(Ping timeout: 240 seconds)]
romildo has quit [(Quit: Leaving)]
townsend has joined #nixos
rodgort has joined #nixos
duncan^ has joined #nixos
duncan^ has quit [(Changing host)]
duncan^ has joined #nixos
freusque has quit [(Ping timeout: 264 seconds)]
duncan^ has quit [(Client Quit)]
iyzsong has quit [(Ping timeout: 240 seconds)]
cornu[m] has joined #nixos
nixo[m] has joined #nixos
unlmtd has joined #nixos
jyp[m] has joined #nixos
ArdaXi[m] has joined #nixos
hexkey[m] has joined #nixos
kitten[m] has joined #nixos
sirius[m] has joined #nixos
abbafei[m] has joined #nixos
moredhel1 has joined #nixos
grahamc has joined #nixos
Phyra[m] has joined #nixos
jluttine[m] has joined #nixos
mankyKitty[m] has joined #nixos
regnat[m] has joined #nixos
primeos[m] has joined #nixos
aspiwack[m] has joined #nixos
johnwhitlow[m] has joined #nixos
peterhoeg has joined #nixos
berot3[m] has joined #nixos
codyopel has joined #nixos
davidar has joined #nixos
NickHu has joined #nixos
WilliamHamilton has joined #nixos
bachp has joined #nixos
mith[m] has joined #nixos
timclassic has joined #nixos
Nobabs27[m] has joined #nixos
hendrik[m]1 has joined #nixos
rihardsk[m] has joined #nixos
ConorCurry[m] has joined #nixos
zoya-kosova[m] has joined #nixos
pstn has joined #nixos
the_m4ur1[m] has joined #nixos
wak-work has joined #nixos
adisbladis[m] has joined #nixos
Kallegro[m] has joined #nixos
baconicsynergy[m has joined #nixos
M-liberdiko has joined #nixos
wzy8L-B2[m] has joined #nixos
demyan[m] has joined #nixos
rycee has joined #nixos
nh2[m] has joined #nixos
peel[m] has joined #nixos
octalsrc[m] has joined #nixos
sudoreboot[m] has joined #nixos
moredread[m] has joined #nixos
teh[m] has joined #nixos
AlanPearce[m] has joined #nixos
matrixkrav has joined #nixos
Li[m] has joined #nixos
Elephant454[m] has joined #nixos
itorres has joined #nixos
trikl[m] has joined #nixos
olejorgenb[m] has joined #nixos
copumpkin has joined #nixos
ison[m] has joined #nixos
Geeky[m] has joined #nixos
randomenduser[m] has joined #nixos
Johnny44[m] has joined #nixos
noctuid has joined #nixos
kevincox has joined #nixos
tokudan[m] has joined #nixos
rnhmjoj[m] has joined #nixos
AndersonTorres[m has joined #nixos
das-g[m] has joined #nixos
YuFanLovezYou[m] has joined #nixos
FRidh[m] has joined #nixos
reactormonk[m] has joined #nixos
myklam[m] has joined #nixos
herzmeister[m] has joined #nixos
lecorpsnoir[m] has joined #nixos
viaken[m] has joined #nixos
sargon[m] has joined #nixos
mudri[m] has joined #nixos
florianjacob has joined #nixos
Wysteriary[m] has joined #nixos
a123123123[m] has joined #nixos
necronian has joined #nixos
magnap has joined #nixos
thematter[m] has joined #nixos
retrry[m] has joined #nixos
spacekitteh[m] has joined #nixos
aminech[m] has joined #nixos
MawKKe[m] has joined #nixos
edef[m] has joined #nixos
Drakonis[m] has joined #nixos
dpc has joined #nixos
hl has joined #nixos
qrilka[m] has joined #nixos
benkolera has joined #nixos
revoltmedia[m] has joined #nixos
spawnthink[m] has joined #nixos
nocent has joined #nixos
fearlessKim[m] has joined #nixos
wmertens[m] has joined #nixos
Obscurity[m] has joined #nixos
freeman42x has joined #nixos
bdimcheff has joined #nixos
kainospur[m] has joined #nixos
dtz has joined #nixos
bennofs[m] has joined #nixos
apocolocyntos[m] has joined #nixos
krawiec[m] has joined #nixos
bhipple[m] has joined #nixos
yochai[m] has joined #nixos
jsv[m] has joined #nixos
aaronc[m] has joined #nixos
wizek[m] has joined #nixos
TimePath has joined #nixos
WinterFox[m] has joined #nixos
puffnfresh has joined #nixos
Phil[m]1 has joined #nixos
danbst[m] has joined #nixos
dkellner[m] has joined #nixos
aniketd[m] has joined #nixos
pvn[m] has joined #nixos
sk23[m] has joined #nixos
Dezgeg[m] has joined #nixos
JameySharp[m] has joined #nixos
AmineChikhaoui[m has joined #nixos
Sovereign_Bleak has joined #nixos
Pneumaticat has joined #nixos
pierrebeaucamp[m has joined #nixos
Yaniel has joined #nixos
Oo[m] has joined #nixos
mpuppe[m] has joined #nixos
equalunique[m] has joined #nixos
paperdigits[m] has joined #nixos
onito[m] has joined #nixos
patrl has joined #nixos
admin[m] has joined #nixos
bendlas has joined #nixos
etcinit[m] has joined #nixos
dash1 has joined #nixos
malteof[m] has joined #nixos
fgaz[m] has joined #nixos
seif[m] has joined #nixos
stites[m] has joined #nixos
taohansen has joined #nixos
mtncoder[m] has joined #nixos
chreekat[m] has joined #nixos
zigschots20[m] has joined #nixos
AdamSlack[m] has joined #nixos
trevorriles[m] has joined #nixos
chominist[m] has joined #nixos
musicmatze[m] has joined #nixos
thomad[m] has joined #nixos
mrdaak[m] has joined #nixos
Ralith has joined #nixos
scott1 has joined #nixos
DIzFer[m] has joined #nixos
tommyangelo[m] has joined #nixos
ycy[m] has joined #nixos
M-berdario has joined #nixos
Leo[m]2 has joined #nixos
dibblego[m] has joined #nixos
sphalerite has joined #nixos
efx[m] has joined #nixos
hedning[m] has joined #nixos
Barnabas[m] has joined #nixos
cifra[m] has joined #nixos
offlinehacker[m] has joined #nixos
EuAndreh[m] has joined #nixos
wizzup[m] has joined #nixos
StuK[m] has joined #nixos
Vincenzo[m] has joined #nixos
jack[m] has joined #nixos
r3mfKm[m] has joined #nixos
indefini has joined #nixos
dalaing has joined #nixos
dylanjust[m] has joined #nixos
xurxo[m] has joined #nixos
icetan has joined #nixos
EB[m] has joined #nixos
M-fishy has joined #nixos
sjm[m] has joined #nixos
guest521[m] has joined #nixos
corngood has joined #nixos
ninegua[m] has joined #nixos
AllanDaemon[m] has joined #nixos
sziszi[m] has joined #nixos
voobscout[m] has joined #nixos
tobim[m] has joined #nixos
AsherGottlieb[m] has joined #nixos
Deleh[m] has joined #nixos
akavel[m] has joined #nixos
Khorne[m] has joined #nixos
jlle[m] has joined #nixos
mhsjlw[m] has joined #nixos
PlasmaStrike[m] has joined #nixos
gudea[m] has joined #nixos
petersjt014[m] has joined #nixos
Manish[m] has joined #nixos
smbarte2[m] has joined #nixos
Singularity[m] has joined #nixos
danielrf has joined #nixos
<patrl> Hi all. Does anyone have a confirmed working wireguard configuration on 17.09?
<makefu> Mic92: ^
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] ilya-kolpakov opened pull request #32202: pythonPackages.quandl: 3.0.0 -> 3.2.1 (master...python-quandl) https://git.io/vbLG2
NixOS_GitHub has left #nixos []
<patrl> an equivalent wg0.conf works just fine on fedora
jtojnar has quit [(Ping timeout: 260 seconds)]
<Mic92> I think andi- has used the wireguard module. I have wrote a systemd-networkd patch instead.
Phillemann has joined #nixos
<Phillemann> Just wondering, is there a pretty-printer for .nix files?
<patrl> @Mic92 your patch is in 17.09?
<Mic92> patrl: it is not even in systemd yet
<gchristensen> Phillemann: `indent` does _ok_
<patrl> @Mic92 ahhh
jtojnar has joined #nixos
<patrl> @Mic92 weirdly, starting wireguard manually using wg-quick doesn't work for me on NixOS either
romildo has joined #nixos
<patrl> @Mic92 I guess I just need to wait for support tot mature
<Mic92> we are doing not much magic with wireguard in nixos, you can probably also ask in the #wireguard channel for help
freusque has joined #nixos
<patrl> yeah good idea
Myrl-saki has joined #nixos
<pmeunier> gchristensen: thanks! I just cargo-published a version that (really) gets rid of the infinite loops
<Phillemann> Hm, when I put a haskell project into a docker container (which calls copy-closure I presume) I end up with a huge image containing ghc and gcc.
<pmeunier> while still computing a fixpoint
<gchristensen> ohh
<gchristensen> I'll have to update, but I'm not looking forward to fixing those rebase conflicts again :$
<gchristensen> any chance you could eliminate the merge from your branch?
<pmeunier> I guess it's in a mergeable state now
vandenoever has quit [(Ping timeout: 268 seconds)]
<romildo> When I use Noto Sans as the default font on my unstable NixOS system, firefox shows numerals (in the search input box for instance) in a language I do not know. See https://snag.gy/pVXtuc.jpg
jtojnar has quit [(Quit: jtojnar)]
<romildo> Any clues?
oida has quit [(Ping timeout: 264 seconds)]
Dr8128 has quit [(Ping timeout: 246 seconds)]
FRidh has joined #nixos
pxc2 has joined #nixos
<sphalerite> romildo: idk, but nice lol
orivej has quit [(Ping timeout: 276 seconds)]
<Myrl-saki> Does anyone here use Nix for Emacs config?
<Myrl-saki> s/config/deps/
oida has joined #nixos
<etu> Myrl-saki: Yes-ish using home-manager
<Myrl-saki> etu: Ah.
<etu> Myrl-saki: https://github.com/etu/nixconfig/blob/master/home-etu-nixpkgs/home.nix#L47-L92 I install packages using home-manager and copy my configs in my home dir using home-manager
ylwghst has quit [(Remote host closed the connection)]
pxc2 has quit [(Ping timeout: 240 seconds)]
Dr8128 has joined #nixos
jgt has joined #nixos
catch22_ has joined #nixos
jgt has quit [(Ping timeout: 260 seconds)]
Dr8128 has quit [(Ping timeout: 248 seconds)]
Dr8128 has joined #nixos
ylwghst has joined #nixos
Dr8128 has quit [(Ping timeout: 248 seconds)]
reinzelmann has quit [(Quit: Leaving)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #32198: firefox: 57.0 -> 57.0.1, firefox-esr: 52.5.0esr -> 52.5.1esr (master...firefox-bin-57.0.1) https://git.io/vbLk0
NixOS_GitHub has left #nixos []
cybrian has quit [(Read error: Connection reset by peer)]
cybrian has joined #nixos
kier has quit [(Remote host closed the connection)]
pi3r has joined #nixos
ylwghst has quit [(Ping timeout: 268 seconds)]
ma27 has joined #nixos
romildo has quit [(Quit: Leaving)]
<pi3r> I would like some help or resource pointer about how to deal with caching in haskell.
<pi3r> I am using such a file: http://nixpaste.lbr.uno/niJP1JG1
<Yaniel> then I recommend asking in a haskell channel
<Yaniel> oh, you mean caching haskell libs in nix
ylwghst has joined #nixos
<pi3r> But there are a couple of problem with it. When I use a local package from my disk, every change is doing a full rebuild but then the shell is using the old derivation unless I change the cabal version
<pi3r> This is a first problem because it forces me to artificially change the cabal version to be sure I am using what has been rebuilt ...
<Myrl-saki> etu: Just eralized your followup messages. Thanks. Checking now.
jonascarpay has joined #nixos
<pi3r> I also have caching problem when using the callCabal2nix version. The cabal is not updated and consequently even when changing the sha, I still get the cached derivation
freusque has quit [(Ping timeout: 264 seconds)]
<pi3r> I mean the cabal version is not updated. Sorry
Dr8128 has joined #nixos
<pi3r> So how can I learn to get a proper setup that does not require me to change the cabal version ...
<pi3r> whenever I want to be sure to have the latest derivation (corresponding to the sha256 when using callCabal2nix) and also locally. I guess there is some trick that I still don't know about.
<pi3r> Is it a parameter I can pass to nix-shell to say "don't use any caching version ?"
<pi3r> One way to do it I guess is to force an override with a different cabal version in release.nix but it looks like an heavy solution somehow.
jtojnar has joined #nixos
<pi3r> another anomaly is that a local built displays a message "warning: dumping very large path (> 256 MiB); this may run out of memory". Without any consequence but quite annoying.
<pi3r> A third anomaly is the fact that it keeps asking for an internet connection. That slows down "nix-shell bin/release.nix" quite a lot on the train (where I don't have an internet connection)
<gchristensen> "
<gchristensen> [13:39] [34] [irc/freenode] 25:pmeunier [H: 19(2,1), 22]
<gchristensen> oops...
cybrian has quit [(Read error: Connection reset by peer)]
aloiscochard has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] copumpkin deleted copumpkin-aws-ntp at 5fd528d: https://git.io/vbLlV
NixOS_GitHub has left #nixos []
vcunat has quit [(Ping timeout: 240 seconds)]
<__Sander__> hmm really dumb
<__Sander__> a package-lock.json file provides integrity hashes for almost everything, but not for git checkouts :p
peacememories has joined #nixos
<gchristensen> see-no-evil.jpg, __Sander__
<jonascarpay> I am new to Nix, and I want to use zsh + oh-my-zsh on my mac. How would I go about this/does anyone have an example config?
<tokudan[m]> is there a reason that release-17.09 seems to be stuck? hydra finishes the builds, but the channel does not seem to advance
freusque has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
Dr8128 has quit [(Ping timeout: 260 seconds)]
proteusguy has quit [(Ping timeout: 240 seconds)]
jtojnar has joined #nixos
zzamboni has quit [(Quit: Leaving.)]
<pi3r> @jonascarpay I am using such a setting on linux here: https://github.com/CIRB/devbox/blob/master/system/configuration.nix. It might be helpful.
jtojnar has quit [(Remote host closed the connection)]
<jonascarpay> pi3r: neat, thanks
jtojnar has joined #nixos
Thra11 has quit [(Ping timeout: 250 seconds)]
adamt_ has joined #nixos
adamt has quit [(Read error: Connection reset by peer)]
zzamboni has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
jtojnar has quit [(Remote host closed the connection)]
Dr8128 has joined #nixos
duncan^ has joined #nixos
duncan^ has quit [(Changing host)]
duncan^ has joined #nixos
zzamboni has quit [(Ping timeout: 248 seconds)]
trevorcook has joined #nixos
cybrian has joined #nixos
Neo-- has joined #nixos
adamt_ has quit [(Ping timeout: 240 seconds)]
<gchristensen> tokudan[m]: fixed
<eraserhd> how long on average until a nixpkgs change becomes available?
<gchristensen> I don't have a good average for you but http://channels.nix.gsc.io/graph.html
<gchristensen> or you can take the delta between the timestamps (second column) of https://channels.nix.gsc.io/nixos-17.09/history (pick your favorite channel) and calculate an average
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/f9390d652f9 (from 20 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<gchristensen> tokudan[m]: ok _really_ fixed now
<tokudan[m]> gchristensen: thanks :)
<gchristensen> all Eelco's doing :)
mgttlinger has joined #nixos
<mgttlinger> Hi, I'm currently troubleshooting my laptop because after reboot it doesn't detect my wifi card anymore. I tried booting old generations of my system but the wifi chip wasn't detected there either. Any idea how I could have broken my system?
jonascarpay has quit [(Quit: leaving)]
<eraserhd> LnL: What if we just guard bash_completion with a bash version check?
<mgttlinger> not detected in the sense "missing from lspci output"
Myrl-saki has quit [(Read error: Connection reset by peer)]
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
patrl has quit [(Quit: WeeChat 1.9.1)]
cybrian has quit [(Read error: Connection reset by peer)]
<FRidh> error: while setting up the build environment: unable to load seccomp BPF program: Invalid argument
Dr8128 has quit [(Ping timeout: 268 seconds)]
<FRidh> This error I got when installing Nix 1.12 on an older Red Hat. Is this due to a certain requirement on the kernel or...?
<FRidh> hmm guess its because the kernel is compiled without CONFIG_SECCOMP
Dr8128 has joined #nixos
asuryawa_ has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
erictapen has joined #nixos
<trevorcook> Hey all, I'm running into trouble entering a nix-shell that relies on gnuTLS. during the testing phase of gnuTLS, I encounter several fails when trying to STARTTLS over several protocols: ftp, pop3, lmtp, etc.
Dr8128 has quit [(Ping timeout: 240 seconds)]
<trevorcook> I pasted the nix-shell log here: https://pastebin.com/GfNF2yCM
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<trevorcook> any suggestions?
patrl has joined #nixos
<sphalerite> If I have a tiny little haskell program (single file) that I've just been compiling with `nix-shell -p 'ghc.withPackages (ps: with ps; [ foo bar baz ])' --run 'ghc blarg.hs'`, how would I write a nix expression for it?
ylwghst has quit [(Ping timeout: 240 seconds)]
<srhb> sphalerite: If you really don't want to use cabal, with mkDerivation and then exactly the same, copying the output to $out
<srhb> sphalerite: The normal builder uses cabal and is quite clean.
davidak has quit [(Quit: Leaving.)]
<sphalerite> Or rather: what would a good nix expression for it look like?
cybrian has joined #nixos
* sphalerite sent a long message: sphalerite_2017-11-30_15:00:58.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/KcXYmllsbNSdIDbyAusMycNO>
<sphalerite> ^ what I actually have right now
<srhb> sphalerite: That should be fine I think?
<sphalerite> I just don't like how JuicyPixels is pulled in without being listed in the arguments
<sphalerite> it certainly works, I just don't think it's very nice :p
ylwghst has joined #nixos
<srhb> sphalerite: It's in ghc, therefore it's in the arguments. :)
henry__ has joined #nixos
<sphalerite> well by the same reasoning you could just have every package take { pkgs }:
pie_ has quit [(Ping timeout: 268 seconds)]
<srhb> True. But the dependency between ghc and the packages of that specific ghc version is quite strong.
<tnks> is there a new way to get the sha256 of a download?
<srhb> tnks: Newer than what?
<tnks> I'm still doing the old way of putting in a dummy sha256 and getting the error message.
<srhb> tnks: nix-prefetch-url and friends
<tnks> (which at one timea, I believe was the "official way")
<tnks> maybe it wasn't... but I see that nix-prefetch-url will work.
bfrog has joined #nixos
<sphalerite> it is from the library to ghc, but not the other way
<srhb> sphalerite: Not sure what you mean. ghc-pkg needs to know the package.
<sphalerite> tnks: there's nix-build --hash in nixUnstable, which is sort of like the old approach except it will only download it once
<sphalerite> i.e. it builds it, works out the hash, then puts it in the appropriate store path and tells you what the hash is so that it's already built for the next time you build it, with the correct hash that time
<knedlsepp> Hi! I've got a Makefile that tries to call `$(os)-$(arch)`. I would like to export bash functions `os` and `arch` that would return that, but somehow I can't get it to work. Any suggestions?
endformationage has joined #nixos
<sphalerite> knedlsepp: those are make variables, not commands, IIUC
<sphalerite> knedlsepp: try make os=foo arch=bar
Harpalus has joined #nixos
<mgttlinger> FYi my network issues got resolved by taking the network card out and putting it in again so it seems is must have been some kind of connectivity issue.
zzamboni has joined #nixos
Harpalus has quit [(Client Quit)]
ylwghst has quit [(Quit: Lost terminal)]
<sphalerite> On the topic of nix-build --hash — just submitted this issue (thanks for reminding me tnks ), everyone please weigh in if you have an opinion and like nix-build --hash! https://github.com/NixOS/nix/issues/1706
FRidh has quit [(Quit: Konversation terminated!)]
bkchr has joined #nixos
ylwghst has joined #nixos
patrl has quit [(Ping timeout: 240 seconds)]
pie_ has joined #nixos
<bkchr> Hi, I want to package a python application with buildPythonApplication. That works to far, but if I execute the program, I get the following error: https://pastebin.com/qeTHXs7w Already added gtk3 pyxdg to propagatedBuildInputs
<sphalerite> why did nixos-17.03 update 2 days ago? O.o
patrl has joined #nixos
<sphalerite> bkchr: you might need wrapGAppsHook. Not sure though
pie__ has joined #nixos
pie_ has quit [(Remote host closed the connection)]
<sphalerite> (just add it to nativeBuildInputs)
adamt has quit [(Ping timeout: 240 seconds)]
<bkchr> sphalerite: nice, that was the solution. what is wrapGAppsHook doing?
<sphalerite> bkchr: magic. I honestly don't know the exact details, just that it adds some env vars that fix GTK libraries magically
<sphalerite> looking at the wrapper script it generates for your application might enlighten you at least a little bit
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/ee428d49a7f (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
zzamboni has quit [(Ping timeout: 248 seconds)]
ylwghst has quit [(Read error: Connection reset by peer)]
patrl1 has joined #nixos
ylwghst has joined #nixos
ylwghst has quit [(Client Quit)]
ylwghst has joined #nixos
patrl has quit [(Ping timeout: 240 seconds)]
Slabity35 has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
<bkchr> hmm okay :D
<infinisil> Oh my god, I just packaged something in the first try! That is: write nix file in one go, nix-build, and it runs!
<infinisil> Didn't even run nix-build twice to get the correct sha256
bitchecker has quit [(Remote host closed the connection)]
bitchecker has joined #nixos
<srhb> infinisil: That's cheating. Minus five points.
<LnL> eraserhd: do you mean at runtime or during activation?
freusque has quit [(Quit: WeeChat 1.9.1)]
vcunat has joined #nixos
ma27 has quit [(Ping timeout: 250 seconds)]
<trevorcook> Hey again. I 'm stuck and could really use some help. If anybody has any advice I'd really appreciate it.
<trevorcook> Here's my problem again... I'm running into trouble entering a nix-shell that relies on gnuTLS. during the testing phase of gnuTLS, I encounter several fails when trying to STARTTLS over several protocols: ftp, pop3, lmtp, etc. Shell output here: https://pastebin.com/GfNF2yCM
ylwghst has quit [(Ping timeout: 248 seconds)]
jgt has joined #nixos
patrl1 has quit [(Ping timeout: 240 seconds)]
Thra11 has joined #nixos
Sonarpulse has joined #nixos
jgt has quit [(Ping timeout: 255 seconds)]
mrkgnao has quit [(Ping timeout: 260 seconds)]
dbmikus has joined #nixos
ylwghst has joined #nixos
<hyper_ch> python is just too complicated for simple brains like mine :(
typeggzero has joined #nixos
<typeggzero> my wacom tablett need 4.11 kernel, when does it arrive?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Synthetica9 opened pull request #32208: j: 701_b -> 806 (master...master) https://git.io/vbLiU
NixOS_GitHub has left #nixos []
<hyper_ch> typeggzero: unstable should have it
erasmas has joined #nixos
<typeggzero> hyper_ch will try, ty
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
<hyper_ch> and using latest kernel on unstable (instead of default kernel) will give you 4.14.2
Sonarpulse has quit [(Ping timeout: 250 seconds)]
<hyper_ch> I think default unstable is 4.13 but not sure though
<typeggzero> k ty
<eraserhd> LnL: at runtime
<tk_> Is there a way to have nix use a compiler besides clang on macOS?
<nliadm> ocamlnet is failing for me on nixpkgs-unstable
Thra11 has quit [(Quit: IRC for Sailfish 0.9)]
<hyper_ch> what's ocamlnet?
<nliadm> `ocaml4.04.2-ocamlnet-4.1.4`
<nliadm> bindings to gnutls, at least
takle has joined #nixos
pie__ has quit [(Read error: Connection reset by peer)]
pie_ has joined #nixos
crooksey has quit [(Remote host closed the connection)]
dmi3y has joined #nixos
hotfuzz has joined #nixos
<nliadm> https://pastebin.com/RcfiDBUK I don't have time to poke at it
<nliadm> I'm trying to build google-drive-ocamlfuse
hotfuzz_ has quit [(Ping timeout: 250 seconds)]
<hyper_ch> no idea.... an option would be to test if it works fine on unstable-small
ris has joined #nixos
nuncanada has joined #nixos
<ris> what's the neatest way of running a nixos vm on a non-nixos (yet heavily nix-using) linux system?
<MichaelRaskin> I think it is feasible to build a NixOS instance, then use its nixos-rebuild to run nixos-rebuild buildvm
<ris> (i.e. in an ideal world qemu-vm would work in non-nixos...)
<hyper_ch> ris: qemu? virt-manager?
<hyper_ch> or replace thge non-nixos with nixos :)
<ris> yeah... sure... just hoped there was a less manual way of doing it
<hyper_ch> less manual way for?
<ris> seeing as i have Nix on my host machine
spietz has joined #nixos
<hyper_ch> does it have to be a vm?
<hyper_ch> ah, seems nixos containers only run on nixos
<ris> yup
<Dezgeg> nixos vms can be built on non-nixos, documentation on that might be lacking though
<ris> basically i want to be able to have the "full nixos experience" from time to time, but not have it as my master os
<Dezgeg> since there is no nixos-rebuild indeed (unless you build it manually)
<ris> Dezgeg: cool!
pi3r has quit [(Ping timeout: 260 seconds)]
pxc2 has joined #nixos
<hyper_ch> why not have full-time nixos-experience?
<ris> let's not go into that
bordel has joined #nixos
<Dezgeg> maybe it's possible to do nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-rebuild and do build-vm from that?
<hyper_ch> I recently migrated our office server to nixos :)
<ris> hardware, encrypted-root setup & all that...
<hyper_ch> fully root encrypted 3-disk mirror zfs nixos
<ris> Dezgeg: iiiiinteresting i will dig a bit
<hyper_ch> (and remotely unlockable)
<bordel> hey guys!
<ris> hyper_ch: cool but i don't have time for that shit
<tilpner> ris - AFAIK build-vm won't give you a full nixos experience
bjarki has quit [(Read error: Connection reset by peer)]
<tilpner> (But maybe you can adapt the build result to give you one, don't know)
<bordel> I'm thinking about trying nixos for my new station, but I'd like to dig a bit into examples of people that did this, do you have any known repo on GH where someone put configs ?)
<hyper_ch> bordel: what do you need to run?
<tilpner> Hold on, there's a wiki entry for this
<bkchr> I'm trying to use PlayonLinux, but it thinks that my architecture is x86 and not x86_64
<hyper_ch> (and there's plenty of configuration.nix on github)
<bordel> everything to be able to dev and correctly work
<bordel> web,emails,term,...
<bordel> thanks a lot !
tomster has joined #nixos
SuprDewd has joined #nixos
<hyper_ch> tilpner: can anyone just be added?
<tilpner> hyper_ch - I don't see why not, but maybe consult #nixos-wiki about that
<eraserhd> LnL: So there's a little problem with installing Mac applications with nix... Mac will find old versions in /nix/store if they aren't purged!
<tomster> hey, if i find that a particular package has fixes on nixpgs/master but not yet on unstable - what's the recommended way to install just that package from master?
<goibhniu> tomster: you can find it on hydra and then use `nix-store -r /nix/store/hash` to install it
<goibhniu> you can find the hash in the out-path section on hydra
<tilpner> That seems way too hard
<goibhniu> ... or you could use a clone of nixpkgs
<tilpner> Just import master from GH and use that?
<tomster> tilpner: that sounds promising. .how would i do that?
<tilpner> tomster - Where/How do you want to use it?
<tomster> goibhniu: you mean just create a local clone and reference that via local path?
<goibhniu> AFAIK the one-click install feature on hydra hasn't been resurrected yet
<goibhniu> you can symlink a local clone of nixpkgs to e.g. ~/.nix-defexpr/github then install it using `nix-env -iA github.yer-package`
<tomster> tilpner: i have two use cases: a) i want to install postgis (which i found on nixpgs but when i try to install it with nix-env -i postgis it's not resolved and b) for the dropbox client (which i would like to add to my global configuration.nix
<tomster> goibhniu: that actually sounds pretty straight forward
<hyper_ch> tilpner: added myself... if it's not liked, someone else can edit me out again ;)
bordel has quit [(Quit: WeeChat 1.6)]
<tomster> goibhniu: would i be able reference that then from within my configuration.nix in the same way?
bordel has joined #nixos
drewr has joined #nixos
<goibhniu> I was wondering that too ... I'm not sure, but I'd try it like this: https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F
<goibhniu> there's definitely some way to do it though
Sonarpulse has joined #nixos
<goibhniu> I guess you just do github = import /path/to/my/nixpkgs {};
<goibhniu> instead of the unstable import
<tomster> then i basically would have three layers of stability
<goibhniu> you can also pin them to particular revisions, and all that
dash1 is now known as dash2
<vcunat> tomster: the unstable channel updated just about now
<vcunat> (BTW)
<tomster> vcunat: ah :) thx!
dash2 is now known as das4
catch22_ has quit [(Quit: Leaving)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/b9347167822 (from 8 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<tomster> goibhniu: if i understand nix correctly,
das4 is now known as dash
Sonarpulse has quit [(Client Quit)]
Sonarpulse has joined #nixos
<tomster> goibhniu: never mind, thanks again :)
<goibhniu> kk :D
szicari has joined #nixos
cybrian has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
__Sander__ has quit [(Quit: Konversation terminated!)]
peacememories has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
spietz has quit [(Ping timeout: 250 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] elasticdog opened pull request #32209: ansible: 2.4.1.0 -> 2.4.2.0 (master...ansible) https://git.io/vbLyu
NixOS_GitHub has left #nixos []
tomster has quit [(Ping timeout: 240 seconds)]
dmi3y has quit [(Quit: dmi3y)]
zzamboni has joined #nixos
dmi3y has joined #nixos
tomster has joined #nixos
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
spietz1 has joined #nixos
dmi3y has quit [(Ping timeout: 240 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
Dr8128 has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
marusich has quit [(Quit: Leaving)]
myguidingstar has joined #nixos
* eraserhd wonders why the chez commit from yesterday that makes it work on darwin is still not available on his system.
zzamboni has quit [(Quit: Leaving.)]
asuryawa_ has quit [(Remote host closed the connection)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zzamboni has joined #nixos
asuryawanshi has joined #nixos
<myguidingstar> how can I import some specific packages from nixpkgs-unstable channel to use in in my configuration.nix (while other packages remain to be from nixos channel)?
pie_ has quit [(Read error: Connection reset by peer)]
peacememories has joined #nixos
rogue_koder has joined #nixos
pie_ has joined #nixos
<steveeJ> myguidingstar: import the unstable nixpkgs and bind it to a variable. then put that packages prefixed with that variable in the systemPackages list
zzamboni has quit [(Client Quit)]
digitus has joined #nixos
<myguidingstar> steveeJ: I'm asking exactly how to do the part "import the unstable nixpkgs" :)
ris has quit [(Ping timeout: 248 seconds)]
<steveeJ> myguidingstar: add the https://nixos.org/channels/nixos-unstable channel as e.g. nixos-unstable, then you can do 'nixpkgsUnstable = import <nixos-unstable> {}' in your configuration.nix
<steveeJ> myguidingstar: add the channel via nix-channel. I have done that with sudo to make it available for all users, but I don't know if that's required
<srhb> myguidingstar: I do this: http://nixpaste.lbr.uno/CGQe1KTS?nix
<goibhniu> myguidingstar: the process is described here: https://nixos.wiki/wiki/FAQ#How_can_I_install_a_package_from_unstable_while_remaining_on_the_stable_channel.3F (although I think steveeJ has already explained it nicely)
<srhb> myguidingstar: (For a slightly different usecase)
<srhb> Lots of ways to achieve it..
schoppenhauer has quit [(Read error: Connection reset by peer)]
cement has joined #nixos
schoppenhauer has joined #nixos
townsend has quit [(Ping timeout: 240 seconds)]
cement has quit [(Ping timeout: 264 seconds)]
Dr8128 has quit [(Ping timeout: 240 seconds)]
page has joined #nixos
sigmundv__ has quit [(Ping timeout: 260 seconds)]
takle has quit [(Remote host closed the connection)]
pie_ has quit [(Ping timeout: 258 seconds)]
Dr8128 has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cybrian has joined #nixos
tomster has quit [(Ping timeout: 268 seconds)]
erictapen has joined #nixos
ma27 has joined #nixos
pie_ has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
slack1256 has joined #nixos
jsgrant has joined #nixos
<cocreature> hey, how do I search by attribute name using nix-env? 'nix-env -qA 'nix*' does something but it doesn’t seem to search by attribute name, e.g. it doesn’t show nixpkgs.nixUnstable
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
myguidingstar has quit [(Ping timeout: 260 seconds)]
slack1256 has quit [(Remote host closed the connection)]
<nliadm> it's a regex full match, iirc?
slack1256 has joined #nixos
<nliadm> so, 'nix.*'
cybrian has quit [(Read error: Connection reset by peer)]
<cocreature> doesn’t seem to work either
<cocreature> ah I think -qA only searches installed packages and -qaA tries to search for packages by name (not attribute name) inside of the attribute
goibhniu has quit [(Ping timeout: 240 seconds)]
<nliadm> yeah, that sounds right
<nliadm> I always end up doing `nix-env -qaP | less`
<nliadm> then regex search on that populated list
<cocreature> ah that’s a good tip, thanks!
<nliadm> it takes a hot second to evaluate that, though
sigmundv__ has joined #nixos
reinzelmann has joined #nixos
<sphalerite> Does anyone know thins about IPMI?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] michalrus opened pull request #32211: hubstaff: 1.2.14 → 1.2.15 (master...hubstaff) https://git.io/vbLAr
NixOS_GitHub has left #nixos []
abrar has quit [(Quit: WeeChat 1.9.1)]
<sphalerite> things*
zzamboni has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nix] dtzWill opened pull request #1707: ignore "interrupted" exception in progress callback (master...fix/issue-1692) https://git.io/vbLxP
NixOS_GitHub has left #nixos []
cement has joined #nixos
<dtzWill> ^ it's been a fun morning lol
<dtzWill> err, well now early afternoon. but you know :)
zzamboni has quit [(Quit: Leaving.)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/1332bf244c6 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
simendsjo has joined #nixos
<eraserhd> :q
<eraserhd> oops :/
mgttlinger has quit [(Quit: Connection closed for inactivity)]
aloiscochard has quit [(Quit: Connection closed for inactivity)]
mark__ has joined #nixos
<mark__> Hello!
<mark__> I am trying to install the font PragmataPro
<mark__> And I don't know how.
ThatDocsLady_ has quit [(Quit: Leaving)]
thblt has joined #nixos
Neo-- has quit [(Ping timeout: 246 seconds)]
thaega has quit [(Ping timeout: 240 seconds)]
bitchecker has quit [(Remote host closed the connection)]
bitchecker has joined #nixos
dmi3y has joined #nixos
edmn has joined #nixos
<edmn> Hello. I was sent here hoping to find how folks get interactive development envs working on nixos for Haskell. In particular, I'm having trouble getting ghc-mod to do the right thing.
<LnL> eraserhd: what eo you mean with old versions staying around?
asuryawa_ has joined #nixos
asuryawanshi has quit [(Read error: Connection reset by peer)]
dmi3y has quit [(Quit: dmi3y)]
thblt has quit [(Ping timeout: 240 seconds)]
FrozenCow has joined #nixos
FrozenCow has quit [(Remote host closed the connection)]
cybrian has joined #nixos
<boxofrox> gchristensen: wrt nix-rust/carnix, do you have a preference how to extract the build shell script? a) extract independent bits of shell code into one lib.sh file, sourced/used from a smaller build script generated in the nix file, b) extract shell functions into separate files (e.g. scripts/{build_bin,build_lib,noisily,etc}, c) none of the above
fikovnik has joined #nixos
<gchristensen> boxofrox: I guess I was thinking maybe a single script per build phase, but I'd leave it up to you, whatever way makes most sense but still lets my editor use its nice features for sanely editing shell
ma27 has quit [(Ping timeout: 240 seconds)]
<fikovnik> Hi, is there a way to list all outdated packages (both system and user profile)?
ssmike has quit [(Remote host closed the connection)]
ma27 has joined #nixos
sg2002 has joined #nixos
<boxofrox> gchristensen: i'll work toward a single script per build phase. thanks.
mark__ has quit [(Quit: Konversation terminated!)]
qmm has quit [(Quit: leaving)]
<gchristensen> boxofrox: thank _you_! that code is looking awesome
qmm has joined #nixos
_ris has joined #nixos
<boxofrox> fikovnik: not sure. try `sudo - root nix-env -qc` and `sudo - user nix-env -qc`. may have to `nix-channel --upgrade` first.
dmi3y has joined #nixos
Alling has joined #nixos
alexteves has joined #nixos
<Alling> Hello guys! How can I setup a samba service on my NixOS server which I can then access from Windows? I managed to do it on Ubuntu Server a year ago or so.
<Alling> I do have services.samba.enable = true; and I can connect to the samba service, but I don't know how to set username and password properly.
dmi3y has quit [(Client Quit)]
<Alling> I.e. Windows asks for username and password and I don't know how to set them.
roberth has joined #nixos
dmi3y has joined #nixos
jgt has joined #nixos
dmi3y has quit [(Client Quit)]
asuryawa_ has quit [(Remote host closed the connection)]
Harpalus has joined #nixos
sg2002 has quit [(Ping timeout: 240 seconds)]
asuryawanshi has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
fikovnik has quit [(Ping timeout: 260 seconds)]
mark__ has joined #nixos
<mark__> Sorry, I got distracted. Any hints on how to install Pragmata Pro?
sg2002 has joined #nixos
ma27 has quit [(Ping timeout: 250 seconds)]
ma27 has joined #nixos
thblt has joined #nixos
cement has quit [(Remote host closed the connection)]
asuryawanshi has quit [(Ping timeout: 240 seconds)]
<symphorien> how can I find out the drv file which /run/current-system orginated from ?
Harpalus has quit [(Quit: Leaving)]
<ToxicFrog> Alling: AFAIK nixos still uses the old smbpasswd mechanism
<ToxicFrog> Er, "old" compared to e.g. setting the credentials in configuration.nix or something
reinzelmann has quit [(Quit: Leaving)]
<ToxicFrog> So `smbpasswd -a` the user/password information you want
<sphalerite> hm, the matrix IRC bridge is being janky again
MP2E has joined #nixos
civodul has joined #nixos
<mark__> And also I am building this electron app and I can't seem to run the electron binary
ma27 has quit [(Ping timeout: 255 seconds)]
<mark__> The file './electron' does not exist or could not be executed.
<mark__> But it's there and it's executable
ma27 has joined #nixos
<samueldr> how are you making sure the file is there?
<mark__> Uh, I see it in ls
<mark__> but it seems like it's not so easy
<samueldr> file electron
<symphorien> "file not found" means the ELF interpreter is missing
<symphorien> ie you have to patchelf --set-interpreter ... it
<mark__> Where is that interpreter?
rihards has joined #nixos
<dtzWill> PR adding multilib clang support: https://github.com/NixOS/nixpkgs/pull/32215 ^_^
<symphorien> mark__: a "normal" ELF executable is not self contained, it is in fact run by an interpreter (which does the loading of the shared libraries etc. iirc) which you can find out with readelf. On FHS linux, for 64 bits it is usually in /lib but on nixos it is not located here. So a binary from somewhere else won't work on nixos
wajsel has joined #nixos
<mark__> I think I understand, and patchelf is a workaround?
<symphorien> it is a utility to edit the ELF executable to set the interpreter you want
<symphorien> (among other things)
<wajsel> hi, I tried to get the manpages for memcpy and time.h but can't figure out what package to install.
<wajsel> https://github.com/NixOS/nixpkgs/issues/15392 mentions some alternatives but I can't install them.
simendsjo has quit [(Ping timeout: 250 seconds)]
<mark__> but from what you are saying, most of the time these binaries don't come with an interpreter, right?
<eraserhd> LnL: yeah, with old versions staying around. But i've actually found that, no matter, Evernote and Anki don't want to work, unpacked from dmg.
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/6b8833df272 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<eraserhd> LnL: Evernote opens but doesn't show a window. I wonder if it is the binary timestamp or something.
<symphorien> mark__: on linux, they always do
<eraserhd> LnL: There's a way to tell spotlight not to index /nix. I'm going to look into it some time later.
patrl1 has joined #nixos
<mark__> This binary comes from node/npm so so I should have probably started the whole thing in a nix-shell.
<symphorien> I thought npm distributed source code and not executables ?
<mark__> This is electron.
<mark__> That one seems to be an exceptoin.
<mark__> there's also a nix package for it
<wajsel> I'm on channel 17.09
astronavt has joined #nixos
<symphorien> mark__: if there is a nix package for it, use it, it will probably ssave you a lot of work
<mark__> hmm that doesn't seem to have helped
<sphalerite> gchristensen: you had that colourful banner on boot, right?
<gchristensen> I did but it stopped working for some reason
<mark__> Ah cool
<mark__> I can then run electron
<mark__> and drag the folder on it
<mark__> great, that works for me :)
<sphalerite> gchristensen: I wrote a little program that turns an image into 256-colour escape sequence stuff https://gitlab.strathtech.co.uk/Society/nixos-config/blob/master/motds/pxl.hs
<gchristensen> nice!
<sphalerite> Won't work on fbcon of course because unicode and 256-colour
<sphalerite> but I thought it might be relevant nonetheless
<mark__> Thanks a lot symphorien for your explanations!
<sphalerite> (the use I have for it is that all of Strathtech's servers are named after pokemon and I want to display their sprites in the MOTDs 😛)
<symphorien> mark__: btw, did you read the (brief) section on node in the manual : https://nixos.org/nixpkgs/manual/#node.js-packages ?
astronavt has quit [(Ping timeout: 240 seconds)]
zzamboni has joined #nixos
<sphalerite> gchristensen: for extra fun you could draw to the framebuffer in the initrd!
<gchristensen> :o
<sphalerite> Although I guess that's what plymouth is for
<sphalerite> OTT we need a better plymouth theme
<LnL> eraserhd: I personally use very little gui stuff, but the stuff I've tested seemed to work fine
<samueldr> gchristensen: there's a chromium thing to display png to a framebuffer
<gchristensen> sorry y'all, I really can't talk right now, maybe later :)
gchristensen has left #nixos ["WeeChat 1.9"]
<LnL> eraserhd: as for spotlight, etc. indexing old stuff I'm not sure if it's possible to handle that
<earldouglas> When I run disnixos-env -s ... -n ... -d, it fails with "readlink: missing operand" and "dirname: missing operand". Is there a way to get more information about what's going wrong?
<earldouglas> I found a couple mentions of this on the Web, but without any detail or solutions.
<wajsel> I found this https://github.com/NixOS/nixpkgs/issues/15392 but I can't figure out what was actually agreed on. Does anyone know where to get the `man memcpy` or similar?
edmn has quit [(Remote host closed the connection)]
<manveru> no clue :|
<manveru> didn't even know they had manpages
<manveru> though i do know tcl functions have them
<wajsel> well I could google it, yes. But I don't understand why temper with the man pages?
catch22 has joined #nixos
<Dezgeg> 'nix-locate memcpy' -> man-pages and posix_man_pages
<wajsel> It's convenient because they agree with my system. If I google I will find "something"
<manveru> well, in that case install manpages.docdev
<wajsel> sorry but I can't find manpages.docdev
<manveru> hmm
<manveru> stdmanpages?
<wajsel> also where did you get nix-locate from? perhaps I have something wrong with my setup
<manveru> not sure if they restructured it
<manveru> never heard of it
<Dezgeg> it's from the nix-index package
<wajsel> to make sure I'm on 17.09 channel I did `sudo nix-channel --add https://nixos.org/channels/nixos-17.09 nixos` followed by `sudo nix-channel --update`
<wajsel> is there anything more I should do to update the package list?
<ylwghst> -quit
<manveru> nixos-rebuild switch
<wajsel> won't that rebuild and update what I already got installed? Is it also needed to update what I will see with nix-env qaP ... ?
sigmundv__ has quit [(Ping timeout: 248 seconds)]
<manveru> no, what you see in nix-env changes after you update the channel already
slack1256 has quit [(Remote host closed the connection)]
<manveru> i thought you want to update your packages :)
slack1256 has joined #nixos
<wajsel> :) no I wan't to find the package that installs the manpages for things like memcpy and time.h and similar
patrl1 has quit [(Ping timeout: 246 seconds)]
<manveru> `nix search manpages` :)
pie_ has quit [(Ping timeout: 240 seconds)]
<manveru> it's called stdmanpages, just tried it and it shows memcpy
<wajsel> @manveru ok I must have something wrong here then. And the rebuild did find quite a lot to rebuild so I'll see if that helps. Thanks.
zzamboni has quit [(Quit: Leaving.)]
cybrian has joined #nixos
sg2002 has quit [(Ping timeout: 248 seconds)]
trevorcook has quit [(Ping timeout: 260 seconds)]
dhess has joined #nixos
<dhess> Is there any precedent for exporting a function from a NixOS module?
<dhess> Basically I want to expose the configuration-generating function from a module, so that a user of the module can ask the module for its configuration and then deploy it to /run/keys or wherever
sg2002 has joined #nixos
<dhess> That would decouple configuration from where it's stored, and leave that up to the caller rather than the module.
vcunat has quit [(Quit: Leaving.)]
grumble has quit [(Quit: We don't want to hate and despise one another. In this world there is room for everyone. And the good earth is rich and can provide for everyone. The way of life can be free and beautiful, but we have lost the way.)]
wajsel has quit [(Ping timeout: 260 seconds)]
grumble has joined #nixos
<sphalerite> nixos-rebuild build-vm VMs don't seem to be working for me any more… they spend a while booting normally by the looks of it, then the screen just goes black. Any ideas what might be going on here? I've tried with an empty configuration as well
sg2002 has quit [(Ping timeout: 240 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
<clever> sphalerite: there is an option to also boot it without graphics in qemu-vm.nix, what happens then?
jtojnar has joined #nixos
wajsel has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
<Lisanna> quick question: can attrset arguments be recursive? i.e., a = { pkgs ? import <nixpkgs> {}, myChannel ? import <myChannel> { inherit pkgs; } }: dostuff;
<infinisil> Lisanna: There's a repl you can try this out with
<clever> Lisanna: i think they already are by default
sg2002 has joined #nixos
ylwghst has joined #nixos
takle has joined #nixos
<Lisanna> yep, did a quick test... that works how I expected it to. Obvious followup question: is the example I posted a "good practice" for importing other channels that themselves need nixpkgs?
<clever> Lisanna: the only improvement i can see is to instead use something like import <nixpkgs> { config={}; overlays=[]; }
<clever> which will force it to ignore the users config.nix and overlays
infinisil has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
<earldouglas> Anybody familiar with Disnix around?
<clever> after that, the only way you can harden it more is to fetch a fixed nixpkgs
<dtzWill> haha it's fun to see what y'all look like, matching faces -> names/aliases while watching NixCon videos :D
infinisil has joined #nixos
Phillemann has left #nixos ["WeeChat 1.9.1"]
Slabity35 has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
ylwghst has quit [(Remote host closed the connection)]
hariel has joined #nixos
alhariel has quit [(Ping timeout: 248 seconds)]
rihards has quit [(Quit: rihards)]
astronavt has joined #nixos
cybrian has joined #nixos
thblt has quit [(Ping timeout: 250 seconds)]
<Alling> ToxicFrog: Yes, seems so. I got it working by installing the samba package and running smbpasswd.
zzamboni has quit [(Quit: Leaving.)]
<sphalerite> clever: do you have any way of iterating more rapidly on netboot experiments? I'm finding it's taking quite a while each time to build the squashfs for an image and then another while to actually boot it, which is largely spend sending the initramfs
astronavt has quit [(Ping timeout: 252 seconds)]
<clever> sphalerite: you can also just boot the kernel+initrd in qemu with -kernel and -initrd
<clever> sphalerite: once you know the netboot stuff works, you can ignore it temporarily, and test locally
<clever> as for the squashfs, what part are you changing a lot?
sigmundv has joined #nixos
sg2002 has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
21WAAFZJC has joined #nixos
<21WAAFZJC> [nixpkgs] Mic92 closed pull request #32013: lumina: 1.3.0 -> 1.4.0-p1 (master...upd.lumina) https://git.io/vFhLD
21WAAFZJC has left #nixos []
32NABE3W3 has joined #nixos
<32NABE3W3> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbtcB
<32NABE3W3> nixpkgs/master 0345e5d José Romildo Malaquias: lumina: 1.3.0 -> 1.4.0-p1
<32NABE3W3> nixpkgs/master ef89332 Jörg Thalheim: Merge pull request #32013 from romildo/upd.lumina...
32NABE3W3 has left #nixos []
hiratara has quit [(Ping timeout: 276 seconds)]
hiratara has joined #nixos
<mark__> Any idea how I could get this guy to work? https://github.com/bulletmark/libinput-gestures
ylwghst has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
catch22 has quit [(Remote host closed the connection)]
<sphalerite> why would `pkgs.copyPathToStore <nixpkgs>` evaluate to a path which is a symlink to `.`, i.e. the nix store?
_ris is now known as ris
zzamboni has joined #nixos
<tilpner> Works here. What's your NIX_PATH?
<sphalerite> mark__: give me 5min, I'll write an expression for it
ylwghst has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
<tilpner> What are the known risks of allowing untrusted users to nix-build arbitrary expressions, with sandboxing enabled?
<sphalerite> tilpner: nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels also why can't I see your messages >_>
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] basvandijk opened pull request #32216: networkmanager_strongswan: fix package (master...networkmanager-strongswan) https://git.io/vbtlW
NixOS_GitHub has left #nixos []
<sphalerite> tilpner: people using your machine to mine bitcoins
<sphalerite> (fixed output derivation, so you get network access and ability to send them back home)
mark__ has quit [(Ping timeout: 264 seconds)]
<tilpner> sphalerite - What are you trying to do/What do you need copyPathToStore for?
szicari has quit [(Quit: szicari)]
<tilpner> (And what do you mean by not seeing my messages?)
frio has joined #nixos
<sphalerite> tilpner: I get why it's doing it now, it's because nixpkgs is indeed a symlink to `.` in the *nixos* channel dir
<sphalerite> tilpner: I wanted a simple way to get nixpkgs included into my netboot image
<tilpner> Couldn't you just have used <nixpkgs> instead?
<sphalerite> tilpner: I tried that before, same problem
<sphalerite> thought copyPathToStore might help, but no
* sphalerite sent a long message: sphalerite_2017-11-30_22:17:53.txt <https://matrix.org/_matrix/media/v1/download/matrix.org/tzogUsdzsfMSYDBHqGYrAMYd>
<sphalerite> ^ config snippet I'm using
<sphalerite> tilpner: as for not seeing your message, the matrix IRC bridge seems to be dropping some of them and I have to look at botbot.me/freenode/nixos to see them >_>
<catern> hey #nixos, what is the best (i.e. works best with Nix) build system for C code?
<catern> I am fine with a build system that is completely tied to Nix :)
<Lisanna> catern: autotools
<tilpner> Matrix has been really weird today. I had two clients open earlier, and Riot suddenly showed fewer outgoing messages than matrix.lua
<catern> okay, let me rephrase
<catern> what is the build system for C code that works best with Nix, and is not widely hated?
<Lisanna> catern: I love using autotools, but hate writing autotools :)
<catern> That is fair :)
<catern> I like using autotools as well
<catern> Hmm...
<dhess> catern: probably cmake, then.
<catern> I guess I should use autotools for my project :(
<catern> dhess: ugh
<catern> Yeah I guess cmake is the second best
<Lisanna> yeah, isn't there some cmake support in a stdenv somewhere?
<catern> and I don't like cmake!
<catern> OK, I guess autotools it is :(
<catern> Nix itself uses autotools right?
<Lisanna> catern: well, you didn't specify that *YOU* have to like it as a criteria :)
<catern> Fair :)
<tilpner> sphalerite - Try ${pkgs.path}
<Lisanna> Something I've done in the past is to write the build system itself in Nix
cybrian has joined #nixos
<catern> Lisanna: do you have an example of that?
wajsel has quit [(Quit: Page closed)]
<catern> Also, can anyone recommend, like, an easy way to create an autotools project?
<Lisanna> i.e. write a very simple bash script for each component that invokes $CC, and then use Nix to chain them all together nicely
<catern> autoautotools, perhaps :)
<Lisanna> catern: I've found autotools.io to be helpful
<Lisanna> as a reference
<sphalerite> tilpner: sounds good, I'll give it a shot!
<sphalerite> ugh, mark__ just left
<catern> oh well
<catern> I guess I can learn autotools and
<sphalerite> I mean, it's rude to ask a question and leave, but to ask a question, have someone say "I'll do that for you", then leave!?
<catern> convert all my projects to use it instead of hand-written makefiles
<catern> Lisanna: thanks for the pointers
<sphalerite> even better: nix function to compile a single C file ;)
<Lisanna> catern: soundslike a good plan, people will love you more if you give them source code that builds with autotools
<Lisanna> sphalerite: Eelco actually started something like that
<Lisanna> if you look on their github, there's a "nix-make" project
<tilpner> sphalerite - They had a ping timeout, it wasn't a part/quit
<catern> Lisanna: yeah, from 13 years ago :)
<sphalerite> Lisanna: yeah. Trouble is tracking header deps :(
<catern> sphalerite: can't you just IFD?
<sphalerite> tilpner: ok that's slsightly better then :p
<sphalerite> catern: yeah, but that's not pretty and you still need to parse it and get nix to understand it
hiratara has quit [(Quit: ZNC - http://znc.in)]
<sphalerite> tilpner: pkgs.path did the trick, thanks!
ma27 has quit [(Ping timeout: 240 seconds)]
hiratara has joined #nixos
<sphalerite> Do paths copied into a store from a binary cache retain their signatures?
jsgrant has quit [(Remote host closed the connection)]
jsgrant has joined #nixos
Wizek_ has joined #nixos
dbmikus has quit [(Quit: WeeChat 1.9.1)]
Alling has quit [(Quit: Page closed)]
simukis has quit [(Ping timeout: 250 seconds)]
jgt has quit [(Ping timeout: 240 seconds)]
Turion has joined #nixos
astronavt has joined #nixos
ma27 has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
cybrian has joined #nixos
astronavt has quit [(Ping timeout: 250 seconds)]
<bkchr> Does someone know if I can use fetchpatch to apply a patch in a subfolder?
jgt has joined #nixos
Turion has quit [(Remote host closed the connection)]
danl1240 has joined #nixos
gchristensen has joined #nixos
alexteves has quit [(Quit: My Mac Mini has gone to sleep. ZZZzzz…)]
orivej has joined #nixos
nuncanada has quit [(Ping timeout: 250 seconds)]
<sphalerite> Does anyone know what sort of functionality might be available to me through the ethernet port of a powered-off machine? I'm guessing the link isn't kept up (the lights are on) for no reason. The machine doesn't seem to have plain Wake-on-LAN though — couldn't find it anywehre in the BIOS settings, nor did `ethtool -s wol g` seem to enable it.
<sphalerite> (sorry for OT)
<Lisanna> sphalerite: I have no idea, but I'm interested in whatever you find out about that
ma27 has quit [(Ping timeout: 255 seconds)]
<sphalerite> I've tried IPMI, nothing from that
<sphalerite> http://sprunge.us/IaYP anybody seen this SSL error before!?
spietz1 has quit [(Ping timeout: 268 seconds)]
<Lisanna> that's a new one to me
<Lisanna> I'm not seeing that
<Lisanna> my best guess would be that you're behind an https proxy that's screwing you over?
<sphalerite> seems to be for all HTTPS sites
<sphalerite> well my laptop's on the same net as this machine and everything works fine there
<sphalerite> pretty sure it's a config issue, just… what? x)
<sphalerite> plain HTTP works fine
<LnL> you could test with other versions of cacert/curl from your store
<LnL> maybe something broke
<sphalerite> I don't have any
<sphalerite> this is a netbooted machine
* sphalerite reboots it
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<sphalerite> oh crap it's past 11pm
<sphalerite> I should probably go home and have dinner
<sphalerite> status update on the mysterious curl issue in ~30min! :)
<dtzWill> \o/
mariav has joined #nixos
schoppenhauer has quit [(Ping timeout: 240 seconds)]
wapl_ has quit [(Ping timeout: 248 seconds)]
wapl has joined #nixos
dan_b has joined #nixos
<Lisanna> what's the best pattern for avoiding things like shebang patching in specific files in stdenv's $out?
<Lisanna> i.e., want to do shebang patching by default, but not for a specific list of files
jgt has quit [(Ping timeout: 255 seconds)]
magnetophon has quit [(Remote host closed the connection)]
<Lisanna> I guess I could un-patch them in postFixup
catch22 has joined #nixos
magnetophon has joined #nixos
<LnL> you can set dontPatchShebangs and call it yourself
<Lisanna> LnL: what's the specific way to invoke it?
<Lisanna> I can't find the implementation in pkgs/stdenv to see for myself
<Lisanna> oh, there it is: patchShebangs
<magnetophon> I just upgraded and now my i3 titlebars and i3bar look different (slightly bigger font) Does anyone know what's going on?
<magnetophon> I didn't change my config afaik
<dtzWill> oh you found it O:)
<Lisanna> bookmarking that anyways, thanks
<LnL> yep, something like preFixup = ''patchShebangs $out''; is roughly equivalent to the default
drewr has quit [(Ping timeout: 246 seconds)]
astronavt has joined #nixos
<sphalerite> Still getting that weird curl error…
<Lisanna> ):
<Lisanna> curl -vvv show anything interesting?
<sphalerite> whoops too late already rebooting the machine again :p
spietz1 has joined #nixos
astronavt has quit [(Ping timeout: 250 seconds)]
schoppenhauer has joined #nixos
mariav has quit [(Quit: mariav)]
<sphalerite> also I now no longer have physical access to the machines :o
<sphalerite> luckily there are 4 so if I mess up (e.g. power off) one, I can still use the others
<sphalerite> http://sprunge.us/OjCF < curl -vvv
<Lisanna> compare it to a working curl -vvv
<Lisanna> i.e. on the other machine
<Lisanna> don't see anything particularly interesting by itself
mariav has joined #nixos
duncan^ has quit [(Quit: WeeChat 1.9.1)]
jbboehr has joined #nixos
<samueldr> sphalerite: what's the output of `date` ?
<sphalerite> openssl s_client also has the same issue
zzamboni has quit [(Quit: Leaving.)]
<samueldr> (is it sanely close to now?)
<sphalerite> samueldr: AAAAH that'll be it! Good catch
<sphalerite> yeah no, it's 2099 (!?)
<Lisanna> oh duh
<Lisanna> I'm dumb
<Lisanna> yeah
<samueldr> nah, not usual enough for an error
<samueldr> 20_99_?
<Lisanna> ??
<samueldr> that's definitely not sane ☺
<Lisanna> sphalerite: did you fat finger something 8 years ago or something?
<Lisanna> :)
<sphalerite> no, but the BIOS does complain about the motherboard battery having run dry
<samueldr> that would do it
<sphalerite> aaah, and I wouldn't have seen this… if the network admin didn't have a thing against UDP, which stops NTP from working
<sphalerite> At least with nixos's default servers
<sphalerite> the ones within the uni network are fine
<Dezgeg> I doubt NTP by default moves your clock decades
<dhess> nope. That's what ntpdate is for