<nh2>
in the default mkDerivation, do built executables have any PATH set? In particular, do they have the `bin` of their own derivation set in their PATH?
<nh2>
if not, how can I achieve that e.g. `gluster` can simply itself, like `execv("gluster")` ?
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
takle has quit [(Remote host closed the connection)]
roconnor_ has quit [(Ping timeout: 260 seconds)]
mizu_no_oto has joined #nixos
ericsagnes has quit [(Ping timeout: 260 seconds)]
hellrazo1 has joined #nixos
matthewbauer has joined #nixos
hellrazor has quit [(Ping timeout: 264 seconds)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
eacameron has joined #nixos
johnsonav has quit [(Ping timeout: 246 seconds)]
ryanartecona has joined #nixos
lambdamu has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] spacekitteh opened pull request #25695: proofgeneral: update HEAD rev (master...patch-29) https://git.io/v9MDR
NixOS_GitHub has left #nixos []
takle has joined #nixos
lambdamu_ has quit [(Ping timeout: 240 seconds)]
<tilpner>
gchristensen - I fixed that part, I think I learned not to do PATH manipulation in activation scripts
<tilpner>
There's still a lot of weird things going on, I can't even do a clean reboot on 17.03
Wizek_ has quit [(Ping timeout: 260 seconds)]
<gchristensen>
tilpner: scary! :o
takle has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<tilpner>
Is there anyone who managed to get Nvidia Optimus running on 17.03? There's this long disappointing issue [ https://github.com/NixOS/nixpkgs/issues/24711 ], but maybe people who got it working wouldn't see that
mbrgm has quit [(Ping timeout: 240 seconds)]
mbrgm has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
derjohn_mobi has quit [(Ping timeout: 240 seconds)]
johnsonav has joined #nixos
pie_ has joined #nixos
matthewbauer has joined #nixos
takle has joined #nixos
matthewbauer has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Ping timeout: 260 seconds)]
_rht has joined #nixos
ambro718 has quit [(Ping timeout: 264 seconds)]
derjohn_mobi has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] aneeshusa opened pull request #25696: salt: Add minion service module (master...add-salt-minion-service) https://git.io/v9MS5
NixOS_GitHub has left #nixos []
justanotheruser has quit [(Ping timeout: 240 seconds)]
s33se_ has joined #nixos
s33se has quit [(Ping timeout: 268 seconds)]
nh2 has quit [(Ping timeout: 246 seconds)]
nh2 has joined #nixos
takle has joined #nixos
Wizek has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
sellout- has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
justanotheruser has joined #nixos
mtetreault has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
kykim has left #nixos ["ERC (IRC client for Emacs 25.1.1)"]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
<mtetreault>
Hi, I am trying to install androidenv in my nix config file using environment.systemPackages = with pkgs; [ androidenv ] .. which gives me "cannot coerce a set to a string...but if I try to install using nix-env -iA nixos.androidenv it works. I'm not sure to understand what's the difference between both approach. If anyone can help that would be appreciated :)
matthewbauer has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
lambdamu has quit [(Ping timeout: 240 seconds)]
lambdamu has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
zeus_ has joined #nixos
svij2 has quit [(Ping timeout: 272 seconds)]
nh2 has quit [(Quit: Leaving.)]
zeus_ has quit [(Ping timeout: 260 seconds)]
aneeshusa has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
ryantm has joined #nixos
eacameron has joined #nixos
Raimondi has quit [(Read error: Connection reset by peer)]
hexagoxel has joined #nixos
Raimondi has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
noam_ has joined #nixos
noam has quit [(Read error: Connection reset by peer)]
filterfish has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
Wizek has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
filterfish has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
zeus_ has joined #nixos
riclima has joined #nixos
matthewbauer has joined #nixos
filterfish has quit [(Ping timeout: 245 seconds)]
filterfish has joined #nixos
matthewbauer has quit [(Ping timeout: 268 seconds)]
systemfault has joined #nixos
systemfault has quit [(Max SendQ exceeded)]
systemfault has joined #nixos
takle has joined #nixos
ericsagnes has joined #nixos
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
ericsagnes has quit [(Ping timeout: 272 seconds)]
snikkers has quit [(Remote host closed the connection)]
takle has joined #nixos
aneeshusa has joined #nixos
takle has quit [(Ping timeout: 255 seconds)]
aneeshusa has quit [(Ping timeout: 255 seconds)]
simp__ has quit [(Quit: Connection closed for inactivity)]
marsel has joined #nixos
DIzFer has joined #nixos
DIzFer_ has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
alx741 has quit [(Quit: alx741)]
matthewbauer has joined #nixos
takle has quit [(Ping timeout: 272 seconds)]
Nycatelos has quit [(Ping timeout: 264 seconds)]
SuprDewd has quit [(Quit: No Ping reply in 180 seconds.)]
ryanartecona has quit [(Quit: ryanartecona)]
SuprDewd has joined #nixos
Nycatelos has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
marsel has quit [(Ping timeout: 272 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9Mbu
<NixOS_GitHub>
nixpkgs/master 97c613c Peter Hoeg: minikube: 0.18.0 -> 0.19.0
NixOS_GitHub has left #nixos []
matthewbauer has joined #nixos
systemfault has quit [(Quit: Bye!)]
marusich has joined #nixos
svij2 has joined #nixos
GlennS has quit [(Remote host closed the connection)]
GlennS has joined #nixos
martinklepsch has quit [(Ping timeout: 240 seconds)]
ericsagnes has joined #nixos
cartwright has quit [(Ping timeout: 255 seconds)]
BlessJah has quit [(Ping timeout: 255 seconds)]
BlessJah has joined #nixos
nslqqq has quit [(Ping timeout: 260 seconds)]
marusich has quit [(Quit: Leaving)]
cartwright has joined #nixos
martinklepsch has joined #nixos
takle has joined #nixos
marusich has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
ericsagnes has quit [(Ping timeout: 240 seconds)]
nslqqq has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9MAk
<NixOS_GitHub>
nixpkgs/master c684c0e Peter Hoeg: mu: add checkInputs
NixOS_GitHub has left #nixos []
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9MAO
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
johann__ has joined #nixos
bgamari has joined #nixos
steshaw_ has joined #nixos
steshaw_ is now known as steshaw
steshaw has quit [(Client Quit)]
steshaw has joined #nixos
matthewbauer has quit [(Remote host closed the connection)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
ertes-w has joined #nixos
aloiscochard has joined #nixos
Infinisil has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
Well, we have a teamviewer expression
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9Deq
<NixOS_GitHub>
nixpkgs/master fb0410c Sophie Taylor: proofgeneral: 2017-03-13 -> 2017-05-06 (#25695)
NixOS_GitHub has left #nixos []
<MichaelRaskin>
Jaakk0: and Oracle JDK etc.
hellrazo1 has quit [(Ping timeout: 260 seconds)]
jacob has joined #nixos
jacob is now known as Guest83037
<Jaakk0>
Ok, I am just thinking, if this is _the_ linux that could be used widely, and if I should install and try it. The other interesting linux is Gobolinux.
<LnL>
you have to patch the dependencies yourself including glibc
<LnL>
but it's pretty straight forward
<Jaakk0>
I think it would be nice, if NixOS packages could add also repositories automatically. (if it does not yet) So commercial companies could support their application dependencies.
takle has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/v9DvB
Guest39355 has quit [(Killed (hobana.freenode.net (Nickname regained by services)))]
Guest39355 has joined #nixos
Guest39355 is now known as jgertm
zeus_ has quit [(Ping timeout: 245 seconds)]
jgertm has quit [(Killed (orwell.freenode.net (Nickname regained by services)))]
Guest25781 has joined #nixos
Guest25781 is now known as jgertm
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg opened pull request #25697: kdeApplications.ktnef: init at 17.04.0 (master...p/ktnef) https://git.io/v9Dvp
NixOS_GitHub has left #nixos []
jgertm has quit [(Killed (hobana.freenode.net (Nickname regained by services)))]
takle has quit [(Ping timeout: 240 seconds)]
Guest15355 has joined #nixos
Guest15355 is now known as jgertm
jgertm has quit [(Killed (orwell.freenode.net (Nickname regained by services)))]
Guest1228 has joined #nixos
Guest1228 is now known as jgertm
jgertm is now known as Guest83712
Guest83712 has quit [(Killed (hobana.freenode.net (Nickname regained by services)))]
Guest83712 has joined #nixos
Guest83712 is now known as jgertm
jgertm is now known as Guest71495
Guest71495 has quit [(Killed (weber.freenode.net (Nickname regained by services)))]
Guest71495 has joined #nixos
Guest71495 is now known as jgertm
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9DfR
<NixOS_GitHub>
nixpkgs/master cd8088b Peter Hoeg: tnef: clean up
NixOS_GitHub has left #nixos []
<manveru>
tried packaging cockroachdb 1.0 yesterday... but couldn't get it to find some header of protobuf library :(
xadi has quit [(Ping timeout: 255 seconds)]
<manveru>
"pkg/storage/engine/db.cc:19:48: fatal error: google/protobuf/stubs/stringprintf.h: No such file or directory", i made a package for protobuf 3.3 and added it to the nix-shell, it's at /nix/store/v79sgz3c48gp8ksmr35r6j3s312vr71r-protobuf-v3.3.0-src/src/google/protobuf/stubs/stringprintf.h
<manveru>
it's used in the db.cc like "#include <google/protobuf/stubs/stringprintf.h>"
<manveru>
any clues how C++ finds its stuff?
MoreTea has quit [(Ping timeout: 260 seconds)]
guillaum2 has joined #nixos
Tucky has joined #nixos
bkchr has joined #nixos
marusich has quit [(Quit: Leaving)]
Mateon1 has quit [(Ping timeout: 240 seconds)]
Mateon1 has joined #nixos
takle has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9DJg
<NixOS_GitHub>
nixpkgs/master 2ef92f0 Peter Hoeg: fix build
<FRidh>
niksnut: is the following expected with fetchTarball with a sha256 and nix 1.12pre error: imported archive of ‘/nix/store/p76kkardbk3jynwpfih24np3l2pjcwyq-9c90ff7e7df9ceadc7335bb43cc67ba92e171d53.tar.gz’ lacks a signature
<niksnut>
don't think so
<niksnut>
can you make an issue?
_rht has quit [(Quit: Connection closed for inactivity)]
<nixy>
I wonder how many symbolic names actually have collisions in nixpkgs though
<FRidh>
nixy: likely only packages that are overridden. The larger package sets typically include some indicator of the set
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9DRa
<NixOS_GitHub>
nixpkgs/master 48192c6 Peter Hoeg: partition-manager: init at 3.0.1...
NixOS_GitHub has left #nixos []
<gchristensen>
nixy: hmm do you have a follow-up question like "why do we specify it twice" or something?
<nixy>
My main question here, which has been answered a bit, is why there doesn't seem to be consistency between the two names
DrWaste has joined #nixos
<gchristensen>
I think there are conventions in all-packages.nix that make it sometimes impossible
orivej has quit [(Ping timeout: 255 seconds)]
<gchristensen>
in the case of bashInteractive, it is called that because it is bash + the interactive flag
<gchristensen>
should we take that flag and add "interactive" to its name? maybe
<nixy>
Well in this case it calls appendToName to add interactive to the symbolic name, but this ends up with you having bashInteractive and bash-interactive
<nixy>
This leads to a bunch of confusion when interacting with packages using nix-env too
<gchristensen>
ah ha! now I see why you're interested in this
<magneticduck>
uff, I need some advice on my project
Infinisil has quit [(Ping timeout: 260 seconds)]
<tabaqui>
well, it is not working still
<tabaqui>
can I download AMI for nixos somewhere without amazon account?
<magneticduck>
I'm trying to use nix to make a "ricing" system of sorts, that lets users just specify what they want their wm / dm / terminal / etc to look like and have nix take care of the rest
<magneticduck>
I want this to work on distributions besides nixOS
<gchristensen>
nixy: good point & question. maybe open an issue? another thing is I recommend nix-env -iA, where the A makes it use the attribute nome
<gchristensen>
attribute name*
<tabaqui>
nixos/download.html provides GCE blob and VBOX images, but all EC2 by links
<gchristensen>
tabaqui: why would you?
<magneticduck>
I'm having a hard time figuring out what exactly it is I should target -- just generating an xinitrc file and hoping for the best means that a lot of Xorg configurion is out of my control
<nixy>
gchristensen: Yeah I prolly will. It has been discussed a bit before. The main thing stopping me from using -iA is that the package names given by -q are all symbolic
<tabaqui>
gchristensen: I want to deploy on other providers with amazon API
<tabaqui>
it support it, but all your scripts use hardcoded amazon urls
<magneticduck>
but it seems difficult and unreasonable to just clip off the portion of nixOS related to x11 and plopping that in a startup script ... right?
<gchristensen>
nixy: -qaP
<tabaqui>
I get access to provider's console, but cannot build and upload nixos ami
<nixy>
-qaP gets you both, which is usually fine but can be confusing when they different. I feel this is mostly a pain point for newer users tbh
<tabaqui>
btw, nixos has virtualiSation option, while it is virtualiZation
filterfish has quit [(Ping timeout: 245 seconds)]
<gchristensen>
nixy: I agree :)
<gchristensen>
tabaqui: virtualisation is a valid way to spell it
<tabaqui>
gchristensen: it comes from French, right?
<gchristensen>
tabaqui: anywho ... you could make your own AMI and upload it... what provider is this, out of curiosit?
<tabaqui>
croc.ru
<tabaqui>
I *can* build it with some hacks, but cannot upload
<magneticduck>
my question is -- what is a reasonable vector to configure all the x11 services with, that doesn't get in way of the user setting up their video drivers and adding options manually in /etc ?
<gchristensen>
what hacks, tabaqui?
<tabaqui>
because create-ami.sh works with amazonaws.com
<tabaqui>
boto/endpoints.json - added records "croc" : "cloud.croc..." into sections ec2 and s3
<tabaqui>
nixpkgs/scripts/create-amis.sh - remove "regions" and use "regions=croc"
<gchristensen>
this seems good
<tabaqui>
nixops/backends/ec2.py:306 - change time format from "%S.000Z" to "%SZ"
<gchristensen>
this is pretty advanced stuff, tabaqui, you might should contact their support to ask how to do this
<marc_>
garbas: I want to hack on qtile, which is the easiest way ? pypi1nix fails on cairocoffi, nix-shell -p pythonPackages... doesn't get dependencies ...
<tabaqui>
gchristensen: I'm not sure, they ever heard about Nix)
<gchristensen>
don't mention nix, just say you're trying to upload your own AMI
<tabaqui>
but I still have no AMI
<tabaqui>
I can upload .vhd and .iso using web interface
<tabaqui>
croc even agreed with .vhd file as new image, but it cannot boot
<tabaqui>
*these files
<gchristensen>
I don't know, then -- sorry
<gchristensen>
I'd say yes download our AMI but an AMI is just a VHD until it is uploaded to AWS
<tabaqui>
just VHD? looks like I should tune some options
<tabaqui>
dunno
<tabaqui>
thanks anyway
<gchristensen>
good luck :)
Wizek_ has quit [(Ping timeout: 260 seconds)]
<steveeJ>
sphalerite: hey, the cross-compiler method you have outlined a while ago has some serious drawbacks. I'm curious if you're aware of them or even expected that to be so. CC is set to the cross gcc and PATH contains cross-entries
faffolter has joined #nixos
<magneticduck>
when the nixOS modules are compiled along with a user configuration, the object that results contains a derivation -- system.build.toplevel -- with everything needed to activate and run the machine
takle has quit [(Remote host closed the connection)]
<magneticduck>
can anybody suggest an analogous target if I wanted to use nixos modules only to configure x11 on a arbitrary linux distro?
<clever>
magneticduck: this attribute will contain a perl script that runs the systemd unit without relying on systemd
<magneticduck>
wonderful
johann__ has quit [(Quit: Leaving.)]
<ikwildrpepper>
anyone in NYC next week btw, wanting to talk about NixOS, or just drink a (beer)?
mkoenig has quit [(Remote host closed the connection)]
orivej has joined #nixos
<gchristensen>
ikwildrpepper: how long will you be there?
<ikwildrpepper>
gchristensen: sunday-friday
eacameron has joined #nixos
<ikwildrpepper>
May 14-19
<ikwildrpepper>
gchristensen: are you anywhere near NYC?
<gchristensen>
ikwildrpepper: I like a ~2hr train ride north, and my job's HQ is in NYC... I was just there for my quarterly visit, but I'll see if I can arrange an extra couple days.
<gchristensen>
I live a*
bohan has joined #nixos
mkoenig has joined #nixos
eacameron has quit [(Remote host closed the connection)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 5 new commits to master: https://git.io/v9DaM
<NixOS_GitHub>
nix/master 6f245bf Eelco Dolstra: Change the meaning of info.ultimate...
<NixOS_GitHub>
nix/master 1a8e150 Eelco Dolstra: Don't allow untrusted users to set info.ultimate...
NixOS_GitHub has left #nixos []
<gchristensen>
ikwildrpepper: are you coming to visit a client?
philips has quit [()]
philips has joined #nixos
nh2 has joined #nixos
magneticduck has quit [(Quit: WeeChat 1.7.1)]
magneticduck has joined #nixos
<magneticduck>
clever: well it worked
<magneticduck>
but I wasn't able to use my keyboard, clearly more work needs to be done :p
<clever>
magneticduck: yeah, its unknown how much of it depends on things being in /etc or /run/current-system
<clever>
the xorg logs may say
<clever>
they probably went to stdout
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/v9DVQ
<NixOS_GitHub>
nixpkgs/master 18bad38 Frederik Rietdijk: pythonPackages.callPackage to make it easier to call expressions that take many python packages
NixOS_GitHub has left #nixos []
Infinisil has joined #nixos
<magneticduck>
funny story, I had to reboot because I couldn't even switch to a tty
<magneticduck>
where are the logs printed? they don't seem to be in /var/logs
<magneticduck>
uh /var/log that is
<clever>
the runner script just prints them to stdout/stderr
<clever>
so youll need to redirect it somewhere or run it over ssh
<clever>
it probably needs the pam modules in /etc/pam.d/
<clever>
for the login to work
<magneticduck>
are there any nixos-generated /etc files that I definitely shouldn't be linking?
<garbas>
marc_: you can not mix pythonPackage from nixpkgs and pypi2nix
<clever>
tricky question, you really need to strace the runner to see what its trying to read
<clever>
which needs some ssh access from a 2nd box
* magneticduck
checks the contents of system.activationScripts.etc
<marc_>
garbas I know, which is why I asked which is the best solution -> tell pypi to find pycairo stuff - hack nix-shell to include dependencies - maybe I missed an option.
<clever>
magneticduck: that just runs setup-etc.pl on the etc derivation
<clever>
magneticduck: which sets up symlinks in /etc for every enrivonment.etc entry
<magneticduck>
oh, then I'll check .. system.build.etc
<garbas>
marc_: ok, there is -E option which you can use to make some packages available during pypi2nix time
<garbas>
marc_: would some examples help you as well?
<marc_>
-E option is not an option because each time you use pycairo you need the same depednencies ..
<marc_>
So you're doing the same work over and over and over again.
<marc_>
What about outsourcing obivous C dependencies so that they can be shared for both tools?
<marc_>
pycairo requires pkgs.cairo as buildINputs -> pycairo in nixpkgks 'get-deps-for "pycairo", pycairo @ pyp2nix -> does the same. Done.
mkoenig has quit [(Remote host closed the connection)]
<marc_>
I want to say something is missing -> a package registry all packagers can use.
<magneticduck>
clever: I'm sort of considering just peeling off the x11 stuff from nixos and simplifying everything for my purposes
Infinisil has quit [(Quit: leaving)]
<magneticduck>
I wonder if that's "very hard"
freusque has joined #nixos
<marc_>
But -E worked kudos to garbas :-)
<marc_>
pycparser fails ..
<FRidh>
marc_: That's a topic that's looked into. In any case, this is why curated package sets exist. Even though there is nice tooling out there to automate, it doesn't catch everything. And "storing" such values you means you should also couple it to versions again.
<FRidh>
because such dependencies may change over time
Infinisil has joined #nixos
<garbas>
marc_: if you get stuck please create an issue and i'll look at it when i have some free time
<ikwildrpepper>
gchristensen: visiting the office of the company LB is now part of (Infor)
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/v9Doz
<NixOS_GitHub>
nixpkgs/master e281e59 Robert Helgesson: eclipse-plugin-autodetect-encoding: init at 1.8.3
NixOS_GitHub has left #nixos []
<magneticduck>
why is the `imports` module attribute not used in the nixos modules? just a standard to make modules easier to disable individually?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/v9Doi
<NixOS_GitHub>
nixpkgs/master 93f4755 Gabriel Ebner: cutegram: add missing qtwebkit dependency
NixOS_GitHub has left #nixos []
michas has joined #nixos
<gchristensen>
ikwildrpepper: cool, my HQ is nearby, by Broadway & E 21st St. Hardings is a nice bar, and there is a Cafe Grumpy near Infor with great coffee.
<ikwildrpepper>
Cafe Grumpy sounds like a place for me, they call me Mr Grumpy at work
chakerbenhamed has quit [(Ping timeout: 255 seconds)]
roconnor has joined #nixos
<sphalerite>
steveeJ: for CC being set to the cross compiler, yes, I'm aware of that and it's the correct behaviour. It's necessary for builders to work as normal. And PATH including the cross-derivations is potentially useful too IMO, as that allows scripts like sdl2-config to work (I think).
Infinisil has quit [(Ping timeout: 260 seconds)]
<qknight_>
clever: how to use a private git repo in hydra again?
<clever>
qknight_: is it a hydra input or a normal fetchgit?
<qknight_>
clever: not sure if you handed me an example the last time but we were speaking about it
<nh2>
FRidh: can I directly use the python wrapper functionality, for example the thing that sticks the path-setting header in front, as bash functions?
<clever>
qknight_: and you need to ensure that the ssh agent is running on the build slave that hydra tries to do the build on
statusfailed has quit [(Ping timeout: 272 seconds)]
statusfailed has joined #nixos
Infinisil has joined #nixos
lsyoyom has quit [(Ping timeout: 240 seconds)]
<qknight_>
clever: can't i just add a .ssh/config and .ssh/id_rsa for the hydra user or something?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/v9DXL
<NixOS_GitHub>
nixpkgs/master 641c411 Peter Hoeg: kdiff3: 2016-04-20 -> 2017-02-19
NixOS_GitHub has left #nixos []
<clever>
qknight_: fetchgit runs in a nix sandbox, so it cant use the stuff on the hydra user
<qknight_>
clever: i want hydra to checkout the repo all 60 seconds
<qknight_>
clever: makes sense
<clever>
qknight_: if hydra is doing the checkout itself (an input to hydra), then you can just run ssh-keygen as hydra
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nix] edolstra pushed 1 new commit to master: https://git.io/v9DXD
<NixOS_GitHub>
nix/master 510bc17 Eelco Dolstra: Add an option for extending the user agent header...
NixOS_GitHub has left #nixos []
<qknight_>
clever: yes, hydra does the checkout (for the input)
<clever>
in that case, you can just run ssh-keygen as the hydra user, not encrypt it, and put an ssh url into the hydra config
<sphalerite>
gchristensen: typo-wise, what actually happens to me more often due to the bug is that a letter gets repeated after the following one. e.g. git pupsh
<gchristensen>
same
marc_ has quit [(Remote host closed the connection)]
<koserge>
in my case, switching from 'master' to 'release-17.03' made 'nixops-deploy' bomb out with 'assert self.private_ipv4' being violated in the 'libvirtd' backend
revtintin has joined #nixos
<koserge>
'nixops-destroy' + 'nixops-create' fixed the situation, somewhat disturbingly
<tabaqui>
create-amis can build image with paravirtualization, but it fails with an error
sitwon has joined #nixos
derjohn_mobi has joined #nixos
dbmikus has joined #nixos
<FRidh>
nh2: the wrapPython package contains several shell functions. You can use them, but whether they work in your case is another question.
<sitwon>
I have the nix package manager installed on an Ubuntu system using the curl line from the website. I have installed docker with `nix-env -i docker`. How do I start the docker service?
<goibhniu1>
hi sitwon: I don't think you can run the docker service (or any NixOS services) with nix
goibhniu1 is now known as goibhniu
dridus has joined #nixos
<hyper_ch>
damn, now I have 1gbit at home but my router can't handle more than 320mbit
<nh2>
sitwon: but you might be able to invoke the docker daemon manually. For example, `dockerd -H fd://` on my system (as root)
<nh2>
hyper_ch: I can recommend you 2 routers that alleviate this problem. Do you live in Switzerland?
<sitwon>
goibhniu: are you saying I can't have the system run any services that were installed by nix? doesn't that sort of defeat the purpose of nix then?
<hyper_ch>
nh2: I do, why?
<goibhniu>
sitwon: yeah, nix can't manage system services or configuration outside of NixOS
<goibhniu>
sitwon: it's still great for installing software and development environments
<hyper_ch>
nh2: fiber7 recommends that one as well I think
<hyper_ch>
or maybe another ubiquity
<sitwon>
nh2: I got this error: no sockets found via socket activation: make sure the service was started by systemd
<nh2>
sitwon: goibhniu means you cannot use the convenient nixos service definitions (that configure systemd services) to run on Ubuntu. But you can still install the daemon software, and run it yourself, or via Ubuntu's init system
<nh2>
hyper_ch: The Erlite-3 is good, I have 2 of them. If you care about open-source a lot, you can also buy https://omnia.turris.cz/en/ which is probably even better. That router was crowdfunded and it is fully open-source and open-hardware (the Ubiquity is not, but it is 3x cheaper and has no wifi)
<hyper_ch>
ah, that's the one they recommended
<hyper_ch>
must have wifi
<hyper_ch>
:)
<nh2>
yes they newly recommend that. I would love to have one, but the price is still significant. I currently use the Erlite-3 and older Wifi routers behind it to get me wifi. If I want the full speed, I have to plug in the ethernet anyway
<sitwon>
I guess that's ok, it just seems like a pain in the rear to have no tooling to manage services installed by nix. Maybe systemd has that tooling and I'm just not familiar with it yet. It doesn't seem there's any way to tell systemd to look in a different directory for .service files, so I tried symlinking ~/.config/systemd/user -> ~/.nix-profile/etc/systemd/system and then starting it with `systemctl --user
<sitwon>
start docker`. That produces an error about 'Unit docker.socket not found.'
darlan has joined #nixos
<hyper_ch>
nh2: already sped up my asus... it had traffic analyzing enabled
snikkers has joined #nixos
<nh2>
sitwon: if you want to run dockerd, you most certainly have to run it as root, so putting things into ~ and using --user won't do for you
<sitwon>
If I were using NixOS, would I still have this issue or does it work more seamlessly on NixOS?
<nh2>
sitwon: on NixOS, you could use nix to configure the services
<nh2>
sitwon: If you want to try it, I recommend doing so in a VM
<nh2>
hyper_ch: looks like your Asus is already doing pretty well
<hyper_ch>
well, first I turned of qos
<hyper_ch>
now I turned of that traffic analyzer
<hyper_ch>
seems it kept track what used how much traffic
<hyper_ch>
and now I get those speeds
<hyper_ch>
I can life with them :)
<hyper_ch>
office needs now also to switch provider
<hyper_ch>
one problem I'm still facing is how to setup my static ipv6 /48 block
johnsonav has quit [(Ping timeout: 246 seconds)]
<clever>
sitwon: if your on nixos, you can just services.docker.enable = true; and it runs
pie_ has joined #nixos
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
riclima has joined #nixos
mw has quit [(Ping timeout: 240 seconds)]
<sitwon>
I'm guessing most people here are using the full NixOS stack and thus never have to deal with this issue
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<goibhniu>
sitwon: plenty of people also use nix on other systems ... just not for services
alx741 has joined #nixos
<magneticduck>
my lesson today is that half a nixos stack is hard to work with
johann__ has joined #nixos
pie_ has quit [(Quit: Leaving)]
pie_ has joined #nixos
<nh2>
sitwon: I also use nix on Ubuntu, don't use NixOS on my laptop
<goibhniu>
(but it sure would be awesome to be able to run nix managed services outside of NixOS!)
<sitwon>
goibhniu: but aren't services where the benefits of a functional package manager would matter the most? what other usecases do you find compelling for using nix over the system's package manager?
<goibhniu>
system rollbacks are also a killer feature for NixOS IMO
<nh2>
sitwon: there are many other things that nix does well, for example on my Ubuntu, I use it mainly for obtaining softwre that isn't available on Ubuntu (newer versions etc), and for developing sotware
<goibhniu>
sitwon: the reason I switched to nix (on debian at the time), was because I was sick of having to choose between having recent packages and a stable system
scott has quit [()]
<nh2>
hyper_ch: what's the problem with the IPv6?
scott has joined #nixos
<orbekk>
goibhniu: You can run NixOS in a container to get the benefits of services, etc.
<hyper_ch>
nh2: how to set it up :)
<sitwon>
is there a vagrant image for nixos?
magneticduck has quit [(Quit: WeeChat 1.7.1)]
<goibhniu>
orbekk: ah, that's a good idea
<gchristensen>
you can, orbekk?
* goibhniu
doesn't know anything about containers outside of nixos-containers >_<
marsel has quit [(Ping timeout: 240 seconds)]
<sitwon>
orbekk: do you mean using LXC?
<orbekk>
gchristensen: at least that's what I do... I have an lxc container with nixos
<orbekk>
sitwon: yes
erasmas has joined #nixos
<goibhniu>
is it hard to set up orbekk? ... or documented somewhere?
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
mw has joined #nixos
<ben>
are there derivations available for puppet?
<orbekk>
I followed the regular installation guide, but it's a while since I did it, and I had to tweak some things
<orbekk>
goibhniu: I'll try to see if I can reproduce my setup, and if it's successful I'll post an update to that issue
<goibhniu>
orbekk: nice! if you could add that to the manual or the nixos-users wiki that would also be excellent!
Infinisil has quit [(Quit: leaving)]
jabesed has joined #nixos
<nh2>
hyper_ch: I simply get my IPv6 via prefix delegation. My router automatically gets an IPv6 prefix from fiber7, and then my machines get addresses under that prefix from the router
<clever>
i do similiar, i have radvd running on my nixos box
<clever>
the router nixos box
<hyper_ch>
nh2: how to get ping6? nox couldn't find it
<orbekk>
How do you manage your multiple NixOS machines? Does anyone have a cool way to deploy a shared config to all your home machines?
<nh2>
orbekk: nixops can do that. You lose automatic security updates though
<nh2>
clever: "Dec 31 1969" - how does that work
<clever>
orbekk: currently, i have a /etc/nixos/nixcfg in git, configuration.nix just does imports = [ ./nixcfg/laptop.nix ]; and then laptop.nix imports ./core.nix and so on
<clever>
nh2: jan 1st 1970, minus your timezone offset
<orbekk>
nh2: Nixops looked a little overkill for a home environment, also does it work for laptops that are sometimes offline?
<nh2>
clever: interesting that it can do that subtraction
<clever>
orbekk: so desktop.nix does stuff for my desktop, laptop.nix does my laptop, router.nix does the router, and core.nix covers common things to all of them
<hyper_ch>
clever: I have iputils installed, but no ping6
<clever>
hyper_ch: that paste was from a nixos 16.03 netboot
<orbekk>
clever: How do you update it? Do you have to manually git pull?
<nh2>
orbekk: you can --include or --exclude machines that are offline. But I think clever's approach of having files that include each other and that you sync e.g. with git is probably better for personal machines
<clever>
orbekk: yeah, manual git pull/push to sync the machines up and nixos-rebuild
<nh2>
hyper_ch clever: I remember reading something about ping6 being moved to ping -6 but I don't remember where
<hyper_ch>
ok :)
<FRidh>
A bit annoying that you can put functions in buildInputs without Nix complaining.
<nh2>
FRidh: what happens when you do that?
<FRidh>
nh2: Nix just goes ahead with building, but your build will not happen correctly because the input you needed wasn't there
DIzFer has quit [(Remote host closed the connection)]
DIzFer has joined #nixos
riclima has joined #nixos
mpickering has quit [()]
mpickering has joined #nixos
dan_ has joined #nixos
drewr has joined #nixos
dan_ is now known as Guest31742
Guest31742 is now known as telent
<hyper_ch>
nh2: so, I do get ipv6 address on my notebook... but it seems no default route was added
<hyper_ch>
so I can't ping anything
<makefu>
hyper_ch: maybe it is a link-local address (fe80::) ?
<hyper_ch>
no idea
<hyper_ch>
shouldn't automagically default routes be added when using dhcp?
<orbekk>
I don't think he needs to set this up. From the screenshot it looks like RA is enabled on the LAN
stig has quit [()]
freusque has joined #nixos
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
stig has joined #nixos
Wizek_ has quit [(Ping timeout: 258 seconds)]
jsgrant_om has quit [(Quit: Peace Peeps. o/ If you need me asap, message me at msg(at)jsgrant.io & I'll try to get back to you within 24 hours.)]
jgertm has quit [(Ping timeout: 260 seconds)]
<nh2>
which was the option to build a package multiple times to check if it builds deterministically?
<gchristensen>
--check
<qknight_>
clever: i've done as you said but hydra won't checkout the git repo. as user hydra i can check it out using: git clone gitolite@gitolite_nixcloud:nixcloud-frontend
<clever>
qknight_: is the hydra gui public?
<qknight_>
clever: not sure how to tell hydra to make the checkout now, as nixcloud-frontend (input name) i've type: git checkout and value: gitolite@gitolite_nixcloud:nixcloud-frontend
<qknight_>
clever: but the error message is practically telling me nothing i can work with:
<clever>
qknight_: hmm, what does this say: journalctl -f -u hydra-evaluator
<qknight_>
command `nix-prefetch-git /var/lib/hydra/scm/git/7019c20b8a68adcb5a23c3dd8c677c69116a1cce00a55ff2660996959408d922 9498f5ca5faa2299fd23eac6d5ec3fbbe7383deb' failed with exit status 256 at /nix/store/ih4rcw7c9msfvfp8f8izjm56h8pmaizy-hydra-2017-04-26/libexec/hydra/lib/Hydra/Helper/Nix.pm line 425.
<nh2>
let's see, I haven't tried yet (I checked the man page on my nixos machine because on my ubuntu machine, where I want to do the --check build, `man nix-build` doesn't work)
<clever>
maybe older, not sure how to read the tag thing in github
<gchristensen>
huh... weird ...
<clever>
man pages are broken outside of nixos
<nh2>
clever: nix 1.11.9 is from 2014? does it make sense that my nixos 17.03 doesn't have that version then?
<clever>
nh2: id just try using it, chances are, its the man page thats wrong, not the version
<nh2>
clever: ah. You need to click the little triple-dot next to 1.11.9
<nh2>
then it shows all the tags that contain the version, not only the latest
<clever>
ah
<nh2>
(this is bad UX in my opinion, also recently lost me 30 minutes by confusing me)
<LnL>
pretty sure I've used --check before 1.11.4
<qknight_>
clever: May 11 15:10:14 hydra hydra-evaluator[1821]: error: getting status of ‘/nix/store/leaps’: No such file or directory <- why leaps?!
<nh2>
LnL: yes it's clarified now, it was the github tag display that confused us
<clever>
qknight_: that doesnt sound right, can you gist more of the log output, from the start of a clone to the end?
riclima has joined #nixos
<qknight_>
clever: yes
<qknight_>
clever: oh sorry, i got it now. that is the leaps library which is missing
<qknight_>
clever: thanks!
<dtzWill>
any reason I can't use a 16.03 install image to 'install' 17.03? Just replace the channel, hopefully? (lol I'm asking after having done so and wondering if this is something that should work in general, or maybe happens to work here, or won't work at all O:))
<qknight_>
clever: i think i just need to add it somehow
<dtzWill>
SSD died yesterday D:
<clever>
dtzWill: i would expect that to work
<dtzWill>
clever: awesome
<the-kenny>
dtzWill: works fine usually. I'm still on my very first NixOS install on this laptop, installed a few years go
<gchristensen>
dtzWill: in the configuration.nix, change the state version
<gchristensen>
to 17.03
<dtzWill>
so far it seems to be working great, which s pretty magical IMHO
<gchristensen>
dtzWill: and if you use kde, the 16.03 installer will have the wrong settings for 17.03
<nh2>
hmm, when trying to use --check I get: error: some outputs of ‘/nix/store/n14syzzjq5afa73lhbvj8aqg08ynj9gl-glusterfs-3.10.1.drv’ are not valid, so checking is not possible
<nh2>
without --check it builds fine
<dtzWill>
well I'm using an existing 17.03 config so hopefully none of that comes into play, but nope this guy's job is just to build things all day so no KDE :)
<dtzWill>
just ... wasn't sure if nixos-install tended to have some version-specific changes (minor or otherwise). anyway thanks ^_^
gridaphobe has quit [()]
gridaphobe has joined #nixos
<dtzWill>
haha nooooo "got unexpected path from substituter". Will trim config and investigate :3
ilyaigpetrov has joined #nixos
<nh2>
`--option build-repeat 10` seems to work when `--check` doesn't
<dtzWill>
nbd if have to install 16.03 then upgrade, just was hoping to avoid having to generate a suitable 16.03 config just to stage things O:).
<clever>
dtzWill: i tend to keep a full nixos install on a usb stick
<clever>
then i can just nix-channel --update and nixos-rebuild the usb stick to have an up to date install media
telent_net has joined #nixos
<dtzWill>
clever: that's startiing to sound like a grand idea
Itkovian has quit [(Ping timeout: 246 seconds)]
<clever>
you could also give it ssh keys to access the git repo you keep configuration.nix stuff in
<dtzWill>
clever: already got the usb stick, and my workflow currently is "git clone the config and then install" mostly lol so...
<dtzWill>
interesting: looks like that unexpected path was due to having an extra channel in my profile, cleaning that up seems to have resolved the issue :)
<clever>
nice
faffolter has quit [(Read error: Connection reset by peer)]
<sphalerite>
Why does X log to /var/log/... and not to the journal?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mizu_no_oto has joined #nixos
michas has quit [(Ping timeout: 260 seconds)]
<ToxicFrog>
sphalerite: xorg doesn't use the journal or even syslog, it just logs to a file/stdout; it's the job to whatever launches it (the display manager, startx, etc) to redirect that somewhere useful.
<DIzFer>
does anyone here have a link to a (working) example of a nixpkgs overlay specified in configuration.nix?
mizu_no_oto has quit [(Ping timeout: 240 seconds)]
<DIzFer>
both the declaration in conf.nix and the overlay's default.nix
<clever>
sphalerite: and in the case of nixos, systemd routes stdout/stderr to the journal by default
<DIzFer>
I can't get my stuff to work basing off the mozilla overlay
<sphalerite>
ToxicFrog: yes, I mean on nixos specifically though
<sphalerite>
clever: it does? I'm not seeing any X messages in the journal
<sphalerite>
Does it maybe depend on the display manager? I'm using lightdm
<gchristensen>
ToxicFrog: but it logs to /var/log/X.log?
<FRidh>
nh2: which version of the interpreter are you using?
<clever>
sphalerite: what unit did you filter the journal on?
<acowley>
Does anyone know of any work done to pull OctaveForge into nixpkgs?
<sphalerite>
clever: I didn't use a filter, just journalctl -b
<nh2>
FRidh: whatever is latest python2 in Nixos
<clever>
sphalerite: ah, it should be in "journalctl -u display-manager'
<FRidh>
nh2: ahh, but you don't use buildPythonPackage, right?
<nh2>
FRidh: right
<clever>
May 11 01:15:16 amd-nixos display-manager[5116]: X.Org X Server 1.19.3
<clever>
sphalerite: one of the first lines i see
<nh2>
FRidh: do pyc file store a date or something like that?
<sphalerite>
clever: nope, all it says there is "Starting X11 server..." and "Stopping X11 server..." and some messages from lightdm. Nothing from X though, that all goes to /var/log/X.0.log
<rcschm>
hi, is there any example in switching shell from bash to zsh using nix? i am not quite clear how this is done. basically, i would like to have oh-my-zsh as my default shell from running nix install. thanks.
<clever>
May 11 01:15:16 amd-nixos display-manager[5116]: (++) Log file: "/dev/null", Time: Thu May 11 01:15:16 2017
<gchristensen>
rcschm: nix-shell will only ever run bash, unless you manually call `zsh` inside of the nix-shell.
<FRidh>
nh2: yes, pyc is indeterministic. That's why we patched the interpreter to write deterministic header in case certain env variables are set
<clever>
sphalerite: nixos routed all logs to /dev/null on my instance of nixpkgs
<rcschm>
sphalerite: the script you sketched out for tmux plugins yesterday works like a charm.
<nh2>
FRidh: what env vars do I have to set to achieve that?
<clever>
sphalerite: yeah, looks like different config on your end
<FRidh>
nh2: DETERMINISTIC_BUILD and PYTHONHASHSEED
<rcschm>
is there an example to switch shell sphalerite:?
ryanartecona has joined #nixos
<FRidh>
nh2: interesting to see you're going so deep here
<sphalerite>
rcschm: just set the relevant setting in the config file (default-shell or seomthing like that)
ertes-w has quit [(Ping timeout: 240 seconds)]
<clever>
rcschm: part of the issue is that nix-shell pre-loads a large number of bash functions into the shell you get, and those likely wont work right with zsh
<rcschm>
i am using nixpgks and not nixos.
<rcschm>
oh.
<sphalerite>
rcschm: I mean in the tmux config file
<clever>
rcschm: so you would need to run nix-shell, use the bash functions, then manualy run zsh
<sphalerite>
oh, you mean the shell for nix-shell?
<rcschm>
let me check if we can just set it in tmux.
<rcschm>
no, not nix-shell.
<sphalerite>
Yeah that has to be bash basically.
<rcschm>
it would be good just for tmux.
<rcschm>
i use tmux for coding. so that should be gd for me.
<sphalerite>
clever: that's weird. I don't think I ever set it up to do that.
<rcschm>
sphalerite: ok got it
<rcschm>
i think i can just set the default shell in tmux.
<clever>
sphalerite: what does nixos-version say?
<rcschm>
tks.
xadi has joined #nixos
<nh2>
clever FRidh: thanks
<sphalerite>
clever: 17.03.git.e2127cc
<nh2>
FRidh: I guess that as soon as I run any python script, I must go that deep
<sphalerite>
clever: which is just the latest 17.03 with my nvidia-x11 update cherry-picked on
MoreTea has quit [(Ping timeout: 246 seconds)]
<nh2>
FRidh: I run gluster's Python scripts in postFixup with --help as a test to ensure that there are no import errors
mkoenig has joined #nixos
justelex_ has joined #nixos
<rcschm>
oh another question i have. how do we execute a bash shell that require sudo in nix? is there a way to do that?
<nh2>
FRidh: in general, is it a problem when I generate .pyc/.pyo files as part of my derivation, or is it good (because I assume Python can't write .pyc into /nix/store once building is done, so execution is also a bit faster this way)?
<clever>
rcschm: "sudo -i" will run a shell as root
<clever>
so you cant gc any input or output from that many evals
jabesed has quit [(Remote host closed the connection)]
<sphalerite>
clever: it seems to be lightdm that's messing around like this. Do you use a different display manager?
<clever>
sphalerite: slim works for me
<sphalerite>
oh yeah, I don't use slim because of its diverse weirdness and because I like being able to have multiple X sessions open
Wizek_ has joined #nixos
yurrriq has quit [()]
yurrriq has joined #nixos
jsgrant_om has joined #nixos
dridus has quit [(Quit: znc? wassat?)]
mizu_no_oto has joined #nixos
civodul has quit [(Remote host closed the connection)]
neeasade has quit [(Remote host closed the connection)]
ogkloo has quit [(Remote host closed the connection)]
<jsgrant_om>
Brought this up a month or two (or few) ago, but have totally forgot...; Is the RPi3 somefactor of supported or am I going to basically have to build everything if I want to get it going?
<jsgrant_om>
Comfortable enough now, me thinks, on my home-server & one of spare workstations -- that I want to start expanding; There used to be a RPi article on the wiki but since it shutdown -- not sure if it had any useful info; Since it was a wiki though, assuming very hit & miss docs.
<dtz>
qknight_: as for queued items, this might be fixed now but previously I had to specify build machines were valid for both 64bit and 32bit x86 in order to get things going; in my experience the queue-runner silently ignores jobs blocked that can't be scheduled to workers (there are issues describing this)
<dtz>
other thing to check is that your build machines claim to have the "features" that are used in various bits of nixpkgs
<dtz>
all that said, i'm recently having some problems with queue-runner stalling and doing nothing until I reset it; everything I said above is assuming that restarting the queue-runner doesn't fix things :)
riclima has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite>
jsgrant_om: I think the rpi stuff on the wiki was at least somewhat accurate. You could try looking at the wayback machine version of it
<jsgrant_om>
sphalerite: Oh! That's a good idea, ty.
Itkovian has joined #nixos
* jsgrant_om
will meander around somemore; As-long as I get it going by the end of the month, I'm happy.
johann__ has quit [(Quit: Leaving.)]
aloiscochard has quit [(Quit: Connection closed for inactivity)]
<jsgrant_om>
Yup, archive.org is great; Only two snapshots... but pretty dang recent. :^)
<maurer>
jsgrant_om: https://github.com/nixos-users/wiki/wiki Doesn't have the docs you want, but maybe try to add a summary of what you did if you get it to work
<maurer>
(so that others don't have to wayback)
snikkers has quit [(Ping timeout: 268 seconds)]
<nh2>
FRidh: OK, with those variables set my gluster builds deterministically
<jsgrant_om>
maurer: Yeah, if/when I decide to take the leap -- I'll either update there, official docs (if applicable) or blog or something.
<maurer>
I strongly reccomend either doing the official docs or a wiki
<maurer>
blog posts can't ever get updated by anyone who isn't you, and are a bit harder to find
<jsgrant_om>
Yeah, that's more likely anyways.
<maurer>
(you can do a blog on it _too_ if you feel like it, just saying that the number of times I've had to go through a random partially out of date blog post to figure out how to e.g. configure hydra is kinda silly)
<maurer>
The manual is ideal, but I certainly would understand not wanting to deal with docbook or pull requests
<judson>
Is there any chance of lethalman's Nix Pill series making its way into official docs?
<judson>
Obviously, first condition would be his interest.
endformationage has joined #nixos
* jsgrant_om
wonders if he could setup LUKS on an SD via RPi3 without tanking performance for videos.
<matthewbauer>
judson: might be a good idea. some of it is outdated though
<jsgrant_om>
Have relatively high-quality home-movies want to play on/from it; Out of habit though, I've some to encrypt even drives with trivial data on em'.
<clever>
jsgrant_om: have you heard about how SD cards have onboard crypto?
<judson>
Sure, but a lot of it covers stuff that doesn't get treatment elsewhere.
<judson>
Like the existence of derivation files.
<jsgrant_om>
clever: No?
<clever>
jsgrant_om: thats what the S in SD is for, secure digital
<maurer>
clever: That's how it started, but my understanding is that the onboard crypto is frequently left off in newer models
<maurer>
and that part of the spec just isn't implemented
<clever>
jsgrant_om: its not clear, but it may not even encrypt the data, it would be possible to implement it by just turning reads off until a password has been given
<clever>
jsgrant_om: biggest problem, is that the rpi boot rom must load bootcode.bin from the sd card, so it cant boot until a pw has been entered
justelex_ has quit [(Ping timeout: 240 seconds)]
svij2 has joined #nixos
ambro718 has quit [(Ping timeout: 272 seconds)]
griff_ has joined #nixos
<pingveno>
Should security.pki.certificateFiles be enough to get a cert into Java's cacerts file?
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] garbas pushed 1 new commit to master: https://git.io/v9yWV
matthewbauer has quit [(Ping timeout: 240 seconds)]
dridus has joined #nixos
nschoe has quit [(Quit: Program. Terminated.)]
revtintin has quit [(Ping timeout: 245 seconds)]
<jsgrant_om>
clever: Wonder how/why I haven't heard this implemented on other flash-media like SSDs.
revtintin has joined #nixos
<clever>
jsgrant_om: sata drives might have the old ata lock command, that can be accessed via hdparm i think, and some bios may prompt for it before starting the boot
digitus has joined #nixos
<clever>
but if you hack the hdd firmware, you can probably bypass that
ogkloo has joined #nixos
<jsgrant_om>
Also I guess normal software-encryption is somefactor of "good enough" to make modern solutions not 'that attractive' to persue.
<jsgrant_om>
Interesitng though, yeah, had no clue.
derjohn_mobi has quit [(Ping timeout: 260 seconds)]
MichaelRaskin has joined #nixos
judson has quit [(Remote host closed the connection)]
<jsgrant_om>
Know obviously about the "write lock" via the little switchs on em'. That's about it.
<clever>
qknight_: this tells it to gc every night at midnight, and to stop when it hits 20gig free
aneeshusa has joined #nixos
<clever>
qknight_: dates = "*:00:00"; would be hourly
fresheyeball has quit [(Quit: WeeChat 1.7.1)]
<Infinisil>
the strings "hourly" "daily", etc would work too btw
<clever>
yeah, not sure why i didnt use them here
fresheyeball has joined #nixos
michas has joined #nixos
Infinisil has quit [(Read error: Connection reset by peer)]
<fresheyeball>
clever: I restarted and now everything works again
<fresheyeball>
grr
<fresheyeball>
I feel like that is very un-nix
<clever>
yeah
<dhess>
I'm trying to deploy to an armv7l target with NixOps. Everything works great except that the kernel that gets built doesn't have modules for iptables or my USB Ethernet adapter. The kernel included with Dezgeg's .img works fine and has all the necessary modules.
<dhess>
Anyone seen something like this?
<dhess>
I've tried 4.10 and 4.11. Same result.
<dhess>
As far as I can tell my config isn't much different than the one Dezgeg recommends on the old "NixOS on ARM" wiki
<clever>
dhess: are they in the modules dir?
<Dezgeg>
is this 17.03 or unstable?
<dhess>
clever: No, they're not
<dhess>
Dezgeg: oh hi :) It's 17.03, I just switched my nixpkgs git submodule to use it
<dhess>
Dezgeg: should I switch to unstable?
<Dezgeg>
yes I think most of the drivers are in unstable only
<dhess>
Dezgeg: ahh, interesting. I didn't know that. Thanks.
<dhess>
Dezgeg: I don't need anything special in my boot.initrd.availableKernelModules, right?
<dhess>
(I don't see anything there for the install .img)
<Dezgeg>
shouldn't need
<dhess>
Dezgeg: sweet, thanks. Everything else is working really well, thanks for all you effot.
<dhess>
effort
<dhess>
Dezgeg: How's the aarch64 build? I'd like to try to get it working on my new Jetson TX1 dev board soon.
<dhess>
Dezgeg: and can aarch64 build for armv7l targets?
<simpson>
Dezgeg: Status report: My RPi 1 is almost finished with its first $(nixos-rebuild switch), after which point I presume that the binary caches will help a lot. I've documented my steps.
griff_ has joined #nixos
<dhess>
Dezgeg: cool thanks!
<dhess>
Man, this Jetson TK1 is fast for an armv7l platform, but these NixOps deploys take sooooooo looooooooong
<clever>
simpson: the rpi1 is armv6, so the v7 cache wont help
<simpson>
clever: Oh well.
<simpson>
As I get my little fleet of ARM boards up and running, I'm writing docs, and I'm also hoping that I can eventually have some/all of them doing Hydra work.
mudri has joined #nixos
dridus has joined #nixos
<clever>
simpson: the rpi2 can run v6 and v7 code, and the rpi3 can do all of v6/v7/aarch64
<dhess>
I noticed that support for a "scaleway" arch hit Nix master a few days ago. It's defined as an ARMv7 minus Neon. I assume that means it's not able to build for vanilla armv7l, either?
<clever>
simpson: so rpi3's in a cluster would give the best arch coverage
<dhess>
because it would be tempting to build a Hydra from those.
<clever>
but a different arm board may be faster or have more ram
<Dezgeg>
no I think vanilla nixos armv7l works on scaleway
<dhess>
Dezgeg: huh, interesting.
michas_ has joined #nixos
<dhess>
So why the new arch, then?
hotfuzz has quit [(Ping timeout: 240 seconds)]
<Dezgeg>
I think the person who added it wanted exact fpu flags to match the cpu or something
hotfuzz has joined #nixos
<Dezgeg>
(it has 16 fpu regs more than the vanilla or something)
<dhess>
damned ARM variants
<dhess>
what a mess
michas has quit [(Ping timeout: 240 seconds)]
jsgrant_om has quit [(Quit: Peace Peeps. o/ If you need me asap, message me at msg(at)jsgrant.io & I'll try to get back to you within 24 hours.)]
Infinisil has joined #nixos
jsgrant_om has joined #nixos
<aneeshusa>
I have some RPis I want to try NixOS on but last I remember the docs were on the old wiki - have they been moved somewhere else now?
<dhess>
aneeshusa: unfortunately the wiki has been shut down. You have to use archive.org now.
<dhess>
Speaking of Scaleway, has anyone here successfully used nixos-infect or similar to install NixOS on one of their C1 (ARM) servers?
<simpson>
aneeshusa: I am working on writing new docs but I am verifying each step as I do it, and RPi is not exactly a speed demon, so...
<aneeshusa>
simpson: Either one works for me, I'll be waiting :) Thanks in advance
pikajude has joined #nixos
<dhess>
NickHu: brilliant, thank you
<gchristensen>
dhess: I've created an iPXE image to use on armv8, what is the C1?
<NickHu>
I don't know if the same applies for their bare-metal offerings, but unless you want ARM for some special reason, even the lower spec x86 offerings are better
marc_ has joined #nixos
<dhess>
NickHu: Oh, yeah, I need this for the C1 ARM servers
<NickHu>
Also be mindful of the timeout
<dhess>
gchristensen: C1 is ARMv7
<gchristensen>
dhess: gotcha packet.net has official support for nixos on armv8, but they're substantially more powerful (and costly) than the C1
<NickHu>
Have been away for a while, what happened with the wiki?
<dhess>
gchristensen: yeah a) I would love to use those but wow, expensive and b) until armv8 can cross-build for armv7 (see my question to Dezgeg earlier) it doesn't help me. I'm solely targeting armv7 for now.
<gchristensen>
understandable
<dhess>
gchristensen: but as soon as they can cross-build, I'm all over them. Worth it for the faster build times. ARMv7 builds are painful.
<gchristensen>
yeah ... understood. need different ARM chips for cross though
cpennington has quit [(Ping timeout: 240 seconds)]
simukis_ has joined #nixos
takle has quit [(Remote host closed the connection)]
ryanartecona has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] utdemir opened pull request #25719: Set clac.meta.platforms to "unix" instead of "linux" (master...master) https://git.io/v9Snd
NixOS_GitHub has left #nixos []
aneeshusa has quit [(Ping timeout: 240 seconds)]
jgertm has quit [(Ping timeout: 260 seconds)]
derjohn_mobi has joined #nixos
NixOS_GitHub has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/v9SWk
<NixOS_GitHub>
nixpkgs/master aa858b9 Utku Demir: Set clac.meta.platforms to "unix" instead of "linux"