SovereignBleak has quit [(Ping timeout: 240 seconds)]
monad_cat has quit [(Ping timeout: 240 seconds)]
nz has quit [(Read error: Connection reset by peer)]
modafinil has quit [(Read error: Connection reset by peer)]
andrewrk has quit [(Ping timeout: 240 seconds)]
ktosiek has quit [(Quit: No Ping reply in 180 seconds.)]
k0001 has quit [(Read error: Connection reset by peer)]
statusfailed has quit [(Ping timeout: 248 seconds)]
Vorpal has quit [(Ping timeout: 240 seconds)]
s1lvester has quit [(Ping timeout: 240 seconds)]
kyren has quit [(Ping timeout: 240 seconds)]
statusbot has quit [(Ping timeout: 240 seconds)]
ok2` has joined #nixos
bara1 has quit [(Ping timeout: 240 seconds)]
ikwildrpepper has quit [(Ping timeout: 240 seconds)]
ktosiek has joined #nixos
anderslundstedt has quit [(Ping timeout: 240 seconds)]
oida has quit [(Ping timeout: 240 seconds)]
zml has quit [(Ping timeout: 240 seconds)]
mood has quit [(Ping timeout: 240 seconds)]
Nycatelos has quit [(Ping timeout: 240 seconds)]
statusfailed has joined #nixos
anderslundstedt has joined #nixos
ok2 has quit [(Ping timeout: 240 seconds)]
modafinil has joined #nixos
k0001 has joined #nixos
nz has joined #nixos
ikwildrpepper has joined #nixos
kyren has joined #nixos
mood has joined #nixos
Nyx has joined #nixos
andrewrk has joined #nixos
Nyx is now known as Guest47665
s1lvester has joined #nixos
Guest47665 has quit [(Remote host closed the connection)]
monad_cat has joined #nixos
Nycatelos has joined #nixos
zml has joined #nixos
pingveno has joined #nixos
oida has joined #nixos
bara1 has joined #nixos
SovereignBleak has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 5 new commits to master: https://git.io/vMRMY
<NixOS_GitHub>
nixpkgs/master cae067f Matthew Bauer: transmission: add enableSystemd flag...
<NixOS_GitHub>
nixpkgs/master 30eed55 Matthew Bauer: transmission: add enableCli flag
<NixOS_GitHub>
nixpkgs/master 976aed8 Matthew Bauer: transmission: add enableDaemon flag
Vorpal has joined #nixos
Vorpal has quit [(Changing host)]
Vorpal has joined #nixos
Twey has quit [(Ping timeout: 240 seconds)]
Twey has joined #nixos
t7 has quit [(Quit: ChatZilla 0.9.93 [Firefox 49.0/20160928160550])]
alunduil has joined #nixos
<pikajude>
anyone here know how to add inputs to a jobset in hydra?
<pikajude>
ahh, found it
<pikajude>
manually added two inputs using curl and then they showed up
<alunduil>
I'm finally (yes I know I'm late to this party) getting around to updating to 16.09 but am running into an error when doing the switch --upgrade:
matthewbauer has quit [(Remote host closed the connection)]
matthewbauer has joined #nixos
derjohn_mob has quit [(Ping timeout: 240 seconds)]
acowley is now known as acowley_away
<Rotaerk>
hmm, actually, an approach to debugging this occurred to me...
<Rotaerk>
I'll make my override assign it to gtk2hs-buildtools' and then return the full hackagePackages set, then look at the store results for both to compare...
alx741_ has quit [(Quit: alx741_)]
alx741 has joined #nixos
lambdame has joined #nixos
<lambdame>
I have some issues setting the correct PATH inside a jenkins instance
<lambdame>
the default one is not able to find obvious executables, e.g. 'which'
georges-duperon has quit [(Ping timeout: 252 seconds)]
<lambdame>
ugh
<lambdame>
collision between ‘/nix/store/jingja4gf0iyh4pbnwl104b5fas3njbs-llvm-3.8.1/lib/LLVMgold.so’ and ‘/nix/store/7jvkd78alp6697pwha5wmxgawp3q9c0l-clang-3.7.1/lib/LLVMgold.so’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
<gchristensen>
lambdame: in a few hours, #nixos will be a bit more active with people :) I've got to go to bed.
Guest91536 is now known as josePhoenix
josePhoenix is now known as Guest24049
<Ralith>
lambdame: why are you trying to place llvm 3.8.1 and clang 3.7.1 in the same environment?
taylorl has joined #nixos
taylorl has quit [(Client Quit)]
<lambdame>
Ralith: because there's no clang 3.8.1
shanemikel has joined #nixos
nekroze has joined #nixos
<Ralith>
lambdame: isn't there?
athan has quit [(Remote host closed the connection)]
<nekroze>
I am having issues with nixops not being able to ssh if I specify `users.users.root.openssh.authorizedKeys.keyFiles` but then i can ssh in with the key that I specify. I can't figure out how to get it to accept both.
<Ralith>
lambdame: see also nixos.clang_38
ublubu has quit [(Ping timeout: 248 seconds)]
hexagoxel has quit [(Ping timeout: 258 seconds)]
hexagoxel has joined #nixos
justanotheruser has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<lambdame>
collision between ‘/nix/store/dci0fxi2i302agir9b1n8lq532q978q7-binutils-2.27/bin/addr2line’ and ‘/nix/store/4kkdfxqghb7ax6hfsmkfhz97zfwhwcp4-binutils-2.27-dev/bin/addr2line’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
<lambdame>
a package conflicting with itself.
<nekroze>
Does anyone know why nixops would no longer be able to ssh into a machine when "users.users.root.openssh.authorizedKeys.keyFiles" is set?
<clever>
things like binutils and gcc aremt meant to be installed on nixos
<clever>
lambdame: your supposed to just use "nix-shell -p gcc"
Lowl3v3l has quit [(Remote host closed the connection)]
shanemikel has joined #nixos
zeus_ has joined #nixos
<lambdame>
clever: thanks!
k0001 has quit [(Quit: Connection closed for inactivity)]
<lambdame>
so that I don't have to specify them one by one
Kingsqueee has joined #nixos
<lambdame>
wondering if [ * ] works
<nekroze>
lambdame: even if it did that would imply all packages in nixpkgs. If you mean all system packages set it to "= config.environment.systemPackages"
ryanartecona has joined #nixos
<lambdame>
uh
<lambdame>
error: The value of the environment variable ‘PATH’ in systemd service ‘jenkins.service’ is too long.
<lambdame>
nekroze: that didn't do it
<nekroze>
lambdame: lol, uh maybe instead of setting it via the jenkins option which seems to use environment variables you might want to specify "systemd.services.jenkins.path" which takes a list of nixpkgs... not sure if it does the same thing under the hood though
SovereignBleak has quit [(Quit: Connection closed for inactivity)]
roconnor_ has joined #nixos
<nekroze>
lambdame: never mind, that does do the same thing
<nekroze>
lambdame: is it nixos or systemd that is complaining that the path is too long?
<lambdame>
maybe systemd
<lambdame>
actually, it's systemd
<lambdame>
is there a way to avoid specifying the set of packages entirely?
<nekroze>
lambdame: good, greater chance someone else has hit the issue and you may find a solution online
<lambdame>
(not fluent with NixOS so that may not make sense)
<nekroze>
lambdame: the only other method I could think of is if you add to the PATH environment variable for the systemd unit /run/current-system/...blahblah (or whatever the path is where system binaries are made available) and then it should have access to all programs installed globally. but it would also have access to some more evil programs you probably would't like jenkins using
mguentner has quit [(Quit: WeeChat 1.6)]
<nekroze>
does anyone know what is required to setup console/serial access to a libvirt vm created with nixops? I can get a login prompt but it won't let me actually log in
mguentner has joined #nixos
NeQuissimus has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
eacameron has quit [(Ping timeout: 240 seconds)]
ryanartecona has quit [(Quit: ryanartecona)]
mkoenig has joined #nixos
ryanartecona has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
uralbash has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
proteusguy has quit [(Remote host closed the connection)]
alx741_ has joined #nixos
proteusguy has joined #nixos
alx741 has quit [(Ping timeout: 240 seconds)]
proteusguy has quit [(Ping timeout: 240 seconds)]
<nekroze>
Does anyone know why nixops would no longer be able to ssh into a machine when "users.users.root.openssh.authorizedKeys.keyFiles" is set to say ~/.ssh/id_rsa.pub?
athan has joined #nixos
eacameron has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
endformationage has quit [(Quit: WeeChat 1.6)]
<Rotaerk>
it would be nice if the configuration in pkgs/development/haskell-modules/configuration-common.nix were done in such a way that you could use pieces of it ad-hoc
<Rotaerk>
e.g. if I'm overriding the packages by pulling the derivation from somewhere else, I may still want to configure it in the same way as is done in nixpkgs
<Rotaerk>
but I have to copy-paste it, essentially, the way it is
<Rotaerk>
though I suppose that might have limited usefulness... the configuration may only be appropriate for *that* version of the package
NeQuissimus has joined #nixos
siarheit_ has joined #nixos
leothrix has quit [(Ping timeout: 258 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to staging: https://git.io/vM0Uh
<NixOS_GitHub>
nixpkgs/staging cc40fad Franz Pletz: gnutls: 3.4.16 -> 3.4.17
sdothum has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
<NixOS_GitHub>
[nixpkgs] fpletz pushed 3 new commits to staging: https://git.io/vM0TY
<NixOS_GitHub>
nixpkgs/staging 0e963d2 Franz Pletz: gnutls33: 3.3.25 -> 3.3.26...
<NixOS_GitHub>
nixpkgs/staging 7165b38 Franz Pletz: libtasn1: 4.8 -> 4.9
<NixOS_GitHub>
nixpkgs/staging 85ac790 Franz Pletz: gnutls35: 3.5.5 -> 3.5.8...
<NixOS_GitHub>
[nixpkgs] fpletz pushed 1 new commit to master: https://git.io/vM0T3
<NixOS_GitHub>
nixpkgs/master f159279 Franz Pletz: mopidy: 2.0.1 -> 2.1.0
nekroze has quit [(Quit: Leaving)]
<NixOS_GitHub>
[nixpkgs] fpletz pushed 2 new commits to master: https://git.io/vM0TE
<NixOS_GitHub>
nixpkgs/master 3ecfab8 Franz Pletz: libgit2_0_21: remove, unused and probably vulnerable
<NixOS_GitHub>
nixpkgs/master c03bc57 Franz Pletz: libgit2: 0.24.3 -> 0.24.6...
<NixOS_GitHub>
nixpkgs/master f88e2fb Yacine Hmito: zsh-autosuggestions: init at 0.3.3 (#21792)...
Kingsquee has joined #nixos
Kingsqueee has quit [(Read error: Connection reset by peer)]
justanotheruser is now known as OfficialLeibniz
phreedom has quit [(Remote host closed the connection)]
proteusguy has joined #nixos
michas has joined #nixos
mk-fg has quit [(Ping timeout: 256 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
mk-fg has joined #nixos
zeus_ has quit [(Remote host closed the connection)]
michas has quit [(Ping timeout: 240 seconds)]
phanimahesh has joined #nixos
newhoggy2 has quit [()]
MercurialAlchemi has joined #nixos
michas has joined #nixos
catch22_ has joined #nixos
reinzelmann has joined #nixos
ryanartecona has quit [(Quit: ryanartecona)]
ryanartecona has joined #nixos
ckauhaus has joined #nixos
xeviox has joined #nixos
ckauhaus has quit [(Client Quit)]
<unlmtd[m]>
is anyone familiar with libinput ant trackpoint? on arch middle button enables scrolling by default. I tried libinput.scrollButton = 3 but no result
<ixxie>
I want to map (x: "./modules/"+x) [ "stuff.nix" "things.nix" ] but I need the output as a path because imports cannot resolve the . from a string; any ideas?
roconnor_ has joined #nixos
pem_ has joined #nixos
<pem_>
Hi everyone! I need to add the PPD for a printer to my system, but the nixpkgs repositories seems to have only examples of tricky proprietary drivers. How does the simple case (PPD) work?
johann__ has quit [(Read error: No route to host)]
<gchristensen>
haha what a cute project name: M.U.S.C.L.E.: Movement for the Use of Smart Cards in a Linux Environment
pi3r has joined #nixos
Seichi has joined #nixos
<NixOS_GitHub>
[nixpkgs] exi opened pull request #21804: rust: make rust beta and nightly be build by hydra (master...include-rust-beta-nightly) https://git.io/vM06t
eacameron has joined #nixos
<gchristensen>
exi: hrmm how does that make hydra build them?
<LnL>
do we want to build those?
<LnL>
gchristensen: recurseIntoAttrs makes hydra look in the attribute set
<NixOS_GitHub>
nixpkgs/master 760edeb Michael Raskin: xfractint: init at 20.04p14
<exi>
and since it is nightly, we could bump it daily
<exi>
it's just a heady load on the maintainers to verify the build for close to little gain
<exi>
close to no gain*
<gchristensen>
I'm confused I think
<gchristensen>
why did you fix it if you didn't want to, while we have rustNightlyBin?
<gchristensen>
I definitely appreciate that you did fix it, but usually people only do that if they want to
<exi>
oh yeah... yak shaving. i wanted to add alacritty, which depends on rust Nightly, using rustNightlyBin as a dependency for another package seemed wrong, so i fixed everything to make it work "the proper way"
<gchristensen>
I see
<gchristensen>
well if nobody is wanting to maintain rustNightly then we should likely, indeed, mark it as broken and eventually remove it
<gchristensen>
it is better to not depend on "*Bin" packages in nixpkgs but (and I have no authority here) perhaps an exception could be made
mrkgnao has quit [(Ping timeout: 240 seconds)]
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
<exi>
gchristensen: my suspicion is that noone is willing to maintain beta/nightly because of the work involved. Doing the same for *Bin releases would be way easier.
eacameron has quit [(Remote host closed the connection)]
<exi>
but i could be wrong of course
<exi>
or maybe just because noone needs them
<gchristensen>
part of what you find out when it is marked as broken :)
<exi>
gchristensen: give me some time. since i talked to the rust devs yesterday, i suspect there might be a way to semi-automatically keep beta/nightly updated
herzen has joined #nixos
<exi>
maybe i'll just set something up on my server to ping me and have a one-button to pull request process to keep it up to date
<NixOS_GitHub>
nixpkgs/master 09f3481 Michael Raskin: libvncserver: build with libpng
* gchristensen
grumbles about openjpeg2
<pi3r>
\channel #cirb
mrkgnao has joined #nixos
uralbash has joined #nixos
<gchristensen>
if anyone has a few hours to spend today and would like to help NixOS -- I have what should be a self contained project not too too hard to accomplish
<mrkgnao>
gchristensen: what is it?
* mrkgnao
goes off and checks if the alacritty PR is in yet
<gchristensen>
opensuse has several patches for openjpeg, which, for whatever reason, don't apply cleanly to ours: https://github.com/NixOS/nixpkgs/issues/21803#issuecomment-271865667 this check-list has links to each discussion and each discussion has an "attachment" to fix the issue
<gchristensen>
mrkgnao: ^
<LnL>
gchristensen: I'm curious, but probably won't have time myself
<gchristensen>
that is okay
<gchristensen>
note if someone makes progress on a single one, that'll be a very nice contribution :)
<LnL>
I'll see if there's some low hanging fruit in the roundup
Shou has quit [(Ping timeout: 256 seconds)]
<ben>
is there a way to say nix-env -u --leq, except this one package, leave that alone?
<ben>
or alternatively nix-env -u --leq but don't build anything locally?
<gchristensen>
could be, LnL I haven't looked at all at icoutils or libtiff
<exi>
mrkgnao: no it's not but you can still checkout my branch and build it :D
<exi>
will just take you 3 hours because it compiles rust beta and rust nightly as a dependency :)
eacameron has joined #nixos
<LnL>
exi: I have a pr that should halve that time, depending on your machine
<LnL>
yes that's what we where talking about, but the current build isn't deterministic either so we don't loose anything.
<gchristensen>
FYI, package maintainers :)
<LnL>
gchristensen: YES, please :)
* gchristensen
notes how nix solves this so cleanly
<LnL>
if... we have enough information
<exi>
yeah... i remember at least one case where upstream release .tar hashes changed because the maintainers "just included something that does not warrant a version bum"
<exi>
bump*
<exi>
but still, nix is great!
<gchristensen>
this is definitely a problem with maven, right LnL?
<gchristensen>
exi: yeah, that does suck. I still prefer the noisy failure though :)
<exi>
gchristensen: yes, indeed
<LnL>
yeah, I like the fact that builds when getting unexpected sources
<LnL>
gchristensen: no idea about maven
<gchristensen>
exi: also with the way nix works if youhave a copy of the intended / correct hash version you can easily import it in to the store and get on with your task at hand
<LnL>
exi: I forgot about lowPrio, I'm fine with it then
<exi>
after merging all of them, my build rule hashed have changed because i started my build from on branch
<exi>
so it's fucked for me anyway :)
aszlig_ is now known as aszlig
<gchristensen>
sad :(
<LnL>
gchristensen: what does that have to do with fetchurl?
<LnL>
changing of adding attributes to mkDerivation should cause a rebuild
<gchristensen>
yes
<gchristensen>
but
<gchristensen>
src = fetchurl { url = "http://ftp.tu-chemnitz.de/pub/Local/urz/ding/${name}.tar.gz"; sha256 = "00z97ndwmzsgig9q6y98y8nbxy76pyi9qyj5qfpbbck24gakpz5l"; }; ... if you change the `name` and have already built the package, you'll already have a thing with the sha256 00z97ndwmzsgig9q6y98y8nbxy76pyi9qyj5qfpbbck24gakpz5l and then fetchurl won't bother downloading again
<gchristensen>
so you'll build 1.8.0 with the name 1.8.1
<LnL>
aaah yes
<LnL>
the url isn't important (which makes sense)
<gchristensen>
and I wish for a way to this to not happen
<gchristensen>
right
<gchristensen>
but if somehow we could add something to the hash calculation to trigger a change
georges-duperon has joined #nixos
<LnL>
I fixed something similar a few week ago where a darwin package used the same sha as a completely different src
<LnL>
it would be preferable for travis to check things like this instead of trying to build the world
<LnL>
IMHO
<exi>
gchristensen: updated the PR with the correct hash...
cpennington has quit [(Ping timeout: 240 seconds)]
<gchristensen>
:evil-thinkey-face: if we convert the name to a number and change the creation date to that number ... I wonder if nix considers the date when calculating hash, and I don't know because everything is set to Dec 31 1969
<NixOS_GitHub>
nixpkgs/master c3f49dc Kier Davis: unigine-valley: install files to a more idiomatic location...
<NixOS_GitHub>
nixpkgs/master aa53e1d Kier Davis: unigine-valley: exclude non-ELF files from stripping during fix-up
<exi>
just something to tell me the hash of a src for some build
<gchristensen>
there is nix-prefetch-url . -A php.src
<gchristensen>
but it doesn't always work :(
<gchristensen>
so I just nix-build and take the failure
t7 has joined #nixos
<gchristensen>
sometimes it outputs the wrong thing, like for fetchpatch, which makes for dangerous changesets
<exi>
gchristensen: yeah but that sucks if i want to do it automatically
nschoe has quit [(Quit: Program. Terminated.)]
<exi>
there has to be a better way (tm)
<gchristensen>
true
<gchristensen>
for fetchurl it works great
Shados has quit [(Remote host closed the connection)]
Seichi_ has quit [(Remote host closed the connection)]
Shados has joined #nixos
lsix has quit [(Quit: Konversation terminated!)]
<jarlg>
Do I need to fiddle with polkit in order to mount (with udisks) a volume to be writeable by a regular user? (I can mount, just not write.)
<clever>
jarlg: what group owns the mount point?
<jarlg>
clever: /run/media/jarlg is owned by root.root . Should I try chgrp users on it?
<clever>
thats only a temporary fix, it will change back to root.root next time it mounts
FRidh has joined #nixos
<jarlg>
clever: Yes, I thought I'd already tried..
dbe has joined #nixos
<dbe>
Hey folks. I've got this wacom device I'm trying to setup. When I plug it in, I get an error "(EE) Failed to load module "wacom" (module does not exist, 0)", but I have xf86_input_wacom in environment.systemPackages.
<gchristensen>
dbe: services.xserver.wacom.enable = true; I mean :)
<dbe>
Oh. Ok. damn, surprisingly easy... thanks.
pi3r has joined #nixos
dbe has quit [(Client Quit)]
ixxie has joined #nixos
<sphalerite>
I want a nix expression to always build the latest version from the master branch of a project. What's the best way of doing this, assuming that adding a default.nix to the upstream repo isn't an option? (still waiting for feedback on whether it is ☺)
evangeline has quit [(Remote host closed the connection)]
<gchristensen>
sphalerite: have a shell.nix in ./shell.nix and the project checked out at ./yourproject
<gchristensen>
sphalerite: in shell.nix refer to src as ./yourproject
ethanoatetint has joined #nixos
<sphalerite>
any particular reason for it to be shell.nix rather than default.nix?
<gchristensen>
well it could be a default.nix
<sphalerite>
but yes, that makes sense. Thanks!
<gchristensen>
anyway the key part is the fetching of master is done outside of nix
<sphalerite>
Makes sense
bronsen has left #nixos ["WeeChat 1.7-dev"]
Avaq has quit [(Ping timeout: 258 seconds)]
Wizek has quit [(Read error: Connection reset by peer)]
<clever>
gchristensen: i have narrowed the problem down to what i believe was the hardening overhaul of nixpkgs
<clever>
gchristensen: but its in the middle of a mass-rebuild
Shou has joined #nixos
Wizek_ has quit [(Ping timeout: 258 seconds)]
<gchristensen>
ahh!
mudri has joined #nixos
<clever>
gchristensen: there are hardening flags on memtest already, but it appears that somebody didnt test it fully enough
<clever>
and i can see how they may miss it under qemu, the default ram is 128mb, but the failure is at 257mb
<sphalerite>
is there a nix builtin function for testing whether a value is an element of a list? Or would one use something like any (y: y == x)?
<clever>
sphalerite: builtins.elem maybe
<sphalerite>
yes, that's exactly what I'm looking for... Thanks. Was searching for "element" in the manual, and the description of "elem" doesn't contain it >_>
pi3r has quit [(Ping timeout: 240 seconds)]
kampfschlaefer has joined #nixos
<sphalerite>
Hm, useful for when default.nix is in a project's source tree: src = builtins.filterSource (p: t: baseNameOf p != "default.nix"); to avoid the derivation hash depending on the exact character contents of the expression
<clever>
you can also exclude .git and any .o files youve built via nix-shell
<clever>
though i try to keep the result symlink and build dir one up
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vME4g
<NixOS_GitHub>
nixpkgs/master ad3e589 Eric Bailey: erlangR19: 19.1.6 -> 19.2...
<sphalerite>
But for a default.nix that gets included with an upstream project, I think it's easiest to just assume that the checkout is clean
[0__0] has quit [(Remote host closed the connection)]
[0__0] has joined #nixos
<NixOS_GitHub>
[nixpkgs] shlevy opened pull request #21811: GHC cross compilation native jailbreak and hsc2hs (master...ghc-cross-hsc2hs-jailbreak) https://git.io/vMEBL
aminechikhaoui has quit [(Ping timeout: 258 seconds)]
michaelpj has quit [(Ping timeout: 252 seconds)]
ambro718 has joined #nixos
uralbash has quit [(Ping timeout: 260 seconds)]
ethanoatetint has quit [(Read error: Connection reset by peer)]
georges-duperon has joined #nixos
<siarheit_>
suppose i have 2 packages installed via 'nix-env -iA': glibc and glibcLocales. they seem to be out of sync for some reason, but running nix-shell -p glibc -p glibcLocales works:http://dpaste.com/07CRAJ1.txt
<clever>
siarheit_: your not supposed to install libraries like glibc, only use them under nix-shell
<siarheit_>
clever, how to get a non-POSIX working then?
<siarheit_>
and why the results are different?
<siarheit_>
what should i actually have in nix-env? (it's a non-nisox)
pi3r has joined #nixos
c0bw3b has joined #nixos
<clever>
siarheit_: the gcc used by nix doesnt look in the profile managed by nix-env, so things you nix-env -i wont help it any
<siarheit_>
clever, how about 'date' utility?
<siarheit_>
or any other tool i install?
<siarheit_>
say, mc. it does not understand non-ASCII
<clever>
tools you want to run from $PATH, you can just install
<clever>
but libraries need to go into nix-shell -p
<siarheit_>
AFAIU date and mc are not libraries
<siarheit_>
locale is not a library
statusbot has joined #nixos
<clever>
siarheit_: locale is in glibc.bin, not glibc's top-level package
<kier>
but i get the above message during configurePhase, and no Makefile is produced
ilja_kuklic has joined #nixos
<kier>
if I nix-shell it, running configurePhase still gives that error but just running "qmake" works fine
<kier>
is configurePhase doing something i'm not aware of in this case?
<gchristensen>
kier: I think yo uwant to add `qmakeHook` to your buildInputs
NeQuissimus has quit [(Ping timeout: 240 seconds)]
<Ralith>
kier: you know to use qt5.callPackage, right?
<kier>
Ralith: yeah, i'm using it
<Ralith>
kk
<kier>
gchristensen: thanks, that seemed to get it going. i'm sure I tried that earlier and it didn't make any difference, so i assumed it was irrelevant. guess I just was holding it wrong :p
rmrfroot` has quit [(Remote host closed the connection)]
altphi has quit [(Quit: altphi)]
evangeline has joined #nixos
<evangeline>
hi, /dev/kvm is missing on my nixos system and I'm not sure why, since I've installed the necessary packages. I suspect it may have something to do with making it optional: https://github.com/NixOS/nix/commit/24cb65efc3c34e24fc653779a4d42cf4f31c6737 ; any ideas how to force the device to be created?
<clever>
evangeline: that only affects its presense within a nix-build sandbox
<avn>
evangeline: load kvm.ko module?
trqx has quit [(Read error: Connection reset by peer)]
<evangeline>
clever, avn I already have "kvm-intel" in the boot.kernelModule, but apparently it is not being loaded; let me check if it is enabled in BIOS, which might explain this, since this is not my laptop.
<clever>
evangeline: you can manauly try loading kvm-intel, and then check dmesg for the error
<ixxie>
where are the builtins defined? builtin.match is undocumented so I need a peek ^^
<ixxie>
builtins.filter (n: n != "default") (pkgs.lib.mapAttrsToList (name: type: let m = builtins.match "(.*)\.nix" name; in if m == null then "default" else builtins.head m) (builtins.readDir ./.));
<ixxie>
oops >.< accidental paste
evangeline has quit [(Ping timeout: 245 seconds)]
<ixxie>
thanks clever
aminechikhaoui has joined #nixos
reinzelmann has joined #nixos
pi3r has joined #nixos
pi3r has quit [(Client Quit)]
<Ptival>
how do I figure out what commits have things like chromium cached?
<clever>
Ptival: any commit that has been in a non-small channel should have everything in the cache
<clever>
so all you can see is the latest commit in each channel
<ixxie>
clever: that weird code xD
<NixOS_GitHub>
[nixpkgs] peti pushed 3 new commits to master: https://git.io/vMEDC
<NixOS_GitHub>
nixpkgs/master 4687b61 Shea Levy: haskellPackages.mkDerivation: Use native jailbreak-cabal when cross-compiling
<NixOS_GitHub>
nixpkgs/master 6091811 Shea Levy: haskellPackages.mkDerivation: Use native hsc2hs when cross-compiling
<NixOS_GitHub>
nixpkgs/master e755dc3 Peter Simons: Merge pull request #21811 from shlevy/ghc-cross-hsc2hs-jailbreak...
<ixxie>
clever: the one for finding the files in a directory that is
<Ptival>
clever: I was trying to get something more recent than unstable, but not necessarily master, are those cached ever?
orbekk has quit [(Quit: system upgrade)]
<Unode>
Ptival: I'm not sure this info is stored anywhere. As far as I understand nix checks if a matching URL exists. If not it proceeds to compiling.
<Unode>
Ptival: in other words, you'll probably have to query hydra for that info
Havvy has quit [(Read error: Connection reset by peer)]
acarrico has quit [(Ping timeout: 245 seconds)]
catch22_ has joined #nixos
AllanEsp1nosa has joined #nixos
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 3 new commits to master: https://git.io/vMES9
<NixOS_GitHub>
nixpkgs/master 8497ef1 Matthew Bauer: gimp: add darwin support
<NixOS_GitHub>
nixpkgs/master 21143cc Matthew Bauer: gtk-mac-bundler: init at 0.7.4
FRidh has quit [(Remote host closed the connection)]
<tippenein>
seemingly the last derivation attempted on a nix-build or nix-shell fails for me
MichaelRaskin has joined #nixos
<tippenein>
error: build of ‘/nix/store/dv7ncg9gdjxsl7ygdzmm2wwk69qn3z48-ghc-7.10.3-with-packages.drv’ failed
<tippenein>
$HOME/.nix-profile/bin/nix-shell: failed to build all dependencies
sboosali has joined #nixos
FrozenCow has joined #nixos
ixxie has quit [(Remote host closed the connection)]
ryanartecona has quit [(Quit: ryanartecona)]
derjohn_mob has quit [(Ping timeout: 248 seconds)]
<FrozenCow>
I think I'm in a bit of trouble :/ I installed nixUnstable and now (after a few weeks) nix is saying: error: current Nix store schema is version 10, but I only support 7
<FrozenCow>
I guess the daemon is a system package and I installed nixUnstable using nix-env, but I was thinking nixos-rebuild would've been in my nix-env as well. It seems that is not the case
<FrozenCow>
nixos-rebuild is still using the old (system-wide) nix. What is the best approach to solve this
<FrozenCow>
?
<FrozenCow>
nixos-rebuild is still using the old (system-wide) nix. What is the best approach to solve this
<FrozenCow>
?
<FrozenCow>
Removing nixUnstable and 'reverting' the nix store would be ideal, but I don't think that is an option atm. Upgrading the system-wide nix to nixUnstable would be the next be the next best thing, but how can I do that when nixos-rebuild isn't in nixUnstable?
[0x4A6F] has joined #nixos
<FrozenCow>
or is it possible to just remove the state-dir and let nix build the system from scratch?
acarrico has joined #nixos
<MichaelRaskin>
I would try $nixUnstable/bin/nix-build '<nixos>' -A system
<MichaelRaskin>
(with some reasonable -o)
<FrozenCow>
aah that makes sense
ixxie has joined #nixos
<MichaelRaskin>
Then I would hope to directly get a link to the system's activation script that _should_ be OK to run directly
<ixxie>
I set nixpkgs.config.chromium.enableWideVine = true; but nixos will not rebuild because of a failure in the builder of a dependency: chrome [sic!?!?]
devhell has joined #nixos
<ixxie>
why would a chromium plugin even depend on chrome
devhell has quit [(Client Quit)]
FrozenCow has joined #nixos
k2s has quit [(Ping timeout: 245 seconds)]
CrystalGamma has left #nixos []
k2s has joined #nixos
derjohn_mob has joined #nixos
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 2 new commits to master: https://git.io/vMEbF
<NixOS_GitHub>
nixpkgs/master 10e2d88 Michael Peyton Jones: arbtt service: init
phanimah1sh has quit [(Ping timeout: 240 seconds)]
c0bw3b has left #nixos []
Itkovian has joined #nixos
<kier>
do I need to pass any special flags to diff to get output suitable for use in the 'patches' attribute of a derivation?
<kier>
i'm getting an error "patch: **** Only garbage was found in the patch input."
phanimahesh has joined #nixos
<kier>
ah, the patch file doesn't actually contain the filenames
michas has quit [(Ping timeout: 245 seconds)]
ixxie has quit [(Quit: Lost terminal)]
eqyiel has quit [(Ping timeout: 256 seconds)]
eqyiel has joined #nixos
eqyiel has quit [(Changing host)]
eqyiel has joined #nixos
<joko>
Anyone familiar with libvirtd? It seems I cannot use virt-install, I get errors like "ERROR '/usr/libexec/qemu-bridge-helper' is not a suitable bridge helper: No such file or directory"
roconnor_ has joined #nixos
hiratara has quit [(Ping timeout: 255 seconds)]
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
hiratara has joined #nixos
jgertm has quit [(Ping timeout: 240 seconds)]
acarrico has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] NeQuissimus created linux_4_8_removal from master (+0 new commits): https://git.io/vMEh9
<NixOS_GitHub>
[nixpkgs] NeQuissimus deleted linux_4_8_removal at 5fa5ab0: https://git.io/vMEjk
cpennington has quit [(Remote host closed the connection)]
sboosali has quit [(Remote host closed the connection)]
sboosali has joined #nixos
<FrozenCow>
MichaelRaskin: it works partly. I've ran result/bin/activate and tried result/sw/bin/nixos-rebuild switch
<FrozenCow>
it still says "current Nix store schema is version 10, but I only support 7" when i run "result/sw/bin/nixos-switch switch". I've also stopped nix-daemon in systemd and manually ran result/sw/bin/nix-daemon
<FrozenCow>
i ran "result/sw/bin/nixos-switch switch" as well as "NIX_REMOTE= result/sw/bin/nixos-switch switch"
<FrozenCow>
but in all cases it says "current Nix store schema is version 10, but I only support 7"
<MichaelRaskin>
After restarting the daemon?
<MichaelRaskin>
I would also try nixos-switch boot
<FrozenCow>
that said, I feel like the system is kind of in limbo. I cannot downgrade and upgrading to a more recent nixUnstable can cause problems. I guess I'll just wait until nixStable's schema version is higher than the current nixUnstable
<FrozenCow>
still though, I'm again impressed how this was solved in nix without any fiddling with files
<maurer>
So, I've just noticed that nixos doesn't generate a per-user group. Why is this?
<maurer>
(Literally every other linux system I've seen would have assigned me the primary group "maurer", but nixos assigns "users", and doesn't even create the group maurer)
pxc has joined #nixos
<maurer>
On another note, does anyone who does rust development in nix happen to know how you're supposed to set up a shell.nix for a library? (given that libraries are not supposed to commit Cargo.locks, just binaries)
<Ralith>
maurer: what does Cargo.lock have to do with it?
<maurer>
Ralith: buildRustPackage requires Cargo.lock to exist so that the dependencies fetched are guaranteed the same
<maurer>
Ralith: basically, it's important when you aren't using src=./. or similar
<Ralith>
maurer: ah, I don't use buildRustPackage in my shell.nix at all
<Ralith>
shell.nix shouldn't need src specified either
<Ralith>
I just have a standard derivation with the suitable rustc and cargo in buildInputs
<Ralith>
I let cargo download and build dependencies like usual
<Ralith>
I hadn't imagined that it might be possible/practical to use nixpkgs' builds of crates during interactive development
<Ralith>
it's an interesting idea
Jackneill_ has quit [(Remote host closed the connection)]
<maurer>
I was just doing my dev the same way as I do with other packages, namely I make a "package.nix" which resembles what would go into nixpkgs if submitted, then a shell/default.nix that invokes it with nixpkgs
<maurer>
This worked fine on my old machine, where I happened to have a cargo.lock sitting around, and just now realized it doesn't work correctly on a fresh machine
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 1 new commit to master: https://git.io/vMuIq
<NixOS_GitHub>
nixpkgs/master b8b1892 Daiderd Jordan: libtasn1: fix darwin build
<Ralith>
maurer: I imagine that there's a magic cargo flag or environment variable you can set to look up packages against your local nixpkgs index rather than crates.io, and thereby generate a lockfile
<Ralith>
if this workflow is to be fully supported I'd expect there to be a way to arrange for that to be passed implicitly
FrozenCow has quit [(Ping timeout: 260 seconds)]
goibhniu has quit [(Ping timeout: 256 seconds)]
<pxc>
sheenobu: just ran across your nix-home project. Thanks for putting something together! I hope your project will be an important piece (along with buildEnv and a user-mode layer for services/NixOS modules) of a more complete Nix experience on non-NixOS :-)
<sheenobu>
pxc, cool, thanks. I'm actually using nix-home with NixOS and haven't tested outside of that.
vtomole has quit [(Ping timeout: 260 seconds)]
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<pxc>
sheenobu: once it is a little more complete (in terms mainly of the features you've planned already) I look forward to replacing SuperUserSpark with nix-home. Looks like it can also replace fresh, which can be used for grabbing particular files from git repos for one's dotfiles. I'm especially excited about what nix-home could do for non-NixOS users, but if I use it it will be everywhere, including NixOS. 😃
acarrico has joined #nixos
<sheenobu>
pxc, cool. I'll make sure to get on those features even though I have no idea how I would begin that (the generations, mostly)
<pxc>
sheenobu: is there a hangup for how to handle generations, or have you just not devised a method yet or studied the way it's done elsewhere, like NixOS and Nix's profiles?
<sheenobu>
the second part. I just haven't devised or studied a way to do it
pstn has quit [(Ping timeout: 255 seconds)]
acertain has quit [(Ping timeout: 258 seconds)]
siarheit_ has quit [(Ping timeout: 255 seconds)]
pikajude has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
siarheit_ has joined #nixos
pikajude has joined #nixos
m0rphism has quit [(Quit: WeeChat 1.4)]
siarheit_ has quit [(Ping timeout: 256 seconds)]
<pxc>
clever: do you happen to know where in the NixOS source the logic for generations and profiles can be found? we're interested in the placement of the links in during the nixos-rebuild (or nix-env -i) process as well as what happens wiht --rollback
danharaj has quit [(Ping timeout: 240 seconds)]
georges-duperon has quit [(Ping timeout: 252 seconds)]
<clever>
pxc: one issue i have found, is that if say i'm generation #4, and i do an update+rollback, i create a 5, then switch back to 4
<clever>
pxc: but if i then do a second update+rollback, it creates 6, then switches back to 5
<clever>
so rollback goes to the generation before the current, not the one it was just on
<sheenobu>
Ah generation rollback is numerically based?
<sheenobu>
I'll take a look
thc202 has quit [(Ping timeout: 245 seconds)]
<clever>
sheenobu: i ran into this issue on my router, nix-channel --update has broken it a few times, and now i have to --rollback 3 or 4 times to undo a single --update
<sheenobu>
ahh
<clever>
once for each time i --update'd and --rollback'd in the past
m0rphism has joined #nixos
<clever>
deleting a generation after rollback would prevent that
<sheenobu>
I assume you wouldn't want to do that by default
<clever>
yeah
<sheenobu>
I'm trying to build 1.11.5 now
<pxc>
thanks, clever! You're the best :-)
<sheenobu>
nix-home could probably just use nix-env to build environments and generations...
<clever>
sheenobu: i recently also used nix-env for network boot images, one min
kampfschlaefer has quit [(Ping timeout: 256 seconds)]
stepcut has quit [(Remote host closed the connection)]
stepcut has joined #nixos
<pxc>
sheenobu: seems like that would be nice and parsimonious, plus let you focus on the tricky task of safely overlaying everything instead of the othr details
<sheenobu>
ahhh a profile is a sequence of generations.
<clever>
sheenobu: and in my case, i'm using --set, so nix-env will never use buildEnv to imperatively merge the new stuff with the old generation
<clever>
sheenobu: it will entirely replace the contents
<pxc>
sheenobu: well, I think the generations are generations _of_ the profile, where the current profile is a link to whichever generation is selected (usually the newest)
<clever>
sheenobu: nixos-rebuild also uses --set in the same way
<clever>
pxc: yep
<pxc>
clever: what router are you running NixOS on, again?
<clever>
pxc: a random server that came out of a rack, dual-socket motherboard, 3gig of ecc ram, 3 gigabit ethernet ports
<clever>
model name : Intel(R) Xeon(TM) CPU 3.20GHz
<pxc>
clever: hahaha that's a capable machine. I thought maybe you threw it on the Linksys WRT1900AC or something like that, since I know you have some other NixOS+ARM systems
<clever>
pxc: all of my current arm machines are 100mbit ethernet, running over usb
<clever>
pxc: and my internet speeds go way over 100mbit
<pxc>
clever: yeah. those little πs just aren't up to it. lol
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
pxc: the xeon router is also running a full hydra install, but i have had issues where the UPS barely lasts 10minutes, then i loose all internet
<sheenobu>
how would I convert that to "nix-env -p $HOME/.nix-home --set "
<clever>
sheenobu: nix-env -p $HOME/.nix-home -f /path/to/something/default.nix -A an_attribute --set
<clever>
sheenobu: that will build the an_attribute attr from the given default.nix, and then use the result as the root of the generation
eqyiel has quit [(Ping timeout: 240 seconds)]
Itkovian has joined #nixos
bennofs1 has quit [(Ping timeout: 255 seconds)]
eqyiel has joined #nixos
eqyiel has quit [(Changing host)]
eqyiel has joined #nixos
<sheenobu>
clever, thanks. Looks like the way nix-home is setup, I don't need the attribute
Itkovian has quit [(Client Quit)]
<pxc>
sheenobu: is that because the $HOME/default.nix contains just one derivation, through mkHome? so just like a package with only one attribute, the attribute doesn't need to be specified?
<sheenobu>
pxc, I'm guessing so yes
mudri has quit [(Quit: WeeChat 1.6)]
<clever>
yeah, if the default.nix returns a single derivation, or an attrset containing primites, and one derivation, it just picks the derivation directly
systemfault has quit [(Quit: Bye!)]
<clever>
similar rules also apply if you -A foo, but it returned { foo.bar = derivation; }
ambro718 has quit [(Ping timeout: 240 seconds)]
<pxc>
does Nix have a facility for plucking individual files out of Git repositories without cloning whole repos?
<simpson>
pxc: Not that I know of. (I don't think that git does, either?)
<clever>
id think it can only be done if the git repo is on github