Re: [Nix-dev] NixOS Foundation

2015-07-18 Thread zimbatm
If you ever get tired to managing the admin yourself you can always join the Software Freedom Conservancy . I have never used them personally but they seem to be well respected each time I saw them mentioned. They are also much in the background and don’t touch the brand

Re: [Nix-dev] Why is there no netctl?

2015-07-18 Thread zimbatm
I'm not a core dev but it seems to me that netctl is a tool that Arch Linux introduced recently ? There's probably no objection to have it packaged, just that network settings is already handled by a couple of other tools already. ​ On Sat, 18 Jul 2015

[Nix-dev] Meetup in London ?

2015-07-18 Thread zimbatm
Hello, anyone wants to meetup in London to talk about their NixOS experience ? We could just gather in a co-working space and try to help each-other to package missing software or something. Or if anyone wants to talk about their grand master plan on how to overtake the universe with NixOS. I'm s

[Nix-dev] [ANN] Vagrant boxes for 14.12

2015-07-24 Thread zimbatm
Hi, here are new vagrant boxes for virtualbox derived from the nixbox project for nixos 14.12: - zimbatm/nixos-14.12-x86_64 <https://atlas.hashicorp.com/zimbatm/boxes/nixos-14.12-x86_64> - zimbatm/nixos-14.12-i686 <https://atlas.hashicorp.com/zimbatm/boxes/nixos-14.12-i686&

Re: [Nix-dev] [ANN] Vagrant boxes for 14.12

2015-07-25 Thread zimbatm
Thank you for the feedback Paulus. Just to give an idea of how much work is involved to make the images official, here are the steps I think would be taken: * transfer the github repo zimbatm/nixbox to the nixos org, probably rename the project * create a new "nixos" org on atla

Re: [Nix-dev] What is a default.upstream file?

2015-07-28 Thread zimbatm
I think it's used by this tooling here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/upstream-updater/update-walker.sh#L100 It might also be related to the updateWalker meta attribute mentioned here: http://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes On Tue, 28 Jul

Re: [Nix-dev] "allowSubstitutes" option

2015-08-01 Thread zimbatm
It seem to be fairly new and might not be documented yet. See https://github.com/NixOS/nix/commit/b64988bb3585478676585a0f0aecbcf4e11d44 On Sat, 1 Aug 2015 at 23:40 Nikolay Amiantov wrote: > Ouch, obviously I meant "it should be the opposite of". > > On 08/02/2015 01:38 AM, Nikolay Amiantov wrot

Re: [Nix-dev] Can developers snail mail me the live CD?

2015-08-25 Thread zimbatm
Where about are you geographically speaking ? The CD still requires a lot of bandwidth during installation unfortunately. Is the limit on the phone monthly ? On Tue, 25 Aug 2015 03:54 Brian Jones wrote: > I was wondering if it is possible to have the 64-bit graphical live cd > snail mailed to m

Re: [Nix-dev] Next release updates

2015-09-03 Thread zimbatm
Amazing. What about OSX and other targets ? It would be great if the findutils revert was part of the release. On Wed, 2 Sep 2015 19:43 Domen Kožar wrote: > A week is around, everyone is doing a great job fixing bugs and build > failures. We have around 50 build failures more and zero blocking

Re: [Nix-dev] ghc --enable-multi-instance, the end of cabal hell ?

2015-09-19 Thread zimbatm
In my understanding nix already separates different versions of a package into different derivations. Even if cabal supports having multiple versions of a package, at compile time it still has to resolve to a single version. On Sat, 19 Sep 2015 12:31 Miguel Negrão < miguel.negrao-li...@friendlyvir

Re: [Nix-dev] syncthing questions

2015-09-21 Thread zimbatm
Hi Sergey, Have you setup syncthing using the config.services.syncthing.enable = true in /etc/nixos/configuration.nix ? The service is creating /var/lib/syncthing by default. This is a better place to put the files, home folders should be private. Cheers, z ​ On Mon, 21 Sep 2015 at 12:19 Sergey M

Re: [Nix-dev] Providing Debian, Arch etc. packages counterproductive?

2015-09-22 Thread zimbatm
What does the deb exactly contain and take care of ? I'm not sure of the boundary between the system package manager and nix. For example once nix is installed I would expect the `nix` binary to be managed by it, but if it's provided by the system package as well then it's possible to have two vers

Re: [Nix-dev] Feature request: replace the Darwin stdenv with the pure Darwin stdenv

2015-10-02 Thread zimbatm
Looking forward to see the merge happening. Right now Darwin is totally unusable for me because of the OSX upgrade. On Fri, 2 Oct 2015 at 16:52 Eric Seidel wrote: > I'm tentatively in favor of making the switch too. I'm going to test my > environment against pure-darwin this weekend. > > On Fri,

Re: [Nix-dev] Building portable linux binaries on NixOS

2015-10-07 Thread zimbatm
What is the output of `ldd go-app` ? Go binaries should be static unless you're using gccgo. On Wed, 7 Oct 2015 18:18 Kamil Chmielewski wrote: > Hi, > > I'm trying to build Linux binaries from Go source code, but when I move it > to Ubuntu and I try to run it there all I get is: > -bash: ./go-a

Re: [Nix-dev] Building portable linux binaries on NixOS

2015-10-07 Thread zimbatm
@Luca: try this: ``` $ nix-env -i direnv [snip] $ ldd `which direnv` not a dynamic executable ``` The difference is that direnv is pure go and thus isn't compiled by gccgo. @Kamil: if it's possible to remove all the C dependencies in your go program I would recommend it. It just makes distribu

Re: [Nix-dev] vagrant-nixos-plugin

2015-10-18 Thread zimbatm
On Tue, Sep 1, 2015, at 04:19 PM, Alexander Flatter wrote: > > Hello Christian, > > this is great - I’m looking forward to play with this. > > > On 01 Sep 2015, at 22:14, Christian Theune wrote: > > Hi, > > even though the "vagrant-nixos” plugin was featured on th

[Nix-dev] [ANN] Vagrant boxes for 15.09

2015-10-18 Thread zimbatm
Hi all, nixbox <https://github.com/zimbatm/nixbox> has just been updated to release 15.09 vagrant boxes for the i686 and x86_64 archs. Only VirtualBox is supported as a provider for now. You can find the boxes hosted on the hashicorp’s atlas platform: x86_64 <https://atlas.hashicorp.co

Re: [Nix-dev] [ANN] Vagrant boxes for 15.09

2015-10-19 Thread zimbatm
w, “real” thing. > > In short: > > * Gem “vagrant-nixos” — bad > * Gem “vagrant-nixos-plugin” — good > > I hope to hear back from the original author at some point to help the > community clean this up. > > Christian > > On 19 Oct 2015, at 01:02, zimbatm wrote: > &g

Re: [Nix-dev] $3.40/month ARM server w/ 2GB RAM, 50GB disk

2015-11-06 Thread zimbatm
I created an account but they are out of stock and don't let me see the admin. I wanted to see if they let you boot from an ISO/iPXE like on vultr, that makes the install considerably easier. On Fri, 6 Nov 2015 at 08:17 Lluís Batlle i Rossell wrote: > Thank you! Sounds like a good offer. > > On

Re: [Nix-dev] Remote Installation

2015-11-06 Thread zimbatm
I would also add a little script that pings back to a known location and reports the local IP. Then just tail the logs of that known location's httpd server :) On Fri, 6 Nov 2015 at 04:51 Roger Qiu wrote: > Try using Packer. You can take the liveCD ISO, and repack it as an image > with SSH enabl

Re: [Nix-dev] Staging merge

2015-11-09 Thread zimbatm
Is there a document that explains the rationale behind keeping a separate staging area ? I don't understand nixos fully and it looks like it would be more work than keeping the unstable channel to master. On Sun, 8 Nov 2015 19:49 Anderson Torres wrote: > 2015-11-08 17:01 GMT-02:00 William Kennin

Re: [Nix-dev] Publish All of Hackage

2015-11-19 Thread zimbatm
Are haskell libraries useful other than at compile time ? Nix doesn't do dependency resolution in regards to version matching and I don't think that we will ever have a unified hackage where all the latest versions work together. Tools like cabal2nix seem essential in that regard. If we where to

Re: [Nix-dev] Locale issues with Nix shell (and GHC) on OSX

2015-11-19 Thread zimbatm
Did you check your environment variables ? I suppose that LANG and friends are set to en_US.UTF-8. You could try to add the locales packages to your shell.nix or change LANG, LC_ALL to "C". If you don't need Unicode that might be easier. On Thu, 19 Nov 2015 10:44 Yves Parès wrote: > Hi, > When c

Re: [Nix-dev] Locale issues with Nix shell (and GHC) on OSX

2015-11-19 Thread zimbatm
Sorry, I don't know how to help you further. I also don't know why glibcLocales should be linux-only. On Thu, 19 Nov 2015 at 12:30 Yves Parès wrote: > I actually need Unicode, this is why setting LANG=C is a problem. > > 2015-11-19 13:27 GMT+01:00 zimbatm : > >> Di

Re: [Nix-dev] Why does my system rebuild rustc and cargo?

2015-11-21 Thread zimbatm
Can you give the output ? It would be interesting to see the list of derivatives that it's going to build. The top-level one should be the culprit. On Sat, 21 Nov 2015 at 15:30 Matthias Beyer wrote: > After switching from rustPlatform.{rustc, cargo} to > rustUnstable.{rustc, cargo} it worked. >

Re: [Nix-dev] Why does my system rebuild rustc and cargo?

2015-11-24 Thread zimbatm
Maybe one of the sqlite3 files is corrupted. What does this give you ? ``` find /nix/var -name "*.sqlite" -exec sh -c "echo .exit | sqlite3 -cmd 'PRAGMA integrity_check;' {}" \; ``` On Sun, 22 Nov 2015 at 16:30 Matthias Beyer wrote: > On 22-11-2015 12:18:30, Matthias Beyer wrote: > > On 21-11-20

Re: [Nix-dev] What does this output in my VM test mean?

2015-11-24 Thread zimbatm
It seems like the wireless card configuration is changed by both the host and the guest to make sure they obey to the local regulation, and they both have different regions. https://wireless.wiki.kernel.org/en/developers/regulatory/crda Can you run iw reg get on both the guest and the host to tes

Re: [Nix-dev] Why does my system rebuild rustc and cargo?

2015-11-24 Thread zimbatm
m: > ok > find: "/nix/var/nix/profiles/per-container": Permission denied > ok > > On 24-11-2015 16:36:13, zimbatm wrote: > > Maybe one of the sqlite3 files is corrupted. What does this give you ? > > ``` > > find /nix/var -name "*.sqlite&q

Re: [Nix-dev] Real documentation, aka "Let's kill the wiki"

2015-11-24 Thread zimbatm
Please no XML as the source, it adds way too much emphasis on the structure instead of the content. Asciidoc is pretty good. It can be configured quite close to markdown and supports all the nice

Re: [Nix-dev] mention-bot for nixpkgs?

2015-11-24 Thread zimbatm
The Homu model looks quite interesting. If homu would trigger a hydra build and only push to master after the build succeeds, I believe that it would simplify a lot of things nicely. Master would already have binary caches from the builds so we could use it as the unstable channel. This is quite b

Re: [Nix-dev] mention-bot for nixpkgs?

2015-11-25 Thread zimbatm
Wasn't the plan to upload the binaries automatically to resolve the disk space issue on the workers ? Or is this another cache. On Wed, 25 Nov 2015 at 09:24 Vladimír Čunát wrote: > On 11/24/2015 10:48 PM, zimbatm wrote: > > Master would already have binary caches from the builds s

Re: [Nix-dev] nix for reproducible and self-updating developer environments

2015-11-26 Thread zimbatm
Lots of good points, definitely experiencing most of these issues myself (especially the SSL issues lately). In terms of language support, it seems that we're slowly getting there. That's what I got from NixCon, lots of people interested in helping out. But yeah, it takes time. I think that first

Re: [Nix-dev] Secure NixOS

2015-12-07 Thread zimbatm
Hi Seroka, just a couple of idea: (1) is really cool but could also be solved by having faster builds and binary diffs. I really liked the presentation at NixCon and think that it's a really cool hack but don't understand all of the implications. Just as an anecdote; ruby has had a release with a

Re: [Nix-dev] How do you manage bare-metal local servers with nixops

2015-12-14 Thread zimbatm
Hi rohit, Personally I just have a folder per machine with the /etc/nixos folder and a little script that runs rsync + `nixos-rebuild --switch` on the target machine. Over time I will probably switch to using nixops as well but for a start it's working super well for me. Especially since it doesn

Re: [Nix-dev] How do you manage bare-metal local servers with nixops

2015-12-14 Thread zimbatm
Rohit, try something like this: https://gist.github.com/zimbatm/d466ef56f88605f78f99 On Mon, 14 Dec 2015 at 22:47 Domen Kožar wrote: > You might want to test https://github.com/NixOS/nixpkgs/pull/11279 > > On Mon, Dec 14, 2015 at 10:45 PM, rohit yadav > wrote: > >> Hi

Re: [Nix-dev] Perl -> C++

2016-01-01 Thread zimbatm
C++ supports on whole lot more platforms than the proposed alternatives. If Nix is to become a universal package manager it seems important as a feature. That being said, we're bound to have security issues if the nix-daemon is it's written in an unsafe language. On Thu, 31 Dec 2015 at 11:36 Luca

Re: [Nix-dev] Flattening pkgs tree in nixpkgs/pkgs

2016-01-08 Thread zimbatm
The issue with naming is that everyone has their opinion. Since other smart people have already played the categorization game can I suggest to restrict the discussion to which *existing* structure we should adopt ? There are a lot of big repositories out there: debian, gentoo portage, archlinux,

Re: [Nix-dev] Perl -> C++

2016-01-08 Thread zimbatm
On top of better defining the language it would also be helpful if the nix commands could be classified in core vs plumbing like git does. In theory only the core commands and the nixpkgs are required to bootstrap a fully-functioning nix platform right ? On Thu, 7 Jan 2016 at 13:18 Tomasz Czyż wr

Re: [Nix-dev] Flattening pkgs tree in nixpkgs/pkgs

2016-01-10 Thread zimbatm
Okay, now we just need *someone* to implement a proof of concept :p On Sun, 10 Jan 2016 at 11:13 ikrek vagyunk wrote: > dear fellow nixers, > > i followed this discussion and would like to propose (the already > proposed) way of sorting packages alphabetically and then add some > meta-tags. eve

Re: [Nix-dev] [***SPAM***] Re: [***SPAM***] Re: Regarding the Wiki

2016-01-13 Thread zimbatm
Does anyone know how Archlinux does it ? It's one of the rare wiki that I really love because the content is so well structured. On Mon, 11 Jan 2016 at 07:14 Michael Raskin <7c6f4...@mail.ru> wrote: > >> So I suppose the first important question should be : Should there be a > >NixOS documentatio

Re: [Nix-dev] How to get correct length of a string containing non-ascii characters

2016-01-13 Thread zimbatm
Related to that, the suckless conferent talk on UTF-8[1] was pretty interesting. The complexity of Unicode and all that goes with it is pretty crazy. That being said the libutf8 from the same guys seem to be pretty decent and takes sane defaults to a lot of these questions. [1] http://suckless.org

Re: [Nix-dev] Notes and ideas about the Nix-UI proposal

2016-01-23 Thread zimbatm
I keep seeing this transaction argument but what is the use-case for it ? For complex scenarios I think it would be best to have a user-equivalent of the /etc/nixos/configuration.nix file and a `nix switch` command to apply the changes in a transactional manner. Then `nix install` and friends migh

Re: [Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL

2016-01-27 Thread zimbatm
I don't know about X.0.log but since .xsession is just a bash script you could use something like: #!/usr/bin/env bash exec &> | logger & # the usual stuff On Tue, 26 Jan 2016 at 05:01 Roger Qiu wrote: > Hi, > > How does one redirect the logs (X.0.log) and (~/.xsession-errors) to > journalc

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread zimbatm
One common error with system services are missing environment variable. When testing with your shell you will have $HOME set for example. On Thu, 28 Jan 2016 09:43 4levels <4lev...@gmail.com> wrote: > Hi Exi, > > thank you for your reply. > > This is the timers config I'm using (note that I'm sta

Re: [Nix-dev] Going through hell with systemd timers

2016-01-28 Thread zimbatm
: Start the service once. >> $ systemctl status urlwatch.service -l -n 1000 : See the systemd logs >> for the last run, up to 1000 full lines. >> # journalctl -xef --unit=urlwatch : Print all the logs, -f follows the >> output in real time. >> >> A very simple trick

Re: [Nix-dev] FOSDEM 2016

2016-01-29 Thread zimbatm
One here ! On Fri, 29 Jan 2016 08:34 Domen Kožar wrote: > Hi all, > > who's going to FOSDEM this year? I'm skipping this year - I hope you all > have a really great time! > > I see there is one talk on Nix: > https://fosdem.org/2016/schedule/event/microkernels_genode_nix/ > > Domen > ___

Re: [Nix-dev] environment in systemd services

2016-01-30 Thread zimbatm
Did you try to pass the AWS keypair trough an environment variable ? I don't know it that would fix it but it's a 3rd solution, not having access to the right keys. On Sat, 30 Jan 2016 at 13:20 Arnold Krille wrote: > Hi all, > > yes, its the first time I am writing on this list. > > I am trying

Re: [Nix-dev] FOSDEM 2016

2016-01-30 Thread zimbatm
giving a longer version of the lightning talk I gave at NixCon. >> Rather than use microkernels to confuse Nix people, this time I will be >> using Nix to confuse microkernel people. >> >> Emery >> >> > From: zimbatm >> > >> &g

Re: [Nix-dev] [Fixed?] Re: environment in systemd services

2016-01-30 Thread zimbatm
are in the url given in the config file. > > > > I also tried setting serviceConfig with options privateTmp=false and > > privateNetwork=false but these options seem to be for a later version > > of systemd. I am on stock 15.09 here. > > > > - Arnold > > > > (

Re: [Nix-dev] Wiki is dead

2016-02-10 Thread zimbatm
Is it possible to get a dump using dumpBackup.php ? https://en.wikipedia.org/wiki/Help:Export I would like to try something out now that the wiki is read-only. On Wed, 10 Feb 2016 at 16:50 Domen Kožar wrote: > Thanks! > > On Wed, Feb 10, 2016 at 4:49 PM, Eelco Dolstra < > eelco.dols...@logicblo

Re: [Nix-dev] Travis Testing Needs Rethinking

2016-02-14 Thread zimbatm
What if master was always the latest successful hydra build ? People could rebase on top and have cached builds. Nox could also have cached builds. Instead of merging a PR we would instruct Hydra to queue the build. If the build is successful hydra would merge it into master and close the PR. Othe

Re: [Nix-dev] Wiki is dead

2016-02-14 Thread zimbatm
st of nixos.org. The nice thing about that approach is that we can re-run the import any time until it's ready. But before I invest more time, do you think it's a path worth pursuing ? Also what would be required for this to be considered "ready" ? Link to repo: https://github.co

Re: [Nix-dev] Wiki is dead

2016-02-14 Thread zimbatm
s, I'll just be contributing in some other ways :) On Sun, 14 Feb 2016 at 21:19 Arseniy Seroka wrote: > There was a huge discussion about wiki's future [1]. > > [1] http://lists.science.uu.nl/pipermail/nix-dev/2015-November/018645.html > > 2016-02-15 0:15 GMT+03:00 zimbatm :

Re: [Nix-dev] Wiki is dead

2016-02-15 Thread zimbatm
awesome wiki. how do you manage it, is somebody owning the wiki ? [21:30] zimbatm: pierre manages the technical side of the wiki, and you have like 3 people watching over the daily happenings [21:30] zimbatm: otherwise it's just community maintained [21:30] don't forget the goat blo

Re: [Nix-dev] Dynamic substituteInPlace

2016-02-15 Thread zimbatm
It's not super clear to me what you are trying to achieve. Maybe you've zoomed into that specific solution but with more context there might be others available. Is the file compiled or is it interpreted ? I understand that you want to provide some information at runtime and resolve the path to a

Re: [Nix-dev] Are nix-shells supposed to nest?

2016-02-15 Thread zimbatm
atch-2.7.5/bin:/nix/store/dkwhsgc5qa52hbpn3pg9zzz4kqsclzv0-xz-5.2.2/bin:/nix/store/5idnvskkm4hky2fj335xfbqpfim3g9pd-gcc-4.9.3/bin:/nix/store/iyw7cmmg2yi5cwc1pswfm0wrn1ssk1zh-binutils-2.23.1/bin:/nix/store/n2wxp513rr00f6hr2dy0waqahns49dch-glibc-2.21/bin:/nix/store/9s9r019176g7cvn2nvcw41gsp862y6b4-coreutils-8.24/bi

Re: [Nix-dev] Wiki is dead

2016-02-15 Thread zimbatm
Alright, let me know how I can help. Personally I am looking forward to much more scoped discussions like how to improve a specific page. On Mon, 15 Feb 2016 at 22:30 Rok Garbas wrote: > Hi Zimbatm and Peter, > > On Mon, Feb 15, 2016 at 1:41 PM, Peter Simons wrote: > &

Re: [Nix-dev] Wiki is dead

2016-02-15 Thread zimbatm
Also we are not alone with the spam :) [22:37] alad: I forgot to ask, how do you guys fight against spam on the wiki ? [22:38] zimbatm: there was a recent spam wave, so we've restricted mediawiki API access, add a more difficult captcha, and enabled some extensions like spamregex On Mo

Re: [Nix-dev] Packaging Torch

2016-02-16 Thread zimbatm
qtwebkit doesn't appear if you grep pkgs/top-level/all-packages.nix but it's imported from pkgs/development/libraries/qt-5/5.4/qtwebkit at the moment. Good luck with the packaging ! On Tue, 16 Feb 2016 at 13:30 Sergey Mironov wrote: > Hi, List. I'd like to use Torch (http://torch.ch/) on NixOS

Re: [Nix-dev] loading the nix-shell in a jenkins job

2016-02-16 Thread zimbatm
It looks legit. Something I noticed is that nix-shell still drops me in a shell if it thinks that the input is interactive. Can you try to run the same command but with `cat | ` piped in front ? On Tue, 16 Feb 2016 at 02:06 Allan Espinosa wrote: > Hi, > > I've been trying to get one of my defa

Re: [Nix-dev] loading the nix-shell in a jenkins job

2016-02-16 Thread zimbatm
l -i bash > > jupyter --version > > Hope somebody else finds this useful. > > Regards, > Allan > > On Tue, Feb 16, 2016 at 8:49 AM, zimbatm wrote: > > It looks legit. > > > > Something I noticed is that nix-shell still drops me in a shell if it > th

Re: [Nix-dev] Git + gettextWithExpat incompatibility

2016-02-16 Thread zimbatm
Can you create an issue ? I can reproduce the issue on master. If just `nixos.gettext` is installed it works fine. I also tried changing the EDITOR but that's not it. Note that git-rebase is implemented in bash On Tue, 16 Feb 2016 at 18:23 Mikhail wrote: > Hi! > > I've discovered an interesting

Re: [Nix-dev] loading the nix-shell in a jenkins job

2016-02-16 Thread zimbatm
96ea991e0a938aaee109 > > I tried your wrapper and I get the same "undefined variable ‘jupyter’ > ..." error. However, running it on the console works manually works. > > On Tue, Feb 16, 2016 at 11:32 AM, zimbatm wrote: > > Sorry I meant your wrapper would look like

Re: [Nix-dev] How to set up your own Hydra server (video tutorial)

2016-02-17 Thread zimbatm
I watched the video yesterday and loved it. Before the video hydra was that thing that does the builds and I don't know how it works. After the video I feel like I can setup one myself. Thanks Peter ! One question that was raised, does anyone know why the hydra modules aren't part of nixpkgs ? Any

Re: [Nix-dev] Installing CA certificates

2016-02-18 Thread zimbatm
Yes use `security.pki.certificates` or `security.pki.certificateFiles`. I don't know why there is a comment there, you can just ignore that bit. If you use `security.pki.certificateFiles` don't forget to add back "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" in your array. On Thu, 18 Feb 2016 at

Re: [Nix-dev] [***SPAM***] Using nix-shell in messy trees with symlinks and binary files

2016-02-18 Thread zimbatm
Maybe attach your default.nix so we can have a look. I suspect that you're loading the whole nixpkgs in your shell somehow. A version of nix and channels could also come handy On Thu, 18 Feb 2016 18:25 Kosyrev Serge wrote: > Good day, folks! > > What I'm seeing is a rather disturbingly odd, cont

[Nix-dev] Bash style in nix expressions

2016-02-18 Thread zimbatm
Hi list, Haskell has a really cool package called ShellCheck which you can run against shell scripts. It's a linting tool that catches a ton of issues, especially escaping ones. Unfortunately nix expressions embed the shell fragments so it's hard to run the tool against them. Has anyone had any su

Re: [Nix-dev] Installing CA certificates

2016-02-19 Thread zimbatm
What is the output of `echo $SSL_CERT_FILE` and `echo $CURL_CA_BUNDLE` ? If one of those is set, look in the pointed file if you can find your certificate. On Fri, 19 Feb 2016 at 15:12 Adam Russell wrote: > Thomas, I've not used the openssl command-line tool before, and looking at > its document

Re: [Nix-dev] Installing CA certificates

2016-02-19 Thread zimbatm
curl and Chromium to be able to use them? > > On Fri, Feb 19, 2016 at 9:26 AM zimbatm wrote: > >> What is the output of `echo $SSL_CERT_FILE` and `echo $CURL_CA_BUNDLE` ? >> If one of those is set, look in the pointed file if you can find your >> certificate. >> >>

Re: [Nix-dev] Installing CA certificates

2016-02-19 Thread zimbatm
Found this which might be useful to you: http://mindref.blogspot.co.uk/2011/02/nssdb-add-ca-certificate.html On Fri, 19 Feb 2016 at 17:36 zimbatm wrote: > curl should work just fine then. Can you paste the output of `curl -v > https://yoursite.com` ? > > Chromium uses NSS which

Re: [Nix-dev] Wiki is dead

2016-02-19 Thread zimbatm
I would be interested in helping out cleaning the content and potentially become one of the owners of it. On Tue, 16 Feb 2016 at 17:28 Profpatsch wrote: > On 16-02-14 09:15pm, zimbatm wrote: > > But before I invest more time, do you think it's a path worth pursuing ? > > Also wha

Re: [Nix-dev] Installing CA certificates

2016-02-19 Thread zimbatm
able to verify the first certificate). > > This is all way over my head. I have some more reading to do. Once I do > figure it out, I think I will suggest having the NixOS module take care of > whatever steps are necessary to fix this, assuming it can be done in a > reproducible ma

Re: [Nix-dev] codetriage.com

2016-02-20 Thread zimbatm
I was looking for a way to visualize the number of open issues over time and found this: https://9-volt.github.io/bug-life/?repo=nixos/nixpkgs .Unfortunately we have too much content and it's hitting the API rate/limit. The idea was to see the current trend. Maybe after 2-3 weeks of codetriage the

Re: [Nix-dev] Fwd: Wiki is dead

2016-02-20 Thread zimbatm
ugin, which I enabled, you can also >>> include CommonMark/Markdown. Nix highlighting is supported. >>> The result can be found at http://nixpkgs.readthedocs.org/en/latest/ . >>> It's mostly empty still. >>> >>> Now this is only a proposal, and I

Re: [Nix-dev] Fractalide is ready to use.

2016-02-20 Thread zimbatm
Interesting. Do you have any further examples than the readme ? I wonder if we should extend nix's multi-line string syntax to accept a shebang-like so that editors can can switch the syntax in that context. On Sat, 20 Feb 2016 at 19:14 stewart mackenzie wrote: > Ah yes a link would be useful (

[Nix-dev] On nixpkgs and reasonable code size

2016-02-21 Thread zimbatm
Hi list, tl,td; I think that we should split nixpkgs/pkgs in two nixpkgs is getting pretty huge. There is so much surface, I don't think that a single person can keep up with the pace of change and still manage to do other things in the same day. Luckily we do have ~5 super-human people taking ca

Re: [Nix-dev] On nixpkgs and reasonable code size

2016-02-21 Thread zimbatm
y/ provided that the person accepts their maintainer role and focus on the core packages to make sure they are in good shape. Cheers, z On Sun, 21 Feb 2016 at 14:58 Vladimír Čunát wrote: > On 02/21/2016 03:17 PM, zimbatm wrote: > > tl,td; I think that we should split nixpkgs/pkgs in two &

Re: [Nix-dev] How to set up your own Hydra server (video tutorial)

2016-02-22 Thread zimbatm
I have a tentative branch that you can steal. It compiles but I haven't tried to run it yet: https://github.com/zimbatm/nixpkgs/tree/hydra-module . It's really cool what you can do with release.nix but it's also hard to convert into a standard mkDerivation so I'm no

Re: [Nix-dev] On nixpkgs and reasonable code size

2016-02-22 Thread zimbatm
Related to the discussion, apparently even Debian has trouble keeping-up with security updates: https://statuscode.ch/2016/02/distribution-packages-considered-insecure/ It's not a simple problem for sure. On Mon, 22 Feb 2016 at 09:35 Adrien Devresse wrote: > I think the inflow of PRs *is* high

Re: [Nix-dev] On nixpkgs and reasonable code size

2016-02-22 Thread zimbatm
We have nixpkgs/pkgs/build-support/upstream-updater. I think it's a tool that takes metadata from a package to find updates. But it's used by 8 packages tops and it's doc is in doc/old/update-upstream-data.txt. Somewhere we also have a tool that tracks CVEs against packages with a heuristic but I d

Re: [Nix-dev] Fwd: Wiki is dead

2016-02-23 Thread zimbatm
I started writing some docbook. Maybe I will get used to it but writing `foobar` is way more painful that `* foobar` in markdown. Especially in writing I think it's important to be able to move text around without too much overhead so that text can be reworked until it feels right. Thanks god ther

Re: [Nix-dev] Should I install XCode when using Nix on OS X?

2016-02-24 Thread zimbatm
You shouldn't but In the mean time use `xcode-select --install` to just install the command-line tools. It should save you some space. On Wed, 24 Feb 2016 at 14:01 Anders Lundstedt wrote: > I use Nix on OS X 10.11.3. "nix-env -iA nixpkgs.vimHugeX" fails > because the otool command is not availa

Re: [Nix-dev] Fwd: Wiki is dead

2016-02-25 Thread zimbatm
have the new content. We might > > > also compose a list of tags with examples on what we typically use them > > > for.) > > I can confirm that. For small edits, it is enough to copy from the > surroundings. > > On 16-02-23 10:22pm, zimbatm wrote: > > I start

[Nix-dev] NixON initiative

2016-02-28 Thread zimbatm
No, not the dead president :) JavaScript has JSON and Nix has NixON. A subset of the language that only contains literal values. Thanks to Tim Cuthbertson (@gfxmonk) nix-prefetch-git now outputs valid NixON. Would it make sense to convert more of our tooling to using that notation forward ? The b

Re: [Nix-dev] NixON initiative

2016-02-28 Thread zimbatm
But we wouldn’t have the path type in JSON anymore ! Hmm maybe that’s a good thing actually :p importJSON = path: builtins.fromJSON (builtins.readFile path); ​ On Sun, 28 Feb 2016 at 15:37 jeaye wrote: > On Sun, Feb 28, 2016 at 03:11:15PM +, Anand Patil wrote: > > What about using some kin

Re: [Nix-dev] NixON initiative

2016-02-28 Thread zimbatm
So something like that ? https://github.com/NixOS/nixpkgs/pull/13552 And then we would convert all of our tooling to output JSON ? On Sun, 28 Feb 2016 at 16:43 Anand Patil wrote: > You could interpret {path: "/a/b/c"} as a path literal. > > On Sun, Feb 28, 2016, 11:0

Re: [Nix-dev] NixON initiative

2016-02-28 Thread zimbatm
and propose importJSON to be added to the stdlib. On Sun, 28 Feb 2016 at 17:48 Moritz Ulrich wrote: > > zimbatm writes: > > ``` > > $ nix-prefetch-git git://github.com/direnv/direnv.git 2>/dev/null | tee > > repo.nix > > { > > url = "gi

Re: [Nix-dev] new tool: nixos-typecheck

2016-02-29 Thread zimbatm
Sounds good. Regarding the name, isn't that more of a nixos-lint or does it do type inference to find type mismatches ? On Mon, 29 Feb 2016 02:17 Thomas Strobel, <4ZKTUB6TEP74PYJOPWIR013S2AV29YUBW5F9ZH2F4D5UMJUJ6S@hash.domains> wrote: > Hi! > > There is the new tool "nixos-typecheck" available i

Re: [Nix-dev] NixON initiative

2016-02-29 Thread zimbatm
ote: > 2016-02-28 15:35 GMT+01:00 zimbatm : > >> No, not the dead president :) JavaScript has JSON and Nix has NixON. A >> subset of the language that only contains literal values. >> > > > Cool Idea! Here is some code to translate NixON into edn (clojure's

Re: [Nix-dev] Commit access

2016-02-29 Thread zimbatm
IMO the mention bot already does a great job at getting notified without having to watch the whole repo. The next thing would be to get a more reliable and fast CI for the PRs. Right now there are too many false negatives which trains us to ignore the red. Waiting for hours for something small to b

Re: [Nix-dev] Commit access

2016-03-01 Thread zimbatm
Can we skip the discussion about changing VCS ? It's related but really tangent to the actual thread. Gist on how to setup the remotes to also fetch PRs: https://gist.github.com/piscisaureus/3342247 On Tue, 1 Mar 2016 at 07:21 Michael Raskin <7c6f4...@mail.ru> wrote: > Re: automated LibreOffice

Re: [Nix-dev] Adding hostnames to 127.0.0.1 in /etc/hosts

2016-03-01 Thread zimbatm
I don't know why [hostname]-encrypted exists but having multiple lines with the same address is fine. You can also have multiple names on the same like like: 127.0.0.1 node guzzle On Tue, 1 Mar 2016 at 12:11 4levels <4lev...@gmail.com> wrote: > Dear Nix'ers, > > I've been wondering how all my d

Re: [Nix-dev] Open source team messaging: mattermost

2016-03-01 Thread zimbatm
The issue with these services is that everyone has to install their client. Then each community thinks this *other* tool is cooler, which obviously requires another client. And then I need 10 clients running at the same time, all with different UI and keyboard shortcuts. At least with IRC I've got

Re: [Nix-dev] yet another npm2nix reengineering attempt

2016-03-01 Thread zimbatm
As long as it's more reliable than what we have right now I'm all for it. First we need reliable, then optimize closure size. On Tue, 1 Mar 2016 at 14:42 Sander van der Burg wrote: > Haha :) > > Well, I have been thinking about keeping the packages and all their > dependencies in their own stor

Re: [Nix-dev] JAVA_HOME and other environment variables

2016-03-06 Thread zimbatm
What if the JRE(s) also included a `java-env.sh` that can be sourced ? Then it's easy to build wrappers that source it dynamically. On Sat, 5 Mar 2016 at 17:34 Svein Ove Aas wrote: > Context: https://github.com/NixOS/nixpkgs/issues/13653 > > There are a few packages which can't be considered pro

Re: [Nix-dev] JAVA_HOME and other environment variables

2016-03-07 Thread zimbatm
a > JAVA_HOME. That's Oracle's take on this, but... well, I prefer Nix to have > as few surprises as possible. > > On Sun, Mar 6, 2016 at 8:12 PM zimbatm wrote: > >> What if the JRE(s) also included a `java-env.sh` that can be sourced ? >> Then it's easy

[Nix-dev] import vs override

2016-03-18 Thread zimbatm
Hi, stupid question of the day. When I see things like recurseIntoAttr in all-packages.nix I am left wondering why this is better than repeated `import ./-packages.nix { lang = lang_1_0; }`, where lang_1_0 would vary. Does anybody know ? /z ___ nix-dev

Re: [Nix-dev] User-oriented nixpkgs documentation (was: ioquake3 on nixos)

2016-04-09 Thread zimbatm
Good question. The wiki seems like the right place to me but it's read-only now. On Fri, 8 Apr 2016 at 11:36 Nikolay Amiantov wrote: > Hi, > > I want to add some documentation on how to use our ioquake3 derivation. > This brings me to question on _where_ should I actually add it. Right > now we

Re: [Nix-dev] runuser from utillinux not working.

2016-04-14 Thread zimbatm
Hi, Is the setuid flag set ? Suid programs are special in nixos so it's possible runuser didn't get classified properly. On Thu, 14 Apr 2016 03:03 Kevin Cox, wrote: > Hello, > > I was trying to use runuser from utillinux to run a process as another > user but ran into a problem. Running the co

Re: [Nix-dev] Typing nix − funding campaign

2017-01-14 Thread zimbatm
Thanks everyone! I'm impressed by how fast that went. On Sat, 14 Jan 2017 at 20:27 Domen Kožar wrote: > It's funded :) Congratz! > > On Fri, Jan 13, 2017 at 10:56 AM, Théophane Hufschmitt < > rg_ni...@regnat.ovh> wrote: > > Thu 12 Jan 17 − 14:13, Théophane Hufschmitt(rg_ni...@regnat.ovh) a écrit

  1   2   3   4   5   >