<gchristensen>
a 6-digit numeric password isn't sufficient for maintaining a system's security
<clever>
nh2: i'll toss you a msg when i get around to working on that idea
<gchristensen>
viric_: do you have fallback access to the systeem?
<viric_>
gchristensen: it's not a 6-digit numeric password. It's a memory password + 6-digit
<viric_>
gchristensen: no. My fallback has been unplug disk, overwrite store, and plug it again
<nh2>
clever: does nix have package signing? Debian seems to do quite well with HTTP transport and signing, and lots of people provide their own mirrors
<viric_>
gchristensen: and the 6-digit is changing every time
<gchristensen>
the previous configuration used oath exclusively if the main password failed
<gchristensen>
there really should not be an easy option, however I agree the pam module should be flexible enough to configure it that way
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vyP2b
<NixOS_GitHub>
nixpkgs/master dd015a8 Tim Steinbach: kotlin: 1.0.6 -> 1.1
<NixOS_GitHub>
nixpkgs/master bb26805 Tim Steinbach: Merge pull request #23874 from NeQuissimus/kotlin_1_1...
<clever>
nh2: i was thinking of building it lazily like cloudflare, so the cache only gains files upon a miss
takle has joined #nixos
<nh2>
clever: for a public mirror that sounds OK, for my own infra I'd like to be able to build it such that all files are already there so I can rely on every deploy being fast
<clever>
_deepfire: .override can change the arguments to a file on line 1 of its default.nix
<clever>
_deepfire: overrideAttrs changes the attrset passed to mkDerivation
<_deepfire>
clever, like.. covariant and contravariant positions?
<_deepfire>
intercession before and after
<nh2>
clever: ah, then I misunderstood, I thought the approach was to trust the official cache's https and use that one's narifo hashes, but `Sig` is a real signature and nix verifies it with a pubkey?
<clever>
nh2: the issue is that the nar: field in the narinfo says where to get the .nar from
<_deepfire>
clever, thank you a lot!
<clever>
nh2: so there is no easy way to tell it to get the narinfo from one place and the nar from another, without having to intercept the narinfo requests
mizu_no_oto has joined #nixos
takle_ has quit [(Ping timeout: 246 seconds)]
<clever>
nh2: at which point, you might as well just cache the narinfo's
<nh2>
clever: wait, I don't get it, which "nar:" field in the narinfo, the link I curled doesn't have that field
<clever>
nh2: oh wait, its called URL:
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to master: https://git.io/vyPaM
<NixOS_GitHub>
nixpkgs/master 9ac82a7 Tim Steinbach: linux: 4.4.52 -> 4.4.53
<NixOS_GitHub>
nixpkgs/master 18684a4 Tim Steinbach: linux: 4.1.38 -> 4.1.39
<nh2>
clever: but that just says "URL: nar/0b1c57kbqjl78yh5wvna3lgfzldjk12s5a5kkyq49qd07jgy4p0p.nar.xz", doesn't look like something I'd have to intercept
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to release-16.09: https://git.io/vyPaQ
<NixOS_GitHub>
nixpkgs/release-16.09 763dccb Tim Steinbach: linux: 4.1.38 -> 4.1.39...
<NixOS_GitHub>
nixpkgs/release-16.09 b5714db Tim Steinbach: linux: 4.4.52 -> 4.4.53...
<clever>
nh2: its relative to the narinfo file
<NixOS_GitHub>
[nixpkgs] NeQuissimus pushed 2 new commits to release-17.03: https://git.io/vyPa5
<NixOS_GitHub>
nixpkgs/release-17.03 591d91b Tim Steinbach: linux: 4.4.52 -> 4.4.53...
<NixOS_GitHub>
nixpkgs/release-17.03 57e0f0d Tim Steinbach: linux: 4.1.38 -> 4.1.39...
<clever>
nh2: so it will try to download that nar from the same machine
<clever>
brb
devoid has quit [(Quit: Leaving.)]
<nh2>
clever: ah OK, but I could still do this: 1) Set `binary-caches` to my own caching proxy 2) configure caching proxy to have cache.nixos.org as upstream for all requests, thus caching both .narinfo and the actual file 3) profit?
<nh2>
and 4) I could give everybody the link to my proxy and their nix would still verify that all downloaded files are signed by `cache.nixos.org-1` or a similar trusted key?
<clever>
benley: yep
<clever>
nh2: yep
<clever>
nh2: and for extra points, you can always put your own ssl on that cache, to preserve the privacy of the users
<clever>
sp they connect to https://cache.example.com with cache.example.com's cert, which decrypts, then re-encrypts under the cache.nixos.org cert
takle has joined #nixos
<nh2>
clever: right
mkoenig has quit [(Ping timeout: 264 seconds)]
<phI||Ip>
May be a dumb question but is there a way to run a local cache of the package/build repos? Like a mirror in other distros?
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<clever>
nh2, phI||Ip: the other main options are nix-push and nix-serve, but those re-sign it under your own binary cache keys
<clever>
so the users have to trust that the new pairs
<nh2>
phI||Ip: you mean whether there's a ready-to-run binary that automatically hosts a cache like discussed by clever and me above, without any further configuration?
mkoenig has joined #nixos
joncfoo has quit [(Ping timeout: 264 seconds)]
<chattered>
Does anyone have any ideas about how to go about packaging GNUstep projects? I can't see any examples in the repo.
<phI||Ip>
nh2, clever: My main considerations are: 1. Running a viable long term cache in case NixOS chooses not to support an older version, 2. Saving bandwidth on the provider(s) hosting the packages/binaries now, 3. Potentially operating a mirror for anyone to use as a "donation" to the community
<clever>
chattered: the way it uses makefiles is very weird, i havent been able to get darling to compile
takle has quit [(Ping timeout: 256 seconds)]
AllanEspinosa has quit [(Ping timeout: 268 seconds)]
<chattered>
clever: Dang.
<phI||Ip>
I guess one angle is just sponsor/donate to the foundation (I donated $100 recently) but without any governance information or community around the foundation it's hard to know if thats really aiding the efforts I am most concerned about
<phI||Ip>
gchristensen: I figured I wasn't the first to think about that. I love NixOS and want to do my part to help it succeed. It's not exactly clear the best way to participate. I'll stay tuned to the dealings of the foundation.
takle has joined #nixos
<gchristensen>
donations definitely help and enable certain things like artwork, hardware maintenance, etc. but there is no formal report :(
<chattered>
clever: Right now, it's complaining that it can't find GL/gl.h. I take it I need to follow these cmakeFlags you've got.
m0rphism has joined #nixos
<clever>
chattered: for GL, you should just add mesa to the buildInputs
<chattered>
I have done.
<clever>
chattered: mesa contains include/GL/gl.h
<clever>
chattered: can you gist your nix expression and the full error?
<chattered>
Two secs.
<nh2>
clever: OK, when I get a bit of time, I'll try to make a nixops file that spawns an nginx configured to do this as a caching proxy
<clever>
chattered: that should be working, i cant see any obvious reason why it wouldnt
<nh2>
clever: if we standardise the deployment of this, maybe we can kick off an inofficial community-cache-cache, with a github repo into which one can pull-request their own mirror, and e.g. Route53 gelocation + monitoring to select the closest, for very cheap (at OVH-level egress prices)
<clever>
nh2: yeah, that would be great
<clever>
nh2: let me throw something together
Rizy has joined #nixos
<nh2>
e.g. a 40 TB server costs ~150 EUR/month on Hetzner
<gchristensen>
what about a 40TB server with 99.999999999% durability
<gchristensen>
I just don't understand the goal
<nh2>
gchristensen: fast local downloads, while also saving the upstream project some funding (e.g. could be put into paying people instead of AWS bills). Also, caching proxies don't care so much about durability, if a disk fails you just redownload
<gchristensen>
if the problem is: "I want to help out nixos" -> there are hundreds of PRs to review and issues to triage. "I want to make it less costly for nixos" -> donate to help the org as a whole, "the cache is slow" -> random computers around the internet aren't likely to be so helpful, but you could contribute to the nix/ipfs project, send debug information to the ticket
<phI||Ip>
I could donate a server that's easy. I could donate money too. Foundation just needs a tad more transparency on who it is and how the funds are spent. NixOS is still small without its own corporate entity and no tax advantages for US based companies.
<phI||Ip>
I personally don't have time to work through Git issues but I suppose I could hire a NixOS advocate to do it. I dunno.
<gchristensen>
nixos does have a corp identity
<gchristensen>
no us tax adv. though, you're right
<MichaelRaskin>
gchristensen: nh2: well, having publically available independent mirrors will help when you have a lot of parallel downloads, and it may be very useful for the private part of the setup
<phI||Ip>
What ultimately ends up happening though is someone profits too much at the expense of others generosity and things get corporate real fast when someone has to pay the bandwidth bills.
<phI||Ip>
So some of these issues will be sorted out when its necessary. The fact that corp NixOS hasn't started a charity drive to keep it sustainable means they are not hurting for money yet.
mkoenig has joined #nixos
<gchristensen>
d3m36hgdyp4koz.cloudfront.net. already resolves to 8nodes
takle has quit [(Ping timeout: 240 seconds)]
<phI||Ip>
I personally think the Freenode model is nice where orgs can donate money/servers but they do not manage them - NixOS team would.
<nh2>
gchristensen: Same thing for me as for phI||Ip, fixing tickets or even bringing ipfs into a workable state are tasks of signifcant time investment, while donating a cache server is something I could do with one nixops invocation, and it would improve a problem I have regularly (my servers deploying at 2 MB/s instead of 100) while also helping others
<clever>
nginx[9610]: 2017/03/14 00:55:55 [error] 9933#0: *23 SSL_do_handshake() failed (SSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure) while SSL handshaking to upstream
<phI||Ip>
nh2 yep the cache servers can be quite slow at times and I have no meaningful way to improve it
<clever>
nh2: looks like nginx lacks a CA root by default
shanemik_ has joined #nixos
markus1189 has quit [(Ping timeout: 246 seconds)]
markus1199 has quit [(Ping timeout: 258 seconds)]
<nh2>
clever: I'm quite sure that at least on Ubuntu it uses the system-wide installed certs, or at least it has never complained to me when being set against an SSL upstream
<clever>
nh2: if i dont ssl the upstream side, it can proxy-pass, testing the cache now
AllanEspinosa has joined #nixos
<bgamari>
Sonarpulse, any word on the cross-compilation work?
<nh2>
gchristensen: don't get me wrong, I think nix does very well in that it _has_ a global CDN that just works out of the box (as compared to e.g. Debian-based distributions where you still have to select your closest mirror and hope that that university still hosts it next year), and it is extremely commendable that there are invisible people who pay big money for my free usage without expecting anything in return, but it does gi
takle has quit [(Ping timeout: 268 seconds)]
<gchristensen>
nh2: cut off at "but it does gi"
<nh2>
... give a "too good to be true" feeling, and if that could easily be removed it would be a plus IMO
<phI||Ip>
nh2 +1
RchrdB has left #nixos ["Leaving"]
takle has joined #nixos
<phI||Ip>
nh2: I'm not too worried about it though because as NixOS continues to get more successful it will be incumbent on them to ask for more help/sponsors and these questions will get answered. It may be too early yet.
<nh2>
also, some speculation: if the cache serves 100 TB traffic / month, that's still 6000$/month of cloudfront bill, and I'd be personally much happier if that'd go to somebody to work on the ecosystem full time and solve the problems that I can't solve, than to AWS to solve a problem I can trivially solve
_deepfire has quit [(Ping timeout: 256 seconds)]
mkoenig_ has joined #nixos
<gchristensen>
it was easy, for example, for me to get sponsorship for the packet.net boxes wehave
<phI||Ip>
Does NixOS have a bounty board? That would be a cool way to employ Nix enthusiasts in a communal way
<ivan>
scaleway, online.net, OVH have free outbound
<ivan>
online.net is unhappy with using more than the guaranteed bandwidth for extended periods but the others are probably really uncapped
<offlinehacker[m]>
it says:
<offlinehacker[m]>
Path /nix/store/g7wllqq33dc8a8dsb6r71wrbd6mz3ykf-nix-1.11.2 is no longer available.
takle has quit [(Ping timeout: 268 seconds)]
Sonarpulse has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Ping timeout: 260 seconds)]
<offlinehacker[m]>
does anyone host any nixpkgs file with at least nix 1.10
<offlinehacker[m]>
online.net only provides old nix version and i can't update
<offlinehacker[m]>
meh actually i can probably copy my local closure to server
mkoenig_ has quit [(Ping timeout: 260 seconds)]
<phI||Ip>
ivan: I would think for a mirror/cache you would want higher port speed and lower monthly cap so the pulls that are done are very fast. 100TB a month of bandwidth is not that much.
mkoenig has joined #nixos
spacekitteh has quit [(Ping timeout: 240 seconds)]
<clever>
it is passing traffic, but it doesnt appear to be caching yet
MoreTea has quit [(Ping timeout: 240 seconds)]
<phI||Ip>
clever: Do we mean cache or mirror? Cache I assume checks the primary host to validate itself on requests and if it still has a current copy sends that. A mirror is like a dumb rsync folder that serves whatever.
<phI||Ip>
Oh I see you are using Nginx to do the caching
alx741 has joined #nixos
<clever>
phI||Ip: and i believe nginx will obey the cache-control headers, and can serve a request up without re-checking the source, within configured time windows
<gchristensen>
the nixos cache can have an infinity ttl
<clever>
yeah, because every path is immutable, the tty can just be infinity
<phI||Ip>
clever: you had mentioned something earlier about the keys being resigned? or was that a different issue?
cpennington has quit [(Remote host closed the connection)]
<clever>
phI||Ip: that only happens if your using nix-cache or nix-push
<clever>
nix-serve*
<clever>
phI||Ip: nix-serve will dynamicaly package things directly from /nix/store on-demand, and sign them with a private key you create
<clever>
phI||Ip: nix-push will bulk package&sign a store and create a directory you can serve with a dumb static-file http server
<clever>
but in both cases, the cache.nixos.org-1 signature is lost
<clever>
even if its a binary identical copy of the original
<phI||Ip>
So you have to set a key on the client system to accept the resigned packages
<phI||Ip>
Although those tools would solve one variant of the issue. I could build one master system with all the packages I'll ever need, nix-push it and then use that for all my new NixOS installs
<phI||Ip>
I lose out on package updates though
<clever>
yeah
romildo has joined #nixos
<phI||Ip>
is there an index of everything that is on cache.nixos.org
<phI||Ip>
or is just discovery through hasing
<phI||Ip>
^hashing
<clever>
there is an index somewhere in hydra, that is used to generate the command-not-found db
<phI||Ip>
Building a web server to do this is trivial
<gchristensen>
oh I just found a bug in that too
<phI||Ip>
where in Nix can I point to phils.cache
<clever>
phI||Ip: /etc/nix/nix.conf
romildo has left #nixos []
<gchristensen>
`dig` suggests `nix-shell -p bind` but `bind` doesn't have `dig`
<clever>
gchristensen: it does for me
Yottaby68 has quit [(Ping timeout: 258 seconds)]
<clever>
wait
<clever>
it did...
<clever>
it doesnt now...
<gchristensen>
nix-shell -p bind.dnsutils :)
<nh2>
is there a standard way to override services? E.g. let's say I want to add an `After` entry to nginx's systemd configuration, extending the existing `After` by a couple list entries, what's the cleanest way to do that override?
<clever>
phI||Ip: you can then take the hash from the individual paths, and query cache.nixos.org/<hash>.narinfo to check the cache, and get more data
<clever>
and its starting to get late here, so i'm off to bed, goodnight :)
<nh2>
clever: good night, let me know as you progress with that nginx script
mudri has quit [(Quit: WeeChat 1.7)]
mkoenig has quit [(Ping timeout: 240 seconds)]
<gchristensen>
damn, I missed clever
<justan0theruser>
Is 17.03 stable?
<gchristensen>
no, justan0theruser
<justan0theruser>
when will it be considered stable?
mkoenig has joined #nixos
<neeasade>
hi all
<neeasade>
new user
<neeasade>
trying to wrap my head around building, gone through the manual a bit -- trying to build the hello with default.nix
<neeasade>
I put the contents in a folder, and nix-build . -A hello
<neeasade>
is that not how I would build?
<ndowens08>
git clone github.com/nixos/nixpkgs so you have a repo or fork a copy
<ndowens08>
w/o the other expressions in that repo, it would error. So fork it, clone your copy and cd nixpkgs then you can do so
<neeasade>
so, clone the repo, make hello folder, put default.nix in there, then nix-build ?
takle has joined #nixos
<ndowens08>
would have to add the callPackage name for the package to pkgs/top-level/all-applicationms
<ndowens08>
applications
<ndowens08>
so it'd be like: hello callPackage ../applications/SUBDIR/hello { }
<ndowens08>
once you go into that file, you will understand
<neeasade>
ok I see the call in there
<neeasade>
to the existing hello package in applications/misc
<neeasade>
so I cd to that folder (hello folder)
<gchristensen>
justan0theruser: about 15-20 days
<neeasade>
and call nix-build -A hello ?
takle has quit [(Ping timeout: 260 seconds)]
<justan0theruser>
ok, I'll just run with 17.03 then maybe
mkoenig has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
Guest88139 has quit [(Ping timeout: 258 seconds)]
derjohn_mob has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] volth opened pull request #23879: libvirt and friends: fix 32 bit build by removing dependency on xen (master...libvirt-32bit-remove-xen-dependency) https://git.io/vyPXh
<neeasade>
is that the usual approach if packaging something for yourself? have a clone of desired nixpkgs, add personal package, build from there
pikajude has quit [(Quit: ZNC 1.6.3 - http://znc.in)]
Yottabyte has joined #nixos
Yottabyte is now known as Guest77572
pikajude has joined #nixos
<ndowens08>
neeasade: pretty much, and dont have to go into the dir the app is in, can be just in nixpkgs main folder
<NixOS_GitHub>
[nixpkgs] copumpkin pushed 1 new commit to master: https://git.io/vyP1S
<NixOS_GitHub>
nixpkgs/master 25e75cd Dan Peebles: kube-aws: 0.8.1 -> 0.9.4...
<neeasade>
ndowens08: ok thanks -- how do selectors work? I added new applications/misc/mypackage, with name property "mypackage" in mkderivation rec, but when I nix-env -i mypackage, I get selector matches no derivations
<ndowens08>
Best thing I can recommend you, is too look at other apps, esp similar ones. I tend to learn better by looking at others and trying to understand what is going on
<ndowens08>
nix-env -i mypackage -I nixpkgs=/path/to/nixpkgs I believe it is
<ndowens08>
that command only works when it is in the actual nixos repo
<neeasade>
I was using -f with var
<ndowens08>
the one you wrote
<neeasade>
and ommitted for brevity, sorry -- so I'm using nix-env -f $NIXPKGS -i mypackage
<neeasade>
where $NIXPKGS is the repo
derjohn_mob has joined #nixos
<ndowens08>
did you try the above? It has been a while since I have created my own, I tend to just nix-build -A package and then open a pull request to add it to the offical repo
<ndowens08>
lately been just updating packages already in the repo
mbrgm has quit [(Ping timeout: 260 seconds)]
mbrgm has joined #nixos
<neeasade>
yes I did -- I get 'error: selector `mypackage` matches no derivations -- for context I'm packaging https://github.com/neeasade/xst (I saw there is a st patch system but I want to practive a package)
<ndowens08>
if you only need to use it in meta area, do meta = with stdenv.lib; { but if you use optionals and meta and etc, put it at top to save time and sorta slim down the nix file a lil
CcxWrk has quit [(Ping timeout: 240 seconds)]
<ndowens08>
yea too many stdenv.lib lol, if i update it, i slim those down :)
<neeasade>
I guess I just feel a bit weird that it's not standard to maintain your nixpkgs away from the main tree somewhere
<ndowens08>
but enjoy. there are some applications that are a pain to update and I dont understand it completely; but go after the ones I do and can understand. Practice makes perfect :)
<ndowens08>
but i go after*
<neeasade>
appreciate your help, thank you
<ndowens08>
welcome
<ndowens08>
night all
ndowens08 has quit [(Ping timeout: 240 seconds)]
marsam has left #nixos ["Killed buffer"]
pallav has quit [(Ping timeout: 260 seconds)]
pallav has joined #nixos
mkoenig has joined #nixos
nh2 has quit [(Quit: Leaving.)]
mkoenig has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] peterhoeg closed pull request #17303: iio-sensor-proxy: init at 2.2 and nixos module (master...iio) https://git.io/vKFXw
mkoenig has joined #nixos
xwvvvvwx has quit [(Ping timeout: 256 seconds)]
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
pallav has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
spinus has quit [(Ping timeout: 256 seconds)]
takle has quit [(Ping timeout: 256 seconds)]
systemfault has joined #nixos
takle has joined #nixos
eacameron has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 260 seconds)]
hexagoxel has joined #nixos
nevermind has joined #nixos
grrkit has joined #nixos
grrkit has quit [(Client Quit)]
grrrkit has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
ChongLi has quit [(Ping timeout: 240 seconds)]
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
sheenobu has joined #nixos
ChongLi has joined #nixos
AllanEspinosa has quit [(Ping timeout: 240 seconds)]
nevermind has joined #nixos
takle has joined #nixos
myheadhurts_ has quit [(Quit: Connection closed for inactivity)]
takle has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
pie_ has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
danharaj has quit [(Ping timeout: 240 seconds)]
ChongLi has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
ChongLi has joined #nixos
takle has quit [(Ping timeout: 258 seconds)]
systemfault has quit [(Quit: Bye!)]
takle_ has joined #nixos
proteusguy has joined #nixos
takle_ has quit [(Ping timeout: 240 seconds)]
comex has quit [(Quit: WeeChat 1.5)]
fresheyeball has quit [(Quit: Konversation terminated!)]
takle has joined #nixos
fresheyeball has joined #nixos
johnsonav has quit [(Ping timeout: 246 seconds)]
endformationage has quit [(Quit: WeeChat 1.6)]
takle has quit [(Ping timeout: 260 seconds)]
pie_ has quit [(Quit: Leaving)]
takle has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
pie_ has joined #nixos
takle_ has joined #nixos
takle_ has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
Mercuria1Alchemi has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
contrapumpkin has quit [(Ping timeout: 260 seconds)]
wkennington has joined #nixos
copumpkin has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] nicknovitski opened pull request #23881: links2: build on all unix platforms (master...links-darwin) https://git.io/vyPb4
johnsonav has joined #nixos
serieux has joined #nixos
serieux has quit [(Remote host closed the connection)]
eacameron has quit [(Remote host closed the connection)]
eacameron has quit [(Read error: Connection reset by peer)]
eacameron has joined #nixos
takle has joined #nixos
lezed1 has quit [(Remote host closed the connection)]
copumpkin has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
takle has quit [(Ping timeout: 268 seconds)]
takle has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
takle has quit [(Ping timeout: 246 seconds)]
fre has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
hexagoxel has quit [(Ping timeout: 256 seconds)]
hexagoxel has joined #nixos
pallav has joined #nixos
pallav has quit [(Client Quit)]
estewei has quit [(Ping timeout: 264 seconds)]
pallav has joined #nixos
takle has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
tomsmeets has joined #nixos
estewei has joined #nixos
alebatt has joined #nixos
reinzelmann has joined #nixos
sivteck has joined #nixos
filterfish has quit [(Ping timeout: 260 seconds)]
takle has joined #nixos
fre has quit [(Ping timeout: 256 seconds)]
takle has quit [(Ping timeout: 246 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
filterfish has joined #nixos
filterfish has quit [(Remote host closed the connection)]
mkoenig has joined #nixos
filterfish has joined #nixos
peterhhoeg has joined #nixos
martinb1 has joined #nixos
peterhhoeg has quit [(Remote host closed the connection)]
lezed1 has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
sivteck has quit [(Quit: Leaving)]
mkoenig has quit [(Ping timeout: 240 seconds)]
filterfish has quit [(Read error: Connection reset by peer)]
filterfish_ has joined #nixos
eacameron has joined #nixos
lezed1 has quit [(Remote host closed the connection)]
DutchWolfie has joined #nixos
DutchWolfie has quit [(Changing host)]
DutchWolfie has joined #nixos
eacameron has quit [(Ping timeout: 240 seconds)]
mkoenig has joined #nixos
takle has joined #nixos
MichaelRaskin has quit [(Quit: MichaelRaskin)]
lezed1 has joined #nixos
<lezed1>
I'm having trouble running OpenGL over SSH (to an LXC container which should have basically direct access to the integrated graphics of my laptop). Right now I'm only getting "libGL error: unable to load driver: swrast_dri.so" from glxinfo. Any ideas on how to get it working?
<unlmtd[m]>
I did ```git rebase channels/nixos-unstable``` ant then installed some package from nixpkgs, but it's still pulling stuff that is obviously already installed. What could I be missing?
filterfish_ has quit [(Ping timeout: 240 seconds)]
<unlmtd[m]>
how's the runit fork going?
<unlmtd[m]>
I think we might as well go for a nix rewrite and use free/netbsd base
takle has quit [(Ping timeout: 256 seconds)]
adfaure has joined #nixos
<unlmtd[m]>
damn that sounds like a lot of work
<unlmtd[m]>
using the gpl is thinking 'I like open source, but open source doesnt work, so we have to force it'
<unlmtd[m]>
Ohh Ye of Litte Faith!
mkoenig has quit [(Ping timeout: 260 seconds)]
<adfaure>
Hello everyone, it is possible to have a nix-shell with buildInputs pointing onto a fork from my filesystem ? I packaged some lib that I needt to use in my project and I would like to have it installed in a nix-shell in order to be able to compile my application. I am new to nix, Thanks !
<Ralith>
adfaure: yes, there's various approaches; for example, you can invoke nix-shell with -I nixpkgs=/path/to/your/fork
hotfuzz_ has quit [(Ping timeout: 246 seconds)]
katyucha is now known as Guest61982
Guest61982 has quit [(Killed (verne.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
eacameron has joined #nixos
katyucha_ has joined #nixos
<adfaure>
Ralith, thank you very much. I could not find it from the man, I was looking for -f (as for nix-env if I record well).
<Ralith>
adfaure: a trick for nix manpages is that the options for nix-build apply to almost everything
<Ralith>
so start with man nix-build
<adfaure>
Ralith, okay I will do it thank you.
eacameron has quit [(Ping timeout: 246 seconds)]
mkoenig has joined #nixos
<Ralith>
good luck!
eqyiel has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Ping timeout: 258 seconds)]
sibi has quit [(Quit: Connection closed for inactivity)]
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vyPhx
<NixOS_GitHub>
nixpkgs/master 8498f97 Vincent Laporte: ocaml-top: 1.1.2 -> 1.1.3
mkoenig has quit [(Ping timeout: 246 seconds)]
thc202 has joined #nixos
<ronny>
rycee[m]: i see, i understand time constraints too well (there is a kid on the way)
mkoenig has joined #nixos
<rycee[m]>
Congrats :-)
freusque has quit [(Quit: WeeChat 1.7)]
takle has joined #nixos
<adfaure>
Hello, I have a weird behaviour with cmake and nixos. I created a default.nix to build an application into a nix-shell with cmake. My problem is that cmake is looking for python 3 and if I run cmake from the root directory of my project it works well. But If I create a build directory and run `cmake ..` cmake cannot find python and instead find the python from my profile (which is python2...). Does someone faced the same issue please ?
freusque has joined #nixos
takle has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
freusque has quit [(Client Quit)]
freusque has joined #nixos
xeviox has joined #nixos
takle has quit [(Ping timeout: 260 seconds)]
tomsmeets has quit [(Ping timeout: 240 seconds)]
<xeviox>
hi guys, can someone guide me through an install of a package in a different version than the one that is available in my channel? I tried to override it (not globally) which worked to a certain point but couldn't resolve the also overriden dependency
eqyiel has joined #nixos
eqyiel has quit [(Changing host)]
eqyiel has joined #nixos
xvapx has joined #nixos
<sziszi>
xeviox: how did you do that ?
<sziszi>
I add a new channel (systemwide or peruser) then I specify to install from the other channel: nix-env -iA channel.derivation
mkoenig has quit [(Ping timeout: 258 seconds)]
henri has joined #nixos
jensens has joined #nixos
mkoenig has joined #nixos
henri has left #nixos []
<ronny>
rycee[m]: thx
mkoenig has quit [(Ping timeout: 240 seconds)]
teknico has joined #nixos
mkoenig has joined #nixos
hotfuzz has joined #nixos
sivteck has joined #nixos
<Ralith>
adfaure: sounds like you might have stale cmake state in your project root directory and have forgotten to place the proper python in buildInputs in your default.nix
alebatt has quit [(Ping timeout: 258 seconds)]
wkennington has quit [(Quit: Leaving)]
<NixOS_GitHub>
[nixpkgs] offlinehacker closed pull request #23699: fix the incorrect elasticsearch plugin name (master...patch-7) https://git.io/vywOI
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vyXfB
<samae>
That's pretty much the «User friendlierness®» roadmap, no?
derjohn_mob has quit [(Ping timeout: 258 seconds)]
takle has joined #nixos
goibhniu has joined #nixos
viric has joined #nixos
takle_ has joined #nixos
takle has quit [(Ping timeout: 268 seconds)]
ixxie has joined #nixos
eacameron has joined #nixos
takle_ has quit [(Ping timeout: 264 seconds)]
<sziszi>
samae: NixOS is different, waaay different from arch. I understood the differences, and that is why I'm here.
<sziszi>
Also Arch got some (bad) popularity of some kind.
eacameron has quit [(Ping timeout: 240 seconds)]
takle has joined #nixos
xwvvvvwx has joined #nixos
<LnL>
I don't really understand his statement about application state
takle has quit [(Ping timeout: 260 seconds)]
nh2 has joined #nixos
eacameron has joined #nixos
eacameron has quit [(Ping timeout: 260 seconds)]
derjohn_mob has joined #nixos
goibhniu has quit [(Ping timeout: 240 seconds)]
peterhoeg has quit [(Read error: Connection reset by peer)]
MoreTea has joined #nixos
peterhoeg has joined #nixos
goibhniu has joined #nixos
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vyXT9
<NixOS_GitHub>
nixpkgs/master f09a738 Peter Hoeg: crudini: init at 0.9
nh2 has quit [(Ping timeout: 256 seconds)]
martinb1 is now known as timor
ThatDocsLady has joined #nixos
mudri has joined #nixos
takle has joined #nixos
<NixOS_GitHub>
[nixpkgs] abbradar pushed 1 new commit to master: https://git.io/vyXk0
<NixOS_GitHub>
nixpkgs/master 648db95 Nikolay Amiantov: python.pkgs.bleach: 1.5.0 -> 2.0.0...
<timor>
Hi. A while ago I opened a pull request (22897) and I think I massaged it into an acceptable form. By looking at the Pull request I cannot tell if it is in an acceptable state. Can anyone tell me if I am supposed to still fix something by looking at the PR?
ixxie has quit [(Ping timeout: 258 seconds)]
<goibhniu>
hi timor, I'll restart the travis builds
<Mateon1>
Hi, I'm trying to get IPython notebooks to work in some way or other on NixOS. There is no anaconda package for NixOS, jupyter-notebook doesn't exist in Nix, jupyterlab has a 404 error on starting, and there is no ipython-notebook in Nix
<timor>
goibhniu: I appreciate that, how can you tell that they need restarting?
<goibhniu>
timor: at the end of the comments page for the PR you can see "The Travis CI build failed" and click through to the details
hexagoxel has quit [(Ping timeout: 260 seconds)]
<goibhniu>
Mateon1: is it ipythonFull?
<Mateon1>
goibhniu: Hm, didn't find that with nix-env -qaP .*ipython.*
<goibhniu>
ah, it's not there
<timor>
goibhniu: Ok. How do you tell the difference between an error that needs fixing by changing some code and an error that can be fixed by restarting the CI?
<goibhniu>
timor: ah, you can often see if it's just totally unrelated
hexagoxel has joined #nixos
takle has quit [(Remote host closed the connection)]
<goibhniu>
Mateon1: did you have a look at the jupyter nix expressions already? we certainly used to have ipython notebook
nh2 has joined #nixos
<Mateon1>
goibhniu: I didn't look at the source .nix files, but the packages I installed didn't quite work
<goibhniu>
you'll probably want to configure it to use extra libraries anyway
<taeradan>
is there a simple way of having stable absolute paths to library dirs like tomcat or openjdk ? It is not easy for everyone in my team to search and change manually the paths in the IDE at each upgrade
<goibhniu>
hi taeradan
<goibhniu>
are they installed with nix-env?
<taeradan>
everything is installed declaratively
<goibhniu>
via configuration.nix?
<taeradan>
I share a nix source folder between each machine for uniformisation
<goibhniu>
I'm just checking which profile there will be in
<taeradan>
yes everything is under /etc/nixos
<goibhniu>
cool, so there will be symlinks in /run/current-system/sw/ .... does that help?
takle has joined #nixos
Rizy has joined #nixos
<goibhniu>
you might also want something like : environment.pathsToLink = [ "/include" "/libexec" ];
<taeradan>
the symlinks are made for the executables, but the IDE need path to the *.jar
<goibhniu>
where are the jar files stored?
<taeradan>
in various subdirs in tomcat and openjdk derivations
<Mateon1>
Okay, I managed to get it mostly working
<Mateon1>
Just missing a few packages in Nix
proteusguy has quit [(Read error: Connection reset by peer)]
<taeradan>
I have tried to declare env variables like $JAVA_HOME and $CATALINA_HOME, but eclipse still want an absolute path
<goibhniu>
cool, so you probably need the extra pathsToLink then ... does that make sense?
takle has quit [(Remote host closed the connection)]
<goibhniu>
Mateon1: I wonder what it's doing
<timor>
goibhniu: The CI build failed because of the time limit. It seems that it had to rebuild a lot of unrelated (with regards to the PR) packages. Is running the CI build flawlessly a prerequisite to merging the PR?
<zetok>
viric: works with znc; IIRC irssi had some changes to its SSL stuff
mudri has quit [(Ping timeout: 240 seconds)]
<viric>
zetok: ssl connection to znc?
<goibhniu>
timor: right ... classic :) ... it's not a prerequisite, but it would be nice
<zetok>
viric: connecting to freenode @ 7070 with znc
<viric>
in another computer it worked better, I remember
<viric>
simply certificates failed. But in this (pi2) connection is reset by peer
<viric>
as if irssi were not sending proper ssl
<timor>
goibhniu: Thanks. Back to my original question: Do you know if there is anything that needs to be done from my side regarding the PR?
eacameron has joined #nixos
takle has joined #nixos
<goibhniu>
timor: I don't, sorry that it's been sitting around for so long, perhaps you could add a comment to the people who reviewed it already
rxpt has joined #nixos
<timor>
goibhniu: I will do that then, thanks.
viric has quit [(Quit: leaving)]
viric has joined #nixos
deepfire` has joined #nixos
<rxpt>
Hi guys, I'm still learning nix expressions, http://pastebin.com/BtrEDK92 . I'm trying to create a python environment with python and git in it. How do I add the two together in this?
<NixOS_GitHub>
[nixpkgs] peterhoeg pushed 1 new commit to master: https://git.io/vyX3Y
<NixOS_GitHub>
nixpkgs/master b0c7df9 Peter Hoeg: crudini: fix maintainer and run tests
eacameron has quit [(Ping timeout: 264 seconds)]
<rxpt>
the python part is working but the git isn't
viric has quit [(Client Quit)]
viric has joined #nixos
mkoenig has joined #nixos
<Mateon1>
Okay, it finally finished, unfortunately erorred because of missing deps
sivteck has quit [(Ping timeout: 256 seconds)]
deepfire` has quit [(Ping timeout: 260 seconds)]
<Mateon1>
It took between 20 and 40 minutes to even begin to build... (I was away for a while, so the time range is not exactly precise)
thc202 has joined #nixos
mudri has joined #nixos
mkoenig has quit [(Remote host closed the connection)]
<goibhniu>
Mateon1: so now you're working on a new python package, right?
mkoenig has joined #nixos
<Mateon1>
goibhniu: No, I want to try out another person's code, and possibly try out something myself with machine learning
<goibhniu>
ah, so the package is already in nixpkgs?
<Mateon1>
No, and that person's code depends on a Python package that is not in nixpkgs
<Mateon1>
It is in PyPI though
<goibhniu>
... right, that's what I mean ... the pastebin showed you trying to install gensim
<goibhniu>
you could always use virtualenv to get around this
<goibhniu>
if you don't want to add the package to nixpkgs
<Mateon1>
I'm getting "Package self-4.5.0" is marked as broken
<Mateon1>
Whoops, quotation error
<Mateon1>
"Package ‘self-4.5.0’ in ‘/nix/store/kz6n0dldnp9r42q7fg3d81ix11hc9583-nixos-17.03beta240.5c1fdb1/nixos/pkgs/development/interpreters/self/default.nix:37’ is marked as broken, refusing to evaluate."
deepfire` has joined #nixos
Dezgeg has quit [(Quit: WeeChat 1.4)]
<hyper_ch>
how can I get the virtualbox user interface to work again on nixos?
<NixOS_GitHub>
[nix] r-raymond closed pull request #1271: Document creation of signing keys for nix-store (master...patch-1) https://git.io/vyoVt
Dezgeg has joined #nixos
eacameron has joined #nixos
pkogan has quit [(Quit: Connection closed for inactivity)]
ncode has quit [(Ping timeout: 268 seconds)]
<neeasade>
how can I get a user nix-env window manager? I installed a rolling version of target WM as user, but config.nix/top level is stable/how do I change that to match user version
ncode has joined #nixos
ncode has quit [(Changing host)]
ncode has joined #nixos
lezed1 has quit [(Remote host closed the connection)]
sivteck has quit [(Quit: Leaving)]
eacameron has quit [(Ping timeout: 264 seconds)]
xeviox has quit [(Ping timeout: 260 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
Rizy has quit [(Read error: Connection reset by peer)]
deepfire` has quit [(Ping timeout: 256 seconds)]
Rizy has joined #nixos
mkoenig has joined #nixos
martin____ has joined #nixos
Rizy has quit [(Quit: Rizy)]
<martin____>
hey, i have nixos stable as default channel and nixos-unstable as an additional import. It works but I cannot install unfree from nixos-unstable, since the nixpkgs.config is not applied to unstable.
<martin____>
does anybody know how to configure per channel?
xwvvvvwx has quit [(Ping timeout: 240 seconds)]
deepfire` has joined #nixos
<ronny>
martin____: problem is that unstable is imported without config, what you can do is add a packageoverride to expose unstable with the current/unfree config
<ronny>
(it will be a crude hack in any case
toppler has quit [(Remote host closed the connection)]
steshaw has quit [(Quit: Connection closed for inactivity)]
<martin____>
ronny: what would that look like?
<martin____>
i mean where would i do that?
toppler has joined #nixos
<ronny>
martin____: i#d have to experiment myself, i recall seeing a example months back
deepfire` has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] LnL7 pushed 2 new commits to master: https://git.io/vyXlH
<NixOS_GitHub>
nixpkgs/master a6be98c Periklis Tsirakidis: qt57.{qtdeclarative,qtscript,qttranslations}: fix darwin compat...
<NixOS_GitHub>
nixpkgs/master 1ca372e Lancelot SIX: pythonPackages.celery_3: drop
<NixOS_GitHub>
nixpkgs/master 33fa4ce Frederik Rietdijk: Merge pull request #23701 from lsix/update_django-raster...
<LnL>
Baughn: there's probably some recursion in your expression
sivteck has quit [(Ping timeout: 260 seconds)]
eacameron has quit [(Ping timeout: 256 seconds)]
Baughn_ has joined #nixos
sivteck has joined #nixos
Baughn has quit [(Ping timeout: 276 seconds)]
Baughn_ is now known as Baughn
ixxie has quit [(Ping timeout: 268 seconds)]
thc202 has quit [(Ping timeout: 260 seconds)]
proteusguy has joined #nixos
<qknight>
fpletz: when is the release party in munich?
<qknight>
fpletz: maybe i'd like to come
Baughn has quit [(Quit: ZNC 1.6.2+deb1 - http://znc.in)]
Baughn has joined #nixos
Baughn has quit [(Client Quit)]
Baughn has joined #nixos
<NixOS_GitHub>
[nixpkgs] dtzWill opened pull request #23886: timewarrior: Use default install target, fixes doc/theme installation. (master...fix/timewarrior-install-docs-themes) https://git.io/vyX2v
<Baughn>
Okay, how do I stop Hydra from eating all my memory? >_<
xwvvvvwx has quit [(Ping timeout: 264 seconds)]
Mercuria1Alchemi has joined #nixos
<Baughn>
Hmm.
<gchristensen>
Baughn: <joke> I can't remember. :(
<dtzWill>
haha
<toppler>
Is there a convenient option to disable port 25 in postfix?
mkoenig has quit [(Ping timeout: 258 seconds)]
ThatDocsLady is now known as ThatDocsLady_afk
<Baughn>
toppler: It'll be blocked by the firewall by default.
<Baughn>
Not a direct answer, but..
thc202 has joined #nixos
<Baughn>
gchristensen: strace reports that hydra-eval-jobs is making no system calls.
<Baughn>
I think it's just spinning. Is that a plausible result of defining no machines?
<Baughn>
It's spinning with 16GB used, though..
mkoenig has joined #nixos
nevermind has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
<exarkun>
error: adding derivation output for ‘/nix/store/nm3fziw8351k63l8crhvfvc7r5hp7xqr-jshon-a61d7f2f85f4627bc3facdf951746f0fd62334b7-src.drv’ in database: database disk image is malformed
<exarkun>
this seems to happen with unfortunate regularity
<Baughn>
Well, *this* is interesting
xwvvvvwx has joined #nixos
<Baughn>
gchristensen: Adding a smaller release.nix, and using that instead of default.nix, made it evaluate with alacrity.
<Baughn>
Said release.nix just propagates some of the values in default.nix. Only thing I can think of is that the latter has a few non-derivation values defined.
<Baughn>
Ah, and now it's *queued*.
<Baughn>
So I do need some machines defined. Right.
mkoenig has quit [(Ping timeout: 240 seconds)]
sivteck has quit [(Read error: Connection reset by peer)]
<samae>
lassulus: why not have a user service for your screenlock?
<Yaniel>
I wonder when was the last time I saw "flash player" without "critical security fix"
<lassulus>
samae: because user services can't depend on system targets
<lassulus>
so I can't hook it to sleep.target if its a user service
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to master: https://git.io/vyXyS
<NixOS_GitHub>
nixpkgs/master f70a896 Robin Gloster: hol: mark as broken
<NixOS_GitHub>
nixpkgs/master c555556 Robin Gloster: refind: mark as broken
<NixOS_GitHub>
[nixpkgs] globin pushed 2 new commits to release-17.03: https://git.io/vyXy7
<NixOS_GitHub>
nixpkgs/release-17.03 118011a Robin Gloster: hol: mark as broken...
<NixOS_GitHub>
nixpkgs/release-17.03 adaf488 Robin Gloster: refind: mark as broken...
<samae>
lassulus: good point : )
<samae>
had to ask
<FRidh>
c0bw3b: pypy needs an interpreter for the translation. We use CPython 2.7 for that.
<c0bw3b>
FRidh : yes it makes sense after all but I wanted to install a lightweight alternative to run a simple Py script but then realised I was installing Python2.7 anyway :p
cfricke has quit [(Ping timeout: 240 seconds)]
mkoenig has quit [(Ping timeout: 246 seconds)]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-wip: https://git.io/vyXSX
<NixOS_GitHub>
nixpkgs/python-wip fc55e80 Frederik Rietdijk: pythonPackages.ipython_genutils: 0.1.0 -> 0.2.0
mkoenig has joined #nixos
Rizy has joined #nixos
stepcut has quit [(Remote host closed the connection)]
cfricke has joined #nixos
bennofs has joined #nixos
tomsmeets has joined #nixos
wrl has quit [(Read error: Connection reset by peer)]
wrl has joined #nixos
spacekitteh has quit [(Ping timeout: 240 seconds)]
ebzzry has quit [(Ping timeout: 260 seconds)]
<qknight>
how to do 'make menuconfig' on nixos?
Mercuria1Alchemi has quit [(Ping timeout: 246 seconds)]
mkoenig has quit [(Ping timeout: 240 seconds)]
<qknight>
the 'make menuconfig' i've been trying, based on a failed kernel build with -K can't find the ncurses but i'm on a nix-shell -p gcc ncurses ... so why do i see lots of undefined references
mkoenig has joined #nixos
c0bw3b has left #nixos []
<NixOS_GitHub>
[nixpkgs] joachifm pushed 1 new commit to master: https://git.io/vyX7H
mizu_no_oto has quit [(Quit: Computer has gone to sleep.)]
Rizy has quit [(Quit: Rizy)]
<MoreTea>
ikwildrpepper, the last commits are a bit less descriptive, I missed some corner cases, but AFAICS, it works properly with vbox at the moment.
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-wip: https://git.io/vyXhg
<MoreTea>
The embedded json-in-json is a bit silly though.
<jekor>
Is it possible to include a derivation in another derivation? Say I have a default.nix for a derivation that's mostly simple C programs, but I have a subdirectory for a Haskell program. Could I somehow leverage haskellPackages.callPackage to build that binary and have all of the binaries put into the same directory in the nix store?
<MoreTea>
I'm not sure how that could be fixed properly without rewriting most of nixops.
cfricke has quit [(Quit: WeeChat 1.7)]
<MoreTea>
jekor, you could probably create a symlink in the haskell package in some postXXXX phase.
fnljk has quit [(Read error: Connection reset by peer)]
xwvvvvwx has joined #nixos
fnljk has joined #nixos
<jekor>
Is there a key for extra files to install?
mkoenig has quit [(Ping timeout: 240 seconds)]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-wip: https://git.io/vyXjg
<NixOS_GitHub>
nixpkgs/python-wip 47f7817 Frederik Rietdijk: pythonPackages.typed-ast: 1.0.1 -> 1.0.2
<MoreTea>
jekor, you can probably hijack postInstall = "ln ${my_c_packakge}/bin/my_c_binary $out/bin/my_c_binary"
mkoenig has joined #nixos
<jekor>
Looks good. Thanks.
<MoreTea>
I have not used the haskell infa though
mizu_no_oto has joined #nixos
nh2 has quit [(Ping timeout: 258 seconds)]
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to python-wip: https://git.io/vy1e3
<NixOS_GitHub>
nixpkgs/python-wip fd68cd4 Frederik Rietdijk: pythonPackages.pygal: 2.0.10 -> 2.3.1
<pi3r>
Hi, does someone know about a quiet switch for 'nix-shell' ? I want to mask all outputs related to downloading ...
<revtintin>
Hi, I added a Haskell package to hackage-packages.nix, and `nix-build -A haskellPackages.<package>` works. How could I install it to my user profile? (`nix-env -iA haskellPackages.<package>` doesn't work)
<NixOS_GitHub>
[nixpkgs] FRidh pushed 2 new commits to python-wip: https://git.io/vy1fH
<NixOS_GitHub>
nixpkgs/python-wip 6a6d48b Frederik Rietdijk: pythonPackages.dateparser: mark as broken
<NixOS_GitHub>
nixpkgs/python-wip 4a615d9 Frederik Rietdijk: pythonPackages.pywatchman: disable python 3.x and disable tests
<revtintin>
Ah, adding `-f .` did the trick.
<srhb>
revtintin: You probably shouldn't do it like that though, unless you mean for it to get included with the next autogeneration of hackage-packages.nix because it happens to be on hackage. :)
thc202 has joined #nixos
pi3r has quit [(Ping timeout: 256 seconds)]
xeviox has quit [(Ping timeout: 260 seconds)]
<revtintin>
oh, that didn't occur to me.
ixxie has joined #nixos
<srhb>
revtintin: iirc that file is autogenerated from hackage2nix. You may not care if it's just local though.
<revtintin>
srhb: it is at the moment (I don't think it warrants a PR to nixpkgs), so I guess that's ok then. Thanks!
<srhb>
revtintin: Ok :)
nh2 has joined #nixos
spinus has joined #nixos
<srhb>
revtintin: (For what it's worth, I keep my Haskell packages in my ~/.nixpkgs or ~/.config/nixpkgs/overlays since 17.03 out of band from my checkout of a "clean" nixpkgs, unless I intend to actually PR something)
<revtintin>
srhb: wait, you mean as long as anything is in Hackage it's added at some point? (i'm new to NixOS)
<alphor>
types.nullOr is a function that takes another type and is similar to ML-style options, right?
mkoenig has quit [(Ping timeout: 240 seconds)]
martinb has joined #nixos
reinzelmann has quit [(Quit: Leaving)]
Seichi has quit [(Quit: Konversation terminated!)]
Seichi has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh pushed 1 new commit to master: https://git.io/vy1IB
<NixOS_GitHub>
nixpkgs/master a79c653 Frederik Rietdijk: Merge pull request #23885 from FRidh/jupyter...
civodul has quit [(Remote host closed the connection)]
civodul has joined #nixos
<dtz>
hmm apparently device(s) plugged into the usb-c/usb 3.x port on my xps 15 1)only work if I boot with them connected and 2)don't disappear when unplugged
<dtz>
anyone have any experience with these things, or suggestions what might be causing this behavior? I'd blame the device if I wasn't also seeing the not-disappearing-from-lsusb problem as well
<dtz>
looks like I should've just gotten a regular usb ethernet adapter lol :(
mkoenig has joined #nixos
devoid has joined #nixos
seanz1 has joined #nixos
Wizek has joined #nixos
Wizek_ has joined #nixos
<devoid>
If I want to mount a dir in my ZFS fileserver on my "modern" Mac (OS X 10.10), what protocol should I be using? netatalk, smb, nfs?
seanz has quit [(Ping timeout: 260 seconds)]
<clever>
devoid: i would try nfs first, then smb
sivteck has joined #nixos
spinus has quit [(Ping timeout: 256 seconds)]
<clever>
devoid: nfs supports uid's and chmod, so it its best when both ends are unix like
<devoid>
clever, thanks. So am I right in reading that netatalk is basically dead?
<clever>
havent heard of netatalk
<devoid>
AFP
<clever>
ah
mkoenig has quit [(Ping timeout: 240 seconds)]
<clever>
sounds like apples version of NFS
spinus has joined #nixos
mizu_no_oto has joined #nixos
jensens has quit [(Ping timeout: 240 seconds)]
mizu_no_oto has quit [(Client Quit)]
ryanartecona has quit [(Quit: ryanartecona)]
mkoenig has joined #nixos
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python-wip from 4a615d9 to 4ad727e: https://git.io/vzaOS
<NixOS_GitHub>
nixpkgs/python-wip 8ad5965 Frederik Rietdijk: pythonPackages.ipython: 5.2.1 -> 5.3.0...
<NixOS_GitHub>
nixpkgs/python-wip 1c5254a Frederik Rietdijk: pythonPackages.jupyter_client: 4.4.0 -> 5.0.0...
<NixOS_GitHub>
nixpkgs/python-wip 1d6d08f Frederik Rietdijk: pythonPackages.jupyter_core: 4.2.1 -> 4.3.0...
MichaelRaskin has joined #nixos
mojjo has quit [(Ping timeout: 264 seconds)]
<NixOS_GitHub>
[nixpkgs] FRidh force-pushed python-wip from 4ad727e to 36a3737: https://git.io/vzaOS
<NixOS_GitHub>
nixpkgs/python-wip 53e4abb Frederik Rietdijk: pythonPackages.pygal: 2.0.10 -> 2.3.1...
<NixOS_GitHub>
nixpkgs/python-wip 8a1b213 Frederik Rietdijk: pythonPackages.dateparser: mark as broken...
<NixOS_GitHub>
nixpkgs/python-wip 36a3737 Frederik Rietdijk: pythonPackages.pywatchman: disable python 3.x and disable tests...
pdobrogost has quit [(Quit: Connection closed for inactivity)]
ryanartecona has joined #nixos
roni has joined #nixos
MP2E has joined #nixos
<roni>
hi all, i have a package in my store with this name: 8ki5im21ivxvbpwnqri1c3k7y2vdzf6m-fontconfig-2.12.1-dev
<roni>
how would i go about bringing this package into a nix-shell? i can't figure out the attribute path for this package, i.e. how to invoke it by name in my buildInputs, etc.
<bennofs>
roni: fontconfig.dev probably
guillaum1 has joined #nixos
<domenkozar>
MoreTea: nice, what's missing?
alx741 has joined #nixos
<domenkozar>
MoreTea: can you add documentation how to use it?
ryanartecona has quit [(Quit: ryanartecona)]
<roni>
bennofs: i don't see that package name when i do "nix-env -qaP"
<roni>
although, "nix-shell -p fontconfig.dev" works without an error - how can i verify that the *.h files are available in that shell?
<MoreTea>
domenkozar, will do.
<MoreTea>
I'm coordinating this with gchristensen a bit
<null_>
Hi, what's the proper way to set where a binary gets installed? I'm writing a package for my custom dwm, and it wants to install to /usr/local/bin. Where should it install and how can I make sure it gets installed there?
<null_>
also nixos is FUCKIGN awesome
<MichaelRaskin>
During the build time, there is "$out" environment variable for the installation prefix
<MichaelRaskin>
Did you look at the default dwm package?
<null_>
I did, it doesnt build for me
<null_>
unless I'm doing it wrong, which I don't doubt
<MichaelRaskin>
Well, its prePatch could still work
<null_>
Oh okay I see
<null_>
I gotcha now, gonna try that, thank you
<MichaelRaskin>
Hm, Hydra built dwm just fine
<null_>
like I said I'm probably just doing it wrong, I've been using nixos for like, two days lmao
<null_>
loving it so far though
<null_>
well shit that worked perfectly. Thank you so much I've been pounding my head on this. I hate asking questions on irc so it's usually a last resort
<gchristensen>
bennofs: "probably" but also "probably not" because people commit right to master
<gchristensen>
I think it only works if homu / bors is king of merges
<bennofs>
hmm yeah that is a problem
<gchristensen>
( / queen / ruler)
<freusque>
Hi all, is there a tool I can use to browse nixpkgs? For example, if I'd like to know where is "writeText" defined, I currently grep in the nikpkgs repository
<domenkozar>
bennofs: dunno
<freusque>
for something like grep -r "writeText = " .
<domenkozar>
I'd have to review what it does
<bennofs>
domenkozar: I think it wants to be in control of merges (avoiding broken master), but that's perhaps not such a great fit for nixpkgs
<freusque>
and also, is this regexp search packaged as a service :)
takle_ has quit [(Remote host closed the connection)]
<freusque>
ok found it thk
c0bw3b has joined #nixos
<bennofs>
freusque: github search is very limited, I think it works on word basis or something? I just tried to search for aarch in issues, and it didn't find an issue that aarch64 in it...
<gchristensen>
and it ignores "big" files
<bennofs>
gchristensen: oh, hound supports nix?
griff_ has joined #nixos
<gchristensen>
it doesn't really understand languages
<bennofs>
oh then that was some other tool
<gchristensen>
ah :)
mudri has quit [(Ping timeout: 240 seconds)]
<freusque>
gchristensen: bennofs: okay I see it, and it's really cool. I run searches and it makes no visit in systemd-cgtop at all
<freusque>
thanks all
<gchristensen>
you're welcome, also: hound has editor support
xwvvvvwx has quit [(Ping timeout: 258 seconds)]
contrapumpkin has joined #nixos
<freusque>
these vim plugins won't talk to 127.0.0.1:6080 for some reason
<freusque>
I'll figure it out thanks for the help
<freusque>
another question I'm having
<freusque>
is there a way to make nixops deploy to other architectures
<freusque>
do I need an arm machine to build on in order to deploy arm builds for example?
takle has joined #nixos
<freusque>
ah needs mattn/webapi-vim :-)
<srk>
any idea how to pass timeout to nixos-rebuild?
<srk>
if I run NIX_PATH=nixpkgs=... nix-build '<nixpkgs>' -A polkit --timeout 0 --cores 8 it seems to build stuff again and different packages
spinus has quit [(Ping timeout: 256 seconds)]
<glines>
how does one add the autotools hook into a package so that autoconf and friends are run? I forgot
<glines>
I thought there was some sort of helper
nevermind has joined #nixos
<glines>
simply adding autoconf and automake as build inputs doesn't seem to do the trick
Guest82633 has quit [(Killed (moon.freenode.net (Nickname regained by services)))]
katyucha_ is now known as katyucha
katyucha_ has joined #nixos
journal has joined #nixos
alx741 has quit [(Ping timeout: 260 seconds)]
<glines>
contrapumpkin: I'm aware of the g-line ;P
<glines>
there's also GL_LINES
ThatDocsLady has quit [(Quit: Arma-geddin-outta-here!)]
Dezgeg has quit [(Ping timeout: 260 seconds)]
<srk>
oh --cores is the magic option
Guest77572 has quit [(Ping timeout: 264 seconds)]
romildo has joined #nixos
Yottaby65 has joined #nixos
Yottaby65 has quit [(Max SendQ exceeded)]
<Sonarpulse>
bgamari: ah!
<Sonarpulse>
you caught me :/
<Sonarpulse>
doing some paper work right now; but later today let me at least *start* working on that
Yottaby94 has joined #nixos
Yottaby94 has quit [(Max SendQ exceeded)]
<Sonarpulse>
s/working/merging
<Sonarpulse>
it's been too long!
Yottaby16 has joined #nixos
<ekleog>
does anyone here know how tests in nixpkgs/lib/tests.nix can be called? I just changed a library function and would like to add some tests
<bgamari>
Sonarpulse, great, happy to hear it
<Sonarpulse>
contrapumpkin: pinged me too the other day about it
<Sonarpulse>
demand is there!
<Sonarpulse>
:)
Yottaby90 has joined #nixos
Yottaby90 has quit [(Max SendQ exceeded)]
derjohn_mob has quit [(Ping timeout: 240 seconds)]
Yottaby97 has joined #nixos
marsam has joined #nixos
alx741 has joined #nixos
Yottaby16 has quit [(Ping timeout: 258 seconds)]
thc202 has quit [(Ping timeout: 268 seconds)]
null_ has joined #nixos
AllanEspinosa has joined #nixos
Yottaby97 has quit [(Ping timeout: 240 seconds)]
<null_>
So I have my custom-dwm nixos package building, now I just need to install it instead of the stock dwm. I do '$ nix-env -f . -iA custom-dwm' but I get ''
<null_>
"error: attribute ‘custom-dwm’ in selection path ‘custom-dwm’ not found"
Yottaby1 has joined #nixos
<clever>
null_: is it added to all-packages.nix or config.nix?
<null_>
nope, how would I go about doing that?
<null_>
oh jesus christ I see now, I really need to learn to read
romildo has left #nixos ["Leaving"]
<journal>
can anyone give this novice a list of the packages, instead of thumbing through in term
<Mateon1>
Is there any way to use https://nixos.org/nixos/packages.html and options.html locally? nix-env -qaP for packages is slow to run, and the webpage does it instantly, and I found no equivalent for options locally
reinzelmann has joined #nixos
anelson_ has joined #nixos
xwvvvvwx has quit [(Ping timeout: 256 seconds)]
anelson- has joined #nixos
jsgrant- has joined #nixos
<gchristensen>
man configuration.nix, Mateon1
derjohn_mob has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to master: https://git.io/vy1P4
<NixOS_GitHub>
nixpkgs/master 5228bc9 Robert Helgesson: eclipses: add dependencies as build inputs...
stepcut has quit [(Ping timeout: 246 seconds)]
alx741 has quit [(Quit: alx741)]
xwvvvvwx has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to release-17.03: https://git.io/vy113
<NixOS_GitHub>
nixpkgs/release-17.03 3905792 Robert Helgesson: eclipses: add dependencies as build inputs...
devoid1 has joined #nixos
freusque has quit [(Quit: WeeChat 1.7)]
<Mic92>
Mateon1: nox is also helpful for package search
<Mic92>
or nix-shell -p pack<TAB> (if you have zsh completion)
devoid has quit [(Ping timeout: 260 seconds)]
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vy1MB
<NixOS_GitHub>
nixpkgs/master d6f586b Jörg Thalheim: git-octopus: init at 1.4
<Mateon1>
Hm, don't have zsh, not sure if I want to switch to it.
<Mateon1>
nox is pretty nice
civodul has joined #nixos
<Mateon1>
It does take a long time to search, though
<NixOS_GitHub>
[nixpkgs] Mic92 pushed 1 new commit to master: https://git.io/vy1Ma
<wak-work>
Mic92: have you noticed a 10x slowdown for spinning up nix builders?
<wak-work>
MichaelRaskin: same ^
sivteck has quit [(Ping timeout: 264 seconds)]
goibhniu has joined #nixos
<NixOS_GitHub>
[nixpkgs] rycee pushed 1 new commit to release-16.09: https://git.io/vy1Dx
<NixOS_GitHub>
nixpkgs/release-16.09 0a476ee Robert Helgesson: eclipses: add dependencies as build inputs...
<jophish_>
ghc can't load a shared object with popcountll
<MoreTea>
@domenkozar, ah, I found a different nixbot that did was nothing more then a PoC.
<Mic92>
wak-work: I use nixUnstable and have no numbers
<MichaelRaskin>
Well, I have long builds running now, so no
<wak-work>
hmmm
<MichaelRaskin>
Haven't notice anything about these fleeting start-up moments
ndowens08 has joined #nixos
<wak-work>
it's just really problematic when building config files and such things
<wak-work>
because it takes ~5s to build a config file right now
<wak-work>
this only applies to sandboxed builds of course
<MichaelRaskin>
Oh, so it is not about the binary cache checks
<wak-work>
nope
<MichaelRaskin>
(Nix sometimes re-checks right before building)
georges-duperon has joined #nixos
<wak-work>
MichaelRaskin: I did tests back to back multiple times to make sure that wasn't the case
<wak-work>
and disabled the binary cache
<Mic92>
It is definitly faster then a second for me
<wak-work>
it takes 0.15s to do https://github.com/NixOS/nix/issues/179 without sandboxing, with sandboxing on kernel 4.9 it takes 14s, and on kernel 4.10 it takes 1:40
<jophish_>
seems to be that bits-extras is broken
<MichaelRaskin>
Hm.
<MichaelRaskin>
time NIX_REMOTE_SYSTEMS= nix-build --no-out-link '<nixpkgs>' -A hello --option binary-caches '' 2>&1 | grep -m1 unpacking
<MichaelRaskin>
real time 0.558s
<MichaelRaskin>
Doesn't sound that bad
revtintin has quit [(Quit: WeeChat 1.7)]
freusque has quit [(Quit: WeeChat 1.7)]
<MichaelRaskin>
Hm, got lucky on this run, actually, looks like it is spread from 0.55 to 0.7 or something like that
<MichaelRaskin>
4.10.1
freusque has joined #nixos
<MichaelRaskin>
Tried on actual NixOS, 0.45–0.8s (the box is loaded by a chromium build, and it is faster than the laptop)
stepcut has joined #nixos
<MichaelRaskin>
wak-work: so I wouldn't say there is something dramatic
<jophish_>
peti: Why is bits-extras called with {gcc_s = null;}?
phreedom has joined #nixos
stepcut has quit [(Remote host closed the connection)]
<wak-work>
MichaelRaskin: hmmm, ill look into this more
<MichaelRaskin>
My quick checks are on a somewhat loaded physical hardware
<MichaelRaskin>
(NixOS and NixPkgs-based no-init setups)
<wak-work>
yeah mine were on an idle machine with 2xE5-2670's
<MichaelRaskin>
And ~4s to spin up a build till first output?
<kragniz>
people in #go-nuts said it worked okay for them on a more regular distro
<kragniz>
(you'll need go 1.8)
<dhess>
LnL: I still can't get my Mac to invoke remote-builder.pl when I use your Docker container. It's very strange.
<dhess>
I'm going to look into it again today
<dhess>
Maybe I'll install nix-darwin and see if that helps
<copumpkin>
kragniz: can't test right now, but maybe NIX_DEBUG=1?
<copumpkin>
that should show you the underlying ld calls
<kragniz>
copumpkin: cheers
mizu_no_oto has joined #nixos
<LnL>
dhess: probably not, it should work fine with a regular install
devoid1 has quit [(Ping timeout: 268 seconds)]
<dhess>
LnL: well it definitely doesn't work with mine. I tried using the included keys and everything. No difference.
fre has joined #nixos
nh2 has joined #nixos
<dhess>
It doesn't even look at the remote-systems.conf file as far as I can tell.
bennofs has quit [(Ping timeout: 240 seconds)]
<copumpkin>
I tried it last night and it worked fine for me
<copumpkin>
are you sourcing the environment file?
<dhess>
yes
<copumpkin>
does it say it's triyng to use that machine but can't use it?
<dhess>
no
<copumpkin>
I had that issue briefly while my auth was screwy
<dhess>
it doesn't say anything about any machine
<dhess>
which is why I say, it doesn't appear to be looking at the remote-systems.conf file at all. Something is short-circuiting the evaluation before it gets there.
<clever>
dhess: nixops does some weird things with remote-builder
<dhess>
copumpkin: what are your NIX_* environment variables?
<copumpkin>
I don't have it running right now on this machine
<dhess>
clever: Unfortunately it breaks even with just a nix-build evaluation. I haven't tried with NixOps yet.
<clever>
dhess: if it cant find any remote build slaves configured, nixops will automaticaly use the target machine as a slave, when the host isnt linux
<clever>
ah
<clever>
thats something else then
<dhess>
clever: but the eventual goal is NixOps, so that's useful. Thanks.
<dhess>
I saw a fix for building Linux containers on Mac in the GitHub issues that supposedly works
<LnL>
dhess: you have a regular install right? there are some pitfalls if you're using the nix-daemon
<dhess>
LnL: right, not using the nix-daemon at this point. But that is why I was considering using nix-darwin
<dhess>
the common thread so far with people for whom it works is that they're running nix-darwin.
<clever>
dhess: if nix-daemon is in use, then remote-build stuff has to be setup in the env of nix-daemon, not nix-build
<copumpkin>
no I don't run nix-darwin
<dhess>
ok, good to know.
goibhniu has joined #nixos
<dhess>
LnL: what are your NIX_* env var values?
<LnL>
copumpkin: and you're using the 1.11.6 image, right?
<copumpkin>
yeah I think that was it
alx741 has joined #nixos
<copumpkin>
LnL: I started tinkering with teaching dockerTools to make another image that worked, but ran into a snag :)
rxpt has quit [(Ping timeout: 260 seconds)]
<dhess>
Is anyone using nix from git ? I was hoping that the new C++ remote support would work better than remote-builder.pl, but nix from git was pretty broken when I tried it (last week, I think)
<NixOS_GitHub>
[nixpkgs] vbgl pushed 1 new commit to master: https://git.io/vy1AS
<NixOS_GitHub>
nixpkgs/master cbf87bc Markus Schneider: granite: 0.3.0 -> 0.4.0.1
ShokiNN has joined #nixos
<dhess>
copumpkin: thanks, good to know for the future.
<dhess>
Ahh and I did not know about nix-cookbook
xwvvvvwx has joined #nixos
<ShokiNN>
Hello
null_ has quit [(Quit: Lost terminal)]
johbo[m] has joined #nixos
<gchristensen>
hrmm hydra is acting up
romildo has joined #nixos
<ShokiNN>
I've a litte question... I got my new dell xps 15 9560. So I've some trouble with my graphics card (GTX 1050) becouse the nvidia drivers are outdated. Now my question, how can I get up to date nvidia drivers.
johbo[m] has left #nixos []
<ShokiNN>
Ahh I'm on nixos stable 16.09
Wizek_ has quit [(Ping timeout: 240 seconds)]
mog has quit [(Ping timeout: 240 seconds)]
stepcut has quit [(Remote host closed the connection)]
<gchristensen>
niksnut: do you know why there are 596 aarch64-linux jobs, but t2a-1 is idle?
<LnL>
hydra was also stuck earlier today
jgertm has joined #nixos
<LnL>
(or it just looked like that)
Yottaby74 has joined #nixos
stepcut has joined #nixos
<NixOS_GitHub>
[nixpkgs] fuzzy-id opened pull request #23901: Cleaning up and enabpled LUA and PCRE (master...master) https://git.io/vy1po
stepcut has quit [(Remote host closed the connection)]
froglegstew has joined #nixos
<froglegstew>
hello. has anyone managed to run sway on nixos with nvidia hardware?
<MoreTea>
The problem with that is that it cannot take namespace collisions into account. In theory we could parse the requirements.json and check for e.g. homepage.
<MoreTea>
For the first version this is more than sufficient.
<NixOS_GitHub>
[nixpkgs] svanderburg pushed 1 new commit to release-16.09: https://git.io/vyMTe
<NixOS_GitHub>
nixpkgs/release-16.09 f9a23ed Sander van der Burg: disnix: 0.6 -> 0.7...
AllanEspinosa has quit [(Ping timeout: 256 seconds)]