<joepie91>
yeah, seems this is gonna take a while :)
<joepie91>
bennofs: while it's compiling... what approach would you recommend for applying this change permanently?
<joepie91>
assuming it won't be merged into nixpkgs
<bennofs>
joepie91: still looking. it looks like we can just patchelf it proper, just need to find the correct file to patchelf
<joepie91>
alright
exarkun has joined #nixos
<pxc>
has anyone else run across the Elvish shell? I just came across it in an issue for the weirdo-shell I'm currently using (fish) and it looks like it might be really awesome some day: https://elvish.io/
<pxc>
it has lambdas, higher-order functions, lists and maps with nice literals
<pxc>
and its pipelines are 'structured', so arguments kind of have types
<joachifm>
there's also es, if you're into that kind of thing
<pxc>
I knew you lot would have some good recommendations! I'm happy to use non-POSIX shells if they're good
<pxc>
thanks, joachifm
dbmikus has joined #nixos
<joachifm>
both are in nixpkgs ofc :)
Helloo has joined #nixos
<bennofs>
there's also oilshell. not that I have looked at it much or even used it
Helloo has quit [(Client Quit)]
<ndowens08>
ok i tried to do ls /nix/store/*/sat.core.i18n and well cant find something that provides sat.core.i18n
dbmikus has quit [(Ping timeout: 260 seconds)]
<ndowens08>
All i know is to submit the new update, as the previous version, the same binary didnt work either
<LnL>
ndowens08: that only works if it already exists in your local sstore
<bennofs>
ndowens08: there is no such thing in all of current nixpkgs if you consider all paths reachable through some attribute exposed to nix-env
<ndowens08>
true; i was being hopeful that i would find something
<bennofs>
ndowens08: (the closure of all things that nix-env -qap would list does not contain a file that has the name sat.core in it)
<bennofs>
at least for relatively current nixpkgs-unstable that i indexed
<ndowens08>
nix-env -qap sat.core
<ndowens08>
woops
<bennofs>
ndowens08: but I haven't indexed stuff that is not visible to nix-env (or not required by anything that is visible to nix-env), not stuff that is not build on hydra
<bennofs>
s/, not/, nor
eacameron has quit [(Remote host closed the connection)]
<ndowens08>
be nice when hydra builds a package, it attaches a list of files that package contains so it could be searched apon to find which pkg has it
* ToxicFrog
warily switches the laptop to nixos-unstable in the hopes of getting kwin to stop CRASHING CONSTANTLY
<joepie91>
bennofs: btw, would you recommend that I switch my 'master' packages to 'unstable' instead?
<joepie91>
since the only purpose is to just get the newest version in nixpkgs
<joepie91>
of some things that are subject to a lot of change
jsgrant_ has quit [(Ping timeout: 268 seconds)]
<joepie91>
(desktop system, so stability is not really relevant)
Helloo has joined #nixos
<bennofs>
joepie91: nixpkgs-unstable is generally recent enough, and you do get the benefit of the binary cache. Otherwise, you can also try checking out master from a little time ago (like 5 hours or so) so that the binary cache has hopefully already caught up to that version
<bennofs>
joepie91: I often test packages on nixpkgs-unstable/nixos-unstable and then just cherry-pick the commit to master
<joepie91>
bennofs: how is the unstable branch produced exactly? is it just "everything in master once it's in the binary cache"?
<bennofs>
joepie91: it's a version of master that has everything build + a few critical tests pass
<bennofs>
ndowens08: does that have anything to do with the pr? o.o
<ndowens08>
yeah i have no idea what happened
<ndowens08>
lol nope
<bennofs>
no that's a different one
<bennofs>
wtf
<ndowens08>
yeah :\
<bennofs>
ndowens08: and that PR has no commits? :O
<ndowens08>
lol dont worry didnt actually merge mine
<joepie91>
bennofs: thanks a lot :D
<ndowens08>
it doesnt seem
<joepie91>
bennofs: you have saved my weekend :P
<bennofs>
ndowens08: "i merged 0 commits into NixOS:master" well that sounds productive xd
<ndowens08>
lol yup
systemfault has quit [(Quit: Bye!)]
<ToxicFrog>
Hmm. Ok, it's not obviously broken. Win-key still breaks if I switch ttys. On the plus side, digikam works again, which is nice.
<bennofs>
ndowens08: oh it got confused probably because NixOS:master is now a fast forward of ndowens08:master
<bennofs>
and it is so due to my commit
<bennofs>
i guess technically, my commit merged 0 of your commits into NixOS:master, by just adding a commit on NixOS:master
<ndowens08>
i looked at the one you merged, doesnt seem to have any of what was my pkg in it
<bennofs>
ndowens08: equavilent to a fast-forward merge of 0 commits
<bennofs>
ndowens08: a fast-forward merge of 0 commits is just a single commit with a single parent
<ToxicFrog>
ssh is still super flakey and full of timeouts (but only on my laptop)
<bennofs>
ndowens08: any commit would have triggered that msg
<ToxicFrog>
Time will tell if kwin is less crashy.
<ndowens08>
heh, well i got to redo mine anyway lol
<ndowens08>
bennofs: may have happened b/c i was trying to fix mpop from being added to every commit somehow even though it was previously pushed as a PR
<ndowens08>
i could be in a diff branch and it would keep adding mpop
<ndowens08>
i know one thing, i am learning git more than i use to know lol
<bennofs>
ndowens08: well, I think I know what happened. Normally, when you do a fast-forward merge, the history after the merge looks like this: A P1 P2 P3 B where P1 P2 P3 are the pr commits, A is master before the merge and B is the merge commit
<ndowens08>
i've learned how to fix many of my mistakes, that one i was having was new
<ndowens08>
and well i got rid of the issue lol
<bennofs>
ndowens08: now, if you have a PR without commits (your master was identical to NixOS master), then that would just like: A B, so you cannot distinguish it from any normal commit B! so github was thinking that with B, i merged your "empty" PR
<joepie91>
bennofs: that's an excellent commit message, btw
<ndowens08>
bennofs: well previously it did have comits lol
<justanotheruser>
How do I define the package that I want to call the new derivation? https://hastebin.com/raw/topifariji The option `mystlink' defined in `/etc/nixos/overrides.nix' does not exist.
<bennofs>
ndowens08: the funny thing is, if this sort of "auto merge" occurs with any commit for an empty PR, could I use that to get fake contributor stats? Just submit an empty PR, wait for someone to commit something and you've got your PR's merged / day metric inflated :D
<ndowens08>
lol well i do need more commits, as i am what, maybe 3rd place this month? lol
<ndowens08>
yup i am in 3rd with 112
systemfault has joined #nixos
systemfault has quit [(Max SendQ exceeded)]
systemfault has joined #nixos
obadz has quit [(Ping timeout: 260 seconds)]
<ndowens08>
ok git is giving me to remove .git/gc.log but that file doesnt exist and git prune doesnt work
<ndowens08>
that is when trying to do nox-review
dbmikus has joined #nixos
<Dezgeg>
do that in ~/.nox/nixpkgs
<ndowens08>
ah thanks Dezgeg
exarkun has quit [(Ping timeout: 240 seconds)]
<dhess2>
hi Dezgeg. Any idea when you'll have an aarch64 install .img? I'd like to try it on my new Jetson TX1.
<NixOS_GitHub>
nixpkgs/master 5d51f1d Joachim F: Merge pull request #24000 from taku0/firefox-bin-52.0.1...
<hodapp>
I should really get the Google Cloud Print connector into nixpkgs if this works.
<hodapp>
though I guess I should perhaps make a service out of it too, and learn how to do that
<Acou_Bass>
pikajude: apparently you can do it in .Xresources
<pikajude>
i don't think i believe that
<Acou_Bass>
mines got the line Xcursor.theme AdwaitaGreen
<pikajude>
i've tried to customize cursor in xresources maybe 30 times
<Acou_Bass>
youre probably right TBH :P mines just got the line, though that could suggest i tried it and it didnt work hehe
<Acou_Bass>
i also have something in my gtkrc-3.0 gtk-cursor-theme-name=AdwaitaGreen, but i dont really see why lxappearance would write that file, with it being a gtk2 app at the moment
systemfault has quit [(Quit: Bye!)]
kampfschlaefer has quit [(Ping timeout: 260 seconds)]
<hodapp>
why is this still compiling >_< I thought Go was supposed to build really quickly
jsgrant has quit [(Ping timeout: 240 seconds)]
thc202 has quit [(Ping timeout: 256 seconds)]
<joepie91>
software + "supposed" = heh
<joepie91>
(I'm totally not bitter :P)
<NixOS_GitHub>
[nixpkgs] joachifm pushed 3 new commits to release-17.03: https://git.io/vy5UB
<NixOS_GitHub>
[nixpkgs] joachifm pushed 2 new commits to master: https://git.io/vy5Ug
<NixOS_GitHub>
nixpkgs/master 3fac05b Joachim Fasting: libsodium: 1.0.11 -> 1.0.12
<NixOS_GitHub>
nixpkgs/master aa5777d Joachim F: Merge pull request #23952 from joachifm/libsodium-bump...
proteus-guy has quit [(Remote host closed the connection)]
mexisme2 has joined #nixos
mexisme has quit [(Ping timeout: 264 seconds)]
systemfault has joined #nixos
mudri has quit [(Ping timeout: 268 seconds)]
<spacekitteh>
how can i build a nix expression in my current directory?
<spacekitteh>
e.g. foo.nix
<bennofs>
spacekitteh: nix-build foo.nix ?
<spacekitteh>
bennofs: duh, of course
* spacekitteh
facepalms
<spacekitteh>
thanks
mudri has joined #nixos
pxc has quit [(Quit: WeeChat 1.5)]
systemfault has quit [(Quit: Bye!)]
Supersonic112 has quit [(Disconnected by services)]
Supersonic112_ has joined #nixos
<hodapp>
what is all this GOPATH nonsense that infects all of my attempts to merely build Go programs?
derjohn_mob has quit [(Ping timeout: 256 seconds)]
_deepfire has quit [(Remote host closed the connection)]
Supersonic112_ is now known as Supersonic112
dhess2 has quit [(Ping timeout: 260 seconds)]
lezed1 has joined #nixos
bennofs has quit [(Ping timeout: 258 seconds)]
<lezed1>
I have a quick question about install a Python package not in the main repo. Is there a way to specify a package declaration (similar to the ones in the main repo that use buildPythonPackage) to build a new package that I can install?
<NixOS_GitHub>
[nixpkgs] obadz pushed 1 new commit to master: https://git.io/vy5TD
<NixOS_GitHub>
nixpkgs/master 17bfb6a obadz: citrix-receiver: add link to webpage with all versions and adjust to change in nix-prefetch-url...
<NixOS_GitHub>
[nixpkgs] obadz pushed 1 new commit to release-17.03: https://git.io/vy5Ty
<NixOS_GitHub>
nixpkgs/release-17.03 f9458ba obadz: citrix-receiver: add link to webpage with all versions and adjust to change in nix-prefetch-url...
derjohn_mob has joined #nixos
<ndowens08>
lezed1: do you have a current nix file you are creating?
<lezed1>
I have a current nix install with the configs needed for the system and shell, are those what you mean?
<lezed1>
or something specific to building a python package?
<ndowens08>
the nix file you are creating to build that python package you want
Wizek_ has joined #nixos
mbrgm has quit [(Ping timeout: 256 seconds)]
mg_ has quit [(Ping timeout: 258 seconds)]
mbrgm has joined #nixos
<ndowens08>
iirc, for example if it was a python3 package, it would be buildPython3Package.mkDerivation rec {
<ndowens08>
I hardly build pythong packages, so I could be wrong
warbo has quit [(Ping timeout: 260 seconds)]
<ndowens08>
nah it's just python3Packages.buildPythonPackage rec {
<ndowens08>
if it is python3
<lezed1>
yep, for python3
georges-duperon has quit [(Ping timeout: 240 seconds)]
<lezed1>
can I put that in my normal .nix configs, or does it have to be separate if it's providing a package
<ndowens08>
so it is python3Packages.buildPythonPackage
<ndowens08>
seperate
nickofnames has joined #nixos
<ndowens08>
clone github.com/nixos/nixpkgs for packaging
<nickofnames>
Hello
<joachifm>
lezed1: no, you can put it wherever
<ndowens08>
well i just use clone of repo :)
mexisme2 has quit [(Read error: Connection reset by peer)]
mexisme has joined #nixos
<hodapp>
what is that online tool that lets me look up attributes?
<hodapp>
I am trying to build a Go package and I have no idea how to make buildGoPackage get a dependency from bzr rather than git
<hodapp>
type = "bzr" isn't doing it
<ndowens08>
i use nox or command-not-found bzr
<hodapp>
ugh, it just doesn't support bzr
mg_ has joined #nixos
Sonarpulse has quit [(Ping timeout: 264 seconds)]
dhess2 has joined #nixos
mudri has quit [(Quit: WeeChat 1.7)]
Jackneillll has joined #nixos
dhess2 has quit [(Ping timeout: 260 seconds)]
<lezed1>
I tried just putting in my normal config (this is what I added: http://pastebin.com/0rwNdfU8). I get an error that "unexpected argument ‘config’, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix:157:8" when I try building.
dhess2 has joined #nixos
pierron has quit [(Ping timeout: 260 seconds)]
steshaw has joined #nixos
pierron has joined #nixos
Jackneilll has quit [(Ping timeout: 240 seconds)]
exarkun has quit [(Ping timeout: 260 seconds)]
ToxicFrog has quit [(Ping timeout: 260 seconds)]
MinceR has quit [(Ping timeout: 260 seconds)]
<ndowens08>
dont use mkDerivation with pythonpackages
<lezed1>
I tried with and without it
<lezed1>
same error
MinceR has joined #nixos
<ndowens08>
idk, i dont put mine in config
the-kenny has quit [(Ping timeout: 260 seconds)]
<lezed1>
When you clone the repo, do you still get all the prebuild packages, and just build the extra ones locally?
<lezed1>
Also, joachifm is there something else I should do if I keep it in configs
<ndowens08>
lezed1: either way, you wont get prebuilt binaries
the-kenny has joined #nixos
exarkun has joined #nixos
ToxicFrog has joined #nixos
<NixOS_GitHub>
[nixpkgs] deepfire opened pull request #24002: vogl: init at 2016-05-13 (master...vogl) https://git.io/vy5kH
dhess2 has quit [(Ping timeout: 240 seconds)]
alx741 has quit [(Quit: alx741)]
eacameron has joined #nixos
ebzzry has joined #nixos
<joachifm>
lezed1: it's unclear to me what you're actually doing ...
<lezed1>
There are a few python packages that I need for my system that aren't in the main pkg repo
<lezed1>
and I want to write a set of .nix files to provide those python packages from pypi
<lezed1>
I chose a simple one as a test that didn't have too many dependencies
<lezed1>
that's the pastebin I posted earlier
<joachifm>
lezed1: I get that part :) just not what exactly you're doing to accomplish it
<joachifm>
what do you do when you "add it to your config2
<lezed1>
that file was imported in my main configuration.nix
<joachifm>
as in imports = [ ./foo.nix ] ?
<lezed1>
yes
<spacekitteh>
so uh
<joachifm>
lezed1: ah, imports is for modules
<spacekitteh>
/nix/store/1w5aii50walpx570axnggk9w8rb1f7dc-builder.sh: line 2: mkdir: command not found
<joachifm>
lezed1: hence the somewhat obscure error you got
<spacekitteh>
what expression is mkdir in? >.>
<joachifm>
lezed1: imports expects expression of the form { config, ... }: { options = { ... }; config = { ... }; }
<lezed1>
ok, and it didn't have config so that explains the error
<joachifm>
lezed1: so is your primary concern installing this package or what?
MP2E has quit [(Quit: leaving)]
<joachifm>
lezed1: if it's just to get it into your user profile, you could extend the package set via packageOverrides
spinus has quit [(Ping timeout: 256 seconds)]
<lezed1>
I'm just trying to install this so I can import it
<lezed1>
just on my system
hexagoxel has quit [(Ping timeout: 260 seconds)]
<joachifm>
lezed1: but you don't need to involve configuration.nix at all just to build/use the expr
<clever>
and nix.buildCores in configuration.nix controls how nix.conf is generated
<ozer>
I see
<ozer>
thanks for info!
dhess2`` has joined #nixos
<clever>
and due to how nix.conf and nixos work, changes to nix.buildCores only take effect after the "nixos-rebuild switch" has finished
<clever>
but you can also pass "--option build-cores 8" to almost any nix command, to bypass nix.conf
<joachifm>
triton does enableParallelBuilding=true by default, I think
<joachifm>
just as an aside :)
echo-area has joined #nixos
<echo-area>
How do I bring `codesign` into a package's build environment on Mac OS?
dhess2`` has quit [(Ping timeout: 240 seconds)]
dhess2`` has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
dhess2`` has quit [(Ping timeout: 260 seconds)]
ozer has quit [(Ping timeout: 260 seconds)]
dhess2`` has joined #nixos
hexagoxel has joined #nixos
dhess2`` has quit [(Ping timeout: 240 seconds)]
dhess2`` has joined #nixos
eacameron has joined #nixos
dhess2`` has quit [(Remote host closed the connection)]
dhess2`` has joined #nixos
eacameron has quit [(Ping timeout: 256 seconds)]
dhess2`` has quit [(Remote host closed the connection)]
dhess2`` has joined #nixos
dhess2`` has quit [(Ping timeout: 260 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
dhess2`` has joined #nixos
Rizy has quit [(Quit: Rizy)]
dbmikus has joined #nixos
dhess2`` has quit [(Ping timeout: 240 seconds)]
dbmikus has quit [(Ping timeout: 258 seconds)]
ToxicFrog has quit [(Ping timeout: 240 seconds)]
dhess2`` has joined #nixos
dhess2`` has quit [(Remote host closed the connection)]
dhess2`` has joined #nixos
ToxicFrog has joined #nixos
dhess2`` has quit [(Remote host closed the connection)]
dhess2`` has joined #nixos
griff_ has joined #nixos
i_rony|nb has joined #nixos
dhess2`` has quit [(Ping timeout: 240 seconds)]
ToxicFrog has quit [(Ping timeout: 258 seconds)]
AllanEspinosa has quit [(Ping timeout: 268 seconds)]
ToxicFrog has joined #nixos
dhess2`` has joined #nixos
<yurrriq>
LnL: I'm trying to update/finish your generalize-beam-erlang PR and I've run into a snag wrt changes to hex-packages.nix in master. Any chance you're around for some realtime advice?
dhess2`` has quit [(Ping timeout: 258 seconds)]
dhess2`` has joined #nixos
griff_ has quit [(Quit: griff_)]
dhess2`` has quit [(Ping timeout: 246 seconds)]
dhess2`` has joined #nixos
Rizy has joined #nixos
ixxie has joined #nixos
dhess2`` has quit [(Ping timeout: 260 seconds)]
filterfish_ has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
nixpkgs/master ce9576d Frederik Rietdijk: Merge pull request #24001 from ndowens/mpop...
FRidh has joined #nixos
chakerbenhamed has joined #nixos
echo-area has quit [(Remote host closed the connection)]
echo-area has joined #nixos
dhess2`` has quit [(Remote host closed the connection)]
dhess2`` has joined #nixos
<chakerbenhamed>
Hey. I added a folder to the nixpath -I folder=pathTofolder. But I want to import one of it subfolders Do I access it with <folder/subfolder> because this give me an "Not found in Nixpath" error
dhess2`` has quit [(Remote host closed the connection)]
dhess2`` has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-wip: https://git.io/vy5Oy
<NixOS_GitHub>
nixpkgs/python-wip 0afcac4 Frederik Rietdijk: pythonPackages.urllib3: disable tests
Rizy has quit [(Quit: Rizy)]
alebatt has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
steshaw has quit [(Quit: Connection closed for inactivity)]
<piecesofquiet>
any one have any idea on how to set up EXWM? I'm fairly sure that I've enabled everything I need to in my configuration.nix, but when it starts up emacs doesn't full screen
dhess2`` has quit [(Ping timeout: 240 seconds)]
dhess2`` has joined #nixos
<jophish>
:( I have package A which wants package B to compile, but package B wants package A's store path at runtime
<MichaelRaskin>
A commonw wrapper, like with browser plugins?
<jophish>
yeah, I'll have to make a package C upon which they both depend
<jophish>
not the end of the world, a little annoying though
<MichaelRaskin>
The other way round
<MichaelRaskin>
C depends on both
<jophish>
oh right
<jophish>
that could work
<jophish>
actually, for other reasons I might have to have something on which they both depend
<jophish>
package B is a servant server and package A is a ghcjs executable
<jophish>
I want to share the API type with both
<MichaelRaskin>
Well, as a minimum package C, I want to say lib C, I want to say glibc…
<jophish>
however for A to rely on B it'll have to be compiled with ghcjs, and I don't think wai and servant-server will like taht
<jophish>
that*
<jophish>
hahaha
dhess2`` has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 256 seconds)]
hexagoxel has joined #nixos
dhess2`` has joined #nixos
sibi has joined #nixos
kampfschlaefer has joined #nixos
dhess2`` has quit [(Ping timeout: 246 seconds)]
mudri has joined #nixos
alebatt has quit [(Ping timeout: 240 seconds)]
dhess2`` has joined #nixos
i_rony|nb has joined #nixos
<jophish>
MichaelRaskin: wow! ghcjs was able to compile the server
<jophish>
look as though I will be able to use your package C after all
dhess2`` has quit [(Remote host closed the connection)]
<jophish>
thanks!
dhess2`` has joined #nixos
<jophish>
It's a shame the server doesn't work running under node, but I wasn't expecting that
dhess2`` has quit [(Remote host closed the connection)]
dhess2`` has joined #nixos
dhess2`` has quit [(Ping timeout: 240 seconds)]
dhess2`` has joined #nixos
mg_ has quit [(Ping timeout: 264 seconds)]
dbmikus has joined #nixos
dhess2`` has quit [(Ping timeout: 240 seconds)]
peterhoeg has joined #nixos
<NixOS_GitHub>
[nixpkgs] vcunat pushed 1 new commit to staging: https://git.io/vy5ZO
<NixOS_GitHub>
nixpkgs/staging 742b120 Vladimír Čunát: Merge branch 'master' into staging...
dbmikus has quit [(Ping timeout: 260 seconds)]
<LnL>
yurrriq: that last part creates the fixpoint
<yurrriq>
hmm, maybe it's too late here or something, but I'm not sure how to amend my fork. maybe you can
<yurrriq>
I've almost undoubtedly broken other parts, but this hex-packages fixpoint bit is a show stopper
hotfuzz_ has joined #nixos
mudri has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] qknight pushed 1 new commit to master: https://git.io/vy5ZK
<NixOS_GitHub>
nixpkgs/master 6022a79 Joachim Schiele: nixos/release.nix: added tests.wordpress
k2s has joined #nixos
hexagoxel has quit [(Ping timeout: 260 seconds)]
takle has quit [(Remote host closed the connection)]
hotfuzz has quit [(Ping timeout: 258 seconds)]
<yurrriq>
LnL: I ticked the "Allow edits from maintainers" box here: https://github.com/LnL7/nixpkgs/pull/1 and won't be at it again for at 12 hours or so
<yurrriq>
... at the very least :)
hexagoxel has joined #nixos
lezed1 has quit [(Remote host closed the connection)]
<qknight>
if i want to apply a security patch to 16.09, this is the branch: origin/release-16.09
<qknight>
right?
mg_ has joined #nixos
<LnL>
yes, and don't forget about 17.03
markus1219 has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 5 new commits to python-wip: https://git.io/vy5nT
<NixOS_GitHub>
nixpkgs/python-wip e8f8586 Frederik Rietdijk: pythonPackages.dill: 0.2.5 -> 0.2.6
<NixOS_GitHub>
nixpkgs/python-wip 779395d Frederik Rietdijk: pythonPackages.bottleneck: fix build...
<NixOS_GitHub>
nixpkgs/python-wip 6e7b9ce Frederik Rietdijk: pythonPackages.Nuitka: 0.5.21.3 -> 0.5.25
<NixOS_GitHub>
[nixpkgs] qknight pushed 1 new commit to release-16.09: https://git.io/vy5nI
<NixOS_GitHub>
nixpkgs/release-16.09 674d8cf Bas van Dijk: wordpress: security upgrade: 4.7.2 -> 4.7.3 & other improvements...
ixxie has joined #nixos
<ocharles>
Is there a recommended way to mount the store as rw?
<ocharles>
I'm running out of ideas with --repair failing, and want to try manually copying over the result of unpacking a NAR
markus1209 has quit [(Ping timeout: 258 seconds)]
<qknight>
ocharles: you have to undo the bind mount IIRC
<qknight>
ocharles: and then you can copy stuff manually. using a 'resuce system' might be the easiest way
<ocharles>
Weird. I used mount -remount, nix-store --restore and copying the contents over to the failing path. And now nix-store --verify-path is happy
<ocharles>
I wonder why --repair-path is being so useless
<LnL>
nix-store --delete --ignore-liveness followed by nix-store -r might also work
<ocharles>
nope, it won't let me ignore-liveness
[0x4A6F] has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
nix-store --verify is useful for making Nix admit that the path is gone
<MichaelRaskin>
Maybe it would be enough to manually remove it after remount, then verify-path, then realise
<clever>
LnL: ive massively broken my system before with --ignore-liveness
<clever>
LnL: in one case, it deleted the target of /run/current-system/
<ocharles>
MichaelRaskin: oh, I'll try that
[0x4A6F] has joined #nixos
<MichaelRaskin>
repair-path may also be the needed command
<LnL>
clever: heh
<MichaelRaskin>
Oops missed
<MichaelRaskin>
Maybe you needed more --check-contents
<ocharles>
MichaelRaskin: nope, this is very weird. I added a comment to the issue
<clever>
LnL: its usualy better to nix-store --query --roots, and manualy delete each root, and be aware of what your deleting
DMZ__ has joined #nixos
<LnL>
in the case of repair I would assume you don't want to remove all the roots first :)
<clever>
yeah
<clever>
another option, i believe nix-store --restore behaves the same as tar -xf
<MichaelRaskin>
ocharles: at that point I would read the main Nix DB and check that the suggested hash of the path is the same as in cache narinfo
<MichaelRaskin>
Because corruption could be at different moments, after all
<clever>
so you could just the nix db, rm -rf a given storepath, then nix-store --restore a nar to un-delete it
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
<clever>
that will completely ignore liveless/roots, and bypass all safeties, and just forcibly replace it with the nar contents
<DMZ__>
hello guys, i can't install matplotlib with pip in virtualenv. Also, i tried nix-shell and its okey for installation but matplotlib doesnt show windows when i run my code. The code has no problem if you ask
<ocharles>
clever: i've done that, look in the github issue
<ocharles>
it's in the comment
<clever>
ocharles: ah, looks like your using --repair-path to un-delete it
<clever>
ocharles: another example, to directly download from the binary cache
<ocharles>
heh, I was about to write that line myself :)
<clever>
and in this case, it unpacked to /tmp/fooo
<clever>
so you can do it without root, if you only want to inspect
Jackneill has joined #nixos
<DMZ__>
hello guys, i can't install matplotlib with pip in virtualenv. Also, i tried nix-shell and its okey for installation but matplotlib doesnt show windows when i run my code. The code has no problem if you ask. Anyone can help pls ?
<FRidh>
DMZ__: why are you installing matplotlib with pip?
<DMZ__>
because nix-shell didnt work, so i tried that
<DMZ__>
nix-shell installed it properly without a problem.
<qknight>
my kde applications (i'm on master) don't show any icons, any knows how to fix that?
<ambro718>
qknight: KDE apps running in which desktop?
<qknight>
ambro718: i3
<ambro718>
I have some trouble myself in Xfce but it's better than some time ago
<qknight>
konsole, kate
Rizy has quit [(Quit: Rizy)]
<qknight>
okular
<qknight>
that's what i use most
<ambro718>
qknight: possible workaround is to export XDG_CURRENT_DESKTOP=kde before running
alebatt has joined #nixos
<ambro718>
does it help?
<FRidh>
DMZ__: correct. What happens is that old-fashioned namespace packages provide in each of their packages an __init__.py. With python.withPackages we make an environment through symbolic links, and thus a colission happens. For now the solution is to use python.buildEnv.override { extraLibs = ...; ignoreCollisions = true; };
<FRidh>
that should be added to the manual.
<FRidh>
This is the reason why PEP 420 exists
<ambro718>
qknight: actually maybe XDG_CURRENT_DESKTOP=xfce would help
<ambro718>
I think it's basically a qt5 implementation issue, mostly ignoring users of desktops other than gnome and kde
<qknight>
ambro718: does not help for okular. but i'm not sure how to test this properly
<FRidh>
jbo_: the latter link lists only packages available in the current stable release
Jackneill has quit [(Read error: Connection reset by peer)]
<MichaelRaskin>
These are packages built by Hydra, to be more precise
<DMZ__>
FRidh: i am getting error: attribute ‘overridePackages’ missing. http://nixos.org/nixpkgs/manual/#python 8.10.3.3. How to override a Python package?
Jackneill has joined #nixos
<DMZ__>
For the last example (django)
<jbo_>
FRidh: thanks! -- I'll read some more about channels
<FRidh>
DMZ__: you're using unstable I suppoes?
<DMZ__>
yes sir.
<jbo_>
Second question: how should I decide which packages belong in conf*.nix env*.systemPackages vs. installing with nix-env -iA ?
<FRidh>
DMZ__: overridePackages was replaced with packageOverrides. Note that the online version of the manual refers to Stable.
<DMZ__>
where can i find unstable's manual ?
<FRidh>
DMZ__: if you have the repo cloned, go to the root, and then `nix-build doc`
alebatt has quit [(Ping timeout: 264 seconds)]
<ambro718>
qknight: any success with the icons?
<FRidh>
jbo_: Tough question. I keep most of the things I want in configuration.nix, but my python environment I use for development I nix-env -i
warbo has quit [(Read error: Connection reset by peer)]
acarrico has joined #nixos
<DMZ__>
FRidh: thank you. i bothered you too much but can you explain whats going on in paste ?
alebatt has joined #nixos
<FRidh>
DMZ__: No problem. First, what we do is import Nixpkgs and pass a custom configuration where we override the main package set. In the main package set weoverride the Python interpreter and pass it a custom Python package set in which we set another Django
<FRidh>
now, pkgs is the whole Nixpkgs set and uses 1.9 of Django througout it.
eacameron has joined #nixos
<FRidh>
DMZ__: here's another example where that is perhaps clearer. In this case, we build inkscape using a different version of numpy: https://paste.kde.org/ppacibxkv
sibi has quit [(Quit: Connection closed for inactivity)]
<DMZ__>
so, we changed nixpkgs set with the changed python packages set. am i right ?
<DMZ__>
what is self and super there ?
markus1189 has joined #nixos
<FRidh>
Correct. The modified and unmodified python package set
<samae>
nckx: a note, I made it work, but it needed adding: services.udev.packages = [ pkgs.crda ]; in my configuration
<FRidh>
DMZ__: looks good
<samae>
Otherwise the udev rule was missing
markus1189 has quit [(Ping timeout: 240 seconds)]
wak-work has quit [(Ping timeout: 246 seconds)]
dhess2`` has joined #nixos
markus1189 has joined #nixos
Rizy has joined #nixos
<DMZ__>
FRidh: thanks again. It's better you guys giving too much effort to handle things but also should care documentation or how things are done and why. Line by line should be good :D I want too much but i am struggling too much to do something and understand and getting nothing :D
Jackneill has joined #nixos
<DMZ__>
i wrote wrong :D you guys are giving too much effort but documentation is poor imho. :D
<DMZ__>
there are zillion lines of documentation but it teachs nothing almost
markus1199 has joined #nixos
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vy54q
<NixOS_GitHub>
nixpkgs/master 959064c Vincent Laporte: ocamlPackages.ppx_deriving_yojson: init at 3.0...
dhess2`` has quit [(Ping timeout: 256 seconds)]
<FRidh>
DMZ__: I agree. Often documentation is written by those that are very familiar with parts and thus might not realize its tough if you're not at the same level. In the case of the Python section I hoped showing enough examples would help. Unfortunately, they're outdated again.
i_rony|nb has quit [(Ping timeout: 240 seconds)]
<FRidh>
The Nixpkgs manual also mixes a lot of things, like Nixpkgs dev info, user info, "tutorial", etc.
Jookia has joined #nixos
<MarcWeber>
DMZ__: The conversation I listened to just makes you appear like 'complaining' without asking a real question. Saying docs are bad doesn't help you. Saying "I want to get tihs done, how to do it" would help you. But maybe I've missed parts of the conversation.
i_rony|nb has joined #nixos
markus1199 has quit [(Ping timeout: 260 seconds)]
<DMZ__>
MarcWeber: helping for 1 hour maybe more, sorry
<DMZ__>
MarcWeber: FRidh is helping for 1 hour maybe more, sorry
takle has quit [(Remote host closed the connection)]
<hodapp>
though, I had separate Go packages for gcp-cups-connector and gcp-connector-util, but the former built the latter anyway for some reason (within the same path in the store); perhaps a dependency?
sivteck has quit [(Ping timeout: 240 seconds)]
<DMZ__>
FRidh: maybe we found a bug at least :D
<hodapp>
I guess I should make a service for this before making a PR, but trying to figure out the right way of doing configuration
<hodapp>
gcp-connector-util generates configuration files, but for some parts of it, it has to hit the Google APIs
<hodapp>
to geverate OAuth tokens or something like that
<hodapp>
this requires that the user be logged in, go to a URL, supply a code, and so on, so I don't see how well this could fit into the way services are normally configured in NixOS
ebzzry has joined #nixos
civodul has joined #nixos
ebzzry has quit [(Client Quit)]
ebzzry has joined #nixos
<FRidh>
DMZ__: definitely a bug. The overriding does work, since the build process notices the extra libraries, however, they are not being added to the eventual environment.
eacameron has quit [(Remote host closed the connection)]
dhess2`` has joined #nixos
k2s has quit [(Ping timeout: 256 seconds)]
<ebzzry>
During the build phase, how does Nix resolve host names?
eacameron has joined #nixos
<joachifm>
ebzzry: not sure nix itself deals with that, apart from setting up a network namespace if sandboxing is enabled. why?
dhess2`` has quit [(Ping timeout: 240 seconds)]
xj9[m] has joined #nixos
teh[m] has joined #nixos
herzmeister[m] has joined #nixos
aspiwack[m] has joined #nixos
jack[m] has joined #nixos
cornu[m] has joined #nixos
Yaniel has joined #nixos
primeos[m] has joined #nixos
bachp has joined #nixos
philipp[m] has joined #nixos
MrAxilus[m] has joined #nixos
M-liberdiko has joined #nixos
Exee7uvo[m] has joined #nixos
M-Rym has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
sargon[m] has joined #nixos
icetan has joined #nixos
regnat[m] has joined #nixos
prose[m] has joined #nixos
ArdaXi[m] has joined #nixos
bendlas has joined #nixos
hendrik[m] has joined #nixos
unlmtd[m] has joined #nixos
offlinehacker[m] has joined #nixos
davidar has joined #nixos
mythmon- has joined #nixos
spawnthink[m] has joined #nixos
timclassic has joined #nixos
Shell has joined #nixos
eqyiel[m] has joined #nixos
dtz has joined #nixos
rycee[m] has joined #nixos
sziszi[m] has joined #nixos
SyrupThinker[m] has joined #nixos
musicmatze[m] has joined #nixos
zimbatm[m] has joined #nixos
corngood has joined #nixos
saintaquinas[m] has joined #nixos
Dezgeg[m] has joined #nixos
qrilka[m] has joined #nixos
scott2 has joined #nixos
Criena[m] has joined #nixos
Ralith has joined #nixos
lfont[m] has joined #nixos
shanemikel[m] has joined #nixos
eacameron has joined #nixos
<ebzzry>
joachifm: I’m curious, because when I call `{leiningen}/bin/lein ...` in buildPhase, I get complaints that it can’t resolve hostnames.
mhuber_ has joined #nixos
<ebzzry>
s/{leiningen}/${leiningen}/
<joachifm>
ebzzry: this is with sandboxing enabled?
eacameron has quit [(Ping timeout: 240 seconds)]
<joachifm>
ebzzry: if so, that's expected (and desired, generally)
mhuber_ has left #nixos []
<ebzzry>
joachifm: hm
<ebzzry>
joachifm: The lein command fetches deps from the internet. How can I make it work?
<joachifm>
ebzzry: it's important that builders not be allowed to access the external network willy nilly
<ebzzry>
joachifm: ok
<joachifm>
ebzzry: you need to prefetch the deps somehow; that is, turn them into fixed-output derivations
<joachifm>
(which can access the network)
<Jookia>
thats how fetchurl works since it already knows what its getting
<Jookia>
if you're trying to download something and you don't know what it will end up being, you need to get past that hurdle first
<ebzzry>
Ok. What’s a good approach? I don’t know what it will download it advance.
endformationage has joined #nixos
<ebzzry>
lein is a dependency manager for clojure.
<joachifm>
ebzzry: unless there's already tooling for leiningen, I expect there is no other way than to figure out what urls it's looking for and turn those into fixed-output derivations (fetchurl or simimlar)
<Jookia>
ebzzry: i have to sleep soon but is there a way to pin all your dependencies and have them download the same each time?
<ebzzry>
I’ll do my research.
<FRidh>
gchristensen: around?
<Jookia>
ebzzry: i'd probably start by seeing if i can get lein to reproducibly download the exact same packages in to a directory tree, then pass that to your builder :)
<ebzzry>
Jookia: that can be one way of doing it :)
<Jookia>
though a smarter person would probably try to take apart lein and do its job using nix
<ebzzry>
Jookia: yup!
<joachifm>
lein2nix :)
<ebzzry>
! :)
<joachifm>
I expect leiningen has some sort of package description, listing deps and where to get them?
<gchristensen>
FRidh: I am
<ebzzry>
joachifm: yes it has.
Jookia has quit [(Quit: Jookia)]
<joachifm>
ebzzry: if so, all you really need is extract that info, prefetch and generate appropriate nix exprs
<FRidh>
gchristensen: Great. What do you think of doing a crossmerge now? The queues aren't getting any smaller, and older evaluations won't result in channel updates either.
<joachifm>
ebzzry: not sure how general you want to make this, though; for full generality might be quite a bit of work ...
<gchristensen>
FRidh: that sounds fine to me, I'd be happy to cancel old jobs
<FRidh>
gchristensen: ok, now they're the same. Could you stop all trunk/staging and retrigger staging?
<gchristensen>
yeah
<jbo_>
What's a good way of keeping my shell scripts cross-platform, but getting the bash/python shebangs to work in nixos? (converting them all to "/usr/bin/env bash" ?)
<gchristensen>
FRidh: the ui is very slow right now :(
<gchristensen>
FRidh: did I miss anything you wanted me to canctl?
<gchristensen>
cancel*
exarkun has quit [(Read error: Connection reset by peer)]
exarkun has joined #nixos
<simendsjo>
I'm coming from Arch, and I notice a lot of applications is using quite old versions. Is this by design (being more stable rather than more bleeding edge) or a lack of manpower?
<Profpatsch>
simendsjo: Which channel are you on?
<Profpatsch>
There are stable versions (released twice a year) and unstable (following master)
<Profpatsch>
sudo nix-channel --list
i_rony|nb has joined #nixos
alebatt has quit [(Ping timeout: 258 seconds)]
mudri has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Remote host closed the connection)]
takle has quit [(Read error: Connection reset by peer)]
takle has joined #nixos
ebzzry has quit [(Ping timeout: 264 seconds)]
eacameron has joined #nixos
takle has quit [(Read error: Connection reset by peer)]
takle_ has joined #nixos
civodul has quit [(Quit: ERC (IRC client for Emacs 25.1.1))]
<Dezgeg>
yeah, I look at them every now and then
takle has joined #nixos
takle_ has quit [(Ping timeout: 240 seconds)]
<bennofs>
Hmm I just noticed that we could trade nar.xz size on cache.nixos.org for the ability to fetch an arbitrary file from a NAR requiring a download of at most N extra bytes.
takle has quit [(Ping timeout: 256 seconds)]
<LnL>
mass rebuild?
taktoa has joined #nixos
eacameron has quit [(Remote host closed the connection)]
marsam has joined #nixos
georges-duperon has quit [(Ping timeout: 240 seconds)]
tsmeets has joined #nixos
schneefux has quit [(Ping timeout: 246 seconds)]
schneefux has joined #nixos
<FRidh>
LnL: cross-merged master and staging
<LnL>
yeah I noticed
<bennofs>
how does cross-merging work?
griff_ has joined #nixos
<NixOS_GitHub>
[nixpkgs] corngood opened pull request #24012: WIP: firefox: enable pulseaudio by default in wrapper (master...firefox-pulse) https://git.io/vy52J
<LnL>
any particular reason? If you build master -> staging first it doesn't happen
<FRidh>
LnL: master was diverging, having a large/mass rebuild as well
<tsmeets>
Hello, is it possible to pass custom arguments to my nixos configuration.nix file?
<tsmeets>
I was thinking of using: nix-build --argstr foo "bar"
<MichaelRaskin>
Would using builtins.getEnv count?
<tsmeets>
Good Idea! :)
<Baughn>
I assume that, if I have two derivations with different inputs that just happen to produce the same output, they won't get deduplicated..
<Baughn>
Is that correct?
<MichaelRaskin>
That is currently correct
<MichaelRaskin>
Unless they are fixed-output
<Baughn>
Fair enough. They're not.
<copumpkin>
they'll possibly get deduplicated on disk
<copumpkin>
but that's a separate mechanism
<MichaelRaskin>
Also, it is very unlikely that the situation happens: most packages do contain "$out" reference somewhere
<copumpkin>
(there's an option to do a hardlink step after builds that hardlinks files that are identical)
<Baughn>
They probably would, it's just that all the dependent derivations still get rebuilt.
<copumpkin>
yup
<ndowens08>
Anyone know how to fix this. It requires git to create docs and it gives
<ndowens08>
fatal: Not a git repository (or any of the parent directories): .git
<copumpkin>
there's some stuff about an intensional store in the dissertation
<ndowens08>
**Error**: Irssi Autogen must be run in a git clone, cannot proceed.
<ndowens08>
autoreconfHook gives missing files, so had to do away with that and autogen.sh gives needs git so added that as a dep and now gives that error
<MichaelRaskin>
ndowens08: I would go the bigger hammer route
eacameron has joined #nixos
<ndowens08>
as in?
<tsmeets>
MichaelRaskin: builtins.getEnv is exactly what I need. Thanks!
<MichaelRaskin>
Create a script called git that ignores the input and outputs something close to a version description
<MichaelRaskin>
Put that in PATH
<MichaelRaskin>
(Optional: watch the world burn)
<ndowens08>
hmm know anything that uses this, so I can look it on how it is done?
<ndowens08>
Looking through the repo, and all i see is git used to get the source so far
<MichaelRaskin>
xen
<MichaelRaskin>
The fake git there even prints its output, which is nice
eacameron has quit [(Ping timeout: 246 seconds)]
<gchristensen>
good news: I've made good progress on the next security roundup, and am intending on opening up an issue at the latest on Monday. there are _many_ things to look at, and the process is less smooth (it is brand new...) so I'm planning on doing smaller roundups more frequently until (1) it smooths out, (2) we catch up.
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vy5ws
<NixOS_GitHub>
nixpkgs/master 2478f7b Frederik Rietdijk: kdelibs: remove sanitize patch...
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy5wW
<NixOS_GitHub>
nixpkgs/master 4ae23aa Adam Beckmeyer: pythonPackages.livereload: init at 2.5.0
<NixOS_GitHub>
nixpkgs/master 4047619 Michael Raskin: Merge pull request #21377 from non-Jedi/pythonPackages.livereload...
<bennofs>
gchristensen: was expecting "bad news" after that.
<gchristensen>
well the bad news is the new process is probably going to suck for a bit >.> :)
<bennofs>
gchristensen: why is that? still the lwn issue?
marsam has left #nixos ["Killed buffer"]
<gchristensen>
yeah, LWN just isn't doing what they were anymore
jeaye has quit [(Quit: jeaye)]
<bennofs>
gchristensen: could that be automated by a scraping script or was it manually curated?
<gchristensen>
it was manually curated, automating it isn't really feasible
<gchristensen>
a certain amount of automation? yes, but then that requires curation
<bennofs>
oh ok :/
<MarcWeber>
LnL: We can merge our vim code / repos if you like - I don't care - syntax is the same, but my repository also includes some nice goto (follow import) implementation.
<MarcWeber>
LnL: It also contains syntax check on bufwrite. I didn't look at your code yet.
orivej has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy5wA
<NixOS_GitHub>
nixpkgs/master f54b52f Julien Dehos: gede: init at 2.0.3
<NixOS_GitHub>
nixpkgs/master e096d7c Michael Raskin: Merge pull request #23229 from juliendehos/gede...
<MarcWeber>
LnL: Pathogen sucks for ":helptags" reasons, vam is equally fast and much more powreful. The problem about plugin managers is lack of "centralazide community management".
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy5rv
<NixOS_GitHub>
nixpkgs/master a9d404c Lancelot SIX: pythonPackages.libais: init at 0.16
<NixOS_GitHub>
nixpkgs/master 3a919cf Michael Raskin: Merge pull request #23242 from lsix/add_python_libais...
<justan0theruser>
Can't locate utf8.pm: /root/.nix-profile/lib/perl5/site_perl/utf8.pm: Permission denied at /run/current-system/sw/bin/nix-shell line 3. \nBEGIN failed--compilation aborted at /run/current-system/sw/bin/nix-shell line 3.
<justan0theruser>
I am not in root, I am running nix-shell under another user
reinzelmann has joined #nixos
<orivej>
justan0theruser: show `head -1 /run/current-system/sw/bin/nix-shell`
<gchristensen>
bennofs: using keyword frequency analysis I was able to get about 80-90% accuracy on guessing packages based on the subjects :)
<orivej>
justan0theruser: one time fix is `unset PERL5LIB`, but permanently - I don't know how you ended up with such configuration. you can check in /run/user/`id -u`/env-vars if NixOS has generated you this configuration, or if you overrode it in your profile
takle has quit [(Remote host closed the connection)]
takle has joined #nixos
<justan0theruser>
I'll try deluser
<justan0theruser>
maybe that would work
<FRidh>
thanks
<orivej>
Is there a way to configure NixOS to populate /run/curren-system/sw/include, like nix-env populates ~/.nix-profile/include/?
<justan0theruser>
orivej: I just did that and rebuild that user from configuration.nix, still has root stuff
<justan0theruser>
do you think it might be because I su'd into that user from root?
<FRidh>
so that's about 20.000 fewer jobs now than before
<justan0theruser>
yep, that'd be it...
<justan0theruser>
so if I su into a user the environment variables are kept from the previous user? wtf?
<orivej>
how exectly do you su?
<justan0theruser>
su username
<ndowens08>
ok I tried to create a patch like normally would: diff -Naur origional new > name.patch and put it in nix file patches = [ ./name.patch ]; and gives can not find file to patch.
<orivej>
try `su -l username`
<justan0theruser>
oh... ok thanks
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 3 new commits to master: https://git.io/vy5ot
<NixOS_GitHub>
nixpkgs/master dcab427 Evan Danaher: vim-plugins: Add infrastructure for python[3]Dependencies....
<NixOS_GitHub>
nixpkgs/master 4b9ec73 Evan Danaher: vim-plugins: Add ensime-vim and dependencies.
<NixOS_GitHub>
nixpkgs/master 846b6d2 Michael Raskin: Merge pull request #23256 from edanaher/ensime...
<ndowens08>
so how do i correctly make a patch that Nix understands?
<bennofs>
ndowens08: diff -ru ?
<ndowens08>
hmm i'll try that , usually i do Naur
<bennofs>
ndowens08: i think nix should understand that too
<bennofs>
ndowens08: you might need to adjust -p though
<bennofs>
(for patch)
<ndowens08>
yeah it gave error too
<bennofs>
ndowens08: did you diff the two trees or just the affected source file?
<ndowens08>
affect source
<LnL>
I usually run unpackPhase in a shell and create a git repo there
<bennofs>
ndowens08: you need to diff the whole dir tree I think
<gchristensen>
FRidh: done :) took a while, and I got some lunch in the iddle... :)
<gchristensen>
lol "0E0 builds have been restarted." sheesh, hydra
<bennofs>
ndowens08: or hmm, you might need -p0 for patch, I think nix uses -p1 by default
<bennofs>
ndowens08: you can use the patch you generated as well, but you may need patchFlags = "-p0"
<FRidh>
gchristensen: lunch...that sometimes so easy to forget.
<gchristensen>
it is dinner time for you O.o
<FRidh>
gchristensen: by the way, you're the ec2 expert right. Occasionally I need some extra power for just a couple of hours. What method would you suggest for deploying? Use nixops? or the ec2-tools or console?
revtintin has quit [(Ping timeout: 256 seconds)]
<gchristensen>
I'd use nixops, it is fairly easy to get setup and is a "one-command" provision
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy5K3
<NixOS_GitHub>
nixpkgs/master bb46cde John Chee: zstdmt: init at 0.3
<NixOS_GitHub>
nixpkgs/master 452cc25 Michael Raskin: Merge pull request #23311 from cheecheeo/zstdmt...
<FRidh>
gchristensen: can the EBS storage be removed when destroying an instance?
<gchristensen>
ie: preserved? or destroyed?
<NixOS_GitHub>
[nixpkgs] 7c6f434c closed pull request #23376: ANTs: init at 2.1.0 (0gyys1lf) and update ITK accordingly (master...ants) https://git.io/vysDD
<copumpkin>
I'm getting a g++ internal error when compiling clang 4 on linux
<FRidh>
gchristensen: Destroyed. I just need the space during deployment
<gchristensen>
FRidh: it should do so automatically
<copumpkin>
:(
<gchristensen>
copumpkin: ouch (:
<gchristensen>
:(*
<NixOS_GitHub>
[nixpkgs] copumpkin opened pull request #24014: llvm-4: small improvements on Darwin and elsewhere (master...llvm-4-improvements) https://git.io/vy5Ku
<copumpkin>
that PR ^
<copumpkin>
if anyone wants to try it out, I'd appreciate it :)
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy5Kz
<copumpkin>
LnL: perhaps, but that seems like a really weird way to do it
<ndowens08>
MichaelRaskin: keeping ya busy? :p
<copumpkin>
I don't even think llvm as a buildInput will make it build with clang
<copumpkin>
since you aren't asking for clang
<MichaelRaskin>
Well, I decided to comb through the backlog
<ndowens08>
heh ik gchristensen said one time he spent an hour doing just mine lol
<gchristensen>
it is comforting that while I haven't merged a PR in a week (spending all my time on the next roundup) it hasn't gotten _any higher_ O.o
<c0bw3b>
it's even back down under 400 \o/
<ndowens08>
lol give me time, working on one right now that is giving me trouble
<MichaelRaskin>
It was under 300 like two months ago, no?
eacameron has joined #nixos
<MichaelRaskin>
Does everyone understand that we want ikwildrpepper to get around to handing ndowens08 commit rights _before_ the next batch of PRs?
<gchristensen>
it was ~280 until a couple days before the branch-off, MichaelRaskin
<copumpkin>
MichaelRaskin: email him!
<MichaelRaskin>
Well, that's for Monday
<ndowens08>
lol
<MichaelRaskin>
I mean, there is a background conversation in IRC DMs
<icetan>
I'm having a problem with nixops, my local virtualbox guests change IP on reboot and nixops can't ssh to them
<icetan>
any fixes/workarounds for this?
<NixOS_GitHub>
[nixpkgs] dezgeg pushed 1 new commit to master: https://git.io/vy56a
<NixOS_GitHub>
nixpkgs/master 194ff8a Tuomas Tynkkynen: gcc-snapshot: Fix eval error
<NixOS_GitHub>
nixpkgs/master dfbd2dd Michael Raskin: Merge pull request #23624 from volth/virt-viewer-5.0...
mudri has quit [(Ping timeout: 268 seconds)]
<justan0theruser>
How do I define the package that I want to call the new derivation? https://hastebin.com/raw/topifariji The option `mystlink' defined in `/etc/nixos/overrides.nix' does not exist.
<NixOS_GitHub>
[nixpkgs] copumpkin closed pull request #24014: llvm-4: small improvements on Darwin and elsewhere (master...llvm-4-improvements) https://git.io/vy5Ku
ronny has joined #nixos
odi has joined #nixos
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy51L
<NixOS_GitHub>
nixpkgs/master 0a2ea18 Rodney Lorrimar: pythonPackages.zeep: init at 1.1.0...
<NixOS_GitHub>
nixpkgs/master c320267 Michael Raskin: Merge pull request #23934 from rvl/python-zeep...
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy51s
<NixOS_GitHub>
nixpkgs/master 2a65628 Marius Bergmann: restic: init at 0.5.0
<NixOS_GitHub>
nixpkgs/master 4707ac3 Michael Raskin: Merge pull request #23942 from mbrgm/restic...
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy51n
<NixOS_GitHub>
nixpkgs/master b2a37a7 José Luis Lafuente: hyper: 0.8.3 -> 1.3.1
<NixOS_GitHub>
nixpkgs/master 242abd8 Michael Raskin: Merge pull request #23969 from jlesquembre/hyper_1.3.1...
eacameron has joined #nixos
<ndowens08>
woot i am now 2nd place in pulse for the month now lol
<NixOS_GitHub>
[nixpkgs] dezgeg opened pull request #24017: default.nix: Provide correct instructions how to upgrade Nix (master...pr-nix-upgrade) https://git.io/vy51R
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy51E
<NixOS_GitHub>
[nixpkgs] dezgeg closed pull request #17631: Provide correct instructions how to upgrade Nix without nixpkgs. (master...nix-upgrade) https://git.io/v6lJG
<NixOS_GitHub>
nixpkgs/master 6959a1d Michael Raskin: Merge pull request #23997 from ndowens/trans-gtk...
<ndowens08>
ok so how was it i was suppose to generate version and docs through git when packaging? I believe LnL said something about a git script? if so what do I put in it?
alx741 has quit [(Quit: alx741)]
<ndowens08>
it is for irssi, which is a pain to do as a version bump as it generations irssi-version.h through git and src/docs/Makefile.in src/docs/in/Makefile.in using git
xvapx has quit [(Quit: xvapx)]
alx741 has joined #nixos
<bennofs>
ndowens08: isn't irssi buildable from a source tarball? does that tarball include a .git directory? :o
<MichaelRaskin>
I guess they pregenerate irssi-version.h
<copumpkin>
ndowens08: we usually patch builds that look for git to just insert the version we want
<LnL>
ndowens08: not sure what you are referring to, but you can keep the .git with fetchgit
<ndowens08>
copumpkin: i was doing that, by removing references in many files for it and eventually got to the point i couldnt fix it as it caused errors
<MichaelRaskin>
It could be an option to pregenerate irssi-version.h manually in a true checkout outside the build and see what to generate in preConfigure
<Dezgeg>
keepDotGit with fetchgit breaks quite often, unfortunately
<ndowens08>
LnL: how do i do that to see if that helps?
takle has quit [(Remote host closed the connection)]
dhess2`` has quit [(Ping timeout: 258 seconds)]
<sziszi>
hey, i'd like some directions as I didn't found anything useful documentation for this. NixOS shipping packages named vimPlugins.* . How can I use them?
<MichaelRaskin>
Erm. If urxvt cannot do something, st cannot do this either
<NickHu>
cornu[m]: I tried this when I used to run arch and it crashed all the time - I understand it's very alpha quality right now though
<NickHu>
MichaelRaskin: Well.. I launched st, pasted in an emoji, and it rendered fine, so...
<NickHu>
cornu[m]: plus it feels like it would be a pain to package for nixos
<MichaelRaskin>
How interesting. In urxvt it does depend on the exact emoji in question, I think
<MichaelRaskin>
I am not going to use a terminal with no own scrollback, though
<NickHu>
MichaelRaskin: st has a scrollback patch
<cornu[m]>
NickHu: oh yeah just running it for the last month on arch and its running just fine
<NickHu>
I looked this up a while ago, and basically urxvt thinks my font width is too narrow to try to render the unicode symbol
odi has quit [(Ping timeout: 260 seconds)]
odi has joined #nixos
<NickHu>
If I up the font width/size enough, then the emojis render
<MichaelRaskin>
In reality, there is displaying emoji, and there is run-time fine-tuning non-standard line spacing and letter spacing. urxvt has the latter and I care about that more than about the former
<NickHu>
But terminus looks horrible...
odi__ has quit [(Ping timeout: 256 seconds)]
<MichaelRaskin>
Maybe add the emoji font at reduced font size?
<NickHu>
I don't really know how to do that
<sziszi>
NickHu: use Hack, or Source Pro. Pretty good fonts imho
zraexy has quit [(Ping timeout: 240 seconds)]
eacameron has joined #nixos
<NickHu>
sziszi: I'm a little old fashioned; I looked at the terminus alternatives, but I just don't want to switch
<MichaelRaskin>
Give me an emoji to test…
<NickHu>
MichaelRaskin: 😉
<MichaelRaskin>
OK, the trick does work
<MichaelRaskin>
It is mostly useless to me in practice, though
<MichaelRaskin>
-fn 'xft:DejaVu Sans Mono:pixelsize=13:antialias=false:weight=0,xft:Unifont:pixelsize=12:antialias=false:weight=0,xft:Liberation Mono:pixelsize=12:antialias=false:weight=0,xft:Linux Libertine Mono:pixelsize=12:antialias=false:weight=0,xft:Noto Mono:pixelsize=12:antialias=false:weight=0,xft:Noto Emoji:pixelsize=8:antialias=false:weight=0'
<MichaelRaskin>
That is my real font list that does display emoji
<NickHu>
MichaelRaskin: You mean the trick where you increase the letter spacing?
eacameron has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
No, I decrease the letter spacing
<MichaelRaskin>
I can decrease the emoji font enough for it to render
<MichaelRaskin>
But with slightly decreased letter spacing, the result is not exactly pretty
<bennofs>
NickHu: btw, that emoji displays in suckless as cropped to me
<bennofs>
like, half of it is missing because it does not fit in the block
<NickHu>
bennofs: Yeah, but that's better than a square
<MichaelRaskin>
In terms that I want to keep pointsize 12–13 with decreased spacing, so the emojis are so small that the smiley is undistinguishable
<NickHu>
I mean, it's recognisable, which is my standard for 'good enough'
<bennofs>
and it overlaps the following text a little o.o
Troupal has joined #nixos
<bennofs>
which looks really ugly
eacameron has joined #nixos
<joachifm>
hm, I'm curious, what sort of context is this a problem?
<joachifm>
poor emoji rendering, that is
<joachifm>
seems like a feature ;)
<Troupal>
hello!
<bennofs>
joachifm: if you run weechat in urxvt for example
<MichaelRaskin>
When you use ii and less and urxvt and some poor souls try to convey parts of the meaning of their messages on #nixos?
<MichaelRaskin>
(I do use ii and urxvt, and some people here mistakenly think that approving/disapproving by single emoji is a good idea)
<NickHu>
joachifm: exactly what bennofs is saying
<bennofs>
NickHu: I just found termite, looks quite nice
<joachifm>
hm, I use plain xterm, never noticed ... lucky perhaps
<NickHu>
joachifm: It's more that I have facebook messenger hooked up to weechat via bitlbee
<NickHu>
So I get sent emojis quite often
<MichaelRaskin>
Well, it's not that often
<joachifm>
NickHu: oh .. then I see
<MichaelRaskin>
(in #nixos, I mean)
<NickHu>
And it would be nice to tell what they are
<NickHu>
MichaelRaskin: What's the hack you need to force urxvt to ignore the spacing issues?
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
eacameron has quit [(Ping timeout: 260 seconds)]
<MichaelRaskin>
I didn't, look at my string: xft:DejaVu Sans Mono:pixelsize=13 but Noto Emoji:pixelsize=8:antialias=false:weight=0
<NickHu>
So, if I'm using nixos-unstable, and I want to build a package in my local nixpkgs with as little compilation as possible, at which commit should I base my package?
<NickHu>
With stable nixos, I'd base off the tag release-16.09 for example
goibhniu has joined #nixos
<sziszi>
NickHu: unstable is rolling so probably you're fine with the latest
<NickHu>
In reality, doesn't hydra lack behind a bit?
<LnL>
hydra publises the channel
JagaJaga has joined #nixos
<MichaelRaskin>
nixpkgs-channels has branches tracking hydra
systemfault has quit [(Quit: Bye!)]
mexisme2 has joined #nixos
mexisme has quit [(Ping timeout: 256 seconds)]
<orivej>
NickHu: `nixos-rebuild switch --upgrade` prints the commit at which everything is built in the URL
systemfault has joined #nixos
<NixOS_GitHub>
[nixpkgs] copumpkin created copumpkin-wip (+1 new commit): https://git.io/vy59o
<NixOS_GitHub>
nixpkgs/copumpkin-wip 079153c Dan Peebles: stdenv-darwin: bump to use LLVM 4.0 & new bootstrap tools
<NixOS_GitHub>
[nixpkgs] copumpkin deleted copumpkin-wip at 079153c: https://git.io/vy59K
mojjo has quit [(Ping timeout: 264 seconds)]
goibhniu has quit [(Ping timeout: 256 seconds)]
<dhess>
copumpkin: oh my, I *just* pulled from master an instant before that commit. *pshew* :)
cgdub has joined #nixos
<copumpkin>
dhess: nah that's to the copumpkin-wip branch :)
<copumpkin>
but then I forgot that the copumpkin-wip branch is in my fork, so I dleted that one
<dhess>
copumpkin: ahh ok. Well, I got bit by master anyway.
<dhess>
emacs25Macport is broken :(
<copumpkin>
oh that was me
* copumpkin
slaps himself
<dhess>
copumpkin: got a quick fix?
<copumpkin>
haven't had time to look into it yet, but matthewbauer suggested something on the PR that broke it
<orivej>
Does anyone know if NixOS can be configured to link include/ from packages into /run/curren-system/sw/include? Currently I have to install some packages with `nix-env -i` if I want their headers to be accessible in a stable location.
<pikajude>
has anyone tried to build qt recently
<pikajude>
it's failing in the patch phase for me
<MichaelRaskin>
Well, you can always set NIX_CFLAGS_COMPILE to include -isystem /run/curren-system/sw/include
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 2 new commits to master: https://git.io/vy55m
<NixOS_GitHub>
[nixpkgs] benley opened pull request #24026: nixos: Use xkbDir consistently so it has an effect (master...use-xkbDir) https://git.io/vy55M
scealiontach has quit [(Client Quit)]
<NixOS_GitHub>
[nixpkgs] 7c6f434c pushed 1 new commit to master: https://git.io/vy55N
<NixOS_GitHub>
nixpkgs/master 16fff5e Michael Raskin: pylibmc: init at 1.5.1; patch by @risicle
<NixOS_GitHub>
[nixpkgs] 7c6f434c closed pull request #7055: add package for pylibmc, adding cyrus_sasl to libmemcached's propagatedB... (master...pylibmc) https://git.io/jzwr
piecesofquiet has quit [(Ping timeout: 246 seconds)]
<c74d>
MichaelRaskin: oh, okay; I assumed you weren't limited to what's in nixpkgs if you're building from source. <http://perf.rust-lang.org/table.html> might show how long a given bootstrap build took for Mozilla (I'm not sure because it doesn't work behind my router).
<neeasade>
hi -- if I want to add some packages and intent to maintain, should I PR to add myself to maintainers.nix file? can I just omit that meta data for now?
<bennofs>
neeasade: add yourself to maintainers is ok i believe
<neeasade>
kk
<MichaelRaskin>
c74d: I am cleaning up the PRs, and I wanted just to test whether a thing builds
stepcut has quit [(Remote host closed the connection)]
<MichaelRaskin>
I do _not_ have immediate plans to update rustc myself
<c0bw3b>
meh my git-fu is lacking and GH is insisting I have a conflict in PR 23621
<c0bw3b>
while in fact I have embedded the changes made in go1.4.nix to resolve the conflict :/
<bennofs>
c0bw3b: to resolve conflicts, you can rebase: git checkout master; git pull; git checkout <your branch>; git rebase master; git push --force-with-lease
<copumpkin>
--force-with-lease :O
<bennofs>
copumpkin: magit taught me
<c0bw3b>
copumpkin : yep thanks will do that
<copumpkin>
nice!
<copumpkin>
y'all are getting a ton of 500s from hydra, right?
<bennofs>
I'm getting 500 errors from cache.nixos.org
<bennofs>
oh
<bennofs>
:D
stepcut has joined #nixos
<bennofs>
is spamming it with requests to fetch .ls.xz a bad idea?
<copumpkin>
cloudfront will rarely 500
<bennofs>
copumpkin: well I'm fetching all .ls.xz for all the store paths in the current nixpkgs
<bennofs>
copumpkin: so "rarely" is relative
<copumpkin>
:)
<copumpkin>
you reviving command-not-found?
<bennofs>
copumpkin: command-not-found is already reviving. I'm building file-not-found :)
<copumpkin>
ooh
<copumpkin>
I guess command-not-found could be an instantiation of file-not-found
<copumpkin>
use locatedb :P
<bennofs>
copumpkin: thought about it, and even started out with a format like locatedb, but I really wanted to include meta data like file size, package name, etc
<bennofs>
copumpkin: so my format is currently "similar" to locatedb but not compatible (I basically have a frcoded (that's what findutils locate uses to build locatedb internally) entry per store path)
<copumpkin>
fair enough
<copumpkin>
sounds very cool
<copumpkin>
you gonna publish it with the channel?
<bennofs>
copumpkin: could do that. it only takes about a min or so to build the index yourself, so not really necessary
elninja44 has joined #nixos
<bennofs>
(and most of the time is spent compressing with zstd, so you could even make it faster by using less compression=
<icetan>
I have some problems with my hydra which I just can't fix, every time it tries to build ghc-7.4.2 it just aborts
<icetan>
no problem when doing "reproduce locally" though
<icetan>
very frustrating, I can't really do anything until I've fixed this problem
<icetan>
any help would be very much appreciated
cgdub has joined #nixos
Troupal has joined #nixos
DMZ__ has joined #nixos
c0bw3b has left #nixos []
<Troupal>
Hello !
<Troupal>
Are there anybody ?
<Yaniel>
yes
<Troupal>
I have some problems after an install of NixOS, during the connection. I wrote this: https://gist.github.com/Troupal/0382f8ea1732e6d75fab72d6d7d8cadf in the file /mnt/etc/nixos/configuration.nix , I initiated nix-install , and I put "" as the unix password. And my problem lies in the fact that I can't connect when kdm starts up, even by putting in login = "troupin" and password = "a" .