Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<gchristensen>
anyone know the process of _deleting_ a package? I'd like to drop apacheHttpd_2_2
pi3r has quit [(Ping timeout: 264 seconds)]
<dash>
gchristensen: remove it and see if anyone complains? ;-)
FareTower has quit [(Ping timeout: 246 seconds)]
<gchristensen>
yes, sure, but what about changelogs / stable / etc?
<LnL>
nothing special if it's just on master, I think
<gchristensen>
it'll get to stable though
<LnL>
for the next release you mean?
<gchristensen>
yeah
fare__ has quit [(Ping timeout: 256 seconds)]
<LnL>
no idea if we have a changelog for that
<LnL>
but for deleted packages that can probably just be generated
markus1199 has joined #nixos
<LnL>
gchristensen: perhaps we could have something like aliases.nix but for deprecated/removed packages
barrucadu has joined #nixos
<gchristensen>
graveyard.nix
<barrucadu>
Is it possible to see why something is in the store? I have about 5 different versions of ghc there, which remain after `nix-collect-garbage -d`, and I'd like to know why
ryantrinkle has quit [(Ping timeout: 246 seconds)]
indi_ has joined #nixos
uu has quit [(Ping timeout: 264 seconds)]
indi_ has quit [(Ping timeout: 265 seconds)]
thc202 has quit [(Ping timeout: 248 seconds)]
erasmas has quit [(Quit: leaving)]
bennofs has quit [(Ping timeout: 258 seconds)]
eacameron has joined #nixos
slack1256 has quit [(Remote host closed the connection)]
ryantrinkle has joined #nixos
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to master: https://git.io/vMkOP
<NixOS_GitHub>
nixpkgs/master 825c0d8 Robin Gloster: terminator: fix build and use buildPythonApplication
<NixOS_GitHub>
nixpkgs/master 3f426f6 Robin Gloster: terminator: 0.98 -> 1.0
<barrucadu>
I seem to have a lot of /nix/store/HASH-nixos-system-HOSTNAME-VERSION{,.drv} stuff (2 for 16.09, 4 for 16.03), which is keeping around a lot of old packages. `nix-env --list-generations` only shows one, why might old things persist?
uu has joined #nixos
<gchristensen>
barrucadu: you probabl ywant nix-collect-garbage --delete-older-than 30d (30d = 30 days, you can adjust this)
eacameron has quit [(Remote host closed the connection)]
<sheenobu>
joepie91, oh i guess I would override the services.caddy stuff to include LimitNOFile. not sure how to add additional systemd options to existing nixos services
<joepie91>
sheenobu: so you could probably override that?
<joepie91>
(and string-concat with the original or such? my Nix-fu is not great yet)
acowley is now known as acowley_away
eacameron has joined #nixos
systemfault has joined #nixos
eacameron has quit [(Ping timeout: 252 seconds)]
Hunner has quit [(Read error: Connection reset by peer)]
digitalmentat has quit [(Ping timeout: 245 seconds)]
<gchristensen>
O.o 319
<sheenobu>
ech. go2nix doesn't work with glide so packaging this is a pain
<joepie91>
gchristensen: ohai - are you at 33C3?
<sheenobu>
I can't just run "glide install" in a preBuild
<gchristensen>
joepie91: I wish :( too far.
roconnor_ has quit [(Ping timeout: 246 seconds)]
<joepie91>
aw :(
ericsagnes has quit [(Ping timeout: 258 seconds)]
ericsagnes has joined #nixos
dhess has joined #nixos
ericsagn1 has joined #nixos
ericsagnes has quit [(Ping timeout: 246 seconds)]
dhess has quit [(Client Quit)]
<Chobbes>
Has anybody gotten ghc to build on ARM?
PragCyph1 has joined #nixos
marusich has quit [(Quit: Leaving)]
eacameron has joined #nixos
PragCyphr has quit [(Ping timeout: 258 seconds)]
eacameron has quit [(Ping timeout: 258 seconds)]
<gchristensen>
good night, #nixos :) hopefully someone will step up and take over Ceph in the night.
mkoenig has quit [(Read error: Connection reset by peer)]
roconnor_ has joined #nixos
mkoenig has joined #nixos
hexagoxel has quit [(Ping timeout: 264 seconds)]
indi_ has joined #nixos
hexagoxel has joined #nixos
joepie91 has quit [(Ping timeout: 265 seconds)]
fpletz has quit [(Ping timeout: 258 seconds)]
fpletz has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
proteusguy has quit [(Remote host closed the connection)]
eacameron has joined #nixos
rardiol has quit [(Ping timeout: 245 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
mizu_no_oto has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
mguentner has quit [(Quit: WeeChat 1.6)]
helpusobi has joined #nixos
sellout- has quit [(Quit: Leaving.)]
mguentner has joined #nixos
sellout- has joined #nixos
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Remote host closed the connection)]
roconnor_ has quit [(Ping timeout: 252 seconds)]
mguentner2 has joined #nixos
mguentner has quit [(Read error: Connection reset by peer)]
williamyaoh has joined #nixos
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
<eqyiel[m]>
how do I escape ${FOO} inside of '' '' (for a bash script)?
<williamyaoh>
eqyiel[m]: '' ''${FOO}''
<eqyiel[m]>
oh, my bad, it's in the manual under strings
williamyaoh has quit [(Quit: leaving)]
<eqyiel[m]>
williamyaoh: thank you
<DavidEGrayson>
Heyo, if I have a directory full of files with names like ydk9l45111iki0r6qs5pha2mpf5a806i-mpfr-3.1.4.tar.xz (because they are copies of Nix derivations), is there an easy way to remove the hash part and the dash (so they are recognized by a script that uses them)?
filterfish has quit [(Ping timeout: 240 seconds)]
<DavidEGrayson>
I'll just write the shell script
AllanEsp1nosa has quit [(Ping timeout: 252 seconds)]
proteusguy has joined #nixos
indi_ has joined #nixos
eacameron has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
sdothum has quit [(Quit: ZNC - 1.6.0 - http://znc.in)]
indi_ has joined #nixos
Hunner has joined #nixos
Hunner has quit [(Changing host)]
Hunner has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 252 seconds)]
eacameron has quit [(Remote host closed the connection)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
ebzzry has quit [(Ping timeout: 248 seconds)]
indi_ has quit [(Ping timeout: 260 seconds)]
zraexy has joined #nixos
amarsman has quit [(Ping timeout: 265 seconds)]
amarsman has joined #nixos
indi_ has joined #nixos
zraexy has quit [(Ping timeout: 246 seconds)]
indi_ has quit [()]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
bb010g has quit [(Quit: Connection closed for inactivity)]
Itkovian has joined #nixos
Itkovian has quit [(Client Quit)]
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 258 seconds)]
indi_ has joined #nixos
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
<toogley>
DavidEGrayson: i'm not sure if i understand you problem correctly. but what about "*mpfr-3.1.4.tar.xz" ?
<toogley>
DavidEGrayson: the * should expand to the hash (at least it does in bash)
<rly>
Why does nixos-rebuild switch -I nixpkgs=/src/nixpkgs-channels build webkit from scratch?
Itkovian has joined #nixos
vimuel has quit [(Quit: vimuel)]
mkoenig has quit [(Read error: Connection reset by peer)]
mkoenig has joined #nixos
deepwater has joined #nixos
eacameron has joined #nixos
<c74d>
I tried disabling boot.tmpOnTmpfs and specifying `fileSystems."/tmp" = { device = "tmpfs"; fsType = "tmpfs"; neededForBoot = true; }`; the 9P directories show up fine now, but there's no tmpfs at `/tmp`
<clever>
systemd could be fighting you more
simendsjo has joined #nixos
<c74d>
which I guess is acceptable, unless that means it will fill up with garbage unless manually cleaned
eacameron has quit [(Ping timeout: 248 seconds)]
<rly>
clever: any idea on my issue?
latk has joined #nixos
<clever>
rly: which revision is checked out in that dir?
<manveru>
shanemikel: you mean `nix-channel --update` without running `nixos-rebuild switch`?
mg has joined #nixos
mt has joined #nixos
rly has quit [(Quit: leaving)]
<shanemikel>
no, not using nixos, but nixpkgs on darwin (I know, ##nix-darwin, but I figured this was a nix/nixpkgs specific question; is there a channel for that?)
<shanemikel>
thanks, `nix-channel --update` is exactly what I needed. No wonder my ghcHead was so old...
<LnL>
nix-channel --update only updates the channel, not anything else that's installed
<shanemikel>
sure, and `nix-env --upgrade` for the other stuff.. I didn't realize that the second command didn't also update the channel
<LnL>
nope, it just looks at your user profile
<shanemikel>
does adding/removing libs and tools from my haskell package override (as per the nixpkgs wiki in ~/.nixpkgs/config.nix), trigger a whole rebuild of ghc? and should I keep the build files around for this purpose (I guess by doing nix-build instead of straight install and keeping the `result` symlink around)?
mudri has joined #nixos
schneefux has joined #nixos
<LnL>
not sure what you mean, are you talking about ghcWithPackages?
vimuel has joined #nixos
<shanemikel>
exactly
uu has joined #nixos
vimuel has quit [(Client Quit)]
jgertm has joined #nixos
vimuel has joined #nixos
vimuel has quit [(Client Quit)]
<LnL>
the result of that is just a wrapper, you won't rebuild ghc itself
mahe2 has joined #nixos
<LnL>
but if you want to make sure certain haskell packages are not garbage collected you need a ghc that uses them in your user profile or a result symlink
<deepfire>
anyone seen latest stack failing to find executables (with Nix support enabled) ?
<deepfire>
LnL, what is the reason the postFixup phase isn't treated as the build phase, with regard to variable substitution?
ixxie has joined #nixos
<LnL>
it isn't?
<deepfire>
oh, I see, it is, indeed
<mahe2>
LnL: works like a charm. Thank you very much
<LnL>
you learn a bunch of stuff when you reimplement the nixos modules :)
simendsjo has quit [(Remote host closed the connection)]
<LnL>
I only knew about substituteInPlace --replace before
<mahe2>
FYI: I'm trying to convince my dev team to use nix instead of docker for local development. What I'm doing now is to override some derivations to add some pre configured startup scripts for services we depend on.
<mahe2>
So in the end they should just use nix-shell and exec a few helper scripts to startup the services
mkoenig_ has joined #nixos
<sphalerite>
I'm doing nix-shell -E 'with import <nixpkgs> {}; texlive.combine {inherit (texlive) "collection-xetex";}' but not getting xetex or xelatex commands on the path in the shell... What am I doing wrong?
<LnL>
sphalerite: nix-shell -p
<LnL>
nix-shell with -A or -E will give you the build environment for that derivation
<sphalerite>
oooooh right
vtomole has quit [(Ping timeout: 260 seconds)]
<sphalerite>
but the -p can take a full expression rather than just a path as well?
<LnL>
yup
<sphalerite>
great, thanks
<LnL>
you can think of -p as -E with 'stdenv.mkDerivation { name = "user-environment"; buildInputs = [ (...) ]; }'
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 258 seconds)]
<ixxie>
config.environment.variables adds things to my user's path but they are not available to root; how can I make a path variable available to all users including root?
rardiol has joined #nixos
m3tti has joined #nixos
<garbas>
Profpatsch: sry for late reply i only now noticed you gist you pasted a week ago :)
reinzelmann has joined #nixos
<garbas>
Profpatsch: you want me to comment on the gist itself?
ertesx has joined #nixos
aj__ has joined #nixos
ertes has quit [(Ping timeout: 258 seconds)]
ertesx is now known as ertes
indi_ has quit [(Remote host closed the connection)]
<LnL>
deepfire: also I think you might want libraryHaskellDepends
<gchristensen>
great, thank you!
m3tti has quit [(Ping timeout: 265 seconds)]
<sphalerite>
LnL: that makes sense, thanks
<Profpatsch>
garbas: okay, fine with me
charlesofarrell_ has joined #nixos
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
reinzelmann has joined #nixos
<ixxie>
nobody has a clue how to add a variable to the root's path in a NixOS config?
<sphalerite>
In pkgs/tools/typesetting/tex/texlive/pkgs.nix, is there any particular reason for the collections like "collection-basic" to have lots of lines like deps."abc" = tl."abc"; deps."xyz" = tl."xyz"; rather than deps = {inherit (tl) "abc" "xyz";}
<sphalerite>
?
<Heffalump>
is there a way to specify a subpath in a derivation using fetchgit or fetchFromGitHub? Or some other way to override cabal-install with a git version (the git repository contains both a tool and a library, so they live in subfolders of the main repo)
<gchristensen>
sphalerite: I _think_ because it is auto-generated and they just made it that way. ?
pstn has joined #nixos
<sphalerite>
gchristensen: right, makes sense
FRidh has joined #nixos
<FRidh>
Heffalump: you might be able to pass `sourceRoot = "some/path";`
<FRidh>
ixxie: environment.variables
<FRidh>
in configuration.nix
indi_ has joined #nixos
<Heffalump>
FRidh: what would I pass that to? (I just tried passing it to fetchFromGitHub and to the derivation itself, but no luck)
sdothum has joined #nixos
<ixxie>
thanks FRidh
* Heffalump
plays around with overriding unpackPhase
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vMkAr
<NixOS_GitHub>
nixpkgs/staging 9d09bc6 Vladimír Čunát: Merge branch 'master' into staging
<deepfire>
LnL, yes pure shell
sellout- has quit [(Quit: Leaving.)]
<FRidh>
Heffalump: mkDerivation or whatever functions passes it to stdenv.mkDerivation
<avn>
Heffalump: sourceRoot is for relative path inside unpacked archive
<FRidh>
I just gave nixUnstable a try. Am I correct channels/default repo are removed?
<avn>
Heffalump: so if (for example) ./configure and other stuff lie in software/ -- you can set sourceRoot= "software/"
<FRidh>
or I should say NIX_PATH
<ixxie>
ok FRidh, heres a riddle for you: indeed setting SOME_PATH using environment.variable works (i.e. `sudo echo $SOME_PATH` works). But if I put it in a script, and run that script in sudo, it doesn't.
<avn>
ixxie: sudo bash -c 'echo $SOME_PATH'
<ixxie>
avn: doesn't work
<avn>
ixxie: in your variant $.... expands before sudo, in shell
<deepfire>
LnL, NIX_REMOTE=daemon does changes the situation, but doesn't appear to help -- the bug report is updated to reflect the new way it fails
mahe2 has quit [(Ping timeout: 248 seconds)]
<Myrl-saki>
How do I set a kernel module to be loaded?
<avn>
ixxie: I have nix.nixPath = [ "nixpkgs=/etc/nixos/nixpkgs" ]; in my configuration, so it work on both user and sudo
<Heffalump>
avn/FRidh: is this the sourceRoot that unpackPhase uses? I managed to get that set before unpackPhase ran, but it doesn't seem to like it just being a relative path, it just fails to find it.
mahe2 has quit [(Client Quit)]
<ixxie>
avn: I don't quite understand how that how that would solve this; what is nix.nixPath?
<FRidh>
Heffalump: yes, that's what the unpackPhase uses.
indi_ has quit [(Remote host closed the connection)]
<mpickering>
I have a list of derivations and am trying to filter out the ones which are only for OSX but it seems trying to access any attributes of such packages causes assertion failures?
<rly>
srhb: /run/current-system/sw/bin/updatedb: line 323: /nix/store/6klirlqqv7np3z588x29viqgh9b018xs-findutils-4.6.0/var/locatedb.n: Read-only file system
<srhb>
rly: Oh. I guess the systemd service defines the proper path in /var/something
<srhb>
rly: You might want to check how it does it.
reinzelmann has quit [(Quit: Leaving)]
<rly>
srhb: the usability of this is zero.
indi_ has joined #nixos
<rly>
srhb: not your fault, I know.
<LnL>
mpickering: yes, they get evaluated first
<NixOS_GitHub>
[nixpkgs] domenkozar pushed 1 new commit to rocksdb: https://git.io/vMkhv
<NixOS_GitHub>
nixpkgs/rocksdb 8b45139 Domen Kožar: rocksdb: build without debug
<rly>
updatedb --output=/var/cache/locatedb # for $SEARCHENGINE
<srhb>
rly: It ought to have a wrapper with some sane NixOS defaults I guess.
<rly>
/run/current-system/sw/bin/updatedb --output=/var/cache/locatedb # something which always works.
<rly>
Well, if you installed it as a service too, that is.
<mpickering>
LnL: Why? I should still be able to query the system of derivations I can't build?
<LnL>
mpickering: nix-env -qa \* -P works
namor has joined #nixos
<mpickering>
I am still trying to build all the haskell packages if you remember that from a week or so ago
<LnL>
ah right
<mpickering>
so I have the set of haskell packages, haskellPackages and am trying to filter out the ones with OSX dependencies
edofic has joined #nixos
sigmundv__ has joined #nixos
<mpickering>
perhaps there is just one and I can hardcode it
<LnL>
if you just want packages that will build on your current system you can generate a list with nix-env
<namor>
regarding haskell packages.. why entry should I put in my nixos configuration.nix to install say parsec? I tried to use haskellPackages.parsec, but ghc wont find it..
ju8ue7e has joined #nixos
<ixxie>
avn: thanks for that! this solved the issue; I added the pertinant path to sudo in security as you did with NIX_PATH!
<mpickering>
namor: You need to use the ghcWithPackages wrapper
<gchristensen>
though you may need to enable sandboxed builds
cfricke has joined #nixos
<domenkozar>
mpickering: not sure what's ./packages, but if it works then let me know if you need more help
<mpickering>
domenkozar: Just that with a file with a list of all the packages in lts which I made with sed
<mpickering>
packages is just a list of all the packages
<mpickering>
and it appears to work, downloading all the caches now anyway
<mpickering>
thanks for your help on this
tvon has joined #nixos
<domenkozar>
awesome :)
<domenkozar>
sadly nixpkgs doesn't ship with all tls versions anymore, that was a really good feature :/
eacameron has quit [(Ping timeout: 258 seconds)]
<gchristensen>
that was really cool.
sigmundv__ has quit [(Ping timeout: 256 seconds)]
<gchristensen>
a lot of work, though, apparently
<domenkozar>
yeah
takle_ has quit [(Remote host closed the connection)]
Shou has joined #nixos
ixxie has quit [(Ping timeout: 248 seconds)]
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vMIve
<NixOS_GitHub>
nixpkgs/master 5810701 Michael Raskin: go_bootstrap (go_1_4): 1.4.3 -> 1.4-bootstrap-20161024
<NixOS_GitHub>
nixpkgs/master 5b1dad7 Michael Raskin: go_1_6, go_1_7: comment out testLoadFixed in a way recommended by vcunat. The test depends on specific timezone names, and the latest tzdata changed the naming. Upstream only agrees to fix the test in the 1.8 branch that has no stable releases yer
eacameron has joined #nixos
pi3r has joined #nixos
<rly>
Does the LTS actually mean anything in the Haskell world? I mean; is anyone running some proprietary test suite?
bittmario has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 252 seconds)]
<peti>
rly: It means very little, IMHO. The LTS package set ensures that all packages in the set compile against each other. That's it, basically.
joepie91 has joined #nixos
<rly>
Wow, that sounds like a week of work to accomplish that and yet people talk about it as if it some huge thing.
<NixOS_GitHub>
nixpkgs/release-16.09 b62516e Michael Raskin: go_bootstrap (go_1_4): 1.4.3 -> 1.4-bootstrap-20161024
<NixOS_GitHub>
nixpkgs/release-16.09 d7a3160 Michael Raskin: go_1_6, go_1_7: comment out testLoadFixed in a way recommended by vcunat. The test depends on specific timezone names, and the latest tzdata changed the naming. Upstream only agrees to fix the test in the 1.8 branch that has no stable releases yer
<msd>
viric: could we please merge or work on this PR? https://github.com/NixOS/nixpkgs/pull/21086 <- thanks! Just feel bad because the author's been waiting for a response for a few days now.
willeh has quit [(Ping timeout: 240 seconds)]
<LnL>
gchristensen: wow, that looks like a pretty significant improvement
<gchristensen>
I'll say
<Dezgeg>
nice, I had been thinking of investigating nfs-ganesha for vm tests
<niksnut>
Dezgeg: I also looked into nfs-ganesha a while back, but gave up
<niksnut>
couldn't get it to work iirc
<Dezgeg>
ok, documentation seemed quite bad indeed
willeh has joined #nixos
<niksnut>
also, it's hard to beat the simplicity of using the 9p server built into qemu
<Mic92>
rly: they recently removed the option from installer
<rly>
Mic92: so, will I also not be able to do nixos-rebuild on those systems?
<Mic92>
rly: this will still work
<newNixos>
enjoy your copylefted freedom
<Mic92>
rly: but requires network access
msd has quit [(Ping timeout: 252 seconds)]
<newNixos>
if it was up to me Id close the issue and stick zfs back in
<newNixos>
_f**m 'm_
eacameron has quit [(Ping timeout: 256 seconds)]
mudri has joined #nixos
<Mic92>
newNixos: the boot menu option could be an option.
<Mic92>
I could also host zfs enabled ISOs
amarsman has quit [(Ping timeout: 264 seconds)]
cjhowe has joined #nixos
<newNixos>
having total disregard for intellectual facism is freeing up a lot of my time. I only care because it impacts people who are actually scared of the consequences. If anyone ever tried to come after this over it, id be mora than happy to go beak all their limbs ... Id tell everyone to move to a place where its unenforced but I know thats impossible. The plan is to form a new sovereigh territory where all
<newNixos>
intellectual facism l
<newNixos>
will be made void
<cjhowe>
hi, how do I get the `xorg.libX11` package to show up in pkgconfig? I noticed that glfw shows up just fine
<Mic92>
newNixos: I feel the same.
<newNixos>
so keep the copyleft facist notice on nix, its fine cause Im gonna void it someday, soon I hope :)
indi_ has joined #nixos
<rly>
Mic92: I think SfConservancy is wrong.
* kmicu
ಠ_ಠ
<rly>
Mic92: now, I fully appreciate that nobody cares about my ideas regarding this.
<rly>
Still, in a decade or so, you will be able to read here that I was right ;)
<newNixos>
nough time lost for today
newNixos has quit [(Quit: WeeChat 1.6)]
markus1199 has quit [(Ping timeout: 264 seconds)]
<rly>
#nixos is getting more violent everyday.
<Mic92>
rly: well, would be cool, if we got the opinion of a lawyer here.
<cjhowe>
i'm trying to get cmake to find libX11 to be clear
<FRidh>
what proprietary Qt5 applications do we have in Nixpkgs?
markus1189 has joined #nixos
<rly>
Mic92: the laywer can also only give their opinion, because it is new territory.
<NixOS_GitHub>
nixpkgs/master 6d455dd risicle: opencv 3.1.0: add patch fixing python use of FlannBasedMatcher.add (#21086)...
<manveru>
FRidh: virtualbox?
<rly>
I also don't really see the difference between getting data over a network, in compiled form, or source form, or whatever.
<rly>
I think the notion of a "binary" doesn't exist in copyright.
<rly>
From a societal point of view it's also inefficient for such a difference to exist.
<rly>
And laws are supposed to support efficient economics.
<FRidh>
manveru: do we also have the proprietary version? I thought only the open source edittion
amarsman has joined #nixos
<manveru>
hmm, maybe it was only the addons?
<manveru>
i remember that i always have to prefetch some binary to install vbox
<joko>
manveru: the extensions that is
<FRidh>
ok
<FRidh>
I'm attempting to update mendeley which now switched to qt5 from qt4
<FRidh>
but it complains it can't find the xcb plugin which seems to be distributed with mendeley. Setting QT_PLUGIN_PATH doesn't seem to make any difference
<Ptival>
is anyone knowledgeable in debugging cabal2nix issues where one of the dependencies fails to install because of version bounds?
<NixOS_GitHub>
nixpkgs/master d7bda1e Michael Raskin: clisp-tip: init at 2.50pre20161201. There hasn't been a release for quite some time, but there has been some development. It is rumored that the fresh version can be built on darwin, but I don't know and cannot test
<mpickering>
Can I send nix-build logs to a file somehow?
pi3r has quit [(Ping timeout: 260 seconds)]
<rly>
Ptival: I am sure many > 3 people in here are, but you can better just ask your real question.
<cjhowe>
nvm i figured it out, `nix-build` is pretty awesome
<rly>
cjhowe: nix-shell is too.
<deepfire>
mpickering: "Nthey are lote that the builder's standard output and error are always written to a log file in prefix/nix/var/log/nix" -- from the --no-build-output part of 'nix-build' manpage
<domenkozar>
gchristensen: done
<deepfire>
mpickering: "Note that the builder's standard output and error are always written to a log file in prefix/nix/var/log/nix"
<mpickering>
thanks perfect
digitus has joined #nixos
jgertm_ has quit [(Ping timeout: 246 seconds)]
<cjhowe>
now i just need to figure out how to get emacs to run in that environment
<Ptival>
rly: well my question is, I can't get into a shell with snap because it depends on HsOpenSSL-0.11.3.2 which tries to build Glob-0.7.13 which fails because it says "directory <1.3" where the current version of directory is 1.3
<rly>
I got something awful to run on NixOS today \o/.
<Ptival>
domenkozar: I don't think I was using a commit other than my "current" nixpkgs
<mpickering>
Ptival: Which version of the compiler are you using?
<Ptival>
so I should pass a flag to nix-shell to point to a checkout of nixpkgs?
<Ptival>
ghc802 I think
<Ptival>
though I'm happy changing that
<mpickering>
Yes, this is the problem. The version of directory got bumped to 1.3
<mpickering>
so there have been some ripples
<mpickering>
It would be easier using 801 for now
<LnL>
Ptival: you can see what happens if you jailbreak the package
cfricke has quit [(Ping timeout: 264 seconds)]
<Ptival>
ok, will try ghc801 first
<gchristensen>
domenkozar: thank you!
<mpickering>
Ptival: Or as others suggest you can add an override but I think there will be some other packages with this problem
<Ptival>
I'm a bit oblivious as to how all those things work, so all users of nixpkgs are pointed to a given version number for each package, depending on what compiler version they pick?
joko has quit [(Quit: leaving)]
<mpickering>
directory is special because it ships with the compiler
<Ptival>
ah
<fpletz>
domenkozar: we're not really using it and I think it's broken right now… globin? :)
<Ptival>
well at least it's nice knowing I did not fuck it up :)
<Sonarpulse>
there should be a few new jobs `ensureUnaffected.<...>`
danielrf2 has quit [(Read error: Connection reset by peer)]
<kragniz>
is anyone using android studio from unstable at the moment?
<kragniz>
I'm getting `java.awt.AWTError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.` whenever I try and run it
msd has quit [(Ping timeout: 246 seconds)]
indi_ has quit [(Remote host closed the connection)]
indi_ has joined #nixos
indi_ has quit [(Read error: Connection reset by peer)]
justanotheruser has quit [(Quit: WeeChat 1.5)]
indi_ has joined #nixos
justanotheruser has joined #nixos
Xackle has quit [(Quit: C-x C-c)]
rly has quit [(Ping timeout: 268 seconds)]
johnw has joined #nixos
indi_ has quit [(Ping timeout: 260 seconds)]
zraexy has joined #nixos
jluttine has quit [(Read error: Connection reset by peer)]
jluttine has joined #nixos
<toogley>
kragniz: hm, that's a strange error, but to me, it doesn't seem very related to android studio. can you post your configuration.nix?
Matrixiumn has joined #nixos
joepie91 has quit [(Ping timeout: 240 seconds)]
<kragniz>
I think it is related, since clion runs fine
<toogley>
kragniz: at the moment, i don't know how to help, sry. (but i'm currently installing android-studio to reproduce it)
eacameron has quit [(Remote host closed the connection)]
eacameron has joined #nixos
msd has joined #nixos
msd has quit [(Client Quit)]
latk has quit [(Ping timeout: 248 seconds)]
<kragniz>
alright, cool
<kragniz>
are you on unstable?
eacameron has quit [(Remote host closed the connection)]
cjhowe has joined #nixos
danielrf has joined #nixos
rardiol has joined #nixos
Itkovian has joined #nixos
bfrog_ is now known as submersive
dhess has joined #nixos
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
m3tti has quit [(Remote host closed the connection)]
<dhess>
Dezgeg: Hi, I'm having trouble with the latest armv7 image on a Jetson TK1. When doing a rebuild (or any heavy network activity), enp1s0 eventually hangs.
<ToxicFrog>
builder for ‘/nix/store/mwbgi1nlk2i3jbxascczkyq9r1w8rjdc-go-1.4.3.drv’ failed with exit code 1
<deepfire>
does anybody use any dependency graph analysis tools?
<dtzWill_>
ToxicFrog: same, just was looking at that myself heh
<ToxicFrog>
Well, at least I'm not the first person to discover this :P
<deepfire>
..that is, outside manual inspection via 'nix-store --query --graph'
<ToxicFrog>
I'm actually wondering if I should switch to unstable in the hopes that a more recent kernel and X would stop these whole-system lockups I'm having when trying to game.
rly has quit [(Ping timeout: 246 seconds)]
<dtzWill_>
interesting--just curious, what sort of graphics card/driver are you using, ToxicFrog?
<sphalerite>
Is pkgs.runCommand documented anywhere? Grepping the nixpkgs manual yielded nothing
<dtzWill_>
I had occasional gpu problems but the machine is inherited and was suspected of potential hardware faults so didn't investigate too thoroughly... "solved" by using nouveau and disabling compositing lol :/
cjhowe has joined #nixos
<ToxicFrog>
dtzWill_: Lenovo T550 with Intel HD5500 integrated card. Not sure which driver is loaded; how do I check?
<ToxicFrog>
I'm pretty confident it's not a hardware problem, because two weeks ago this same system was running SUSE and the same games worked flawlessly -- but it was SUSE TW, so kernel 4.8
<dtzWill_>
ToxicFrog: well I had to /specify/ what driver to use in my configuration.nix--also, intel only as the one driver AFAIK (as opposed to ati/nvidia and their open-source vs binary versions)
dtzWill_ is now known as dtzWill
danielrf has quit [(Quit: WeeChat 1.6)]
<ixxie>
deepfire I was thinking of doing something using R
<ixxie>
but it will be a while before I get into that
<ToxicFrog>
dtzWill: yeah, I didn't need to specify a driver, it just worked
<dtzWill>
deepfire: it /is/ surprisingly poorly tooled AFAICT--for example, use of ancient graphviz 'dot' format everywhere is craziness haha
<ixxie>
(deepfire: where does nix-store --query --graph output the graph to?)
Itkovian has joined #nixos
eacameron has quit [(Ping timeout: 264 seconds)]
cjhowe has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<toogley>
kragniz: is still installing (my internet connection is slow :D)
takle has joined #nixos
m3tti has joined #nixos
joepie91_to_go has quit [(Ping timeout: 268 seconds)]
<m3tti>
hi there i've a problem
<deepfire>
ixxie, stdout, if my 10-minutes-old memories don't fail me..
<m3tti>
i've a user-environment folder in my nix/store
* deepfire
meanwhile, hacks something with bash, grep and sed..
<m3tti>
that includes purescript but i haven't installed it with my nix configuration. How do i get rid of it?
cfricke has quit [(Ping timeout: 260 seconds)]
<LnL>
m3tti: run the gc?
<m3tti>
i've allready run it
<m3tti>
nix-store --gc and nix-collect-garbage -d and --generations old
<LnL>
then there's something that's keeping it alive
<ericbmerritt_>
but the images are huge. I wonder if there is anyway to shrink them down?
rly has joined #nixos
aj__ has quit [(Ping timeout: 258 seconds)]
catch22 has joined #nixos
jgertm_ has joined #nixos
ejr has quit [(Remote host closed the connection)]
<m3tti>
LnL: you're right what can i do now?
<LnL>
m3tti: is that a nix-env profile?
<m3tti>
i don't know
<m3tti>
how can i check that
<LnL>
what system are you on?
shanemikel has quit [(Quit: My MacBook Air has gone to sleep. ZZZzzz…)]
<m3tti>
nixos
<LnL>
I think it's the user profile of root then
<LnL>
nix-env -q -p /nix/var/nix/profiles/default
joepie91_to_go has joined #nixos
<m3tti>
right
<m3tti>
its root
<m3tti>
nix-env -q
<NixOS_GitHub>
[nixpkgs] tg-x opened pull request #21505: mpd: listen on 127.0.0.1 by default (master...mpd-listen) https://git.io/vMIRl
<m3tti>
LnL: thanx again :-(
<LnL>
no problem :)
tvon_ has joined #nixos
<m3tti>
one more question why does a postInstall in my nix file with an npm install -g doesn't work?
tvon_ has quit [(Read error: Connection reset by peer)]
tvon_ has joined #nixos
Itkovian has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<mpickering>
The agda derivation is busted with the RC2 candidate, what's the right way to update it to version 2.5.2?
tvon has quit [(Ping timeout: 258 seconds)]
<toogley>
kragniz: and yes, i'm on unstable
AllanEsp1nosa has joined #nixos
<musicmatze>
I guess I just made someone try nixos! :-) So my job for today is done... I will now have my ... 5th? 6th? Mate and then I will party hard at the lounge at 33c3! :-)
<mpickering>
It doesn't seem that nixos is a hard sell to me
<mpickering>
aim higher!
alx741_ has joined #nixos
alx741 has quit [(Ping timeout: 245 seconds)]
petar has quit [(Remote host closed the connection)]
petar has joined #nixos
petar has quit [(Remote host closed the connection)]
petar has joined #nixos
ixxie has quit [(Ping timeout: 258 seconds)]
<joepie91_to_go>
musicmatze: if you can still count them, you haven't had enough of them! :)
<lassulus>
savanni: hey, I read you started working on an icingia2 nixos module/pkg
<lassulus>
is there any progress?
tvon_ has quit [(Remote host closed the connection)]
sellout- has quit [(Quit: Leaving.)]
tvon has joined #nixos
tvon has quit [(Ping timeout: 265 seconds)]
Shou has quit [(Ping timeout: 260 seconds)]
reinzelmann has quit [(Quit: Leaving)]
tvon has joined #nixos
<dhess>
Dezgeg: now getting the same issue even as far back as the Aug 28 image running 4.7.0.
<savanni>
lassulus: Actually, I didn't have a lot.
<savanni>
It became irrelevant when I left my last job...
jgertm_ has quit [(Quit: WeeChat 1.6)]
<savanni>
But Icinga2 was really tricky. Even installing it on an Ubuntu machine left a lot of steps that I had to work out manually.
tvon has quit [(Remote host closed the connection)]
jgertm_ has joined #nixos
<rardiol>
what's the easiest way to CRLF -> LF everything in a nix build?
<dhess>
Dezgeg: for the record this appears to be a common issue with the RTL8111GS on the TK1 dev board. Most of the time the recommendation is to compile the vendor-supplied driver, which sounds yucky.
<lassulus>
savanni: ok, thanks. Are there other monitoring solutions you would prefer over icinga2?
<savanni>
I'm not really sure. Icinga2 makes a lot of sense in one sense...
<dhess>
Dezgeg: I have an Intel 7260 WiFi adapter being delivered tomorrow, hoping that will work better than the on-board Ethernet. Still, odd that nobody else has reported this. Maybe not many people use the TK1?
<savanni>
I think my preferred strategy, though, is to have log files shipped to a central server and then to raise an alert if the log stops getting updates.
Wizek_ has quit [(Ping timeout: 246 seconds)]
<savanni>
But devops professionals disagree with me.
hiratara has quit [(Ping timeout: 245 seconds)]
<dtzWill>
ToxicFrog: do you know if there's a bug filed for the "go" failure on 16.09?
hiratara has joined #nixos
<bennofs>
rardiol: use find and dos2unix?
deepfire has quit [(Ping timeout: 246 seconds)]
<musicmatze>
joepie91_to_go: right!
<dtzWill>
ToxicFrog: nevermind, looks like it's been fixed and is in 16.09-small already, so hopefully in 16.09 soon :)
hiratara has quit [(Remote host closed the connection)]
hiratara has joined #nixos
<kragniz>
toogley: that's normally when some download timed out somewhere
tvon has joined #nixos
<LnL>
gchristensen: none of the maintainers looking at it anymore?
<LnL>
that expression looks a little bit over engineered :)
Itkovian has joined #nixos
<gchristensen>
LnL: nope, wkennington hasn't replied in >2 weeks, ak isn't even @ak on github, and no reply on the mailing list.
<Sonarpulse>
ceph is the fs thing?
<LnL>
yes
<gchristensen>
yeah
<LnL>
I'm actually pretty surprised how many of the openstack services we have
<gchristensen>
our version is quite out of date
<gchristensen>
LnL: me too...
<gchristensen>
I almost wish we hadn't, since right now we don't have (m)any people maintaining them
<LnL>
I wonder if somebody has setup a full openstack environment
Shou has quit [(Ping timeout: 240 seconds)]
Shou has joined #nixos
wayne has joined #nixos
<wayne>
hi
<sphalerite>
I've booted the netboot image via PXE, and for some reason nix programs can't create /nix/sore/.links, saying it's a read-only file system. Is there a way to fix this manually?
<sphalerite>
(/nix/store is a squashfs mount, so it does make sense that it would be read-only)
<gchristensen>
(9.2.1 ended support in april, that is)
Wizek_ has joined #nixos
mkoenig has joined #nixos
<LnL>
of all the openstack services I'd think it's one of the more useful
<gchristensen>
ceph is great
bitchecker has joined #nixos
<gchristensen>
one time I hit a bug in it though which caused all the nodes mounting a posix filesystem over ceph to kernel panic and crash
<LnL>
euh, that's not nice
petar has quit [(Quit: Reconnecting)]
<gchristensen>
no
petar has joined #nixos
<gchristensen>
but it was several years ago and I had like half a million files in a single directory
<gchristensen>
I' m assuming that isn't the state of the art now
petar is now known as Guest28858
slack1256 has quit [(Remote host closed the connection)]
Guest28858 has quit [(Client Quit)]
petar_ has joined #nixos
<LnL>
yeah I think it's pretty stable now
<LnL>
perhaps I'll take a look sometime
petar_ has quit [(Client Quit)]
petar_ has joined #nixos
* gchristensen
covertly adds LnL7 as maintainer of ceph
petar_ has quit [(Quit: Reconnecting)]
petar_ has joined #nixos
jmiven has quit [(Quit: co'o)]
petar_ has quit [(Client Quit)]
petar_ has joined #nixos
jmiven has joined #nixos
<sphalerite>
https://gist.github.com/lheckemann/78e4cb38ae3cc280b6d89f8f13e7727f here's what I use to run my PXE server with which I'm trying to boot a machine so I can install nixos on it. Any idea what I might be doing wrong so that the nix store is mounted read-only and nixos-install doesn't work?
cjhowe has joined #nixos
adlaiduncan9 has joined #nixos
<LnL>
:p
<alphor>
does anyone here use nix to manage home servers?
<gchristensen>
I use nix to manage home and work servers