<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v1lDH
<NixOS_GitHub>
nixpkgs/master 55eb741 Tuomas Tynkkynen: xsokoban: Fix build
sebastian has joined #nixos
digitalmentat has quit [(Quit: Leaving)]
kampfschlaefer has quit [(Ping timeout: 258 seconds)]
<clever>
sebastian: ocamlPackages.utop is the attribute for utop, so nix-shell -p ocamlPackages.utop would get that, there is something else missing though
<sebastian>
clever: thanks, that seems to work. Now I'm getting a failed assertion when I try to do it with ocamlPackages.core or ocamlPackages.core_extended
herzmeister has joined #nixos
newhoggy2 has joined #nixos
MarcelineVQ has quit [(Ping timeout: 260 seconds)]
Shou has joined #nixos
glines has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v1lys
<NixOS_GitHub>
nixpkgs/master a7c31ce Tuomas Tynkkynen: snack: Mark broken...
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/v1lyV
<NixOS_GitHub>
nixpkgs/master 1e7bb27 Tuomas Tynkkynen: U-Boot: Add platforms to legacy U-Boots...
<Fare>
I tried many things, but they look ignored by grub
Shou has quit [(Ping timeout: 246 seconds)]
<brh>
Hey guys, I'm trying to figure out how to add a priority to my ~/.nixpkgs/config.x packageOverrides, starting from the base skeleton here: https://nixos.org/wiki/Cheatsheet. I'd like to make it so I can declare all the things I want and it'll install them, overriding any of them that may have already been manually installed with `nix-env -i foo`. Anyone know how to do this?
<brh>
I can call it manually with `nix-env --set-flag priority 10 all`, but even then it doesn't seem happy if one of the pkgs in all is installed without any priority (I thought it defaulted to 0?)
newhoggy2 has quit [(Remote host closed the connection)]
<brh>
(manually calling nix-env --set-flag priority 0 foo` will fix it, of course)
<clever>
brh: now i can just nix-env -iA nixos.mystuff and i'm done
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
newhoggy_ has joined #nixos
<brh>
I think that is what I'm using? A build-env inside packageOverrides?
<clever>
brh: ah, didnt read what you said fully
newhoggy2 has quit [(Ping timeout: 258 seconds)]
<brh>
Yeah, the issue is if I put, say [tmux vim emacs] in the buildEnv, and I had already ran `nix-env -i tmux` manually, I get a colission. Your ignoreCollisions = true; solved it for me, though
<clever>
brh: there is a lib.hiPrio function that i think sets the default under nix-env
<brh>
wait . . . nevermind, I'm confused; expanding my buildEnv to include [git] gives me another conflict. How do I call the lib.hiPrio function in my all { buildEnv } ?
<clever>
brh: i think you can just do all = pkgs.hiPrio buildEnv { ....
<brh>
I have a with pkgs; after the name as well that I think it doesn't like
<c74d>
Do I recall correctly that it's unidiomatic in NixOS to put things like compilers and build tools in systemPackages, and they should instead be loaded on-demand in nix-shell?
<clever>
c74d: correct
<c74d>
thanks
<Shell>
in practice, I have a handful of compilers installed via nix-env for reasons.
<clever>
brh: ah, i often forget about the order of operations, try all = pkgs.hiPrio (buildEnv { .... });
<brh>
oooh I got it now: it was `all = with pkgs; pkgs.lib.hiPrio ( buildEnv{...})`
markus1189 has joined #nixos
<Fare>
clever, thanks!
<clever>
brh: since you have the with statement, you can do all = with pkgs; hiPrio ( buildEnv{...});
<brh>
Awesome, that also worked. Thanks clever!
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 2 new commits to master: https://git.io/v1lSW
<NixOS_GitHub>
nixpkgs/master f91458c Tuomas Tynkkynen: reattach-to-user-namespace: Set platforms
<NixOS_GitHub>
nixpkgs/master 571cf4f Tuomas Tynkkynen: uisp: Fix build
<mrrtump>
ok so how hard or ez is the install?
markus1199 has quit [(Ping timeout: 245 seconds)]
<mrrtump>
I dont have to do many low level commands do I?
<clever>
mrrtump: its pretty easy, just partition the drive, format it, mount it, and then nixos-generate-config --root /mnt, edit some config, and nixos-install
<sebastian>
That worked for me, thanks clever!
sebastian has quit [(Quit: Page closed)]
<Fare>
clever, thanks a lot!
Seichi has quit [(Quit: Konversation terminated!)]
Fare has left #nixos ["Leaving"]
angerman has joined #nixos
jsgrant has quit [(Quit: Konversation terminated!)]
glines has joined #nixos
JagaJaga has quit [(Ping timeout: 260 seconds)]
herzmeister has quit [(Quit: Leaving)]
newhoggy2 has joined #nixos
herzmeister has joined #nixos
newhoggy_ has quit [(Ping timeout: 260 seconds)]
newhoggy2 has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
<mrrtump>
why is nixos better than debian?
Fare has joined #nixos
<clever>
mrrtump: too many things to list, heh
<clever>
mrrtump: part of it is just the power that comes from nix expressions
<clever>
mrrtump: when compiled, this makes a shell script, and if you run that shell script as root, you get nixos running from a ramdisk, with zero changes to the hdd
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<c74d>
"<clever> foo = (import <nixpkgs/nixos> { configuration = { pkgs, lib, ... }: { networking.hostname = "vm1"; }; }).vm" -- does a VM defined like this have the same configuration as the host system except for `networking.hostname`, or a default configuration except for `networking.hostname`?
jsgrant has joined #nixos
<clever>
c74d: it will entirely ignore the host config
<clever>
c74d: so that vm only has a hostname set, and nothing else
<c74d>
clever: okay, thanks
mizu_no_oto has joined #nixos
<c74d>
clever: and, to be sure, the `configuration` function gets that default configuration as its `config` argument?
<clever>
the config argument will be the result of the config returned by that function (with that hostname), merged with the config from all nixos modules
<c74d>
I mean, not the host config
Fare has quit [(Quit: Leaving)]
<c74d>
(this is probably implied by "entirely ignore")
<clever>
yeah, that will be all the 'guest' config
<c74d>
okay, thanks
<clever>
the default value for configuration is <nixos-config>
<clever>
which loads configuration.nix from $NIX_PATH
<c74d>
clever: that's the host config, that's ignored, right?
matthewbauer has quit [(Ping timeout: 265 seconds)]
<clever>
in the above example, we provide a value for configuation, so it wont use the default
<c74d>
ah
eqyiel[m] has quit [(Remote host closed the connection)]
flo[m] has quit [(Remote host closed the connection)]
TimePath[m] has quit [(Remote host closed the connection)]
nhooyr has quit [(Read error: Connection reset by peer)]
zimbatm[m] has quit [(Remote host closed the connection)]
bendlas has quit [(Read error: Connection reset by peer)]
guanjian[m] has quit [(Read error: Connection reset by peer)]
Kiko[m] has quit [(Remote host closed the connection)]
cinderfish[m] has quit [(Read error: Connection reset by peer)]
M-Shrike has quit [(Read error: Connection reset by peer)]
masia[m] has quit [(Read error: Connection reset by peer)]
Grill[m] has quit [(Read error: Connection reset by peer)]
cornu has quit [(Remote host closed the connection)]
jcl[m] has quit [(Remote host closed the connection)]
Shell has quit [(Write error: Connection reset by peer)]
danielrf[m] has quit [(Read error: Connection reset by peer)]
icetan has quit [(Read error: Connection reset by peer)]
ntninja has quit [(Read error: Connection reset by peer)]
M-schneeflocke has quit [(Read error: Connection reset by peer)]
M-jackal has quit [(Write error: Connection reset by peer)]
org-rubo78[m] has quit [(Read error: Connection reset by peer)]
aspiwack[m] has quit [(Read error: Connection reset by peer)]
baldo[m] has quit [(Read error: Connection reset by peer)]
jack[m] has quit [(Read error: Connection reset by peer)]
Guest72563 has quit [(Write error: Connection reset by peer)]
mythmon- has quit [(Write error: Connection reset by peer)]
musicmatze[m] has quit [(Read error: Connection reset by peer)]
primeos[m] has quit [(Remote host closed the connection)]
Ralith has quit [(Remote host closed the connection)]
av[m] has quit [(Remote host closed the connection)]
rycee[m] has quit [(Read error: Connection reset by peer)]
chexxor_web[m] has quit [(Write error: Connection reset by peer)]
offlinehacker[m] has quit [(Write error: Connection reset by peer)]
M-roblabla has quit [(Write error: Connection reset by peer)]
saintaquinas[m] has quit [(Write error: Connection reset by peer)]
SShrike has quit [(Write error: Connection reset by peer)]
prose[m] has quit [(Write error: Connection reset by peer)]
MrAxilus[m] has quit [(Write error: Connection reset by peer)]
M-wkennington has quit [(Write error: Connection reset by peer)]
unlmtd[m] has quit [(Remote host closed the connection)]
regnat[m] has quit [(Write error: Connection reset by peer)]
bachp has quit [(Write error: Connection reset by peer)]
davidar has quit [(Write error: Connection reset by peer)]
Yaniel has quit [(Write error: Connection reset by peer)]
regnt[m] has quit [(Read error: Connection reset by peer)]
M-appservice_irc has quit [(Read error: Connection reset by peer)]
bennofs has quit [(Write error: Connection reset by peer)]
M-manveru has quit [(Write error: Connection reset by peer)]
M41px[m] has quit [(Write error: Connection reset by peer)]
<savanni>
Hmm... something about rebooting my machine made made bluetooth start working.
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
echo-area has joined #nixos
jsgrant has quit [(Quit: Konversation terminated!)]
wangoe has quit [(Quit: leaving)]
<NixOS_GitHub>
[nixpkgs] imalsogreg opened pull request #20909: haskellPackages.heist: testsuite dependency on pandoc executable fixes tests (master...heist-pandoc) https://git.io/v1lQy
aj__ has joined #nixos
acertainkind has joined #nixos
mbrgm has quit [(Ping timeout: 268 seconds)]
derjohn_mobi has quit [(Ping timeout: 256 seconds)]
newhoggy2 has joined #nixos
mbrgm has joined #nixos
zraexy has quit [(Ping timeout: 248 seconds)]
newhoggy2 has quit [(Remote host closed the connection)]
newhoggy2 has joined #nixos
mizu_no_oto has joined #nixos
regnat[m] has joined #nixos
jsgrant has joined #nixos
newhoggy2 has quit [(Ping timeout: 244 seconds)]
zimbatm[m] has joined #nixos
mythmon- has joined #nixos
bachp has joined #nixos
jack[m] has joined #nixos
M-wkennington has joined #nixos
SShrike has joined #nixos
masia[m] has joined #nixos
ntninja has joined #nixos
M-roblabla has joined #nixos
nhooyr has joined #nixos
av[m] has joined #nixos
davidar has joined #nixos
MrAxilus[m] has joined #nixos
flo[m] has joined #nixos
Shell has joined #nixos
primeos[m] has joined #nixos
org-rubo78[m] has joined #nixos
TimePath[m] has joined #nixos
guanjian[m] has joined #nixos
saintaquinas[m] has joined #nixos
prose[m] has joined #nixos
musicmatze[m] has joined #nixos
unlmtd[m] has joined #nixos
Grill[m] has joined #nixos
bendlas has joined #nixos
Guest28260 has joined #nixos
Kiko[m] has joined #nixos
chexxor_web[m] has joined #nixos
M-Shrike has joined #nixos
M-jackal has joined #nixos
Yaniel has joined #nixos
aspiwack[m] has joined #nixos
M-manveru has joined #nixos
bennofs has joined #nixos
Ralith has joined #nixos
M41px[m] has joined #nixos
jcl[m] has joined #nixos
cornu has joined #nixos
rycee[m] has joined #nixos
M-schneeflocke has joined #nixos
baldo[m] has joined #nixos
eqyiel[m] has joined #nixos
offlinehacker[m] has joined #nixos
regnt[m] has joined #nixos
icetan has joined #nixos
danielrf[m] has joined #nixos
cinderfish[m] has joined #nixos
M-appservice_irc has joined #nixos
matthewbauer has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
matthewb` has joined #nixos
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
echo-area has quit [(Remote host closed the connection)]
jsgrant has quit [(Quit: Konversation terminated!)]
echo-area has joined #nixos
jsgrant has joined #nixos
paperd has joined #nixos
jsgrant has quit [(Read error: Connection reset by peer)]
jsgrant has joined #nixos
newhoggy2 has joined #nixos
newhoggy2 has quit [(Client Quit)]
newhoggy2 has joined #nixos
<Rotaerk>
hmm how do you create new profiles? manually add a directory to /nix/var/nix/profiles?
<Rotaerk>
and then switch to it
<clever>
Rotaerk: hmmm, let me check something
<Rotaerk>
in general, I'm trying to understand the best way to get a distinct nix environment per project
<clever>
if i run nix-shell on this, i get an environment that can cross-compile an ARM linux kernel
<Rotaerk>
this cross-compiled-kernel.nix is a shell.nix?
<Rotaerk>
just differently named
<clever>
yeah
<clever>
thats a git repo where i just stick all kinds of usefull things, so i renamed it to prevent collisions
<Rotaerk>
okay, cool; so instead of switching profiles per project, run a nix shell, configured by a shell.nix
<clever>
and the name shell.nix doesnt have any real magic to it, thats just the default file for nix-shell
<clever>
yep
<Rotaerk>
makes sense; thanks
acarrico has quit [(Remote host closed the connection)]
<clever>
and since you already have the buildInputs right there, your half way to having a working nix package for the project
acarrico has joined #nixos
<Rotaerk>
clever, would that file *be* the nix package with a bit more work, or is that just for development? where I'd make a separate nix file for the package, and just copy over the buildInputs
<clever>
i would just name it default.nix, and use src = ./.; and stdenv.mkDerivation
<clever>
then both nix-shell and nix-build will work on it
<clever>
nix-store isnt supposed to work inside a nix build, and there are existing tools to do this
<clever>
which i didnt know of at the time
jsgrant has quit [(Quit: Konversation terminated!)]
<marantz>
I'm trying to install nixos onto a Macbook Air via the liveboot iso on a usb stick. Everything has worked, but nixos-install fails trying to download http://www.broadcom.com/docs/linux_stahybrid-v35….tar.gz which I can't download if I try from a browser in another ldaptop. Is there a way to stop nixos-install from trying to install that driver?
mizu_no_oto has quit [(Ping timeout: 250 seconds)]
<clever>
marantz: you can try doing nix-channel --update, and hopefully somebody has already fixed the reference
<marantz>
ok I'll try that now
<stepcut>
is there some way to get cabal2nix to pull from a branch of a github repo?
<clever>
marantz: do you know if you have a broadcom wifi card?
<marantz>
I've no idea. I have a wired network connection that works
<marantz>
yes the macbook air has a broadcom card
<clever>
marantz: the description for the package your unable to download is "Kernel module driver for some Broadcom's wireless cards";
<clever>
marantz: and the version currently in nixpkgs is 6.30.223.271, but your omited the version from the url you pasted
<marantz>
I can live without that support right now
<clever>
marantz: i think you just need to remove broadcom_sta from the hardware-config.nix file in /mnt/etc/nixos/
<marantz>
the …. part is v35_64-nodebug-pcoem-6_300_223_271.tar.gz
<clever>
marantz: and the wl from kernelModules
<marantz>
fyi the nix-channel —update; nixos-install seems to be doing something else right now
danharaj has quit [(Ping timeout: 258 seconds)]
<marantz>
clever: same error. I don't see any mention of the broadcom card in hardware-configuration.nix so how to I say to ignore it?
<clever>
marantz: can you pastebin the configuration.nix and hardware-config from /mnt/etc/nixos/ ?
<marantz>
no, but I see "wl" so I'll remove that?
<clever>
yeah
mizu_no_oto has joined #nixos
<marantz>
same thing. any other ideas?
<clever>
can you pastebin the files i asked for?
<marantz>
that laptop is booted into the livecd iso so I don't know how to do that
<clever>
you can systemctl start sshd, and then ssh into it from another pc
<marantz>
trying
<marantz>
I can't ssh into it. is there a firewall I need to disable?
<clever>
what error is ssh giving?
<marantz>
operation timed out after saying Connected to 198.168.1.107 port 22
PragCyphr has joined #nixos
<clever>
thats weird
<clever>
and its the correct ip?, check ifconfig again
<marantz>
ifconfig on both laptops show then on the same network this laptop is .105 the target is .107
<clever>
oh yeah, and some wifi have an extrmely anoying setting, the wifi users can NEVER talk to the wired users
paperd has quit [(Quit: WeeChat 1.5)]
<marantz>
systemctl status sshd on the target say it is listening on port 22
<clever>
its to stop a guy on the street from haxing your desktop, but all it does is get in the way of everything
<clever>
you can still try "systemctl stop firewall"
<marantz>
yes it is probably my wireless router ;-(
<clever>
my ISP provided router also lacks an option to turn that off
PragCyph1 has quit [(Ping timeout: 260 seconds)]
<clever>
every single time i try to upgrade to the N band, the hardware says no :P
<marantz>
stopping the firewall didn't help
<marantz>
let me see if I can put them on a usb stick…
<clever>
try plugging the other laptop in via ethernet?
<clever>
oh, another option
<clever>
run gist -p and irssi under screen
<clever>
gist -p can upload files, screen lets you copy/paste the link without a mouse, and irssi gets you irc
mguentner2 has quit [(Quit: WeeChat 1.6)]
<marantz>
here are the uncommentd lines from configuration.nix
<anelson>
hey guys, I'm trying to configure wireless on nixos
justanotheruser has quit [(Ping timeout: 250 seconds)]
<clever>
marantz: line 9 of the link, exactly what i said to remove
mguentner has joined #nixos
<anelson>
my interface shows up in ifconfig, and I'm able to manually connect with wpa_supplicant, but the systemd unit that nixos sets up does not work
<anelson>
specifically it has a `-u` flag which seems to be the difference
<marantz>
dam. thanks clever I'll try that now
<anelson>
dbus: Could not request service name: org.freedesktop.DBus.Error.AccessDenied Connection ":1.15" is not allowed to own the service "fi.w1.wpa_supplicant1" due to security policies in the configuration file
<anelson>
Failed to initialize wpa_supplicant
<anelson>
any advice?
<anelson>
I could go in and hack the expression that generates the systemd unit and remove the -u flag, but that's both difficult and feels hacky
mizu_no_oto has quit [(Quit: ["Textual IRC Client: www.textualapp.com"])]
<clever>
anelson: no idea what happened to wpa_supplicant, last i tried (a month ago) it just worked when i put a config file in /etc/wpa_supplicant.conf
<marantz>
clever I have another issue /mnt/boot has the wrong file type which I think I can fix. thanks much
<anelson>
clever: :(
<anelson>
yeah I have no idea about this stuff
<anelson>
I was just following the wiki
<anelson>
and I'm able to connect if I start wpa_supplicant manually
<clever>
the wiki hasnt been updated in ages and is read-only
<anelson>
be that as it may, is there any more up to date source of info?
<clever>
anelson: pretty much all i did last time was hardware.wireless.enable = true; and wpa_passphrase ESSID >> /etc/wpa_supplicant.conf
jsgrant has joined #nixos
<anelson>
hmm
<anelson>
I did networking.wireless.enable = true
<anelson>
do you think that's a difference?
mguentner2 has joined #nixos
<clever>
nope, i just didnt remember it correctly
<anelson>
oh ok
<anelson>
yeah
<anelson>
that ain't working
<anelson>
for that stupid dbus reason
<anelson>
does your systemd unit have the -u option in its call to wpa_supplicant?
<clever>
*looks*
<anelson>
so somewhat bizarrely there's both a wpa_supplicant.nix and a supplicant.nix in nixos/modules/services/networking
<NixOS_GitHub>
[nixpkgs] peterhoeg opened pull request #20912: mysqltuner: init at 1.6.18 (release-16.09...mysql) https://git.io/v1lhV
spacekitteh has joined #nixos
Rotaerk_ has joined #nixos
MercurialAlchemi has joined #nixos
kyren_ has joined #nixos
the_ktosiek has joined #nixos
Chobbes_ has quit [(Ping timeout: 250 seconds)]
cruxeternus has quit [(Ping timeout: 250 seconds)]
tormen_ has joined #nixos
cruxeternus has joined #nixos
RchrdB has joined #nixos
mooseboobs has quit [(Ping timeout: 252 seconds)]
mooseboobs has joined #nixos
kyren has quit [(Ping timeout: 260 seconds)]
the-kenny has quit [(Ping timeout: 260 seconds)]
tormen has quit [(Ping timeout: 260 seconds)]
wedens1 has joined #nixos
derchris_ has joined #nixos
adnelson has quit [(Read error: Connection reset by peer)]
matthewb` has joined #nixos
bara1 has joined #nixos
amarsman has joined #nixos
Rotaerk has quit [(Ping timeout: 244 seconds)]
herzen has quit [(Ping timeout: 244 seconds)]
ktosiek has quit [(Ping timeout: 244 seconds)]
wedens has quit [(Ping timeout: 244 seconds)]
derchris has quit [(Ping timeout: 244 seconds)]
the-kenny-w has joined #nixos
bara has quit [(Ping timeout: 244 seconds)]
DerGuteMoritz has quit [(Ping timeout: 244 seconds)]
herzen has joined #nixos
DerGuteMoritz has joined #nixos
adnelson has joined #nixos
Chobbes_ has joined #nixos
jacob_ has joined #nixos
jacob_ is now known as Guest84994
matthewb` has quit [(Ping timeout: 240 seconds)]
<clever>
Dezgeg: and now a kernel built by nixpkgs boots, just had to bump the rev to master's current version
<clever>
but it took 3 hours to compile, so i'm considering just hacking together a cross-compile derivation
redmq has quit [(Ping timeout: 244 seconds)]
zraexy has quit [(Ping timeout: 265 seconds)]
<angerman>
So I can use nix-copy-closure to deploy an application at a remote system, preferrably pulling the binaries from a binary cache. What zero downtime solutions are available, e.g. letting the old version sever until the new version has taken over completely?
<clever>
angerman: this command will replace a symlink called something, with a link to /nix/store/foo, and make that something a GC root
<clever>
angerman: if you ran that on say public_html, it would atomicly swap the entire document root out in one command
<clever>
the rest, would depend a lot on what http server your using, and if you want nix to also manage its config
<angerman>
clever I'm more concered about services that bind to ports, where simple symlink swapping won't help :(
<clever>
lighttpd has a special seamless restart mechanic in it, where the new instance will contact the old instance, and then the old one stops listening but keeps serving the open connections
<clever>
you will need to look into what your http server offers for seamless restarts
<Rotaerk_>
is angerman a superhero, or a supervillain
<angerman>
Rotaerk_ O_o
<angerman>
clever ok. I'll have to see for solutions outside of nix and how to integrate those with nix then.
<clever>
angerman: if you name an http server, i can see if nixos already has anything special for it
<angerman>
clever I'm deploying an app that binds to a port, and the http server acts as a proxy. Basically internet -> nginx -> application
<angerman>
now clearly if i'm replacing the application, but still want to serve existing connections from the old application until all connections are gone.
<clever>
angerman: ah
<clever>
angerman: so you may want to re-implement what lighttpd has done within your application, the new instance signals the old instance
<clever>
then the old instance closes the listening socket, but continues to handle open connections to nginx, and shuts down once all are handled
<angerman>
well, or plug some service between nginx and the application.
<clever>
and the new intance re-opens the port
johann__ has joined #nixos
<clever>
angerman: there is also a unix feature that may be of use
<clever>
angerman: this lets you pass an open file descriptor between processes, so the old instance can pass the handle to the new instance, without the port ever closing
<clever>
and then it will round-robin between them as they call accept() (or go to just the new, if the old never calls accept again, and closes)
<angerman>
clever thanks! I'll give this a look.
echo-are` has joined #nixos
echo-area has quit [(Remote host closed the connection)]
<e1>
I noticed that parallel building of chromium is not enabled. Is there a reason for that? I didn't see one in the comments in the corresponding *.nix files.
<clever>
e1: cant think of any reason why its missing, is it causing an issue on your end?
<e1>
clever: haven't tried yet since it's probably the most expensive package to build. Which is why I was so surprised it was turned off.
<clever>
i just grab it from the binary cache and its done
FRidh has joined #nixos
<e1>
That's what I wanted to do but nix insists on building it.
<clever>
64bit or 32bit?
civodul has joined #nixos
<e1>
64
<clever>
is this happening at nixos-install, nixos-rebuild or nix-env?
<e1>
nix-env -u in user profile
<clever>
can you pastebin ~/.nixpkgs/config.nix ?
<e1>
clever: not too complicated. I'm using both flash and pdf plugins though.
<e1>
But that should result in built chromioum +
<clever>
try commenting one of the plugins out and see what nix-env does
<e1>
plugin + plugin
<clever>
ive noticed an issue with one of the plugin options recently
<e1>
clever: what are we trying to achieve?
<clever>
find out which plugin is causing it to rebuild the heavy part
<e1>
OK. Presumably that's a bug?
Wizek has quit [(Ping timeout: 250 seconds)]
<clever>
yeah
<e1>
I'll get back to you//report the bug, gotta catch my bus now.
<clever>
nekroze: i dont see any way to insert commands (like ulimit) before systemd-nspawn, so you would need to modify a clone of nixpkgs and rebuild with -I nixpkgs=foo to test
newhoggy_ has joined #nixos
johann__ has quit [(Quit: Leaving.)]
Guest40686 has quit [(Ping timeout: 245 seconds)]
newhoggy_ has quit [(Remote host closed the connection)]
Itkovian has quit [(Ping timeout: 244 seconds)]
newhoggy_ has joined #nixos
<nekroze>
clever: Interesting. I would have assumed there would be some way to limit them since nixos seems pretty big on them compared to vm's. I was going to rebuild my whole home server using just nixos-containers and no vm's, oh well will see how it goes and if they start strangling each other for performance then I will come back to sort this out
<teeter>
hey guys, i hope someone can help me. I trying to mount a webdav using davfs2 root everything works fine. Now i try to mount it as a user, and cant get it to work.
mbrgm has quit [(Ping timeout: 256 seconds)]
mbrgm_ is now known as mbrgm
<teeter>
what i have tried so far: 1. adding the option user 2. security.setuidPrograms ["mount" "mount.davfs"] 3. edit visudo
jensens has joined #nixos
<avn>
teeter: `sudo mount ....` should works in theory
<teeter>
it does but than i cant write anything to it
<NixOS_GitHub>
[nixpkgs] dbrock opened pull request #20924: cargo: set CURL_CA_BUNDLE (master...cargo) https://git.io/v182U
<gchristensen>
Profpatsch++
rui1 has quit [(Quit: WeeChat 1.4)]
<gchristensen>
I mean, I'd even use more quotes :P
<gchristensen>
around GOPATH=... :P
cfricke has joined #nixos
ckauhaus has joined #nixos
<Profpatsch>
Maybe someone would like to take that script as a basis for improving golang tooling.
<Profpatsch>
As you can see, there’s a lot of low-hanging fruit.
anelson has quit [(Ping timeout: 245 seconds)]
anelson_ has joined #nixos
ebzzry has quit [(Ping timeout: 240 seconds)]
marantz has quit [(Ping timeout: 246 seconds)]
cfricke has quit [(Ping timeout: 244 seconds)]
modulistic has joined #nixos
joelmo has joined #nixos
viric_ has quit [(Read error: Connection reset by peer)]
viric_ has joined #nixos
glines has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/v18rX
<NixOS_GitHub>
nixpkgs/master 497e6d2 Nikolay Amiantov: haskellPackages.haskell-src-exts-simple: build against new haskell-src-exts
cfricke has joined #nixos
matthewb` has joined #nixos
johann__ has quit [(Quit: Leaving.)]
romildo has joined #nixos
matthewb` has quit [(Ping timeout: 244 seconds)]
acertainkind has quit [(Read error: Connection reset by peer)]
acertain has quit [(Ping timeout: 244 seconds)]
marantz has joined #nixos
acertainkind has joined #nixos
<ocharles_>
Hey - just updated to the Hydra in release-16.09, but now my Hydra server apparently has no machines (the /admin/machines route shows nothing) and no builds are happening. How do I set up that machine itself to be a build server?
<clever>
ocharles_: it always needs a slave in /etc/nix/machines
<ocharles_>
Ok, can that be populated with something in configuration.nix?
<ocharles_>
I have no /etc/nix/machines file at the moment
<clever>
ocharles_: its configured via nix.buildMachines in configuration.nix
<ocharles_>
Ah, thanks!
<qknight>
what to do if a package is called 'meta', 'throw' or 'assert' in nipxkgs?
<clever>
qknight: i think meta is fine, but throw/assert will probably have trouble
<rly>
Is there any template language which is not specific to HTML which just replaces {{foo}} with some arbitrary string for many different bindings like foo in e.g. a JSON or YAML file?
<rly>
The one I am currently using which is advertised as something which can be used for "config files", can't actually represent newlines (facepalms).
glines has quit [(Ping timeout: 245 seconds)]
<ocharles_>
perfect, thanks clever! I'll open an issue to get this added to the hydra manual
<clever>
rly: simplest (and most ugly) thing i can think of is php, just foo = <?php echo $foo ?>; as needed
<qknight>
clever: ideas what i could do? in crates.io packages are named like that
<rly>
clever: I sort of already decided on the {{foo}} syntax.
<rly>
I.e., I thought that mustache would work, but apparently they are lying and can't even write a tool according to their own specification.
eacameron has joined #nixos
<clever>
rly: sed? heh
<rly>
clever: yeah, it crossed my mind, but I don't think people would like such a horrible hack.
<rly>
clever: I already found a possible solution.
roconnor_ has joined #nixos
<qknight>
niksnut: do you think one could patch nix to accept package names as: "assert" and other keywords?
<qknight>
Profpatsch: what do you think?
rotox has joined #nixos
<qknight>
e = { assert=""; }
<qknight>
error: syntax error, unexpected ASSERT, at (string):1:4
edvorg has quit [(Ping timeout: 258 seconds)]
<qknight>
so the parser could look if there is a = after the keyword, and if so it is not a keyword but a attribute name
pstn has quit [(Ping timeout: 256 seconds)]
<rotox>
I am trying to build a nix container that runs N instances of a service where N is a number > 0 passed into the description via mkOptions. I cannot figure out however how to iterate over the range of numbers from 1 to N. Can someone provide me with an example of how to do that?
<clever>
qknight: nix-repl> let foo."assert" = "bar"; in { inherit (foo) "assert"; }
<clever>
qknight: this happens to work
<clever>
qknight: so does this: nix-repl> { "${"assert"}" = "bar"; }
<clever>
oh, wasnt expecting { "assert" = "bar"; } to also work
<clever>
but e.assert doesnt let you access it, needs e."assert" and now its more complex to use
<Profpatsch>
Yes, { "assert" = 1 } should work.
<Profpatsch>
qknight: So for generating packagesets, just put all attribute names in Strings.
<Profpatsch>
There’s also a hackage-packages.nix "assert" =
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/v18Xi
<NixOS_GitHub>
nixpkgs/master 407537a Joachim Fasting: privoxy: 3.0.24 -> 3.0.26...
<NixOS_GitHub>
nixpkgs/master c98023b Joachim F: Merge pull request #20918 from joachifm/privoxy-bump...
romildo has quit [(Quit: Leaving)]
matthewb` has joined #nixos
iyzsong has quit [(Quit: night.)]
matthewb` has quit [(Ping timeout: 248 seconds)]
johann__ has quit [(Quit: Leaving.)]
ixxie has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
johann__ has joined #nixos
ifur has quit [(Quit: leaving)]
ifur has joined #nixos
Seichi has quit [(Read error: Connection reset by peer)]
Seichi has joined #nixos
cfricke has quit [(Quit: WeeChat 1.6)]
glines has joined #nixos
Rotaerk_ has quit [(Read error: Connection reset by peer)]
erasmas has joined #nixos
<greymalkin>
Is chrome deliberately trying to screw with us? "Chromium Embedded Framework requires that the file '/nix/store...' is owned by root and has permission 4755.
zagy has quit [(Quit: Leaving.)]
<greymalkin>
Nevermind, this is an */nix problem, as nixos itself probably deals with creating the sandbox.
danharaj has joined #nixos
ArdaXi[m] has joined #nixos
angerman has quit [(Quit: Gone)]
johann__ has quit [(Quit: Leaving.)]
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/v189h
<NixOS_GitHub>
nixpkgs/master e43a99e Joachim Fasting: electrum: 2.7.11 -> 2.7.12
wangoe has quit [(Ping timeout: 268 seconds)]
pstn has joined #nixos
wangoe has joined #nixos
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
glines has quit [(Ping timeout: 258 seconds)]
slack1256 has joined #nixos
glines has joined #nixos
matthewb` has joined #nixos
ixxie has quit [(Remote host closed the connection)]
matthewb` has quit [(Ping timeout: 244 seconds)]
glines has quit [(Ping timeout: 265 seconds)]
<savanni>
Do any of you use Nautilus (the gnome file manager) on a Nixos machine?
<kragniz>
yeah
glines has joined #nixos
<savanni>
@kragniz What kinds of things are necessary to install to get it to a) detect external drives, and b) detect file types as something other than text/plain?
fritschy has quit [(Quit: Leaving.)]
<savanni>
external drives/removable media
<kragniz>
not sure, I have it installed with the rest of gnome and those work out of the box
peti has quit [(Ping timeout: 246 seconds)]
<savanni>
Darn. I did i3 and am trying to keep the system as minimal as possible.
<savanni>
Maybe I should sincerely work on looking at other file managers.
<ToxicFrog>
I thought nautilus had a huge pile of dependencies; if you want minimal something like thunar is probably better?
* ToxicFrog
has largely stopped using the file manager at all, despite using KDE
<savanni>
Potentially. And with Nix it's really easy to try something and then "remove" it if I dislike it.
<savanni>
But, a lot of file managers don't support encrypted volumes. And while I sorta-know how to mount an encrypted volume manually, it's rather painful.
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
sdothum has joined #nixos
acertain has joined #nixos
<manveru>
for the few times where i need removable media, i use pmount
<NixOS_GitHub>
[nixpkgs] Ericson2314 closed pull request #15043: top-level: simplify stdenv calling of top-level: fewer inferred and re-inferring arguments (master...cross) https://git.io/vwrPT
glines has quit [(Ping timeout: 246 seconds)]
ryanartecona has joined #nixos
<savanni>
Well, thunar apparently has a lot of dependencies that don't get installed with xfce.thunar. No icons appear, and the volume manager doesn't seem to start.
<savanni>
My problems may actually have nothing to do with the file manager and a lot to do with dbus.
<savanni>
Because dbus has been an off-and-on problem since I installed this system.
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
ckauhaus has quit [(Quit: Leaving.)]
Wizek has joined #nixos
Guest84994 has quit [(Remote host closed the connection)]
asymmetric has joined #nixos
matthewb` has joined #nixos
katyucha has quit [(Quit: leaving)]
<seanparsons>
Is there a nice way of dropping into a node REPL session with certain dependencies pulled in from NPM that I can do with Nix? I thought this would be super easy for some reason but I'm not seeing anything.
<seanparsons>
FRidh: I saw that, but it's not what I really want, that takes a project and makes nix expressions for it.
<savanni>
... removable filesystems started working after a reboot. I have no idea what I changed.
rly has quit [(Ping timeout: 260 seconds)]
<FRidh>
seanparsons: you can can write a function that takes your input, runs node2nix, puts the expressions in the store, and then evaluates them.
earldouglas has joined #nixos
<seanparsons>
FRidh: I want a REPL though, not something that just runs a bit of JavaScript and I still need to create packages.json and all that faff.
<seanparsons>
I'm amazed this is simples with Haskell, but not so much for Node.
zagy has quit [(Quit: Leaving.)]
<earldouglas>
Is there a good way to reference secrets in a NixOps deployment? E.g. I'd like to set a DB_PASSWORD env var in systemd.services.<name>.environment.
jacob_ has joined #nixos
jacob_ is now known as Guest98660
<savanni>
Ah, it's the XFCE desktop manager. Enable it, don't even necessarily run it, and *something* in there enables auto-discovery of removable filesystems.
jgeerds has quit [(Remote host closed the connection)]
<qknight>
how to define a attribute set and pass it to it's arguments also?
hlavaty has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] Ericson2314 opened pull request #20927: In `lib/trivial/makeExtensible*` allow extenders to refer to refixer … (master...pkgs-overridePkgs) https://git.io/v14fh
<qknight>
done in pkgs with pkgs, where libc can depend on pkgs.libd
<qknight>
override?
gilligan_ has joined #nixos
<gilligan_>
o/
<qknight>
i have a top-level/all-packages.nix like set which i can't put in nixpkgs and i need to pass it to each element for dependencies
Hunner has joined #nixos
Hunner has quit [(Changing host)]
Hunner has joined #nixos
glines has quit [(Ping timeout: 248 seconds)]
lsix has quit [(Quit: Konversation terminated!)]
Guest40686 has quit [(Ping timeout: 258 seconds)]
Seichi has quit [(Remote host closed the connection)]
Seichi has joined #nixos
<earldouglas>
Ah, the answer to my question is builtins.getEnv. That was easier than I thought.
moet has joined #nixos
<moet>
is it normal for chromium to compile from scratch when you install it?
<goibhniu>
moet: nope, what channel are you using?
<moet>
afaik, vanilla install
<moet>
nor sure how to check
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<goibhniu>
how did you install it?
<moet>
livecd.. nixos-install or whatever the default installation method was
<moet>
goibhniu: `nix-channel --list` prints nothing .. that seems not good!
<goibhniu>
maybe try `nixos-rebuild switch --upgrade` as root, that will update the channel
pi3r has quit [(Read error: Connection reset by peer)]
<goibhniu>
the one-click install is broken at the moment, but you can still install from there
dgn has quit [(Ping timeout: 248 seconds)]
<goibhniu>
e.g. `nix-store --realise /nix/store/0fwwicdrv4khjzy0pxmblfb9h9d5a3mk-chromium-54.0.2840.100`
<x1n4u>
activating the configuration...
<x1n4u>
setting up /etc...
<x1n4u>
readlink: missing operand
<x1n4u>
Try 'readlink --help' for more information.
<x1n4u>
i ve got follwing problem after nixos-rebuild switch
<x1n4u>
I'm realy sorry I messed up my copy and paste
jensens has quit [(Ping timeout: 244 seconds)]
RchrdB has joined #nixos
anelson_ has quit [(Ping timeout: 240 seconds)]
anelson_ has joined #nixos
amarsman has joined #nixos
<sternenseemann>
any ideas, why I am missing dm_mod (and other modules) with linuxPackages_latest and linuxPackages on armv7l?
jophish has quit [(Ping timeout: 258 seconds)]
Sonarpulse-Work has joined #nixos
jophish has joined #nixos
TroniQ89 has joined #nixos
redmq has joined #nixos
<qknight>
i probably have ot use newScope for my problem
jmeredith has joined #nixos
herzmeister has quit [(Quit: Leaving)]
<eacameron>
So a sad story: I need to run a PHP app on PHP 5.4 :O
<eacameron>
Is that going to be a huge amount of work on NixOS?
Shou has quit [(Ping timeout: 258 seconds)]
<qknight>
eacameron: depends
<eacameron>
qknight: On what?
stepcut has joined #nixos
<qknight>
eacameron: your nix background, how urgent it is
herzmeister has joined #nixos
<eacameron>
qknight: It needs to work by the end of the week, basically. I am relatively new to nix but I've managed to deploy several other PHP apps, Haskell apps, etc. with it.
<ronny>
eacameron: you know, in the worst case you can always make a docker container with the app and use that ^^
<eacameron>
ronny: You mean don't use NixOS?
<ronny>
eacameron: but i presume if its just php that needs a version, you may be able to finish it with a few lines of nix
<eacameron>
No idea what the ramifications would be regarding packages, etc.
<eacameron>
PHP packages, that is.
<ronny>
eacameron: i strongly suspect you wont need to resort to docker
<eacameron>
ronny: Well it's a backup at least ;)
Seichi has quit [(Quit: Konversation terminated!)]
<ronny>
but its a reasonable failsafe if you run out of time
<eacameron>
ronny: Yah, cept my Docker experience is much less than my nix experience...oddly enough.
<qknight>
eacameron: you can create your own fork of nixpkgs based on nixos 16.09 for instance and then just 'add' that php package back
<Sonarpulse-Work>
don't forget you can get hashes and things from old nixpkgs
<qknight>
eacameron: each time you do an update you have to rebase your stuff on top of the most recent 16.09 checkout
<eacameron>
Sonarpulse-Work: Expand on that a bit...
<Sonarpulse-Work>
the git history for nixpkgs goes back at least a decade
<ronny>
qknight: bad advice, it may be mroe sustainable to just set up some nix modules and expressions in a git repo
<qknight>
ronny: well, there are plenty of options
<eacameron>
qknight: Right. I could fork nixpkgs or just override stuff.
<eacameron>
or both!
<ronny>
continious rebase tends to be a really painfull one in any case where there will eventually be more than one computer
<ronny>
because unlike mercurial git does not have pushable rebases
<qknight>
ronny: for a single change you can always cherry-pick
<eacameron>
Sonarpulse-Work: So were you saying that I could just use an old nixpkgs? Or that I could copy/paste old derivations into the latest version and use them.
<ronny>
qknight: git simply has no sustainable solution for that, EOD
<Sonarpulse-Work>
eacameron: either, but I'd prefer the latter
<eacameron>
Sonarpulse-Work: SICK!
<Sonarpulse-Work>
:)
<Sonarpulse-Work>
thank goodness that's a recent commit
<eacameron>
Sonarpulse-Work: Yah I was just about to say that.
<Sonarpulse-Work>
no idea if there is a php2nix or anything like that, but if there is it may even still kinda work!
<eacameron>
Sonarpulse-Work: Yes I'll have to fiddle around with this. Fortunately this app is going to be replaced soon...I just suddenly have to start hosting it myself in the meantime.
<Sonarpulse-Work>
cool
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to master: https://git.io/v148k
<NixOS_GitHub>
nixpkgs/master c1d98d9 Frederik Rietdijk: buildPythonPackage: add configurePhase, fixes #20926...
<NixOS_GitHub>
nixpkgs/master 47d4575 Frederik Rietdijk: pythonPackages.setuptools: 28.8.0 -> 30.2.0
zagy has joined #nixos
<Sonarpulse-Work>
anyways yeah nixpkgs is a huge repo, in terms of number of commits, age of commits, and number of files
<Sonarpulse-Work>
I think of it is like the unintentional wikipedia of open source software development and administration
<eacameron>
Sonarpulse-Work: :(
kampfschlaefer has joined #nixos
<Sonarpulse-Work>
so, if you poke around in there, many hidden gems!
<Sonarpulse-Work>
hmm?
<eacameron>
Sonarpulse-Work: The wikipedia-ness of it... ;)
<Sonarpulse-Work>
oh
<Sonarpulse-Work>
i mean that in a good
<Sonarpulse-Work>
way
<eacameron>
Sonarpulse-Work: Oh...well then
<eacameron>
:)
<Sonarpulse-Work>
and intentional for us Nix users, unintentional for everyone else
<eacameron>
Sonarpulse-Work: Ohhh I see. Yes. That's awesome.
<NixOS_GitHub>
[nixpkgs] benley opened pull request #20928: minio: build on all 64bit platforms (master...minio-darwin) https://git.io/v1480
<eacameron>
Sonarpulse-Work: This continually annoys me but I'd love to just put that call to `generic` back in...but it's not exported anywhere. So I have to copy the entire file!
<Sonarpulse-Work>
eacameron: you know about <nixpkgs/foo/bar/baz> ?
<Sonarpulse-Work>
not sure that helps
<Sonarpulse-Work>
but can sometimes help with unexorted things
<eacameron>
Sonarpulse-Work: oh? I don't know about that...how does it work?
<Sonarpulse-Work>
so the "nixpkgs" in <nixpkgs> is....more or less... a directory on NIX_PATH
<Sonarpulse-Work>
<nixpkgs/foo/bar/baz> would be a relative directory from "nixpkgs"
<Sonarpulse-Work>
so you can snoop arbitrary files in the nix repo that way!
<eacameron>
Sonarpulse-Work: I see...Ah that's neat. Would that allow me to get to that "generic" expression somehow?
<Sonarpulse-Work>
let me see
<Sonarpulse-Work>
nope sorry
<Sonarpulse-Work>
generic is in a let
<Sonarpulse-Work>
yeah not in this case
<eacameron>
Sonarpulse-Work: :/ That's what I thought. I'll probably contribute a small refactor exposing it...
<Sonarpulse-Work>
welllll
bfrog_ has joined #nixos
<Sonarpulse-Work>
I guess something similar was done for ghcjs
<eacameron>
Sonarpulse-Work: Similar to what?
<Sonarpulse-Work>
exposing internals for one-off usecases :)
JagaJaga has joined #nixos
<eacameron>
Sonarpulse-Work: I see. Yah it seems like a good idea to at least *allow* people to touch the internals, especially if all you need is a version and a sha.
<Sonarpulse-Work>
eacameron: I guess for example I removed some deubbing stuff (that didn't work)
seanz has joined #nixos
<Sonarpulse-Work>
in a recently merged PR
<NixOS_GitHub>
[nixpkgs] benley pushed 2 new commits to master: https://git.io/v14Be
<NixOS_GitHub>
nixpkgs/master 0dbc1e4 Benjamin Staffin: minio: build on all 64bit platforms
<NixOS_GitHub>
nixpkgs/master c5eaf23 Benjamin Staffin: Merge pull request #20928 from benley/minio-darwin...
<Sonarpulse-Work>
it's all dead code in normal usage
<Sonarpulse-Work>
but anyone that is reading the code could be confused by the apparent extra complexity
<eacameron>
Sonarpulse-Work: Yah I wouldn't want dead code lying around just for the sake of one-offs. But if it's being used anyway...
<eacameron>
A general question: How do you folks "pin" deployments (e.g. with nixops) to a particular nixpkgs version. I'm afraid to update my channel lest I have to rebuild all my source and then test it again before the next deploy.
amarsman has joined #nixos
SovereignBleak_ is now known as SovereignBleak
ragge_ is now known as ragge
<eacameron>
Surely there's a way to set a particular project to use a specific version of nixpkgs.
sdemos_ is now known as sdemos
Tsutsukakushi has joined #nixos
joko has joined #nixos
<simpson>
eacameron: I have a clone of nixpkgs and I deploy from that. I use private branches to manage patchsets.
<eacameron>
But TBH I'd much rather not have to clone nixpkgs. I'd rather user "overridePackages" in my project and then pin it somehow.
<eacameron>
I suppose I could still use that to pin it.
<simpson>
eacameron: What's your plan for security patching?
<eacameron>
simpson: It's so advanced you wouldn't even understand it.
<eacameron>
Ahh. none.
<eacameron>
simpson: So I imagined that happening by updating the pin and then testing. Would that be much different from somehow merging in changes from upstream?
bret_ is now known as bret
<simpson>
eacameron: I guess that that's what you'd have to do.
<eacameron>
simpson: Is that much different from what you do with a clone?
Judson has joined #nixos
<simpson>
eacameron: Most of the time, I have *no* outstanding patchsets which differ from nixpkgs master, so I can just pull nixpkgs, deploy to my canary, and see what breaks.
<eacameron>
simpson: Lol...so that sounds like what I'd expect from my way.
<eacameron>
"my way" <- a way I haven't done yet
<eacameron>
My reason for not wanting a clone is that it feels much harder to discern what exactly is different between what I need and what is publicly available. I'd rather say "Heres' the public version I'm using...and here's what I had to change."
<eacameron>
I realize it's isomorphic to using a clone...but I just sense that it would be easier to read/grasp.
<simpson>
I dunno. I've intended from the beginning to contribute every one of my nixpkgs changes upstream.
<eacameron>
simpson: Ah...I see.
<eacameron>
simpson: That does make sense then..
<eacameron>
simpson: I guess I was imagining that it would be more config changes than meaningful contributions.
ryanartecona has quit [(Quit: ryanartecona)]
<eacameron>
simpson: Well thanks for pointing out -I nixpkgs and -I nixos
<eacameron>
That's certainly a step for me.
LuMint has joined #nixos
<eacameron>
So the next question is, nix-channel --list just says "nixpkgs https://nixos.org/channels/nixpkgs-unstable" How do I tell which version precisely I've been using?
zagy has quit [(Quit: Leaving.)]
amarsman has quit [(Ping timeout: 250 seconds)]
pi3r has joined #nixos
alphor_ is now known as alphor
redmq has joined #nixos
kanzure_ is now known as kanzure
stepcut has joined #nixos
stepcut_ has quit [(Ping timeout: 268 seconds)]
<x1n4u>
i ve got a problem, with nixos-rebuild missing a operand for readlink, could anyone help me ?
newhoggy2 has quit [(Remote host closed the connection)]
<octalsrc>
it built the ghcjs version dependancy library and put it in my nix store
<octalsrc>
but then the configure command says it couldn't find it
<octalsrc>
probably I'm doing something wrong here
<NixOS_GitHub>
[nixpkgs] loskutov opened pull request #20933: idea.datagrip: init at 2016.3 (master...datagrip) https://git.io/v1470
<octalsrc>
I have a shell.nix from cabal2nix with "ghcjsHEAD" in the compiler field
jgertm_ has joined #nixos
DavidEGr1yson is now known as DavidEGrayson
goibhniu has quit [(Ping timeout: 258 seconds)]
<adnelson>
hey guys, anyone familiar with how nix-store --restore works?
<adnelson>
I'm writing my own tool which fetches from a binary cache. When I fetch a .nar.xz, I decompress it and then pass the result into `nix-store --restore`. This exits successfully and creates the store path. However, if I subsequently do `nix-store -qR <path>` on the generated path, nix says it's invalid :(
cfricke has quit [(Quit: WeeChat 1.6)]
hiratara has quit [(Ping timeout: 258 seconds)]
JagaJaga has quit [(Ping timeout: 250 seconds)]
hiratara has joined #nixos
bfrog_ has quit [(Ping timeout: 268 seconds)]
danharaj has quit [(Quit: Leaving.)]
watersoul has quit [(Read error: Connection reset by peer)]
danharaj has joined #nixos
watersoul has joined #nixos
TroniQ89 has quit [(Ping timeout: 248 seconds)]
TroniQ89 has joined #nixos
newhoggy2 has joined #nixos
regnat[m] has joined #nixos
<adnelson>
rrrgh trying to trace logic through the libstore code... this is pretty not great
<adnelson>
so there's a function `addToStoreFromDump` which looks like what I want
<adnelson>
except that it doesn't seem to be accessible from the nix-store cli
<adnelson>
I don't understand why there's a --restore option in the cli but it only gets you "halfway there", it creates the path but doesn't register it...
<adnelson>
I mean I could go in and edit the sqlite database myself, lol. But that seems like a pretty terrible idea
LuMint has quit [(Remote host closed the connection)]
FRidh has quit [(Remote host closed the connection)]
maurer has quit [(Ping timeout: 248 seconds)]
<srhb>
adnelson: nix-store --register-validity --reregister I think. It's a bit arcane.
<srhb>
adnelson: Like, you cat the store path to it and terminate it with.. something
Seichi has joined #nixos
masia[m] has joined #nixos
SShrike has joined #nixos
bachp has joined #nixos
nhooyr has joined #nixos
jack[m] has joined #nixos
mythmon- has joined #nixos
zimbatm[m] has joined #nixos
M-wkennington has joined #nixos
flo[m] has joined #nixos
av[m] has joined #nixos
davidar has joined #nixos
Shell has joined #nixos
TimePath[m] has joined #nixos
primeos[m] has joined #nixos
ntninja has joined #nixos
MrAxilus[m] has joined #nixos
guanjian[m] has joined #nixos
M-roblabla has joined #nixos
org-rubo78[m] has joined #nixos
chexxor_web[m] has joined #nixos
Grill[m] has joined #nixos
bendlas has joined #nixos
musicmatze[m] has joined #nixos
M-Shrike has joined #nixos
M-jackal has joined #nixos
Kiko[m] has joined #nixos
prose[m] has joined #nixos
ArdaXi[m] has joined #nixos
unlmtd[m] has joined #nixos
rycee[m] has joined #nixos
offlinehacker[m] has joined #nixos
Guest37568 has joined #nixos
saintaquinas[m] has joined #nixos
aspiwack[m] has joined #nixos
icetan has joined #nixos
eqyiel[m] has joined #nixos
Ralith has joined #nixos
baldo[m] has joined #nixos
jcl[m] has joined #nixos
Yaniel has joined #nixos
M41px[m] has joined #nixos
M-manveru has joined #nixos
bennofs has joined #nixos
cornu has joined #nixos
danielrf[m] has joined #nixos
regnt[m] has joined #nixos
M-schneeflocke has joined #nixos
cinderfish[m] has joined #nixos
citizenziggy[m] has joined #nixos
M-appservice_irc has joined #nixos
<srhb>
I'm not sure it's a terribly good idea to do this though...
<NixOS_GitHub>
nixpkgs/master 452e498 Joachim F: Merge pull request #20930 from mayflower/sonarr_2.0.0.4409...
irctc739 has quit [(Ping timeout: 260 seconds)]
systemfault has joined #nixos
hiratara has quit [(Remote host closed the connection)]
hiratara has joined #nixos
newhoggy2 has quit [()]
newhoggy2 has joined #nixos
katyucha has quit [(Ping timeout: 256 seconds)]
stepcut has joined #nixos
goibhniu has joined #nixos
ebzzry has joined #nixos
vandenoever has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/v1BUe
<NixOS_GitHub>
nixpkgs/master f4fd467 Robert Helgesson: perl-Tk: 804.032_501 -> 804.033...
matthewb` has joined #nixos
matthewb` has quit [(Remote host closed the connection)]
<eacameron>
So I've basically copied the code for php70. But php70 in nixpkgs has "override" attribute, but mine doesn't.
<eacameron>
Do I need to do something to add that?
cpennington has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to release-16.09: https://git.io/v1BUD
<NixOS_GitHub>
nixpkgs/release-16.09 ff23681 Robert Helgesson: perl-Tk: 804.032_501 -> 804.033...
<anelson_>
srhb: hmm, ok yeah I can try that
<anelson_>
absolutely I would rather use import, but if I try to do that with a nar that I get from a nix binary cache, it tells me that it's in the wrong format... :(
<anelson_>
the issue is that the .nar's that binary caches generate are created with --dump instead of --export
<anelson_>
maybe there's an easy way to convert a --dump file into the format created by --export? I don't know
herzmeister has quit [(Quit: Leaving)]
herzmeister has joined #nixos
<NixOS_GitHub>
[nixpkgs] romildo opened pull request #20934: gnome-shell-extensions: enable all extensions (master...fix.gnome-shell-extensions) https://git.io/v1Bkb
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/v1Bkp
<NixOS_GitHub>
nixpkgs/master ee2d5e4 Franz Pletz: pythonPackages.django_1_6: 1.6.11 -> 1.6.11.5...
<NixOS_GitHub>
nixpkgs/master 601b47a Franz Pletz: pythonPackages.graphiteWeb: fix dependencies...
maurer has joined #nixos
mizu_no_oto has joined #nixos
<NixOS_GitHub>
[nixpkgs] montag451 opened pull request #20935: Add macvlan support for declarative container (master...container-macvlan) https://git.io/v1BIK
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to release-16.09: https://git.io/v1BIM
<NixOS_GitHub>
nixpkgs/release-16.09 1f1589e Franz Pletz: pythonPackages.django_1_6: 1.6.11 -> 1.6.11.5...
<NixOS_GitHub>
nixpkgs/release-16.09 2a97055 Franz Pletz: pythonPackages.graphiteWeb: fix dependencies...
<simpson>
fpletz: You're my hero.
rui has joined #nixos
<rui>
In configuration.nix, in a systemd service on a timer
<rui>
(hummm, nothing, I just got an idea)
octalsrc has quit [(Quit: WeeChat 1.6)]
agjacome has joined #nixos
<gchristensen>
simpson: fpletz is my hero, too. <3
<gchristensen>
what are people's favorite terminal emulators? I'm using terminator and find it fairly annoying.
<lassulus>
I'm using rxvt_unicode
<rui>
gchristensen: I use lilyterm, but I cannot defend why
<simpson>
I use sakura but not for any good reason.
<maurer>
I use rxvt_unicode, primarily to be able to click links with my keyboard
<lassulus>
termite also has keyboard selectable links
* gchristensen
will try these
<mudri>
VTE-based terminal emulators do colours of bold text wrong, which is my main reason for sticking to urxvt.
<maurer>
What I'd be especially interested in would be any terminal emulator scriptable in a more modern language than perl (urxvt is perl-plugins)
ryanartecona has quit [(Quit: ryanartecona)]
<maurer>
e.g. if someone knows something scriptable in haskell/python or something
jgertm_ has quit [(Ping timeout: 250 seconds)]
pstn has quit [(Remote host closed the connection)]
<gchristensen>
I wouldn't mind an iterm2 port to Linux, personally :)
earldouglas has left #nixos []
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
lfont[m] has joined #nixos
spacekit1eh has joined #nixos
spacekitteh has quit [(Ping timeout: 246 seconds)]
<fpletz>
simpson: gchristensen: thanks :)
<fpletz>
I've been using rxvt_unicode for ages but the version in nixpkgs I'm using needs a special terminfo, so when ssh'ing I need to set TERM to screen, xterm or whatever to get a working terminal \o/
<fpletz>
right now trying roxterm and sakura, but not particulary fond of the vte-based terminals :/