cybrian has quit [(Read error: Connection reset by peer)]
<sphalerite> it would have been so much easier to work out if it hadn't described the problem as a "format error"
<Lisanna> yeah... that's a bit odd
<Lisanna> ...y2038 problem maybe?
<sphalerite> at least it pointed to the date. Recently had trouble installing OSX, it claimed that "the install medium is corrupted and cannot be used"
<Lisanna> haha
<sphalerite> Same problem, although the date was in the past rather than the distant future
<sphalerite> seriously, I spent over a week not knowing what the actual problem was and why it occurred with 3 different USB sticks and 2 different OSX versions
<samueldr> time is hard
<sphalerite> also mac os is awful
slack1256 has quit [(Remote host closed the connection)]
<sphalerite> I mean, people talk about how wonderful their UX is
<sphalerite> displaying an error message completely unrelated to the actual issue? Not having NTP in the installer?
<sphalerite> Extremely questionable UX if you ask me…
<samueldr> afaik, it's an artifact from the past; in the past they had better UX than the competition, mostly
<samueldr> though, never been a user, so I can't personally vouch for it
<Lisanna> I'm a longtime user, and I find I've gotten more and more annoyed with their UX over time
<Lisanna> but not sure if that's a result of them changing or me becoming less of an idiot :)
Neo-- has quit [(Remote host closed the connection)]
Neo-- has joined #nixos
<sphalerite> let's go with both
<sphalerite> I think High Sierra has been their biggest screw-up yet though
<sphalerite> kernel bugs, UI bugs, idekwhattoclassify#iamrootas bugs…
sigmundv has quit [(Ping timeout: 260 seconds)]
<Lisanna> my work won't let us upgrade to high sierra yet, so I haven't experienced it. I heard about the root login bug
<sphalerite> and the kernel bug that stops multi-user nix from working on High Sierra still hasn't been fixed as far as I know…
<sphalerite> Lisanna: will they let you upgrade to nixos? ;)
<Lisanna> sphalerite: I run nixos on machines at work, but personal computers have to be either IT-issued windows or IT-controlled mac
<Lisanna> was thinking of running nixos in a VM on my mac and passing everything through but eh
bbsl has joined #nixos
<bbsl> anyone have any experience setting up sbt-ensime on nixos? is it possible to set global plugins for sbt in nixos?
<sphalerite> do it :D
<sphalerite> hm, all I know about sbt is people complaining about it in here
<bbsl> sphalerite: complaining how?
magnetophon has quit [(Remote host closed the connection)]
<jbboehr> is it possible to overlay a service?
<Lisanna> jbboehr: I don't know how to overlay a service, but you can put custom NixOS modules in your NixOS imports list
<Lisanna> in theory you shouldbe able to, nixos services are part of nixpkgs after all
cybrian has joined #nixos
magnetophon has joined #nixos
<sphalerite> jbboehr: typically if you want to modify a module you have to disable it, copy it out of nixpkgs, and add your modified copy to your imports list
digitus has quit [(Quit: digitus)]
<sphalerite> or just install your system from a nixpkgs checkout
<jbboehr> sweet, that does exactly what I need
Neo-- has quit [(Ping timeout: 264 seconds)]
markus1189 has quit [(Ping timeout: 240 seconds)]
sigmundv has joined #nixos
erasmas has quit [(Quit: leaving)]
sigmundv__ has joined #nixos
ris has quit [(Ping timeout: 240 seconds)]
<sphalerite> Glad to hear it :) now I shall do exactly what I need. Gnight!
<Lisanna> goodnight ^^
cybrian has quit [(Write error: Connection reset by peer)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbtrl
<NixOS_GitHub> nixpkgs/master 1f99fd6 Orivej Desh: libminc: fix build after hdf5 upgrade by using hdf5_1_8
NixOS_GitHub has left #nixos []
mariav has quit [(Quit: mariav)]
astronavt has joined #nixos
_Marek_ has joined #nixos
Sonarpulse has quit [(Ping timeout: 248 seconds)]
astronavt has quit [(Ping timeout: 255 seconds)]
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
bkchr has quit [(Quit: Konversation terminated!)]
thc202 has quit [(Ping timeout: 258 seconds)]
<catern> argh
<catern> dear #nixos
Dr8128 has quit [(Ping timeout: 250 seconds)]
<catern> oh this isn't a nix-related question :)
<catern> I have some messages. how can I persist them to disk, in sequence, preserving them as message-delimiting?
bbsl has quit [(Remote host closed the connection)]
<gchristensen> uhhh with `cat` and a monotonic incrementing variable in bash?
<catern> gchristensen: you mean one per file? :)
<dash> catern: too many ways :)
<catern> yes, that's the problem :(
<catern> what is the best/simplest one???
<dash> what do you want to do with them after? "one per file" may be reasonable, "in sqlite" may be :)
<catern> I guess "in sqlite" is probably the best, yeah?
<catern> is there maybe an even more conventional and normal solution?
<gchristensen> yeah I'd use sqlite
<catern> dash: and all I want to do with them after is read them back in order, as messages :)
<gchristensen> sqlite is basically the best there is
<gchristensen> I mean
<catern> I know everyone loves sqlite, yeahh
<gchristensen> you could literally use sendnmail
<catern> haha
* gchristensen shrugs
<gchristensen> not a joke :)
<catern> isn't it?
<catern> gchristensen: how would you recommend I use sendmail for this?
<catern> surely that would require a lot of
<catern> annoying parsing
<gchristensen> send yourself messages, I dunno, I dunno what your messages look like :P
<catern> they're binary :)
<gchristensen> there are lots of very high quality parsers for RFC-2822
<dash> catern: netstring format then
<gchristensen> including with binary supportt
<gchristensen> but if the messages are small and on the same host and low concurrency, I'd go sqlite
dan_b has quit [(Ping timeout: 250 seconds)]
<catern> mmm
<gchristensen> you'll get better performance with sqlite than my filesystem approach
<catern> well, yes, that is for sure :)
justanotheruser has joined #nixos
<gchristensen> many people find that to be a surprise
jrolfs has joined #nixos
dieggsy has joined #nixos
<catern> gchristensen: dash: do you know concretely an easy way to store sequences with SQLite? I confess I've never used it :)
<gchristensen> auto-incrementing ID?
<catern> sure, fair enough
<gchristensen> using sqlite built-ins will take you a long way
justanotheruser has quit [(Quit: WeeChat 1.7.1)]
<catern> sqlite built-ins?
justanotheruser has joined #nixos
<gchristensen> like an auto-incrementing ID
<gchristensen> guh sqlite is so good
<catern> what in particular makes you say that?
<gchristensen> it is so well documented and tested, you can really depend on it
<gchristensen> and it is simple to use and work with. mysql is not like that (much of my day job is working with mysql)
<catern> ah
<catern> I never work with databases normally
<gchristensen> my day job is automating things around mysql : https://www.youtube.com/watch?v=6VH945-AaRY
<dash> catern what's reading/writing these msgs
<catern> (in fact $DAYJOB has a bespoke proprietary system which provides message-preserving sequence-preserving persistence of messages)
<catern> (but I want to not use it this time)
<catern> dash: writing these msgs is the persistence strategy for a program I am writing: it writes out incoming messages as it processes them, and if it ever crashes, when it restarts, it replays all messages from the start to rebuild its state
<dash> Right, good stuff
<catern> is it good stuff? I would prefer orthogonal persistence actually :)
<gchristensen> blockchain! /me runs away
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
slack1256 has joined #nixos
astronavt has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
<catern> urbit??????
astronavt has quit [(Ping timeout: 240 seconds)]
notdaniel has joined #nixos
duncan^ has joined #nixos
duncan^ has quit [(Changing host)]
duncan^ has joined #nixos
<gchristensen> anyone around with Nix + a Darwin machine?
dieggsy has quit [(Remote host closed the connection)]
sigmundv has quit [(Ping timeout: 264 seconds)]
jrolfs_ has joined #nixos
jrolfs_ has quit [(Client Quit)]
leat has quit [(Ping timeout: 250 seconds)]
Soham has joined #nixos
johbo_ has joined #nixos
sauyon2 has joined #nixos
goodwill_ has joined #nixos
sigmundv has joined #nixos
orivej_ has joined #nixos
jrolfs_ has joined #nixos
propumpkin has joined #nixos
endforma1 has joined #nixos
zraexy1 has joined #nixos
cybrian has joined #nixos
pareidolia_ has joined #nixos
joshuaks has joined #nixos
johbo has quit [(Ping timeout: 248 seconds)]
RayNbow` has joined #nixos
wrl_ has joined #nixos
sauyon1 has quit [(Ping timeout: 248 seconds)]
<joshuaks> hey all
spacefrogg has joined #nixos
pareidolia_ is now known as pareidolia
goodwill_ is now known as goodwill
sigmundv_ has joined #nixos
dtulig has joined #nixos
dredozubov has joined #nixos
[0__0] has joined #nixos
detran` has joined #nixos
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
jrolfs_ is now known as jrolfs
<dj_goku> gchristensen: I am
astronavt has joined #nixos
pxc2 has quit [(Ping timeout: 255 seconds)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
Supersonic112_ is now known as Supersonic112
erictapen has quit [(Ping timeout: 248 seconds)]
astronavt has quit [(Ping timeout: 258 seconds)]
lambdamu_ has joined #nixos
lambdamu has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Quit: leaving)]
cybrian has quit [(Read error: Connection reset by peer)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/0fe990b0005 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
joshuaks has quit [(Quit: WeeChat 1.9.1)]
<dhess> catern: ahh, you should have provided those details from the beginning :) You want an "event sourcing" library
<vaibhavsagar> is there an easy way to replace a string in a file in a derivation?
<dhess> vaibhavsagar: you mean like a templating system?
danl1240 has quit [(Quit: My iMac has gone to sleep. ZZZzzz…)]
<vaibhavsagar> e.g. I have a derivation and I want to replace a string with another one in it after the fact
<gchristensen> and produce another drv?
<vaibhavsagar> yes, exactly
<vaibhavsagar> so this is a fetchFromGitHub derivation and for *reasons* I don't want to use postFetch
<vaibhavsagar> I guess I could try pkgs.runCommand with the old derivation as the src
<gchristensen> overrideAttrs maybe?
<gchristensen> :|
<vaibhavsagar> overrideAttrs sounds good too
pxc2 has joined #nixos
<dhess> for a standard attribute like that I think you can just use overrideDerivation
<dhess> vaibhavsagar: Here is an example of how I use it to override installPhase: https://github.com/quixoftic/quixops-modules/blob/master/overlays/pkgs/security/custom-cacert.nix
<vaibhavsagar> dhess: I read that overrideAttrs is usually better than overrideDerivation
<dhess> oh I see that in the manual, now that you point it out.
<dhess> thanks
<vaibhavsagar> no worries, I used overrideDerivation until I read that
pxc2 has quit [(Ping timeout: 240 seconds)]
sigmundv__ has quit [(Ping timeout: 240 seconds)]
jbboehr has quit [(Remote host closed the connection)]
sigmundv has quit [(Ping timeout: 240 seconds)]
cybrian has joined #nixos
<vaibhavsagar> okay, so my fetchFromGitHub didn't have an overrideAttrs and overrideDerivation seemed to have no effect
oahong has quit [(Ping timeout: 240 seconds)]
<vaibhavsagar> so I just used pkgs.runCommand
<catern> dhess: pls no
<catern> dhess: I don't think this needs any fancy library :)
<catern> dhess: unless you can recommend a good one!
<dhess> catern: I've only just started looking into them myself. I can't recommend one yet.
<dhess> why the hell won't this boot.postBootCommands run in my test vm :(
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
<dhess> oh it will, it just failed silently :\
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/6b8833df272 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
<vaibhavsagar> why doesn't pkgs.runCommand create $out for me?
astronavt has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
cybrian has joined #nixos
Wizek_ has quit [(Ping timeout: 264 seconds)]
astronavt has quit [(Ping timeout: 276 seconds)]
mahalel_ has quit [(Ping timeout: 276 seconds)]
oahong has quit [(Ping timeout: 248 seconds)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbtHC
<NixOS_GitHub> nixpkgs/master 0df7d2d Orivej Desh: python.pkgs.ws4py: skip flaky timing-sensitive tests
NixOS_GitHub has left #nixos []
cybrian has quit [(Read error: Connection reset by peer)]
oida has quit [(Ping timeout: 250 seconds)]
oida has joined #nixos
orivej_ has quit [(Ping timeout: 264 seconds)]
astronavt has joined #nixos
cybrian has joined #nixos
Arcaelyx has quit [(Quit: Textual IRC Client: www.textualapp.com)]
astronavt has quit [(Ping timeout: 246 seconds)]
vaibhavsagar has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
vaibhavsagar has joined #nixos
notdaniel has quit [(Ping timeout: 255 seconds)]
notdaniel has joined #nixos
Lisanna2 has joined #nixos
<MichaelRaskin> dhess: ntpdate should never be mentioned again, it is now recommended to use a special flag to ntp.
mahalel_ has joined #nixos
ChongLi has quit [(Ping timeout: 250 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
orivej has joined #nixos
wapl has quit [(Ping timeout: 248 seconds)]
slack1256 has quit [(Remote host closed the connection)]
_Marek_ has joined #nixos
marusich has joined #nixos
_Marek_ has quit [(Client Quit)]
void__ has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable advanced to https://github.com/NixOS/nixpkgs/commit/cc1d7a358f5 (from 11 hours ago, history: https://channels.nix.gsc.io/nixos-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
void__ is now known as _Marek_
wapl has joined #nixos
cybrian has joined #nixos
mahalel_ has quit [(Ping timeout: 248 seconds)]
fragamus has joined #nixos
reinzelmann has joined #nixos
pxc2 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbt55
<NixOS_GitHub> nixpkgs/master 6636f3b Aaron Bull Schaefer: ansible: 2.4.1.0 -> 2.4.2.0
<NixOS_GitHub> nixpkgs/master 6d0fbb9 adisbladis: Merge pull request #32209 from elasticdog/ansible...
NixOS_GitHub has left #nixos []
pxc2 has quit [(Ping timeout: 240 seconds)]
astronavt has joined #nixos
astronavt has quit [(Ping timeout: 246 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
asuryawanshi has joined #nixos
ChongLi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
zzamboni has joined #nixos
zzamboni has quit [(Client Quit)]
catch22 has quit [(Quit: Leaving)]
ma27 has joined #nixos
cybrian has joined #nixos
pie_ has joined #nixos
Arcaelyx has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
oahong has quit [(Ping timeout: 248 seconds)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
Harpalus has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
Harpalus has quit [(Quit: Leaving)]
ma27 has quit [(Ping timeout: 240 seconds)]
astronavt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vbtbM
<NixOS_GitHub> nixpkgs/staging b4ec153 Vladimír Čunát: orc: doCheck broken on i686 on Hydra, again
NixOS_GitHub has left #nixos []
nslqqq has quit [(Ping timeout: 260 seconds)]
<Lisanna> is specifying and serving a nix channel from /etc using environment.etc a stupid idea?
astronavt has quit [(Ping timeout: 252 seconds)]
fragamus has joined #nixos
endforma1 has quit [(Quit: WeeChat 1.9.1)]
jgt has joined #nixos
cybrian has joined #nixos
Harpalus has joined #nixos
Harpalus has quit [(Client Quit)]
Harpalus has joined #nixos
phreedom has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #32034: pygobject: 3.24.1 → 3.26.1 (staging...pygobject) https://git.io/vFhAG
NixOS_GitHub has left #nixos []
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 276 seconds)]
Mateon3 is now known as Mateon1
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #32162: libmicrohttpd: 0.9.55 -> 0.9.57 (staging...libmicrohttpd-0.9.57) https://git.io/vbT0N
NixOS_GitHub has left #nixos []
cybrian has quit [(Read error: Connection reset by peer)]
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
marusich has quit [(Quit: Leaving)]
asuryawanshi has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to master: https://git.io/vbtxW
<NixOS_GitHub> nixpkgs/master 45cf0b0 Orivej Desh: fenics: restrict to Darwin...
<NixOS_GitHub> nixpkgs/master d95cc52 Orivej Desh: emulationstation: fix build by using gcc5
NixOS_GitHub has left #nixos []
dmi3y has joined #nixos
Aleksejs has joined #nixos
periklis has joined #nixos
dmi3y has quit [(Client Quit)]
<Aleksejs> Hello! Does nixos-install always install grub? If I already have grub on other partition can I skip grub installation somehow?
mirlur[m] has joined #nixos
asuryawanshi has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
Harpalus has quit [(Remote host closed the connection)]
pxc2 has joined #nixos
dmi3y has joined #nixos
Tucky has joined #nixos
jgt has quit [(Ping timeout: 248 seconds)]
vcunat has joined #nixos
rogue_koder has quit [(Ping timeout: 248 seconds)]
pxc2 has quit [(Ping timeout: 276 seconds)]
<hyper_ch> check the configuration.nix at /mnt/etc/nixos/configuration.nix and there should be grub command there... try to comment them out
<hyper_ch> that should prevent to install grub, but not sure if it will then produce an error
astronavt has joined #nixos
FRidh has joined #nixos
<hyper_ch> hmmm, for substituteInPlace how does one escape the ' and " ?
<Aleksejs> I'll try, thanks
astronavt has quit [(Ping timeout: 258 seconds)]
<hyper_ch> I need to replace a string with another one that contains ' and " :(
<hyper_ch> Aleksejs: as said, don't know if nixos-install will complain if it's missing but you can just comment it out...
<hyper_ch> pretty much at the beginning there should be a line like boot.loader.grub.device = "/dev/sda";.... so just comment it out
<Aleksejs> I commented that line and installation failed. The error is "You must set option boot.loader.grub.devices to make the system bootable
hariel has quit [(Remote host closed the connection)]
hariel has joined #nixos
<hyper_ch> how about you add some usb stick and assign that to install grub?
<hyper_ch> or wait, let me check
<hyper_ch> you could add: boot.loader.grub.enable = false;
cybrian has joined #nixos
<Aleksejs> Trying now...
<hyper_ch> Aleksejs: https://nixos.org/nixos/options.html#grub --> very useful to know what options are available
civodul has joined #nixos
tomster has joined #nixos
<sphalerite> hyper_ch: you can use alternating quote styles and just put them right next to each other
<Aleksejs> it installed but I've probably made some mistake in grub.cfg because it fails to boot - it just restarts
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<hyper_ch> sphalerite: how? if the string contains ' and "
<sphalerite> hyper_ch: or you can use backslash to escape it in a double-quoted string
<hyper_ch> I'll test it
<sphalerite> "a"'b' -> ab
<sphalerite> "'"'"' -> '"
takle has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
<hyper_ch> --> x("x['0']")
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vbth6
<NixOS_GitHub> nixpkgs/staging 9f8c3f7 Vladimír Čunát: Merge branch 'master' into staging...
NixOS_GitHub has left #nixos []
<Aleksejs> does anybody know what parameters are necessary for nixos entry in grub?
<Aleksejs> from what I've found, it needs only configfile parameter
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
freusque has joined #nixos
notdaniel has quit [(Quit: Leaving)]
sigmundv has joined #nixos
DwarfMaster has joined #nixos
<tomster> postgrest-0.4.3.0 seems to be broken (https://hackage.haskell.org/package/postgrest) how can i install 0.4.2.0 using nixos?
<tomster> specifying haskellPackages.postgrest==0.4.2.0 in my default.nix doesn't work
cybrian has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
leat has joined #nixos
ertes has quit [(Ping timeout: 276 seconds)]
asuryawanshi has joined #nixos
<tomster> running nix-env -f "<nixpkgs>" -qaP -A haskellPackages postgrest only yields haskellPackages.postgrest postgrest-0.4.3.0 though
<tomster> what happened to the earlier versions?
<tomster> or (even better) how can i get 0.4.3.0 to work?
goibhniu has joined #nixos
astronavt has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
astronavt has quit [(Ping timeout: 252 seconds)]
_Marek_ has quit [(Read error: Connection reset by peer)]
void__ has joined #nixos
Harpalus has joined #nixos
TheAppleMan has joined #nixos
Thra11 has joined #nixos
townsend has joined #nixos
void__ has quit [(Quit: void__)]
void__ has joined #nixos
void__ is now known as _Marek_
dhess has quit [(Remote host closed the connection)]
reinzelmann has quit [(Ping timeout: 255 seconds)]
<magnetophon> after a distro upgrade, the font size of my i3 changed: https://imgur.com/a/QeUbo It's consistent when I reboot into the other generation, so it's not a config file change. Ideas?
jensens has joined #nixos
mark__ has joined #nixos
ilyaigpetrov has joined #nixos
<vcunat> magnetophon: what nixpkgs revision range?
<vcunat> It's about a NixOS update/upgrade, right?
<magnetophon> vcunat: now i'm at b9347167822 , and before I was on 7ebacd1a43
<magnetophon> yes
thc202 has joined #nixos
<vcunat> magnetophon: is that gtk3, by any chance?
tomster has quit [(Remote host closed the connection)]
<orivej> and do you services.xserver.dpi in configuration.nix?
reinzelmann has joined #nixos
<magnetophon> vcunat: in the screenshot there's only i3bar visible. or did i misundrstand the question?
<vcunat> in that commit range there was a fix for DPI calculation in gtk+3 https://github.com/NixOS/nixpkgs/issues/25023
<magnetophon> orivej: that's not in my config
dhess_ has joined #nixos
mark__ has quit [(Quit: Konversation terminated!)]
<magnetophon> vcunat: my emacs (buitl with gtk3 afaik) looks the same.
<magnetophon> s/buitl/built/
<vcunat> then theoretically this https://github.com/NixOS/nixpkgs/issues/31500
MP2E has quit [(Remote host closed the connection)]
dhess_ is now known as dhess
<orivej> what font do you use?
<vcunat> Maybe it would be good to check if the size is actually wrong now :-)
<vcunat> (for some reasonable "wrong")
<magnetophon> vcunat: I don't really understand that, but doesn't "ttuegel closed this in #31504 16 days ago" suggest it's not relevant? (I think both versions I gave are newer than that)
<vcunat> The commit is in the range.
<vcunat> That's how I found the issue.
<magnetophon> orivej: font -misc-fixed-medium-r-normal--10-70-100-100-c-60-iso8859-1
<magnetophon>
<magnetophon> vcunat: sorry, what should I check exactly?
davidak has joined #nixos
ris has joined #nixos
<magnetophon> vcunat: and sorry for doubting the commit. I'll re-read the issue and try to understand
<orivej> magnetophon: this exact specification does not seem available in xfontsel (at least now)
<magnetophon> orivej: I copied it from my i3 config
<vcunat> libXfont* got updated with
<vcunat> > Open files with O_NOFOLLOW. (CVE-2017-16611)
<vcunat> (in the commit range)
<vcunat> I backported that one to 17.09, too.
<vcunat> Right, I didn't realize at that time... this might be the problem, for nixpkgs specifically.
tomster has joined #nixos
<orivej> magnetophon: I mean that X may have lost some fonts in this range. There is just one size of misc-fixed--60- on my system, and it looks exactly like the font on your "after" screenshot.
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
Harpalus has quit [(Remote host closed the connection)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<magnetophon> vcunat: sorry, I don't understand that :(
erictapen has joined #nixos
<magnetophon> orivej: when I pick another font in my config and reload, it looks different, but when I comment out all fonts, I get the "after" look, so yes, it looks like that is the issue
<magnetophon> vcunat: is that what you where getting at too?
<vcunat> magnetophon: you can test my theory by reverting db6adec156 locally
<vcunat> It's actually not a large rebuild.
Synthetica has joined #nixos
<magnetophon> vcunat: OK, I'll check. brb
<vcunat> :-)
<magnetophon> 128 git … revert --edit db6adec156\ fatal: bad revision 'db6adec156 '
<magnetophon> vcunat: ^^^^
<vcunat> magnetophon: why do you have space character in the revision?
orbekk has quit [(Read error: Connection reset by peer)]
<vcunat> (caused by the backslash, if I understand what you wrote)
<magnetophon> vcunat: lemme try again (bad yank)
<Synthetica> Is there a config option to set the main x font?
<vcunat> Synthetica: yes, e.g. fonts.fontconfig.defaultFonts.sansSerif
<vcunat> (but I actually don't use that way, not yet)
dan_b has joined #nixos
<magnetophon> vcunat: OK, build in progress
astronavt has joined #nixos
tomster has quit [(Ping timeout: 240 seconds)]
erictapen has quit [(Ping timeout: 276 seconds)]
erictapen has joined #nixos
Aleksejs has left #nixos ["WeeChat 0.4.2"]
astronavt has quit [(Ping timeout: 255 seconds)]
<Synthetica> vcunat: Seems to work! Thanks :)
<orivej> misc=$(nix-build '<nixpkgs>' -A xorg.fontmiscmisc)/lib/X11/fonts/misc
<orivej> This fails: `xset fp+ $misc`; this succeeds: `cp -rL $misc /tmp/misc; xset fp+ /tmp/misc`
magnetophon has quit [(Remote host closed the connection)]
catch22 has joined #nixos
<orivej> (and then `xlsfonts -fn '-misc-fixed-*'` finds the fonts)
magnetophon has joined #nixos
<magnetophon> vcunat: i did "nixos-rebuild test -I nixpkgs=$NIXPKGS", logged out and in, but it looks the same...
tomster has joined #nixos
<orivej> nevertheless, the issue is the symlink from $misc/fonts.alias into the font-alias package
<vcunat> magnetophon: did the X server restart?
_Marek_ has quit [(Read error: Connection reset by peer)]
tomster has quit [(Remote host closed the connection)]
__Sander__ has joined #nixos
<magnetophon> vcunat: I think so, since I logged out of i3, and went to slim, but now I'm not sure anymore
void__ has joined #nixos
cybrian has joined #nixos
<magnetophon> orivej: I'm not following that, but I think you mean that i3 can't find my font, right? Cause that's what it looks like to me...
void__ is now known as _Marek_
<magnetophon> Again: when I comment out all fonts in my i3 config, I get the same look as when I use the font I pasted in here. When I choose another, the change is reflected in my titlebar.
sigmundv__ has joined #nixos
<orivej> I was confirming that vcunat's idea that this has to do with symlinks is correct: replacing the symlink with a real path allows X server to use fonts in the directory.
dmi3y has left #nixos []
<magnetophon> orivej: I'm missing a lot of info on how the font system works, so I don't think you'll be able to explain it quickly, sorry.
<magnetophon> To me it looks like user error: choosing an non-existing font. Is that right? If not, is there anything I can do to help resolve this?
Neo-- has joined #nixos
<magnetophon> vcunat: a quick google suggests that no, I did not restart X yet. Lemme try again...
magnetophon has quit [(Remote host closed the connection)]
<orivej> I have confirmed that reverting db6adec15 solves the issue.
magnetophon has joined #nixos
<magnetophon> vcunat: ok, now it looks normal again, so that commit *did* cause it.
alexteves has joined #nixos
<magnetophon> sorry for my noobness...
<vcunat> OK, I suppose the primary plan will be to modify nixos conf. to build a directory with file copies instead of symlinks.
<vcunat> I would better not trying to reason that the CVE somehow would not apply to our system.
DwarfMaster has quit [(Quit: WeeChat 1.9.1)]
DwarfMaster has joined #nixos
dan_b has quit [(Ping timeout: 240 seconds)]
<orivej> vcunat: the fix is simple, I'll submit a PR
<vcunat> OK, great.
periklis has quit [(Ping timeout: 252 seconds)]
<magnetophon> orivej, vcunat: thanks!
bbsl has joined #nixos
<bbsl> are there any guides to setting up postgresql on nixos?, I followed the nixos.org guide but its incomplete. So far Iv installed postgresql, and enabeled started it but I cant log in with myUser, root or postgres
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] markus1189 opened pull request #32222: ddgr: init at 1.1 (master...ddgr) https://git.io/vbqmP
NixOS_GitHub has left #nixos []
<orivej> bbsl: NixOS does not disable postgresql defaults. You should be able to log in as "postgres". For example, see https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/continuous-integration/hydra/default.nix#L274
<orivej> magnetophon, vcunat: https://github.com/NixOS/nixpkgs/pull/32223
ThatDocsLady has joined #nixos
<offlinehacker[m]> does nix have exponential function?
astronavt has joined #nixos
<offlinehacker[m]> like lib.exp 2 3
<magnetophon> orivej: that was quick! Do you want me to test it?
<orivej> no, that is not necessary
<offlinehacker[m]> trying to convert octal string to decimal in nix
<vcunat> orivej: I guess there's nothing to wait for then
<orivej> ok, could you do the rest? I have to go now
<bbsl> orivej: hmm can there be any other reason why "sudo psql -U postgres" gives "psql: FATAL: Peer authentication failed for user "postgres" "?
<bbsl>
<vcunat> orivej: OK, thaks :-)
<vcunat> *thanks
<orivej> bbsl: you should do something like "sudo -u postgres psql ..."
astronavt has quit [(Ping timeout: 246 seconds)]
<bbsl> orivej: wow, thank you ... that worked :), hmm but why cant I log in as the postgres user w out passing into psql?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat closed pull request #32223: xorg.fontmiscmisc: make the misc fonts available (master...font-misc) https://git.io/vbqYU
NixOS_GitHub has left #nixos []
<steveeJ> is anyone running k8s in Production on NixOS?
<vcunat> magnetophon: thanks for reporting this regression :-)
orivej has quit [(Ping timeout: 260 seconds)]
<vcunat> offlinehacker[m] was, I believe
<offlinehacker[m]> yes we do. This slides are a bit old
<steveeJ> I've seen those slides, and the age made me curious a bit
adamt has quit [(Ping timeout: 268 seconds)]
<steveeJ> offlinehacker[m]: how do you deploy it?
<steveeJ> offlinehacker[m]: is this still accurate? https://offlinehacker.github.io/slides.kubernetes_on_nixos/#/5/3
<offlinehacker[m]> steveeJ: here you have nixops configs
<offlinehacker[m]> we are using nixos-unstable channel
<offlinehacker[m]> it should work from latest nixos release too, but i'm unsure
<offlinehacker[m]> this is not the latest kubernetes, 1.8 is latest stable, but it's good enough for us
<offlinehacker[m]> this is 1.7
<offlinehacker[m]> you need to build certs manually and copy them to target machines
<steveeJ> could that be done using nixops too?
<offlinehacker[m]> i guess
<offlinehacker[m]> you have support for secrets
<steveeJ> otherwise I'm quite familiar with ansible
<offlinehacker[m]> well i guess id you can provision nixos machines with ansible
<offlinehacker[m]> you can do what you want
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
<offlinehacker[m]> we are using hetzner support of nixops which is pretty nice
<steveeJ> I have no infrastructure at this point. It'd be nice to a have a repo that includes a Vagrant file with a minimum-working-example
<offlinehacker[m]> i do not use vagrant
<offlinehacker[m]> for local kubernetes you have minikube
<steveeJ> I'm always torn between CoreOS and NixOS for <my future k8s setup>
<offlinehacker[m]> or you can deploy it local on your nixos machine
code has joined #nixos
<steveeJ> does it work in nixos containers too?
<offlinehacker[m]> well, i know nixos more than coreos, it's easier to maintain nixos for me as core magic
<offlinehacker[m]> i guess it should work if you make docker work
<offlinehacker[m]> coreos magic*
<steveeJ> or rkt
<steveeJ> but that would require a modified version of k8s AFAIK
<offlinehacker[m]> well, pull requests welcome :)
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
<offlinehacker[m]> we are still on docker, i like https://github.com/kubernetes-incubator/cri-o tho
<offlinehacker[m]> also frakti looks nice
townsend has quit [(Ping timeout: 255 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
<steveeJ> I will stick to the default runtime at first. which repo would you suggest for collaboration of examples on how to run k8s on NixOS?
simukis has joined #nixos
Thra11 has quit [(Ping timeout: 255 seconds)]
Thra11 has joined #nixos
Thra11 has quit [(Ping timeout: 248 seconds)]
cybrian has joined #nixos
jgt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to release-17.09: https://git.io/vbqZB
<NixOS_GitHub> nixpkgs/release-17.09 559ebb7 Vladimír Čunát: Merge #32223: xorg.fontmiscmisc: make the fonts available...
NixOS_GitHub has left #nixos []
dywedir has joined #nixos
ylwghst has joined #nixos
adamt has quit [(Ping timeout: 240 seconds)]
<steveeJ> offlinehacker[m]: would you mind to elaborate on the certificates required to copy to the target machines? there's a couple of generation functions in your expressions, aren't they used?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vbqnI
<NixOS_GitHub> nixpkgs/master 4dba2f2 Vladimír Čunát: knot-dns: maintenance 2.6.1 -> 2.6.3
NixOS_GitHub has left #nixos []
<larsvm> i asked a couple weeks back why my urxvt messes up symbols when launched using kde's launcher, but not when launched within the said terminal
<larsvm> and someone said i should look at the diff of env between these
townsend has joined #nixos
<larsvm> this is the output https://pastebin.com/3VKpB4sS
<larsvm> i don't really understand what is going wrong
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #32221: jo: 1.0 -> 1.1 (master...jo-1.1) https://git.io/vbqIC
NixOS_GitHub has left #nixos []
cybrian has quit [(Read error: Connection reset by peer)]
Dr8128 has joined #nixos
astronavt has joined #nixos
catch22 has quit [(Quit: Leaving)]
phreedom has joined #nixos
TweyII has joined #nixos
TweyII is now known as Guest27151
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vbqcs
<NixOS_GitHub> nixpkgs/master efd4ad0 Peter Hoeg: dbus-broker: 8 -> 9
NixOS_GitHub has left #nixos []
astronavt has quit [(Ping timeout: 276 seconds)]
Ralith_ has quit [(Ping timeout: 240 seconds)]
Guest27151 has quit [(Changing host)]
Guest27151 has joined #nixos
Guest27151 is now known as TweyII
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #32224: redis-desktop-manager: 0.8.3 -> 0.9.0-alpha5 (master...redis_desktop_manager) https://git.io/vbqC0
NixOS_GitHub has left #nixos []
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #32225: ipe: 7.1.10 -> 7.2.7 (master...ipe) https://git.io/vbqCK
NixOS_GitHub has left #nixos []
ma27 has joined #nixos
Neo-- has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #32228: digikam: Fix empty album problem with Qt 5.9.3 (master...digikam) https://git.io/vbqW4
NixOS_GitHub has left #nixos []
Neo-- has joined #nixos
thblt has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #32230: renderdoc: Fixes build with missing SWIG_PACKAGE (master...renderdoc) https://git.io/vbqWQ
NixOS_GitHub has left #nixos []
tmaekawa has joined #nixos
cybrian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] bkchr opened pull request #32231: qesteidutil: 3.12.5.1233 -> 3.12.10 (master...qesteidutil) https://git.io/vbqlZ
NixOS_GitHub has left #nixos []
orivej has joined #nixos
iyzsong has joined #nixos
jgt has quit [(Ping timeout: 248 seconds)]
sigmundv has quit [(Ping timeout: 240 seconds)]
Stammon has joined #nixos
oahong has quit [(Ping timeout: 250 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 1 new commit to master: https://git.io/vbq4W
<NixOS_GitHub> nixpkgs/master 65b15c4 Peter Simons: R: update package set
NixOS_GitHub has left #nixos []
astronavt has joined #nixos
Stammon has quit [(Remote host closed the connection)]
astronavt has quit [(Ping timeout: 246 seconds)]
takle has quit [(Read error: Connection reset by peer)]
abcrawf has quit [(Remote host closed the connection)]
cybrian has joined #nixos
abcrawf has joined #nixos
Dr8128 has quit [(Ping timeout: 264 seconds)]
reinzelmann has quit [(Quit: Leaving)]
<orivej> larsvm: could you describe your issue at https://github.com/NixOS/nixpkgs/issues (with screenshots)?
<larsvm> never reported a bug before, what info do i need to provide?
oahong has quit [(Ping timeout: 260 seconds)]
<orivej> all details that you deem necessary for us to understand and ideally reproduce the issue
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
code has quit [(Quit: Lost terminal)]
<larsvm> okay
jgt has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
jgt has quit [(Client Quit)]
bbsl has quit [(Remote host closed the connection)]
<Synthetica> How come my local software versions are behind the commit nix-info claims to be at, and the version nox claims to have?
<goibhniu> Synthetica: have you updated them after updating your channel? How did you install them?
<Synthetica> Installed them via `configuration.nix`, update via `sudo nixos-rebuild --upgrade switch`
<Synthetica> Or do you need to do a seperate channel update?
<goibhniu> that should do it
<goibhniu> what does nixos-version say about the revision?
<Synthetica> ~  nixos-version
<Synthetica> 18.03pre121732.cc1d7a358f5 (Impala)
<goibhniu> and what does nix-info say?
<Synthetica> Same
<Synthetica> system: "x86_64-linux", multi-user?: yes, version: nix-env (Nix) 1.11.15, channels(root): "nixos-18.03pre121732.cc1d7a358f5", channels(synthetica): "nixos-18.03pre119110.2ddcdcce26", nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
cybrian has quit [(Read error: Connection reset by peer)]
Neo-- has quit [(Ping timeout: 250 seconds)]
<goibhniu> okay, so do you have an example package that has a version you don't expect?
<Synthetica> atom
<Synthetica> nox claims atom-1.22.0
<Synthetica> atom --version says 1.21.1
<Synthetica> Konsole as well, 17.08.3 vs 17.08.1
erictapen has quit [(Ping timeout: 250 seconds)]
dmi3y has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<goibhniu> what does `which atom` say?
erictapen has joined #nixos
<Synthetica> Hmm... /home/synthetica/.nix-profile/bin/atom
<goibhniu> there we go!
<Synthetica> Yeah
<Synthetica> Is there a way to disable local package installations?
<Synthetica> (Except not doing them :P)
<goibhniu> :D
srdqty has quit [(Ping timeout: 248 seconds)]
<gchristensen> Synthetica: maybe... but I wouldn't do it :P I'd recommend just not using nix-env
<ocharles> Does anyone know what permissions Hydra needs for doing remote builds? I changed my private key to my 32-bit machine to be deployed with nixops keys and now remote builds have stopped working
<ocharles> \/run/keys/build-slave-32bit is root:root
<Synthetica> gchristensen: Over `configuration.nix?`
srdqty has joined #nixos
<Synthetica> Feels like it goes against the spirit of nixos to me
<gchristensen> I agree, I recommend not using nix-env and just putting things in to shell.nix's or configuration.nix
asuryawanshi has quit [(Ping timeout: 248 seconds)]
patrl has joined #nixos
thblt has quit [(Ping timeout: 240 seconds)]
* Synthetica can't read
<Synthetica> read over the "not" :P
patrl1 has joined #nixos
patrl has quit [(Read error: Connection reset by peer)]
<Synthetica> (Ran a `nix-env -e '.*'`, removed the two packages I was having trouble with, both were already in `configuration.nix`)
<gchristensen> no worries :)
<Synthetica> Thanks :)
mkoenig has quit [(Remote host closed the connection)]
hke has quit [(Quit: bye)]
periklis has joined #nixos
hke has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] peti pushed 3 new commits to master: https://git.io/vbquv
<NixOS_GitHub> nixpkgs/master 7775a1a Jonathan Curran: purescript: fix build by overriding optparse-applicative dependency
<NixOS_GitHub> nixpkgs/master 75b79fb Jonathan Curran: Use override instead of overrideScope
<NixOS_GitHub> nixpkgs/master ae82d9e Peter Simons: Merge pull request #32181 from joncfoo/update/purescript-dependencies...
NixOS_GitHub has left #nixos []
peacememories has joined #nixos
pxc2 has joined #nixos
Acou_Bass has quit [(Ping timeout: 248 seconds)]
bennofs has joined #nixos
cybrian has joined #nixos
stphrolland has joined #nixos
asuryawanshi has joined #nixos
pxc2 has quit [(Ping timeout: 276 seconds)]
<stphrolland> Hi! With nixos, where is the best place to mount external removable hardrive ? In the past I was doing it on /mnt/myharddrive. But there is no /mnt that I found. What is the correct mount directory with nixos ?
patrl2 has joined #nixos
ris has quit [(Quit: Konversation terminated!)]
<symphorien> you can safely mkdir /mnt
<stphrolland> okay, that's the nixos way ?
<stphrolland> because there's this /run/mount directory I still don't know what to think about
griff_ has joined #nixos
<symphorien> honestly I don't know
patrl1 has quit [(Ping timeout: 268 seconds)]
<page> there's udiskctl
<page> not that it's nixos specific
astronavt has joined #nixos
bennofs1 has joined #nixos
spietz1 has quit [(Ping timeout: 268 seconds)]
<goibhniu> FWIW, when I mount removable drives in KDE it mounts them to /run/mount
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/170484ef836 (from 4 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
spietz1 has joined #nixos
ma27 has quit [(Ping timeout: 250 seconds)]
bennofs has quit [(Ping timeout: 276 seconds)]
astronavt has quit [(Ping timeout: 255 seconds)]
ma27 has joined #nixos
vcunat has quit [(Quit: Leaving.)]
davidak has quit [(Ping timeout: 258 seconds)]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/9a4cd403379 (from 35 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
patrl3 has joined #nixos
nix-gsc-io`bot has quit [(Client Quit)]
<gchristensen> todo: make nix-gsc-io`bot just stick around
tmaekawa has quit [(Quit: tmaekawa)]
patrl2 has quit [(Ping timeout: 240 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
ThatDocsLady_ has joined #nixos
ThatDocsLady has quit [(Read error: Connection reset by peer)]
<makefu> that would be great :D
<makefu> also it would be nice to have only a single message for a push to nixpkgs
szicari has joined #nixos
ylwghst has quit [(Ping timeout: 240 seconds)]
pxc2 has joined #nixos
stphrolland has quit [(Quit: leaving)]
srdqty has quit [(Ping timeout: 248 seconds)]
stphrolland has joined #nixos
srdqty has joined #nixos
ylwghst has joined #nixos
stphrolland has quit [(Quit: leaving)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<ocharles> Can anyone think of anything else I need to check to work out why a remote build isn't working? I'm on the primary build machine, /etc/nix/machines is correct, and root can take the key mentioned there and connect to the build slave
<ocharles> Hydra shows it up in build machines, has queued jobs, yet nothing is happening
peacememories has joined #nixos
<ocharles> I can't think of anything else to check :(
LnL has quit [(Quit: exit 1)]
ylwghst has quit [(Quit: Lost terminal)]
cybrian has joined #nixos
ylwghst has joined #nixos
townsend has quit [(Quit: leaving)]
townsend has joined #nixos
ma27 has quit [(Quit: WeeChat 1.9.1)]
LnL has joined #nixos
<gchristensen> makefu: I can do that pretty easily once I have a bot with persistence, preferably one which can receive messages from a queue
townsend has quit [(Client Quit)]
<makefu> i did something similar a few months ago on basis of logstash. i used the github http-hook feature instead of a mq
<gchristensen> there is a pretty good looking rust crate for IRC and an amqp client I like
<gchristensen> todo: do it
<ocharles> restarting the primary build machine has fixed it. Great. I love computers
zzamboni has joined #nixos
<makefu> almost like a windows pc :D
<ocharles> I've also made that key publically accessible, I would still like to know what permissions it needs/what user will try and read that key
ma27 has joined #nixos
<ocharles> "that key" being the one mentioned in /etc/nix/machines
<gchristensen> ocharles: root will read that key
<ocharles> ok, then I have no idea why it didn't work when the key was in /run/keys/
drever has joined #nixos
<ocharles> I'll try that variant again and will also reboot Hydra for good measure
<gchristensen> maybe the permissions were too wide?
<ocharles> it's fine reading from the nix store and you don't get much wider permissions than that
<ocharles> which program/service will read that key? nix-daemon?
<gchristensen> also debugging remote builds is really hard, please try to be suuuper specific about what exactly is happening when it doesn't work
<gchristensen> or what exactly you can observe
<ocharles> I did try, I don't know what else I can observe
<ocharles> scroll up to my first message earlier for all the things I could see
Isorkin has quit [(Ping timeout: 276 seconds)]
<gchristensen> ah
<gchristensen> do you see any messages in the log on the build machine?
mkoenig has joined #nixos
<ocharles> the log being nix-daemon?
drever has quit [(Client Quit)]
<gchristensen> no, like the whole system log: do you see any messages about iptables rejecting connections, auth daemons attempting to authenticate, ssh seeing a connection but dropping
<ocharles> good point. I'll check that now
<gchristensen> (this is one reason I love journald! seeing _all_ the messages in one place is such a boon for debugging)
<ocharles> systemd <3
<ocharles> I didn't think to check that, when I try the "proper" config (with /run/keys) I'll check that again
<ocharles> that should help me get to the root cause
<gchristensen> cool
ris has joined #nixos
<ris> so nothing i do seems to be able to tell nix-store --import to ignore the lack of signature on a nar
<gchristensen> you need to be a trusted user
<ris> has nix 1.12 made nix-store --import essentially pointless
<vaibhavsagar> is buildkite essentially nix's remote builds but for non-NixOS?
<ris> ?
<vaibhavsagar> ris: what happens if you try `nix add-to-store`?
townsend has joined #nixos
<ris> oh crap hold on im on 1.11
<ris> still not able to get --import to work
<ris> imported archive of ‘/nix/store/g1g31ah55xdia1jdqabv1imf6mcw0nb1-glibc-2.25-49’ lacks a signature
<gchristensen> are you a trusted user? cat /etc/nix/nix.conf| grep trusted-users
magnetophon has quit [(Read error: Connection reset by peer)]
<ris> that's not set for me
<ris> didn't realize it was a thing
cybrian has quit [(Read error: Connection reset by peer)]
<gchristensen> then it likely defaults to just `root`
<ris> but i just want to disable the check
<ris> i am on a non-nixos system
<gchristensen> it would be better to only become a trusted user when you must import an unsigned archive
<ris> running nix as root is something id rather not do
<ris> hmmmmmmm
<gchristensen> ok, add yourself as a trusted user
ylwghst has quit [(Read error: Connection reset by peer)]
<ris> guess so
bennofs1 has quit [(Ping timeout: 255 seconds)]
ylwghst has joined #nixos
<ris> always have found the nix.conf syntax weird
<gchristensen> its pretty simple syntax, no?
<ris> takes string args, doesn't like them quoted
ylwghst has quit [(Remote host closed the connection)]
<ris> does it take bools? lowercase? titlecase? does it take integers? all that kind of stuff
dbmikus has joined #nixos
<gchristensen> `man nix.conf` :)
ylwghst has joined #nixos
astronavt has joined #nixos
<jluttine[m]> i have an executable written in python. i'm writing a service that runs this executable. but i need this executable to find some python packages that the user can define. how can i achieve this? should i wrap the executable somehow? i tried wrapping it with makeWrapper and modifying PYTHONPATH but i think this change doesn't propagate into the executable (just a guess), or at least it doesn't find the python packages that
<jluttine[m]> are in the path i added.. any ideas?
<ris> cool chanks anyway
<ris> thanks
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/559ebb7ed02 (from 3 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
magnetophon has joined #nixos
spietz1 has quit [(Ping timeout: 240 seconds)]
ylwghst has quit [(Client Quit)]
Dr8128 has joined #nixos
astronavt has quit [(Ping timeout: 246 seconds)]
ylwghst has joined #nixos
cybrian has joined #nixos
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/de675e19cf6 (from 7 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
Slabity35 has joined #nixos
<gchristensen> all these advancements!
patrl has joined #nixos
szicari_ has joined #nixos
patrl3 has quit [(Ping timeout: 240 seconds)]
szicari has quit [(Ping timeout: 255 seconds)]
szicari_ is now known as szicari
Slabity35 is now known as Slabity
<gchristensen> looks like NPM took some inspiration from nix-shell
<__Sander__> hmm interesting
ylwghst has quit [(Read error: Connection reset by peer)]
<__Sander__> I hope some day they will also take inspiration from our Nix store
<Synthetica> ... Turns out the new version of konsole was broken and now I'm very glad it wasn't updating and had the old version in cache ¯\_(ツ)_/¯
<__Sander__> and get rid of their crappy way of storing dependencies :)
Kozu has joined #nixos
griff_ has quit [(Quit: griff_)]
Acou_Bass has joined #nixos
<vaibhavsagar> ris: I have run into this exact error with nix-store!
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/0fe990b0005 (from 15 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
<vaibhavsagar> good to know there is an easy fix
<Kozu> I'm trying to install nixos with UEFI boot and LUKS. I've tried many guides including the manual. When I run Nixos-install. I get a changing mode error in update-users-groups: Read only file system
<Kozu> Can anybody guide me how to fix it?
bfrog has quit [(Ping timeout: 240 seconds)]
<gchristensen> Kozu: are you running nixos-install in a nix-shell?
cybrian has quit [(Read error: Connection reset by peer)]
<Kozu> No, just the default shell on the live boot
bfrog has joined #nixos
ylwghst has joined #nixos
<Kozu> It's NixOS 17 btw
Isorkin has joined #nixos
magnetophon has quit [(Remote host closed the connection)]
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
<Kozu> I've tried the default hardware-config + config, and no install :(
magnetophon has joined #nixos
allenp has joined #nixos
bennofs1 has joined #nixos
griff_ has joined #nixos
proteusguy has quit [(Ping timeout: 252 seconds)]
Kozu has quit [(Ping timeout: 260 seconds)]
proteusguy has joined #nixos
<Synthetica> How do I access `/nix/store/*-system-path/share/applications`from `configuration.nix`?
iyzsong has quit [(Ping timeout: 250 seconds)]
adamt has quit [(Ping timeout: 240 seconds)]
<Synthetica> (Or where is it symlinked, I suppose)
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
<magnetophon> Synthetica: maybe you want /run/current-system/sw/share/applications
<Synthetica> Ah, yeah
<Synthetica> Thanks
<magnetophon> Synthetica: that doesnt have the user installed apps though
<Synthetica> Eh, that's fine, don't use em
zzamboni has quit [(Ping timeout: 264 seconds)]
<Synthetica> (and it's a single user system)
astronavt has joined #nixos
taktoa has quit [(Remote host closed the connection)]
adamt has quit [(Remote host closed the connection)]
adamt has joined #nixos
adamt has quit [(Changing host)]
adamt has joined #nixos
ylwghst has quit [(Quit: Lost terminal)]
astronavt has quit [(Ping timeout: 258 seconds)]
townsend has quit [(Remote host closed the connection)]
pxc2 has quit [(Ping timeout: 248 seconds)]
freusque has quit [(Quit: WeeChat 1.9.1)]
ertes-w has quit [(Ping timeout: 260 seconds)]
dmi3y has quit [(Quit: dmi3y)]
Ralith_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 3 new commits to master: https://git.io/vbqDd
<NixOS_GitHub> nixpkgs/master 2863022 Tim Steinbach: linux: 4.14.2 -> 4.14.3
<NixOS_GitHub> nixpkgs/master 777f49b Tim Steinbach: linux: 4.9.65 -> 4.9.66
<NixOS_GitHub> nixpkgs/master a57a32e Tim Steinbach: linux: 4.4.102 -> 4.4.103
NixOS_GitHub has left #nixos []
patrl has quit [(Quit: WeeChat 1.9.1)]
fragamus has joined #nixos
pie_ has joined #nixos
Acou_Bass has quit [(Ping timeout: 248 seconds)]
allenp has left #nixos []
cybrian has joined #nixos
nuncanada has joined #nixos
jsgrant has quit [(Remote host closed the connection)]
periklis has quit [(Ping timeout: 268 seconds)]
pareidolia has joined #nixos
erictapen has quit [(Ping timeout: 246 seconds)]
erasmas has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbqS2
<NixOS_GitHub> nixpkgs/release-17.09 077d059 Tim Steinbach: linux: 4.9.65 -> 4.9.66...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] NeQuissimus pushed 1 new commit to release-17.09: https://git.io/vbqSa
<NixOS_GitHub> nixpkgs/release-17.09 8fd3c6e Tim Steinbach: linux: 4.4.102 -> 4.4.103...
NixOS_GitHub has left #nixos []
rogue_koder has joined #nixos
adamt has quit [(Ping timeout: 240 seconds)]
asymmetric has joined #nixos
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
Ralith_ has quit [(Ping timeout: 260 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
pxc2 has joined #nixos
dmi3y has joined #nixos
Ralith_ has joined #nixos
peacememories has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] magnetophon opened pull request #32235: evopedia: patch the desktop file (master...evopedia) https://git.io/vbqHm
NixOS_GitHub has left #nixos []
Acou_Bass has joined #nixos
StevenTian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] zimbatm closed pull request #32179: memo: init at 0.2 + changed my email address (master...feature/memo) https://git.io/vbkhN
NixOS_GitHub has left #nixos []
pxc2 has quit [(Ping timeout: 248 seconds)]
phreedom has quit [(Ping timeout: 252 seconds)]
phreedom has joined #nixos
pie_ has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
pxc2 has joined #nixos
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
erictapen has joined #nixos
ertes has joined #nixos
astronavt has joined #nixos
pxc2 has quit [(Ping timeout: 240 seconds)]
ris has quit [(Ping timeout: 250 seconds)]
digitalmentat has joined #nixos
bkchr has joined #nixos
<digitalmentat> can someone point me at documentation for how to update the hackage-packages.nix manually (instead of waiting a few days for it to be automatically updated?)
<digitalmentat> I found an undocumented shell script inside of cabal2nix but I'm not sure if that's the official way to do it
astronavt has quit [(Ping timeout: 240 seconds)]
<digitalmentat> domenkozar, would you be able to point me at docs?
_Marek_ has quit [(Read error: Connection reset by peer)]
dan_b has joined #nixos
Acou_Bass has quit [(Remote host closed the connection)]
void__ has joined #nixos
<jack[m]> TODO: add database backup to matrix-synapse module.
digitus has joined #nixos
<jack[m]> TIL; sqlite3 ".dump" homeserver.db > dump.sql ; rm transaction begin/rollback can recover a corrupt sqlite db!
<jack[m]> ... items may be related.
cybrian has joined #nixos
<adisbladis> bkchr: You are doing great work! :)
kp__ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] adisbladis pushed 2 new commits to master: https://git.io/vbqFB
<NixOS_GitHub> nixpkgs/master 2700a58 Bastian Köcher: ipe: 7.1.10 -> 7.2.7
<NixOS_GitHub> nixpkgs/master eb01215 adisbladis: Merge pull request #32225 from bkchr/ipe...
NixOS_GitHub has left #nixos []
erictapen has quit [(Ping timeout: 240 seconds)]
jensens has quit [(Ping timeout: 250 seconds)]
pxc2 has joined #nixos
bennofs1 has quit [(Ping timeout: 255 seconds)]
alexteves has quit [(Ping timeout: 248 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej opened pull request #32237: tzdata: export TZDIR for dependent packages (staging...tzdata) https://git.io/vbqbT
NixOS_GitHub has left #nixos []
rihards has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #32208: j: 701_b -> 806 (master...master) https://git.io/vbLiU
NixOS_GitHub has left #nixos []
bkchr has quit [(Ping timeout: 248 seconds)]
dan_b has quit [(Ping timeout: 250 seconds)]
cybrian has quit [(Read error: Connection reset by peer)]
Tucky has quit [(Quit: WeeChat 1.9.1)]
__Sander__ has quit [(Quit: Konversation terminated!)]
danl1240 has joined #nixos
erictapen has joined #nixos
void__ is now known as _Marek_
Thra11 has joined #nixos
jb55 has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
<flyx> hi folks! I use bundix to create a default.nix file that can be used with nix-shell to have an environment for building my jekyll page, as explained in the bundix readme. however, jekyll requires pygments. how can I add pygments to that default.nix file?
spietz has joined #nixos
<flyx> if I try to put the jekyll expression inside a rec and put pygments next to it, I get „a single derivation is required“ from nix-shell
<clever> you need to put it in the buildInputs of that single expression
dan_b has joined #nixos
dmi3y has quit [(Quit: dmi3y)]
<flyx> clever: I tried that, but pygments is not available if I do it
dmi3y has joined #nixos
<clever> can you gist the default.nix?
<clever> and how are you checkign to see if pygments works?
<flyx> I run `jekyll build` which tells me it cannot find pygments
<clever> how does jekyll try to yse pygments?
cybrian has joined #nixos
<flyx> frankly, I have no idea since I am not a ruby guy. from what I see, it seems to depend on a ruby gem pygments.rb which in turn calls the actual python thing in some way
<clever> try running build prefixed with "strace -f -e execve"
<samueldr> any reason for not using the jekyll package?
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09-small advanced to https://github.com/NixOS/nixpkgs/commit/8fd3c6e9170 (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-17.09-small)
nix-gsc-io`bot has quit [(Client Quit)]
<flyx> samueldr: had problems with that in the past, but I cannot really remember the details
astronavt has joined #nixos
<flyx> samueldr: using the jekyll package with nix-shell also does not find pygments.
LexLeoGryfon has joined #nixos
<clever> flyx: what about with the strace?
<flyx> clever: I am trying to figure out where to get strace from
<clever> the strace package
<clever> try adding strace to the buildInputs
<flyx> kk, waiting for it to buidl
<flyx> build fails with ioctl_iocdef.c:36:10: fatal error: 'linux/ioctl.h' file not found
<flyx> probably not available for macOS
<LexLeoGryfon> in Arch linux there is /etc/mkinitcpio.conf where I can specify HOOKS for initramfs. I didn't found /etc/mkinitcpio.conf in NixOS, how I can specify HOOKS similial to mkinitcpio for initrd in configuration.nix?
<clever> flyx: oh, darwin has something else
<clever> LexLeoGryfon: what do you want to do with those hooks?
<clever> flyx: dang, cant remember what the magic incantation was for dtrace
<LexLeoGryfon> clever: those particular mkinitcpio HOOKS are shell instructions for init, that describe how to handle loading process of initramfs in your desired order
astronavt has quit [(Ping timeout: 252 seconds)]
<clever> LexLeoGryfon: this is where nix generates the initrd
dmi3y has quit [(Quit: dmi3y)]
<clever> LexLeoGryfon: using the options defined on lines 320, 344, 352, 361, 371, 388, and 399, you can manipulate what goes into the initrd
<LexLeoGryfon> thank you, this is clever
<LexLeoGryfon> that is actually I really want
<clever> extraUtilsCommands is ran when copying binaries into a temporarily directory the initrd will later use
<clever> and the others get inserted at various points in the init scripts
dan_b has quit [(Ping timeout: 258 seconds)]
* LexLeoGryfon satisfied for now
<flyx> hmm, I figured out that jekyll requires a Python 2.7 pygments, but changing that in default.nix does not fix the problem
* LexLeoGryfon gifts a violet flower to clever
<clever> flyx: you need to figure out of its running python on a .py file and trying to import pygments, or just trying to run something like pygmentize
<flyx> clever: pygmentize does get up
goibhniu has quit [(Ping timeout: 248 seconds)]
<flyx> ah, seems like I need to explicitly add pygments.rb to the Gemfile
Sonarpulse has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
himmAllRight has quit [(Remote host closed the connection)]
* joepie91 subscribes to thread, has had issues with jekyll in the past
peacememories has joined #nixos
<joepie91> :P
dan_b_ has quit [(Ping timeout: 240 seconds)]
himmAllRight has joined #nixos
<flyx> okay, adding pygments.rb to Gemfile and updating with bundix fixed it
zzamboni has joined #nixos
<earldouglas> Oof. NixOps is happy to overwrite a keypair if you use the same name in multiple deployments. Good thing I did an emergency export beforehand...
<gchristensen> ...wat?
rvolosatovs has joined #nixos
<earldouglas> I have two deployments, and hoped to use the same keypair between them. Deploying deployment2 overwrote the keypair that was generated by deploying deployment1.
<clever> that might explain some weirdness i saw recently
<earldouglas> I thought it might happen, so I did a backup just in case.
<rvolosatovs> is there a way to pass attributes to expressions imported by the { imports[ ./something.nix ] } ? essentialy I want to do { let foo = "foo"; } in { imports = [ ./do-something-with-foo.nix ]; }, where ./do-something-with-foo.nix logic depends on value of foo
<clever> rvolosatovs: one min
dan_b has joined #nixos
nuncanada2 has joined #nixos
<makefu> rvolosatovs: you could use the options system for this. e.g. create a new option, set it in the top level and use it somewhere else in your imports
Thra11 has quit [(Quit: IRC for Sailfish 0.9)]
ylwghst has joined #nixos
<clever> yeah, you can either create a proper option, or you can do what i just linked, which gets passed to every module in the nixos
<rvolosatovs> cool, thanks!
nuncanada has quit [(Ping timeout: 260 seconds)]
jvtbatman has joined #nixos
<jvtbatman> Hi! First time trying to install NixOS and I get an error: changing mode of /nix/store/...-update-users-groups.pl on running nixos-install. My conf is minimal with grub device and hostname set. Any suggestions? Thanks
patrl has joined #nixos
<ylwghst> jvtbatman: are trying nixos unstable?
<jvtbatman> ylwghst: Not that I know of? I downloaded the minimal installation cd for 17.09
<jvtbatman> No, not unstable*
<ylwghst> that's a NixOS stable
<ylwghst> i get this error once too but haven't figured why
<ylwghst> got*
<clever> jvtbatman: is there more to the error that you can paste?
<clever> earldouglas: are you able to gist the nixops deployment.nix file?
<jvtbatman> `error: changing mode of /nix/store/...-update-users-groups.pl to 100444: Read only-file system` would be the whole line
<clever> jvtbatman: and how did you boot from that installer?
patrl has quit [(Quit: WeeChat 1.9.1)]
<jvtbatman> clever: USB
<clever> jvtbatman: did you just dd the iso directly to the root of the device?
<jvtbatman> clever: Jes
<jvtbatman> Yes*
<clever> then it should be working
<earldouglas> clever: Not in its entirety, but the relevant section is: resources.ec2KeyPairs.unsharable-key-pair = { region = "..."; name = "dont overwrite me bro"; }
<jvtbatman> I guess `nixos-install` figures out the location/device it should install to? I didn't specify that anywhere
<clever> earldouglas: and if you open the keypair list in the aws console, does it ruen into charon-uuid-dont overwrite me bro?
<clever> jvtbatman: it defaults to /mnt/ which is where you must mount the hdd
<ylwghst> yep
<earldouglas> In the AWS console, the fingerprint for that key pair changed between deployment1 and deployment2.
<clever> earldouglas: and the keypair name includes the uuid?
<earldouglas> For clarity, by "two deployments" I mean nixops create -d deployment1 and nixops create -d deployment2
<earldouglas> No, no uuid
ma27 has quit [(Ping timeout: 258 seconds)]
<earldouglas> Just the name "dont overwrite me bro"
<clever> earldouglas: ahh, that would be a problem then
<clever> earldouglas: nixops normally inserts the deployment uuid into the name
<jvtbatman> clever: Alright, it has generated a root there with etc, home, sys, ... there so that's not the problem I guess?
<clever> earldouglas: oh, i know, just delete the name= from that set
<clever> earldouglas: resources.ec2KeyPairs.unsharable-key-pair = { region = "..."; };
StevenTian has quit [(Quit: Connection closed for inactivity)]
<clever> earldouglas: it will default to using the key above it, causing it to become a unique "charon-uuid-unsharable-key-pair";
<earldouglas> Yeah, that makes sense. I was hoping to force NixOps to use the same keypair, but I didn't RTFM on this one.
<earldouglas> Still, it might be nice if deployment2 fails because of the already existing keypair.
dywedir has quit [(Remote host closed the connection)]
<earldouglas> Interesting, what is ${name} there?
tusj has joined #nixos
<earldouglas> Is that the network name?
<clever> earldouglas: the key from one level up when you do resources.ec2KeyPairs.KEY = options
<earldouglas> Ah
jvtbatman has quit [(Read error: Connection reset by peer)]
<earldouglas> Thanks for the clarification!
<ylwghst> jvtbatman: i once stuck at this too I just reformated my partiton's again and it worked
jvtbatman has joined #nixos
cybrian has joined #nixos
<ylwghst> jvtbatman: try follow this http://tinyurl.com/nixos-install
<ylwghst> jvtbatman: and try install from nixos graphical
<ylwghst> jvtbatman: you can open that link with links its just raw txt
zzamboni has quit [(Quit: Leaving.)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<jvtbatman> ylwghst: Will the graphical installer install X11? I would prefer a minimal installation but if the graphical is working I guess thats ok
sigmundv__ has quit [(Ping timeout: 240 seconds)]
<ylwghst> jvtbatman: it will not
<jvtbatman> Or can I specify in the conf file what I want?
<clever> jvtbatman: the graphical installer just boots with X11, but it produces the exact same thing when you nixos-install
jb55 has quit [(Ping timeout: 276 seconds)]
<ylwghst> jvtbatman: it will install only what exactly you declare in configuration.nix
<jvtbatman> Perfect, I will try that then, thank you!
<clever> about the only real difference, is that you can use a graphical browser and graphical text editor while installing
<jvtbatman> clever: Well, that sounds like it won't solve my problem but I'll try ;)
<ylwghst> jvtbatman: and it does not even auto starts X
<ylwghst> jvtbatman: comes with networkmanager too so it can save you some time
<ylwghst> jvtbatman: the error is so strange but i just did from scratch and it worked... i got once with nixos unstable
<jvtbatman> ylwghst: For setting up networking? I'm on ethernet so it worked directly
<ylwghst> while i did everything still same again
<ylwghst> jvtbatman: yes you can configure it using nm-tui textual ui
<jvtbatman> ylwghst: Haha, well... I'll play around and get back here with my results :)
peacememories has joined #nixos
astronavt has joined #nixos
<ylwghst> i mean i just did everything from scratch*
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-unstable-small advanced to https://github.com/NixOS/nixpkgs/commit/eb0121540eb (from 2 hours ago, history: https://channels.nix.gsc.io/nixos-unstable-small)
nix-gsc-io`bot has quit [(Client Quit)]
Wizek_ has joined #nixos
astronavt has quit [(Ping timeout: 255 seconds)]
<jvtbatman> Wait, I think I set my grub device to /dev/sda2 (boot partition) instead of /dev/sda, could that be it?
<ylwghst> jvtbatman: you can try it
<clever> jvtbatman: that could break the boot partition
szicari has quit [(Read error: Connection reset by peer)]
szicari has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
<ylwghst> should be mounted in /mnt/boot and written as /dev/sda in configuration.nix
propumpkin is now known as contrapumpkin
Acou_Bass has joined #nixos
<jvtbatman> Hmm, that wasn't it though.. Got the same error, will try graphical version now!
<clever> jvtbatman: you also dont really have to re-format, just mount everything again under /mnt and nixos-install
<jvtbatman> clever: All right!
zzamboni has joined #nixos
<ylwghst> clever: could this be somehow related to how users are defined?
<clever> the entire build/install happens as root, so users shouldnt come into play
<ylwghst> i once experienced exactly the same issue while i still did evrything the same way...
zzamboni has quit [(Client Quit)]
<gchristensen> TIL: a diagram showing what `--keep-going` does would be helpful to people
jb55 has joined #nixos
<gchristensen> I just did like a 5-min group chat with people at work where I just showed some simple trees to show what it does
<LnL> oh, howso?
cybrian has joined #nixos
ThatDocsLady_ has quit [(Quit: Leaving)]
orivej has quit [(Ping timeout: 248 seconds)]
<gchristensen> it was really helpful for them to see https://screenshots.firefox.com/jLG7JTeHunMdDr1f/null that while 0 failed it made 1, 3, 7 impossible to build, it could still build all the rest
<jvtbatman> Apparently it didn't work either?
<clever> gchristensen: the biggest reason i use it, is that if you get a failure with `-j 8`, your error is interleaved with other things, and restarting it may start more things, rather then fail right away
<gchristensen> yeah
<gchristensen> that would also be helpful info
<clever> nix needs to have a better -Q
<clever> where it spits out the last 30 lines of the failed job
<LnL> gchristensen: interesting
<LnL> nix 1.12 does that
<gchristensen> I think it makes some sense when you consider how crappy most build tools are at actually grokking dependency trees
<LnL> yeah, stuff like the apt resolver are pretty complex in comarison
<gchristensen> yeah
<LexLeoGryfon> Ok, guys, I have a great news for you! I achieved an boot from plain dm-crypted partition on NixOS! GG! This was undocumented feauture, and I was forced to kinda invent the wheel, but finally it works and I'm satisfied. Maybe I wll document it someday.
<gchristensen> w00t!
ris has joined #nixos
Acou_Bass has quit [(Remote host closed the connection)]
Acou_Bass has joined #nixos
Acou_Bass has quit [(Client Quit)]
Acou_Bass has joined #nixos
Acou_Bass has quit [(Remote host closed the connection)]
<gchristensen> manveru: ping?
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vbmtt
<NixOS_GitHub> nixpkgs/master 1d10e7f Bart Brouns: pqiv: 2.9 -> 2.10.1
NixOS_GitHub has left #nixos []
Acou_Bass has joined #nixos
agjacome has joined #nixos
<gchristensen> manveru: unping
<rvolosatovs> if I were to join 2 sets using '//' operator and wish to concatenate equally named attributes, which are a list, how could I do that? I.e. { foo = [ "foo" ] } // { foo = ?? ++ [ "bar" ] }. Is there a way to do this without defining an intermediate variable?
LexLeoGryfon has quit [(Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)]
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
peacememories has joined #nixos
peacememories has quit [(Client Quit)]
<clever> rvolosatovs: it sounds more like you want to leverage the nixos options, if possible
erictapen has quit [(Ping timeout: 248 seconds)]
ylwghst has quit [(Quit: leaving)]
ylwghst has joined #nixos
astronavt has joined #nixos
cybrian has quit [(Read error: Connection reset by peer)]
astronavt has quit [(Ping timeout: 252 seconds)]
ertes has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #32240: ccl and sbcl updated, tested on nixos x86_64 (master...master) https://git.io/vbmtM
NixOS_GitHub has left #nixos []
_c_ has quit [(Ping timeout: 240 seconds)]
_c_ has joined #nixos
steveeJ has quit [(Ping timeout: 240 seconds)]
steveeJ has joined #nixos
dywedir has joined #nixos
pbogdan has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
dieggsy has joined #nixos
hellrazor has joined #nixos
pbogdan has joined #nixos
jb55 has quit [(Ping timeout: 268 seconds)]
<jvtbatman> I think I'll give up for now.. It's really unfortunate since I think nixos seem so interesting
ylwghst has quit [(Quit: Lost terminal)]
ylwghst has joined #nixos
mekeor has joined #nixos
<Yaniel> give up on what?
<jvtbatman> Yaniel: I asked for help earlier since I got `error changing mode of /nix/store/...-update-users-groups.pl to 100444: Read-only file system` on running nixos-install
nallar has joined #nixos
<jvtbatman> I tried both minimal and graphical image, reformatted disk and a bunch of different configs but installer always failed with that line unfortunately
Ross has quit [(Ping timeout: 268 seconds)]
nallar is now known as Ross
ylwghst has quit [(Ping timeout: 252 seconds)]
<Yaniel> why would it try changing the installer O.o
cybrian has joined #nixos
mariav has joined #nixos
<jvtbatman> No idea :(
Ross has quit [(Ping timeout: 264 seconds)]
nallar has joined #nixos
nallar is now known as Ross
<Yaniel> you have been following the instructions in the manual, right?
<jvtbatman> Yaniel: Yes
<Yaniel> specifically the part where you format and mount the target disk partition and run nixos-generate-config on it?
<Yaniel> and if that didn't help, did you try running nixos-install with the --root flag?
zzamboni has joined #nixos
<Yaniel> (--root=/mnt or the like)
<jvtbatman> Yaniel: Yep, I've used the same partitioning table as before where I ran Arch on it
<jvtbatman> I've not tried the root flag acctually
acarrico has quit [(Ping timeout: 276 seconds)]
dschoepe has joined #nixos
<Yaniel> well, tbf that flag is not mentioned in the manual :D
<jvtbatman> Yaniel: It didn't make any difference either :(
MP2E has joined #nixos
<LnL> did you run nixos-generate-config --root /mnt
<Yaniel> :(
<Yaniel> and your target disk is writable?
<jvtbatman> Yes
<LnL> kind of sounds like it's trying to install to /nix/store instead of /mnt
<jvtbatman> Yaniel: Can I double check that easily?
<jvtbatman> Can't see why not but...
zzamboni has quit [(Quit: Leaving.)]
<Yaniel> check the mode of the mounted root dir
<Yaniel> and maybe some other dirs in it
<LnL> look at cat /proc/mounts
<jvtbatman> All partitions are rw
<LnL> isn't /nix/store of the installer iso readonly?
<dschoepe> I'm encountering an issue when trying to install NixOS; after running nixos-generate-config --root /mnt and then nixos-install, I get `changing mode of /nix/store/<long-id>-update-users-groups.pl to 100444: Read-only file system`. (Sorry if the problem being discussed now is the same one, joined after the initial question)
tmaekawa has joined #nixos
<Yaniel> sounds like it's the exact same problem
<LnL> well, you're the second person here aparently :/
tmaekawa has quit [(Client Quit)]
civodul has joined #nixos
<dschoepe> I also checked the commands you suggested, and also get the same results. All partitions are rw, enough disk space is there, no IO errors in journalctl
<jvtbatman> Sorry but, yay I'm not alone :D
Harpalus has joined #nixos
sigmundv has joined #nixos
mariav has quit [(Quit: mariav)]
mariav has joined #nixos
<dschoepe> chmodding or touching the file it complains about under /mnt/ works fine without a read-only error
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixos-17.09 advanced to https://github.com/NixOS/nixpkgs/commit/559ebb7ed02 (from 9 hours ago, history: https://channels.nix.gsc.io/nixos-17.09)
nix-gsc-io`bot has quit [(Client Quit)]
asymmetric1 has joined #nixos
jhink has joined #nixos
_Marek_ has quit [(Remote host closed the connection)]
<MichaelRaskin> nixo
* samueldr is downloading newest iso to verify
<jvtbatman> Are older versions available for download anywhere? To test
<samueldr> I think they are, when the path is known
<jhink> hi everyone. I'm trying to install nixos into a virtualbox VM. I'm getting an error in the `nixos-install` step, complaining about read-only filesystem trying to change the mode of `/nix/store/*-update-user-groups.pl` to 100444
<samueldr> give me a minute
<jvtbatman> jhink: Now we're 3. Well, I'm not installing VM but still same error
<jhink> great. at least that mean's i'm not crazy
<samueldr> this one I downloaded november 20th
asymmetric has quit [(Ping timeout: 252 seconds)]
<samueldr> don't remember if I did a complete install as a test with it
endformationage has joined #nixos
<samueldr> jvtbatman: you had the issue with the minimal iso, right?
<jvtbatman> samueldr: Thanks! I'll try it out now
<jhink> i'm using minimal iso
<jvtbatman> samueldr: Both!
<samueldr> okay good, didn't want to wait for the full graphical iso
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] joachifm closed pull request #32035: armadillo: 7.800.1 -> 8.300.0 (master...upgrade-armadillo) https://git.io/vFhx0
NixOS_GitHub has left #nixos []
<jhink> thanks samueldr, trying that new iso now
cybrian has quit [(Read error: Connection reset by peer)]
<samueldr> jhink: *old iso!
<jhink> right
<samueldr> :)
asymmetric1 has quit [(Ping timeout: 248 seconds)]
<jhink> works for me
<jhink> thanks samueldr
<samueldr> hmmm
mekeor has quit [(Ping timeout: 255 seconds)]
<samueldr> (I'm just booting the installer in virtualbox)
<jhink> got a fast connection here. it worked great. now i'll just update and off to the races. thanks again
<samueldr> anyone created an issue yet?
<LnL> jhink: jvtbatman: could one of you create an issue for this
<samueldr> (doesn't seem there are any open yet)
<samueldr> if not, I can create one once I confirm
<jvtbatman> jvtbatman: I can create one
<LnL> don't think there is one yet
<jvtbatman> Checked when I got the error and couldn't find any!
<LnL> I wonder what's going on, none of the installer stuff changed in the last months
<samueldr> if I can repro, I'll try writing a test in the qemu test harness, though I don't know how successful I'll be
<samueldr> and I just repro-ed
<LnL> that would be great!
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vbmnw
<NixOS_GitHub> nixpkgs/master 5da0dff Joerg Thalheim: gdbgui: 0.9.0.1 -> 0.9.1.0
NixOS_GitHub has left #nixos []
<dschoepe> The old ISO also works for me, thanks!
astronavt has joined #nixos
<samueldr> I'll link the iso(s) in the issue as a temporary workaround
sigmundv has quit [(Ping timeout: 276 seconds)]
<LnL> samueldr: so ac35504065 is ok?
<samueldr> I haven't confirmed, but dschoepe and jhink seem to agree that it is
jbboehr has joined #nixos
<LnL> I see nothing suspicious in the commits
astronavt has quit [(Ping timeout: 255 seconds)]
jbboehr2 has joined #nixos
jbboehr2 has quit [(Client Quit)]
jbboehr has quit [(Client Quit)]
cybrian has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #32235: evopedia: patch the desktop file (master...evopedia) https://git.io/vbqHm
NixOS_GitHub has left #nixos []
jbboehr has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vbmcP
<NixOS_GitHub> nixpkgs/master 76244de Bastian Köcher: qesteidutil: 3.12.5.1233 -> 3.12.10
<NixOS_GitHub> nixpkgs/master dd40eae Jörg Thalheim: Merge pull request #32231 from bkchr/qesteidutil...
NixOS_GitHub has left #nixos []
drakonis has joined #nixos
<jvtbatman> samueldr: Yeah, the older image works for me as well
magnetophon has quit [(Ping timeout: 276 seconds)]
griff__ has joined #nixos
<samueldr> there are 6 channel advancements between the currently failing installer and the one I linked
<LnL> worst case we can git bisect and build/test the iso for each revision
<samueldr> that's what I'm looking into
griff_ has quit [(Ping timeout: 276 seconds)]
griff__ is now known as griff_
Slabity has quit [(Remote host closed the connection)]
TweyII has quit [(Ping timeout: 268 seconds)]
jhink has quit [(Quit: Page closed)]
magnetophon has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 closed pull request #32227: keyfinder: 2.1 -> 2.2 (master...keyfinder) https://git.io/vbqWJ
NixOS_GitHub has left #nixos []
<LnL> you can run nix-build ./nixos/release.nix -A iso_minimal to build yourself
cybrian has quit [(Read error: Connection reset by peer)]
<samueldr> yes, and I did :)
<samueldr> sorry, had my mind elsewhere
<samueldr> (scrolled up to see channel messages by the bot)
acarrico has joined #nixos
wolfcub has joined #nixos
Harpalus has quit [(Quit: Leaving)]
hariel has quit [(Ping timeout: 258 seconds)]
spietz has quit [(Ping timeout: 252 seconds)]
spietz has joined #nixos
jmc_fr has joined #nixos
jb55 has joined #nixos
ottidmes has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] Mic92 pushed 4 new commits to master: https://git.io/vbm4R
<NixOS_GitHub> nixpkgs/master 2361fd8 Ryan Bernstein: drip: init at 0.2.4
<NixOS_GitHub> nixpkgs/master 1a2e2ca Ryan Bernstein: drip: refactor to original repository
<NixOS_GitHub> nixpkgs/master 6f52bf8 Joerg Thalheim: drip: provided which at run time
NixOS_GitHub has left #nixos []
<ottidmes> I do not want the staircase printing of the boot messages when shutting NixOS down. I know I should be able to fix this by adding both -opost and -olncr to the appropriate stty call, but I am not sure how to locate this particular call, any ideas?
fragamus has joined #nixos
pierrec has joined #nixos
orivej has joined #nixos
hiratara has quit [(Ping timeout: 250 seconds)]
<pierrec> Hi
Synthetica has quit [(Quit: Connection closed for inactivity)]
<pierrec> There is something I don't understand about NixOS: where are the includes?
<pierrec> For instance, I'm compiling C++ code that depends on Boost (say boost headers). How can I help cmake find boost?
<pierrec> (boost being installed on my NixOS system)
cybrian has joined #nixos
hiratara has joined #nixos
rihards has quit [(Quit: rihards)]
bennofs1 has joined #nixos
asuryawanshi has quit [(Ping timeout: 248 seconds)]
astronavt has joined #nixos
magnetop` has joined #nixos
magnetophon has quit [(Ping timeout: 240 seconds)]
<ottidmes> pierrec: You would make a deriviation for it adding the libraries to the buildInputs and you could use nix-shell for easy building of your project: https://www.reddit.com/r/NixOS/comments/6kdpu7/setting_up_a_development_environment/
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<danl1240> how do a remove a nix package from my profile, or switch to a profile with that package removed?
<ottidmes> danl1240: nix-env -e <package_name>
<orivej> pierrec: the generic way is with nix-shell. for example, "nix-shell -p pkgconfig -p cmake -p boost -p libarchive" will drop you in a shell where "pkg-config --cflags libarchive" returns cflags for libarchive, and cmake can use that. AFAIK has some builtin logic for finding boost, and this nix-shell should be enough for it to work.
<orivej> err, cmake hase builtin logic for finding boost
babyflakes has quit [(Quit: Connection closed for inactivity)]
astronavt has quit [(Ping timeout: 255 seconds)]
<makefu> and automake projects use a similar logic for finding libs, sometimes pkgconfig is used for this. as long as it is available in your path it should "just work"
jmc_fr has quit [(Ping timeout: 248 seconds)]
dieggsy has quit [(Ping timeout: 252 seconds)]
sigmundv has joined #nixos
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] orivej pushed 2 new commits to staging: https://git.io/vbm0e
<NixOS_GitHub> nixpkgs/staging c13de40 Orivej Desh: tzdata: export TZDIR for dependent packages...
<NixOS_GitHub> nixpkgs/staging 3152e13 Orivej Desh: Merge pull request #32237 from orivej/tzdata...
NixOS_GitHub has left #nixos []
<pierrec> thanks @ottidmes, @orivej
magnetop` is now known as magnetophon
<gchristensen> nice fix, orivej!
fragamus has joined #nixos
<orivej> yes, it turned out well
acarrico has quit [(Ping timeout: 240 seconds)]
Sonarpulse has quit [(Ping timeout: 255 seconds)]
acarrico has joined #nixos
szicari has quit [(Quit: szicari)]
<manveru> any haskell wizard here who can help me get this built? https://github.com/NixOS/nixpkgs/pull/32194
sigmundv has quit [(Ping timeout: 255 seconds)]
<danl1240> ottidmes: thanks... that works. and yeah, that cheatsheet doesn't display properly for me (and it doesn't have that command line)
<makefu> danl1240: you can scroll left and right in the table, but yeah right now the formatting is a bit off
dbmikus has quit [(Quit: WeeChat 1.9.1)]
hiratara has quit [(Quit: ZNC - http://znc.in)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ma27 has joined #nixos
m has joined #nixos
m is now known as Guest31731
catch22 has joined #nixos
<Guest31731> hi nix folks! I'm kinda not getting my xrandr config back to the default. there are a few pixels cut of on the right side of the screen and at the bottom as well. Inside a different xmonad user session everything works.. any suggestions how to fix this?
fragamus has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
nix-gsc-io`bot has joined #nixos
<nix-gsc-io`bot> Channel nixpkgs-unstable advanced to https://github.com/NixOS/nixpkgs/commit/6ccf5617d21 (from 5 hours ago, history: https://channels.nix.gsc.io/nixpkgs-unstable)
nix-gsc-io`bot has quit [(Client Quit)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub> [nixpkgs] rycee pushed 1 new commit to master: https://git.io/vbmgt
<NixOS_GitHub> nixpkgs/master 25a853e Robert Helgesson: perl-Log-Any: disable syslog test
NixOS_GitHub has left #nixos []
Guest31731 has quit [(Remote host closed the connection)]
ma27 has quit [(Ping timeout: 255 seconds)]
notdaniel has joined #nixos
astronavt has joined #nixos
astronavt has quit [(Ping timeout: 240 seconds)]
sigmundv has joined #nixos
acarrico has quit [(Ping timeout: 268 seconds)]
pxc2 has quit [(Ping timeout: 268 seconds)]
adamt has joined #nixos
rsa has quit [(Ping timeout: 260 seconds)]
adamt_ has joined #nixos
adamt has quit [(Ping timeout: 248 seconds)]
jvtbatman has quit [(Read error: Connection reset by peer)]
jvtbatman has joined #nixos
sigmundv has quit [(Ping timeout: 248 seconds)]
fragamus has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cybrian has quit [(Read error: Connection reset by peer)]
spietz has quit [(Ping timeout: 264 seconds)]
nallar has joined #nixos
dywedir has quit [(Ping timeout: 240 seconds)]
Ross has quit [(Ping timeout: 248 seconds)]
nallar is now known as Ross
erasmas has quit [(Quit: leaving)]
wolfcub has quit [(Remote host closed the connection)]
alhariel has joined #nixos
leothrix has quit [(Ping timeout: 276 seconds)]
pxc2 has joined #nixos
ma27 has joined #nixos
pxc2 has quit [(Ping timeout: 248 seconds)]
adamt_ is now known as adamt
rogue_koder has quit [(Quit: Konversation terminated!)]
void__ has joined #nixos
void__ is now known as _Marek_
griff_ has quit [(Ping timeout: 248 seconds)]
_Marek_ has quit [(Client Quit)]
_Marek_ has joined #nixos
cybrian has joined #nixos
mbock has joined #nixos
manu__ has joined #nixos
<manu__> hi, I am trying out NixOS and I am stuck installing xfce. I looked at the doc but I am not sure what package needs to be installed
<manu__> at a minimum
<mbock> hi! I'm just checking out the `nixos-rebuild build-vm` feature. awesome, it works! I'm welcomed by the xmonad login screen in the VM window.. I just cannot login with the user/password I set inside the config I'm testing.. does anyone know, what I'm missing here?
<clever> manu__: what have you tried so far?