[Nix-commits] [NixOS/nixpkgs] 98bd72: systemd-boot: allow setting editor security option...

2017-01-21 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 98bd722d1dae747c5786497b8689415d2bebf78f https://github.com/NixOS/nixpkgs/commit/98bd722d1dae747c5786497b8689415d2bebf78f Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-01-21 (Sat, 21 Ja

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

2017-02-16 Thread Linus Heckemann
On 16/02/17 12:28, 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

[Nix-commits] [NixOS/nixpkgs] b4cd25: Manual: document users.users..hashedPassword

2017-02-13 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573 https://github.com/NixOS/nixpkgs/commit/b4cd251c54e8a07cfcb8cb46c53083f2f6c7a573 Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-02-13 (Mon, 13 Fe

[Nix-commits] [NixOS/nixpkgs] 9aca55: endless sky: init at 0.9.4

2016-12-11 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 9aca55e79d62468ef230350026b41947d0472309 https://github.com/NixOS/nixpkgs/commit/9aca55e79d62468ef230350026b41947d0472309 Author: Linus Heckemann <g...@sphalerite.org> Date: 2016-12-11 (Sun, 11 De

[Nix-commits] [NixOS/nixpkgs] d568cb: google-apputils: enable for py3k (#21079)

2016-12-11 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: d568cb971be3c1a9f732e2d254baf74dff84fa2a https://github.com/NixOS/nixpkgs/commit/d568cb971be3c1a9f732e2d254baf74dff84fa2a Author: Linus Heckemann <g...@sphalerite.org> Date: 2016-12-11 (Sun, 11 De

[Nix-commits] [NixOS/nixpkgs] da70d3: SDL2: split derivation

2016-12-25 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: da70d3da0f11b22eac77756b39b349215e06b2e3 https://github.com/NixOS/nixpkgs/commit/da70d3da0f11b22eac77756b39b349215e06b2e3 Author: Linus Heckemann <g...@sphalerite.org> Date: 2016-12-26 (Mon, 26 De

Re: [Nix-dev] Temporarily not using ~/.nixpkgs/config.nix

2017-03-26 Thread Linus Heckemann
On 26/03/17 16:30, Eike wrote: > Is there a way to temporarily disable evaluating ~/.nixpkgs/config.nix? > I looked at http://nixos.org/nixpkgs/manual/#chap-packageconfig, but > couldn't find anything related. See pkgs/top-level/impure.nix (found by grepping nixpkgs for .nixpkgs/config.nix): >

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

2017-03-17 Thread Linus Heckemann
On 17/03/17 16:00, Volth wrote: > What could be done here? nix-shell, and the upstream recommended build procedure. ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev

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

2017-03-15 Thread Linus Heckemann
On 14/03/17 20:24, Roni Choudhury wrote: > So my second question is, *how do I know whether a package > has .lib or .dev attributes?* I know of two options for this: 1. Look at the expressions in a nixpkgs checkout; a good starting point is usually all-packages.nix to find the actual expression

Re: [Nix-dev] Overriding python with python3 in vim_configurable.customize

2017-04-04 Thread Linus Heckemann
On 04/04/17 17:40, zimbatm wrote: > Look into pkgs/top-level/all-packages.nix. I would start by copying the > definition of vim_configurable from there and set the python argument. > > > On Tue, 4 Apr 2017, 14:08 Ben Zhang, > wrote: > >

Re: [Nix-dev] Presenting nix-index: a file-not-found utility

2017-04-22 Thread Linus Heckemann
On 22/04/17 07:45, Linus Heckemann wrote: > On 22/04/17 07:03, Danylo Hlynskyi wrote: >> Great! >> A question: what does it mean when expression is in round parents? >> >> (wineUnstable.out)2,141 r >> /nix/store/cl7b6kw7y8cqkpy

[Nix-commits] [NixOS/nixpkgs] be65d2: nixpkgs manual: Remove obsolete warning (#21117)

2017-04-23 Thread Linus Heckemann
Branch: refs/heads/release-17.03 Home: https://github.com/NixOS/nixpkgs Commit: be65d233c1b83501e0c82fdbd67d0ecf3ebefb99 https://github.com/NixOS/nixpkgs/commit/be65d233c1b83501e0c82fdbd67d0ecf3ebefb99 Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-04-23 (Sun,

[Nix-commits] [NixOS/nixpkgs] 5c7f46: nixpkgs manual: Remove obsolete warning (#21117)

2017-04-23 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 5c7f4669a7880bc2f929271ae4fdbdc2ba8e2a8b https://github.com/NixOS/nixpkgs/commit/5c7f4669a7880bc2f929271ae4fdbdc2ba8e2a8b Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-04-23 (Sun, 23 Ap

Re: [Nix-dev] Presenting nix-index: a file-not-found utility

2017-04-22 Thread Linus Heckemann
On 22/04/17 07:03, Danylo Hlynskyi wrote: > Great! > A question: what does it mean when expression is in round parents? > > (wineUnstable.out)2,141 r > /nix/store/cl7b6kw7y8cqkpy4pnwwq4iqmaiw52d0-xextproto-7.3.0/include/X11/extensions/secur.h >

Re: [Nix-dev] tigervnc service?

2017-04-23 Thread Linus Heckemann
On 23/04/17 06:07, Tim Sears wrote: > Thanks Volth. That preStart bit got me a bit further. I am running the > awesome window manager and getting the error: > > awesome: main:619: cannot open display (error 1) > > That leads to the server and ssh tunnel shutting down before anything > appears on

Re: [Nix-dev] NixOS 17.03 Beta, 16.09 Security Support Timeline

2017-03-09 Thread Linus Heckemann
On 09/03/17 10:26, Oliver Charles wrote: > sudo: /run/current-system/sw/bin/sudo must be owned by uid 0 and have > the setuid bit set Are you just adding sudo to systemPackages rather than using the option security.sudo.enable? ___ nix-dev mailing list

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

2017-03-06 Thread Linus Heckemann
On 06/03/17 15:03, 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. Isn't the point to just have it refer to the

Re: [Nix-dev] nixos-rebuild switch error

2017-03-07 Thread Linus Heckemann
Hi Tilo, On 07/03/17 07:30, Tilo Schwarz wrote: > *** Downloading > ‘https://cache.nixos.org/nar/1krfkq7lilh69g6ha7gxpck184x7nqwhxh1c51zmsc2p13fqrii4.nar.xz’ > (signed by ‘cache.nixos.org-1’) to > ‘/nix/store/psxqsm2rx0is5yp6sh9bkh4pvsvhpw1b-appres-1.0.4’... > curl: (6) Couldn't resolve host

Re: [Nix-dev] virutalbox ova - screen settings reset on every restart

2017-07-02 Thread Linus Heckemann
On 02/07/17 11:42, Stephan Sahm wrote: > Dear NixOS followers, > > I tried to use the nixOS virtualbox > from > https://d3g5gsiof5omrk.cloudfront.net/nixos/17.03/nixos-17.03.1449.2e983f14f6/nixos-17.03.1449.2e983f14f6-x86_64-linux.ova >

Re: [Nix-dev] Are mailing lists any good for managing patches? (was: okteta fix build)

2017-06-27 Thread Linus Heckemann
On 27/06/17 19:01, Alexandre Peyroux wrote: > Certainly but on big projects that have many developers and a lot of PR, > it loses its charm. I respectfully disagree. Linux has received contributions from 642 (I think that qualifies as "many") developers in 2017 alone using this model. Sure, it's

[Nix-commits] [NixOS/nixpkgs] 96b83f: weechat: fix guile plugin

2017-04-27 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 96b83f66a2182261ecd68d9c978b60b634cba45f https://github.com/NixOS/nixpkgs/commit/96b83f66a2182261ecd68d9c978b60b634cba45f Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-04-27 (Thu, 27 Ap

Re: [Nix-dev] Failure to boot after hibernate

2017-04-24 Thread Linus Heckemann
On 24/04/17 11:33, Bas van Dijk wrote: > On 24 April 2017 at 12:20, Danylo Hlynskyi wrote: >> Probably too late, but can you boot with hibernate=no kernel parameter? > > Hi Danylo, thanks. Unfortunately I can't edit the kernel parameters. > My system is using the default

[Nix-commits] [NixOS/nixpkgs] 995d41: nvidia stable: 375.39 -> 375.66

2017-05-11 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 995d41c09197803624a419114b5c5cd2c90e46bc https://github.com/NixOS/nixpkgs/commit/995d41c09197803624a419114b5c5cd2c90e46bc Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-05-11 (Thu, 11 Ma

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

2017-05-16 Thread Linus Heckemann
On 16/05/17 17:43, zimbatm wrote: > How do you find back which git revision was used to produce a given > NixOS profile? > > Maybe nixos-rebuild should be extended to include that in the revision > name, and if the git repo is dirty. I'm planning to implement the reverse approach on my system:

[Nix-commits] [NixOS/nixpkgs] 11272e: camlistore: use buildGoPackage

2017-05-09 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 11272e930f751e726e46ca1c9c84a82f2fc33b78 https://github.com/NixOS/nixpkgs/commit/11272e930f751e726e46ca1c9c84a82f2fc33b78 Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-05-09 (Tue, 09 Ma

Re: [Nix-dev] 5 somewhat related questions

2017-06-23 Thread Linus Heckemann
Hi Klaas, >> That intuition holds modulo your Q3 - replaying a sequence of >> nix-env commands would only reproduce the same generations if a) >> the states of all channels involved were retained (i.e. you'd need >> to know which nixpkgs-stable you installed from with each command) >> and b) all

Re: [Nix-dev] How to downgrade or patch freetype-2.7 ?

2017-06-24 Thread Linus Heckemann
On 24/06/17 01:52, Volth wrote: > There are still at least one place where > "environment.sessionVariables.LD_LIBRARY_PATH = ..." does not replace > freetype with a custom-built version: in cgi-scripts run under > lighttpd service: > > RRD rendered with stock freetype-2.7.1

Re: [Nix-dev] okteta fix build

2017-06-27 Thread Linus Heckemann
On 27/06/17 17:01, Joachim Schiele wrote: > aszlig pointed out that we have a pointer in the manual to send patches > to the ML if the user in question does not like github which is a valid > workflow for me. > > BUT we are stagnating in PRs are the moment (390 open PRs) and having a > patch per

Re: [Nix-dev] concatAttrs :: [attrSet] -> attrSet ?

2017-05-28 Thread Linus Heckemann
On 28/05/17 13:18, Sergiu Ivanov wrote: > Hello, > > I found myself in the need of a function which would take a list of > Nix attribute sets and concatenate them to produce one big attribute > set: > > nix-repl> concatAttrs [ {x=1;} {y=2;} ] > {x=1; y=2;} > > I did quite some research online

Re: [Nix-dev] Disappearing X session on some systems

2017-05-28 Thread Linus Heckemann
On 28/05/17 07:17, Kirill Elagin wrote: > Is there anything noteworthy in the X log? dmesg? > Surely it doesn’t just disappear without saying anything at all, right? This stuff should be in the journal, but it isn't in the case of lightdm [26172]. The X server may also crash without any further

Re: [Nix-dev] Polkit action files installed via nix-env don't appear to be recognised by Polkit/Pkexec/Pkaction

2017-05-31 Thread Linus Heckemann
On 31/05/17 07:47, Roger Qiu wrote: > Yea that seems right, allowing users to nix-env install things, > everything must be unprivileged, allowing the usage of such polkit files > in nix-env means the users can make use of pkexec to elevate to root > when executing anything. > > However in

Re: [Nix-dev] Polkit action files installed via nix-env don't appear to be recognised by Polkit/Pkexec/Pkaction

2017-05-31 Thread Linus Heckemann
On 31/05/17 08:42, Roger Qiu wrote: > Good response! This would be a great info in a wiki somewhere. Thank you! Maybe I'll add it to the nixos-users wiki. >> To allow nix-env as root to install polkit actions, you could probably > add /nix/var/nix/profiles/default to polkit's search path. > >

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

2017-05-31 Thread Linus Heckemann
On 31/05/17 18:01, Judson Lester wrote: > All, > > Please take this with a grain of salt. I'm trying to clarify my > understanding of Nix, and I've started to develop a kind of precept that > I don't know that I've seen documented anywhere. It may well be a > sophomore misunderstanding, and if

[Nix-commits] [NixOS/nixpkgs] 3c3a25: jing-trang: use jre_headless

2017-06-07 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 3c3a25acc5ccc7685b8f31db97cd8dbcd6c62cfe https://github.com/NixOS/nixpkgs/commit/3c3a25acc5ccc7685b8f31db97cd8dbcd6c62cfe Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-06-07 (Wed, 07 Ju

[Nix-commits] [NixOS/nixpkgs] 4fc077: vdrift: fix build (#26522)

2017-06-13 Thread Linus Heckemann
Branch: refs/heads/master Home: https://github.com/NixOS/nixpkgs Commit: 4fc077bfeee8e09980a75f19823400e46cbd5063 https://github.com/NixOS/nixpkgs/commit/4fc077bfeee8e09980a75f19823400e46cbd5063 Author: Linus Heckemann <g...@sphalerite.org> Date: 2017-06-13 (Tue, 13 Ju

Re: [Nix-dev] weird garbage output inside nix-shell

2017-06-09 Thread Linus Heckemann
On 07/06/17 14:24, Roni Choudhury wrote: > On Wed, Jun 7, 2017 at 12:14 AM Samuel Leathers > wrote: > > I use nix-shell --run zsh. I alias that to nshell. > > Thanks, Sam, this is a great idea! On this note, do you know of a good > way to update