<dmj`>
wow, that file (hackage-packages.nix) is 7.42MB ?
T_S_ has joined #nixos
matthewbauer has joined #nixos
<gchristensen>
I mean graphmod is on line 78,000 :P
<T_S_>
I am running nixos on a server in my home. I want to get a remote desktop connection from my laptop. Hunting for the best solution. Any recommendations?
Unode has quit [(Remote host closed the connection)]
Unode has joined #nixos
alanz has joined #nixos
<gchristensen>
mm looks like the signature needs to be fetchurl'd with a sha
icetan has quit [(Ping timeout: 245 seconds)]
icetan has joined #nixos
lewo has quit [(Ping timeout: 245 seconds)]
lewo has joined #nixos
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
eacameron has quit [(Ping timeout: 240 seconds)]
eacamero_ has joined #nixos
eacamero_ has quit [(Ping timeout: 255 seconds)]
mbrgm has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
tnks has joined #nixos
<tnks>
I know about the list appending operator (++). Is there no "cons" operator or builtin?
mizu_no_oto has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
mizu_no_oto has quit [(Client Quit)]
<gchristensen>
what is cons?
<tnks>
in the Lisp sense, like to "construct" a new list by putting an element on the head of another one.
<tnks>
gchristensen: (unless you're just trolling me)
<gchristensen>
I'm not, sorry
<simpson>
tnks: I bet that there's a bunch of useful tools in the nixpkgs library.
<simpson>
tnks: But no, there's no operator or builtin for cons.
* gchristensen
is not much of a functional programmer
Lowl3v3l has quit [(Remote host closed the connection)]
<simpson>
gchristensen: It's Lisp specifically.
<gchristensen>
oh, well, same ;)
<gchristensen>
sometimes I feel a bit like a fraud not being a functional programmer, being so excited about nixos
<simpson>
Nonsense. I spend most of my time in object-based languages and there's nothing wrong with Nix.
takle has joined #nixos
<simpson>
Well, aside from the things that are wrong with it~
<gchristensen>
hehe
<Rotaerk>
hmm I have a nix derivation function that, given a file path, can transform the provided file into something else, dropping the result into the store. in most usages, the input is something already in the store, such as something fetched from git...
<Rotaerk>
but I want to apply it to a file that's side-by-side with my nix file
<Rotaerk>
but I can't pass it a relative path, and even if I provide it the absolute path of that file, it can't access it (I guess the nix service is trying to access my home)
<Rotaerk>
how do I get that file into the store for the sake of being accessible?
<Rotaerk>
builtins.fetchurl "file:///home/rotaerk/blah" seems to work, but I'd prefer a relative path if possible
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<pikajude>
i recall seeing a nix option that will make the builder just print derivation names and build steps, but not all the log output
<pikajude>
but i can't find it now
<pikajude>
does anybody know what i'm talking about
<AtnNn>
taktoa: the README mentions that it is a drop-in replacement for gcc, it should be easy to switch i nfor gcc in the default stdenv
mguentner2 has joined #nixos
<taktoa>
AtnNn: yeah, I have a good idea of what would be involved, I just don't have the time to do it, so I figured I'd at least let people know about the idea
<AtnNn>
pikajude: I thinks it's nix-build -Q
<AtnNn>
taktoa: do you know what kind of performance games it gives? And if it slows down compilation a lot?
mguentner has quit [(Ping timeout: 240 seconds)]
Fare has left #nixos ["Leaving"]
<taktoa>
AtnNn: no, I haven't tried it, though it would definitely depend on the architecture. compilation is probably within a factor of 4 of normal speed. there are reasons to do this other than speed though; you could write an LLVM pass that randomly permutes instructions and basic blocks, which would result in a kind of extremely fine-grained ASLR that doesn't lose out on memory caching benefits (because it's boot-time rather than
<taktoa>
application-start-time)
proteusguy has quit [(Ping timeout: 255 seconds)]
zraexy has joined #nixos
uralbash has joined #nixos
tilo has joined #nixos
<tilo>
Hi, thank for this great distro, tried it today.
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMWyp
<NixOS_GitHub>
nixpkgs/master 917e67f Franz Pletz: Merge pull request #21754 from mayflower/sonarr_4472...
<tilo>
One question: Tried to install google-chrome, but couldn't find it using nix-env -qaP. But it seems to exist in nixpkgs/pkgs/applications/networking/browsers/google-chrome. I'm not sure why it shows up in the packages but not using nix-env. Now I try to install chromium, but it builds from source, which probably takes ages on my old laptop. Any idea how to install google-chrome? Thank you.
<Ralith>
`nix-env -qaP '.*google-chrome.*'` returns three different packages for me
takle has quit [(Read error: Connection reset by peer)]
<Ralith>
oh, you probably have unfree packages turned off
systemfault has joined #nixos
<Ralith>
add `allowUnfree = true;` to ~/.nixpkgs/config.nix
<tilo>
Thanks a lot, I will give it a try.
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMWS1
<NixOS_GitHub>
nixpkgs/master 1603526 Joris Guyonvarch: xrectsel: init at 0.3.2 (#21153)
<Ralith>
kind of a user-hostile default
wedens has quit [(Quit: WeeChat 1.6)]
wedens has joined #nixos
Havvy has joined #nixos
glines has quit [(Ping timeout: 240 seconds)]
proteusguy has joined #nixos
<tilo>
Hmm, I get "error: No Chrome plugins are available for your architecture." after nixos-rebuild switch on a i686 GNU/Linux. Guess it's not supported anymore ...
nslqqq has left #nixos []
<unlmtd[m]>
Ralith: Idealism is crippling
<NixOS_GitHub>
[nixpkgs] copumpkin closed pull request #21703: httpd module: don't create documentRoot directory if it doesn't exist (master...httpd-no-mkdir) https://git.io/vMZKE
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vMW9z
<NixOS_GitHub>
nixpkgs/master a4fca56 Svein Ove Aas: ddclient: Write /etc/ddclient.conf when requested...
<NixOS_GitHub>
nixpkgs/master 1753d8c Franz Pletz: irssi: 0.8.21 -> 1.0.0
tnks has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMW9P
phanimahesh has quit [(Ping timeout: 245 seconds)]
wkennington has joined #nixos
khebbie has joined #nixos
_c_ has left #nixos ["-"]
khebbie has quit [(Client Quit)]
i_rony has joined #nixos
_c_ has joined #nixos
siarheit_ has joined #nixos
thc202 has joined #nixos
phanimah1sh has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 245 seconds)]
rly has joined #nixos
zraexy has quit [(Ping timeout: 240 seconds)]
ixxie has joined #nixos
ethanoatetint has joined #nixos
jgertm_ has joined #nixos
jgertm has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
jgertm_ is now known as jgertm
ckauhaus has joined #nixos
civodul has joined #nixos
tvon has quit [(Quit: System is sleeping...)]
sboosali has joined #nixos
Itkovian has joined #nixos
rly has quit [(Ping timeout: 260 seconds)]
chimay has joined #nixos
pi3r has joined #nixos
FRidh has joined #nixos
phanimahesh has joined #nixos
sboosali has quit [(Ping timeout: 240 seconds)]
jgertm- has joined #nixos
sboosali has joined #nixos
rly has joined #nixos
fritschy has joined #nixos
rly has quit [(Ping timeout: 248 seconds)]
ckauhaus has quit [(Quit: Leaving.)]
matthewbauer has joined #nixos
womfoo has quit [(Remote host closed the connection)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
<ixxie>
Hmmm, it seems commenting on an issue in github doesn't make it float up on the feel; how can I draw attention to https://github.com/NixOS/nixpkgs/issues/14318 to people working on xserver stuff?
mkoenig has quit [(Ping timeout: 240 seconds)]
teknico has joined #nixos
mkoenig has joined #nixos
<Ralith>
find who they are and ping them
tg has joined #nixos
jgertm has quit [(Ping timeout: 260 seconds)]
rly has joined #nixos
T_S_ has quit [(Ping timeout: 260 seconds)]
sboosali has quit [(Remote host closed the connection)]
_c_ has left #nixos ["-"]
sboosali has joined #nixos
<ixxie>
Ralith: cheers, I gave it a go.
ambro718 has joined #nixos
xadi has quit [(Quit: Leaving.)]
pi3r has quit [(Ping timeout: 240 seconds)]
<LnL>
ixxie: yeah, there's currently no good way to get notified about issues
<Ralith>
though if you reply to a thread someone's participated in, they'll get pinged automatically...
<LnL>
yes ofcorse, but there's no way for me to get notified about new darwin issues for example
<LnL>
I have to look for those myself, and contributers can't assign labels so I can't use those to filter reliably either
<ixxie>
I manually pinged @them as Ralith suggested
<NixOS_GitHub>
[nixpkgs] gebner pushed 1 new commit to master: https://git.io/vMWA7
<NixOS_GitHub>
nixpkgs/master 14a35a5 Gabriel Ebner: remmina: fix missing gsettings schemas
<ixxie>
I also tried to guess based on the commit history who might be a person to ping about the issue who wasn't on the thread
<ixxie>
meh
bin7me has joined #nixos
ambro718 has quit [(Ping timeout: 240 seconds)]
<Ralith>
at a certain point you just have to roll up your sleeves and start fixing bugs yourself
MarcelineVQ has quit [(Ping timeout: 240 seconds)]
<Ralith>
you may find that a pull request gets more response than a bug report
johann__ has joined #nixos
<LnL>
we have a bot that mentions people that previously worked on the files
<ixxie>
Ralith: I would love to do that, but I don't even know where to start. As far as I can tell this is something deep in xserver, and I never made a single PR for anything, let alone nix
<ixxie>
Ralith: I was hoping to talk someone familiar with xserver for a little coaching, that way I could try and hunt the bug myself and learn about the process
<taktoa>
ixxie: I guess you should go out on the mean streets of #nixos with a sign that reads "will apprentice for knowledge" :P
<taktoa>
ixxie: IME you get much better luck if you ask questions during the most active hours
<ixxie>
thats what I have been doing for like 6 months
drp has joined #nixos
goibhniu has joined #nixos
MarcelineVQ has joined #nixos
<LnL>
yeah It's usually a bit more quite around this time
<siarheit_>
i'd like to create a local package from a new source tarball without cloning nixpkgs. where is the most natural place to put it? ~/.nixpkgs/config,nix?
<LnL>
that's where nix-env will look for it by default
<LnL>
everything else will use NIX_PATH, so for those things it doesn't matter where you put it
<LnL>
and you can force nix-env to use NIX_PATH instead of ~/.nix-defexpr if you use nix-env -f '<nixpkgs>'
<taktoa>
ixxie: one thing I recommend is getting really good with git, grep, sed, tr, awk etc. to the extent that you can answer complicated questions about the history of a given file, files containing a certain pattern, etc.
mkoenig has quit [(Remote host closed the connection)]
<taktoa>
that *really* helps when trying to figure things out in a codebase
<LnL>
siarheit_: err I didn't read your question right, yes config.nix with packageOverrides
<Ralith>
ixxie: well, it's all open source, so if all else fails you can start with the bad behavior and trace it backwards
<siarheit_>
LnL, aha, thanks!
<Ralith>
working from first principles this can be a bit of a huge undertaking but at least it lets you make progress
<LnL>
siarheit_: or nixpkgs.config.packageOverrides in the nixos configuration if it's for nixos-rebuild
<x1n4u>
moin, does somebody else had problems with vagrant on nixos, that vagrant hangs on nfs mount
<taktoa>
oh, also, strace/gdb are really useful
<Ralith>
strace is wonderful
<Ralith>
especially with suitable filtering
<taktoa>
I've been meaning to look into sysdig as well
<ixxie>
taktoa: I have been learning those tools, but never thought to use them for that, so thanks for the tip ^^
<taktoa>
np :)
<ixxie>
Ralith: indeed, I have been trying to do so, but as I said - I think guidance of someone more expirienced could save a lot of my time for little of theirs.
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 3 new commits to master: https://git.io/vMWpF
<NixOS_GitHub>
nixpkgs/master 157b216 Will Dietz: elfutils: 0.165 -> 0.168
<NixOS_GitHub>
nixpkgs/master 2afcf34 Will Dietz: elfutils: Update website and URL to new sourceware location.
<NixOS_GitHub>
nixpkgs/master 370d94c Michael Raskin: Merge pull request #21758 from dtzWill/update/elfutils...
<x1n4u>
ok, nevermind needed to configure my firewall settings
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMWhI
<NixOS_GitHub>
nixpkgs/master 64e4b7a Josef Kemetmueller: grib-api: 1.14.4 -> 1.19.0...
<NixOS_GitHub>
nixpkgs/master 9b00d43 Michael Raskin: Merge pull request #21750 from knedlsepp/fix-grib-problems...
matthewbauer has joined #nixos
<taktoa>
impromptu survey: how do you all pronounce "systemctl"? someone infected me with a mindvirus (that I am about to spread to you) that causes me to pronounce it as "system-cuddle"
<ixxie>
system control?
<taktoa>
"system control" makes sense, but is kind of ambiguous
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMWhs
<NixOS_GitHub>
nixpkgs/master 8205358 Michael Raskin: Merge pull request #21765 from taku0/inkscape-0.92...
ilja_kuklic has joined #nixos
<LnL>
I usually just call it systemd, the systemctl command is the cli client
<taktoa>
LnL: okay, what do you call "machinectl" then?
<drp>
probably would've been semantically superior to call it systemdctl
jgertm has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c closed pull request #21724: gtest, gmock: fix broken package by updating to 1.8.0. (master...pullrequest) https://git.io/vMcsb
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMWhl
<NixOS_GitHub>
nixpkgs/master f935115 Ioannis Koutras: qtpass: 1.1.4 -> 1.1.6
<NixOS_GitHub>
nixpkgs/master d750321 Michael Raskin: Merge pull request #21723 from jokogr/u/qtpass-1.1.6...
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMWh4
<NixOS_GitHub>
nixpkgs/master 712e62c Sebastian Hagen: nixos/stage2: Check for each special mount individually and mount missing ones. (#21370)
matthewbauer has quit [(Ping timeout: 240 seconds)]
<taktoa>
it would be interesting to look at the nixos hydra server data and try to compute the average optimal time to update the stable channel (or a hypothetical "quasistable" channel)
<taktoa>
like do some machine learning on commit messages
<ixxie>
taktoa: that would be cool, I wonder what kind of databases are already there and who has access to them
Taneb has left #nixos ["Leaving"]
<taktoa>
I think there is some work going on to expose hydra data via a RESTful json interface
<ixxie>
taktoa: I wonder if this sysdig would work for NixOS out of the box
<taktoa>
lol, I'm actually looking into that right now
Rotaerk has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to release-16.09: https://git.io/vMleb
<NixOS_GitHub>
nixpkgs/release-16.09 41ebe91 Ioannis Koutras: syncthing-gtk: 0.6.3 -> 0.9.2.3...
<NixOS_GitHub>
nixpkgs/release-16.09 c2e1b9c Michael Raskin: Merge pull request #21721 from jokogr/u/syncthing-gtk-for-16.09...
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMlvf
<manveru>
not sure if the curl error has anything to do with it
<manveru>
s/curl/certificate/
<rsa>
very recently i got "curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)"
ilja_kuklic has joined #nixos
<rsa>
seems to work now
<manveru>
i even pass --fallback but it's not working :(
<drp>
does libvirtd nixops work for containers? I am looking at setting up an email server and one of the packages requires debian/ubuntu, I was considering putting that into its own container instead of a vm
<goibhniu>
drp yep, you can deploy to NixOS containers with NixOps
<manveru>
hm, gonna try updating my nixpkgs fork, but for some reason the build works on my machine but fails on our CI
civodul` has joined #nixos
civodul` has quit [(Remote host closed the connection)]
ilja_kuklic has quit [(Ping timeout: 248 seconds)]
civodul has quit [(Ping timeout: 240 seconds)]
<ixxie>
is there a builtin for passing a set to every element of a list (of imports)
ilja_kuklic has joined #nixos
<LnL>
manveru: do you have cacert installed?
<manveru>
it fails downloading cacert already
<drp>
goibhniu but those are nixos, not ubuntu, correct? from what I can see libvirt only uses kvm and doesn't yet have container support in nixops
<drp>
(also thanks for responding)
<manveru>
LnL: i think that must be the issue
<manveru>
it's a docker container based on yours, but i modified it over time, something must've gone wrong there :)
<LnL>
make sure cacert is installed and SSL_CERT_FILE is set
ilja_kuklic has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] fpletz closed pull request #21747: xfce.mousepad: use keyfile instead of gconf (master...define-MOUSEPAD_SETTINGS_KEYFILE_BACKEND) https://git.io/vMCX5
<LnL>
cool to hear that somebody is using that :)
<manveru>
we use it as build servers for our docker images :)
<manveru>
since our jenkins slaves are wiped every day... we have separate VMs so we can keep the binary cache around
<goibhniu>
drp: yep, that's to deploy to a NixOS container on a NixOS machine. I'm afraid I don't fully understand the connection with libvirt. You can't deploy to Ubuntu using NixOps, unless you're talking about deploying to a NixOS vm which is running on Ubuntu?
<LnL>
interresting!
<goibhniu>
drp Disnix lets you deploy nix stuff to other platforms
johann__ has quit [(Remote host closed the connection)]
<drp>
goibhniu, my idea was to kinda follow the docker way and create a .nix file to stage a different container for each service on the same machine, nixos containers for smtp, imap and postgres, but sogo requires ubuntu, so I thought I could use lxc to pull an ubuntu image and make it execute a script to hook up to the rest of the containers
dgn has joined #nixos
<LnL>
froxx: what do you want to do with it, install with nix-env?
<manveru>
jup, that fixed it, awesome :)
<froxx>
LnL: yes
<LnL>
I should improve it sometime to make it easier to update the image, it's a bit of a pain at the moment
Guest9368 is now known as Nycatelos
<offlinehacker[m]>
drp: docker-compose? I mean you can generate it with nix.
<goibhniu>
drp hrm, I wonder if runInLinuxVM helps?
<drp>
offlinehacker[m], sure I could just do docker-compose for the whole thing, but then I'm depriving myself of learning nix, plus I personally dislike dockers workflow
matthewbauer has joined #nixos
<drp>
goibhniu, from what I can see yeah I can totally use a VM, I just wanted to get in on the container train
<offlinehacker[m]>
drp: you can use buildDockerImage nix function to build images, them have a bootstrap script that imports these images and docker-compose to start everything
takle has quit [(Read error: Connection reset by peer)]
wkennington has quit [(Read error: Connection reset by peer)]
<froxx>
LnL: will that procude one of those strange result symlinks?
<LnL>
no nix-build creates result symlinks
<drp>
offlinehacker[m], thanks, but I will use a vm as a fallback before converting it all to docker
<LnL>
this just installs git-lfs using the latest definitions from nixpkgs master
<offlinehacker[m]>
drp: you can also mount nix store into docker containers and use docker-compose well compose everything
takle has joined #nixos
Ivanych has quit [(Ping timeout: 240 seconds)]
matthewbauer has quit [(Ping timeout: 248 seconds)]
<drp>
offlinehacker[m] aren't I defeating the purpose of nix then?, wouldn't I just be better off running docker-compose with stock ubuntu images?
systemfault has joined #nixos
Ivanych has joined #nixos
feepo has quit [(Quit: Connection closed for inactivity)]
<offlinehacker[m]>
drp: why? You build docker compose file with nix, which generates it in a such way that it mounts nix store(or for a sake of security you can mount exact nix store outputs) and run your command as init from nix store.
<offlinehacker[m]>
By nix store outputs I mean closure of a package you want to run
<drp>
because then I've just put myself into the docker workflow with the added hook of having created unique images instead of just adding say, the postgres image and ubuntu image
<goibhniu>
drp I guess another option is to package sogo for NixOS ... it would also be a useful learning experience
<LnL>
offlinehacker[m]: that looks interresting
<drp>
offlinehacker[m], hey thanks for the link I will look at it
armin has quit [(Quit: relate to the matter as i drop the bomb)]
<drp>
goibhniu, you have too much faith in random internet people, I am a sysadmin, I heavily doubt I have the skills to package extremely complex groupware
<goibhniu>
drp :D ... well, I just had a look at the compilation instructions, it *might* be easy enough ... and the rest is configuration
<offlinehacker[m]>
LnL: drp: I was using it for some time for my dev environments, works fine, but everytime I needed to add some packages I had to restart container, which was kinda annoying, so I switched to nixos provisioned VMS(virtualbox)+xpra
<goibhniu>
drp: I bet they just enable debug in the example because they assume you'd compile it for the sake of doing development ... so, you can surely disable it
xadi has joined #nixos
<drp>
goibhniu, I will try, I will be flabbergasted if turning off debug breaks it
<LnL>
siarheit_: great!
cpennington has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
<LnL>
manveru: nix supports extra store paths with NIX_OTHER_STORES=/run/nix/remote-stores/*/nix
<manveru>
hmm, that's good to know
<LnL>
it works like nix-copy-closure, but using a local mount
_rht has joined #nixos
<manveru>
and GC won't touch it?
cko has joined #nixos
systemfault has quit [(Quit: Bye!)]
xadi has quit [(Quit: Leaving.)]
ertesx has joined #nixos
vozz is now known as Guest64085
mudri has quit [(Ping timeout: 256 seconds)]
ertes has quit [(Ping timeout: 258 seconds)]
ertesx is now known as ertes
proteusguy has quit [(Ping timeout: 240 seconds)]
avn has quit [(Ping timeout: 268 seconds)]
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vMlYa
<NixOS_GitHub>
nixpkgs/master 5b4906a Michael Raskin: nim: 0.15.2 -> 0.16.0
vozz has joined #nixos
* goibhniu
notices 15 people are going to the NixOS meetup in Dublin next week \o/
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vMlZK
<NixOS_GitHub>
nixpkgs/master f1b8c3b Peter Hoeg: pulseaudio nixos module: use the units provided by upstream (#21633)...
<wangoe>
ls
uralbash has quit [(Quit: Leaving.)]
<gchristensen>
Dezgeg: I'd put a $20 USD bounty on making an updater for each of imagemagick, graphicsmagick, and gstreamer :D
<dweller>
avn: kernel commandline
<dweller>
or extraModprobeConfig, but that didnt worked for me
Shou has quit [(Ping timeout: 258 seconds)]
<avn>
dweller: zfs.zfs_arc_max?
ThatDocsLady has quit [(Ping timeout: 248 seconds)]
<dweller>
yes
<dweller>
for ex "zfs.zfs_arc_max=2147483648" if you want arc to take 2gb of ram
sdothum has joined #nixos
<avn>
dweller: yep, exactly what I added ;) I still have plenty of other FS until finish migration, so they fight for cache ;)
abcrawf has quit [(Remote host closed the connection)]
ckauhaus has joined #nixos
abcrawf has joined #nixos
<LnL>
gchristensen: could you test nix-copy-closure with 1.11.4
katyucha_ has joined #nixos
katyucha has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
derjohn_mob has quit [(Ping timeout: 240 seconds)]
katyucha_ has joined #nixos
<gchristensen>
LnL: yeah, I'll be going to my desk with that machine in about 45 minutes
<gchristensen>
adding gpg support to nixpkgs is not easy btw :P
<gchristensen>
soliciting feedback from #gnupg I got poo-poo'd on a keychain in nixpkgs, though I'm not sure they really understand the flexibility that nix provides
<manveru>
what's their objection?
<gchristensen>
I'll explain in a minute
ethanoatetint has quit [(Read error: Connection reset by peer)]
ThatDocsLady has joined #nixos
<avn>
gchristensen: you want to add mandratory commit signing?
<LnL>
no it's for the fetch* stuff
xadi has joined #nixos
ethanoatetint has joined #nixos
regnat_ has joined #nixos
<gchristensen>
they assume mutable state, so we'd have to trust old keys a long time to support old packages
<gchristensen>
but that isn't true, if you check out an old package it'll use an old keyring obviously :P
<avn>
gchristensen: may be writting standalove signatures validator will be easier idea, than adapt gpg with all keyrings and other stuff?
<avn>
s/standalove/standalone/
<gchristensen>
I have a working prototype
civodul has joined #nixos
<gchristensen>
src = verifySignature { src = fetchurl, signature = fetchurl, keyring = keyrings.emacs; }; this was easy enough
<gchristensen>
keyrings.emacs = { fingerprints = ["...", "...", "..." ]; sha256 = "..." (sha256 because we need to download their keys) }
MoreTea has joined #nixos
<MoreTea>
hi
<MoreTea>
I'm trying to import a nixos module from github
<MoreTea>
It works perfectly fine if I import it from the filesystem, but {config,pkgs, ...}: let my_mod = fetchurl { ... }; in { imports = [./hwconfig.nix my_mod]; .... } results in infinite recursion
<gchristensen>
LnL, manveru, avn "I'm sticking to maintainer responsibility to verify and distribution responsible for own distribution as the only sane model"
<gchristensen>
so in this case each person bumping a package would be responsible for having a good trust path to the maintainer of each package they update
<gchristensen>
which is ideal but I'm not sure it is feasible
<LnL>
yeah, that makes sense
Wizek has joined #nixos
matthewbauer has joined #nixos
Wizek_ has joined #nixos
eacameron has joined #nixos
Shou has joined #nixos
matthewbauer has quit [(Ping timeout: 258 seconds)]
<manveru>
hmm, for the crystal language, if you try to `require "yaml"` and libyaml isn't in the build env, it will fail... should we add it as a dependency to the language itself, given that it's in the stdlib?
mudri has joined #nixos
<the-kenny>
manveru: If it's in the stdlib I'm inclined to say "yes"
latk has joined #nixos
<manveru>
i'll play around a bit and try to write a shards2nix to package crystal apps easily and see what else might be missing
ThatDocsLady has quit [(Ping timeout: 258 seconds)]
derjohn_mob has joined #nixos
<gchristensen>
LnL: can you send me a test?
pi3r has quit [(Ping timeout: 256 seconds)]
<LnL>
what do you mean?
<gchristensen>
LnL: like how should I test copy closure?
<gchristensen>
(I have 1.11.4)
michas has joined #nixos
Rotaerk_ has joined #nixos
<ixxie>
The manual says that "config is the result of combining the configurations returned by every module" - so I would read that as saying that if my configuration.nix imports two modules, those modules have access to eachother via config even if they don't import eachother directly?
<LnL>
gchristensen: nix-store -r /nix/store/3ybz6mfwdpn7hwwz6vk4rs85xjfpjsl5-hello-2.10 on another machine and nix-copy-closure --from <host> /nix/store/3ybz6mfwdpn7hwwz6vk4rs85xjfpjsl5-hello-2.10
<manveru>
anyone know how to use nix-prefetch-git with tags?
<gchristensen>
LnL: are you having issues with this?
<gchristensen>
manveru: refs/tag/v1.0.0 (or refs/tags/v1.0.0? or something? try different pluralizations)
<gchristensen>
ixxie: yeah
<LnL>
yes, with 1.11.5 + daemon
<manveru>
thanks, was missing the refs/ part
<gchristensen>
hrmmm this also means I need to have ssh open on one machine, right?
Rotaerk has quit [(Ping timeout: 240 seconds)]
<ixxie>
gchristensen: so that must mean nix loads them recursively?
<gchristensen>
I don't know, as far as I know it is magic
<ixxie>
heh alright
<gchristensen>
!seen kmicu
<gchristensen>
hrm..
<gchristensen>
[0__0]: seen kmicu?
<[0__0]>
Yes, I saw kmicu 5 days ago.
<[0__0]>
kmicu said: "gchristensen: ah, that chapter is not updated since 1.6 with ‘Nix now has proper integer arithmetic operators. For instance, you can write x + y instead of builtins.add x y, or x < y instead of builtins.lessThan x y. The comparison operators also work on strings.’."
<siarheit_>
http://dpaste.com/21HDT0R.txt - this is a configuration-ghc-7.10.x.nix bug, right? Should it not be caught by <something-something-CI>?
zagy has quit [(Quit: Leaving.)]
cjhowe has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 7 new commits to master: https://git.io/vMl0Y
<NixOS_GitHub>
nixpkgs/master 39e8eaf Robin Gloster: prometheus module: add nginxExporter
matthewbauer has quit [(Ping timeout: 248 seconds)]
systemfault has quit [(Client Quit)]
k2s has joined #nixos
<roundhouse>
hi guys, i have 2 pc's running nixos and a slow internet connection. I'd like to use "13.3. Serving a Nix store via SSH" from the manual. Is it possible to fix this in my config.nix so that it is used when nixos-rebuild switch --upgrade?
_rht has quit [(Quit: Connection closed for inactivity)]
<LnL>
roundhouse: you can use a machine running nix-serve as a binary cache, or you can just nix-copy-closure --from <host> /nix/store/...
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<sphalerite>
I've created a nixos AMI instance, but have no idea what the username is for logging into it... Can anyone help?
<LnL>
I think it's ec2-user
<sphalerite>
Tried that
<sphalerite>
still get a password prompt
<roundhouse>
LnL: Thanks, but both these options seem manual. Ideally I'd like to set the other computer as a binary server once and be done with it
k2s has quit [(Ping timeout: 256 seconds)]
<gchristensen>
sphalerite: you log in as `root` and the SSH key is configured via the SSH key you setup to start with
<sphalerite>
tried that too :/
<gchristensen>
perhaps you're using the wrong ssh key
<LnL>
roundhouse: either use nix.distributedBuilds and nix.buildMachines or run nix-serve on one machine and add it to nix.binaryCaches on the other
<ikwildrpepper>
sphalerite: wrt: nixos ami's, you should use root as user, and it will use the ssh key (ec2 key pair) that you specified on the start
<sphalerite>
gchristensen: it definitely offers the key I want it to offer, I'd like to check that it matches the one on AWS... but ssh-add -l outputs the fingerprints in a different format from the one shown on the EC2 control panel
<sphalerite>
do you know how to get the colon-separated hex format from ssh-add? >.>
Lowl3v3l has quit [(Ping timeout: 260 seconds)]
Mercuria1Alchemi has quit [(Remote host closed the connection)]
<roundhouse>
LnL: Thanks
<gchristensen>
I don't, sorry
<gchristensen>
sphalerite: you could create a new ssh keypair on aws and create a new nixos machine with that keypair
<dtzWill>
can you not set it up to use the other host with the ssh substituter (re:roundhouse's question)?
<LnL>
roundhouse: cool thing about the ditributed builds is that you can use both machines to compile a bunxh of stuff
sellout- has quit [(Quit: Leaving.)]
<dtzWill>
yeah if that's a choice, distributedBuilds is neat
zagy has joined #nixos
<dtzWill>
ah, ssh-substituter-hosts=, dunno if that'll work with nixos-rebuild but seems like it might :)
ixxie has quit [(Ping timeout: 260 seconds)]
<sphalerite>
looks like I do have the wrong key :(
cko has quit [(Quit: Verlassend)]
<sphalerite>
yep, imported the one I had and it works
teknico1 has joined #nixos
olejorgenb has quit [(Read error: Connection reset by peer)]
teknico has quit [(Ping timeout: 256 seconds)]
roundhouse has quit [(Ping timeout: 256 seconds)]
Rotaerk_ has quit [(Quit: Leaving)]
truh has joined #nixos
olejorgenb has joined #nixos
<dtzWill>
ssh substituter stuff works nicely in situations where you're running Nix on top of other things
glines has joined #nixos
<sphalerite>
It is possible to safely switch out the nix store on a running system? i.e. mount /dev/sdxy /mnt ; rsync -a /nix/store /mnt/ ; mount --bind /mnt /nix/store
teknico has joined #nixos
teknico1 has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
erasmas has joined #nixos
<globin>
/q ikwildrpepper
<globin>
whoops %)
<gchristensen>
globin: at least you left out your super secret message :)
justbeingglad has joined #nixos
justbeingglad has left #nixos []
danieli_ is now known as danieli
danieli has quit [(Changing host)]
danieli has joined #nixos
peti has quit [(Ping timeout: 248 seconds)]
zagy has quit [(Read error: Connection reset by peer)]
peti has joined #nixos
matthewbauer has joined #nixos
fpletz has quit [(Ping timeout: 240 seconds)]
sellout- has joined #nixos
matthewbauer has quit [(Ping timeout: 256 seconds)]
<exi>
do we have any kind of authority here that can tell me what is/is not acceptable for the rust nightly?
<exi>
the current nightly can only be build with the nightly cargo and rustc :/
<exi>
so i'm now building rustNighly by using rustNightlyBin as the rustPlatform
<exi>
which feels wrong on many levels
<exi>
but then again, we cannot even bootstrap stable rust without binary download so this might be the best we can hope for
<exi>
cstrahan: ^
<exi>
globin: you are a maintainer of this house of card? opinions?
ixxie has joined #nixos
roundhouse has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
Yaniel has quit [(Remote host closed the connection)]
musicmatze[m] has quit [(Remote host closed the connection)]
M-wkennington has quit [(Remote host closed the connection)]
Shell has quit [(Remote host closed the connection)]
regnat[m] has quit [(Remote host closed the connection)]
Kiko[m] has quit [(Remote host closed the connection)]
mythmon- has quit [(Remote host closed the connection)]
bachp has quit [(Remote host closed the connection)]
nhooyr has quit [(Remote host closed the connection)]
dtz has quit [(Read error: Connection reset by peer)]
jack[m] has quit [(Write error: Connection reset by peer)]
offlinehacker[m] has quit [(Remote host closed the connection)]
cinderfish[m] has quit [(Remote host closed the connection)]
eqyiel[m] has quit [(Write error: Connection reset by peer)]
Guest27041 has quit [(Write error: Connection reset by peer)]
rsynnest[m] has quit [(Write error: Connection reset by peer)]
herzmeister[m] has quit [(Read error: Connection reset by peer)]
rycee[m] has quit [(Write error: Connection reset by peer)]
zimbatm[m] has quit [(Write error: Connection reset by peer)]
baldo[m] has quit [(Write error: Connection reset by peer)]
icetan has quit [(Write error: Connection reset by peer)]
bzf[m] has quit [(Write error: Connection reset by peer)]
av[m] has quit [(Write error: Connection reset by peer)]
masia[m] has quit [(Write error: Connection reset by peer)]
bendlas has quit [(Write error: Connection reset by peer)]
ArdaXi[m] has quit [(Write error: Connection reset by peer)]
M41px[m] has quit [(Write error: Connection reset by peer)]
org-rubo78[m] has quit [(Write error: Broken pipe)]
prose[m] has quit [(Write error: Connection reset by peer)]
M-schneeflocke has quit [(Write error: Connection reset by peer)]
regnt[m] has quit [(Write error: Connection reset by peer)]
cornu has quit [(Write error: Connection reset by peer)]
saintaquinas[m] has quit [(Write error: Connection reset by peer)]
M-Shrike has quit [(Write error: Broken pipe)]
MrAxilus[m] has quit [(Write error: Connection reset by peer)]
davidar has quit [(Write error: Connection reset by peer)]
M-Rym has quit [(Write error: Broken pipe)]
lfont[m] has quit [(Write error: Connection reset by peer)]
jcl[m] has quit [(Write error: Connection reset by peer)]
unlmtd[m] has quit [(Write error: Connection reset by peer)]
chexxor_web[m] has quit [(Write error: Broken pipe)]
bennofs_matrix has quit [(Write error: Connection reset by peer)]
primeos[m] has quit [(Write error: Connection reset by peer)]
citizenziggy[m] has quit [(Write error: Connection reset by peer)]
M-roblabla has quit [(Write error: Connection reset by peer)]
Ralith has quit [(Write error: Connection reset by peer)]
ntninja has quit [(Write error: Connection reset by peer)]
M-manveru has quit [(Write error: Connection reset by peer)]
guanjian[m] has quit [(Write error: Connection reset by peer)]
SShrike has quit [(Write error: Broken pipe)]
M-appservice_irc has quit [(Write error: Connection reset by peer)]
M-jackal has quit [(Write error: Broken pipe)]
aspiwack[m] has quit [(Write error: Broken pipe)]
mindB has quit [(Write error: Broken pipe)]
<exi>
okay
bin7me has quit [(Remote host closed the connection)]
zagy has joined #nixos
digitalmentat has joined #nixos
systemfault has quit [(Quit: Bye!)]
matthewbauer has joined #nixos
mrkgnao has joined #nixos
<mrkgnao>
is locate not working a common problem?
derjohn_mob has joined #nixos
zagy has quit [(Quit: Leaving.)]
matthewbauer has quit [(Ping timeout: 260 seconds)]
<ToxicFrog>
mrkgnao: "not working" in which sense? (but also, yes)
<ToxicFrog>
If you want periodic updating of the locatedb, you need to set services.locate.enable = true and also run updatedb manually at least once for some reason
<ToxicFrog>
Or at least, that's what I had to do to get it working
tvon has joined #nixos
tvon has quit [(Client Quit)]
<cstrahan>
exi: I'm about to board a flight; feel free to open a github issue (or PR, if you think you're just about ready) and cc me there. I'll look at it later tonight.
<globin>
exi: I didn't do much related to rust packaging itself, only bumped the version a few times, but generally I'm not opposed as long as it works
<cstrahan>
Same here.
<ToxicFrog>
At a guess (I haven't dug into this extensively), it's because the unit file refers to /var/cache and that directory may not exist before the first updatedb run.
rly has quit [(Ping timeout: 240 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
cinderfish[m] has joined #nixos
roundhouse has quit [(Ping timeout: 256 seconds)]
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
jgertm has quit [(Ping timeout: 248 seconds)]
georges-duperon has joined #nixos
xadi has joined #nixos
fritschy has quit [(Quit: Leaving.)]
teknico has left #nixos []
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMldc
<Nafai>
simpson: Nice graphs. I think Prometheus has potential
<simpson>
Nafai: I didn't understand before, but scraping is asymmetric, and IMO the direction that Prometheus goes is just better than collectd/graphite/etc.
* Nafai
nods
<simpson>
Mostly because of composition. You can have Prometheus metamonitoring by just setting up more Prometheus boxes. This is also how you add more Prometheus capacity. No changes required to the machines in production.
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to master: https://git.io/vMlbU
<NixOS_GitHub>
nixpkgs/master 464c79e Domen Kožar: turtle_1_3_0: fix build
ryantrinkle has quit [(Ping timeout: 240 seconds)]
derjohn_mob has quit [(Ping timeout: 256 seconds)]
ckauhaus has quit [(Quit: Leaving.)]
ryanartecona has quit [(Quit: ryanartecona)]
goibhniu has quit [(Ping timeout: 240 seconds)]
ronny has quit [(Ping timeout: 240 seconds)]
M41px[m] has joined #nixos
jcl[m] has joined #nixos
herzmeister[m] has joined #nixos
M-manveru has joined #nixos
jack[m] has joined #nixos
primeos[m] has joined #nixos
bachp has joined #nixos
Yaniel has joined #nixos
Kiko[m] has joined #nixos
MrAxilus[m] has joined #nixos
M-Rym has joined #nixos
regnt[m] has joined #nixos
org-rubo78[m] has joined #nixos
ntninja has joined #nixos
guanjian[m] has joined #nixos
eqyiel[m] has joined #nixos
M-roblabla has joined #nixos
citizenziggy[m] has joined #nixos
mindB has joined #nixos
SShrike has joined #nixos
unlmtd[m] has joined #nixos
aspiwack[m] has joined #nixos
ArdaXi[m] has joined #nixos
cornu has joined #nixos
rycee[m] has joined #nixos
bzf[m] has joined #nixos
icetan has joined #nixos
offlinehacker[m] has joined #nixos
prose[m] has joined #nixos
M-appservice_irc has joined #nixos
masia[m] has joined #nixos
bennofs_matrix has joined #nixos
M-jackal has joined #nixos
bendlas has joined #nixos
chexxor_web[m] has joined #nixos
M-Shrike has joined #nixos
regnat[m] has joined #nixos
davidar has joined #nixos
M-schneeflocke has joined #nixos
matthewbauer has joined #nixos
baldo[m] has joined #nixos
nhooyr has joined #nixos
mythmon- has joined #nixos
Shell has joined #nixos
rsynnest[m]2 has joined #nixos
M-wkennington has joined #nixos
av[m] has joined #nixos
saintaquinas[m] has joined #nixos
Ralith has joined #nixos
zimbatm[m] has joined #nixos
scott has joined #nixos
musicmatze[m] has joined #nixos
lfont[m] has joined #nixos
dtz has joined #nixos
xadi has joined #nixos
matthewbauer has quit [(Ping timeout: 260 seconds)]
<cheshircat>
Hey, has anyone got glium working with Rust? Whenever anything calls build_glium it returns a None, which seems to me like it's trying to load a dynamic library but failing. I'm just not sure which dynamic library, and what I should put in a nix-shell to get it to work
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to master: https://git.io/vM8Yp
<NixOS_GitHub>
nixpkgs/master c82baee Vladimír Čunát: sssd: fixup build after bind output changes #21685
ilja_kuklic has joined #nixos
zagy has quit [(Quit: Leaving.)]
ryanartecona has quit [(Quit: ryanartecona)]
feepo has joined #nixos
matthewbauer has joined #nixos
<LnL>
aloiscochard: yeah sounds like it should work, not sure then
<exi>
vozz: tomorrow morning i'll upload something/make a PR
<exi>
need to compile rustc+cargo one last time to check if everything workds
<exi>
works*
<exi>
takes 1-2 hours every time :/
<aloiscochard>
LnL: okay, thanks for your help!
<fadenb>
nanobapt: the TeamViewer support should be able to provide a hash for all the downloads for verification purposes
<sboosali>
Hi, can someone help me with a virtual box issue? I can't access the shared folder (NixOS guest, Windows 10 host) as a user without sudo. I've tried chown'ing /media/sf_*, and adding vboxsf to my groups. My configuration.nix: http://pastebin.com/7LUEzquU
<ToxicFrog>
mrkgnao: what does? When you run it manually? When you 'systemctl status' it?
<ToxicFrog>
mrkgnao: what you should do is 'systemctl status' it and look for the exec line, something like:
<fadenb>
If you are willing to wait some time I can ask an acquaintance sometime later this week
matthewbauer has quit [(Ping timeout: 240 seconds)]
<ToxicFrog>
mrkgnao: so copy that command and run it by hand, as root, and it'll create the directory and the locatedb for you and do the first update pass.
<ToxicFrog>
Once it's created, future runs of update-locatedb will work.
cyraxjoe has joined #nixos
<eacameron>
Is there a way to run something like "fetchurl" but give it multiple URLs in case some of them don't resolve?
<NixOS_GitHub>
[nixpkgs] peti pushed 5 new commits to release-16.09: https://git.io/vM8ne
<NixOS_GitHub>
nixpkgs/release-16.09 33653bf David McFarland: cc-wrapper: expand response files...
<NixOS_GitHub>
nixpkgs/release-16.09 164b8fa David McFarland: cc-wrapper: don't expand $ in response files...
<NixOS_GitHub>
nixpkgs/release-16.09 e16a287 Peter Simons: Synchronize Haskell infrastructure with 'master' at 6d58ab2edf8843e03f10af03a16e8137afe49df5.
<gchristensen>
I'm writing some code like this to softly introduce some coworkers
<mrkgnao>
sorry, I'm sleep-deprived and felt the memeyness hit me all of a sudden
<mrkgnao>
ah
<LnL>
gchristensen: ooh, that's pretty nice for explaining stuff
<gchristensen>
:)
<guacamole_>
I am confused regarding tomcat and webapps. I tried to install guacamole, but I could not access it through tomcat. After some research I found out that the war file determines the context (the URL pathname) under which it can be found. Since the webapps setting of the tomcat NixOS service will just link the apps with their store names, it will not be found under /guacamole.
georges-duperon has joined #nixos
<guacamole_>
Looking at the implementation of the tomcat service I found that if I supply a directory instead of a file, it will look under dirname/webapps, and link the apps found there instead. Does this mean the only way to get the context working as expected is to create a package containing just the structure $out/webapps/guacamole that points to the war? Seems rather a workaround for something so fundamental to deploying apps.
zagy has quit [(Quit: Leaving.)]
derjohn_mob has joined #nixos
<simpson>
guacamole_: Nix is all about working around architectural problems in various subsystems.
<simpson>
guacamole_: If you're feeling generous, you could contribute docs, so that the next person to try Tomcat doesn't stub their toe.
<NixOS_GitHub>
[nixpkgs] pSub pushed 1 new commit to master: https://git.io/vM8ll
<pSub>
Is there still a way to login to hydra.nixos.org with a mail adress that differs from your gmail address?
pikajude has quit [(Quit: Quit)]
pikajude has joined #nixos
matthewbauer has quit [(Ping timeout: 255 seconds)]
<clever>
guacamole_: half of the time, that changing hash is caused by a 404 page with the current time in it
<clever>
guacamole_: one tip, nix doesnt delete the invalid .tar.gz file, so you can just open it in less and see whats going on
acowley_away is now known as acowley
goibhniu has joined #nixos
<guacamole_>
simpson: but is that also the place for application specific documentation, it seems to be mostly general stuff about nixpkgs, and not the kind of contents you could found on the wiki?
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<simpson>
guacamole_: The wiki isn't coming back, sorry.
Itkovian has joined #nixos
k2s has joined #nixos
ryanartecona has joined #nixos
<guacamole_>
simpson: I do not mind that per se, however, that kind of helpful info, like tips in setting up my Tomcat use case, where is that now being kept, because the repo you linked seems without any of that info, but just the nixpkgs manual itself (specific around all things nixpkgs, not actual pkgs themselves)
<guacamole_>
simpson: saw that, but I thought it would not belong, since it is not really language specific, it just happens to be implemented in Java
seanz has joined #nixos
<guacamole_>
clever: yeah, it was a 404, the latest teamviewer should probably be backported, but on Arch Linux it did not work for me (version 12 of TeamViewer that is)
<simpson>
guacamole_: IYSS.
acowley is now known as acowley_away
xadi has quit [(Ping timeout: 260 seconds)]
<clever>
guacamole_: yeah, teamviewer has been very bad at this, i fixed teamviewer client on nixos a few months ago, then they updated it, old version stops working entirely (not permited)
<clever>
guacamole_: and the new version lacks a connect button!
xadi has joined #nixos
<guacamole_>
clever: yeah, I saw that version too, on Arch it does have this, but you are unable to click anything (the ID input field included)
k2s has quit [(Quit: Leaving)]
<guacamole_>
clever: it is one of those few cases I still have to resort to Windows, since I do use it sometimes to help out friends and family remotely, and it is by far the easiest to setup on their machines, that I found so far.
<guacamole_>
clever: I have yet to try that, so you can actually remote control from Android?
<clever>
yep
<clever>
surprisingly useable, though the keyboard can be an issue
<clever>
bluetooth or usb otg can solve that
<guacamole_>
clever: good to know!
<guacamole_>
clever: I plan to use Xen to host both Linux and Windows in the future, do you have experience with that, is it stable and fast enough?
<clever>
guacamole_: if you have enough ram to dedicate to each guest, yeah
xadi has quit [(Ping timeout: 245 seconds)]
<guacamole_>
clever: It is for a desktop, so RAM should not be a problem
acowley_away is now known as acowley
mbrgm has quit [(Read error: Connection reset by peer)]
<globin>
guacamole_, clever: TeamViewer is a customer of ours, fadenb is in contact with them on the issue with changing hashes
pi3r has joined #nixos
<guacamole_>
globin: but from what I understand running version 11 while the other machine is running version 12 will give the user of version 11 an error anyway, so we need to upgrade the version anyway on the stable branch
mbrgm has joined #nixos
<guacamole_>
globin: but regarding the changing hash, it is a webpage that is returned instead of the deb file
pi3r has quit [(Client Quit)]
<fadenb>
guacamole_: oh, when I tested like half an hour ago I got a .deb file from the url defined in the package. I did not verify the contents but it was several MB in size
<copumpkin>
I vaguely remember some code somewhere to feed in strings for pkgs.foo being "pkgs.foo" when generating nixos module docs
<copumpkin>
anyone remember that or where it is?
<guacamole_>
fadenb: less /nix/store/shxrip6cbl82c96r8i8s73lzg6dc9fdl-teamviewer_11.0.57095_i386.deb gives me the homepage it seems
<fadenb>
ah, I checked the current version in nixpkgs which is 12.0.71510
<fadenb>
I will talk to them tomorrow and ask about providing older files for a longer period of time. Can not guruantee anything but I am quite sure there will be a solution
<copumpkin>
clever: nah, it was a design to obviate the need for defaultText
<copumpkin>
maybe in a PR somewhere
<clever>
ah, havent seen that one
<eacameron>
is there a way to access a temp directory during a derivation?
<ToxicFrog>
mrkgnao: but the database is generated despite that? That's normal.
sellout-1 has quit [(Quit: Leaving.)]
<copumpkin>
Jackneill_: there's a dozen or more of those posts that should start from first principles and then build up to how it all works
<ToxicFrog>
If you want it to index everything, configure it to run as root rather than nobody.
<Jackneill_>
copumpkin, thanks.
<copumpkin>
Jackneill_: if there are particular burning questions you have, I'm sure we could answer them as one-offs, but in general you'll probably get a more fulfilling understanding by reading that :)
<sphalerite>
clever: hey, I wanted to try out your not-os thing. default.nix doesn't build out of the box on 16.09, "error: value is null while a set was expected, at /nix/store/98ak7jj36b5932bjxnb495zqfdv909mi-nixos-16.09.1445.e9a8853/nixos/pkgs/os-specific/linux/kernel-headers/4.4.nix:11:10"; are there any particular things I need to do to get it working?
<mrkgnao>
ToxicFrog: oh, wow, the db was actually generated this time
<Jackneill_>
copumpkin, yeah, i was looking for a guide. :)
<copumpkin>
yeah, I think dev-shell was from before nix-shell was as widespread
ktosiek has quit [(Ping timeout: 268 seconds)]
ebzzry has joined #nixos
<sphalerite>
wow, hydra is awesome
<gchristensen>
hydra is indeed pretty awesome
<gchristensen>
also definitely not awesome
<gchristensen>
it just depends on which part you're looking at
<sphalerite>
haha
<ertes>
could someone assess the difficulty of making nix-env -q free all its memory after the evaluation part is done? right now it holds on to hundreds of megabytes of memory while it waits for the pager to terminate
<simpson>
I am eagerly awaiting Hercules.
<sphalerite>
the fact that it has a "reproduce this build" button is awesome
<ertes>
i'd like to fix that
<simpson>
But Hydra is awesome compared to many other CI systems.
<clever>
ertes: i think the reason, is that the pager hasnt read all input, and nix-env is blocking on a write, in the middle of iterating the data
<sphalerite>
is Hercules meant to kill Hydra?
<ertes>
clever: let me try
<simpson>
ertes: What clever said. You can check by piping nix-env to a pager in another process and seeing whether it still does this.
<simpson>
sphalerite: Hercules is a new API with the same database schema as Hydra. #nixos-hercules for more. It's not ready yet, but I'm looking forward to it.
<ertes>
doesn't seem to be true… nix-env still holds on to the memory even after less is convinced that it has read up to EOF
<simpson>
Hydra is very ad-hoc and undocumented as far as administration goes. I do *not* enjoy running my own Hydra.
<sphalerite>
seems nice
ktosiek has joined #nixos
<sphalerite>
clever: the latest commit on not-os also breaks it somehow btw
<sphalerite>
(but it works fine on the second most recent)
<clever>
sphalerite: latest one is when i added a bunch of half-finished stuff to allow nix-daemon on an rpi
<clever>
sphalerite: need to finish that as well
<sphalerite>
ah ok
<ertes>
i've checked the source code: opQuery indeed doesn't seem to release its memory at all
<ertes>
i'll try to fix that
<clever>
sphalerite: i should probably use branches more when i know things are going to break
<ertes>
one more question: should i hack from master, or is there a development branch?
hiratara has joined #nixos
mguentner2 is now known as mguentner
Itkovian has quit [(Quit: Textual IRC Client signing off)]
bennofs1 has joined #nixos
Itkovian has joined #nixos
newhoggy2 has joined #nixos
sellout- has joined #nixos
ebzzry has quit [(Quit: leaving)]
<ertes>
(BTW, the source code is really easy to understand and pleasant to read – kudos!)
k2s has quit [(Quit: Leaving)]
<gchristensen>
ertes: on what project?
<ertes>
gchristensen: nix
<gchristensen>
probably against master
<clever>
sphalerite: bbl
matthewbauer has joined #nixos
Guest64085 has quit [(Quit: WeeChat 1.2)]
<ertes>
thanks
<ertes>
if i run 'make install', where will it install?
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vM8Xh
<NixOS_GitHub>
nixpkgs/master 41b69a0 Nikolay Amiantov: spidermonkey_{31,38}: fix sed problem with build
matthewbauer has quit [(Ping timeout: 240 seconds)]
<sphalerite>
ertes: I think the idea is to run nix-build
<ertes>
sphalerite: sure, i'm just wondering what's the proper way to test… i guess 'make' is enough for that
<sphalerite>
wait never mind, there is no default.nix in nix
<ertes>
oh, i'm stupid
<ertes>
it says it in the manual =)
<sphalerite>
is there any particular reason startx can't be used on nixos? Is it because of X needing to run with certain privileges?
<sphalerite>
i.e. basically because setuid executables aren't allowed in the store?
roconnor__ has quit [(Ping timeout: 252 seconds)]
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to staging: https://git.io/vM8DH
<NixOS_GitHub>
nixpkgs/staging bba12a6 Daiderd Jordan: Merge branch 'master' into staging
georges-duperon has quit [(Ping timeout: 252 seconds)]
Jackneill_ has quit [(Remote host closed the connection)]
ryantrinkle has quit [(Ping timeout: 248 seconds)]
benzrf has joined #nixos
<benzrf>
concept: push nix as a standalone tool enabling you to distribute your software w/o dependency pain, just as a nix file
<benzrf>
i bet a lot of ppl would get on board with something billing itself like "just write a plaintext file and then users will be able to feed it to nix without worrying about installing dependencies, polluting their environment, or setting up a sandbox"
<NixOS_GitHub>
[nixpkgs] mguentner opened pull request #21772: subsurface: rev update for 4.5.97 (master...subsurface_beta_fix) https://git.io/vM8SZ
danharaj has quit [(Ping timeout: 255 seconds)]
<MichaelRaskin>
Like some tutorials for Haskell recommend to do when setting up an environment?
<MichaelRaskin>
Please note: Nix initial installation documents usually imply root (it is not strictly required, unless you want shared store or sandboxing or binaries compatible with the binary cache), most build processes can be performed without root.
c0bw3b has left #nixos []
<clever>
sphalerite: setuid does work on nixos, see sudo and su (run type su on a nixos box)
<clever>
sphalerite: i think the bigger issue, is that systemd doesnt allow it
<sphalerite>
right, but it doesn't live in the store
MoreTea has quit [(Ping timeout: 258 seconds)]
<clever>
sphalerite: something in the activation scripts sets that up on boot
<sphalerite>
I'm pretty sure that systemd (or more specifically logind) is what makes it possible to use startx without adding any privileges to the X executable
<clever>
sphalerite: the last time i debugged xorg heavily, it was common to just mmap /dev/mem directly
<sphalerite>
oh man, debugging xorg heavily sounds like fun :p
Shou has quit [(Ping timeout: 248 seconds)]
wangoe has quit [(Quit: WeeChat 1.4)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
siarheit_ has quit [(Ping timeout: 260 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
zagy has joined #nixos
zagy has quit [(Client Quit)]
guacamole_ has quit [(Quit: Page closed)]
ryanartecona has quit [(Quit: ryanartecona)]
Shou has joined #nixos
eacameron has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
michas has quit [(Ping timeout: 240 seconds)]
itorres has quit [(Ping timeout: 268 seconds)]
matthewbauer has quit [(Ping timeout: 255 seconds)]
itorres has joined #nixos
Shou has quit [(Ping timeout: 255 seconds)]
systemfault has joined #nixos
xadi has quit [(Read error: Connection reset by peer)]
xadi has joined #nixos
<sphalerite>
I want to customise my window manager (i3) through nix for my individual user. The approach I'm taking is to create a wrapper for i3 which points it to the config, which is also added into the store. This builds fine, but what's the best way to get the display manager to execute it properly? For now it's starting i3 from the i3 package, the behaviour is defined by nixos/modules/services/x11/window-manage
<sphalerite>
rs/i3.nix
mudri` has joined #nixos
<sphalerite>
Would the best way be to have it search PATH, then try running the i3 from the package? i.e. if type i3 &>/dev/null ; then i3 & ; else ${pkg}/bin/i3 [...] ; fi
<sphalerite>
Or is there another better way of allowing the user to decide what their session does?
<clever>
sphalerite: this script gets ran by the display manager after it has set the uid correctly, and it is ready to launch the chosen desktop manager