Re: [Nix-dev] Where to start when nixos-rebuild switch --upgrade goes wrong

2016-06-11 Thread James Cook
FWIW, I sometimes use git-bisect to find the first revision where
nixos-rebuild builds something with the problem. It's a huge headache,
though, due to having to reboot so many times and worrying that I
might stumble upon a revision that's more seriously broken.

I just did this to figure out why my desktop hangs after printing
"regenerating udev hardware database..." after I upgraded from 15.09
to 16.03. I'll report separately, but looks like it's the update to
systemd 225 did it.

On 10 June 2016 at 01:09, zimbatm  wrote:
> I usually try to look at the recent changes to find out what might gotten
> wrong, both in the configuration.nix and nixpkgs. Unfortunately I don't know
> of a tool that could provide that diff between two generations so I usually
> stick to one change at a time.
>
>
> On Fri, 10 Jun 2016, 01:48 Evan Rowley,  wrote:
>>
>> Hi Everyone,
>>
>> I performed a nixos-rebuild switch --upgrade and after rebooting, was
>> not able to see my usual KDE session. There was no X session. I
>> selected a previous generation in gummiboot and was able to have my
>> KDE session back. What can I do about the upgraded components which
>> did not work? I could issue a nixos-rebuild switch --rollback, but
>> would the development community benefit from finding out what went
>> wrong? This is a very rudimentary and unsophisticated NixOS
>> installation. Aside from the failed upgrade, nothing out of the
>> ordinairy has been done to it.
>>
>> configuration.nix:
>>
>> { config, pkgs, ... }:
>>
>> {
>>   imports =
>> [ # Include the results of the hardware scan.
>>   ./hardware-configuration.nix
>> ];
>>
>>   # Use the gummiboot efi boot loader.
>>   boot.loader.gummiboot.enable = true;
>>   boot.loader.efi.canTouchEfiVariables = true;
>>
>>   networking.hostName = "ejr-e465"; # Define your hostname.
>>   networking.wireless.enable = true;  # Enables wireless support via
>> wpa_supplicant.
>>
>>   # Select internationalisation properties.
>>   i18n = {
>> consoleFont = "Lat2-Terminus16";
>> consoleKeyMap = "us";
>> defaultLocale = "en_US.UTF-8";
>>   };
>>
>>   # Set your time zone.
>>   time.timeZone = "America/New_York";
>>
>>   # List packages installed in system profile. To search by name, run:
>>   # $ nix-env -qaP | grep wget
>>   environment.systemPackages = with pkgs; [
>> wget
>> vim
>> pkgs.kde4.kdemultimedia
>> pkgs.kde4.kdegraphics
>> pkgs.kde4.kdeutils
>> pkgs.kde4.applications
>> pkgs.kde4.kdebindings
>> pkgs.kde4.kdeaccessibility
>> pkgs.kde4.kde_baseapps
>> pkgs.kde4.kactivities
>> pkgs.kde4.kdeadmin
>> pkgs.kde4.kdeartwork
>> pkgs.kde4.kde_base_artwork
>> pkgs.kde4.kdenetwork
>> pkgs.kde4.kdepim
>> pkgs.kde4.kdepimlibs
>> pkgs.kde4.kdeplasma_addons
>> pkgs.kde4.kdesdk
>> pkgs.kde4.kdetoys
>> pkgs.kde4.kdewebdev
>> pkgs.kde4.oxygen_icons
>> pkgs.kde4.kdebase_workspace
>> pkgs.kde4.kdelibs
>> pkgs.kde4.kdevelop
>> pkgs.kde4.kdevplatform
>>   ];
>>
>>   # List services that you want to enable:
>>
>>   # Enable the OpenSSH daemon.
>>   # services.openssh.enable = true;
>>
>>   # Enable CUPS to print documents.
>>   # services.printing.enable = true;
>>
>>   # Enable the X11 windowing system.
>>   services.xserver.enable = true;
>>   services.xserver.layout = "us";
>>   #services.xserver.xkbOptions = "eurosign:e";
>>
>>   # Enable the KDE Desktop Environment.
>>   services.xserver.displayManager.kdm.enable = true;
>>   services.xserver.desktopManager.kde4.enable = true;
>>
>>   fonts = {
>> enableFontDir = true;
>> enableGhostscriptFonts = true;
>> fonts = with pkgs; [
>>   corefonts  # Micrsoft free fonts
>>   inconsolata  # monospaced
>> ];
>>   };
>>
>>   users.extraUsers.ejr = {
>> name = "ejr";
>> group = "users";
>> uid = 1001;
>> createHome = true;
>> home = "/home/ejr";
>> useDefaultShell = true;
>> description = "Evan Johannes Rowley";
>> password = "password";
>> extraGroups = [
>>   "wheel"
>>   "libvirtd"
>>   "audio"
>>   "kvm"
>>   "cdrom"
>>   "docker"
>> ];
>>   };
>>
>> # release to be compatible with for stateful data such as databases.
>>   system.stateVersion = "16.03";
>>
>>   system.autoUpgrade.enable = true;
>>   system.autoUpgrade.channel = https://nixos.org/channels/nixos-16.03;
>> }
>>
>> --
>>  - EJR
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 6b2cdf: sane-backends-git: 2016-05-09 -> 2016-06-11

2016-06-11 Thread Tobias Geerinckx-Rice
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 6b2cdf8cd1c5913179640853eea74af4d0c7b8d4
  
https://github.com/NixOS/nixpkgs/commit/6b2cdf8cd1c5913179640853eea74af4d0c7b8d4
  Author: Tobias Geerinckx-Rice 
  Date:   2016-06-12 (Sun, 12 Jun 2016)

  Changed paths:
M pkgs/applications/graphics/sane/backends/git.nix

  Log Message:
  ---
  sane-backends-git: 2016-05-09 -> 2016-06-11

fujitsu backend v131:
- hide compression-arg option when jpeg disabled
- add Send/SC/GHS macros for recent scanners
- add initial support for fi-74x0
- add initial support for fi-7030
- set has_MS_lamp=0 for fi-71x0
- add I18N macros to all option titles and descriptions
- add usb ids for many newer scanners


  Commit: 1212d921c1712130a200fed9f4e9277445f87860
  
https://github.com/NixOS/nixpkgs/commit/1212d921c1712130a200fed9f4e9277445f87860
  Author: Tobias Geerinckx-Rice 
  Date:   2016-06-12 (Sun, 12 Jun 2016)

  Changed paths:
M pkgs/tools/compression/lrzip/default.nix

  Log Message:
  ---
  lrzip: 0.621 -> 0.630

Changes: http://ck-hack.blogspot.com/2016/06/lrzip-0630.html


  Commit: 9f266996b401179c254ae2dd913aa01d111ca6b3
  
https://github.com/NixOS/nixpkgs/commit/9f266996b401179c254ae2dd913aa01d111ca6b3
  Author: Tobias Geerinckx-Rice 
  Date:   2016-06-12 (Sun, 12 Jun 2016)

  Changed paths:
M pkgs/tools/filesystems/btrfs-progs/default.nix

  Log Message:
  ---
  btrfs-progs: 4.5.3 -> 4.6


  Commit: 6558f0add3f15e62f182bf33e1acf0c857d78832
  
https://github.com/NixOS/nixpkgs/commit/6558f0add3f15e62f182bf33e1acf0c857d78832
  Author: Tobias Geerinckx-Rice 
  Date:   2016-06-12 (Sun, 12 Jun 2016)

  Changed paths:
M pkgs/applications/graphics/sane/backends/git.nix

  Log Message:
  ---
  sane-backends-git: fix corrupted hash


  Commit: c3d5a0a7df17a0f9735d7c7196fbb2f029fbd81e
  
https://github.com/NixOS/nixpkgs/commit/c3d5a0a7df17a0f9735d7c7196fbb2f029fbd81e
  Author: Tobias Geerinckx-Rice 
  Date:   2016-06-12 (Sun, 12 Jun 2016)

  Changed paths:
M pkgs/development/libraries/libpsl/default.nix

  Log Message:
  ---
  libpsl: list 2016-05-23 -> 2016-06-10


Compare: https://github.com/NixOS/nixpkgs/compare/60a2d81ac439...c3d5a0a7df17___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] d49e0f: vimPlugins: add localvimrc

2016-06-11 Thread Arseniy Seroka
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: d49e0ff79f84aac0518edfe249b29e6b8144da63
  
https://github.com/NixOS/nixpkgs/commit/d49e0ff79f84aac0518edfe249b29e6b8144da63
  Author: Erik Rybakken 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/misc/vim-plugins/default.nix
M pkgs/misc/vim-plugins/vim-plugin-names

  Log Message:
  ---
  vimPlugins: add localvimrc


  Commit: 60a2d81ac43958c6b97c28dcab893c7bd226ded0
  
https://github.com/NixOS/nixpkgs/commit/60a2d81ac43958c6b97c28dcab893c7bd226ded0
  Author: Arseniy Seroka 
  Date:   2016-06-12 (Sun, 12 Jun 2016)

  Changed paths:
M pkgs/misc/vim-plugins/default.nix
M pkgs/misc/vim-plugins/vim-plugin-names

  Log Message:
  ---
  Merge pull request #16134 from erikryb/master

vimPlugins: add localvimrc


Compare: https://github.com/NixOS/nixpkgs/compare/72d589080f43...60a2d81ac439___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Stackage Support Will Be Discontinued

2016-06-11 Thread Teo Klestrup Röijezon
Fair enough, that seems like a reasonable solution.

On 11 June 2016 at 18:31, Benno Fünfstück 
wrote:

> Teo Klestrup Röijezon  schrieb am Mi., 8. Juni 2016 um
> 21:58 Uhr:
>
>> So there will no longer be a way to pin Haskell dependencies? That's a
>> bit annoying. I can understand the desire to keep security-critical
>> packages like OpenSSL and user-facing tools like git-annex up to date, but
>> at the same time there are many non-critical dependencies that I wouldn't
>> want to go back and patch my one-off deployments for updates of.
>>
>> The old way is/was certainly not perfect, but at least it provided a
>> mostly-stable target that I could pretty much forget about after deployment.
>>
>
> There should be still a way to do this. I don't think stackage supports
> needs to be removed from `hackage2nix` or `cabal2nix`, so you can still
> simply generate your own `hackage-packages.nix` and include that with your
> project to pin the hackage snapshot.
>
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 72d589: emacs25pre: 25.0.94 -> 25.0.95

2016-06-11 Thread Joachim Fasting
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 72d589080f4387eea433e5b87309c9e5a2ee4a03
  
https://github.com/NixOS/nixpkgs/commit/72d589080f4387eea433e5b87309c9e5a2ee4a03
  Author: Joachim Fasting 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/applications/editors/emacs-25/default.nix

  Log Message:
  ---
  emacs25pre: 25.0.94 -> 25.0.95


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 40b661: minecraft: use icon in jar

2016-06-11 Thread Arseniy Seroka
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 40b661a8500fc6b0f98e809db9259ca0f6191bd8
  
https://github.com/NixOS/nixpkgs/commit/40b661a8500fc6b0f98e809db9259ca0f6191bd8
  Author: Ryan Mulligan 
  Date:   2016-06-10 (Fri, 10 Jun 2016)

  Changed paths:
M pkgs/games/minecraft/default.nix

  Log Message:
  ---
  minecraft: use icon in jar

This removes the dependency on a wiki image download, which seemed bad
when I first introduced it. Unfortunately, they do not provide a 48x48
icon so we are not satisfying the minimal XDG standard.


  Commit: 63dcc818e1b6cb21a4917fb17705f06b4878cd47
  
https://github.com/NixOS/nixpkgs/commit/63dcc818e1b6cb21a4917fb17705f06b4878cd47
  Author: Arseniy Seroka 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/games/minecraft/default.nix

  Log Message:
  ---
  Merge pull request #16091 from ryantm/minecraft

minecraft: use icon in jar


Compare: https://github.com/NixOS/nixpkgs/compare/5347a118c25f...63dcc818e1b6___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 205ec1: catfish: 1.4.1 -> 1.4.2

2016-06-11 Thread Arseniy Seroka
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 205ec15d1eef46e944b60a2ba1860812997be6e3
  
https://github.com/NixOS/nixpkgs/commit/205ec15d1eef46e944b60a2ba1860812997be6e3
  Author: José Romildo Malaquias 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/applications/search/catfish/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  catfish: 1.4.1 -> 1.4.2


  Commit: 5347a118c25f20b49150150e59fe6168c0c8ff37
  
https://github.com/NixOS/nixpkgs/commit/5347a118c25f20b49150150e59fe6168c0c8ff37
  Author: Arseniy Seroka 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/applications/search/catfish/default.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #16139 from romildo/upd.catfish

catfish: 1.4.1 -> 1.4.2


Compare: https://github.com/NixOS/nixpkgs/compare/d4876168e2cf...5347a118c25f___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] da0b51: vivaldi: 1.1 -> 1.2

2016-06-11 Thread Arseniy Seroka
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: da0b516a5f0363be0ed91547f8a9bcef52a60603
  
https://github.com/NixOS/nixpkgs/commit/da0b516a5f0363be0ed91547f8a9bcef52a60603
  Author: Christian Lask 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/applications/networking/browsers/vivaldi/default.nix

  Log Message:
  ---
  vivaldi: 1.1 -> 1.2


  Commit: d4876168e2cf2dd48645f3a0b5293096cc2c4735
  
https://github.com/NixOS/nixpkgs/commit/d4876168e2cf2dd48645f3a0b5293096cc2c4735
  Author: Arseniy Seroka 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/applications/networking/browsers/vivaldi/default.nix

  Log Message:
  ---
  Merge pull request #16140 from hiberno/update-vivaldi

vivaldi: 1.1 -> 1.2


Compare: https://github.com/NixOS/nixpkgs/compare/263edf889761...d4876168e2cf___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 149799: bluejeans: 2.155.17.5 -> 2.160.49-8

2016-06-11 Thread Arseniy Seroka
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 1497998a403429e27c6a8d84fd928136b24babbc
  
https://github.com/NixOS/nixpkgs/commit/1497998a403429e27c6a8d84fd928136b24babbc
  Author: Kranium Gikos Mendoza 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M 
pkgs/applications/networking/browsers/mozilla-plugins/bluejeans/default.nix

  Log Message:
  ---
  bluejeans: 2.155.17.5 -> 2.160.49-8


  Commit: 263edf8897610578a113a326761c920c316bc03e
  
https://github.com/NixOS/nixpkgs/commit/263edf8897610578a113a326761c920c316bc03e
  Author: Arseniy Seroka 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M 
pkgs/applications/networking/browsers/mozilla-plugins/bluejeans/default.nix

  Log Message:
  ---
  Merge pull request #16147 from womfoo/bluejeans

bluejeans: 2.155.17.5 -> 2.160.49-8


Compare: https://github.com/NixOS/nixpkgs/compare/3850123f32d4...263edf889761___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 385012: nixos/docker: use wrapped modprobe

2016-06-11 Thread Benno Fünfstück
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 3850123f32d498958bccf271781a12aaf1689c43
  
https://github.com/NixOS/nixpkgs/commit/3850123f32d498958bccf271781a12aaf1689c43
  Author: Benno Fünfstück 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M nixos/modules/virtualisation/docker.nix

  Log Message:
  ---
  nixos/docker: use wrapped modprobe

We need to use wrapped modprobe, so that it finds the right
modules. Docker needs modprobe to load overlay kernel module
for example.

This fixes an an error starting docker if the booted system's kernel
version is different from the /run/current-system profile's one.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-dev] Wrapping single python executable in pulseaudio /bin

2016-06-11 Thread Profpatsch
pulseaudio contains a python script called qpaeq which is not
correctly packaged yet.

First, the shebang needs to be patched. I managed to achieve that
by call wrapPythonPrograms in postInstall.

Second, the scripts has a dependency on pythonPackages.pyqt4. I
tried inserting that into every *buildDepends, but to no avail,
the script isn’t aware of the library.

What can I do about that?

-- 
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.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] 808614: nanomsg: 0.8-beta -> 1.0.0

2016-06-11 Thread Rushmore Mushambi
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 8086145649a3014f7e16797f91a031945d0e94d1
  
https://github.com/NixOS/nixpkgs/commit/8086145649a3014f7e16797f91a031945d0e94d1
  Author: rushmorem 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/development/libraries/nanomsg/default.nix

  Log Message:
  ---
  nanomsg: 0.8-beta -> 1.0.0


  Commit: bb1a9d3b609bb3111a87a4fb61e12bef0938ba5c
  
https://github.com/NixOS/nixpkgs/commit/bb1a9d3b609bb3111a87a4fb61e12bef0938ba5c
  Author: Rushmore Mushambi 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/development/libraries/nanomsg/default.nix

  Log Message:
  ---
  Merge pull request #16145 from rushmorem/update-nanomsg

nanomsg: 0.8-beta -> 1.0.0


Compare: https://github.com/NixOS/nixpkgs/compare/1965bd56e6d7...bb1a9d3b609b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 7d02cc: all-packages references to Go packages includes al...

2016-06-11 Thread Rushmore Mushambi
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7d02cc1dd50766058b2ec2c6d3a741d96db5d27b
  
https://github.com/NixOS/nixpkgs/commit/7d02cc1dd50766058b2ec2c6d3a741d96db5d27b
  Author: Kamil Chmielewski 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M doc/languages-frameworks/go.xml
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  all-packages references to Go packages includes all outputs


  Commit: 1965bd56e6d7e19a411c7d56bb7de47a57dd7618
  
https://github.com/NixOS/nixpkgs/commit/1965bd56e6d7e19a411c7d56bb7de47a57dd7618
  Author: Rushmore Mushambi 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M doc/languages-frameworks/go.xml
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #16146 from kamilchm/rework-go

all-packages references to Go packages includes all outputs


Compare: https://github.com/NixOS/nixpkgs/compare/b341de88e9c1...1965bd56e6d7___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 74107a: buildFHSEnv: refactor and simplify, drop buildFHSC...

2016-06-11 Thread Nikolay Amiantov
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 74107a7867aa0c55c9d823726f80f9fb6cf3251c
  
https://github.com/NixOS/nixpkgs/commit/74107a7867aa0c55c9d823726f80f9fb6cf3251c
  Author: Nikolay Amiantov 
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
R pkgs/build-support/build-fhs-chrootenv/default.nix
R pkgs/build-support/build-fhs-chrootenv/destroy.sh.in
R pkgs/build-support/build-fhs-chrootenv/env.nix
R pkgs/build-support/build-fhs-chrootenv/init.sh.in
R pkgs/build-support/build-fhs-chrootenv/load.sh.in
R pkgs/build-support/build-fhs-chrootenv/mount.sh.in
R pkgs/build-support/build-fhs-chrootenv/umount.sh.in
M pkgs/build-support/build-fhs-userenv/chroot-user.rb
M pkgs/build-support/build-fhs-userenv/default.nix
A pkgs/build-support/build-fhs-userenv/env.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  buildFHSEnv: refactor and simplify, drop buildFHSChrootEnv

This takes another approach at binding FHS directory structure. We
now bind-mount all the root filesystem to directory "/host" in the target tree.
>From that we symlink all the directories into the tree if they do not already
exist in FHS structure.

This probably makes `CHROOTENV_EXTRA_BINDS` unnecessary -- its main usecase was
to add bound directories from the host to the sandbox, and we not just symlink
all of them. I plan to get some feedback on its usage and maybe deprecate it.

This also drops old `buildFHSChrootEnv` infrastructure. The main problem with it
is it's very difficult to unmount a recursive-bound directory when mount is not
sandboxed. This problem is a bug even without these changes -- if
you have for example `/home/alice` mounted to somewhere, you wouldn't see
it in `buildFHSChrootEnv` now. With the new directory structure, it's
impossible to use regular bind at all. After some tackling with this I realized
that the fix would be brittle and dangerous (if you don't unmount everything
clearly and proceed to removing the temporary directory, bye-bye fs!). It also
probably doesn't worth it because I haven't heard that someone actually uses it
for a long time, and `buildFHSUserEnv` should cover most cases while being much
more maintainable and safe for the end-user.


  Commit: 8d9e5d297d8c7aa6c1aa77bf3d4b9dd3fba7c9ec
  
https://github.com/NixOS/nixpkgs/commit/8d9e5d297d8c7aa6c1aa77bf3d4b9dd3fba7c9ec
  Author: Nikolay Amiantov 
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
M pkgs/build-support/build-fhs-userenv/env.nix

  Log Message:
  ---
  buildFHSEnv: don't link GCC compiler part


  Commit: 3e90b00c1081dc878a2b9ab195c9bb136104f3cd
  
https://github.com/NixOS/nixpkgs/commit/3e90b00c1081dc878a2b9ab195c9bb136104f3cd
  Author: Nikolay Amiantov 
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
M pkgs/build-support/build-fhs-userenv/env.nix

  Log Message:
  ---
  buildFHSEnv: link 'bin' output


  Commit: 3d8664ee42d43218bdec1cc9b1075998ad66082f
  
https://github.com/NixOS/nixpkgs/commit/3d8664ee42d43218bdec1cc9b1075998ad66082f
  Author: Nikolay Amiantov 
  Date:   2016-06-07 (Tue, 07 Jun 2016)

  Changed paths:
M pkgs/build-support/build-fhs-userenv/chroot-user.rb

  Log Message:
  ---
  buildFHSUserEnv: mark CHROOTENV_EXTRA_BINDS as discussed for deprecation


  Commit: 75ea0523c41372cea4450f748c5ef59b0d01702e
  
https://github.com/NixOS/nixpkgs/commit/75ea0523c41372cea4450f748c5ef59b0d01702e
  Author: Nikolay Amiantov 
  Date:   2016-06-09 (Thu, 09 Jun 2016)

  Changed paths:
M doc/functions.xml

  Log Message:
  ---
  doc: update buildFHSUserEnv documentation


  Commit: b341de88e9c139d549261411b624c41a96228f6b
  
https://github.com/NixOS/nixpkgs/commit/b341de88e9c139d549261411b624c41a96228f6b
  Author: Nikolay Amiantov 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M doc/functions.xml
R pkgs/build-support/build-fhs-chrootenv/default.nix
R pkgs/build-support/build-fhs-chrootenv/destroy.sh.in
R pkgs/build-support/build-fhs-chrootenv/env.nix
R pkgs/build-support/build-fhs-chrootenv/init.sh.in
R pkgs/build-support/build-fhs-chrootenv/load.sh.in
R pkgs/build-support/build-fhs-chrootenv/mount.sh.in
R pkgs/build-support/build-fhs-chrootenv/umount.sh.in
M pkgs/build-support/build-fhs-userenv/chroot-user.rb
M pkgs/build-support/build-fhs-userenv/default.nix
A pkgs/build-support/build-fhs-userenv/env.nix
M pkgs/top-level/all-packages.nix

  Log Message:
  ---
  Merge pull request #16030 from abbradar/fhs-refactor

Improvements for FHS user chrootenv


Compare: https://github.com/NixOS/nixpkgs/compare/9fbd5cf1bd76...b341de88e9c1___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] c61688: pythonPackages.bugwarrior : 1.0.2 -> 1.4.0

2016-06-11 Thread Frederik Rietdijk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: c6168827573dce16a72a8c206cf814a1341ceef6
  
https://github.com/NixOS/nixpkgs/commit/c6168827573dce16a72a8c206cf814a1341ceef6
  Author: Théophane Hufschmitt 
  Date:   2016-06-10 (Fri, 10 Jun 2016)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  pythonPackages.bugwarrior : 1.0.2 -> 1.4.0


  Commit: 9fbd5cf1bd7613bbf2332e0fd43ae11fc47e0d76
  
https://github.com/NixOS/nixpkgs/commit/9fbd5cf1bd7613bbf2332e0fd43ae11fc47e0d76
  Author: Frederik Rietdijk 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/top-level/python-packages.nix

  Log Message:
  ---
  Merge pull request #16127 from regnat/bugwarrior

pythonPackages.bugwarrior : 1.0.2 -> 1.4.0


Compare: https://github.com/NixOS/nixpkgs/compare/beb4182cc8a7...9fbd5cf1bd76___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


Re: [Nix-dev] Stackage Support Will Be Discontinued

2016-06-11 Thread Benno Fünfstück
Teo Klestrup Röijezon  schrieb am Mi., 8. Juni 2016 um
21:58 Uhr:

> So there will no longer be a way to pin Haskell dependencies? That's a bit
> annoying. I can understand the desire to keep security-critical packages
> like OpenSSL and user-facing tools like git-annex up to date, but at the
> same time there are many non-critical dependencies that I wouldn't want to
> go back and patch my one-off deployments for updates of.
>
> The old way is/was certainly not perfect, but at least it provided a
> mostly-stable target that I could pretty much forget about after deployment.
>

There should be still a way to do this. I don't think stackage supports
needs to be removed from `hackage2nix` or `cabal2nix`, so you can still
simply generate your own `hackage-packages.nix` and include that with your
project to pin the hackage snapshot.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] Stackage Support Will Be Discontinued

2016-06-11 Thread Игорь Пашев
2016-06-08 22:58 GMT+03:00 Teo Klestrup Röijezon :
> So there will no longer be a way to pin Haskell dependencies? That's a bit
> annoying. I can understand the desire to keep security-critical packages
> like OpenSSL and user-facing tools like git-annex up to date, but at the
> same time there are many non-critical dependencies that I wouldn't want to
> go back and patch my one-off deployments for updates of.


There is a way. I experimented with a custom derivation which:
1. Has fixed Hackage snapshot metadata (tarball)
2. Initializes cabal from that tarball, instead of downloading the "recent".
3. Builds in normal `cabal install` way

Yes, it rebuilds every dependency every time.
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-commits] [NixOS/nixpkgs] dbed53: gnome3: add gnome-session debug option

2016-06-11 Thread Luca Bruno
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: dbed53a79f335535e3ca2610d0e3d154a2243151
  
https://github.com/NixOS/nixpkgs/commit/dbed53a79f335535e3ca2610d0e3d154a2243151
  Author: Luca Bruno 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M nixos/modules/services/x11/desktop-managers/gnome3.nix

  Log Message:
  ---
  gnome3: add gnome-session debug option


  Commit: beb4182cc8a7072d9c331643c7e2a6d81767b654
  
https://github.com/NixOS/nixpkgs/commit/beb4182cc8a7072d9c331643c7e2a6d81767b654
  Author: Luca Bruno 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/desktops/gnome-3/3.20/core/gdm/default.nix

  Log Message:
  ---
  gnome3.gdm: fix version 3.14 for being used with gnome-shell 3.20. Closes 
#16063


Compare: https://github.com/NixOS/nixpkgs/compare/a3bff717386b...beb4182cc8a7___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] ab09c3: nim: 0.13.0 -> 0.14.2

2016-06-11 Thread Maciek Starzyk
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ab09c37f999f34adc9c2d7c4450add7f614fc78c
  
https://github.com/NixOS/nixpkgs/commit/ab09c37f999f34adc9c2d7c4450add7f614fc78c
  Author: Maciek Starzyk 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/development/compilers/nim/default.nix

  Log Message:
  ---
  nim: 0.13.0 -> 0.14.2


  Commit: a3bff717386bc407e8b9a3c4704e2dcbc033181d
  
https://github.com/NixOS/nixpkgs/commit/a3bff717386bc407e8b9a3c4704e2dcbc033181d
  Author: Maciek Starzyk 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/development/tools/nimble/default.nix

  Log Message:
  ---
  nimble: 0.7.2 -> 0.7.4


Compare: https://github.com/NixOS/nixpkgs/compare/4da067bf287a...a3bff717386b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 14d49d: buildGoPackage: updated docs for goPackages after ...

2016-06-11 Thread Rushmore Mushambi
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 14d49ddc40f6631a2b588c4d35e0ce265a4d68e1
  
https://github.com/NixOS/nixpkgs/commit/14d49ddc40f6631a2b588c4d35e0ce265a4d68e1
  Author: Kamil Chmielewski 
  Date:   2016-06-10 (Fri, 10 Jun 2016)

  Changed paths:
M doc/languages-frameworks/go.xml

  Log Message:
  ---
  buildGoPackage: updated docs for goPackages after rework in 
https://github.com/NixOS/nixpkgs/pull/16017


  Commit: 4da067bf287ad62e69af37afb8158eff1e6c4f07
  
https://github.com/NixOS/nixpkgs/commit/4da067bf287ad62e69af37afb8158eff1e6c4f07
  Author: Rushmore Mushambi 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M doc/languages-frameworks/go.xml

  Log Message:
  ---
  Merge pull request #16129 from kamilchm/rework-go

buildGoPackage: updated docs for goPackages after rework


Compare: https://github.com/NixOS/nixpkgs/compare/47d400a1ccfc...4da067bf287a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 851446: fix merge failure

2016-06-11 Thread Robin Gloster
  Branch: refs/heads/hardened-stdenv
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 851446e26ecfda12be4fbda6809eec8b62e854c2
  
https://github.com/NixOS/nixpkgs/commit/851446e26ecfda12be4fbda6809eec8b62e854c2
  Author: Robin Gloster 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/top-level/all-packages.nix
M pkgs/top-level/rust-packages.nix

  Log Message:
  ---
  fix merge failure


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] 65b3dd: neomutt: 20160502 -> 20160530

2016-06-11 Thread Moritz Ulrich
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 65b3ddec31630cc4f3dee7d9bd8754af1ca84995
  
https://github.com/NixOS/nixpkgs/commit/65b3ddec31630cc4f3dee7d9bd8754af1ca84995
  Author: Rahul Gopinath 
  Date:   2016-06-10 (Fri, 10 Jun 2016)

  Changed paths:
M pkgs/applications/networking/mailreaders/neomutt/default.nix

  Log Message:
  ---
  neomutt: 20160502 -> 20160530

Adds keywords, compress, nntp to patches.


  Commit: 47d400a1ccfc1bd98fd6d95f4cf1590f0d427197
  
https://github.com/NixOS/nixpkgs/commit/47d400a1ccfc1bd98fd6d95f4cf1590f0d427197
  Author: Moritz Ulrich 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/applications/networking/mailreaders/neomutt/default.nix

  Log Message:
  ---
  Merge pull request #16131 from vrthra/neomutt

neomutt: 20160502 -> 20160530


Compare: https://github.com/NixOS/nixpkgs/compare/b195bf1ed2dc...47d400a1ccfc___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/nixpkgs] ab450c: gcc: fixup the tarball job after merging #15867

2016-06-11 Thread Vladimír Čunát
  Branch: refs/heads/staging
  Home:   https://github.com/NixOS/nixpkgs
  Commit: ab450c0909411be75adb671bc892987e608f16b7
  
https://github.com/NixOS/nixpkgs/commit/ab450c0909411be75adb671bc892987e608f16b7
  Author: Vladimír Čunát 
  Date:   2016-06-11 (Sat, 11 Jun 2016)

  Changed paths:
M pkgs/development/compilers/gcc/5/default.nix

  Log Message:
  ---
  gcc: fixup the tarball job after merging #15867

The evaluation problem happened in while checking find-tarballs.nix
http://hydra.nixos.org/build/36754203/nixlog/1/raw
(it didn't seem worth digging into why exactly)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits