magnetophon has quit [(Ping timeout: 245 seconds)]
t7 has quit [(Quit: ChatZilla 0.9.93 [Firefox 50.1.0/20161209093710])]
mkoenig has quit [(Ping timeout: 264 seconds)]
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
<grantwu>
How do I set my login shell to something installed via Nix?
deepfire has joined #nixos
mudri has quit [(Quit: WeeChat 1.6)]
sdothum has quit [(Read error: Connection reset by peer)]
<Yaniel>
grantwu: the user definition has an option called shell
sdothum has joined #nixos
athan_ has joined #nixos
<Yaniel>
i.e. users.extraUsers.yaniel.shell = pkgs.zsh;
athan has quit [(Read error: Connection reset by peer)]
athan_ is now known as athan
magnetophon has joined #nixos
<grantwu>
I have Nix installed on Ubuntu :/
<Yaniel>
then you can use chsh and pass it the full path to the executable I think
<Yaniel>
though you might run into trouble with the env in that case
<Yaniel>
or not, since it's all in your ~/.nix-profile
<grantwu>
It doesn't like the symlink
<Dezgeg>
I guess you can put a shell script which has just 'exec /home/foo/.nix-profile/bin/zsh "$@"' somewhere and use that as the shell
<Yaniel>
I wonder how bad an idea it would be to exec your preferred shell in .bash_profile
RchrdB has joined #nixos
erasmas has quit [(Quit: leaving)]
<maurer>
just make sure not to put it in your bashrc
<maurer>
or you will be very sad
<Dezgeg>
but I do have to wonder why it wouldn't accept a symlink as on NixOS it's e.g. /run/current-system/sw/bin/bash which definitely is a symlink... but maybe nobody has tried chsh on nixos
<maurer>
(since non-interactive scripts will load bashrc)
<grantwu>
I can use the thing that the symlink points to but that would be bad right
<grantwu>
If the shell updates or
<Dezgeg>
yes, it would be bad
<grantwu>
Yeah, if it gets garbage collected or something
<Nadrieril>
chsh only accepts the shells defined in /etc/shells
<Nadrieril>
So you can't use a shell installed via nix that way
<Nadrieril>
In NixOS you need something like programs.zsh.enable = true for zsh to be usable as a shell
<maurer>
grantwu: You could add /home/grantwu/.nix-profile/bin/zsh to /etc/shells
mexisme2 has quit [(Read error: Connection reset by peer)]
thc202 has quit [(Ping timeout: 264 seconds)]
mexisme has joined #nixos
<grantwu>
maurer: okay I'll try that
Wizek_ has joined #nixos
jsiva has joined #nixos
<jsiva>
Hello all... I'm new to nix and using it in Ubuntu to create docker images. I created a mongodb docker image and when I'm trying to run that image, I'm getting an error that looks like this /nix/store/nm0r7crsx9wwcywav9fv4bp37r0jrp53-mongodb-3.2.9/bin/mongod: error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied
<jsiva>
I'm running it as mongodb user. It works fine if I run as root (default)
markus1199 has joined #nixos
markus1189 has quit [(Ping timeout: 252 seconds)]
Lowl3v3l has quit [(Ping timeout: 240 seconds)]
Lowl3v3l has joined #nixos
<puffnfresh>
jsiva: strange!
Rotaerk has joined #nixos
<jsiva>
puffnfresh: any idea what could cause this?
<dtz>
jsiva: I haven't played with the docker-gen stuff, but can you share your expression or something that demonstrates the problem? (presumably you're doing something like the 'nginx' example only with mongodb?)
sdothum has quit [(Read error: Connection reset by peer)]
sdothum has joined #nixos
alx741 has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
ryantrinkle has joined #nixos
<dtz>
jsiva: how are you running it with the mongodb user? I added 'User = "mongodb";' to the config in your example and it.. seems to work?
stepcut has quit [(Remote host closed the connection)]
<dtz>
my system nixpkgs that I'm building against is 16.09, FWIW, and I'm running on NixOS not on ubuntu, so there are ample things that could be different between our setups :)
<dtz>
(also the system mongodb package is 3.2.9 for me, so doesn't seem necessary to override to build your own, maybe)
<dtz>
I wasn't sure "User=" would work, but without it mongodb complains about being executed as root...
<dtz>
maybe system docker on ubuntu runs things differently somehow? But don't know enough about docker/ubuntu to suggest anything, hopefully it's just something like my dockerTools from 16.09 has a bugfix that yours doesn't ^.^
jsgrant- has quit [(Read error: Connection reset by peer)]
jsgrant- has joined #nixos
<dtz>
if nix is installed single-user then your store might have different permissions that don't play nice when building docker layers?
<dtz>
(also I can't believe this works, haha, this is great, glad I tried your example :D)
<jsiva>
dtz: nix is installed as single-user. But, would this really matter when building docker containers? Does the permission of /nix in host transfer over to the docker image?
<dtz>
no idea! Couldn't say, sorry if that's a wrong thought just brainstorming why it works for me and not for you :).
<jsiva>
let me try using 'User = "mongodb"' in my config
georges-duperon has quit [(Ping timeout: 252 seconds)]
met48 has quit [(Quit: Bye)]
Fare has joined #nixos
derjohn_mobi has quit [(Ping timeout: 276 seconds)]
athan has joined #nixos
wkennington has joined #nixos
Wizek__ has joined #nixos
Rotaerk_ has joined #nixos
magnetophon has quit [(Ping timeout: 260 seconds)]
indi__ has joined #nixos
bdimcheff_ has joined #nixos
pdobrogost_ has joined #nixos
gridaphobe_ has joined #nixos
stig__ has joined #nixos
Kingsqueee has joined #nixos
johnsona` has joined #nixos
johnsona` is now known as johnsonav`
rrrr has joined #nixos
BlessJah_ has joined #nixos
echo_oddly has joined #nixos
johnsonav has quit [(Disconnected by services)]
avn_ has joined #nixos
petar_ has joined #nixos
johnsonav` is now known as johnsonav
armijn_ has joined #nixos
paroneay` has joined #nixos
MightyJoe has joined #nixos
hiratara_ has joined #nixos
systmkor_ has joined #nixos
Aexoden_ has joined #nixos
derjohn_mobi has joined #nixos
dredozub- has joined #nixos
Piece_Maker has joined #nixos
rmarko has joined #nixos
rmarko has quit [(Changing host)]
rmarko has joined #nixos
spion has joined #nixos
eacamero_ has quit [(Remote host closed the connection)]
hiratara_ is now known as hiratara
Piece_Maker is now known as Acou_Bass
bdimcheff_ is now known as bdimcheff
stig__ is now known as stig
pdobrogost_ is now known as pdobrogost
ertes has joined #nixos
gridaphobe_ is now known as gridaphobe
<Fare>
updating my nixpkgs, I get a weird error trying to nixos-rebuild switch: attempt to call something which is not a function but a set, at /root/nixpkgs-channels/lib/trivial.nix
jsgrant- has quit [(Read error: Connection reset by peer)]
jsgrant- has joined #nixos
goodwill has quit [(Quit: ...)]
jsgrant- has quit [(Read error: Connection reset by peer)]
bret has joined #nixos
systemfault has joined #nixos
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
mguentner2 has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
mguentner has quit [(Ping timeout: 240 seconds)]
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 240 seconds)]
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
endformationage has quit [(Quit: WeeChat 1.5)]
mizu_no_oto has joined #nixos
bfrog has quit [(Quit: WeeChat 1.6)]
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
eacameron has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
panostimos has joined #nixos
eacamero_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
eacamero_ has quit [(Ping timeout: 264 seconds)]
RchrdB has quit [(Ping timeout: 255 seconds)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
sheenobu has quit [(Quit: Leaving)]
glines has joined #nixos
leothrix has quit [(Quit: ZNC 1.6.4 - http://znc.in)]
glines has quit [(Ping timeout: 245 seconds)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 2 new commits to master: https://git.io/vMM12
<NixOS_GitHub>
nixpkgs/master 75cea1d Vincent Laporte: ocamlPackages.fpath: init at 0.7.1...
<NixOS_GitHub>
nixpkgs/master d1c3cc6 Vincent Laporte: jabref: 3.6 -> 3.8.1
MP2E has joined #nixos
MP2E has quit [(Client Quit)]
MP2E has joined #nixos
MP2E has quit [(Client Quit)]
leothrix has joined #nixos
MP2E has joined #nixos
bgamari has quit [(Ping timeout: 248 seconds)]
zagy has joined #nixos
andi- has quit [(Ping timeout: 245 seconds)]
moet has joined #nixos
moet has quit [(Client Quit)]
zagy1 has joined #nixos
kier has quit [(Ping timeout: 248 seconds)]
zagy2 has joined #nixos
zagy has quit [(Ping timeout: 255 seconds)]
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
zagy1 has quit [(Ping timeout: 255 seconds)]
Fare has quit [(Ping timeout: 240 seconds)]
zraexy has joined #nixos
ryantrinkle has quit [(Ping timeout: 256 seconds)]
MercurialAlchemi has joined #nixos
zraexy has left #nixos []
proteusguy has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
matthewbauer has quit [(Ping timeout: 264 seconds)]
ryantrinkle has joined #nixos
proteusguy has quit [(Ping timeout: 264 seconds)]
phanimahesh has joined #nixos
reinzelmann has joined #nixos
zml has quit [(Ping timeout: 256 seconds)]
deepfire has joined #nixos
systemfault has quit [(Quit: Bye!)]
MP2E has quit [(Quit: bbl)]
phanimahesh has quit [(Ping timeout: 248 seconds)]
zml has joined #nixos
proteusguy has joined #nixos
Shados has quit [(Quit: No Ping reply in 180 seconds.)]
georges-duperon has joined #nixos
Shados has joined #nixos
jgertm has joined #nixos
deepfire has quit [(Ping timeout: 252 seconds)]
phanimahesh has joined #nixos
deepfire has joined #nixos
jmiven has quit [(Read error: Connection reset by peer)]
jmiven has joined #nixos
georges-duperon has quit [(Ping timeout: 252 seconds)]
justbeingglad has joined #nixos
justbeingglad has left #nixos []
deepfire has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
deepfire has joined #nixos
<NixOS_GitHub>
[nixpkgs] ericsagnes opened pull request #21985: styx-themes.agency: fix version typo (master...pkg-fix/styx-themes.agency) https://git.io/vMMQi
moet has joined #nixos
matthewbauer has quit [(Ping timeout: 248 seconds)]
<moet>
hmm. so i'm having this problem where reinstalling my buildEnv (which is just a basic list of packages) is trying to recompile all of the dependencies of haskell stack
<moet>
instead of just fetching the binary
sellout- has quit [(Ping timeout: 260 seconds)]
ckauhaus has joined #nixos
<moet>
and it fails on the first thing it tries to build (actually, after building it) .. it fails in aeson's test suite
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMDei
<NixOS_GitHub>
nixpkgs/master d934097 Jon Meredith: Add yubioath-desktop application and required pyscard module to support it
<NixOS_GitHub>
nixpkgs/master 7f2769f Michael Raskin: Merge pull request #21983 from jonmeredith/master...
jgertm has joined #nixos
thc202 has joined #nixos
ilja_kuklic has joined #nixos
bin7me has joined #nixos
moet has joined #nixos
<moet>
srhb: i just uninstalled my user env, went to single user mode with `systemctl rescue` and did a `nix-collect-garbage -d` followed by a `nixos-rebuild switch --repair` .. that deleted most of the store.. i've just gotten back on my user and attempted to install stack, and it's bringing in that new version of aeson again..
<moet>
no idea how to fix this
<moet>
i'll just let it build and go to sleep.. any ideas are appreciated
<pie__>
so, am i the only person for who nix-shell messes up PS1 and completion?
<moet>
`Dependency aeson -any: using aeson-1.0.2.1
<moet>
i guess something doesn't specify a version range, so i get the latest one..
<moet>
thing is, it doesn't fetch a binary.. just builds and builds forever
<moet>
then fails tests.
ericsagnes has joined #nixos
matthewbauer has joined #nixos
ennui has joined #nixos
matthewbauer has quit [(Ping timeout: 252 seconds)]
phanimahesh has quit [(Ping timeout: 252 seconds)]
<musicmatze>
Hi
<musicmatze>
I'm trying to build a nova image on a debian instance with nix, but it fails with
<musicmatze>
Could not access KVM kernel module: Permission denied
<musicmatze>
failed to initialize KVM: Permission denied
<musicmatze>
can someone help me?
<musicmatze>
I'm not sure what that means ... running the nix-build command with sudo does not work :-/
<hyper_ch>
why does rsync keep aborting due to a problem with ssh's MAC
johnsonav has quit [(Ping timeout: 240 seconds)]
matthewbauer has joined #nixos
matthewbauer has quit [(Ping timeout: 240 seconds)]
<LnL>
musicmatze: might only work on nixos, you can try to install kvm and then nix-build it
phanimahesh has joined #nixos
<musicmatze>
LnL: that might be the problem.... I'll try. Unfortunately I need an nixos image to boot in openstack... but for building it I need a nixos instance and I do not have one spare left to build an image (which I guess is a huge task and I don't want to do it on my notebook)
<LnL>
can't you start with the default iso?
<musicmatze>
nope, because openstack does not recognize ISOs...
<musicmatze>
at least not the openstack of my university ... it only takes qemu images -.-
<LnL>
you can convert an an iso to a qemu image with the qemu-utils
<musicmatze>
hmmh.. taht might be an idea!
<eqyiel[m]>
I wish there was a progress argument for nixops deploy
ertesx has joined #nixos
<eqyiel[m]>
I always end up monitoring the closure upload with nethogs or something
<musicmatze>
I want to try to setup a hydra on my studi-cloud (I have space for two machines with 8GB RAM and 8 cores each ... might be an idea, right?)
<musicmatze>
is it possible to run hydra on a debian machine?
<musicmatze>
:-)
<LnL>
probably but it would be a pain to setup
<musicmatze>
hmh
eacameron has joined #nixos
mguentner2 is now known as mguentner
<musicmatze>
I wonder why there is no hydra package for debian yet :-)
eacameron has quit [(Ping timeout: 240 seconds)]
ericsagnes has quit [(Ping timeout: 276 seconds)]
athan has quit [(Remote host closed the connection)]
<gchristensen>
we can hardly keep _our_ hydra package working, musicmatze
<LnL>
there has not been an official release of hydra yet AFAIK
Unode has quit [(Quit: WeeChat 1.6)]
cfricke has joined #nixos
<LnL>
but on nixos you can get the latest master working with some tweaks
<gchristensen>
also, good morning #NixOS
erictapen has joined #nixos
<musicmatze[m]>
gchristensen: sure, I don't want it for production but for playing around
<musicmatze[m]>
Another option would be to use nix itself to build my local packages on remote machines... But I cannot remember whether I need a remote nixos for this or whether a Debian+nix would suffice...
<musicmatze[m]>
gchristensen: then I should try this...
<gchristensen>
LnL: pr-21895 didn't rebuild? or master didn't rebuild?
<LnL>
that xcbuild failure was fixed in the pr
eacameron has joined #nixos
<LnL>
but I think the update added the jobset, so I'm not sure what happend there
eacameron has quit [(Ping timeout: 245 seconds)]
plumps has joined #nixos
plumps has quit [(Client Quit)]
chimay has quit [(Quit: WeeChat 1.6)]
plumps has joined #nixos
sdothum has joined #nixos
plumps has quit [(Client Quit)]
mkoenig has joined #nixos
pi3r has joined #nixos
matthewbauer has joined #nixos
rmeis has joined #nixos
eacameron has joined #nixos
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
matthewbauer has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
eacameron has joined #nixos
phanimah1sh has joined #nixos
eacameron has quit [(Read error: Connection reset by peer)]
dramforever has joined #nixos
eacameron has joined #nixos
phanimahesh has quit [(Ping timeout: 256 seconds)]
rmeis_ has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
phanimah1sh has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Remote host closed the connection)]
eacameron has joined #nixos
<grantwu>
maurer: Worked, btw
rmeis has quit [(Ping timeout: 258 seconds)]
<grantwu>
What's the current best way to get LaTeX through Nix?
<gchristensen>
"NASA astronauts train in a modified gulf stream 2 jet, which in order to simulate how un-aerodynamic the shuttle is, flys with the landing gear down, and its engines in reverse"
<gchristensen>
oops, sorry
<gchristensen>
grantwu: are you on nixos?
<LnL>
interesting ;)
<philipp[m]>
gchristensen: I think we should add a rule: OT posts are OK as long as they are about Spaaaaace!
<lassulus>
-A installs by attribute, so you can specify the attribute path to the package, without -A you install the same package but you have to provide it's name
<LnL>
it's based on the channel name, so on non nixos it would be nix-env -iA nixpkgs.foo
<LnL>
but using -f '<nixpkgs>' works everywhere :)
<grantwu>
Sorry what is an attribute again :/ I see it mentioned a lot in the manual but not really defined
eacameron has joined #nixos
<lassulus>
an attribute is just a part of an attribute-set which is like an object in JS or an dict in pythin
<lassulus>
python*
<LnL>
garbas: it's like the key of a dict eg. nix-instantiate -E '{ foo = 42; }' -A foo
<LnL>
oh my
<LnL>
grantwu: ^
panostimos has quit [(Ping timeout: 240 seconds)]
<oleks>
Is there a dedicated IRC channel for Nix-related discussions?
<gchristensen>
this is it, oleks!
<LnL>
grantwu: that's the same as nix-instantiate -E '{ foo = 42; }.foo'
<grantwu>
...I guess I should probably learn the Nix language.
<LnL>
oh I forgot --eval
<gchristensen>
grantwu: it isn't so complicated for most things
<gchristensen>
and you don't need to learn about fixed point combinators for at least a year
<oleks>
would it be silly to try and use nix as the sole package manager, bypassing cabal? I mean, provided I am willing to write the nix-expressions necessary to get whatever I need for this or that Haskell project?
<LnL>
sure, look at cabal2nix it can do most of the work for you :)
rmeis_ has quit [(Ping timeout: 240 seconds)]
dramforever has quit [(Remote host closed the connection)]
matthewbauer has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] wizeman opened pull request #21988: RaspberryPi boot loader: fix booting Raspberry Pi 3 (master...u/fix-raspi-3) https://git.io/vMD0d
ronny has joined #nixos
feepo has quit [(Quit: Connection closed for inactivity)]
<oleks>
LnL: yeah, I just found cabal2nix a bit too magical, but that's just a question of time :-)
glines has joined #nixos
<LnL>
just give it a cabal file or hackage url and it will give you a nix expressions
<LnL>
what you do with it is up to you :)
matthewbauer has joined #nixos
phanimahesh has joined #nixos
matthewb` has joined #nixos
matthewbauer has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
iyzsong has joined #nixos
matthewb` has quit [(Ping timeout: 264 seconds)]
eacameron has quit [(Ping timeout: 260 seconds)]
vith has joined #nixos
eacamero_ has joined #nixos
rmeis has joined #nixos
eacamero_ has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
<vith>
boot.extraModprobeConfig = ''\n options hid_apple fnmode=2\n ''; doesn't seem to work for me (\n are real newlines in my config). if i echo the parameter into the correct file under /sys i get the effect i need, but i can't get it to be set at boot. looks like https://github.com/NixOS/nixpkgs/issues/20906 is the same issue. does anyone have an apple-ish keyboard they did manage to get this working with on boot?
<gchristensen>
vith: what computer exactly do you have?
<vith>
it's a lenovo ThinkServer TS440 and a Matias Quiet Pro keyboard
<LnL>
oleks: haskellPackages points to the default set
thc202 has quit [(Ping timeout: 240 seconds)]
exi has quit [(Remote host closed the connection)]
mkoenig_ has quit [(Ping timeout: 260 seconds)]
ckauhaus has quit [(Quit: Leaving.)]
mkoenig has joined #nixos
thc202 has joined #nixos
panostimos has joined #nixos
derjohn_mob has joined #nixos
mkoenig has quit [(Ping timeout: 258 seconds)]
mkoenig has joined #nixos
ennui has quit [(Ping timeout: 252 seconds)]
MoreTea has quit [(Remote host closed the connection)]
mkoenig has quit [(Ping timeout: 256 seconds)]
mkoenig has joined #nixos
altphi has joined #nixos
bgamari has joined #nixos
MoreTea has joined #nixos
mudri has quit [(Ping timeout: 240 seconds)]
ckauhaus has joined #nixos
phorse has joined #nixos
rmeis has joined #nixos
sellout- has joined #nixos
BlessJah_ is now known as BlessJah
seppellll has joined #nixos
sellout- has quit [(Client Quit)]
rmeis has quit [(Ping timeout: 260 seconds)]
<LnL>
does anybody know how to get all the propagatedBuildInputs of an output inside a drv?
MercurialAlchemi has quit [(Ping timeout: 240 seconds)]
erasmas has joined #nixos
fritschy has quit [(Remote host closed the connection)]
danielrf has quit [(Quit: WeeChat 1.6)]
mudri has joined #nixos
proteusguy has joined #nixos
ckauhaus has quit [(Read error: Connection reset by peer)]
<gchristensen>
niksnut, ikwildrpepper: can the evaluator / queue runner run on a machine different from the web frontend?
<gchristensen>
for hydra obviously
danharaj has joined #nixos
ckauhaus has joined #nixos
derjohn_mob has quit [(Ping timeout: 252 seconds)]
zagy has joined #nixos
reinzelmann has quit [(Ping timeout: 256 seconds)]
<niksnut>
gchristensen: it will probably mostly work
<niksnut>
but there are a couple of places that assume a shared store
<niksnut>
e.g. restarting a build might check whether the .drv is not garbage-collected
<gchristensen>
oh I see
<gchristensen>
ok, I think I'm seeing the same issue from the ML about RAM and CPU -- the queue runner is using about 17GB of RAM and 700-800% CPU, which is making the web frontend perform very poorly
plumps has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
zagy2 has quit [(Ping timeout: 255 seconds)]
zagy1 has joined #nixos
<LnL>
won't it help to put postgres on another machine so the io on hydra doesn't affect it?
zagy has quit [(Ping timeout: 255 seconds)]
rly has quit [(Ping timeout: 252 seconds)]
<gchristensen>
I don't seem to have io issues, the iowait is 0
eacameron has joined #nixos
proteusguy has quit [(Ping timeout: 260 seconds)]
derjohn_mob has joined #nixos
<LnL>
oh, do the build machines upload straight to s3?
rly has joined #nixos
phanimah1sh has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to master: https://git.io/vMD9H
<NixOS_GitHub>
nixpkgs/master 24038e6 Robin Gloster: mysql-workbench: rename from mysqlWorkbench, add alias...
<NixOS_GitHub>
nixpkgs/master fa79441 Robin Gloster: mysql-workbench: 6.3.7 -> 6.3.8...
<gchristensen>
I think it goes builder -> hydra -> s3 but not sure, it definitely doesn't hit the disk
<niksnut>
that's right
phanimahesh has quit [(Ping timeout: 260 seconds)]
<niksnut>
that's a lot of CPU usage though
<niksnut>
could be xz compression though
ryantrinkle has quit [(Ping timeout: 276 seconds)]
<musicmatze>
I fail to teach nix-build to do distributed builds...
<gchristensen>
hmmm could be, all the CPU usage is in user, and the network is seeing about 50Mps
<musicmatze>
I set all the env variables (NIX_BUILD_HOOK, NIX_REMOTE_SYSTEMS and NIX_CURRENT_LOAD) but it keeps tellin me error: unable to start any build; either increase ‘--max-jobs’ or enable distributed builds
reinzelmann has joined #nixos
<LnL>
musicmatze: are you using the daemon
ckauhaus has quit [(Read error: Connection reset by peer)]
<musicmatze>
LnL: what do you mean?
<LnL>
are you using the nix-daemon or a single user install
<musicmatze>
I'm on nixos, the debian machines I try to use to build the package where installed via the curl|bash command listed on nixos.org/nix/download.html
<LnL>
musicmatze: did you configure it with nix.distributedBuilds in your configuration?
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMD7I
<NixOS_GitHub>
nixpkgs/master 9cb6727 Robin Gloster: treewide: fix evaluation...
<musicmatze>
LnL: nope, because I do not want to build my system from it but only builds triggered with nix-build on the commandline ... for development
<LnL>
I don't think you can configure it dynamically when using the nix-daemon
proteusguy has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMD7n
<NixOS_GitHub>
nixpkgs/master d9418bf Robin Gloster: eduke32: fix build
<musicmatze>
:-(
<LnL>
unless the daemon looks at the env variables for trusted users, niksnut?
<NixOS_GitHub>
[nixpkgs] rbvermaa pushed 1 new commit to release-16.09: https://git.io/vMD79
<NixOS_GitHub>
nixpkgs/release-16.09 cff9154 c74d: agrep: init at 3.41.5...
danharaj has quit [(Ping timeout: 258 seconds)]
teknico has left #nixos []
jsiva has quit [(Ping timeout: 260 seconds)]
<globin>
musicmatze: sudo NIX_REMOTE= nix-build ... to not use the daemon
<musicmatze>
globin: why do I need sudo?
<globin>
either sudo or you need to be in trusted users
<globin>
(AFAIK)
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMDbH
<NixOS_GitHub>
nixpkgs/master 9e60e43 Robin Gloster: dvdisaster: fix broken make discovery
xadi has quit [(Ping timeout: 256 seconds)]
sellout- has joined #nixos
<LnL>
a trusted user won't have access to write to the store/db right?
<gchristensen>
right
<LnL>
I thought that was only used for --option flags that are potentially insecure
<musicmatze>
but when I try to execute the command without sudo, it tells me that "Nix database directory ‘/nix/var/nix/db’ is not writable: Permission denied"
<globin>
musicmatze: that's what the daemon running as root normally does
<musicmatze>
ah, okay
<globin>
since you're avoiding it you need to be root
<globin>
and right, trusted users is something different
roconnor has joined #nixos
<musicmatze>
just to be on the right page: Executing the command with sudo won't kill my system in some way? I'm simply bypassing the local nix-daemon, but everything else is fine?
<musicmatze>
I'm just playing and I do not want to make my system unstable ..
<musicmatze>
globin: so putting myself into the trusted users on my machine won't help?
<LnL>
it would be pretty useful to have --option remote-systems /tmp/foo
bin7me has quit [(Remote host closed the connection)]
<gchristensen>
hmm
Itkovian has quit [(Ping timeout: 258 seconds)]
<globin>
musicmatze: I'd let niksnut or shlevy confirm that, but AFAIK should be safe
<Fare>
Is there a known issue with nixpkgs unstable? I get a weird error trying to nixos-rebuild switch: attempt to call something which is not a function but a set, at /root/nixpkgs-channels/lib/trivial.nix
<MoreTea>
are you importing nixpkgs yourself somewhere?
<MoreTea>
I usually get that error when i do a `with import <nixpkgs>;` instead of `with (import <nixpkgs> {});`
johnsonav has joined #nixos
<manveru>
MoreTea: you need `with import <nixpkgs> {};`
<manveru>
that {} is important :)
ryantrinkle has joined #nixos
<niksnut>
trusted-users just determines which users have special privileges when using the daemon
<niksnut>
it doesn't give them direct write access to the store/db
<musicmatze>
so it is not an option for me right now, am I right?
<LnL>
I thought so, but it would be nice if the daemon used the NIX_ env variables from trusted users
alx741_ has joined #nixos
digitalmentat has joined #nixos
<digitalmentat>
domenkozar, are you still looking for a Nix / Haskell dev?
erictapen has quit [(Ping timeout: 245 seconds)]
zagy1 has quit [(Quit: Leaving.)]
<simpson>
digitalmentat: It might have been about Hercules.
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMDpu
<NixOS_GitHub>
nixpkgs/master a6ebca4 Robin Gloster: iproute: update fan patches
<digitalmentat>
simpson, what is that?
<NixOS_GitHub>
[nix] edolstra closed pull request #1183: Nix hangs on network errors when downloading files (master...master) https://git.io/vM08P
<digitalmentat>
I'm asking because I have a friend who is an excellent Haskell developer and has pretty solid experience with NixOS and Hydra at this point
<globin>
niksnut: are you aware that images/isos built on hydra don't get pushed to the binary cache?
<maurer>
Anyone know if git-new-workdir is available in nixpkgs somewhere?
<maurer>
Searching the .nix files doesn't find a mention of it, but in other distros it's frequently lumped in with other extra git utilities
<Phlogistique>
maurer: in recent git, git new-workdir has been replaced with git-workdir
<maurer>
OK, thanks, I'll read up, was just familiar with the older tool
<maurer>
thanks
<musicmatze>
gchristensen: awesome, gonna read that later, thanks for sharing!
<globin>
maurer: from my history `git worktree add ../nixpkgs-gcc6 gcc-6`
bfrog has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
<niksnut>
globin: everything built on hydra gets pushed to the cache
deepfire has quit [(Ping timeout: 252 seconds)]
trqx_ has joined #nixos
<globin>
niksnut: ah the .narinfo is there, but the link on the build page is broken
rmrfroot has joined #nixos
Itkovian has joined #nixos
zagy has joined #nixos
trqx_ has quit [(Quit: WeeChat 1.6)]
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
Wizek has joined #nixos
trqx_ has joined #nixos
moet has quit [(Quit: leaving)]
<rmrfroot>
i was wondering if a quarterly NixOS dev report would of interest to people
<gchristensen>
you betcha
<gchristensen>
we've got github.com/nixos/nixos-weekly but ... :|
<gchristensen>
it is hard :)
<rmrfroot>
yeah, i can imagine weekly being hard!
<gchristensen>
cc garbas
seppellll has quit [(Ping timeout: 276 seconds)]
deepfire has joined #nixos
<contrapumpkin>
niksnut: on the topic of images, did you catch my question yesterday about who runs the ami generation script? is that automated or do you just run it periodically after a release?
<gchristensen>
contrapumpkin: pretty sure it is by hand
<contrapumpkin>
okay
<globin>
niksnut: I found the issue.. needed to specify store_mode additionally to store_uri
<globin>
niksnut: the C++ perl uses store_uri, but perl still relies on the old config options
<contrapumpkin>
niksnut: I was thinking it might be cool to make it more nix-centric; that is, instead of having the shell script call nix-build repeatedly, have a nix expression that builds all the images and then the shell just iterates over the output and uploads it blindly. Seems like it'd result in less shell and more nix that's easy to reason about (and can be built in hydra, etc.)
<niksnut>
globin: yeah, all downloads from hydra.nixos.org are broken
<niksnut>
I would actually like NixOps to support AMI generation as a resource type
<gchristensen>
contrapumpkin: it only builds the image once and then copies it around
<globin>
niksnut: yeah, our hydra had that issue, too
alx741_ has joined #nixos
<niksnut>
that would make it easier to keep track of AMIs
<contrapumpkin>
gchristensen: there are a few different images though; the HVM-flavored one with partitions, and the PV-flavored one without, etc.
<gchristensen>
true
<niksnut>
and for people to generate their own AMIs
<contrapumpkin>
niksnut: true, although it still seems like there's a pure nix component of generating the image files, then a nixops component of putting them into AWS
<contrapumpkin>
and the former part we can do today (I can sketch out what I mean at some point, since I generate a lot of AMIs :P)
<niksnut>
well, the image generation *is* pure
<contrapumpkin>
yeah that's what I mean
Itkovian has quit [(Read error: Connection reset by peer)]
<contrapumpkin>
but I mean taking it a step further to specify the different flavors of images we want to generate in pure nix as well
<contrapumpkin>
rather than a shell script that splices in ec2.hvm = true into a command-line parameter
danharaj has joined #nixos
<contrapumpkin>
so we'd just evaluate images.ec2-hvm and call a standard AMI uploader on it
<contrapumpkin>
or something like that
<contrapumpkin>
this will probably be easier if I sketch it out in code :)
alx741 has quit [(Ping timeout: 256 seconds)]
digitalmentat has quit [(Quit: Leaving)]
fresheyeball has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
deepfire has quit [(Ping timeout: 240 seconds)]
<niksnut>
well, if NixOps had AMIs as a resource type, I would do something like:
<grantwu>
I did nix-env -iA nixpkgs.arduino and I want to undo it
<garbas>
gchristensen: rmrfroot: coming this monday. i took me some time to get things in order personally. now i have more time to spend.
<niksnut>
and then generate some more resources to copy eu-west-1 AMIs
<rmrfroot>
garbas: cool :)
<niksnut>
e.g. resources.amis."us-east-1-..." = { copyFrom = resources.amis."eu-west-1..."; }
<contrapumpkin>
niksnut: yeah :) I was basically just proposing to put the lib.concatMap (isHVM: ...) expression into its own nix file in the meantime, and to just pull attributes out of it in the script today. Or to flip the direction a bit and to generate simple single-use wrapper scripts that are hardcoded to upload a particular type of image, since the ami script is a bit large and unwieldy today
<contrapumpkin>
niksnut: also, at some point we might want to abandon the PV and non-EBS images, since AWS seems to be phasing them out
jgertm has quit [(Ping timeout: 256 seconds)]
<rmrfroot>
grantwu: what argument are you using in "nix-env -e"?
<contrapumpkin>
anyway, mostly just idle thinking, I mostly care about the image generation itself
<grantwu>
the same argument I used for install
<rmrfroot>
grantwu: try "nix-env -e arduino"
<grantwu>
Okay
<contrapumpkin>
niksnut: I have at various points wanted that makeDiskImage _function_ you refer to in your expression above though. I've always found it kind of weird that the image generation is config spliced into the module system rather than a function that takes a config
<grantwu>
What does -e stand for anyways?
<contrapumpkin>
eliminate? :P
<niksnut>
grantwu: erase probably, it comes from rpm
<contrapumpkin>
--eradicate
* contrapumpkin
shuts up
<rmrfroot>
grantwu: according to the man pages "-e" and "--uninstall" are the same.
<rmrfroot>
so no idea why it's called "-e" :P
trqx_ has quit [(Quit: WeeChat 1.6)]
deepfire has joined #nixos
<contrapumpkin>
niksnut: any idea why images are done via config mixins today rather than a function?
<NixOS_GitHub>
[nix] edolstra pushed 5 new commits to master: https://git.io/vMykK
<NixOS_GitHub>
nix/master 167d12b Shea Levy: build-remote: Implement in C++
<NixOS_GitHub>
nix/master bff3ad7 Shea Levy: build-remote: replace strtoull with stoull to take advantage of C++ error handling
<NixOS_GitHub>
nix/master d771c28 Shea Levy: build-remote: Use std::set for feature sets
danielrf has joined #nixos
<niksnut>
contrapumpkin: because that's the standard idiom in the NixOS module system
<niksnut>
same for the system.toplevel, ISO images, etc.
<niksnut>
of course, you can wrap that in a function
<contrapumpkin>
yeah, it just seems a bit unwieldy for images and "build products" based off of full system builds
pi3r has quit [(Ping timeout: 248 seconds)]
<niksnut>
but that seemed unnecessary
<contrapumpkin>
I ran into some annoyances when I wanted to parametrize the amazonImage with something like "extra store paths"
<contrapumpkin>
I added a module option for it but it's kind of a roundabout way to do it
<niksnut>
that sounds like system.extraDependencies
<contrapumpkin>
oh, perhaps!
<rmrfroot>
grantwu: were you able to uninstall arduino?
<grantwu>
I'll try that later - currently in Windows for class
goibhniu has quit [(Ping timeout: 245 seconds)]
<rmrfroot>
grantwu: alright, just a short heads up: when you use "nix-env -iA nixpkgs.arduino" you are installing the package from it's *attribute-path*. when you use "nix-env -e" it expects the package name, and not the attribute path. that's why it didn't work for you.
<sphalerite>
I'm using builtins.filterSource to remove the .git directory from a git repo that I'm putting a nix expression in, but the project inserts the git hash into its version string. Is it possible to give the build access to the git hash without pulling in the project's entire history?
derjohn_mob has quit [(Ping timeout: 248 seconds)]
<sphalerite>
MoreTea: I want to have the git rev in the version line; the default.nix is within the repo, so I just use src = builtins.filterSource (p: t: p != ".git") ./.; what I'm trying to achieve is a smaller source closure while still getting the git rev in the version string
<sphalerite>
Getting the version string at all isn't an issue, it's getting it without pulling a huge and very stateful directory into the source derivation
<Biappi>
the time has come! i finally "need" a linux vm, i'd like to try to use nixos instead of a barebones debian
<contrapumpkin>
Biappi: \o/
alx741 has joined #nixos
<contrapumpkin>
what's the magic incantation I pass to nix-hash to make it behave like a fixed-output derivation?
alx741_ has quit [(Ping timeout: 240 seconds)]
tvon has joined #nixos
<contrapumpkin>
ah forgot to use +x
mudri has quit [(Ping timeout: 245 seconds)]
endformationage has joined #nixos
[0x4A6F] has joined #nixos
<Baughn>
How would I add an envvar to the system environment in a nixos module?
[0x4A6F]1 has joined #nixos
contrapumpkin has quit [(Quit: Page closed)]
MP2E has joined #nixos
<NixOS_GitHub>
[nixpkgs] peti pushed 2 new commits to master: https://git.io/vMyYw
<NixOS_GitHub>
nixpkgs/master 87a5de0 Peter Simons: LTS Haskell 7.16
<NixOS_GitHub>
nixpkgs/master db4bcbe Peter Simons: hackage-packages.nix: automatic Haskell package set update...
[0x4A6F] has quit [(Ping timeout: 255 seconds)]
[0x4A6F]1 is now known as [0x4A6F]
<Fare>
rpm -e == --erase
<Fare>
nix-env copied the rpm shorthand.
<Fare>
is nixos unstable working for y'all?
<Baughn>
Mostly.
wirrbel has joined #nixos
<Baughn>
Occasional bugs, but that's to be expected.
plumps has joined #nixos
<Ralith>
my display manager wouldn't start last time I tried it, but that was a few months ago
t7 has joined #nixos
acarrico has quit [(Ping timeout: 276 seconds)]
ennui has joined #nixos
mudri has joined #nixos
<Fare>
oh, trivial.nix already does the inheritance things.
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMyOu
<NixOS_GitHub>
nixpkgs/master 1708d4d Jörg Thalheim: python27Packages.xmpppy: fix ssl socket api
<NixOS_GitHub>
nixpkgs/master 6762884 Jörg Thalheim: python27Packages.jabberbot: init at 0.16
<wirrbel>
it seems that the machine has valgrind installed, although its not specifically installed (only mentioned in the documentroot)
<wirrbel>
I would have expected a more minimal system
athan has joined #nixos
slyfox has quit [(Read error: Connection reset by peer)]
slyfox has joined #nixos
<NixOS_GitHub>
[nixpkgs] fpletz deleted black@2016-09-01 at bde2351: https://git.io/vMy31
<NixOS_GitHub>
[nixpkgs] fpletz deleted black@2016-08-31 at 78e9bc7: https://git.io/vMy3S
<NixOS_GitHub>
[nixpkgs] fpletz deleted black@2016-06-02 at 88745d6: https://git.io/vMy3Q
<gchristensen>
oh nice fpletz
zraexy has joined #nixos
<fpletz>
probably pushed by mistake
<fpletz>
they were popping at a git describe and totally confused me :)
zraexy has quit [(Client Quit)]
<NixOS_GitHub>
[nixpkgs] Baughn opened pull request #21992: ipfs: Set IPFS_PATH globally when daemon is enabled (master...ipfs-env) https://git.io/vMys3
deepfire has joined #nixos
[0x4A6F] has quit [(Remote host closed the connection)]
[0x4A6F] has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vMyGa
<NixOS_GitHub>
nixpkgs/staging 5326cb7 Vladimír Čunát: webkit: security 2.14.2 -> 2.14.3...
zugzug has joined #nixos
zugzug has quit [(Changing host)]
zugzug has joined #nixos
vaibhavsagar has joined #nixos
<vaibhavsagar>
hi, I'm having trouble including a non-Hackage Haskell project in another project, can anyone tell me where I'm going wrong?
jensens has quit [(Ping timeout: 256 seconds)]
mudri has quit [(Ping timeout: 240 seconds)]
<jophish_>
vaibhavsagar: it would be good to see your nix code. Just a second, I'll post an example of me doing this
<jophish_>
there are loads of custom packages being used here
<jophish_>
hmm, actually there are not any :|
<jophish_>
they are all hackage overrides :)
<jophish_>
oh no, look at opaleye-gen
<jophish_>
that gets the source from github, and puts it into the haskell package set
<schoppenhauer>
hm. I am trying to run a binary package, and I get a list of libraries it tries to load via ldd. however, it does not find the packages when I install them via nix-shell --pure -p ...; what do I have to do to make them find them?
<schoppenhauer>
I would have guessed that nix-shell automatically sets the library paths
<schoppenhauer>
but apparently I missunderstund something
danielrf has quit [(Remote host closed the connection)]
<gchristensen>
schoppenhauer: you need to patchelf the binary
deepfire has quit [(Ping timeout: 245 seconds)]
<schoppenhauer>
gchristensen: but the binary does not have absolute paths
<gchristensen>
schoppenhauer: the binary is probably only looking in /usr/lib /usr/local/lib etc.
benwbooth has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<schoppenhauer>
so I thought it would search according to some library path
<schoppenhauer>
gchristensen: but ldd finds some of the libraries I installed.
<schoppenhauer>
gchristensen: so it apparently doesn't
<schoppenhauer>
gchristensen: also: how can I find out, inside a nix-shell, the library path of some package?
simendsjo has joined #nixos
<schoppenhauer>
gchristensen: I am not creating a shell via nix-instantiate yet (because I need to find out what this binary actually does first)
<NixOS_GitHub>
nixpkgs/master 1b5d5e3 Bjørn Forsman: nmap-graphical: rename from nmap_graphical...
<schoppenhauer>
ok
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
mudri has joined #nixos
[0x4A6F] has joined #nixos
deepfire has joined #nixos
pie__ has quit [(Ping timeout: 240 seconds)]
<schoppenhauer>
hm. do you have any idea where to find libstdc++.so.6 ?
<schoppenhauer>
or in which package?
petar_ is now known as petar
<schoppenhauer>
I found /nix/store/gs36amglhgii6i9nb7wrlps2lnvcq4f6-gcc-5.4.0-lib/lib/libstdc++.so.6
feepo has joined #nixos
justbeingglad has left #nixos []
<schoppenhauer>
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != NULL' failed! ← any ideas what to do about that?
ilja_kuklic has joined #nixos
<musicmatze>
I just checked nixpkgs into IPFS (as of commit 1b5d5e3913f3b1b736aebb06f99c57968370cb62) -> QmX2kDtGchPbdnoofRyUavwb9HtjMXSLo4YgMXT2CmVsa8
<musicmatze>
if someone wants to play :-)
<musicmatze>
going to pin it on a second machine, to be able to have a even faster distribution :-)
zagy has joined #nixos
jsgrant- has joined #nixos
jsgrant- has quit [(Remote host closed the connection)]
alx741 has quit [(Quit: alx741)]
k0001 has joined #nixos
alx741 has joined #nixos
gciolli has joined #nixos
<gchristensen>
a few people I've talked to think NixOS doesn't have X11 support
<musicmatze>
yep. I'm so super excited about this, I hope it will happen within the next few months (early prototype) ... I would allocate all my cloud-ressources at my university I can get to host nix packages! :-)
<mguentner>
lassulus, musicmatze: the PR is already out of date
<musicmatze>
mguentner: what do you mean?
<schoppenhauer>
in an interactive nix-shell, how do I find out the install path of a package?
mkoenig_ has joined #nixos
<musicmatze>
schoppenhauer: you mean in a "nix-shell -p <somepkg>"?
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<schoppenhauer>
musicmatze: yes
<musicmatze>
schoppenhauer: type `which <pkgname>` .. ?
<mguentner>
musicmatze: I want to write a binary cache class for IPFS so that '/ipns/example.com/HASH' will work as a path
<musicmatze>
mguentner: okay. But why is that other PR outdated?
<schoppenhauer>
musicmatze: which only finds the paths of commands
[0x4A6F] has quit [(Ping timeout: 240 seconds)]
<musicmatze>
schoppenhauer: yes, but you could strip the /bin/<binary> part, right?
<musicmatze>
or am I getting something wrong here?
mkoenig has quit [(Ping timeout: 240 seconds)]
<mguentner>
musicmatze: it's not out of date, it just doesn't reflect the current state of development ;)
<schoppenhauer>
musicmatze: there *is* no binary to call, it is a library
<musicmatze>
ah,... sure. :-/ then I do not know
<musicmatze>
mguentner: okay... so that means the state I know is old ... which is good! :-)
<mguentner>
musicmatze: I am waiting for IPFS 0.4.5 (should be out next week)
<musicmatze>
sounds awesome
<musicmatze>
is there a github repo I can star/follow?
<musicmatze>
:-)
sdothum has joined #nixos
<mguentner>
musicmatze: I will push the relevant bits soon, will highlight you once it's done
zagy has quit [(Quit: Leaving.)]
<schoppenhauer>
my main problem currently is to find the path of libstdc++6.so.1
<musicmatze>
mguentner: thanks! Nice! I hope I can try it out then
<schoppenhauer>
libstdc++.so.6 I mean
<schoppenhauer>
and there are lots of such files cluttered everywhere around
mexisme2 has joined #nixos
<schoppenhauer>
hm. maybe I should consult the mailinglist
mexisme has quit [(Ping timeout: 264 seconds)]
athan has quit [(Remote host closed the connection)]
kampfschlaefer has joined #nixos
athan has joined #nixos
AllanEspinosa has joined #nixos
glines has joined #nixos
athan has quit [(Remote host closed the connection)]
reinzelmann has joined #nixos
derjohn_mob has quit [(Read error: Connection reset by peer)]
deepfire has quit [(Ping timeout: 258 seconds)]
civodul has joined #nixos
pi3r has quit [(Ping timeout: 240 seconds)]
deepfire has joined #nixos
wirrbel has quit [(Ping timeout: 255 seconds)]
LUuM has joined #nixos
phanimahesh has joined #nixos
<copumpkin>
niksnut: any thoughts on shlevy's question on https://github.com/NixOS/nix/issues/520? I'd love for that to get some love, as I think it could resolve a lot of open awkwardness in nix
<gchristensen>
copumpkin: would we blacklist this from nixos/nixpkgs?
jensens has joined #nixos
<copumpkin>
not necessarily, depending on how we do it
<copumpkin>
but in part, definitely
<pareidolia>
This does not work (from the documentation) : nix-env -f "<nixpkgs>" -qaP -A beamPackages
<pareidolia>
What should I do instead?
phanimah1sh has quit [(Ping timeout: 255 seconds)]
<gchristensen>
aye, like I can see it making sense in use for the updater.nix scripts garbas is working on, but having it used in any sort of package declarations would be maddening
<copumpkin>
well, the point would be for it to be very obvious when it happens
<copumpkin>
but yes, you'd be able to block it
<copumpkin>
it'd basically be another category at the top of a build
<copumpkin>
in addition to things being fetched and built
<gchristensen>
I don't mean blocking, I mean by policy saying we can't use this in packages
<copumpkin>
but I see channels/fetchTarball being a special case of this
<copumpkin>
I know
<copumpkin>
but what I mean is that if we do do updater.nix machinery, the nondeterministic derivation would produce "lock files", which we could then force the inclusion of into nixpkgs
<gchristensen>
neat
<copumpkin>
anyway, this is all hypothetical, but I think it could be a nice approach to the auto-updating packages
<copumpkin>
and fairly principled
<copumpkin>
I can sketch out what I think it would look like
<copumpkin>
I should probably flesh it out :) not sure that ticket really covers the full idea
glines has quit [(Ping timeout: 248 seconds)]
<copumpkin>
anyway, mostly just want to make sure niksnut is on the same page at the highest level, and then we can flesh out details
<copumpkin>
the usual "this is potentially a big thing, and I don't want to do a bunch of work and have you hate it"
bennofs has joined #nixos
<pareidolia>
Some help please
<simpson>
pareidolia: One second, trying out a possibly-simpler command.
<simpson>
pareidolia: So, I guess that there must be something broken, 'cause I get: error: anonymous function at /nix/store/wr6ykxik44g72y5pid0p9074bb8q3k2l-nixos-17.03pre98008.59dbcef/nixos/pkgs/development/beam-modules/hex-packages.nix:1550:9 called without required argument ‘redix_0_3_6’, at /nix/store/wr6ykxik44g72y5pid0p9074bb8q3k2l-nixos-17.03pre98008.59dbcef/nixos/lib/customisation.nix:56:12
<pareidolia>
Same here
<simpson>
But maybe this only affects one particular package?
<pareidolia>
It works for lispPackages
<simpson>
I mean that there's probably only a couple broken BEAM packages, but trying to evaluate the full package set is all-or-nothing.
c0bw3b has left #nixos []
lezed1 has joined #nixos
Itkovian has joined #nixos
GiGa|Laptop has joined #nixos
<GiGa|Laptop>
Hello all
<GiGa|Laptop>
Since installing the nvidia driver I don't get a graphical environment on boot
<GiGa|Laptop>
just trying to find some logs at the moment
<GiGa|Laptop>
but any advice?
bennofs has quit [(Quit: WeeChat 1.6)]
<simpson>
I'd stick to nouveau, but I haven't messed with graphics in a long time.
<GiGa|Laptop>
nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
<simpson>
Hm. That does not sound good.
<GiGa|Laptop>
I'll be honest I don't understand what it's saying
pi3r has joined #nixos
<GiGa|Laptop>
simpson, so you'd suggest making this: services.xserver.videoDrivers = [ "nvidia" ];
<simpson>
TMDS is a thing on the GPU that helps send signals to digital monitors. DRM in this context is Direct Rendering Manager, the part of the kernel that manages GPUs.
<GiGa|Laptop>
nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid
<simpson>
Yes, I would seriously consider trying it. If nothing else, it's more likely to get you a graphical 2D environment.
<GiGa|Laptop>
OK, one sec
<GiGa|Laptop>
I'll likely need to reboot too
<simpson>
Those might be warnings; if you don't have a flat panel (probably laptop screen adapter), then it's just saying that the GPU doesn't have it.
<GiGa|Laptop>
This is indeed a laptop
<simpson>
Welp. Who knows.
<GiGa|Laptop>
right, back in a mo, just rebooting
deepfire has quit [(Ping timeout: 248 seconds)]
GiGa|Laptop has quit [(Remote host closed the connection)]
wirrbel has joined #nixos
GiGa|Laptop has joined #nixos
<GiGa|Laptop>
simpson, ok, if I set the config to "nouveau" rather than "nvidia" I get the same behaviour
<simpson>
GiGa|Laptop: Hm. I'm sorry, but this is about the limits of what I know about nVidia and Linux. :c
<GiGa|Laptop>
no worries,
<GiGa|Laptop>
I think this entire OS build is a bit weird, something must have gone wrong
<GiGa|Laptop>
when I start steam it runs "lspci" which never finishes. Something very strange is happening
<Ralith>
if lspci hangs your hardware is probably buggy
mbrgm has joined #nixos
<gchristensen>
or your kernel module is in a bad state
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<lezed1>
I have a quick question about network interfaces. I have two ethernet interfaces on a machine, and I can't figure out how to set the interface names for each one (I'm not sure the names are predictable right now).
<lezed1>
Is there a way to configure each one (one static, one with a set MAC)?
GiGa|Laptop has quit [(Ping timeout: 240 seconds)]
reinzelmann has quit [(Quit: Leaving)]
Unode has joined #nixos
GiGa|Laptop has joined #nixos
GiGa|Laptop has quit [(Remote host closed the connection)]
ckauhaus has joined #nixos
simendsjo has quit [(Quit: ERC (IRC client for Emacs 24.5.2))]
LUuM has quit [(Quit: Leaving)]
maurer has quit [(Remote host closed the connection)]
maurer has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMyXd
<NixOS_GitHub>
nixpkgs/master 003ae42 Graham Christensen: packet: init at 20161215-2b8f07a...
goibhniu has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMy1V
<gchristensen>
globin: re my don't-merge patch fix, it can be merged ... I was testing https://prs.nix.gsc.io/project/nixos and waiting for it to finish, but it has
alx741 has joined #nixos
<globin>
gchristensen: ok thanks :)
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMy9D
<NixOS_GitHub>
nixpkgs/master a927abb Graham Christensen: qt55.qtbase: fix patch sha with fetchpatch instead of fetchurl
wirrbel has quit [(Ping timeout: 255 seconds)]
exi has joined #nixos
cpennington has quit [(Remote host closed the connection)]
tvon has quit [(Ping timeout: 240 seconds)]
<grantwu>
Is there a quiet switch for nix-env?
MichaelRaskin has joined #nixos
[0x4A6F] has quit [(Quit: [0x4A6F])]
danielrf has joined #nixos
AllanEspinosa has quit [(Ping timeout: 252 seconds)]
deepfire has joined #nixos
<maurer>
grantwu: I'm not aware of one. Can you give me the context where you think you want nix-env to be silent?
tvon has joined #nixos
<grantwu>
Well, for example, I just did nix-env -i meld
<grantwu>
And I got ~500 lines of output
lezed1 has quit [(Remote host closed the connection)]
<grantwu>
Should I be getting the curl status dispaly for every download?
<dtz>
does "-Q" help with that?
<Ralith>
grantwu: `man nix-build` shows -Q
<Ralith>
most nix commands also accept nix-build options
<maurer>
-Q will only suppress build output, which is why I was asking for more information
<maurer>
the status messages etc. from nix-env will still show up aiui
<maurer>
but this will remove the compile logs you were talking about
lezed1 has joined #nixos
alx741 has quit [(Ping timeout: 276 seconds)]
lezed1 has quit [(Remote host closed the connection)]
<ericbmerritt_>
I did a nix-copy-closure to get some package onto a secondary nix box. How do I make those packages part of the users environmen. `nix-env -i` doesn't find them (as I would expect)
ilja_kuklic has quit [(Ping timeout: 252 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
xadi has joined #nixos
Itkovian has joined #nixos
<NixOS_GitHub>
[nixops] Nadrieril opened pull request #587: libvirt: Allow control over boot image configuration (master...libvirt-boot-config) https://git.io/vMyjD
xadi has quit [(Client Quit)]
Lowl3v3l has quit [(Ping timeout: 258 seconds)]
deepfire has quit [(Ping timeout: 255 seconds)]
lezed1 has quit [(Remote host closed the connection)]
<NixOS_GitHub>
[nixpkgs] globin pushed 1 new commit to master: https://git.io/vMSeC
<NixOS_GitHub>
nixpkgs/master 0f86750 Robin Gloster: mpir: add patch to account for sed update
jason has joined #nixos
jason is now known as Guest24974
<Guest24974>
I am trying to build opencv with cuda on nixos. And I keep getting impure path `/lib64/libz.so' used in link
<Unode>
Is there a rar/unrar package in nix? I seem to be having a hard time figuring out what package contains it, if any.
<Ralith>
Unode: set allowUnfree = true
<LnL>
unrar, but it's unfree
Itkovian_ has quit [(Client Quit)]
<Unode>
Hum... I have nixpkgs.config.allowUnfree = true on my configuration.nix, but nix-env still refuses.
cgdub has joined #nixos
<LnL>
nix-env only looks at ~/.nixpkgs/config.nix
lezed1 has joined #nixos
<Ralith>
nix-env uses your ~/.nixpkgs/config.nix
<Ralith>
(yes, this is dumb)
<Unode>
oh I should have red the warning better. I didn't know about this distinction. Thanks for the clarification
endformationage has quit [(Quit: WeeChat 1.5)]
indi_ has joined #nixos
<Unode>
on another note, I'm still having weird kerning issues with some fonts. I also toggle options on configuration.nix but they don't seem to have an effect, specially in browsers such as chromium.
lezed1 has quit [(Ping timeout: 245 seconds)]
<Unode>
The wiki page on fonts reports as outdated. Is there some other up-to-date source that could be of use?
ennui has quit [(Ping timeout: 255 seconds)]
rjsalts has quit [(Quit: Coyote finally caught me)]
estewei has quit [(Quit: Quit)]
rjsalts has joined #nixos
athan has joined #nixos
<Ralith>
are you sure it's kerning, and not just a matter of not having very good fonts installed?