<gchristensen>
disasm: wow! Nice work! who all is helping?
mudri has quit [(Ping timeout: 240 seconds)]
justan0theruser has quit [(Ping timeout: 240 seconds)]
acarrico has quit [(Ping timeout: 240 seconds)]
<disasm>
gchristensen: you can see the full list of contributions (that people linked to the master issue at least) here: https://github.com/NixOS/nixpkgs/issues/28643 I think globin fpletz and Mic92 have been the real drivers of making this be a priority :)
<gchristensen>
man
<gchristensen>
I owe globin and fpletz soooooooooooooooo many beers
<disasm>
gchristensen: well... we're all going to be in Munich in a little over a month :) Where better for free beer? :)
<gchristensen>
and Mic92 too, whom also deserves many a beer
<revoltmedia[m]>
To clarify the command above works once, then nix-env seems to be removed or unlinked, and a re-install is necessary.
pxc has joined #nixos
oahong has quit [(Ping timeout: 240 seconds)]
<disasm>
revoltmedia[m]: is nix-env in your my-packages.nix file?
<disasm>
The `-r` flag removes any previously existing packages in your nix-env before installing what's in my-packages.nix
mahalel_ has quit [(Remote host closed the connection)]
<disasm>
I should say your nix profile, not nix-env
tmaekawa has quit [(Ping timeout: 248 seconds)]
<revoltmedia[m]>
Ah!
oahong has joined #nixos
oahong has quit [(Changing host)]
oahong has joined #nixos
<revoltmedia[m]>
I guess that makes sense in the context of the example I took it from. I'm curious why there isn't documentation on the declarative file in the nix manual? I've seen it in the nixos manual for the configuration.nix, but nothing in the nix one...
mahalel_ has joined #nixos
pxc has quit [(Ping timeout: 248 seconds)]
<disasm>
well, you're asking the right person... I'll add that to the list of improvements to work on for nixcon documentation hacking event
koserge has quit [(Ping timeout: 240 seconds)]
<revoltmedia[m]>
Thanks!
<disasm>
I think the short answer is most of the folks developing/writing docs are using NixOS, so priority gets put there instead.
Infinisil has joined #nixos
<revoltmedia[m]>
I understand. I was using NixOs but there are a couple things I don't have time to make a package for (read: learn how to make packages for) and so I'm back to ubuntu until I can put more time into it.
<disasm>
revoltmedia[m]: completely understand :) I have a number of production systems running other operating systems that I have nix on for installing quick utilities without impacting the production package manager myself :)
marusich has joined #nixos
<disasm>
but 90% of stuff I do on non-nixos systems with nix is in nix-shell
cpennington has joined #nixos
<disasm>
my general goal is 0 packages (aside from nix itself on a non-nixos system) in the nix profile. Not a fan of nix-env, although I see the alure of quickly installing things.
<Infinisil>
disasm: I'm starting to dig home-manager more and more, also using it to install user packages
koserge has joined #nixos
glenn has quit [(Remote host closed the connection)]
<revoltmedia[m]>
So you're running binaries in nix-shell ? Or what do you mean by having a goal of 0 packages?
glenn has joined #nixos
<disasm>
Infinisil: yeah, I've been waiting to see if home manager or nixup becomes the defacto tool before jumping into the painstaking task of nix-ifying all my dotfiles.
<disasm>
revoltmedia[m]: yup, here's an example...
<Infinisil>
disasm: NixUP lives?
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v5FKy
mahalel_ has quit [(Remote host closed the connection)]
<Infinisil>
drakonis: NixUP seems to be just this PR with lots of merge conlicts and not well tested, I can really recommend home-manager instead, which is already used by people, uses the nixos module system, and has a bright future: https://github.com/rycee/home-manager
<drakonis>
i mean, there's more to fix than just using a home manager
<Infinisil>
drakonis: huh?
glenn has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5F6T
justan0theruser has quit [(Ping timeout: 240 seconds)]
justan0theruser has joined #nixos
oahong has quit [(Ping timeout: 248 seconds)]
oahong has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #29517: darwin stdenv: cctools override needs to go away when targetPlatform changes (master...cctools-cross) https://git.io/v5FXj
NixOS_GitHub has left #nixos []
pxc has joined #nixos
takle has joined #nixos
Infinisil has joined #nixos
<Infinisil>
OHhh my god, why the hell do I have such a hard time getting a termial to work properly
<Infinisil>
Like 'any' terminal, I just want one that works
takle has quit [(Ping timeout: 240 seconds)]
<Infinisil>
gnome-terminal: org.allyBus was not provided by any .service files
<Infinisil>
tilda: Only the first window starts with my config
<Infinisil>
guake: Have you installed guake.schemas properly?
<Infinisil>
sakura: Can't set colors properly
<samueldr>
I personally am using konsole
<samueldr>
the only kde/plasma bit in my setup
<Infinisil>
I'll try that too thanks
<samueldr>
it's a bit heavier than some
<samueldr>
if you need to copy settings on another computer, it has 2 files in .config and a folder in .local/share/
justanotheruser has joined #nixos
justanotheruser has quit [(Client Quit)]
<Infinisil>
It doesn't seem to allow me to disable the menu bar.. :/
justanotheruser has joined #nixos
rauno has quit [(Ping timeout: 264 seconds)]
<samueldr>
settings -> configure konsole
<samueldr>
the menubar is part of the app and not of the profiles, it seems
justan0theruser has quit [(Ping timeout: 255 seconds)]
<Infinisil>
Ahh thanks
<samueldr>
if you need to interact with the right click menu in a console app that uses the mouse, shift + right click
<Infinisil>
It works nicely for now, thanks :)
<Infinisil>
Although it feels a bit weird
endformationage has joined #nixos
* Infinisil
goes to sleep
Infinisil has quit [(Quit: leaving)]
Wizek has quit [(Quit: Connection closed for inactivity)]
b has quit [(Quit: Lost terminal)]
pxc has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
eacameron has quit [(Remote host closed the connection)]
odi has joined #nixos
nh2 has quit [(Quit: Leaving.)]
pshendry has joined #nixos
ryanartecona has joined #nixos
joehh has joined #nixos
glenn_ has quit [(Remote host closed the connection)]
glenn has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
takle has joined #nixos
JosW has joined #nixos
takle has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to staging-17.09: https://git.io/v5FDz
<NixOS_GitHub>
nixpkgs/staging-17.09 49c3ca3 Franz Pletz: Revert "cppunit: 1.14.0"...
pshendry has quit [(Quit: Konversation terminated!)]
Ivanych has joined #nixos
tmaekawa has quit [(Quit: tmaekawa)]
hamishmack has quit [(Ping timeout: 248 seconds)]
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5FyT
<NixOS_GitHub>
nixpkgs/master d355b55 Samuel Leathers: interruptingcow: 0.6 -> 0.7
NixOS_GitHub has left #nixos []
glenn has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
rauno has joined #nixos
joehh has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v5Fys
<NixOS_GitHub>
nixpkgs/master cbea57b Samuel Leathers: marionette-driver: disable for python 3
<NixOS_GitHub>
nixpkgs/master 700b094 Samuel Leathers: marionette-harness: disable for python 3
NixOS_GitHub has left #nixos []
glenn has joined #nixos
MercurialAlchemi has joined #nixos
pxc has quit [(Ping timeout: 260 seconds)]
jensens has quit [(Ping timeout: 264 seconds)]
vandenoever has quit [(Ping timeout: 264 seconds)]
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
joehh has joined #nixos
odi has quit [(Ping timeout: 240 seconds)]
griff_ has joined #nixos
odi has joined #nixos
takle has joined #nixos
griff_ has quit [(Ping timeout: 260 seconds)]
glenn has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
odi has quit [(Ping timeout: 255 seconds)]
hamishmack has joined #nixos
hamishmack has quit [(Ping timeout: 246 seconds)]
glenn has joined #nixos
silver_hook has joined #nixos
silver_hook has quit [(Changing host)]
silver_hook has joined #nixos
joehh has quit [(Ping timeout: 246 seconds)]
glenn has quit [(Remote host closed the connection)]
pie_ has joined #nixos
<srhb>
Anyone know of a good place to grab a vps over a weekend with some heavy compiling power for a larger nixpkgs cpp project? My laptop doesn't quite cut it.
hamishmack has joined #nixos
pie_ has quit [(Ping timeout: 240 seconds)]
odi has joined #nixos
eacameron has joined #nixos
glenn has joined #nixos
Arcaelyx has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 255 seconds)]
chreekat has quit [(Quit: quitting)]
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
glenn has quit [(Ping timeout: 248 seconds)]
uwap has quit [(Read error: Connection reset by peer)]
glenn has quit [(Remote host closed the connection)]
Arcaelyx has joined #nixos
jb55 has joined #nixos
glenn has joined #nixos
arximboldi has joined #nixos
FRidh has joined #nixos
ixxie has joined #nixos
tmaekawa has joined #nixos
<ixxie>
morning folks
<sphalerite>
Morning ixxie
leat has joined #nixos
arximboldi has quit [(Quit: arximboldi)]
<ixxie>
Say I install Nix on a centos system as root, and then set up my user configuration (in ~/.nixpkgs/config.nix if I am not mistaken?)
<ixxie>
Yum has already installed, say, python3 on the system
ktf has joined #nixos
<ixxie>
but I want to use Nix for my users dev environment
<hyper_ch>
so it really exists that user just want to use nix
<ixxie>
basically yeah but its also a proof of concept that might be adopted by others later
arximboldi has joined #nixos
<ixxie>
now my question is: if I install python3 on my config.nix, do I now replace the yum version of python3 for the other users as well?
<sphalerite>
Dev environment => use nix-shell => prepending to path should ensure that the nix Python gets used rather than the system one
<ixxie>
sphalerite: thats the plan yeah
<sphalerite>
And no, it shouldn't affect other users
<sphalerite>
What exactly is your config.nix? ~/.config/nixpkgs/config.nix?
<ixxie>
sphalerite: but I should then install nix as root but run all commands using my user account
<ixxie>
sphalerite: none yet, I am just doing my homework because I don't wanna funk up the work machine for my coworkers
<ixxie>
basically all of this relates to my questions yesterday, because I wanna use Nix not only for dev environments but also for the home manager so I can synchronise dotfiles between home and work machines
newhoggy has quit [(Ping timeout: 246 seconds)]
pxc has joined #nixos
civodul has joined #nixos
endformationage has quit [(Quit: WeeChat 1.9)]
ertes-w has joined #nixos
marusich has quit [(Quit: Leaving)]
arximboldi has quit [(Quit: arximboldi)]
goibhniu has joined #nixos
pxc has quit [(Ping timeout: 240 seconds)]
<sphalerite>
I didn't see your questions yesterday, sorry
<sphalerite>
But it shouldn't affect any other users of the machine normally
<ixxie>
cool
<ixxie>
is there some explanation somewhere of how that namespacing works?
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
beemo has joined #nixos
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
<silver_hook>
Is it normal that a script that I referred to in systemd.services.<unit>.serviceConfig.ExecStart fails because it cannot find the commands reffered to in the script (e.g. `awk`, `borg`), while if I execute the same script manually (i.e. from the CLI, instead of through systemd), it runs fine?
glenn has quit [(Remote host closed the connection)]
glenn has joined #nixos
glenn has quit [(Ping timeout: 264 seconds)]
takle has joined #nixos
<makefu>
silver_hook: yes this is normal
<makefu>
use systemd.services.unit.path to define which packages should be available
<silver_hook>
makefu: Hmmm, interesting
takle has quit [(Remote host closed the connection)]
glenn has joined #nixos
pikajude has quit [(Quit: ZNC 1.6.5 - http://znc.in)]
pikajude has joined #nixos
<silver_hook>
makefu: So, I just list the names of the packages therein or is there some special syntaxs
<silver_hook>
?
newhoggy has joined #nixos
pie_ has joined #nixos
newhoggy has quit [(Ping timeout: 246 seconds)]
glenn has quit [(Remote host closed the connection)]
mudri has joined #nixos
glenn has joined #nixos
slyfox_ has joined #nixos
<ixxie>
sphalerite: Nix doesn't seem to create a configuration file by default; should I manually make one?
<sphalerite>
What sort of configuration file?
<ixxie>
there seems to be very little in the manual about declarative configurations
<ixxie>
well, isn't there a config.nix for Nix
<ixxie>
analogous to configuration.nix in nixos?
<sphalerite>
No, but for nixpkgs
<sphalerite>
well it's not really analogous to configuration.nix
<ixxie>
so what does it do?
slyfox has quit [(Ping timeout: 240 seconds)]
<sphalerite>
it just sets config for nixpkgs, like packageOverrides (which is superseded by overlays, so you probably won't want to use it) and options like allowUnfree
<sphalerite>
If you need it, yes, create it. If you don't need it, don't create it
<ixxie>
probably not by the sounds of it
<sphalerite>
personally I just have my dotfiles repo and I install my stuff by doing nix-env -f ~/dotfiles -ir
glenn has quit [(Ping timeout: 240 seconds)]
<sphalerite>
which is pretty declarative
<ixxie>
so, I cannot declaratively specify my package list in Nix?
<sphalerite>
yes you can
<sphalerite>
as I just described
<ixxie>
so then your dotfiles include the modules in addition to any other dotfiles you need
<sphalerite>
Just make a file that evaluates to a set containing packages (something like let pkgs = import <nixpkgs> {}; in { inherit (pkgs) tmux vim; } as a simple example)
<sphalerite>
then you can install it using nix-env -f file.nix -ir (the -r to remove anything that's not specified there)
<ixxie>
cool
<sphalerite>
No, there are no modules
<ixxie>
packages? Nix expressions?
<ixxie>
not sure what to callem
ktf has quit [(Ping timeout: 264 seconds)]
<ixxie>
sphalerite: are your dotfiles public by any chance?
<sphalerite>
aanderse: you asked about ps3 controllers yesterday. I don't know how similar they are to the DS4, but I've managed to use that just fine via bluetooth
pie_ has quit [(Ping timeout: 240 seconds)]
aloiscochard has joined #nixos
takle has joined #nixos
erictapen has joined #nixos
<tilpner>
michalrus - No, I don't get a correct nixos-version, and that doesn't bother me at all
thc202 has joined #nixos
ktf has joined #nixos
Mateon3 has joined #nixos
Mateon1 has quit [(Ping timeout: 248 seconds)]
Mateon3 is now known as Mateon1
MercurialAlchemi has quit [(Remote host closed the connection)]
<tilpner>
michalrus - nixos-rebuild updates .version-suffix, which explains why my first version doesn't show the correct result. It didn't work after switching to nixos-rebuild though, so... that explanation may be wrong
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] aneeshusa opened pull request #29522: libevent: Make OpenSSL dependency optional (master...libevent-make-openssl-dependency-optional) https://git.io/v5FhT
NixOS_GitHub has left #nixos []
<tilpner>
I don't see how nixos-rebuild could touch a nixpkgs in the store. Sure, for manually checked-out nixpkgs somewhere in /home, or somewhere in /nix/var, maybe, but not /nix/store
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 2 new commits to master: https://git.io/v5Fht
<rycee>
ixxie: Not really, setting the default shell is part of the system user configuration. Using `users.defaultUserShell` or `users.users.<name?>.shell` in NixOS.
<rycee>
ixxie: Bash and Zsh can be configured though Home Manager, though.
<michalrus>
tilpner: thank you for the pointers. :]
simukis has joined #nixos
slyfox_ has quit [(Ping timeout: 246 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5bJc
<NixOS_GitHub>
nixpkgs/master 28a9f74 Samuel Leathers: discogs_client: 2.0.2 -> 2.2.0
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5bJl
<NixOS_GitHub>
nixpkgs/master 3a33ed7 Samuel Leathers: trollius: fix tests
NixOS_GitHub has left #nixos []
<fearlessKim[m]>
is there some trick to be able to run gdb on nixos binaries ? as half of the time, there are multiples wrappers, $ gdb <myprogram> fails since <myprogram> is just a shell script :/
slyfox_ has joined #nixos
Fendor has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5bJa
<NixOS_GitHub>
nixpkgs/master 08824d7 Russell O'Connor: bitcoin: 0.14.0 -> 0.15.0
NixOS_GitHub has left #nixos []
<LnL>
can't you just use -f to follow the subprocess?
slyfox has quit [(Ping timeout: 240 seconds)]
cmacrae has joined #nixos
<sphalerite>
fearlessKim: it's not super pretty but you could either copy the wrappers into your own script and put gdb in at the end where it execs the real executable
<sphalerite>
or alternatively you could gdb bash --args $(which <program>), then put a catchpoint on the execve syscall to catch when it passes on to the real executable
<sphalerite>
neither is really ideal, but both should work
jellowj has joined #nixos
<cmacrae>
Hey LnL o/ So, I have some observations I was hoping you might be able to help me with. If I install nix on Darwin, and I follow the 17.09-darwin channel: I'm able to install all the packages I tend to use. These include (but are not limited to) gnupg, ripgrep, and go. So, the packages from that channel definitely work. If I then install nix-darwin using the bootstrap script I made, these packages are broken when doin
<cmacrae>
switch`. If I install these manually, specifying the channel, like so: `nix-env -f ~/.nix-defexpr/channels/nixpkgs -i gnupg` it works. So, it seems the channel installed by the bootstrap script is somehow messing up my upstream repositories. Any ideas? I thought the nix-darwin channel added by the script was just nix-expressions for macOS integrations?
<sphalerite>
cmacrae: part of your message went missing, between "when doin" and "switch`"
<LnL>
sounds like your channel is out of date
<cmacrae>
sphalerite: Nah, it was just too long :)
<cmacrae>
LnL: Nope, this is from a completely fresh install
<LnL>
the new installer will configure the nixpkgs channels for the root user
<cmacrae>
So, I wipe nix off my system entirely. Install nix using the installer, add the 17.09-darwin channel - all packages work fine
<sphalerite>
cmacrae: yes, it was too long and your IRC client seems to have a different idea of how long messages can be than the server. So a bit in the middle went missing. I think.
<cmacrae>
As soon as I install nix-darwin, I'm no longer able to install those packages (declaratively)
<cmacrae>
sphalerite: Oh? Strange, I can see the entire message on my screen
<LnL>
cmacrae: pretty sure the problem is that your current user has the 17.09 channel but root still points to nixpkgs-unstable
<LnL>
and only the root channels are used by default if you look at your NIX_PATH
<cmacrae>
LnL: Ah! Okay, sorry, I understand now. Thank you - I'll look into that
<LnL>
what does sudo su -; nix-channel --list show?
<sphalerite>
cmacrae: yeah IRC is weird 🤷
cmacrae has quit [(Remote host closed the connection)]
<LnL>
cmacrae: FYI. if you use nix-darwin your NIX_PATH will include the user channels by default so you should just be able to remove all of the root channels
<LnL>
oh, he's gone
<fearlessKim[m]>
sphalerite, thanks noted. Hope that an easier solution can come up, like a gdb_nixos though
nslqqq has quit [(Ping timeout: 255 seconds)]
joehh has joined #nixos
<sphalerite>
fearlessKim: yeah, I think the wrappers would need to support it somehow. Check if there's a github issue about it and make one if not :)
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #29503: Fix the automatic override for networking.nameservers when services.bind is enabled. (release-17.09...release-bind-fix) https://git.io/v5FnJ
NixOS_GitHub has left #nixos []
Phillemann has left #nixos ["WeeChat 1.9"]
<Jackneilll>
i heard i can even save in nix config files what vscode addons i have, etc. how does a line in a .nix file like vscode.addons = =["whatreveraddon"]; translate to installing it? under the hood?
ktf has joined #nixos
<Jackneilll>
also what are .drvs in addition to .nixs
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 4 new commits to master: https://git.io/v5bmQ
<NixOS_GitHub>
nixpkgs/master 6324317 Eric Litak: ipfs: workaround for upstream bug; doc fixes
<NixOS_GitHub>
nixpkgs/master 1a15c5d Eric Litak: ipfs: autoMount working without root
<NixOS_GitHub>
nixpkgs/master 44475ca Maximilian Güntner: tests: ipfs: enable autoMount tests
NixOS_GitHub has left #nixos []
ktf has quit [(Ping timeout: 246 seconds)]
chreekat has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/v5bYv
<zzamboni1>
clever: thanks, I was starting to realize that
<Mic92>
I added your code to the wiki
<Mic92>
zzamboni1: however I am not sure how this `use nix` thing works
<zzamboni1>
Mic92: thanks!
zzamboni1 is now known as zzamboni
<zzamboni>
I'm using Nix on my laptop, so it's just me for now
<zzamboni>
should I use /nix/var/nix/profiles/default/etc/profile.d/nix.sh as a model instead of /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh ?
<zzamboni>
the install script sets up the daemon by default, it seems
joehh has quit [(Ping timeout: 240 seconds)]
<zzamboni>
Mic92: "use" is the Elvish way for loading modules. "use foo" will read ~/.elvish/lib/foo.elv
<ashkitten>
just wondering, does elvish have vim keybinds?
justanotheruser has joined #nixos
<Mic92>
zzamboni: where would one put `use foo`
brokenboot9 has joined #nixos
<Mic92>
(what is the default configuration file)
<brokenboot9>
During boot systemd hands for 90 seconds with "a start job is running for dev-disk ..."
eacameron has joined #nixos
<brokenboot9>
The internet tells me to disable swap in fstab, but nixos doesn't have that one
<brokenboot9>
Why doesn't nix ask for confirmation before installing loads of packages i may not want?
<gchristensen>
get it in quick before i686 support is dropped ...
<brokenboot9>
Is it even possible to chroot into a nixos system from a non nixos, and having stuff not breaking?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5bcF
<NixOS_GitHub>
nixpkgs/master b179908 Franz Pletz: nixos/networking: network is online if default gw set...
NixOS_GitHub has left #nixos []
<makefu>
brokenboot9: most of the time these are runtime dependencies. you are right it would be nice to have an overview of changes before actually starting the download
<clever>
brokenboot9: you just need to set PATH correctly for the most part
<zzamboni>
ashkitten: not out of the box, but it's very configurable, so it's probably possible
<zzamboni>
(re: vim keybindings in elvish)
<ashkitten>
ah okay, thanks
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #29415: Fix coturn to also come properly up if dhcpcd is used. (master...coturn-fix) https://git.io/v5QjL
NixOS_GitHub has left #nixos []
silver_hook has quit [(Quit: Konversation terminated!)]
bennofs has quit [(Read error: Connection reset by peer)]
<brokenboot9>
I just see i installed nixos 18.03. How to downgrade to 17.03? Just subscribe to the stable channel and switch --upgrade?
<zzamboni>
clever: the funny thing is that if I run from bash, then nix-daemon seems to pick up my http_proxy variable when I run nix-env, but not if I run it from elvish or from fish
<clever>
zzamboni: as which user?
<gchristensen>
want to use Nix at work? pass around http://www.nbu.gov.sk/skcsirt-sa-20170909-pypi/ and let them know how Nix fixes it: install-time network sandboxing neuters these attacks.
<zzamboni>
as my regular user account
silver_hook has joined #nixos
<clever>
zzamboni: not sure then
<zzamboni>
Would it break things if I chown /nix to my user account and use it without nix-daemon?
<clever>
zzamboni: what OS is this on?
<brokenboot9>
Can i start X with i3 without a display manager?
ShalokShalom_ is now known as ShalokShalom
<zzamboni>
clever: macOS
orivej has quit [(Ping timeout: 240 seconds)]
<gchristensen>
zzamboni: do you always use an http proxy?
<zzamboni>
no, only at work. My shell sets/unsets the environment variables automatically
<ixxie>
gchristensen: it would help if there was a well written article explaining exactly how Nix mitigates this; at the moment I don't think I could argue well about this sort of issue
<zzamboni>
which seems to be the problem, as nix-daemon is not inheriting those changes
<gchristensen>
ixxie: good idea!
rauno has quit [(Ping timeout: 240 seconds)]
<gchristensen>
ixxie: the short IRC version is: Nix's sandbox means you can only access the network at download time when you already know what you're getting (by setting the sha256.) that means you can use the network to fetch the package (fetchurl) but then when you build and install the package at build time for your software, Nix enables the sandbox and prevents all network access.
<gchristensen>
ixxie: additionally, any install-time malware is only capable of infecting its own directory. the sandboxing and read-write permission limitations at build time means it can only write to $out, vs. without Nix where it can write to anywhere the installing user can write to.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5bWI
<mpickering>
How is the "developPackage" function intended to be used in the haskell package set?
<ixxie>
rycee: are you in yet? ^^
<gchristensen>
ixxie: another terrible attack is where the malware reports set environment variables, which in dev and prod _frequently_ contain secret passwords
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] WilliButz opened pull request #29528: tests: add dropbear test (master...dropbear-test) https://git.io/v5blU
NixOS_GitHub has left #nixos []
<gchristensen>
ixxie: with Nix, the secret environment variables are obviously not set :)
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5bl3
<NixOS_GitHub>
nixpkgs/master 2f9cb45 Samuel Leathers: mpi4py: disabling tests
NixOS_GitHub has left #nixos []
<ixxie>
gchristensen: I give it one or two years and there will be lots of hype around Nix
<gchristensen>
only if we make it happen
<gchristensen>
Nix is almost 15 years old
<ixxie>
Its a little bit surprising its not there yet, but I think its because people don't understand it mostly
<ixxie>
the wiki will help ^^
<gchristensen>
well then we need to fix that
eacameron has joined #nixos
<gchristensen>
good :)
<sphalerite>
gchristensen: it doesn't want to boot off the CD anyway -- it's an option in the BIOS but it doesn't do it
<bebarker>
General question about understanding the release schedule for Nix - I see something I want merged into master 10 days ago, and I have nixos and nixpkgs, both unstable - just ran nix-channel --update && nix-env -u, and still at the old version
<sphalerite>
:(
<Jackneilll>
what system.stateVersion should i run?
<Jackneilll>
i have 17.03 now.
<bebarker>
so the question is - how long does it usually take for changes in master to get released to unstable?
<Jackneilll>
should i enable boot.initrd.checkJournalingFs?
<clever>
Jackneilll: you should leave that at the value it was when you installed
<clever>
Jackneilll: stateVersion tells nixos what version your state is from
<Jackneilll>
hm i want to update to the latest
<gchristensen>
Jackneilll: don't change it
vandenoever has quit [(Ping timeout: 240 seconds)]
<Jackneilll>
isnt the latest 17.9?
<gchristensen>
Jackneilll: The value determines the NixOS release with which your system is to be compatible, in order to avoid breaking some software such as database servers. You should change this only after NixOS release notes say you should.
<nh2>
bebarker: I'm no expert on this topic but I think the way it works is that people push to the branch, and then the hydra build farm munches up the commits and when it succeeds, it advances the channel, like the message just a few seconds above ^
<tilpner>
nh2 - Hey, if you want the GH syntax highlighting in your binary cache readme to work, wrap it in { ... }
<clever>
nh2: there is also a trailing ` after one of the ;'s
eacameron has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
iyzsong has quit [(Read error: Connection reset by peer)]
pxc has joined #nixos
* nh2
fixes
takle has quit [(Remote host closed the connection)]
<nh2>
tilpner: I've been waiting 6 months for somebody to explain me this :D
<nh2>
finally the red is gone
<tilpner>
Disabling syntax highlighting would have been an acceptable workaround for small snippets, but this is better :)
root_ has joined #nixos
<viaken>
How many ways do we need to find out where an executable is? I know of: whereis, which, and now type.
pxc has quit [(Ping timeout: 240 seconds)]
<tilpner>
Add find to that, if it's not in your PATH
<clever>
viaken: i prefer using type in bash, since it can also detect aliases and functions
<tilpner>
gchristensen - I want to integrate "Hey, your pinned nixpkgs are n days older than they have to be, click this button upgrade" into my polybar, but don't want to depend on channels.nix.gsc.io (which I only found by searching IRC logs, you need a sitemap)
<gchristensen>
tilpner: 4. if you keep your options, I'm working on being able to push out messages via rabbitmq or fedmsg
cobbal has joined #nixos
zzamboni has quit [(Ping timeout: 240 seconds)]
<bebarker>
nh2, thanks, that's interesting, i'll have to see if I can track down what's happening in the build farm
stepcut has joined #nixos
justanotheruser has quit [(Ping timeout: 255 seconds)]
<viaken>
tilpner: clever: I wasn't counting standard file finders.
slyfox has quit [(Ping timeout: 248 seconds)]
<gchristensen>
"We’ve since replaced our setup_environment.sh script with one that simply installs Nix."
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5bED
<NixOS_GitHub>
nixpkgs/master c9d11b8 Franz Pletz: apacheHttpd: fix CVE-2017-9798 (Optionsbleed)...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.09: https://git.io/v5bEH
<NixOS_GitHub>
nixpkgs/release-17.09 e7d8bc1 Franz Pletz: apacheHttpd: fix CVE-2017-9798 (Optionsbleed)...
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to release-17.03: https://git.io/v5bEF
<NixOS_GitHub>
nixpkgs/release-17.03 c15a900 Franz Pletz: apacheHttpd: fix CVE-2017-9798 (Optionsbleed)...
NixOS_GitHub has left #nixos []
MercurialAlchemi has quit [(Ping timeout: 248 seconds)]
zzamboni has joined #nixos
slyfox has joined #nixos
<disasm>
gchristensen: haha, yeah, that pretty much wraps up the benefits of nix in one sentence. Take away thousands of layers of complexity to attempt to reproduce an environment by switching to a package manager that handles reproducibility at it's core!
<samueldr>
we're, seemingly successfully, doing the same wher I work
<tilpner>
gchristensen - Thanks! With proper error handling this should be fine, and I'll know where to look if you ever take your service offline :)
<samueldr>
we have different linux distros, nixos and macOS using a nix environment
<gchristensen>
nice samueldr :D
<gchristensen>
tilpner: it is a pretty easy service to keep online :P
<samueldr>
we still have the legacy part (around half) of the app out of nix, but it's a known issue that I'm looking into fixing
<samueldr>
but the way things are going right now, it might never happen... we might get rid of the legacy parts earlier than expected
<fpletz>
yegortimoshenko: it might make sense if the executables are really large, expect to fix lots of packages depending on ffmpeg though :)
<nwspk>
ec
<nwspk>
wrong channel, sorry (´~`ヾ)
ktf has quit [(Ping timeout: 246 seconds)]
<srk>
thoughtpolice: any idea what's the deal with criu-3.4 - getting Unsupported relocation of type 42
ryanartecona has joined #nixos
sellout- has quit [(Read error: Connection reset by peer)]
sellout- has joined #nixos
acowley_away is now known as acowley
phreedom has quit [(Ping timeout: 260 seconds)]
FRidh has quit [(Ping timeout: 255 seconds)]
FRidh has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v5b6Z
<NixOS_GitHub>
nixpkgs/master 0e550fd Franz Pletz: cdo: 1.7.2 -> 1.9.0
<NixOS_GitHub>
nixpkgs/master ede0ecd Franz Pletz: potrace: 1.14 -> 1.15...
NixOS_GitHub has left #nixos []
mog has quit [(Ping timeout: 248 seconds)]
Arcaelyx has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
kanshazan has joined #nixos
stepcut has joined #nixos
erasmas has joined #nixos
Sonarpulse has joined #nixos
<ij>
When I nix-build this basic docker image, the second build spouts out a link from the cache: http://sprunge.us/PcAe When I add haskell, it always rebuilds.
<ij>
What inputs might be changing and how could I see/find out?
FRidh has quit [(Ping timeout: 264 seconds)]
<nh2>
is there a way I can find out how far on the NixCon waiting list I am?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] sivteck opened pull request #29532: vcstool: init at 0.1.31 (master...rosDevChan) https://git.io/v5biA
<Ankhers>
It isn't considered bad to use nixpkgs unstable on NixOS, right? Just nixos unstable?
<goibhniu>
it depends on what you're going for, the stable releases get security updates faster
<fpletz>
Ankhers: yeah, they basically contain the same but the nixos channel only gets released if some basic nixos tests pass - better use the nixos channel if you don't want a completly broken system :)
<kanshazan>
I run NixOS stable with a few packages from unstable. Perfect in my eyes. Whole system is stable, with some software being bleeding-edge.
<Ankhers>
Cool. I just wanted to make sure nothing would break if I used nixpkgs unstable.
<Ankhers>
Thanks!
cement has joined #nixos
leat has quit [(Ping timeout: 260 seconds)]
pxc has quit [(Ping timeout: 255 seconds)]
<goibhniu>
Ankhers: in case it's not clear, it's definitely a bad idea to use any nixpkgs channel for NixOS
<Ankhers>
Oh. Then I also misunderstood.
<goibhniu>
you can use nixpkgs-unstable safely with nix-env though
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] sivteck opened pull request #29533: vcstool: init at 0.1.31 (master...rosDevChan) https://git.io/v5bXL
NixOS_GitHub has left #nixos []
Mateon1 has quit [(Quit: Mateon1)]
* goibhniu
remembers a time when grub was broken on a nixpkgs channel ... some people got burnt
Mateon1 has joined #nixos
<catern>
yegortimoshenko: you would do that with multiple outputs, perhaps
nh2 has quit [(Quit: Leaving.)]
acowley is now known as acowley_away
<catern>
gchristensen: great article about Pinterest using Nix :)
<catern>
are there any other articles from bigcorps about using Nix?
<catern>
besides mozilla
mog has joined #nixos
<gchristensen>
and tumblr? :)
<silver_hook>
à propos mozilla, I’m still confused how to get Firefox to use the official branding on NixOS.
<gchristensen>
Mozilla hasn't given us permission to distribute our build of firefox to be branded as Firefox
pxc has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.2.1))]
<catern>
gchristensen: where's the tumblr article?
<sphalerite>
silver_hook: you can use the firefox-bin package or override the firefox package with enableOfficialBranding = true; or something like that, but the latter will result in building from source
<sphalerite>
EpicMemes03: which version? It gets updated frequently
<EpicMemes03>
17.03.1840.88604ee33a-x86_64-linux
<EpicMemes03>
how often does it get updated?
<sphalerite>
oh yeah, vaguely related: are the ISO images reproducible?
<sphalerite>
EpicMemes03: every time the channel updates
Filystyn has joined #nixos
Filystyn has quit [(Changing host)]
Filystyn has joined #nixos
Mercuria1Alchemi has quit [(Ping timeout: 255 seconds)]
<sphalerite>
The commit it's currently on is from 3 days ago, so it's newer than that
<sphalerite>
23 hours old in fact
<sphalerite>
silver_hook: yeah we don't have anything like that AFAIK
pxc has quit [(Ping timeout: 252 seconds)]
cobbal has left #nixos []
__Sander__ has quit [(Quit: Konversation terminated!)]
<silver_hook>
Would be a cool GSoC project perhaps though, to extend the package website to include overrides.
<silver_hook>
BTW, I get this: error: attribute ‘override’ missing, at /etc/nixos/configuration.nix:190:6
<sphalerite>
silver_hook: oh right yeah because firefox is weird. Hang on
<sphalerite>
s/weird/wrapped/ :)
erictapen has quit [(Ping timeout: 246 seconds)]
<sphalerite>
silver_hook: if you add an overlay that adds the option to firefox-unwrapped it should work
<sphalerite>
but the simpler option is probably to use firefox-bin
nschoe has quit [(Quit: Program. Terminated.)]
<EpicMemes03>
So how do i verify the downloaded iso?
<goibhniu>
EpicMemes03: the sha-256 is on the download page, are you looking for something more?
<EpicMemes03>
yeah. Either a sig, like every other distro under the sun provides, or a hash that isn't hosted on the same site as the iso.
ixxie has joined #nixos
Fare has joined #nixos
<sphalerite>
If you want a full trust path I think the best way (although you need to trust github to serve you the true nixpkgs repo) is to install nix (there's a gpg signature for it IIRC) and build the image from nixpkgs yourself
<sphalerite>
it's a rather unfortunate state of affairs
<catern>
well, that's not that hard though, if you trust the binary cache
<catern>
which is signed
<catern>
maybe the ISO is even in the binary cache
<EpicMemes03>
sphalerite: well, the git repo has signed tags
<sphalerite>
TIL :p
<disasm>
is mvn2nix the best tool for making a nix derivation for an application that installs using mvn? I tried it out, but it seems to be in an infinite loop of downloading dependencies.
<disasm>
nevermind that looping thing, it just took really long to download and looking at logs looks like it downloaded the same stuff as deps for different parts.
ryanartecona has quit [(Quit: ryanartecona)]
<ixxie>
catern: good call :)
<ixxie>
has Nix/OS actually ever been featured on Slashdot?
<niksnut>
not afaik, which is probably a good thing
Filystyn has quit [(Ping timeout: 240 seconds)]
<kanshazan>
Does anyone here have Dropbox managed by systemd? Instead of starting it manually somewhere with the sessionmanager?
pie_ has quit [(Remote host closed the connection)]
ryanartecona has joined #nixos
pie_ has joined #nixos
Filystyn has joined #nixos
arximboldi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] womfoo opened pull request #29535: xmlsec: enable deprecated headers required by lasso (master...fix/enable-deprecated-xmlsec-headers) https://git.io/v5bQ2
NixOS_GitHub has left #nixos []
<taaperotassu>
Strange last time when I tried lukscrpt nixos installation.. the first poweroff was stuck in the Started hardware clock part.. but after force shutdown by pressing the key. it went okay.. this time again after reinstall
ryanartecona has quit [(Quit: ryanartecona)]
pxc has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] timor opened pull request #29536: perl-Term-Animation: init at 2.6 (master...perl-Term-Animation) https://git.io/v5bQi
NixOS_GitHub has left #nixos []
lewo` has joined #nixos
<rycee>
ixxie: Hey, you rang? :-)
<silver_hook>
If I run `bluetoothctl` and in it `power on`, I get: Failed to set power on: org.bluez.Error.Blocked
<ixxie>
hey rycee :) I set up the home manager at work today
<ixxie>
works great :)
<rycee>
Cool!
<ixxie>
so if I understood correctly, the trick to dealing with more extensive dotfiles - like those for emacs - is you have them in another repo and then use home.file."somefile".source = ./dotfileincfgrepo
<ixxie>
you can use ~ as well to fetch stuff relative to the home folder right?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to release-17.09: https://git.io/v5b7s
<NixOS_GitHub>
nixpkgs/release-17.09 f8f126b Josef Kemetmueller: valgrind: Fix darwin build...
NixOS_GitHub has left #nixos []
<ixxie>
because the structure of the home folders may differ in my machines
lewo has quit [(Ping timeout: 246 seconds)]
<rycee>
ixxie: Well, I have my dotfiles in the same repo as the HM configuration.
<rycee>
ixxie: And then use relative paths in the HM config. This uses Nix paths, which I believe do not support ~.
<hyper_ch>
so, DRM for HTML5 is now officially sanctivied :(
<ixxie>
rycee: do you symlink home.nix into ~/.config/nixpkgs/home.nix?
* ixxie
not even sure that makes any sense xD
endformationage has joined #nixos
<rycee>
ixxie: Actually, Nix does seem to support ~ for paths relative to $HOME: "If the first component of a path is a ~, it is interpreted as if the rest of the path were relative to the user's home directory. e.g. ~/foo would be equivalent to /home/edolstra/foo for a user whose home directory is /home/edolstra."
<rycee>
$ readlink .config/nixpkgs
<rycee>
/home/rycee/devel/nixos-config/user
<ixxie>
rycee: I am still interested in your approach since ideally I want a simple single-repo solution
<rycee>
Yeah, in `/home/rycee/devel/nixos-config/user` I have `config.nix` with some Nix configs, a directory `dotfiles` which is just having random configuration files (these are put in place using `home.file`), and a few HM configurations, for example `beta.nix` for my laptop. Then I use `home-manager -f /home/rycee/.config/nixpkgs/beta.nix switch` to use the configuration.
<rycee>
If you have a `home.nix` file there then you don't need the `-f` argument.
<ixxie>
rycee: weird question, but do you deploy a configuration.nix to a NixOS machine from this setup? xD
<Filystyn>
why sync wastes so much time on nix...
<niksnut>
sync?
<Filystyn>
yes sync takes ages. meh
<rycee>
ixxie: I have my system configs in `/home/rycee/devel/nixos-config/system` and just rsync `/home/rycee/devel/nixos-config` to where I want it. I symlink /etc/nixos/configuration.nix on the host into this dir.
Filystyn has quit [(Quit: Konversation terminated!)]
<rycee>
ixxie: On the "beta" host /etc/nixos/configuration.nix points to /home/rycee/devel/nixos-config/system/beta-configuration.nix and on "kappa" it points to /home/rycee/nixos-config/system/kappa-configuration.nix
<rycee>
It's a bit hackish but I don't manage so many boxes so it's not too much trouble…
<ixxie>
rycee: its glorious! I love it
<ixxie>
is it on a public repo? I think everybody should see this xD
<ixxie>
it would be a great one to should on the Wiki
<erictapen>
I'm trying to import the nixpkgs-mozilla overlay into my configuration.nix like this: nixpkgs.overlays = { (import (pkgs.fetchFromGitHub { [nixpkgs-mozilla ..] }))};. Can this work in any way?
anelson has joined #nixos
<anelson>
hey all
<ixxie>
hey anelson
<erictapen>
as I'm on nixops, I cannot put it into my ~/.config/nixpkgs/overlays
<anelson>
how come there's no `isPath` primitive function?
<anelson>
or could I use `isStorePath` to achieve this?
<anelson>
(apparently not)
FRidh has joined #nixos
<rycee>
ixxie: No, it's not public since it contains some revealing stuff :-) But I've been meaning to clean it up, just takes some time…
<catern>
NixUP needs to hurry up and exist already, I am eagerly anticipating it :)
<ixxie>
rycee: yeah you don't wanna be wanna of those kids thats puts their stuff up on unixporn only to regret it for the rest of your life
nixer has quit [(Ping timeout: 260 seconds)]
<ixxie>
catern: I recon it will be at least half a year so I am using home manager since today
<ixxie>
catern: so far so great :)
<ixxie>
I suppose it they will have much in common
<ixxie>
catern: the way I see it, NixUP (or rather, the home-manager - since that *actually exists*) should be simply integrated into Nix and NixOS
<ixxie>
it makes no sense to seperate it
<catern>
certainly
<catern>
I want to be able to use the same services for NixUP and NixOS
<ixxie>
and indeed it would be nice for official support
<catern>
or at least, share code
<chreekat>
hyper_ch: wow, holy crap
<ixxie>
it would be super cool to have a base config and be able to offer various starter user profiles which the user could subsequently tweak to their liking
<catern>
oh yeah! that would be awesome :)
<ixxie>
catern: and friends visiting friends with NixOS could just setup a profile for the week xD
<catern>
this reminds me of when I combined so many different mods for elder scrolls games, back in the day... maybe we need NixES :)
<catern>
so you can reproducibly configure and share your mod setup :)
Infinisil has joined #nixos
gerschtli has quit [(Quit: WeeChat 1.7.1)]
yegortimoshenko has quit [(Read error: Connection reset by peer)]
gerschtli has joined #nixos
acowley_away is now known as acowley
jensens has quit [(Ping timeout: 240 seconds)]
gerschtli has quit [(Client Quit)]
joehh has quit [(Ping timeout: 240 seconds)]
gerschtli has joined #nixos
eacameron has quit [(Remote host closed the connection)]
gerschtli has quit [(Client Quit)]
srhb has quit [(Quit: Quit)]
srhb has joined #nixos
JosW has joined #nixos
joehh has joined #nixos
gerschtli has joined #nixos
arximboldi has quit [(Quit: arximboldi)]
<ixxie>
rycee: do your configuration.nix's point symbolically or just import those files? If symbolically I guess you moved your hardware-configuration.nix to the repo?
k2s has joined #nixos
<srhb>
With nixops, on gce, I get this: fetch-ssh-keys-start[16844]: HTTP request sent, awaiting response... 404 Not Found -- does anyone know what this is about?
simendsjo has joined #nixos
<srhb>
It's asking some metadata api for... Something.
<rycee>
Well, for `hardware-configuration.nix` specifically, I just removed that file and put its content directly in the host configuration file. I do try to extract common stuff into .nix files that I then import: `imports = [ ./blahblah.nix ];`
<rycee>
The imported files I keep in the same repo, of course.
simukis has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 3 new commits to staging-17.09: https://git.io/v5bAq
<NixOS_GitHub>
nixpkgs/staging-17.09 e532d32 Frederik Rietdijk: python27: 2.7.13 -> 2.7.14...
<NixOS_GitHub>
nixpkgs/staging-17.09 b516a2e Frederik Rietdijk: python.pkgs.subprocess32: 3.2.6 -> 3.2.7...
<NixOS_GitHub>
nixpkgs/staging-17.09 9dee43f Frederik Rietdijk: python27: support test/support...
NixOS_GitHub has left #nixos []
<rycee>
ixxie: ^
<moredhel1>
Hi all, I'm trying to get syslog to talk to fluentd but am having some issues. has anyone managed this? I can't seem to get syslog (or rsyslog) to forward logs to a tcp/udp remote host.
<srhb>
What the heck, the ssh host key changed O_o
<moredhel1>
I have the following `rsyslogd.extraConfig = ''*.* (at)(at)localhost:5140''
<moredhel1>
I simply have 'nc -l 5140' at the moment to see if anything comes through (it doesn't)
Mateon1 has left #nixos []
griff_ has quit [(Quit: griff_)]
<moredhel1>
firewall isn't an issue as I can do 'echo "test" | nc localhost 5140' fine
<sphalerite>
@moredhel:m.aoeu.me: is whatever you want to capture the logs for actually logging to rsyslogd?
<sphalerite>
Keeping in mind that stuff logs to the systemd journal normally
<moredhel1>
well, I'm wanting to push it all into a Fluentd/Kibana system.
<moredhel1>
This is the first of a cluster of machines.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/v5bA7
<moredhel1>
The ideal being log to local & forward to fluentd
<moredhel1>
sphalerite: logs are going to the syslog, running 'journalctl -f' I can see them coming in
<sphalerite>
yes but are they going to rsyslogd
<moredhel1>
how do I configure them to go to rsyslogd? I thought it replaced the default syslog.
<taaperotassu>
had windows 10 and installed nixos in its own partition..seems like grub doesnt autoconfigurate the windows part
<taaperotassu>
yikes
arximboldi has joined #nixos
eacameron has joined #nixos
mudri has joined #nixos
orivej has joined #nixos
k2s has quit [(Ping timeout: 248 seconds)]
jb55 has joined #nixos
LnL7 has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 opened pull request #29537: nixpkgs: add stdenv tests to unstable and darwin-tested (master...darwin-tested) https://git.io/v5bpl
NixOS_GitHub has left #nixos []
LnL has quit [(Ping timeout: 248 seconds)]
<Infinisil>
People who go to nixcon, do you travel back on sundays or mondays? Is there any 'after-event' or so?
<disasm>
wednesday :)
<disasm>
mon/tues is hackdays
<fpletz>
Infinisil: if there isn't one planned anyway, we will certainly have one :)
<Infinisil>
I see
<Infinisil>
Alright I'll stay all of sundays and return on monday :D
hotfuzz_ has joined #nixos
erictapen has quit [(Ping timeout: 240 seconds)]
_ris has joined #nixos
<Lisanna>
How come the nixpkgs version of ld adds special prefixes to all the library search paths? It's messing up the "-l:/absolute/path/to/libfoo.so" functionality
hotfuzz has quit [(Ping timeout: 240 seconds)]
<taaperotassu>
installation of GRUB on /dev/sda failed? when I tried to nixos-rebuild switch
<taaperotassu>
also there are huge amount of Internal error: Unrelesed memory pool(s) found? what does it mean
jb55 has quit [(Ping timeout: 260 seconds)]
<Lisanna>
ld -l:/path/to/libfoo.so --> ld will search /nix/store/*-glibc/lib//path/to/libfoo.so
<samueldr>
uefi or "bios"?
<taaperotassu>
bios
<Lisanna>
That doesn't happen on a regular CentOS system
kanshazan has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 4 new commits to staging-17.09: https://git.io/v5bhw
<NixOS_GitHub>
nixpkgs/staging-17.09 3dba8b2 Franz Pletz: potrace: 1.14 -> 1.15...
aloiscochard has quit [(Quit: Connection closed for inactivity)]
kanshazan has joined #nixos
<taaperotassu>
It's seems like that the reason why I cant use nixos-rebuild switch is because I installed /boot to sda3 and the rest to sda4 .. anyone know how to fix?
<cocreature>
what’s the right way to get the test suite dependencies of a Haskell package in nix-shell? "-A env" doesn’t seem to make test suite dependencies available
<taaperotassu>
you have a memory leak dtree errors occures
azdle has joined #nixos
<cocreature>
ah nvm, doCheck = true; is all that’s needed
<azdle>
I'm trying to install parallels tools on a nixos guest and I see there's a package (?) for it in nixpkgs (hardware.parallels.enable = true), but I think I have too new of an iso for it to work.
anon999 has joined #nixos
<anon999>
anyone have experience with quicklisp on NixOS?
<azdle>
(It tells me to `nix-store --add-fixed sha256 prl-tools-lin.iso` when it fails.)
kanshazan has quit [(Ping timeout: 240 seconds)]
<arximboldi>
hi! i am trying to do pkgs.fetchFromGithub in a configuration.nix file but I get infinite recursion, is this not possible?
<azdle>
But the failure ("cannot build derivation") filename hash doesn't match what is outputted from `nix-store --add-fixed ...`.
apeyroux has quit [(Remote host closed the connection)]
<azdle>
Does my assumption that I just have the wrong version of the tools iso make sense?
<ixxie>
cheers rycee
<Infinisil>
arximboldi: can you show all of the nix file?
<Lisanna>
arximboldi: infinite recursion means you have something referencing itself in an unresolvable way, I don't think there should be anything wrong with calling fetchFromGitHub in configuration.nix
<ixxie>
rycee: one last question - do you need to link all the files to etc/nixos or just the main one? In other words, does NixOS look relative to the actual file or the symlink for imports?
<arximboldi>
basically I am trying to directly grab from an import from a repo...
<Infinisil>
ixxie: relative to the actual file (not the symlink)
<taaperotassu>
How do I add grub enable cryptodisk to nixos?
<taaperotassu>
nixos-rebuild fails, saying "GRUB_ENABLE_CRYPTODISK=y" is missing in grub
<Lisanna>
arximboldi: I'm pretty sure importing it is wrong, put it in systempackages instead
<Infinisil>
Lisanna: Nope
<Infinisil>
arximboldi: You need to use (import <nixpkgs> {}).fetchFromGitHub instead
<arximboldi>
ahhhh ok
<arximboldi>
that is what I use to pin <nixpkgs> but I thought in here I could just use pkgs
<Infinisil>
Maybe also import <nixpkgs> { config = {}; } or import <nixpkgs> { overlays = []; }
<arximboldi>
so what is the difference between <nixpkgs> and pkgs?
<arximboldi>
Infinisil: I tried that but now I get this error: error: The option `__ignoreNulls' defined in `/etc/nixos/configuration.nix' does not exist.
nh2 has quit [(Ping timeout: 240 seconds)]
jb55 has joined #nixos
<ixxie>
cool, thanks Infinisil
<Infinisil>
Ohhh I've had that error before actually, hmm
takle has quit [(Remote host closed the connection)]
<Infinisil>
arximboldi: searching through my logs, clever said `imports = [ (((import <nixpkgs> {config={};}).fetchFromGitHub { ... }).outPath) ];` should work (and I seemed to have success with that)
takle has joined #nixos
yiimi has quit [(Quit: leaving)]
<arximboldi>
aha! thanks!
<arximboldi>
that worked, I'm gonna impress a few in a workshop tomorrow ;)
<Infinisil>
arximboldi: With your config? or NixOS? musnix?
<arximboldi>
NixOS :D
takle has quit [(Ping timeout: 240 seconds)]
<Infinisil>
I wish you luck, I find it hard to convey the beauty of NixOS to others. NixOS solves problems I didn't even know I had, so it might be the same for others :P
anon999 has quit [(Quit: Page closed)]
griff_ has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 2 new commits to master: https://git.io/v5Nvd
<NixOS_GitHub>
nixpkgs/master 77bd631 John Ericson: darwin stdenv: cctools override needs to go away when targetPlatform changes
<NixOS_GitHub>
nixpkgs/master e137264 John Ericson: Merge pull request #29517 from obsidiansystems/cctools-cross...
NixOS_GitHub has left #nixos []
alphor has quit [(Quit: Bye!)]
<ixxie>
Infinisil: maybe a good way is to go for something like "name a stack made of componants packaged in Nixpkgs and we will set up a server over the next hour"
<ixxie>
of course that can backfire but should be feasable
alphor has joined #nixos
<rycee>
ixxie: In my /etc/nixos/ I only have a single entry, the symlink to the corresponding host configuration in my repo.
<Lisanna>
ixxie: careful, packaged in nixpkgs != nixos option exists to make it go :)
<Infinisil>
ixxie: How about some Java 6 legacy server :P
<ixxie>
lol
<rycee>
ixxie: So Nix will manage to find the right files even if they are not symlinked into /etc/nixos.
ryanartecona has joined #nixos
<ixxie>
prudent warnings, Lisanna, Infinisil
<ixxie>
luckily I am not gonna take that sort of challenge on
jb55 has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 pushed 1 new commit to staging: https://git.io/v5Nfo
<NixOS_GitHub>
nixpkgs/staging cbdd77f John Ericson: Remerge pull request #29517 from master into staging
NixOS_GitHub has left #nixos []
<Infinisil>
Btw what do the people use to develop new nixos options? I'm having a hard time testing them, what I often do is add the module.nix, add a config to my system for it and import that, then rebuild. But it seems a bit slow and I sometimes have to remove the produced state
<Infinisil>
I should use something like nixos-containers, or a vm for that I guess, but I haven't felt like setting that up
mudri has quit [(Ping timeout: 240 seconds)]
odi has joined #nixos
nh2 has joined #nixos
k2s has joined #nixos
<ixxie>
thanks for all the tips rycee, Infinisil :) have a good one
hypersw_ has joined #nixos
<Infinisil>
ixxie: You too :)
<rycee>
Cheers!
hypersw has quit [(Ping timeout: 240 seconds)]
k2s has quit [(Ping timeout: 246 seconds)]
<moredhel1>
sphalerite: okay, I have it forwarding now, some of the time... if I start it manually (using the same configuration file) then it forwards correctly. If I use the systemd service it doesn't work however. No logs are forwarded to it
ixxie has quit [(Quit: Lost terminal)]
<moredhel1>
nvm, I got it!
grw has joined #nixos
MP2E has joined #nixos
mudri has joined #nixos
ktf_ has joined #nixos
<disasm>
cstrahan, kevincox: is there some tool you used to generate pkgs/applications/networking/cluster/mesos/fetch-mesos-deps.sh or did you just manually add deps to that script?
<grw>
hi, when i enable services.disnix it seems to try to build the dysnomia package in a different context to normal
<grw>
the machine is indeed x86_64, but normally it sends jobs out to armv7 workers
<grw>
when i enable this package the whole evaluation breaks with this error
<grw>
anyone know whats different about this package/service?
oida_ has joined #nixos
ktf_ has quit [(Ping timeout: 240 seconds)]
<ij>
How can I see the data that a store package's id/hash is computed from?
oida has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<azdle>
I'm trying to install paralles tools on nixos, but hte nixpkg on master is really out of date, is there anything I can put in my configuration.nix to tell it to use the pkgs in the PR instead? https://github.com/NixOS/nixpkgs/pull/27513/
odi has quit [(Ping timeout: 240 seconds)]
cfricke has joined #nixos
FRidh has quit [(Quit: Konversation terminated!)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] bcdarwin opened pull request #29538: ants: bump version and fix sandboxed build (master...update-and-fix-ANTS) https://git.io/v5Nkj
NixOS_GitHub has left #nixos []
cfricke has quit [(Client Quit)]
griff_ has quit [(Quit: griff_)]
marusich has joined #nixos
LnL7 is now known as LnL
simendsjo has quit [(Quit: ERC (IRC client for Emacs 25.3.1))]
griff_ has joined #nixos
<maurer>
So, I'm trying to use my multimonitor setup again, which requires me to use the nvidia driver rather than the intel driver on my laptop
erictapen has joined #nixos
erictapen has quit [(Remote host closed the connection)]
<maurer>
However, despite adding "nvidia" to services.xserver.videoDrivers
<maurer>
there is no kernel module showing up
<azdle>
disasm, Thanks for the pointer, I'll look into it.
<maurer>
lsmod doesn't show an nvidia, modprobe says module not found, dmesg shows no reference to it
<maurer>
I've run nixos-rebuild boot and then rebooted since
newhoggy has joined #nixos
dieggsy has joined #nixos
<maurer>
(Note: I don't need (though it'd be nice) the bumblebee support, I just need the nvidia driver running the show, since the intel driver can't see the external connectors)
jb55 has joined #nixos
newhoggy has quit [(Ping timeout: 260 seconds)]
<maurer>
I'm suspecting something is wrong with my configuration.nix, since I just added to the driver line "hot garbage", and nixos-rebuild build still succeeded...
<kevincox>
disasm: I havent actually modified it yet so I don't know. Sorry.
<maurer>
OK, maybe this is actually an issue of /boot not actually going where it's supposed to, since I just moved generation 73's loader conf file and then successfully booted into it anyways...
not_in_namespace has quit [(Quit: WeeChat 1.8)]
lassulus has quit [(Read error: Connection reset by peer)]
lassulus has joined #nixos
slack1256 has joined #nixos
<Sonarpulse>
copumpkin, niksnut: what was the way to get the nix 1.12 drv hashes for nix-cache.s3.amazonaws.com logs we decided on?
<Sonarpulse>
nixUnstable's nix-instantiate doesn't seem to be good enough
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5NWj
<NixOS_GitHub>
nixpkgs/master 96bd8da Samuel Leathers: dyn: 1.5.0 -> 1.6.3
NixOS_GitHub has left #nixos []
Eisfreak7 has joined #nixos
<Eisfreak7>
How can I reload alsa? Everything I can find online mentions `alsa force-reload`, however I think I cna't obtain the alas executable in nixos
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/v5NB0
<NixOS_GitHub>
nixpkgs/master 1d0c8f8 rybern: pythonPackages.pomegranate: init at 0.7.7 (#29338)
NixOS_GitHub has left #nixos []
ktf_ has joined #nixos
hiratara has joined #nixos
stepcut has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
<makefu>
Eisfreak7: according to http://forums.bodhilinux.com/index.php?/topic/3800-solved-how-does-a-user-restart-alsa-without-rebooting/ -> alsactl restore 0
<Unode>
makefu: following up on what you just replied, are you aware of any way to get that info when not on nix/nixos?
Nobabs27 has quit [(Quit: Leaving)]
<Unode>
I'm currently looking for which package provides 'column'. Should be util-linux but util-linux on nix seems to be limited to 'eject' and 'libuuid'
<makefu>
Unode: perform a git clone nixpkgs and run in this new folder 'nix-build -A pkgs.purescript .'
<Eisfreak7>
makefu: Hm that has no effect, but I'm not sure wether it's not reloading or reloading just doesn't fix it
<Unode>
makefu: purescript? how so?
<makefu>
Unode: wupps, this was meant for drets
<Unode>
makefu: :)
erictapen has quit [(Ping timeout: 255 seconds)]
<makefu>
Eisfreak7: can you try to reboot your machine and see if it actually does what you are trying to achieve?
<Unode>
I vaguely recall someone mentioning some website where you could see which packages provides which binary. Can't find that link right now.
<makefu>
Unode: it depends on the distro i guess
<makefu>
there is "yum what-provides" (or something), and there is "apt-file" for debian
<Unode>
makefu: sorry I meant that I am currently not on nixos but I still want to find which nix package provides a binary.
<Eisfreak7>
makefu: it does show up for me, it just registers as unplugged
<Eisfreak7>
But I'll try it anyways
<makefu>
Eisfreak7: hw:0,3 is the sound card as defined in /proc/asound/cards
<Eisfreak7>
makefu: Thats the same for me
<makefu>
but yes as sphalerite said, suspending can fuck your shit up easily
<makefu>
x230 or x220 laptop? :D
<Eisfreak7>
makefu: T450s
<makefu>
close
<makefu>
:)
<Unode>
the day suspend works flawlessly will be a great day in the linux world. It might take a while.
yegortimoshenko has quit [(Changing host)]
yegortimoshenko has joined #nixos
<sphalerite>
Eisfreak7: there's an option in pavucontrol, I think on the last tab
<makefu>
i can confirm
<Eisfreak7>
makefu: With that config line pulseaudio doesn't start at all ("Failed to load module module-alsa-sink (argument: device=hw:0,3): initialization failed.")
<Eisfreak7>
sphaleri: Just switching to anything else and then back doesnt fix it unfortunately
newhoggy has quit [(Remote host closed the connection)]
newhoggy has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
Khetzal has quit [(Ping timeout: 248 seconds)]
takle has quit [(Ping timeout: 240 seconds)]
<Eisfreak7>
I think I might have found a "solution" in the arch wiki
<Unode>
Eisfreak7: if you have the relevant kernel components built as modules, does it help if you manually rmmod ?
<Eisfreak7>
"If you are using a standalone window manager, you may need to have sound playing while plugging in th eHDMI cable"
<Eisfreak7>
Unode: I don't know which modules are responsible for at card
takle has joined #nixos
<Unode>
Eisfreak7: lsmod | grep snd should give you some ideas
<Unode>
I have snd_hda_codec_hdmi here
newhoggy has quit [(Remote host closed the connection)]
<Unode>
among a few others. (not nixos though)
newhoggy has joined #nixos
Neo-- has joined #nixos
<Eisfreak7>
ERROR: Module snd_hda_intel is in use
<Unode>
right, you may need to rmmod everything else that uses snd_hda_intel first.
<Eisfreak7>
Unode: reloading the module doesn't help unfortunately
hiratara has joined #nixos
hypersw_ is now known as hypersw
<Unode>
Eisfreak7: then I'm afraid you are in one of those cases were trying a different kernel or alsa version might be the last hope. After that, reporting a bug to the alsa team or go down the rabbit hole and craft the fix yourself.
hamishmack has joined #nixos
<Unode>
Eisfreak7: it might just be one of those bad initialization scenarios.
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] dotlambda opened pull request #29545: texworks: init at 0.6.2 (master...texworks) https://git.io/v5NuF
NixOS_GitHub has left #nixos []
<Unode>
sadly these are too common and the reason for most of the suspend from ram issues.
nh2 has joined #nixos
<Eisfreak7>
Unode: Yeah maybe, thanks for your help. It did work better in arch though, so I don't think its a problem with alsa itself
<Unode>
Eisfreak7: if it was working before, check versions of alsa and kernel.
<Unode>
I've had things going back and forth between functional and utterly broken around these two systems. Sometimes pulseaudio also gets it the way so I try to avoid that variable.
<Unode>
Eisfreak7: best of luck getting that to work.
arximboldi has quit [(Quit: arximboldi)]
mizu_no_oto has joined #nixos
cement has quit [(Ping timeout: 240 seconds)]
Fare has joined #nixos
silver_hook has quit [(Ping timeout: 248 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/v5Ngv
<NixOS_GitHub>
nixpkgs/master ccfce4b timor: perl-Term-Animation: init at 2.6
<Eisfreak7>
Unode: Okay I think I found a workaround. If I explicitly rerun my monitor configuration before and after replugging it works (even though video works without doing that)
Wizek_ has joined #nixos
<yorick>
why does chromium depend on texlive?!
<yorick>
oh, gnutls depends on it
<yorick>
oh, systemd depends on texlive
<yorick>
for building, probably
Neo--- has joined #nixos
Neo-- has quit [(Read error: Connection reset by peer)]
predator217 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #29547: stdenv: Add back leading '-' in cross derivation name suffix (master...cross-suffix) https://git.io/v5NVZ
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #29547: stdenv: Add back leading '-' in cross derivation name suffix (master...cross-suffix) https://git.io/v5NVZ
NixOS_GitHub has left #nixos []
newhoggy has joined #nixos
eacameron has quit [(Remote host closed the connection)]
jmeredith has joined #nixos
thc202 has quit [(Ping timeout: 260 seconds)]
erasmas has quit [(Quit: leaving)]
Fare has joined #nixos
<Fare>
I updated to 17.09 and NIX_LDFLAGS looks like it's not heeded anymore
mudri has quit [(Ping timeout: 264 seconds)]
<Fare>
I also updated gambit.
digitus has quit [(Quit: digitus)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #29548: cc-wrapper: Two trivial changes affecting cross compilation (master...cc-wrapper-cross-misc) https://git.io/v5NwX
<onethirtyfive>
Hi! I need an executable provided by a haskell package in my user profile in nixos. I was told to use ghcWithPackages somewhere... would I do this in ~/.config/nixpkgs, or somewhere else?
marusich has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] volth opened pull request #29549: timescaledb: init at 0.4.2 (master...timescaledb-0.4.2) https://git.io/v5NoO
NixOS_GitHub has left #nixos []
ktf_ has quit [(Ping timeout: 246 seconds)]
rgrinberg has joined #nixos
<rgrinberg>
i'm running nix on osx, and I only see old versions of some packages. For example, ocaml is available only up to 4.03. why is that?
<yorick>
autoreconfHook doesn't depend on autoreconf, so is missing autoreconf? all of my packages are failing with /nix/store/cqv3901w8jcxn3w4134pzh6c8alirlmb-hook/nix-support/setup-hook: line 5: autoreconf: command not found
<rgrinberg>
can't i update the channel without using root?
<Unode>
rgrinberg: yes, you don't need sudo. But then you can only install on the user that has the channel updated.
<rgrinberg>
Unode: that's fine with me
<ryantm>
rgrinberg: I'm not sure about macOS but on Linux the /nix/store paths are managed by root, unless you set up a special builder.
<ryantm>
You can set them up to be managed by your user though, so I guess it's a matter of how you set it up.
<Unode>
rgrinberg: the root requirement might depend on how you are using nix and how it was installed. I didn't notice you mentioned osx.
<Unode>
rgrinberg: did you install nix with your user or with sudo ?
<yorick>
so is the unstable channel broken? I can't compile anything with reconf on it
<rgrinberg>
Unode: i installed nix with my user by running that sh script on the website. it did prompt me for my sudo password though
<rgrinberg>
ryantm: yeah, /nix is owned by root
<Unode>
rgrinberg: check the ownership of /nix/store. If this is root and you do not have nix-daemon running then you might need to invoke nix with sudo every time.
<Unode>
you can run /nix/ as a regular user though.
<Unode>
So if only you use that machine, it's safe to chown /nix to your user and you won't need sudo.
<rgrinberg>
Unode: i have nix-daemon running and i'm able to install things for example
<Unode>
then you shouldn't need sudo
<Unode>
nix-daemon takes care of that.
<Unode>
you can also check which user is running nix-daemon.