<rotaerk>
oh, options within the configuration.nix file itself, so man configuration.nix gives me that
<rotaerk>
thanks
<MichaelRaskin>
Having multi-profile bootloader generation in NixOS would probably be nice. At least I have it and I like it, but I am not running NixOS
nhill has quit [(Remote host closed the connection)]
vaibhavsagar has joined #nixos
takle has quit [(Remote host closed the connection)]
acertain has joined #nixos
charlesofarrell_ has joined #nixos
bigs has joined #nixos
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
[0x4A6F] has joined #nixos
takle has joined #nixos
dbmikus has joined #nixos
dbmikus has quit [(Client Quit)]
markus1199 has quit [(Ping timeout: 240 seconds)]
markus1189 has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
sellout- has quit [(Quit: Leaving.)]
markus1189 has joined #nixos
takle has joined #nixos
markus1199 has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<rotaerk>
how can I determine what to *put* in nesting.children or nesting.clone
<rotaerk>
they briefly describe what belongs in them, but it's unclear
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9Z2Y
<NixOS_GitHub>
nixpkgs/master 3e06c96 Peter Hoeg: xca: now works with qt 5.8
takle has joined #nixos
<rotaerk>
"additional configurations to build based on the current configuration which then has a lower priority" ... first, what does it mean for one configuration to have priority over another, and second, *in what way* is it based on the current config
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9Z2z
<NixOS_GitHub>
nixpkgs/master 8d27aad Peter Hoeg: fix annoying line endings
Guest45287 has joined #nixos
cpennington has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
leat has quit [(Ping timeout: 268 seconds)]
mudri has quit [(Quit: WeeChat 1.7.1)]
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9Z2p
<NixOS_GitHub>
nixpkgs/master bf4710f Peter Hoeg: speedcrunch: allow building with qt 5.8
takle has joined #nixos
markus1199 has quit [(Ping timeout: 240 seconds)]
filterfish__ has quit [(Remote host closed the connection)]
filterfish__ has joined #nixos
markus1189 has quit [(Ping timeout: 260 seconds)]
markus1189 has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
leat has joined #nixos
markus1199 has joined #nixos
sigmundv has joined #nixos
vaibhavsagar has quit [(Ping timeout: 268 seconds)]
<johnramsden>
IIs there a way to diff two configurations? As in the current generation and an old generation? Anyone know?
simukis has quit [(Ping timeout: 240 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
filterfish_ has joined #nixos
filterfish__ has quit [(Write error: Broken pipe)]
<rotaerk>
for nestting.clone it just says: Additional configurations to build based on the current configuration which then has a lower priority.
<rotaerk>
that doesn't really tell me much
takle has joined #nixos
<gchristensen>
never heard of thte nesting options
<rotaerk>
MichaelRaskin, how did you figure out how nesting.children works? the docs are unhelpful
Wizek_ has quit [(Ping timeout: 260 seconds)]
<rotaerk>
that one's a little more straight forward I think, but still unclear whether I should just put an entire configuration lambda inside of it, or what
<gchristensen>
what are you using them for?
<rotaerk>
<MichaelRaskin> There is nesting.children option to build more than one configuration in a single nixos-rebuild switch (the choice will be manual)
sigmundv has quit [(Ping timeout: 246 seconds)]
<gchristensen>
yes, but why?
<rotaerk>
well in my case, I want to have two different boot options, each with a different configuration.nix
<rotaerk>
another approach I'm gonna try is nix-rebuild switch -p blah, but if the nesting.children approach does what I think it does, it would be simpler
<gchristensen>
have you tried it?
takle has quit [(Ping timeout: 246 seconds)]
<rotaerk>
not yet, I should make sure that option at least works...
<rotaerk>
sec
takle has joined #nixos
derjohn_mob has joined #nixos
ryantrinkle has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
newhoggy_ has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
takle has joined #nixos
digitalmentat has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<rotaerk>
hmm, worked; though it's not a top-level option in grub
sellout- has joined #nixos
<rotaerk>
also, how would I determine where NixOS put the stuff that normally goes into /usr/share/X11 ?
<rotaerk>
it's not something I installed through nix-env...
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
takle has joined #nixos
digitalmentat has quit [(Remote host closed the connection)]
digitalmentat has joined #nixos
roconnor has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy pushed 1 new commit to release-17.03: https://git.io/v9Zol
digitalmentat has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 246 seconds)]
digitalmentat has joined #nixos
ericsagnes has quit [(Ping timeout: 252 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
akaWolf has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
<gchristensen>
is there any way to make a tar.gz deterministic?
<gchristensen>
(I know "that's why we have '.nar's" but it is awkward for my use case) I'm wanting a fetcher which fetches many files and creates a tar to be deterministic, and the sha256 to be of the tar and not the untar'd files
<clever>
ive used that method to confirm single-bit errors in video files that had drifted between half a dozen hdd's and network shares over many years
<clever>
ah, run "file" on the final archive, gzip may try to store timestamps
nicknovi1 has joined #nixos
<gchristensen>
indeed that does it
<gchristensen>
switching to -J from -z fixed it... unfortunately though I need it to be gzipped :P time to go spelunking
RayNbow`TU has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<gchristensen>
the --rsyncable is also interesting...
<clever>
yeah, but its not fully clear what it does
<gchristensen>
indeede
<gchristensen>
piping tar to gzip with -n makes it stable. thank you for the help, clever :D
<clever>
ah
takle has joined #nixos
<copumpkin>
gchristensen: not quite!
<gchristensen>
??
<copumpkin>
I spent a lot of time trying to figure out why my tarballs were nondeterministic
<copumpkin>
found a bug in gnutar
<gchristensen>
oh?
<clever>
uninitialized bytes leaking into the tar maybe?
<copumpkin>
anyway, it'll be fixed in the next release
cpennington has quit [(Ping timeout: 268 seconds)]
<copumpkin>
(also turned out wkennington had already fixed it in triton :P)
<gchristensen>
nice
takle has quit [(Ping timeout: 260 seconds)]
<gchristensen>
I don't want to jinx it, but I might have a working docker pullImage builder
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
<MichaelRaskin>
rotaerk: your configuration.nix is a function returning a configuration as an attribute set; nesting.children could contain a list of similar attribute sets
<rotaerk>
ah k, thanks
takle has joined #nixos
marsel has joined #nixos
newhoggy_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
digitalmentat has quit [(Remote host closed the connection)]
digitalmentat has joined #nixos
takle has joined #nixos
newhoggy has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin>
rotaerk: I think I have written one of the pre-module-system versions of nesting.children (it was called differently then), it definitely helps with knowing the core idea in advance…
nicknovi1 has quit [(Ping timeout: 260 seconds)]
<rotaerk>
heh
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
reinzelmann has joined #nixos
newhoggy_ has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 252 seconds)]
<digitalmentat>
gchristensen, are you pulling the whole image or are you pulling individual layers and assembling a composite image on-the-fly?
<digitalmentat>
if you're pulling individual layers and assembling a composite image at run-time you don't need to worry about tarring the image for reproducible hashes
<digitalmentat>
I might spend time this weekend getting our version of what I just described into shape for opensource release
marsel has quit [(Ping timeout: 240 seconds)]
<digitalmentat>
the additional benefit is that if you're pulling lots of images into the Nix store you can deduplicate shared layers
<gchristensen>
why don't I have to make the tar?
deepwater_ has quit [(Quit: Leaving)]
newhoggy has joined #nixos
<digitalmentat>
if you follow the `pullImage` route, you'll end up with lots of wasted space and a lot of work
<digitalmentat>
you can suck down the individual layers into the store
<rotaerk>
hmm why do date and timedatectl think local time is UTC? I specified time.timeZone = "America/Eastern" in the configuration.nix
<rotaerk>
I ran across a mention of such a bug but I thought it was resolved in late 2016
<digitalmentat>
and you can have a separate derivation that maintains a manifest of those layers in the store with a script that streams a on-the-fly-generated image to `docker load`
<digitalmentat>
gchristensen, I'll see if I can opensource some of my work on this as I spent a lot of time on it and would probably save you a lot of time too :)
<digitalmentat>
the image manifest, you have to derive yourself, there is no where to "download it"
<gchristensen>
ah damn, I forgot they were different. damn!
<gchristensen>
I was hoping Skopeo would make this super easy :P
<digitalmentat>
here's an example of a V1.2 image manifest
<rotaerk>
ah figured it out...
<rotaerk>
nixos-rebuild doesn't validate the timezone I give it or anything, and America/Eastern is apparently not accepted; switching to America/New_York worked
<digitalmentat>
I too wrote such a (set of) tools in Haskell; it includes a Nix-expression generator given a registry V2 manifest
takle has joined #nixos
<gchristensen>
yeah, they seem good
<gchristensen>
personally I would prefer the convenience of a single hash and accept the store bloat, but can see the definite advantage of layer reuse
<digitalmentat>
I did what you're doing and it became a non-starter because fetching images became incredibly slow
<digitalmentat>
if you have a few very small images, no big deal, but we have quite a few and some of them are huge
jacob has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
<gchristensen>
yeah, and I have basically just one medium sized image
jacob is now known as Guest58081
endformationage has quit [(Quit: WeeChat 1.7)]
<digitalmentat>
anywho, good luck! when I get around to shaping up my work on this I'll share it with you since I think you'd like it, good night :)
<gchristensen>
thank you, I look forward to it :) good night!
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
digitalmentat has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 246 seconds)]
newhoggy has joined #nixos
matthewbauer has joined #nixos
takle has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
takle has quit [(Ping timeout: 252 seconds)]
griff_ has joined #nixos
katyucha_ has quit [(Quit: leaving)]
katyucha has joined #nixos
newhoggy has quit [(Ping timeout: 258 seconds)]
kuznero has joined #nixos
<kuznero>
Hi All!
takle has joined #nixos
<kuznero>
If I need to upgrade package or introduce a new package that depends on another package that is in unstable channel. How do I do it?
systemfault has joined #nixos
tinkyhol1oway has quit [(Remote host closed the connection)]
griff_ has quit [(Ping timeout: 268 seconds)]
<vaibhavsagar>
you can install a package from a newer version of nixpkgs without upgrading your system version of nixpkgs
takle has quit [(Ping timeout: 260 seconds)]
<kuznero>
What I am trying to do is to create another package in nixpkgs repository where I will have to state the dependency on something that was not released to stable yet.
<kuznero>
So, my question is if this will provoke any sort of problems?
newhoggy has joined #nixos
<vaibhavsagar>
if you're trying to add a package to nixpkgs, it will end up in unstable anyway
<vaibhavsagar>
before it goes to stable
marsel has joined #nixos
<kuznero>
yep, that is clear. so, is it possible to reference package from unstable in nixpkgs repository in nix-expressions?
_c_ has quit [(Changing host)]
_c_ has joined #nixos
<MichaelRaskin>
You can checkout nixpkgs master and import it in addition to the channel and take just a few packages from there
<kuznero>
MichaelRaskin: thanks, will try
MichaelRaskin has quit [(Quit: MichaelRaskin)]
newhoggy has quit [(Remote host closed the connection)]
takle has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
takle has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] rickynils pushed 1 new commit to release-17.03: https://git.io/v9ZHV
<NixOS_GitHub>
nixpkgs/release-17.03 51bf333 Peter Simons: haskell-dbus: drop semicolons.patch; this change appears to have been included upstream...
newhoggy has joined #nixos
justbeingglad has joined #nixos
justbeingglad has left #nixos []
<LnL>
or you can add unstable as a second channel with a different name and use import <nixpkgs-unstable> {}
<matthewbauer>
although pre-generated 32-bit isos could probably be dropped without much problem
takle has quit [(Ping timeout: 258 seconds)]
griff_ has joined #nixos
eacameron has joined #nixos
mkoenig has joined #nixos
jacob has joined #nixos
jacob is now known as Guest84892
eacameron has quit [(Ping timeout: 240 seconds)]
deepwater has quit [(Remote host closed the connection)]
DIzFer has joined #nixos
takle has joined #nixos
thc202 has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
xvapx has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
griff_ has quit [(Ping timeout: 268 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
takle has joined #nixos
newhoggy_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 246 seconds)]
takle has quit [(Ping timeout: 260 seconds)]
indi_ has joined #nixos
newhoggy_ has quit [(Ping timeout: 255 seconds)]
freusque has joined #nixos
Itkovian has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
derjohn_mob has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
mw has quit [(Quit: kumquat)]
Itkovian has quit [(Read error: Connection reset by peer)]
mw has joined #nixos
goibhniu has joined #nixos
wkennington has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
ma9e has quit [(Remote host closed the connection)]
ericsagnes has quit [(Ping timeout: 260 seconds)]
johnramsden has quit [(Quit: Leaving)]
<NixOS_GitHub>
[nixpkgs] michalpalka opened pull request #25281: xen service: fix xen-bridge not setting the configured netmask (master...master) https://git.io/v9Zbr
the-kenny has joined #nixos
page has quit [(Quit: leaving)]
<sphalerite>
Huh, the release notes for 17.03 say that the offlineimap service was removed but I still see it in the options...
page has joined #nixos
griff_ has joined #nixos
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
basti has joined #nixos
newhoggy has joined #nixos
<basti>
Hi I'm currently stuck booting, because the system restores a hibernation, but after restoring my screen is black, how can I disable the resume?
<sphalerite>
basti: pass the hibernate=no kernel parameter
hiberno has joined #nixos
<sphalerite>
if you're using systemd-boot or grub you should be able to add that by pressing E on the boot menu, unless you disabled the editor
<basti>
You are my hero
<basti>
I tried over one hour everything
<basti>
And it's that simple...
<basti>
:(
<sphalerite>
I only knew that because someone asked about it on the mailing list recently :)
<basti>
That should be written somewhere in the wiki!
<sphalerite>
well, it's still deprecated...
<the-kenny>
It's actually not a nixos thing, this applies to all kernels. Archwiki is a good place to search for such things
winmillwill has quit [(Ping timeout: 255 seconds)]
<NixOS_GitHub>
[nixpkgs] rasendubi closed pull request #25181: Implement aria2 service for controlling a daemon via rpc. (master...aria2.service) https://git.io/v9LJf
mkoenig has quit [(Remote host closed the connection)]
cmacrae has joined #nixos
<cmacrae>
o/
<sphalerite>
gleber_: You'll probably want to enable radvd (services.radvd.enable), set the IPv6 addresses for each interface using networking.interfaces.<name>.ip6, and enable forwarding as appropriate using boot.kernel.sysctl.
<sphalerite>
gleber_: you'll probably also need to add appropriate firewall rules.
<sphalerite>
I'm not sure about the things I just said though, I've never done it myself and it could all be wrong
<cmacrae>
So, I noticed the terraform and packer packages are a little outdated (for my needs). What's the best way to fetch a tarball from the net, then unpack it to a particular directory with a Nix expression? Should I simply use `system.activationScripts` and run some shell commands?
<gleber_>
sphalerite: IIUC these things are not what actually enables use of DHCPv6 using a pre-defined DUID. These sound more like basic requirements to have IPv6 at all, right?
newhoggy has quit [(Remote host closed the connection)]
<sphalerite>
Oh, you do want to use DHCPv6
<sphalerite>
radvd and forwarding are only necessary if your machine acts as a router
Guest45287 has joined #nixos
<gleber_>
sphalerite: that's my understanding. That's the only way my server can get IPv6 address(es)
<gleber_>
sphalerite: right, I do not need it to be a router
<sphalerite>
Wait, so why did you ask about delegation?
<gleber_>
sphalerite: I thought that's how this mechanism is called... Looks like I'm wrong :)
<gleber_>
sphalerite: I want to use DHCP for IPv6 based on a predefined static DUID which my ISP provided to me
<sphalerite>
I'm not an expert myself
<sphalerite>
Ah irght
<sphalerite>
In that case, based on the dhcpcd manpage, I think you want to put it in /etc/dhcpcd.duid
<sphalerite>
There should probably be a nixos option for that.
<gleber_>
sphalerite: I did it manually and restarted dhcpcd.service and it did not work so far...
<sphalerite>
I'm guessing you do have networking.useDHCP enabled?
<sphalerite>
You may have to reboot, I know nixos is a little picky about updating network config (which I think is because of the risk of breaking an existing SSH connection)
<gleber_>
looks like I do not have it enabled! On the other hand dhcpcd is running
<gleber_>
I'll give it a try
nslqqq has quit [(Ping timeout: 245 seconds)]
<sphalerite>
Also, apologies in advance if any of my advice results in you locking yourself out of your server :x
<gleber_>
sphalerite: no worries, I did it few times myself and I have some sort of remote KVM available
mudri has joined #nixos
<sphalerite>
Uuuuh... I'm confused now
<sphalerite>
Oh right, AFAIU nixos/modules/services/networking/dhcpcd.nix provides DHCP by default
<jluttine>
i've written default.nix which activates FHS user env. i activate it by running `nix-shell` in that directory. can i somehow make it easier to activate so i wouldn't need to be in that directory? somehow activate a named environment or so? not sure if this is something very trivial, i'm new to nixos..
<sphalerite>
jluttine: you can pass the directory to nix-shell as well
<sphalerite>
jluttine: and maybe make an alias for that so you can call that alias from anywhere
mudri has quit [(Ping timeout: 240 seconds)]
<jluttine>
sphalerite: true!
vaibhavsagar has quit [(Remote host closed the connection)]
<sphalerite>
or you could write a little shell function in your rc file, something like activateEnv() {nix-shell "$HOME/dev-environments/$1"}
simp__ has quit [(Quit: Connection closed for inactivity)]
<cmacrae>
Okay, so I see in the terraform package expression (https://git.io/v9nIp) that it has several versions with particular attributes. I'm using the 17.03 channel, is there any way I can declare that I want terraform 0.9.4 installed on my system?
<cmacrae>
Sorry, new to Nix, just trying to learn
<cmacrae>
Though, I see the version options aren't available on the 17.03 release branch
eacameron has joined #nixos
<sphalerite>
cmacrae: if you look at all-packages.nix, you'll see that those attributes are exported directly to the top level so you'd simply install them using nix-env -iA nixos.terraform_0_9_4 for instance.
<sphalerite>
If you were on the appropriate channel, that is
nslqqq has joined #nixos
<sphalerite>
As it is, you could cherry-pick the relevant commits onto a local checkout of the nixos-17.03 branch and install it from there. That works most of the time.
<cmacrae>
sphalerite: Thanks :) Okay, so, no declarative way of doing this? I suppose I could use the appropriate channel for my user's profile and install the specific version. So far I've used the system-wide profile for everything
<sphalerite>
cmacrae: using the local checkout is pretty declarative. You could also add a package override globally though
<sphalerite>
I personally find backporting stuff through cherry-picking to be the most practical solution
<sphalerite>
and then I update using git pull --rebase
eacameron has quit [(Ping timeout: 268 seconds)]
<sphalerite>
But whatever works for you really :)
mudri has joined #nixos
vaibhavsagar has joined #nixos
<cmacrae>
Oh, I'd love to use package overrides to do this, if that's an option :p
<jluttine>
buildFHSUserEnv doesn't seem to install dependencies of the target packages? i added emacs to targetPkgs list but i get error about missing zlib when i try to run emacs
<cmacrae>
Thanks sphalerite - I'll see if I can work this one out myself from here
<cmacrae>
I appreciate the advice
<jluttine>
(trying to run `emacs -nw` to be more precise)
Guest45287 has quit [(Ping timeout: 268 seconds)]
Guest45287 has joined #nixos
xadi has joined #nixos
ertes has quit [(Ping timeout: 240 seconds)]
newhoggy has joined #nixos
<jluttine>
hmm.. seems to be some other issue, sry
<jluttine>
so nvm
ThatDocsLady is now known as ThatDocsLady_mtg
cpennington has joined #nixos
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v9nm6
<NixOS_GitHub>
nixpkgs/master 32b8512 Joachim Fasting: grsecurity: discontinue support...
<gleber_>
sphalerite: final config is pretty simple: http://ix.io/s3Z
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to release-17.03: https://git.io/v9nYJ
<NixOS_GitHub>
nixpkgs/release-17.03 5409632 Joachim Fasting: grsecurity: 4.9.24-201704210851 -> 4.9.24-2201704220732...
<NixOS_GitHub>
nixpkgs/release-17.03 de30ab0 Joachim Fasting: grsecurity: discontinue support...
<sphalerite>
Ah right
<dcz>
I noticed that after rebooting my shells have use nix PATH. where can I reverse that?
<sphalerite>
dcz: On a non-nixos distro?
<dcz>
sphalerite: yes
<sphalerite>
check your ~/.bashrc and ~/.profile
<dcz>
sphalerite: nothing there
<dcz>
/etc/versions don't seem to have anything nix, but I'm not sure
<sphalerite>
"grep nix ~/.[^.]* might help
<sphalerite>
wait, did you install it system-wide or single-user?
tg has joined #nixos
<gleber_>
sphalerite: do you think I should somehow improve nixos/modules/services/networking/dhcpcd.nix so that next person has it easier?
<dcz>
I *think* single user, but I still had to make /nix
<sphalerite>
gleber_: I'm not a maintainer but I'm sure it would be welcome :)
newhoggy has joined #nixos
<sphalerite>
dcz: if creating /nix and chowning it to your user was all you had to do as root, then it's single-user and the config in question should, I believe, be in your home dir
<sphalerite>
does grep nix ~/.[^.]* yield anything useful?
<dcz>
cmake finds nix directories for some readon...
<dcz>
fixed - thanks!
newhoggy has quit [(Read error: Connection reset by peer)]
newhoggy_ has joined #nixos
mudri has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] ttuegel opened pull request #25285: Qt: purify plugin paths, unify Linux and Darwin builders (master...qt--fix-plugin-paths) https://git.io/v9ns2
mudri has joined #nixos
thineye has quit [(Quit: Konversation terminated!)]
roconnor has joined #nixos
roconnor has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] ttuegel pushed 1 new commit to master: https://git.io/v9nn8
<NixOS_GitHub>
nixpkgs/master 951b6b8 Thomas Tuegel: plasma-workspace: 5.9.5 -> 5.9.5.1
nslqqq has quit [(Ping timeout: 260 seconds)]
ThatDocsLady is now known as ThatDocsLady_afk
newhoggy_ has quit [(Read error: Connection reset by peer)]
newhoggy has joined #nixos
thineye has joined #nixos
ertes has joined #nixos
uralbash has joined #nixos
uralbash has left #nixos []
derjohn_mob has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v9ncx
DutchWolfie has quit [(Quit: Konversation terminated!)]
cpennington has quit [(Remote host closed the connection)]
<sphalerite>
gleber_: so you actually needed to put it in *both* places?
<gleber_>
sphalerite: looks like, but I couldn't figure it out at it is this way...
newhoggy_ has quit [(Remote host closed the connection)]
<makefu>
gleber_: you could use `environment.etc."dhcpcd.duid".text` to set this via nix
reinhardt has quit [(Quit: Leaving)]
newhoggy has joined #nixos
newhoggy has quit [(Remote host closed the connection)]
eacameron has joined #nixos
Gohla has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 255 seconds)]
vasile_ has quit [(Ping timeout: 245 seconds)]
Gohla has joined #nixos
symphorien has quit [(Quit: WeeChat 1.6)]
symphorien has joined #nixos
peacememories has joined #nixos
osa1 has joined #nixos
digitalmentat has joined #nixos
digitalmentat has quit [(Client Quit)]
leothrix has quit [(Ping timeout: 240 seconds)]
<osa1>
nix and nixos n00b here. I'm running some tests using /nixos/tests/make-test.nix. is there a way to export some files from one of the VMs after a test?
leothrix has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<LnL>
I expect the vm's disk is created in the build directory so nix-build -k should keep it around
roconnor has joined #nixos
ixxie has joined #nixos
<NixOS_GitHub>
[nixpkgs] pSub pushed 1 new commit to release-17.03: https://git.io/v9nBv
<NixOS_GitHub>
nixpkgs/release-17.03 eefafad Pascal Wittmann: yesod-auth-oauth2: jailbreak because of outdated dependencies
<NixOS_GitHub>
[nixpkgs] pSub pushed 1 new commit to master: https://git.io/v9nBJ
<NixOS_GitHub>
nixpkgs/master 959fadb Pascal Wittmann: yesod-auth-oauth2: jailbreak because of outdated dependencies
ibor has joined #nixos
nschoe has joined #nixos
infinisil has joined #nixos
newhoggy has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
newhoggy has quit [(Ping timeout: 246 seconds)]
Wizek_ has joined #nixos
roconnor has quit [(Ping timeout: 240 seconds)]
peacememories has joined #nixos
ixxie has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/v9nRO
<NixOS_GitHub>
nixpkgs/master 330e800 Domen Kožar: nixos: hydra: sync with upstream hydra module
simp__ has joined #nixos
mudri has joined #nixos
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to release-17.03: https://git.io/v9nRl
<NixOS_GitHub>
nixpkgs/release-17.03 084a20e Domen Kožar: nixos: hydra: sync with upstream hydra module
infinisil has quit [(Ping timeout: 258 seconds)]
Itkovian has joined #nixos
ryantrinkle has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
nixpkgs/nixos-datadog-process-config bdabc6f Domen Kožar: nixos: datadog: correctly pass conf.d to the daemon...
<NixOS_GitHub>
[nixpkgs] domenkozar opened pull request #25288: Nixos datadog process config (release-17.03...nixos-datadog-process-config) https://git.io/v9nwf
taktoa[m] has joined #nixos
<steveeJ>
I have a problem when using nix-instantiate and nix-shell consecutively. It seems that when I pass args to instantiate with --args/--argstr, they are not saved for the nix-shell run on the output derivation
<steveeJ>
simply by looking at the drv file I see that the arguments are not there. so if I override defaults with nix-instantiate, the nix-shell run will evaluate different arguments
Itkovian has quit [(Read error: Connection reset by peer)]
<steveeJ>
is this expected? am I doing something very wrong here?
Itkovian has joined #nixos
<gchristensen>
can you paste your terminal log?
peacememories has joined #nixos
filterfish_ has quit [(Read error: Connection reset by peer)]
filterfish__ has joined #nixos
<steveeJ>
gchristensen: the situation is quite complex and I have not yet created a MWE
<gchristensen>
eh?
<steveeJ>
gchristensen: are you even talking to me? :-D
<gchristensen>
yeah
<gchristensen>
just copy paste you terminal's text content
<gchristensen>
to see exactly what you're doing / what is happening
orivej has joined #nixos
infinisil has quit [(Read error: Connection reset by peer)]
<steveeJ>
gchristensen: actually the part above L159 is where arguments are added to the nix-instantiate command
darlan has quit [(Client Quit)]
eacameron has joined #nixos
<steveeJ>
gchristensen: and these arguments are not stored in the drv, which is somewhat unexpected for me. because nix-shell uses a different URL for expression updates, the default URL, which is overriden in the nix-instantiate call
ryantrinkle has joined #nixos
erasmas has joined #nixos
newhoggy has joined #nixos
orivej has quit [(Ping timeout: 240 seconds)]
orivej has joined #nixos
obadz has quit [(Ping timeout: 268 seconds)]
sigmundv_ has joined #nixos
obadz has joined #nixos
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<maikklein[m]>
But I still get an error that it can not fine libgl "note: /nix/store/iz98xp5p48jayn034wq89y30plpx5xns-binutils-2.27/bin/ld: cannot find -lGL"
<maikklein[m]>
This is the LD path `printenv LD_LIBRARY_PATH /run/opengl-driver/lib`
<maikklein[m]>
and there is also a libGL.so
<maikklein[m]>
so I am a bit confused atm
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/v9n6X
Jackneillll has quit [(Read error: Connection reset by peer)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<infinisil>
Alright, I'm like 99% certain ipv6 works, doing an online ipv6 ping check does confirm that
newhoggy has joined #nixos
sellout- has joined #nixos
<infinisil>
What doesn't work is ssh access from within the network of my university
<infinisil>
But it's the only thing I have to test, soooo whatever
<infinisil>
Actually no, I need that, but it's certainly nothing wrong with NixOS I'm sure now
tvon has quit [(Remote host closed the connection)]
jasom has joined #nixos
<steveeJ>
maikklein[m]: how are you using the expression? (I have not looked at your reddit post)
tvon has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
hotfuzz_ is now known as hotfuzz
newhoggy has joined #nixos
tvon has quit [(Read error: Connection reset by peer)]
tvon has joined #nixos
filterfish_ has joined #nixos
filterfish__ has quit [(Remote host closed the connection)]
griff_ has quit [(Quit: griff_)]
ravloony has joined #nixos
newhoggy_ has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 2 new commits to master: https://git.io/v9ny8
<NixOS_GitHub>
nix/master 73bba12 Eelco Dolstra: Check for libreadline
<NixOS_GitHub>
nix/master 895f00c Eelco Dolstra: Suppress warning about ssh-auth-sock
newhoggy has quit [(Read error: Connection reset by peer)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
Itkovian has joined #nixos
tommyangelo_ has quit [(Ping timeout: 240 seconds)]
newhoggy_ has quit [(Ping timeout: 240 seconds)]
ravloony has quit [(Ping timeout: 260 seconds)]
_Vi has joined #nixos
<maikklein[m]>
steveeJ: nix-shell .
nevermind has joined #nixos
infinisil has quit [(Quit: Testing something with irssi)]
<nliadm>
I figured out how to declaratively specify my user profile
<nliadm>
use -E and import a file that's a function that returns the list of what I want
ertes has quit [(Ping timeout: 240 seconds)]
takle has quit [(Remote host closed the connection)]
infinisil has joined #nixos
newhoggy has joined #nixos
infinisil has quit [(Quit: leaving)]
newhoggy has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/v9nHO
<NixOS_GitHub>
nix/master 2f21d52 Eelco Dolstra: Hopefully fix the Darwin build...
iyzsong has quit [(Ping timeout: 240 seconds)]
<Guest45287>
I have git installed on system, git push is hanging on a git cloned repository using a HTTPS remote from Github, however if I elevate it with `sudo`, then it doesn't hang, also if I change the askpass option to something else, errors occurs but it no longer hangs, what could this mean?
<steveeJ>
nliadm: the good thing that updating is atomic, the bad thing is that if one update fails I get none ;-)
bennofs has joined #nixos
<CMCDragonkai>
I see it's because of x11-ssh-askpass, set inside the SSH_ASKPASS environment variable
cpennington has joined #nixos
zombified has quit [(Quit: bye bye!)]
<Infinisil>
steveeJ: That's really nice! I'm going to save that and use it as a reference later
<nliadm>
yeah, I run `nix-env -riE "(import $HOME/lib/$(hostname).nix)"`, partly because I have a weird thing I built where a good chunk of my configs are in the nix store and symlinked into my homedir
<bennofs>
Does anyone here know if it would be possible to have electron apps run on chrome os? I like the approach of chrome os, and I noticed that I basically have two "engines" on my desktop right now (chromium/electron for js and emacs lisp) and would like to reduce it to one
zombified has joined #nixos
<Infinisil>
Has this anything to do with nixos?
<steveeJ>
nliadm: you can see the packages installed with "nix-env -q", correct?
<nliadm>
yeah
<steveeJ>
because I only see "userPackages". I haven't made up my mind if I like it or not
<NixOS_GitHub>
[nixpkgs] domenkozar force-pushed nixos-datadog-process-config from bdabc6f to 106f262: https://git.io/v9nHp
<nliadm>
that's a bit involved, because I threw extra stuff into etc/profile.d
<nliadm>
but yeah, I used to just use a buildEnv, but that had the same problem
<nliadm>
this doesn't seem to
freusque has quit [(Quit: WeeChat 1.7)]
mudri has quit [(Ping timeout: 260 seconds)]
<steveeJ>
nliadm: first time I see stow, interesting!
<nliadm>
it seems to work, I think I needed to make some directories to prevent stow from just linking to a directory in the store (which isn't writable, obviously)
newhoggy has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] joachifm opened pull request #25289: linux: disable vsyscalls by default (master...vsyscall-none) https://git.io/v9nFY
newhoggy has joined #nixos
digitalmentat has quit [(Remote host closed the connection)]
digitalmentat has joined #nixos
<Infinisil>
What are you using stow for?
newhoggy has quit [(Ping timeout: 252 seconds)]
ixxie has quit [(Ping timeout: 240 seconds)]
acertain has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
newhoggy_ has joined #nixos
takle has joined #nixos
newhoggy_ has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
spinus has joined #nixos
cmacrae has quit [(Ping timeout: 258 seconds)]
newhoggy has joined #nixos
viric_ has joined #nixos
eacameron has quit [(Remote host closed the connection)]
stepcut has quit [(Read error: Connection reset by peer)]
<sziszi>
hey, I'd like to get some help with systemd-nspawn, I'd like to run a debian in a container but I have issues. Since I didn't find anything useful on the web(mostly ppl want to use a nixos in a container on a non-nixos host) can someone point me to a wiki/article/weblog post or something that will help at least a little?
stepcut has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
takle has joined #nixos
earldouglas has quit [(Ping timeout: 252 seconds)]
<copumpkin>
bennofs: yes! how do I find that by clicking around the UI?
earldouglas has joined #nixos
gtoast has quit [(Quit: gtoast)]
earldouglas is now known as Guest7208
Guest7208 is now known as jamestastic
newhoggy has joined #nixos
jamestastic has quit [(Changing host)]
jamestastic has joined #nixos
katyucha_ has joined #nixos
katyucha has quit [(Killed (barjavel.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
<tilpner>
sziszi - What are those issues?
newhoggy has quit [(Ping timeout: 240 seconds)]
<sziszi>
tilpner: first of all I have dependency problems: libc6 : Depends: libgcc1 but it is not installed
newhoggy has joined #nixos
<tilpner>
sziszi - What did you run to make that error display?
<sziszi>
when I try to install it or even force it it gives something circular dep-like problems
<sziszi>
tilpner: just "apt-get upgrade"
takle has joined #nixos
<tilpner>
I just ran apt-get upgrade in a new nspawn container (created imperatively), and can't reproduce that error. How did you create your container?
<sziszi>
I used debootstrap --arch=amd64 jessie <dir> , and systemd-nspawn -D <dir> --machine <name> to
<sziszi>
install this container
newhoggy has quit [(Ping timeout: 260 seconds)]
<tilpner>
Let me try that way
newhoggy has joined #nixos
<sziszi>
thanks!
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
derjohn_mob has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<disasm>
if I run go2nix save I get this error: 2017/04/28 13:00:37 Current dir /home/sam/work/atrust/sealauth is outside of GOPATH(/home/sam/work/atrust/sealauth). Can't get current package name
_Vi has quit [(Ping timeout: 240 seconds)]
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
<copumpkin>
niksnut: why do logs sometimes not appear in S3, still?
<copumpkin>
they tend to not appear when I really want them :)
peacememories has joined #nixos
<tilpner>
sziszi - Sorry, can't reproduce. The PATH in the container was a little broken, but I can update, upgrade, and install htop without problems
newhoggy has joined #nixos
<tilpner>
sziszi - I can send you "known to work here" tars with which you can try to get the same error again
<sziszi>
tilpner: I try it again
peacememories has quit [(Client Quit)]
peacememories has joined #nixos
newhoggy has quit [(Ping timeout: 240 seconds)]
<sziszi>
tilpner: first debootstrap, then I logged in without the boot option to give a password to the root user, then I utilised the -b option so the machine will actually boot up
<sziszi>
Cannot be run in a chroot() environment.
<sziszi>
then I got this message
<sziszi>
I read that on github (nixpkgs issues iirc) you have to umount the /proc within the container
<sziszi>
then the machine boots up in order
<sziszi>
and now it works
<sziszi>
what the F?!
<tilpner>
Oh, huh, what does that do?
<tilpner>
When I boot that, it mutes the hosts Pulseaudio output
ertes has quit [(Ping timeout: 240 seconds)]
<sziszi>
I got some fancy error messages when I booted up this machine
<sziszi>
tried to connect to dbus and the displaymanager
peacememories has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ryanartecona has joined #nixos
<tilpner>
FWIW, you can export a container from Docker, then run it with nspawn, and it does not require any extra care like unmounting proc
newhoggy has joined #nixos
turnandrun has joined #nixos
<tilpner>
The process is also easier because it applies to any image, not just debian
<bennofs>
copumpkin: hydra.nixos.org -> nixos -> trunk-combined -> jobs -> search for tested -> constituents
<copumpkin>
bennofs: thanks! I keep clicking on the "channels" tab and finding nothing
<bennofs>
copumpkin: or the easier way, just click on the link on http://howoldis.herokuapp.com/ ? (you know that one surely?)
<copumpkin>
hah okay, yes I've seen that before but didn't realize it had links
<copumpkin>
my howoldis is usually just nixpkgs-channels git repo
<bennofs>
copumpkin: it has under "hydra job for tests". directly links to the matrix
<copumpkin>
yeah I see now
<copumpkin>
cool
newhoggy has quit [(Ping timeout: 240 seconds)]
tokudan has joined #nixos
bennofs1 has joined #nixos
<sziszi>
tilpner: I know it, I'll try that a bit later
Filystyn has quit [(Quit: Konversation terminated!)]
newhoggy has joined #nixos
bennofs has quit [(Ping timeout: 258 seconds)]
<disasm>
never mind, think I figured out my problem with go2nix. One more question though, These docs say to use https instead of ssh for url, but is it possible to do a nix-build against a private repository? This isn't for nixpkgs, but for building an internal application that I want to deploy to an internal nix server.
cpennington has quit [(Remote host closed the connection)]
newhoggy has quit [(Ping timeout: 252 seconds)]
newhoggy has joined #nixos
null_ has joined #nixos
<null_>
sup people
newhoggy has quit [(Ping timeout: 240 seconds)]
<null_>
im sure everyone is freaking out the google-chrome mirror is down, at least i am, is there a status on that situation? googling reveals threads/issues from last year
viric has quit [(Read error: Connection reset by peer)]
<Yaniel>
you make it sound like an annual tradition
newhoggy has joined #nixos
dridus has quit [(Quit: znc? wassat?)]
<null_>
Yaniel: it seems to be lol. the threads i found date back to around this time last year
viric has joined #nixos
dridus has joined #nixos
<ben>
Is there a straightforward way to package a simple ruby script with a handful of gem dependencies without bundler? I've never used bundler :(
pie_ has quit [(Ping timeout: 260 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]