otherjrolfs has quit [(Ping timeout: 272 seconds)]
<mull>
yegortimoshenko: yepp, exactly this one
jtojnar has quit [(Quit: jtojnar)]
MP2E has joined #nixos
<yegortimoshenko>
mull: could you gist your config so i can take a look at it and see why there is an error?
simukis has quit [(Read error: Connection reset by peer)]
simukis has joined #nixos
<mull>
yegortimoshenko: ... I think I have an idea what could be the reason here... I'll turn back to you if my assumption was wrong..
simukis has quit [(Ping timeout: 240 seconds)]
<mull>
yegortimoshenko: yes, it works now (I imported my custom package the wrong way). great. thanks!
<mull>
(will make a PR tomorrow for the 'package' option)
mull has quit [(Remote host closed the connection)]
Guest78 has joined #nixos
sary has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fahadsadah opened pull request #33022: nixos/gnome3: get keyboard layout(s) from xkb (master...patch-2) https://git.io/vbQzU
NixOS_GitHub has left #nixos []
guix2nix has joined #nixos
ottidmes has quit [(Ping timeout: 240 seconds)]
<guix2nix>
Hi, I installed "firefox", I was expecting regular firefox 56, but it seems the stable channel is stuck with 56 nightly build. Am I getting the wrong package?
<samueldr>
you're getting the same thing as "normal firefox 56", except the branding
<guix2nix>
samueldr: oh thanks, sorry i had missed that
<samueldr>
n/p, page is quite new
<gchristensen>
hi guix2nix, nixos-17.09 doesn't _quite_ have firefox 57 yet, but it will very soon. also, our build of FireFox is always called Nightly, even if it is stable due to Mozilla's licensing restrictions
<guix2nix>
gchristensen: thanks, yeah i know about 57 not reaching stable channel yet. It's just that the nightly thing got me confused.
sary has joined #nixos
<gchristensen>
yeah, a funny thing is they gave us permission, but chickened out when we wanted to _document_ that they gave us permission
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<samueldr>
:/
<gchristensen>
ehh its ok :)
i-am-the-slime has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<samueldr>
can I be pinged when this hits the channels, so I can update the wiki page?
<jtojnar>
yegortimoshenko: how does the emoji setting combine with UI fonts other than DejaVu Serif?
<pbogdan>
gchristensen: :)
<gchristensen>
pbogdan: :) we have hydra for full rebuilds, and the PR is long overdue anyway. you didn't mention any serious problems you've encountered, so here we go
<yegortimoshenko>
jtojnar: from my experience, disabling *all* fonts except Noto family of fonts incl. Noto Emoji was the only viable way to get emoji to work. however, you might be interested in this thread: https://github.com/googlei18n/noto-emoji/issues/36
bennofs has quit [(Ping timeout: 265 seconds)]
<samueldr>
I need to check back what I did with my user's fontconfig on my laptop
<samueldr>
I have color rendering for emojis *in google-chrome* (haven't verified chromium)
<yegortimoshenko>
jtojnar: the problem is that when e.g. browsers render emoji glyphs they don't specifically ask for emoji fonts from fontconfig, which is why some emojis are overrided by dejavu family that has some black-white "emojis"
<gchristensen>
orivej: you'll be glad to know I have monitoring on some basic ofborg functions now, hopefully I'll be paged about issues before you find them :)
Supersonic112 has quit [(Disconnected by services)]
<iqubic>
Yeah, my configuration.nix is litered with sets.
<iqubic>
In fact, you could say that it is just one giant set itself.
Supersonic112_ has joined #nixos
jtojnar has joined #nixos
Supersonic112_ is now known as Supersonic112
<samueldr>
can't find an exact documentation bit about that, but the "import <nixos-unstable>" bit imports that file, and in that case, it's a function, so it's like ((import <nixpkgs>) {})
<samueldr>
it's not the `import` part that makes it need the {}, but the fact that <nixos-instable> is a function
<iqubic>
But nixos-unstable isn't a file. It's a channel I added with "nix-channel --add ..."
jrolfs has quit [(Ping timeout: 252 seconds)]
<samueldr>
:) chevrons are magical
<samueldr>
give me a sec
<samueldr>
in my specific case, it resolves to a local path
otherjrolfs has quit [(Ping timeout: 264 seconds)]
schoppenhauer has quit [(Ping timeout: 252 seconds)]
schoppenhauer has joined #nixos
sigmundv has joined #nixos
vod has joined #nixos
<vod>
is there an API doc for lib? I see lots of comments in the code, is that it? ie, if i want to see functions in lib.strings i need to open the source and read it? or is there something easier available?
otherjrolfs has joined #nixos
jrolfs has joined #nixos
yegortimoshenko has quit [(Quit: Page closed)]
<acarrico>
Huzzah! I'm off the LiveCD and onto disk. If I want to change the mount options (or something else) from hardware-configuration.nix, should I just copy the definition into configuration.nix? That is unclear in the installation manual.
noobineer has joined #nixos
noobineer has quit [(Max SendQ exceeded)]
<samueldr>
you're not forced to keep it in hardware-configuration.nix, but it's meant to be a bit more portable
<samueldr>
in about a year of use, I haven't had anything re-generate over hardware-configuration.nix, since I've not called nixos-generate-config on any running system
* samueldr
is wondering whether this should be reviewed
<acarrico>
samueldr: there is a warning not to change it there, but rather in configuration.nix. I'm guessing anything not in the top-level there falls back to imports=..., but I'm not clear if a parts of a definition can come from both places.
<samueldr>
it depends on the type of the attribute, some can be defined a multiple places, some not
<samueldr>
I mean, sets will always be merged (unless I'm mistaken), but the other attributes, some will concatenate, and some will error out noisily when re-defined
<samueldr>
so it should be safe to add mounts elsewhere
<acarrico>
I wonder if imports= part of the nix-language, or the configuration system?
<samueldr>
`imports = `, with that equal is a construct of the configuration system
sary has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
sary has joined #nixos
<acarrico>
So those merge semantics aren't part of the language itself.
<acarrico>
I guess I'll experiment, not much to lose yet.
<acarrico>
Tired of reading.
<samueldr>
nah, there's not much you can do to actually hose the system :)
<samueldr>
(through configuration)
<samueldr>
if you stay away from bootloader options, it's all pretty safe
<samueldr>
(and bootloader options will mostly only cause minor issues like not booting)
<acarrico>
samueldr: :)
<acarrico>
The manual should maybe switch to describing EFI boot loader as the main option. It has been a long time since I've used anything else.
jrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has joined #nixos
<acarrico>
Same with gdisk vs. fdisk etc.
jrolfs has joined #nixos
<samueldr>
yes
jb55 has quit [(Ping timeout: 240 seconds)]
<samueldr>
though, there is chapter 2.1 that explains the differences
<samueldr>
it possibly may be switched to default for EFI instructions, and a chapter explaining the small differences for legacy boot
<acarrico>
samueldr: thanks for the help. Time to take a break.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] orivej pushed 1 new commit to master: https://git.io/vbQr7
<NixOS_GitHub>
nixpkgs/master 159a72b Orivej Desh: python.pkgs.bitcoinlib: support darwin
NixOS_GitHub has left #nixos []
<fearlessKim[m]>
what's the best way to put a tar.gz in the /nix/store ? it is data needed to build another packaged (and in sandbox mode, the latter package can't download it). I made a derivation for it but then it tries to unpack/install it while I just want to put the thing in store
sary has quit [(Ping timeout: 248 seconds)]
sary has joined #nixos
verite has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
mizu_no_oto has joined #nixos
asuryawanshi has joined #nixos
babyflakes has joined #nixos
jrolfs has joined #nixos
<jtojnar>
fearlessKim[m]: nix-prefetch-url?
jrolfs has quit [(Ping timeout: 264 seconds)]
<jtojnar>
you can use nix-prefetch-url file:///absolute-path-to-file
<orivej>
fearlessKim[m]: fetchurl does not unpack archives, and the call to fetchurl returns a derivation whose path is the path to the file in the store
<fearlessKim[m]>
orivej: I see thanks, that solves my pb
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<jtojnar>
weird, gnome3.gnome_keyring just failed in checkPhase
asuryawanshi has quit [(Remote host closed the connection)]
oida has joined #nixos
ma27 has joined #nixos
Itkovian has joined #nixos
otherjrolfs has joined #nixos
oida has quit [(Client Quit)]
ilyaigpetrov has joined #nixos
oida has joined #nixos
siel has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
dywedir has quit [(Remote host closed the connection)]
siel has joined #nixos
<pie__>
i tried nix-shell -E 'with import <nixpkgs> {}; callPackage ./default.nix {}' but that doesnt actually seem to result in the build going throuhg, it just downloads the deps
<pie__>
...looks like i just needed to add parenthesis :P
oida has quit [(Quit: WeeChat 1.6)]
<Enzime>
pie__: you can also just do nix-shell in a folder where it's called default.nix
<Enzime>
otherwise nix-shell <filename>
<pie__>
i tried that but it didnt work.... :/
ylwghst has quit [(Ping timeout: 252 seconds)]
<pie__>
error: cannot auto-call a function that has an argument without a default value (‘stdenv’)
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
otherjrolfs has joined #nixos
astsmtl has quit [(Ping timeout: 248 seconds)]
cinimod has joined #nixos
<cinimod>
I just type nix-env -i thinking it would tell me what packages I had installed. Instead it has now installed a large amount and also failed :(
<cinimod>
typed
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<srhb>
cinimod: nix-env -q will show you your user env installed packages.
<srhb>
nix-env -i will install all of nixpkgs (well, no, because it will fail, but...)
<cinimod>
Phew - nix-env -q shows that I only have the packages I explicitly want
<cinimod>
I seem to have quite a few NIX_* environment variables e.g. NIX_PATH which I don't recall setting explicitly
pkill9 has joined #nixos
<hyper_ch>
clever: already awake?
oida has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
oida has quit [(Quit: WeeChat 1.6)]
jrolfs has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
ylwghst has joined #nixos
oida has joined #nixos
berce has quit [(Ping timeout: 256 seconds)]
otherjrolfs has joined #nixos
<edef>
pie__: hi! i wrote that one, i updated it a lil for the latest binja in october
<pie__>
edef, oh cool
<pie__>
how come its not in nixpkgs?
<pie__>
:P
<edef>
it's a proprietary piece of software that isn't redistributable and has no obvious notion of releases?
<pie__>
edef, i just updated the hash and it seemed to work? xP
<edef>
idk
<pie__>
eh i guess
<edef>
it needs openssl and libmspack in later versions
<pie__>
but stuff like pycharm is in
<edef>
wow, i hate gist search :(
<pie__>
and i bet radare has a package even though thats basically "get latest or we wont care about you if you need help"
<edef>
*types binja-ninja* "no results"
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<edef>
it does, yeah
asuryawanshi has joined #nixos
<pie__>
(im kinda just trying to put some mass behind my argument :P)
<edef>
i'd probably be less reluctant to be maintaining a thing like that if i used binja more heavily
<edef>
i have no real way of knowing when it updates
<edef>
i wonder if i should just figure out how the updater works
jtojnar has quit [(Quit: jtojnar)]
jtojnar has joined #nixos
cinimod has quit [(Ping timeout: 248 seconds)]
jtojnar has quit [(Remote host closed the connection)]
jtojnar has joined #nixos
asuryawanshi has quit [(Ping timeout: 256 seconds)]
<pie__>
ah well i suppose i should check what plugins exist but it doesnt matter ecause i cant use them anyway :P
iyzsong has quit [(Ping timeout: 260 seconds)]
<pie__>
ah well...found that xref, turns out i was looking at a blob of things and the string didnt start where i figured...
* pie__
plays around
<edef>
mildly curious if they ever update the demo
<pie__>
yeah
<pie__>
otherwise i wouldnt have needed to fix the hash :P
<edef>
oh, true
<edef>
what's the fresh hash?
<edef>
oh wait i can do this myself, the url is right htere
<pie__>
lol yah :D
jtojnar has quit [(Remote host closed the connection)]
otherjrolfs has joined #nixos
jtojnar has joined #nixos
cinimod has joined #nixos
iyzsong has joined #nixos
atrx has joined #nixos
<edef>
maybe i should just make it builtins.fetchurl
sigmundv has quit [(Ping timeout: 248 seconds)]
<pie__>
random sidenote, does nix have stuff for verifying gpg signed stuff, etc
ma27 has quit [(Ping timeout: 252 seconds)]
<edef>
pie__: nope
<pie__>
(the thing with the hashes as is is noone actually takes them seriously)
otherjrolfs has quit [(Ping timeout: 272 seconds)]
<edef>
like, you could do PGP verification of things
<pie__>
* pgp
<edef>
but we have no pre-existing infrastructure for it
<edef>
you could just like, invoke gpg in a build
jtojnar has quit [(Remote host closed the connection)]
<capisce>
I found I had to manually do "nix-env -i /nix/store/3kl3s1kd5brwp1z7nh2jvi50yxs7dnql-glibc-2.26-75-dev" for glibc includes to find their way into my ~/.nix-profile/include
<capisce>
"nix-env -iA nixpkgs.glibc.dev" didn't work
<capisce>
any idea why that is?
<capisce>
ditto for SDL2 headers btw
jtojnar has joined #nixos
atrx_ has joined #nixos
atrx_ has quit [(Max SendQ exceeded)]
atrx_ has joined #nixos
berce has joined #nixos
atrx_ has quit [(Max SendQ exceeded)]
jrolfs has joined #nixos
atrx_ has joined #nixos
atrx_ has quit [(Max SendQ exceeded)]
atrx_ has joined #nixos
atrx has quit [(Ping timeout: 265 seconds)]
ma27 has joined #nixos
atrx_ has quit [(Max SendQ exceeded)]
jrolfs has quit [(Ping timeout: 272 seconds)]
atrx_ has joined #nixos
ylwghst has quit [(Ping timeout: 264 seconds)]
ylwghst has joined #nixos
<hyper_ch>
hmmm, does nixos really require legacy for zfs mounting?
otherjrolfs has joined #nixos
FareTower has joined #nixos
<FareTower>
Hi. I would like a bootdisk kernel module to be provided a parameter to enable a quirk. What is the right way to do that?
<hyper_ch>
there's a kernel modules section in your hardware-cofniguration.nix... just add the one that should be added
<FareTower>
I know how to add the module; I wonder how to specify the parameter.
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<FareTower>
After the root partition is mounted, extraModprobeConfig can be used... but it is apparently not used before.
juhe has joined #nixos
jrolfs has joined #nixos
otherjrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<juhe>
Hello, is there a way to include binaries/symlinks/files in general into initrd somehow? Something like BINARIES/FILES in mkinitcpio.conf file from archlinux distribution. I wan't to assemble lvm cache and it seems to require cache_check from thin-provisioning-tools package which is not present in initrd image.
FareTower has quit [(Remote host closed the connection)]
<asymmetric>
why use grep? nix-env -qaP accepts regexps
<aminechikhaoui>
yeah also possible :)
ma27 has quit [(Ping timeout: 265 seconds)]
tg has joined #nixos
<asymmetric>
i personally created a nix function with subcommands, so i can just do `nix search theano` and it runs `nix-env -Paq .*theano.* --description`
cinimod has quit [(Ping timeout: 256 seconds)]
oida has quit [(Quit: WeeChat 1.6)]
Myrl-saki has joined #nixos
<aminechikhaoui>
well that's available in nix 1.12 (nix search)
<Myrl-saki>
Has anyone here checked out Triton?
<Myrl-saki>
Or any nixpkgs fork?
otherjrolfs has joined #nixos
warrickmacmillan has quit [(Quit: warrickmacmillan)]
<asymmetric>
aminechikhaoui: i'm not on nixos and i don't have that program installed.. is it something you get separately?
cinimod has joined #nixos
otherjrolfs has quit [(Ping timeout: 265 seconds)]
<cinimod>
aminechikhaoui: thanks
thc202 has joined #nixos
patrl has joined #nixos
<gchristensen>
asymmetric: nixUnstable
<patrl>
hi all. I'm running 17.09 but I cherry-pick packages from unstable in my configuration.nix by importing the unstable channel. I have nixpkgs.config.allowUnfree set to "true", but this doesn't seem to affect the unstable channel. Does anyone know of a way to do this in configuration.nix for the unstable channel?
roberth has quit [(Ping timeout: 256 seconds)]
cinimod has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cinimod has joined #nixos
cinimod has quit [(Ping timeout: 248 seconds)]
<ottidmes>
patrl: Did you install these packages via systemPackages in your NixOS configuration.nix, or did you use nix-env?
<patrl>
via systemPackages
<ottidmes>
patrl: Instead of cherry-picking, I just use unstable = import /wheel/fork/nixpkgs-unstable { }; in my packageOverrides of my nixpkgs config and then I use e.g. unstable.firefox in my systemPackages, that way it can use the prebuild versions of them, but it will cause you to have multiple versions of some packages
otherjrolfs has joined #nixos
<hyper_ch>
I just use unstable (small) because once the system runs, it's hard to make it non-functional... so while every now and then unstable has some issues, it gets usually resolved quickly and until then, I still have older generttions to boot into
<patrl>
@ottidmes can you install unfree packages from unstable using this method?
<gchristensen>
patrl: when you import unstable, instead of {} pass { config = { allowUnstable = true; } ; }
<patrl>
ahhh, thanks!
<patrl>
this is what I was looking for
patrl has quit [(Quit: WeeChat 1.9.1)]
patrl has joined #nixos
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<ottidmes>
gchristensen: I have none of that, but I have set NIXPKGS_CONFIG and environment.etc."nix/nixpkgs-config.nix".source to the path of my nixpkgs config, and have nixpkgs.config = import <my_nixpkgs_config>. I have unstable.oraclejdk8 so I should be able to use unfree just fine that way
nallar has joined #nixos
<gchristensen>
indeed
Ross has quit [(Ping timeout: 240 seconds)]
nallar is now known as Ross
patrl has quit [(Client Quit)]
berce has quit [(Ping timeout: 240 seconds)]
phdoerfler has joined #nixos
romildo has joined #nixos
phdoerfler has quit [(Client Quit)]
<romildo>
The following attributing definition is giving a syntax error, unexpected DOLLAR_CURLY, expecting '}'. How can it be fixed?
<srhb>
Slightly off-topic, does anyone know of a nice service that automates creating a reverse ssh tunnel, or perhaps a vpn? Use case: Slightly computer illiterate family members on a unix box that I occasionally need to support remotely. I have access to a box that can serve as the bridge.
<gchristensen>
ah ok
<srhb>
(Er, where did unix come from... *nix)
<gchristensen>
srhb: there is autossh
<infinisil>
srhb: Ohh you're lucky, I spent about 10 hours doing that
<srhb>
gchristensen: I'll look that up, thanks :)
<infinisil>
I finally got it working
<infinisil>
autossh isn't recommended anymore, ssh can do that just fine
<srhb>
infinisil: I've done this by hand with a number of fugly scripts before, but... :-P
<srhb>
infinisil: Oh?
<asymmetric>
gchristensen: or nix update, which would run `nix-channel --update`
cinimod has joined #nixos
<infinisil>
srhb: how autossh worked is by using a (actually 2) monitor port(s) to send messages in intervals. But now ssh can do that as well without using separate ports, which even autossh mentions as being a better way
<neonfuz>
hmm, it seems to have a cmake_install script but it isn't being picked up
siel has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
siel has joined #nixos
siel has quit [(Ping timeout: 272 seconds)]
verite has quit [(Ping timeout: 256 seconds)]
asuryawanshi has joined #nixos
siel has joined #nixos
ma27 has joined #nixos
coffeeshot has joined #nixos
Ridout has joined #nixos
berce has quit [(Ping timeout: 260 seconds)]
otherjrolfs has joined #nixos
raynold has quit [(Quit: Connection closed for inactivity)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] romildo opened pull request #33032: lightdm-gtk-greater: add configuration options for clock format and indicators (master...fix.lightdm-gtk-greater) https://git.io/vbQQC
NixOS_GitHub has left #nixos []
dywedir has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
romildo has quit [(Quit: Leaving)]
otherjrolfs has quit [(Ping timeout: 248 seconds)]
asuryawanshi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] grahamc pushed 4 new commits to master: https://git.io/vbQQE
<NixOS_GitHub>
nixpkgs/master 24b4a7f Peter Hoeg: sblim-sfcc: minor cleanups
<NixOS_GitHub>
nixpkgs/master ede3aea Peter Hoeg: openwsman: 2.6.0 -> 2.6.5
<NixOS_GitHub>
nixpkgs/master da0d8e2 Peter Hoeg: wsmancli: clean-ups
asuryawanshi has quit [(Ping timeout: 248 seconds)]
funfun has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vbQQK
<NixOS_GitHub>
nixpkgs/master af1327a José Romildo Malaquias: ibm-plex: init at 0.5.3
<NixOS_GitHub>
nixpkgs/master 395f2dd Joachim F: Merge pull request #32861 from romildo/new.ibm-plex...
NixOS_GitHub has left #nixos []
otherjrolfs has joined #nixos
<neonfuz>
how do I install a package defined in a local nixpkgs fork? should I not do this?
<neonfuz>
like should I make an overlay instead or something
otherjrolfs has quit [(Ping timeout: 248 seconds)]
<neonfuz>
oh, is it -f ?
<ottidmes>
neonfuz: You should change NIX_PATH to point to your nixpkgs fork
<ottidmes>
neonfuz: See this option: nix.nixPath
drp has joined #nixos
<ottidmes>
neonfuz: And whether you should create a package in your local nixpkgs fork, sure, why not. There are multiple approaches. Some change there nixpkgs fork directly, others only use their nixpkgs config by adding their packages to packageOverrides, and yet others just add their packages directly in their NixOS config. I use a mixture, prefering to add them to my nixpkgs config, unless they are specific to my
<ottidmes>
NixOS config, then I will add them directly
drakonis has joined #nixos
<ottidmes>
And I will modify my nixpkgs fork when I need to change an existing NixOS package or module
cinimod has joined #nixos
<hyper_ch>
wohoo, server finally upgraded
funfun has quit [(Remote host closed the connection)]
sary has quit [(Ping timeout: 248 seconds)]
funfun has joined #nixos
cinimod has quit [(Ping timeout: 268 seconds)]
<ottidmes>
hyper_ch: Congratz! I have to update my VPS some time soon, I will probably do a reinstall and try the kexec trick this time
cinimod has joined #nixos
<hyper_ch>
ottidmes: well, I had issues the last few days with flexget because of cherrypy...
<drp>
Feels good to be back on NixOS, I tried ubuntu budgie for a while but I fear I will soon be too frustrated to use anything other than guix or nixos
<ottidmes>
hyper_ch: If that was happenstance, then that is quite some luck that it was just updated. And now thanks to NixOS you can always get back to this point where it all works again :)
<hyper_ch>
ottidmes: yes, I know
<srhb>
drp: Psychic debugging says that you need to override the src attribute, as even though you've overridden the version attribute, the old version has already been substituted into src.
<drp>
I am guessing that the old variables build and propogates before the new variable
funfun has joined #nixos
<drp>
srhb: so really I should hardcode name, version and rev?
<ottidmes>
I am trying to pinpoint what is available for sure during nixos-install. I fixed some issues I had with it, but I want to fix something else, for which I need grep, but I am not quite sure if I can expect this to be available
<srhb>
drp: You should override them all. You can just override src substituting in your "${version}" (not hardcoded)
otherjrolfs has joined #nixos
<srhb>
Likewise with name.
<srhb>
drp: You just need to make the set recursive to do it.
<srhb>
oldAttrs: rec { ...
<srhb>
drp: Oh, I'm also guessing that sha256 is actually an attribute of src.
<drp>
so I just add the rec? or do I add the other fields in as well? so even though rev = "v${version}"; is in the nixpkg I should add it in the overrides as well to ensure rewriting of variables?
funfun has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<srhb>
You add the rec and the other fields as well.
<srhb>
Yes.
sary has joined #nixos
<srhb>
(And yes, it is annoying.)
<drp>
it's a curious decision, it makes more sense to have overrides act before variables get propogated throughout the file
ma27 has quit [(Ping timeout: 252 seconds)]
<srhb>
It would be far more confusing the other way around from a programming language standpoint.
<srhb>
Things should not mutate :)
<srhb>
It's just that it should really be a function that you're overriding.
<srhb>
You can just copy paste it and fix the hash
sary has quit [(Ping timeout: 252 seconds)]
<gchristensen>
srhb: do you have ipv6?
<srhb>
gchristensen: Nope :/
otherjrolfs has joined #nixos
<gchristensen>
ok :)
funfun has quit [(Ping timeout: 264 seconds)]
<srhb>
OK, happy holidays to you all, my parents will kill me if I don't get going soon. :-)
<srhb>
o/
<gchristensen>
have a good christmas, srhb :) see you on the other side
<srhb>
gchristensen: Likewise!
<LnL>
gchristensen: why are you asking?
<gchristensen>
I want someone to poke my firewall :)
asuryawanshi has joined #nixos
<drp>
srhb: oh my it works now! Thank you very much
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<drp>
my brain was just treating it as a search and replace on the file, that src = { made it all click
<srhb>
drp: Yes, you're overriding the argument to the mkDerivation call that produces the package, and src is an attribute in that argument. Great that you got it to work :)
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<drp>
there was still those wrong elf type errors but they appear to have not done anything
asuryawanshi has quit [(Ping timeout: 248 seconds)]
drp has quit [(Remote host closed the connection)]
drp has joined #nixos
Arcaelyx has quit [(Ping timeout: 265 seconds)]
yegortimoshenko has joined #nixos
rogue_koder has joined #nixos
dieggsy has joined #nixos
orivej has joined #nixos
chreekat has quit [(Ping timeout: 240 seconds)]
MercurialAlchemi has joined #nixos
otherjrolfs has joined #nixos
jrolfs has joined #nixos
asuryawanshi has quit [(Remote host closed the connection)]
asuryawanshi has joined #nixos
funfun has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 268 seconds)]
<jtojnar>
yegortimoshenko: what do you see for fc-match Sans-serif?
<jtojnar>
I upgraded to cairo 1.15 and it indeed fixes the colours, it still does not seem to support SVG fonts, though. Also sans-serif font family seems to be hecked up
<jtojnar>
also pixelsize does not seem to work
funfun has quit [(Remote host closed the connection)]
otherjrolfs has joined #nixos
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 265 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
ma27 has quit [(Ping timeout: 252 seconds)]
sellout- has joined #nixos
hotfuzz has joined #nixos
sellout-1 has quit [(Ping timeout: 248 seconds)]
sellout- has quit [(Read error: Connection reset by peer)]
ma27 has joined #nixos
hotfuzz_ has quit [(Ping timeout: 240 seconds)]
oida has joined #nixos
sellout- has joined #nixos
otherjrolfs has joined #nixos
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 252 seconds)]
asymmetric has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
stphrolland has joined #nixos
ma27 has quit [(Ping timeout: 265 seconds)]
<stphrolland>
HI. It's the first time I use stack inside Nixos, and the first time it uses lts-10.0 for me. From the start, without having code, (when doing stack init or stack setup), I have a puzzling error: AesonException "Error in $.packages.cassava.constraints.flags['bytestring--lts-0_10_4']: Invalid flag name: \"bytestring--lt-0_10_4\". Has anyone had this error when compiling Haskell code ?
cinimod has quit [(Ping timeout: 240 seconds)]
jrolfs has joined #nixos
<stphrolland>
On the internet, someone advise to run `stack upgrade`, but it did not solve the problem for me
<stphrolland>
I'm gonna ask for it on #haskell instead, obviously it has nothing to do with nixos
<globin>
Isorkin: o/ I'm looking through your mariadb changes and rebasing my old branch, have you got some more commits coming up?
vidbina has joined #nixos
<Isorkin>
yes, no full testing. Test with nox-review pr 32928
otherjrolfs has joined #nixos
astsmtl has joined #nixos
astsmtl has quit [(Changing host)]
astsmtl has joined #nixos
<globin>
I am currently running some builds with a rebased version of mine + pcre patch + your mariadb bump and will continue to cherry-pick commits from your pr based on that
MercurialAlchemi has quit [(Remote host closed the connection)]
<gleber_>
I can't deploy a Cassandra instance with NixOps... Is it due to NixOps using NixOS 16.09?
otherjrolfs has quit [(Ping timeout: 264 seconds)]
asuryawanshi has quit [(Remote host closed the connection)]
dieggsy has quit [(Remote host closed the connection)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
mojo has joined #nixos
mojo is now known as Guest52838
chreekat has joined #nixos
<Guest52838>
marry x-mas! a question though... anybody knows what causes nix-env (as well as nixos-rebuild) suddenly to compile every single thing from scratch? hint: I messed with my nix-channel.. set it to 17.09 and then back to 17.03...
jrolfs has quit [(Ping timeout: 264 seconds)]
otherjrolfs has quit [(Ping timeout: 264 seconds)]
<Isorkin>
globin: ok. Me fixed first commit
jb55 has joined #nixos
<Guest52838>
or
otherjrolfs has joined #nixos
sigmundv has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 252 seconds)]
<Guest52838>
update: It turned out that's just the haskell packages that try to rebuild themselves... when commenting them out, building works as expected (immediately)
<Guest52838>
but still. how could it be.. I had them installed already...
<hyper_ch>
orivej: wb
otherjrolfs has joined #nixos
taktoa has joined #nixos
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<balaji>
hello! On nix-pill #10 (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html), the first code snippet demonstrates that PATH isn't automatically available in a nix-shell. However, my results differ - I find /usr/bin in the PATH. What am I doing wrong ? (I'm running version 1.11.16 of nix-shell)
raynold has joined #nixos
dan_b has quit [(Ping timeout: 248 seconds)]
<samueldr>
> We expected to have the GNU hello world build inputs available in PATH, including GNU make, but it's not the case.
<samueldr>
in that example, they are assuming that you do not have make in your PATH beforehand, I guess
ssmike has quit [(Ping timeout: 268 seconds)]
<balaji>
@samueldr okay, that makes sense! I read it wrong. Thanks.
<samueldr>
nix-shell, however, does have the --pure argument, which works like you described, balaji
jrolfs has joined #nixos
<balaji>
okay, thanks for the tip
sellout- has joined #nixos
sellout-1 has quit [(Ping timeout: 256 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
<guix2nix>
Folks, im transitioning many machines to nixos. So far no issues, except some glitches with i18n support for locale "es_ES.UTF-8" employed by some of my users. I was expecting firefox-bin to be translated to locale es_ES.UTF-8, if that's active according to the package. But that doesn't work.
asuryawanshi has joined #nixos
Ridout has quit [(Quit: leaving)]
obadz has joined #nixos
propumpkin is now known as contrapumpkin
asuryawanshi has quit [(Ping timeout: 260 seconds)]
sary has quit [(Ping timeout: 248 seconds)]
otherjrolfs has joined #nixos
Ridout has joined #nixos
otherjrolfs has quit [(Ping timeout: 248 seconds)]
sary has joined #nixos
<stphrolland>
hmm, on stackoverflow, they say I don't have the last version of stack, and that I should install it with nixos. Today in my config.nix file I have environment.systemPackages = with pkgs; [ ....... stack ];
<stphrolland>
What should I do to have a more recent version of stack ?
<stphrolland>
I already run nixos-rebuild with upgrades weekly
<samueldr>
stphrolland: you're on 17.09 I presume
jrolfs has joined #nixos
<stphrolland>
yep
Guest52838 has quit [(Remote host closed the connection)]
Ivanych has quit [(Ping timeout: 252 seconds)]
otherjrolfs has joined #nixos
otherjrolfs has quit [(Ping timeout: 252 seconds)]
jrolfs has quit [(Ping timeout: 264 seconds)]
sary has quit [(Remote host closed the connection)]
sary has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
obadz has quit [(Quit: WeeChat 1.9.1)]
yegortimoshenko has quit [(Ping timeout: 260 seconds)]
jb55 has joined #nixos
Neo-- has joined #nixos
otherjrolfs has joined #nixos
ambro718 has joined #nixos
<ison[m]>
How can I change the tty greeting message (the one inside /etc/issue)? I tried using environment.etc."issue".text ="my message"; but that just gives a "mismatched duplicate entry" error.
Guest78 has quit [(Ping timeout: 265 seconds)]
<infinisil>
ison[m]: Search through nixpkgs (with grep or ripgrep) to find where this file is written, this should guide you towards changing it. (Currently on mobile, can't do it myself)
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<samueldr>
there *may* be an issue where greetingLine does not handle setting the color, it's done in the environment.etc "issue" bit later in the file
<infinisil>
Nice
<ison[m]>
It worked. Thanks.
<ison[m]>
Oh also, is it possible to disable to login manager altogether so that I just get a tty login when turning on my machine?
<samueldr>
?
<samueldr>
don't enable one?
<ison[m]>
I'm haven't. I'm not sure which one it's even using.
<ison[m]>
I haven't*. I am seeing a login manager though when I boot up
<samueldr>
I assumed that you had to enable one explicitely, have you enabled any `services.xserver` option?
Ivanych has joined #nixos
<ison[m]>
I've enabled i3 window manager
jrolfs has joined #nixos
<ison[m]>
I might try just explicitly dissabling all login managers
jrolfs has quit [(Ping timeout: 248 seconds)]
<gchristensen>
ison[m]: services.xserver.autorun
<ison[m]>
Awesome, thanks.
<samueldr>
btw, looking at it, the default is slim
otherjrolfs has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
sellout-1 has joined #nixos
sellout- has quit [(Ping timeout: 252 seconds)]
yegortimoshenko has joined #nixos
mbock has joined #nixos
<mbock>
what's the easiest way to make a derivation of a local folder?
sellout-1 has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
zarel has joined #nixos
Neo-- has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 240 seconds)]
<infinisil>
Sometimes I really wish Nix was more like Haskell
jrolfs has quit [(Ping timeout: 272 seconds)]
<capisce>
you wish they were closer together, so if Haskell was more like Nix that'd also be ok?
<capisce>
or you specifically prefer Haskell
<infinisil>
Heh
rogue_koder has quit [(Ping timeout: 252 seconds)]
sellout- has quit [(Client Quit)]
<infinisil>
Yeah, Nix being more like Haskell, with better abstractions and types and stuff
rogue_koder_ has joined #nixos
<infinisil>
I'll maybe have a go at implementing the module system with Haskell (as in write haskell expressions)
<jeaye>
Almost always, I wish Nix were more like Guile Scheme.
<jeaye>
Guix expressions for my NixOS machine. That'd be great.
rogue_koder_ has quit [(Remote host closed the connection)]
rogue_koder_ has joined #nixos
<bgamari>
types would be nice
benley has quit [(Quit: reboooooooooooooooooooot)]
<bgamari>
I truly do miss having types when writing nix
<guix2nix>
jeaye: guix has some interesting concepts that could be borrowed for nix, but it's very dynamic. The Haskell route would be quite different.
<jeaye>
I primarily miss having more robust (or familiar) ways of manipulating data. As a Clojure dev, I think Scheme would just be much more comfortable for me, when it comes to performance various transformations on whatever is needed.
<jeaye>
guix2nix: Yes indeed.
* joepie91
would find it interesting to see better integration between Nix and things-that-are-not-Nix
<yegortimoshenko>
oh, i'm so happy that nix is not haskell
<joepie91>
ie. the ability to call out to things written in other languages
<jeaye>
joepie91: Yeah.
<joepie91>
wondering how feasible that is given all the lazy evaluation stuff etc.
<bgamari>
anyone have a convenient way to disable haddock for all haskellPackages?
<jeaye>
As Nix and NixOS get more popular, my gut tells me that learning and happily using the Nix expression language itself will be a bottleneck for growth.
<yegortimoshenko>
jeaye: i want nix to use s-expressions so bad
<guix2nix>
joepie91: yeah, i don't really have major complaints with regards to nix concepts so far. I think most needed improvements will come with a better UI in the nix command and less cruft in nixpkgs
<yegortimoshenko>
jeaye: but guile scheme is much worse than nix expression language semantics, it should be something like lazy racket
<yegortimoshenko>
s/semantics/semantics-wise/
<joepie91>
jeaye: hmm, I'm not sure. it's a relatively simple language aside from the parsing ambiguities, and people tend to learn more complex / harder-to-reason-about DSLs for other deployment management systems and whatnot
jb55 has quit [(Ping timeout: 240 seconds)]
<joepie91>
I think the language itself is mostly fine, it's more the lack of tooling around it
<jeaye>
joepie91: I have transformations on data I'd like to do and a relatively simple language, to use your words, makes that less than friendly.
<jeaye>
Doing it in just about any other general purpose language would be easier. Nix isn't general purpose, but that's kind of an issue, given how much we're writing with it.
<yegortimoshenko>
jeaye: there is very little correlation in how good (or easy) language is and how popular the technology is, look at c++
<Myrl-saki>
jeaye: Hallu
<jeaye>
yegortimoshenko: C++ is far too complex, but it's "good" in that it provides a solution to the problem of zero-cost abstractions, allowing people to have C-like performance (or better) while having improved interfaces via parametric polymorphism, overloading, and all the included OOP bits. Aside from that, it provides a solution to the C problem of resource management, via RAII.
rogue_koder_ has quit [(Ping timeout: 248 seconds)]
<jeaye>
yegortimoshenko: It's easy to see how something like that could pick up. The larger issue is moving people off of it now that there are saner solutions.
benley has joined #nixos
<jeaye>
Beside the point though.
<jeaye>
Myrl-saki: Howdy.
<joepie91>
jeaye: nobody ever thinks about the migrating-away path until it's too late :D
<yegortimoshenko>
jeaye: i don't think there are realistically saner solutions available (than C, or C++), but i'm not sure i want to discuss it, i already argue with people in irc far too often :-)
jrolfs has joined #nixos
otherjrolfs has joined #nixos
<yegortimoshenko>
jeaye: we agree on s-expressions. it's realistic to implement nix on top of racket. i don't see anything else actionable/possible that could be done about it.
<jeaye>
A general solution of separating the Nix lang from the Nix packager, and all of the novelty of it and NixOS, would be ideal.
<jeaye>
That way people can Nix it up in whatever language they want.
<jeaye>
So, my additional-nix-code/myplugin isn't being picked up.
<yegortimoshenko>
i don't think it's possible to nix it up in languages that don't support laziness. there's quite a lot of coupling in how nix packager expects code to be evaluated.
<jeaye>
Is there something I need to do other than add my plugin name to vim-plugin-names, add the generated expression to vim-plugins/default.nix, and add a file under additional-nix-code?
<jeaye>
yegortimoshenko: If those languages just evaluate to a common data format, which is then piped through Nix, this might work.
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<jeaye>
Perhaps that common data format is Nix itself and we just need DSLs for each of these languages to generate Nix code.
jrolfs has quit [(Ping timeout: 268 seconds)]
<yegortimoshenko>
jeaye: it's probably more realistic to generate nix expressions. actually, nix the language was seemingly written with that in mind, it has a very simple grammar and it's easy to generate syntactically valid nix expressions via e.g. shell script
<jeaye>
Word.
<yegortimoshenko>
jeaye: :-)
<bgamari>
thoughtpolice, do you have an easy trick for disabling haddock across all of haskellPackages?
<thoughtpolice>
bgamari: Not OTTOMH, I'm afraid; you'd do something like overrideAttrs on the whole set I believe
<bgamari>
yeah
<bgamari>
it's a bit tricky due to mkDerivation though
<jeaye>
I could just put the buildInputs and buildPhase into vim-plugins/default.nix, which does the trick, but I don't think that's the intended usage here (for easier upgrades).
warrickmacmillan has quit [(Quit: warrickmacmillan)]
<bgamari>
pbogdan, indeed that seems to do the trick; thanks!
jrolfs has quit [(Ping timeout: 260 seconds)]
otherjrolfs has quit [(Ping timeout: 260 seconds)]
<yegortimoshenko>
jeaye: clojure has amazing ffi (it's not even ffi), i think the first language that replaces c (or at least that i would use as a replacement) will feel be the same when it comes to c libraries
<jeaye>
I think that these languages won't ever be replaced, but not for lack of good alternatives.
<jeaye>
C++ interops with C just as seamlessly as Clojure does Java and it's still not replaced C.
<yegortimoshenko>
C++ is very complex. it is very much the opposite of what Clojure is for Java
<yegortimoshenko>
but i agree, C++ interop is great
ilyaigpetrov has quit [(Quit: Connection closed for inactivity)]
<yegortimoshenko>
it's just not the only criterion
<jeaye>
Indeed, it's complex. On the other hand, Clojure is functional, so most Java folks won't touch it with a long stick.
<yegortimoshenko>
true, but the idea behind Clojure is not to convert people who use Java, but rather to be able to write in a sane language and still deliver to the real world, leveraging runtime and libraries
<jeaye>
Word.
<yegortimoshenko>
there's now a sane language for the jvm but no simple native languages that have similar interop capabilities
<yegortimoshenko>
C++ is unique in that regard, being the only language that interops with e.g. C headers seamlessly (other than extern "C")
<yegortimoshenko>
but it's not simple. it's much more complex than its "host"
Acou_Bass has quit [(Quit: byeeeeeeeeeeeeeee)]
Acou_Bass has joined #nixos
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 264 seconds)]
dywedir has quit [(Ping timeout: 240 seconds)]
MinceR has quit [(Ping timeout: 265 seconds)]
otherjrolfs has joined #nixos
jrolfs has joined #nixos
warrickmacmillan has joined #nixos
MinceR has joined #nixos
aarvar has joined #nixos
otherjrolfs has quit [(Ping timeout: 264 seconds)]
jrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has joined #nixos
otherjrolfs has joined #nixos
zarel has quit [(Quit: Leaving)]
jrolfs has quit [(Ping timeout: 248 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
warrickmacmillan has quit [(Quit: warrickmacmillan)]
jrolfs has joined #nixos
Neo-- has joined #nixos
cinimod has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
cinimod has quit [(Ping timeout: 240 seconds)]
otherjrolfs has joined #nixos
Neo-- has quit [(Ping timeout: 252 seconds)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
dpren has quit [(Quit: Connection closed for inactivity)]
otherjrolfs has joined #nixos
patrl has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] pbogdan opened pull request #33038: haskell docs: change wording in the "Miscellaneous Topics" section (master...haskell-docs) https://git.io/vb7TD
NixOS_GitHub has left #nixos []
otherjrolfs has quit [(Ping timeout: 256 seconds)]
<pbogdan>
gchristensen: would you happen to know why boxfs dotnetPackages.Deedle python36Packages.bcdoc xbmc from https://hydra.nixos.org/eval/1420869#tabs-unfinished seem to be stuck at "sending inputs" to the packet machine?
<gchristensen>
yikes
<gchristensen>
I probably killed it by mistake
hiratara has quit [(Ping timeout: 265 seconds)]
<gchristensen>
ok I requeued them, pbogdan
<pbogdan>
gchristensen: thank you :)
hiratara has joined #nixos
<gchristensen>
!!! channel 17.09 is going to bump! christmas miracle!
<LnL>
\o/
<lassulus>
\(• ◡ •)/
<garbas>
pbogdan: feel free to ping me for a review. it is on my todo list, but i'm week(s) from getting to that task.
<garbas>
pbogdan: that is regarding the firefox official branding
otherjrolfs has joined #nixos
jrolfs has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
justanotheruser has quit [(Ping timeout: 265 seconds)]
yegortimoshenko has quit [(Quit: Page closed)]
<pbogdan>
garbas: thank you! wrt to sandboxing our source build seems to offer the same level as the official binaries (at least according to about:support)
<gchristensen>
samueldr: ff 57 is almost to 17.09
<samueldr>
almost!
otherjrolfs has quit [(Ping timeout: 240 seconds)]
jrolfs has quit [(Ping timeout: 265 seconds)]
<garbas>
pbogdan: at one point in time sandbox for firefox was disabled (you can see the option is commeted out)
otherjrolfs has quit [(Ping timeout: 240 seconds)]
Sonarpulse has joined #nixos
<gchristensen>
well this was extremely cool, I just replaced one nixos-based router with another without a hitch
<jeaye>
Woot.
hamishmack has joined #nixos
jb55 has joined #nixos
jrolfs has joined #nixos
jsgrant has joined #nixos
<laggy_wifi>
does nix os use/impliment its own dynamic loader?
<gchristensen>
no
<laggy_wifi>
ok
jrolfs has quit [(Ping timeout: 256 seconds)]
ambro718 has quit [(Quit: Konversation terminated!)]
babyflakes has quit [(Quit: Connection closed for inactivity)]
otherjrolfs has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
otherjrolfs has quit [(Ping timeout: 272 seconds)]
jensens has joined #nixos
chris| has quit [(Quit: Quit)]
chris| has joined #nixos
jrolfs has joined #nixos
jb55 has quit [(Ping timeout: 264 seconds)]
rct has joined #nixos
jrolfs has quit [(Ping timeout: 252 seconds)]
hamishmack has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] primeos pushed 1 new commit to master: https://git.io/vb7Lg
<NixOS_GitHub>
nixpkgs/master 4be298b Michael Weiss: nixos/sway: Extend the descriptions and examples...
NixOS_GitHub has left #nixos []
gfixler has quit [(Quit: WeeChat 1.4)]
stphrolland has quit [(Remote host closed the connection)]
otherjrolfs has joined #nixos
hellrazor has joined #nixos
drakonis has joined #nixos
MP2E has joined #nixos
hamishmack has quit [(Quit: hamishmack)]
otherjrolfs has quit [(Ping timeout: 256 seconds)]
jrolfs has joined #nixos
jrolfs has quit [(Ping timeout: 240 seconds)]
berce has quit [(Ping timeout: 248 seconds)]
<ison[m]>
Is there anything special I need to do for xorg to allow multiple sessions on NixOS? If I try to start a separate session with startx I just get "unable to establish any listening sockets" and "xinit: unable to connect to X server: Connection refused"
<hellrazor>
startx -- :1 ?
hamishmack has joined #nixos
drp has quit [(Quit: Leaving)]
<ison[m]>
Already tried that, same result
yegortimoshenko has joined #nixos
<hellrazor>
so maybe the listening sockets are limited
<hellrazor>
maybe some undocumented default setting
<hellrazor>
ison[m]: does your initial x-server gets started via systemd service?
<hellrazor>
if so check the settings there
<ison[m]>
hellrazor: No, I disabled all that
<hellrazor>
then its a setting
<hellrazor>
or something is missing
<hellrazor>
did you try to start the extra x-server as root?
<hellrazor>
just for testing
<ison[m]>
Ok it works for root.
<ison[m]>
lol, now it works for my other account. Seem like running it as root once did something
<ison[m]>
Going to restart and try again to see if I can do it without root now
<hellrazor>
ison[m]: probabely you need to allow your user to open up the respective x-sessions
<hellrazor>
running stuff as root is not advised, if not seriously needed
<hellrazor>
about how to achieve the respective setting changes in nixos, i honestly do not know
<jeaye>
I'm running `cmake -DFOO=1` in a buildPhase and my CMakeLists.txt isn't seeing FOO being set; does Nix overwrite my cmake args? I see it saying `fixing cmake files...`
<ison[m]>
Yeah so it's working now. Strange. But yeah I'll need to figure out what to do without using root
hamishmack has quit [(Quit: hamishmack)]
hamishmack has joined #nixos
jrolfs has joined #nixos
<hellrazor>
ison[m]: the respective setting is usually handled in /etc/X11/Xwrapper.config
<jeaye>
Ah, cmakeFlags. Finding this stuff is a huge time sink.
<hellrazor>
there you can allow non root users to start X
<hellrazor>
you need to look up how to set this in nixos thou, @ ison[m]
simukis has quit [(Ping timeout: 265 seconds)]
<ison[m]>
hellrazor: Alright, I'll look around. Thanks a lot for the help
<hellrazor>
np, i will have to torture myself with the new way of nixos thinking in the future... but general linux knowledge often helps