[Nix-commits] [NixOS/nixpkgs] b1ffe5: lib/generators: toPretty

2017-06-21 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b1ffe5e4c029c9f5675bcc42997413fd1b21fbf1 https://github.com/NixOS/nixpkgs/commit/b1ffe5e4c029c9f5675bcc42997413fd1b21fbf1 Author: Profpatsch <m...@profpatsch.de> Date: 2017-06-22 (Thu, 22 Ju

[Nix-commits] [NixOS/nixpkgs] 79dd4d: Ultrastar (#26524)

2017-06-14 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 79dd4deda5a5ee44359a88cdcbbc22a15ba26224 https://github.com/NixOS/nixpkgs/commit/79dd4deda5a5ee44359a88cdcbbc22a15ba26224 Author: Profpatsch <m...@profpatsch.de> Date: 2017-06-14 (Wed, 14 Ju

[Nix-dev] A nix pretty-printer and a trace function you can tell how deep it should go

2017-06-12 Thread Profpatsch
}; }; }; } { a = [ ... ]; b = { ... }; } nix-repl> lib.traceValSeqN 1 foo trace: { "a" = […]; "b" = {…}; } { a = [ ... ]; b = { ... }; } nix-repl> lib.traceValSeqN 0 foo trace: {…} { a = [ ... ]; b = { ... }; } https://twitter.com/Profpatsch/status/874127956884566016 I ho

[Nix-dev] Camp++ 0x7e1, 6.–9. July, Komárom, Hungary

2017-06-06 Thread Profpatsch
Since it came up on IRC: There will be a very cool HACK camp next month https://camp.hsbp.org/2017/pp7e1/ Everyone brings what they can and a tent, and we just nerd around for a few days. No obligations, no schedule, awesome folks. to whom it may concern -- Proudly written in Mutt with Vim on

Re: [Nix-dev] Hydra and security updates

2017-06-04 Thread Profpatsch
On 17-06-04 12:35am, Nicolas Pierron wrote: > So currently, this project is held by a dead-lock between people > asking me to demonstrate a large scale example, and having the > infrastructure to doing so. I think most of the lockup stems from people not really knowing what your framework means

Re: [Nix-dev] Evaluation time vs build time

2017-06-03 Thread Profpatsch
On 17-05-31 08:07pm, Linus Heckemann wrote: > On 31/05/17 18:01, Judson Lester wrote: > As far as I understand it, it's mostly true — I believe it *is* actually > possible, just strongly discouraged and absolutely not accepted in > nixpkgs because (iiuc) of the mess of dependencies it can create.

Re: [Nix-dev] Auto-generated expressions for applications

2017-05-31 Thread Profpatsch
On 17-05-31 08:25am, Benno Fünfstück wrote: > A package set > is a consistent set of packages of a given language. exactly that is not possible with e.g. npm or golang packages. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es

Re: [Nix-dev] Node example?

2017-05-31 Thread Profpatsch
On 17-05-31 08:29am, Benno Fünfstück wrote: > the reason it works on your test machine but doesn't work on CI is probably > because of build sandboxing (see `build-use-sandbox` nix option: that > disables network access & access to certain FS paths for nix builders). btw can we please finally

Re: [Nix-dev] Auto-generated expressions for applications

2017-05-30 Thread Profpatsch
On 17-05-30 08:02am, Wout Mertens wrote: > This actually ties into my question about nodePackages. It seems to me that > for these large packaging systems, we should have separate repos that > update from their source, and you can then include them into your nixpkgs > configuration. nodePackages

[Nix-commits] [NixOS/nixpkgs] 3fa1be: Add `isStorePath` tests (#26223)

2017-05-30 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3fa1be6f491d9f3ce359234aa1e479e6d91a598f https://github.com/NixOS/nixpkgs/commit/3fa1be6f491d9f3ce359234aa1e479e6d91a598f Author: Profpatsch <m...@profpatsch.de> Date: 2017-05-30 (Tue, 30 Ma

[Nix-commits] [NixOS/nixpkgs] 2b0a84: lib/string: make `isStorePath` total (#26216)

2017-05-29 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 2b0a8427e6995eefddf09919ad48a7887e65 https://github.com/NixOS/nixpkgs/commit/2b0a8427e6995eefddf09919ad48a7887e65 Author: Profpatsch <m...@profpatsch.de> Date: 2017-05-30 (Tue, 30 Ma

Re: [Nix-dev] Python: Provide your own buildPhase and installPhase.

2017-05-26 Thread Profpatsch
On 17-05-26 09:03pm, Nawal Husnoo wrote: > Hi, > > Could anyone point me to an example where I can see this in action please? Just use grep on the nixpkgs, you will find many examples. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A:

Re: [Nix-dev] Nixos wiki project

2017-05-17 Thread Profpatsch
On 17-05-16 09:52pm, Jos van den Oever wrote: > On Friday 12 May 2017 20:36:59 Matthias Beyer wrote: > > On 10-05-2017 10:52:16, Arseniy Seroka wrote: > > > I think that disabling wiki is one of the the worst > > > decisions in nixos community. > > > > +1 > > I think it's unfortunate that a free

Re: [Nix-dev] why has each revision / generation not a own configuration.nix

2017-05-17 Thread Profpatsch
On 17-05-16 04:43pm, zimbatm wrote: > How do you find back which git revision was used to produce a given NixOS > profile? In my case it’s built by a hydra and the system name contains a hash. > > Maybe nixos-rebuild should be extended to include that in the revision > name, and if the git repo

[Nix-commits] [NixOS/nixpkgs] 685bfc: fira-code-symbols: init at 20160811

2017-05-16 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 685bfcee633774d730cd3da2fba6eb39a1b767b9 https://github.com/NixOS/nixpkgs/commit/685bfcee633774d730cd3da2fba6eb39a1b767b9 Author: Profpatsch <m...@profpatsch.de> Date: 2017-05-16 (Tue, 16 Ma

Re: [Nix-dev] Declarative VMs in libvirt/Qemu

2017-05-16 Thread Profpatsch
On 17-05-15 07:26pm, Justin Humm wrote: > Hello everyone, > > I'm looking for a best practice for declarative VMs in libvirt/qemu. What I > want > to do: Might be of interest https://github.com/NixOS/rfcs/pull/12 -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five

Re: [Nix-dev] why has each revision / generation not a own configuration.nix

2017-05-13 Thread Profpatsch
On 17-05-13 12:25pm, Layus wrote: > On 13/05/17 12:14, Leo Gaspard wrote: > See the previous ML discussion on that topic where we proposed to keep it > opt-in, but with an apt-out config line in the default configuration.nix. > This may already be implemented. The ones who don’t keep their

Re: [Nix-dev] How to incorporate my Bash script in configuration.nix

2017-05-12 Thread Profpatsch
On 17-05-12 05:02pm, Profpatsch wrote: > systemd.service.myUsbService = > let startupScript = '' > #!${pkgs.bash} > echo "0b05 17e8" | tee /sys/bus/usb/drivers/rt2800usb/new_id > ''; > in { > description = "get my US WiFi to work&

Re: [Nix-dev] How to incorporate my Bash script in configuration.nix

2017-05-12 Thread Profpatsch
On 17-05-08 02:28pm, Strahinja Popovic wrote: > Hi everyone, > > I have made my USB WiFi to work, > but I have to call this script whenever I restart the computer. > > #!/usr/bin/env bash > echo "0b05 17e8"|sudo tee /sys/bus/usb/drivers/rt2800usb/new_id > > What is correct way to make this part

Re: [Nix-dev] Nixos wiki project

2017-05-10 Thread Profpatsch
On 17-05-10 07:56am, Mic92 wrote: > As the official wiki is now finally part of the history: > https://nixos.org/nixos/wiki.html, > we have started our own community wiki: > > https://github.com/nixos-users/wiki/wiki > > It is at the moment editable by every GitHub user and > we use our IRC

Re: [Nix-dev] still waiting for https://cache.nixos.org after 5 seconds...

2017-05-08 Thread Profpatsch
On 17-05-08 07:08am, Graham Christensen wrote: > Our cloudfront distribution sees almost almost 100,000 unique users each > month, each downloading hundreds or thousands of NARs and narinfo files. > At the size of the cache (many TBs) and traffic it sees, these numbers > aren't an easy feat. By

Re: [Nix-dev] How to escape $'\t' in Nix multi-line string?

2017-04-30 Thread Profpatsch
On 17-04-30 03:07pm, Bjørn Forsman wrote: > On 30 April 2017 at 15:01, Bjørn Forsman wrote: > > Hi all, > > > > I'm stuck trying to pass $'\t' to bash via Nix multi-line strings: > > > > nix-repl> ''cut -d $'\t' -f 1'' > > error: syntax error, unexpected $undefined,

Re: [Nix-dev] For go-wizards: Building the geth using buildGoPackage

2017-04-26 Thread Profpatsch
On 17-04-26 12:18pm, Sergey Mironov wrote: > Upstream maintainer pointed out to > https://github.com/golang/go/issues/14669 problem. I've tried adding > > preBuild='' > export CGO_CFLAGS='-O0' > ''; > > without success.. You will have to poke a bit. I’d read the definition of

Re: [Nix-dev] Simplify node packages?

2017-04-25 Thread Profpatsch
On 17-04-25 12:21pm, Sander van der Burg wrote: > I'm not sure if you have read my blog articles correctly, but what node2nix > currently does is one derivation per application and statically bundles all > NPM dependencies with it. The old approach that npm2nix used to implement > was a derivation

Re: [Nix-dev] Simplify node packages?

2017-04-25 Thread Profpatsch
On 17-04-25 08:20am, Benno Fünfstück wrote: > If we get upstream to support enough for our use case, the solution should > be much more stable. Upstream support might be helpful, but that’s a wholly different beast. > Hmm, so perhaps in we can unpack the tarballs already in `phase 1` and tell >

Re: [Nix-dev] Simplify node packages?

2017-04-25 Thread Profpatsch
On 17-04-25 07:26am, Benno Fünfstück wrote: > > > > The most interesting property is, that all dependency trees > > are linked together with symlinked, so they are cached by nix > > on a package level: > > https://github.com/Profpatsch/yarn2nix/blob/master/buildNo

Re: [Nix-dev] Simplify node packages?

2017-04-24 Thread Profpatsch
pre-alpha-version of converting yarn.lock files to nix expressions can be found here: https://github.com/Profpatsch/yarn2nix nix-shell $ hpack $ cabal build $ ./dist/build/yarn2nix/yarn2nix should do the trick. It works for simple yarn.lock files, but the generated output cannot be nicely checked

Re: [Nix-dev] NixOps reproducible bug with large amount of deployment.keys

2017-04-20 Thread Profpatsch
On 17-04-19 12:27pm, 4levels wrote: > The main reason is that the keys derivation contains all key related > statements on a single line and is passed as a single argument to bash, > triggering the maxlength error (argument list too long). I could reduce > the lenght of the names of the keyfiles,

Re: [Nix-dev] Postgresql, rsyslog and systemd journal

2017-04-20 Thread Profpatsch
On 17-04-19 04:08pm, Danylo Hlynskyi wrote: > > in psql session. > > The problem is, logs still are routed to systemd journal, not to configured > `rsyslog`. journald (rightfully!) captures calls to the syslog(3) function. For further inquiries visit your local manpages. man 8

Re: [Nix-dev] For go-wizards: Building the geth using buildGoPackage

2017-04-20 Thread Profpatsch
On 17-04-19 09:50pm, Sergey Mironov wrote: > building the geth I had a short fear of sentinent AI robots, but it’s (just?) a go package. > # github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid > go/src/github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid/wchar.go:44:8: >

Re: [Nix-dev] NixOps failes to deploy: bash: Argument list too long

2017-04-17 Thread Profpatsch
On 17-04-15 10:14am, 4levels wrote: > Hi Profpatsch, > > the name nixos-system-secure comes from one machine called "secure". > I'm using various nix files to separate / group some parts of the machine > configurations we're using. > We're deploying +10 servers for ou

[Nix-commits] [NixOS/nixpkgs] 7df8e5: psc-package: init at 0.1.1

2017-04-15 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 7df8e53d288915d2623479e117ce3c855bc3df7c https://github.com/NixOS/nixpkgs/commit/7df8e53d288915d2623479e117ce3c855bc3df7c Author: Profpatsch <m...@profpatsch.de> Date: 2017-04-15 (Sat, 15 Ap

Re: [Nix-dev] NixOps failes to deploy: bash: Argument list too long

2017-04-14 Thread Profpatsch
t; ‘/nix/store/bz3ajdlxalr0c8i1zik40zwvnsb2g8a7-nixops-machines.drv’: 1 > dependencies couldn't be built > error: build of > ‘/nix/store/bz3ajdlxalr0c8i1zik40zwvnsb2g8a7-nixops-machines.drv’ failed > error: unable to build all machine configurations > > > Kind regards, > > Erik &g

Re: [Nix-dev] NixOps failes to deploy: bash: Argument list too long

2017-04-14 Thread Profpatsch
On 17-04-14 02:26pm, 4levels wrote: > I think this is the generatd file causing the issue: > /nix/store/wz9mvb6x082h4mvww1gsf0x0l9fq8p7z-nixos-system-secure-16.09pre-git.drv > It looks like it's a single line of code, spanning 207073 characters, which > is pbbly more than the allowed argument

Re: [Nix-dev] What's the "perfect setup" for hacking on Nix?

2017-04-13 Thread Profpatsch
On 17-04-11 09:28pm, Chris Marusich wrote: > Since Nix is implemented in C++, I guess any > C++ IDE (or modes/tools in emacs) would be helpful. I was just curious > to know if any particular IDE or technology was heavily used by the Nix > community. You normally don’t have to know any C++ for

[Nix-commits] [NixOS/nixpkgs] 048114: compile-daemon: init at 2013-03-08

2017-04-11 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 048114eb4f79f3e125dadee106b454e3d72ccdfc https://github.com/NixOS/nixpkgs/commit/048114eb4f79f3e125dadee106b454e3d72ccdfc Author: Profpatsch <m...@profpatsch.de> Date: 2017-04-12 (Wed, 12 Ap

[Nix-commits] [NixOS/nixpkgs] 9b7b95: /lib/default.nix: Add file docstring & unit test h...

2017-04-11 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9b7b950832e6ae97c301e8328b797e8b39efb545 https://github.com/NixOS/nixpkgs/commit/9b7b950832e6ae97c301e8328b797e8b39efb545 Author: Profpatsch <m...@profpatsch.de> Date: 2017-04-12 (Wed, 12 Ap

Re: [Nix-dev] What's the "perfect setup" for hacking on Nix?

2017-04-11 Thread Profpatsch
On 17-04-08 11:17pm, Chris Marusich wrote: > Hi Nix devs! > > What is the "perfect setup" for hacking on Nix? Is there an IDE that > the you prefer to use? Is there a C++ major mode for Emacs that you > can't live without? Are there other helpful tools? A very good text editor. I can

Re: [Nix-dev] Is CI of pull requests broken?

2017-04-08 Thread Profpatsch
On 17-04-08 11:19pm, Volth wrote: > I noticed that many pull requests [1] have failed Travis CI tests. > The reasons of failures are often very strange, especially if the > change introduced by PR looks innocent: some "file not found" or > "build times out". > > Moreover, many of the merged pull

[Nix-commits] [NixOS/nixpkgs] 6b5e5d: rss2email: init at 3.9

2017-04-05 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6b5e5de0ef2a040cab9af7388487b16030b877db https://github.com/NixOS/nixpkgs/commit/6b5e5de0ef2a040cab9af7388487b16030b877db Author: Profpatsch <m...@profpatsch.de> Date: 2017-04-05 (Wed, 05 Ap

Re: [Nix-dev] paths in user's i3 configs broken by upgrade

2017-04-04 Thread Profpatsch
On 17-04-03 04:25pm, Mark Gardner wrote: > Instead of: > > bindsym $mod+d exec > /nix/store/04sx6lx7hssid7a6iwdbdvxbkp25xsx1-dmenu-4.6/bin/dmenu_run > > I think it should be to be: > > bindsym $mod+d exec /run/current-system/sw/bin/dmenu_run The problem with /run/current-system is that

[Nix-commits] [NixOS/nixpkgs] a1e617: modules/searx: fix configFile type

2017-04-04 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: a1e6176cbf3b38cf2ecc8f1543d6c562f509a144 https://github.com/NixOS/nixpkgs/commit/a1e6176cbf3b38cf2ecc8f1543d6c562f509a144 Author: Profpatsch <m...@profpatsch.de> Date: 2017-04-04 (Tue, 04 Ap

Re: [Nix-dev] Banning people from the mailinglist?

2017-04-04 Thread Profpatsch
On 17-04-04 10:05am, Matthias Beyer wrote: > Can we just ban the (non-constructive) "fuck systemd" people? I > mean... nobody benefits from this kind of behaviour and it creates > frustration all over the place. Nobody gets happy with these kind of > messages. > > Is there a technical

Re: [Nix-dev] [RFC 004] Add Replace Unicode Quotes draft

2017-03-29 Thread Profpatsch
On 17-03-28 10:03pm, zimbatm wrote: > Hi everyone, > > RFC 004 is now ready for wider reviews if you care to take a look: > > https://github.com/NixOS/rfcs/pull/4 For posterity, the responses are exactly the kind of bikeshedding I feared would come out of RFCs. But maybe it is for the best? I

Re: [Nix-dev] gentoo like nixpkgs globala useflags in nixpkgs config - would it be worth it?

2017-03-29 Thread Profpatsch
On 17-03-25 11:47pm, Ertugrul Söylemez wrote: > >> Issue pulseSupport -> does it make sense to have a global 'enable > >> pulse for all packgages' config.pulseSupport = true flag? > >> > >> packages could be using: config.pulseSupport or false to disable by > >> default then. > > > > In my

Re: [Nix-dev] gentoo like nixpkgs globala useflags in nixpkgs config - would it be worth it?

2017-03-24 Thread Profpatsch
On 17-03-24 03:18pm, Marc Weber wrote: > Issue pulseSupport -> does it make sense to have a global 'enable pulse > for all packgages' config.pulseSupport = true flag? > > packages could be using: config.pulseSupport or false to disable by > default then. > > Having a defaultFlags = { >

Re: [Nix-dev] Nix for internal projects and monorepos

2017-03-24 Thread Profpatsch
On 17-03-24 04:01pm, Daniel Peebles wrote: > How do other people tackle this problem? Does anyone maintain a reasonably > large internal Nix package set? The most sensible solution would be to set up a (private) hydra and add the internal repos to it. Then you get your channels. -- Proudly

[Nix-dev] Nix release frequency (was: Re: RFC for RFCs)

2017-03-23 Thread Profpatsch
On 17-03-23 07:36am, Vladimír Čunát wrote: > On 03/23/2017 12:58 AM, Bas van Dijk wrote: > > Strange this has been merged into master over a year ago but it hasn't > > been released yet. And there have been quite a few releases the last year... > > There have only been maintenance releases 1.11.x

Re: [Nix-dev] how to 'just run binaries' in nixos

2017-03-21 Thread Profpatsch
On 17-03-22 01:49am, Nikolay Amiantov wrote: > You may try steam-run. Despite the name it's actually not necessarily > related to Steam, it just runs binaries in an environment very > resembling Steam Runtime (which is a good de-facto standard). There’s also buildEnv from

Re: [Nix-dev] Should we drop 9P?

2017-03-21 Thread Profpatsch
On 17-03-20 10:27pm, Volth wrote: > Recently few bugs in 9P were found (#23957 #23020 #22695) which > reveals that 9P code is not very mature and perhaps NixOS is the first > team which uses 9P heavily and relies on it in production. Could you please provide links? 9P is a protocol, do you mean

Re: [Nix-dev] The Church of Suckless NixOS is looking for followers

2017-03-19 Thread Profpatsch
On 17-03-19 05:55pm, Alexander V. Nikolaev wrote: > I think we can re-use pre-serialised `systemd.services` attrset, using > it for emitting plain sysvinit scripts, or runit scripts. And may be > later introduce new intermediate layer here. Since (say what you want) systemd service attributes are

Re: [Nix-dev] How do you work on big packages?

2017-03-17 Thread Profpatsch
On 17-03-17 05:34pm, Dmitry Kalinkin wrote: > Also it is funny how your statement is followed by some good advice on how to > turn nix into even better dev platform. I will only add that one could also > use ccache to speedup builds: > > my_cool_package.override { stdenv = pkgs.ccacheStdenv; }

Re: [Nix-dev] The Church of Suckless NixOS is looking for followers

2017-03-17 Thread Profpatsch
On 17-03-17 02:00pm, Jan Malakhovski wrote: > > Brothers and Sisters! > > * Our common goal is to have fun (see below) and to get a NixOS system > that can run using only suckless tools [1]. I, for one, applaud our new anonymous suckless leaders! On an offhand note, be advised that

[Nix-commits] [NixOS/nixpkgs] 6da60b: modules/mlmmj: fix a typo in listaddress folder

2017-03-16 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 6da60bb10142ba2e63309da048044026f7158d0a https://github.com/NixOS/nixpkgs/commit/6da60bb10142ba2e63309da048044026f7158d0a Author: Profpatsch <m...@profpatsch.de> Date: 2017-03-16 (Thu, 16 Ma

Re: [Nix-dev] how to find packages by file?

2017-03-15 Thread Profpatsch
On 17-03-15 01:13pm, Linus Heckemann wrote: > On 14/03/17 20:24, Roni Choudhury wrote: > 2. Use nix-repl — `nix-repl ''` will give you a REPL for the > nix language with autocompletion for that sort of thing, which can be > very helpful. Can confirm. Normally I use find /nix/store -iname

Re: [Nix-dev] fetchgit

2017-03-09 Thread Profpatsch
On 17-03-09 04:31pm, Sébastien Petitdemange wrote: > Hi Profpatsch, > > Yes I'm in the folder where I changed fetchgit but it doesn't call my > modification version. > How can I make sure that my package (lima-core) call my modify version? > Is there a way to do that? I cannot

Re: [Nix-dev] fetchgit

2017-03-09 Thread Profpatsch
On 17-03-09 11:52am, Sébastien Petitdemange wrote: > Hi, > > I've modify fetchgit module to add an optional argument to filter > submodule. And I would like to use this optional argument to build my > local package. Unfortunately, nix-build still get fetchgit from the main > channel instead of

Re: [Nix-dev] nix-shell with overlay?

2017-03-08 Thread Profpatsch
On 17-03-08 10:16pm, Nicolas Pierron wrote: > On Wed, Mar 8, 2017 at 11:01 AM, Benno Fünfstück > wrote: > > Nicolas Pierron schrieb am Mi., 8. März 2017, > > 01:30: > >> > >> nit: super.callPackage, as the super.callPackage *function*

[Nix-commits] [NixOS/nixpkgs] 9dc3f7: networking/bonds: fix examples

2017-03-08 Thread Profpatsch
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: 9dc3f75b0b2136e132743de3d4b46d14d15f031a https://github.com/NixOS/nixpkgs/commit/9dc3f75b0b2136e132743de3d4b46d14d15f031a Author: Profpatsch <m...@profpatsch.de> Date: 2017-03-08 (Wed, 08 Ma

[Nix-commits] [NixOS/nixpkgs] 22c265: networking/bonds: fix examples

2017-03-07 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 22c265182f9e0d543de0fe46a809180ff2021b85 https://github.com/NixOS/nixpkgs/commit/22c265182f9e0d543de0fe46a809180ff2021b85 Author: Profpatsch <m...@profpatsch.de> Date: 2017-03-08 (Wed, 08 Ma

Re: [Nix-dev] nix-shell with overlay?

2017-03-07 Thread Profpatsch
On 17-03-08 01:29am, Nicolas Pierron wrote: > >> import { > >> overlays: [(self: super: { > >> myDep = super.myDep.override { > >> … > >> }; > >> myPkg = self.callPackage ./. {}; > > nit: super.callPackage, as the super.callPackage *function* already > aliases self packages.

Re: [Nix-dev] Rust prebuilt package overlay.

2017-03-07 Thread Profpatsch
On 17-03-08 01:58am, Nicolas Pierron wrote: > On Tue, Mar 7, 2017 at 1:41 PM, Profpatsch <m...@profpatsch.de> wrote: > > On 17-03-04 08:34pm, Nicolas Pierron wrote: > >> The *.toml manifest file is then parsed (yes, in Nix [3]) to extract > >> [3] > >>

Re: [Nix-dev] nix-shell with overlay?

2017-03-07 Thread Profpatsch
On 17-03-07 03:57pm, Matthias Beyer wrote: > Hi, > > is there a way to import an overlay in a default.nix for a nix-shell > and use the packages from the overlay in the nix-shell only, without > installing the overlay "globally" for my user? > > If yes, how? Not sure what you mean, how about

Re: [Nix-dev] 'nixos-stable' channel?

2017-03-07 Thread Profpatsch
On 17-03-06 04:03pm, Domen Kožar wrote: > It's something like 15min of work to parse http://nixos.org/channels/ and > point to the latest channel if someone needs this. > > Officially this is a very bad idea, since people will want us to support it. Also ignoring the idea behind stable upgrades,

Re: [Nix-dev] Rust prebuilt package overlay.

2017-03-07 Thread Profpatsch
On 17-03-04 08:34pm, Nicolas Pierron wrote: > The *.toml manifest file is then parsed (yes, in Nix [3]) to extract > [3] https://github.com/mozilla/nixpkgs-mozilla/blob/master/lib/parseTOML.nix what have you done -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences

Re: [Nix-dev] libgfortran.so missing

2017-03-07 Thread Profpatsch
On 17-02-21 11:11pm, rohit yadav wrote: > Hi, > > I could not find the above mentioned shared object lib in any of the > nixpkgs. Could please someone let me know which package to install this to > get lib? gcc or gfortran does not install this The gfortran attribute only produces a wrapper. The

[Nix-commits] [NixOS/nixpkgs] 07bf11: garden-of-coloured-lights: init at 1.0.9

2017-03-06 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 07bf113bbe79640ad044177751b2da9dc94b70c2 https://github.com/NixOS/nixpkgs/commit/07bf113bbe79640ad044177751b2da9dc94b70c2 Author: Profpatsch <m...@profpatsch.de> Date: 2017-03-06 (Mon, 06 Ma

Re: [Nix-dev] Qt and KDE updates

2017-03-01 Thread Profpatsch
On 17-02-28 09:19pm, Bjørn Forsman wrote: > On 28 February 2017 at 21:10, Vladimír Čunát wrote: > > On 02/28/2017 12:51 PM, Thomas Tuegel wrote: > >> Package maintainers should read the updated Qt and KDE documentation in > >> the Nixpkgs manual (unfortunately this is not

Re: [Nix-dev] "Consider the Maintainer"

2017-02-28 Thread Profpatsch
On 17-02-18 10:58pm, Graham Christensen wrote: > Linux.conf.au had this great talk called "Consider the Maintainer" about > being a software maintainer, and managing open source projects. I'd > encourage you all to watch it: > > https://www.youtube.com/watch?v=W2AR1owg0ao There’s also a talk

Re: [Nix-dev] Best Practices on Modularizing Configuration.nix?

2017-02-27 Thread Profpatsch
ne config in our vuizvui repo: I have a folder for my personal machines, with a lib.nix and pkgs.nix; these are included as attrsets with `import` https://github.com/openlab-aux/vuizvui/blob/ac8da8796649e463b7d31dad6bfc95f01008c787/machines/profpatsch/katara.nix#L4 My config for workstation/se

[Nix-commits] [NixOS/nixpkgs] e1656b: git-dit: init at 0.1.0

2017-02-25 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: e1656bc46da6c2001cfb992735a7daeb75f00bc0 https://github.com/NixOS/nixpkgs/commit/e1656bc46da6c2001cfb992735a7daeb75f00bc0 Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-25 (Sat, 25 Fe

Re: [Nix-dev] cabal-install & nix (was: nix-shell pro/con (was: Python 3 as default))

2017-02-24 Thread Profpatsch
On 17-02-23 07:52pm, Thomas Tuegel wrote: > Profpatsch <m...@profpatsch.de> writes: > > On 17-02-23 12:45pm, Thomas Tuegel wrote: > >> The next version of cabal-install will perform this caching for you > >> automatically. It uses your shell.nix (if present) and a

Re: [Nix-dev] cabal-install & nix (was: nix-shell pro/con (was: Python 3 as default))

2017-02-23 Thread Profpatsch
On 17-02-23 12:45pm, Thomas Tuegel wrote: > The next version of cabal-install will perform this caching for you > automatically. It uses your shell.nix (if present) and adds GC roots for > the results. Your environment is not garbage collected or updated unless > you clear out the work directory

[Nix-commits] [NixOS/nixpkgs] 8e54fc: flpsed: ghostscript patch, fixes, new url

2017-02-23 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 8e54fced988e4227c34bfc21417ac41eda4448c6 https://github.com/NixOS/nixpkgs/commit/8e54fced988e4227c34bfc21417ac41eda4448c6 Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-23 (Thu, 23 Fe

[Nix-commits] [NixOS/nixpkgs] 31dac1: mpd: add avahi zeroconf support

2017-02-18 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 31dac10c330faf453ba946cbf558c04ca19102b9 https://github.com/NixOS/nixpkgs/commit/31dac10c330faf453ba946cbf558c04ca19102b9 Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-18 (Sat, 18 Fe

[Nix-commits] [NixOS/nixpkgs] 9debda: networking.bonds: add support for arbitrary driver...

2017-02-16 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9debdaf512bc510f7f5d5450c4902e7d1f713274 https://github.com/NixOS/nixpkgs/commit/9debdaf512bc510f7f5d5450c4902e7d1f713274 Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-16 (Thu, 16 Fe

Re: [Nix-dev] Explicitly selecting sources for "src" in stdenv.mkDerivation?

2017-02-16 Thread Profpatsch
On 17-02-16 01:28pm, Freddy Rietdijk wrote: > > src = [ ./subproject-A/schema.sql ./subproject-A/lib ]; > > Each of the files you mentioned here will be stored in a separate store > path. You could write a simple function that takes a list of derivations > and copies the contents of those

Re: [Nix-dev] nix-shell pro/con (was: Python 3 as default)

2017-02-15 Thread Profpatsch
On 17-02-15 09:10pm, Ricardo M. Correia wrote: > Personally, I try to avoid using "nix-shell" as much as possible because I > want "nixos-rebuild switch" to atomically install (and upgrade) all the > software that I usually need, including development packages. > > With nix-shell, I risk having

[Nix-commits] [NixOS/nixpkgs] 21cdf3: pythonPackages: use a more direct mirror (#22833)

2017-02-15 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 21cdf340dbdc6ba5dca4e9dc1532b17d251e77ba https://github.com/NixOS/nixpkgs/commit/21cdf340dbdc6ba5dca4e9dc1532b17d251e77ba Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-15 (Wed, 15 Fe

[Nix-commits] [NixOS/nixpkgs] 91d026: modules/filesystems: disallow non-empty fstab fiel...

2017-02-15 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 91d0260feba50b25b13d1e0dd2705039f75e09a2 https://github.com/NixOS/nixpkgs/commit/91d0260feba50b25b13d1e0dd2705039f75e09a2 Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-15 (Wed, 15 Fe

[Nix-commits] [NixOS/nixpkgs] 7ee777: picard: 1.32. -> 1.4

2017-02-14 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 7ee777d784de06a088c5ec933bfb2383c7001d1f https://github.com/NixOS/nixpkgs/commit/7ee777d784de06a088c5ec933bfb2383c7001d1f Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-15 (Wed, 15 Fe

Re: [Nix-dev] Python 3 as default

2017-02-14 Thread Profpatsch
On 17-02-14 01:18pm, Peter Simons wrote: > I hardly ever use nix-shell and I don't want to, to > be honest Completely off-discussion: Why is that? Convenience? nix-shell does too many strange things? Personally I use nix-shell for nearly everything I do nowadays because it’s so convenient. Even

Re: [Nix-dev] Python 3 as default

2017-02-13 Thread Profpatsch
On 17-02-13 10:08am, Freddy Rietdijk wrote: > In any case, I would like to merge this as soon as possible. Any objections? +1 go for it; Good work! progress is breakage is progress \o/ -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A:

[Nix-commits] [NixOS/nixpkgs] 5b2a71: droopy: init at 20160830 (#22499)

2017-02-11 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5b2a71fa250926010e6da0a6c6325dc1270770c1 https://github.com/NixOS/nixpkgs/commit/5b2a71fa250926010e6da0a6c6325dc1270770c1 Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-11 (Sat, 11 Fe

[Nix-commits] [NixOS/nixpkgs] ed8a0d: modules/searx: add package option (#22636)

2017-02-10 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: ed8a0d8e5e1b1de29db72373471b201b69865812 https://github.com/NixOS/nixpkgs/commit/ed8a0d8e5e1b1de29db72373471b201b69865812 Author: Profpatsch <m...@profpatsch.de> Date: 2017-02-10 (Fri, 10 Fe

Re: [Nix-dev] nix-bundle: Bundle Nix derivations to run anywhere

2017-02-07 Thread Profpatsch
On 17-02-07 11:48am, Tomasz Czyż wrote: > I would vote for mirroring this tool in nixos github namespace (or even > trying to make this project official one) as it can have big impact of > propagating/implementing nix ideas into environments where it's not > straight forward to use it. > > What

[Nix-dev] cache.nixos.org is down

2017-02-06 Thread Profpatsch
It’s kind of flaky, so `curl https://cache.nixos.org` sometimes cannot resolve the host and sometimes outputs 404. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message. If it’s urgent,

Re: [Nix-dev] Arch is dropping i686. Should we?

2017-01-26 Thread Profpatsch
On 17-01-26 08:37am, Graham Christensen wrote: > One person on IRC said they think they may have used it once. Does > anyone on this list use NixOS on i686? anyone on this list know anyone > using NixOS on i686? I’m using it for one old machine running the audio server of our hackerspace. --

Re: [Nix-dev] Is it possible to limit nix access to sudoers and/or a group?

2017-01-20 Thread Profpatsch
On 17-01-20 10:59am, Danylo Hlynskyi wrote: > Nix design doesn't support quotas on filled store per-user, and let's not > forget #8. https://github.com/NixOS/nixpkgs/pull/8 ? That looks unrelated. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A:

[Nix-dev] Add @goetzst to maintainers

2017-01-20 Thread Profpatsch
I suggest adding https://github.com/goetzst to nixpkgs. He is very thoroughly managing youtube-dl and probably some other packages. -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message.

Re: [Nix-dev] Trying to install the SailfishOS SDK

2017-01-20 Thread Profpatsch
On 17-01-19 09:13pm, Christoph-Simon Senjak wrote: > I get the error message > > Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: > Assertion `needed != NULL' failed! > > Any ideas what I could do about that? I am not sure, but have you tried a search, like:

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

2017-01-12 Thread Profpatsch
On 17-01-12 07:31pm, Théophane Hufschmitt wrote: > I'd want to support exactly the same syntax as nix does. That would > mean (depending of the position of the nix core-dev team about this) > either that the nix syntax would be extended to support type > annotations, either that those would be

Re: [Nix-dev] Call For Maintainers - Fractalide BETA release

2017-01-12 Thread Profpatsch
On 17-01-12 09:16pm, stewart mackenzie wrote: > Reproducible functions adds a new vertical design space to Nix/NixOS, > it's pretty huge in my books, given that monolith apps can be combined > in only a certain amount of ways. Next came the reproducible > libraries, which can be combined into even

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

2017-01-12 Thread Profpatsch
On 17-01-12 02:13pm, Théophane Hufschmitt wrote: > type system for nix I’m excited. > Numtide offered to fund a part of the internship, but we still need > some help for me to be able to start it. If GsoC can be made to work, maybe the $5000 (or something like that) can be added? Not sure if

Re: [Nix-dev] Call For Maintainers - Fractalide BETA release

2017-01-12 Thread Profpatsch
On 17-01-11 11:34pm, stewart mackenzie wrote: > Greetings all, Not sure what this has to do with nix-dev? -- Proudly written in Mutt with Vim on NixOS. Q: Why is this email five sentences or less? A: http://five.sentenc.es May take up to five days to read your message. If it’s urgent, call me.

Re: [Nix-dev] Google Summer of Code 2017

2017-01-08 Thread Profpatsch
On 17-01-04 09:42pm, Vladimír Čunát wrote: > On 01/04/2017 08:51 PM, Peter Simons wrote: > > Another very important topic that needs to be addressed in Nix / Hydra > > is the question of how to deal with code that wants to import build > > products into the ongoing evaluation. [...] > > That

[Nix-commits] [NixOS/nixpkgs] 52c34f: liquibase: improve external jar integration (#2081...

2016-12-16 Thread Profpatsch
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 52c34f626ca54b8d664dbba925bd5cfc959f9dc7 https://github.com/NixOS/nixpkgs/commit/52c34f626ca54b8d664dbba925bd5cfc959f9dc7 Author: Profpatsch <m...@profpatsch.de> Date: 2016-12-16 (Fri, 16 De

Re: [Nix-dev] Usability: Nixpkg > NixOS

2016-12-16 Thread Profpatsch
On 16-12-15 11:48pm, Judson Lester wrote: > First, how derivations become software. I *think* nix-env (or nix-shell, or > nix-repl) takes the derivation, finds the build script, establishes > environment variables and runs the script, but I don't know that I've ever > seen that in print anywhere.

Re: [Nix-dev] Usability: Nixpkg > NixOS

2016-12-15 Thread Profpatsch
On 16-12-15 02:21pm, Colin Putney wrote: > Perhaps if we promote the language more, people will get over that hurdle > early and then be pleasantly surprised when they see what's possible with > it. see also: https://nixcloud.io/tour/ -- Proudly written in Mutt with Vim on NixOS. Q: Why is

[Nix-dev] PSA We’ve breached 1400 issues

2016-12-15 Thread Profpatsch
It’s very easy to make them go down: 1) Go to this page (issues, least recently updated first) https://github.com/NixOS/nixpkgs/issues?utf8=%E2%9C%93=is%3Aopen%20sort%3Aupdated-asc%20 2) Click on the first 3) Skim over the contents 4) Write: "(triage) Any updates?" or similar, maybe more fitting

  1   2   3   >