# issues

state: closed
title: nixos: add AppArmor PAM support
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/7344
updated_at: 2015-11-16 22:38:28
body:
  Enables attaching AppArmor profiles at the user/group level.

  By itself, this doesn't do anything without the requisite AppArmor profiles. Also, it is optional
  for now and so is mostly of interest to people who want to experiment with the feature.

  I have verified that it is indeed safe to enable this, it only adds some minor printk spam. To
  build an actual RBAC system you'd change session optional to required, but then it'd be possible
  to lock yourself out of the machine ...


state: closed
title: nixos: condition shadow setuid-wrappers on mutableUsers
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/7345
updated_at: 2015-04-14 20:04:10
body:
  Having junk setuid wrappers in PATH is annoying.

  I don't know if there's actually a reason for installing junk setuid-wrappers here, but I'm
  running with this patch and haven't noticed any problems.


state: closed
title: bastet: new package
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7348
updated_at: 2015-04-19 09:39:07
body:
  This PR adds the (in)famous impossible-to-beat ncurses tetris game.

  Tested on x86_64 in nixos' `system-packages.`.


state: closed
title: Make it easy to add system-wide custom channels.
user_login: aszlig
html_url: https://github.com/NixOS/nixpkgs/pull/7349
updated_at: 2015-04-15 19:42:25
body:
  This is very useful if you want to distribute channels (and thus expressions as well) in a similar fashion to Debians APT sources (or PPAs or whatnot).

  So, for example if you have a channel with some additional functions or packages, you simply add that channel with:

  ``` shell-session
  $ sudo nix-channel --add https://example.com/my-nifty-channel foo
  ```

  And you can access that channel using `<foo>`, for example in your configuration.nix:

  ``` nix
  {
    imports = [ <foo/modules/shiny-little-module> ];
    environment.systemPackages = with import <foo/pkgs> {}; [ bar blah ];
    services.udev.extraRules = import <foo/lib/udev/mkrule.nix> {
      kernel = "eth*";
      attr.address = "00:1D:60:B9:6D:4F";
      name = "my_fast_network_card";
    };
  }
  ```

  Within nixpkgs, we shouldn't have `<nixos>` used anywhere anymore, so we shouldn't get into conflicts.

  Cc: @edolstra


state: closed
title: emacs manual/info page not available from within emacs
user_login: anderspapitto
html_url: https://github.com/NixOS/nixpkgs/issues/7350
updated_at: 2015-04-13 00:04:34
body:
  it's supposed to be reachable via `C-h i d m emacs RET`, from within emacs, but it is not. However, the `info` program can find it, when run as `info emacs`


state: closed
title: gdal-1.11.2 recipe should countain openssl as a dependency
user_login: rsmaior
html_url: https://github.com/NixOS/nixpkgs/issues/7352
updated_at: 2016-04-03 04:05:28
body:
  I was failing to compile gdal, it was complaining about bin/ld being not able find -lssl and -lcrypto

   ttuegel helped me on irc and pointed out openssl as a dependency.

  Here you can see the recipe at master:
  https://github.com/NixOS/nixpkgs/blob/release-14.12/pkgs/development/libraries/gdal/default.nix#L29

  Obs.: I just added openssl between {} and inside buildInputs as a parameter and gdal builded.

  Obs2: this is my first bug login in github and first Nix usage and I could not miss the opportunity to say congrats for this nice piece of software.


state: closed
title: openssh.listenAddresses cause an infinite recursion
user_login: robberer
html_url: https://github.com/NixOS/nixpkgs/issues/7354
updated_at: 2015-04-20 21:59:11
body:
  Hi all,

  with current master branch my nixos modules do not work anymore. I get an "infinite recursion encountered"

  `git bisect` tells me that commit 1d62ad474694c0717017c2c8aa79909a890407b5 is the evil one.

  My modules look like this:

  http://nixpaste.noip.me/raw/Ulg5mEaj

  And here is the `--show-trace` output:

  http://nixpaste.noip.me/raw/Oa5NzJIt

  I import the module in my configuration.nix like this:

  ```
  imports =
      [
        ./hardware-configuration.nix
        ./snmpd.nix
        ./kled-hdd.nix
        ./kled-net.nix
        ./btrsnap.nix
        ./dovecot.nix
        ./fetch-nixos-irc.nix
        ./htpasswd-file.nix
        ./containers.nix
        ./mosix.nix
      ];
  ```

  @shlevy 


state: closed
title: kde5 autostart, not enabled?
user_login: joelmo
html_url: https://github.com/NixOS/nixpkgs/issues/7355
updated_at: 2015-12-10 12:43:31
body:
  In the control panel for autostart I added a script that just echoes a line to a file, to see if it works, but this seem not to be run. Do you use some other way other than editing nixos configuration to start background processes?

  ping @ttuegel


state: closed
title: GNOME 3.16
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/pull/7357
updated_at: 2015-09-04 10:19:54
body:
  Not yet ready to merge:
  - [x] Test whether NM 1.0 still has the issue with many vbox interfaces on real hardware
  - [x] NM 1.0 has been packaged stupidly, plugins won't work. The problem is the dependency cycle between the applet and the plugins. Easiest way to solve: create an applet wrapper with plugins. EDIT: turns out this shouldn't be needed, because the etc files refer to the plugin packages themselves. The nixos setup should be enough.
  - [x] NM 1.0 must be tested with other desktops. If it doesn't work, I won't hesitate to add an `nmPackages`. That's however not easy, because nowadays many apps depend on NM libs even indirectly, e.g. webkitgtk.
  - [ ] GDM 3.16 is a different beast, so we're now using GDM 3.14. I've put some files under 3.16-wip for people wanting to make it work.
  - [x] gnome-music needs libmediaart typelib
  - [ ] If the user waits too much to login in GDM, it seems the screen lock is broken and it's unable to restore the login window.
  - [x] Let `gnome3.icon-themes` be a single derivation instead of a list. Also add gnome_icon_theme fallback to gnome 3.16.
  - [ ] Allow the user to override the gdm config, so that we can support auto-login and add a nixos test.
  - [x] Some icons like gnome-photos and gnome-documents are not showing up.
  - [ ] openssh UI agent shows instead of gnome-keyring/seahorse.
  - [x] Eventually update to 3.16.1
  - [ ] Eventually add support for bluetooth. Partially done, gnome doesn't find any adapter.
  - [ ] Eventually add support for colord
  - [x] Haven't compiled empathy, yelp, evolution, bijiben because they need webkit 2.4. Done, compiled.
  - [x] Fix tracker typelib to point to full nix store path of the .so and remove LD_LIBRARY_PATH from gnome-music
  - [x] Remove LD_LIBRARY_PATH from gnome-documents
  - [x] Evolution window doesn't move.
  - [x] Before merging: remove possible testing stuff.

  Various warnings in the journal:

  **Tracker miner warnings**

  ```
  machine# [   35.991244] gnome-session[1529]: (.tracker-miner-apps-wrapped:1718): Tracker-WARNIN
  G **: File 'file:///run/current-system/sw/share/desktop-directories/X-GNOME-SystemSettings.dire
  ctory' has been reenqueued more than 2 times. It will not be indexed.
  machine# [   35.994815] gnome-session[1529]: (.tracker-miner-apps-wrapped:1718): Tracker-WARNIN
  G **: Couldn't properly parse desktop file 'file:///run/current-system/sw/share/desktop-directo
  ries': 'Couldn't load desktop file:'/run/current-system/sw/share/desktop-directories''
  ...
  ```

  **Missing users**

  ```
  machine# [    5.869526] dbus-daemon[1211]: Unknown username "pulse" in message bus configuration file
  machine# [    5.873343] dbus-daemon[1211]: Unknown username "nm-openconnect" in message bus configuration file
  ```

  **gnome-shell calendar**

  ```
  machine# [   59.805873] org.gnome.Shell.CalendarServer[1572]: (.gnome-shell-calendar-server-wra
  pped:1697): libecal-CRITICAL **: e_cal_client_set_default_timezone: assertion 'zone != NULL' fa
  iled
  ```

  **gnome-calculator shell search provider**

  ``` pkgs/desktops/gnome-3/3.16/apps/gnome-documents/default.nix
  org.gnome.Calculator.SearchProvider[1483]: Error: ErrorCode.UNKNOWN_VARIABLE
  ```

  But it works anyway in the activities.

  **GDM pam_systemd uses consolekit???**

  ```
  Apr 17 07:39:23 nixos gdm-session-worker[1279]: <5>GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
  Apr 17 07:39:23 nixos gdm-session-worker[1279]: <3>GLib: g_variant_new_string: assertion 'string != NULL' failed
  Apr 17 07:39:23 nixos gdm-launch-environment][1279]: pam_systemd(gdm-launch-environment:session): Failed to create session: No seat '/org/freedesktop/ConsoleKit/Seat1' known
  ```

  **When locking the screen**

  ```
  Apr 17 07:51:29 nixos org.gnome.Shell.CalendarServer[1654]: (.gnome-shell-calendar-server-wrapped:1724): libecal-CRITICAL **: e_cal_client_set_default_timezone: assertion 'zone != NULL' failed
  Apr 17 07:51:29 nixos org.gnome.Shell.CalendarServer[1654]: (.gnome-shell-calendar-server-wrapped:1724): libecal-CRITICAL **: e_cal_client_set_default_timezone: assertion 'zone != NULL' failed
  Apr 17 07:51:28 nixos gdm-password][2009]: gkr-pam: no password is available for user
  ```


state: closed
title: hol4 build fails on recent polyml
user_login: roberth
html_url: https://github.com/NixOS/nixpkgs/issues/7360
updated_at: 2015-11-05 18:08:19
body:
  Installing HOL fails with linking errors similar to
  http://comments.gmane.org/gmane.comp.lang.ml.polyml.general/927

  Workaround, YMMV:

  ``` nix
  packageOverrides = pkgs: with pkgs; rec {
        polyml = pkgs.stdenv.lib.overrideDerivation pkgs.polyml (oldAttrs: {
               name = "polyml-5.4";
               src = fetchurl {
                 url = "mirror://sourceforge/polyml/polyml.5.4.tar.gz";
                 sha256 = "1ykbm4zk260dkdr8jl7mjaqxy98h65fq0z82k44b1fp5q8zy5d34";
               };
        });
  ```


state: closed
title: Add zita-dpl1, a digital peak limiter.
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/pull/7361
updated_at: 2015-04-15 23:45:28
body:
  This package  cannot be merged yet: we need written permission to distribute it from the author.
  I have sent him a mail and will report back here as soon as I have an answer.


state: closed
title: wrapPythonPrograms breaks python script
user_login: spwhitt
html_url: https://github.com/NixOS/nixpkgs/issues/7366
updated_at: 2015-04-14 05:13:47
body:
  The following script is broken by wrapPythonPrograms: https://github.com/mhagger/git-imerge/blob/master/git-imerge

  It fails with:

  ```
  File "/nix/store/gk7y6vigxhmw26hv5pgzas3vf1gx4982-git-imerge-0.7.0/bin/.git-imerge-wrapped", line 67
      from __future__ import absolute_import
  SyntaxError: from __future__ imports must occur at the beginning of the file
  ```

  because `import sys; sys.argv[0] = 'git-imerge'` was inserted directly above the docstring, which is above the `from __future__` imports.


state: closed
title: NixOS "auto-update" feature
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/7369
updated_at: 2015-08-07 03:45:46
body:
  I could see some people wanting their NixOS instance to automatically run `nixos-rebuild switch --upgrade` on some schedule. Doing the obvious thing (creating a systemd job that runs periodically and runs that command) fails because you can't sensibly run `nixos-rebuild` inside a systemd job (see #6662).

  Is there a nice way to get this behavior? The idea is that given a fixed configuration and a channel, you don't want to have to worry about keeping yourself up to date with patch releases.


state: closed
title: Configure NixOS from EC2 user-data
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/7370
updated_at: 2016-11-15 10:59:15
body:
  [See #6662 for more discussion of how I got here and why I'm doing it this way]

  This is my initial attempt at getting a working configure-from-user-data NixOS image working. The basic idea is to create an "unstable" NixOS image: its `/etc/nixos/configuration.nix` doesn't actually specify the way the machine is configured, but rather assumes that an `/etc/nixos/amazon-init.nix` exists, which is not bundled inside the image. Instead of bundling `amazon-init.nix`, the image bundles a `postBootCommands` script that downloads the EC2 user-data and writes it into `/etc/nixos/amazon-init.nix`.

  The "unstable" NixOS image thus only configures itself from user-data on first boot, since when it calls `nixos-rebuild switch` on your personalized configuration, the custom `postBootCommands` will go away.

  User-data should look something like:

  ``` nix
  ### http://nixos.org/channels/nixos-unstable nixos

  {
    # Insert your config here, and you'll probably not want me to log into your box so
    # change the user below, or don't put one there at all!

    security.sudo.wheelNeedsPassword = false;

    users.extraUsers.copumpkin = 
      { createHome      = true;
        home            = "/home/copumpkin";
        description     = "Dan P";
        extraGroups     = [ "wheel" ];
        useDefaultShell = true;
        openssh.authorizedKeys.keys = [
          "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCkoril5uKjJohHvqz9Ys9R2rBH95MUb4Rxo5kcuRvEIwMranQ7xP5eU7rZqfv7elE1DLfMs19via+btUX3w8o4juYxzXjafnH6Mck5hYdvxNnErW6gsp0vGDQ0ruRCQx3UmOuC5Ld/wXY7iMQqOlxeLZF2dVCKP1+BSs37wLC7scXYu0U+wODprVpAsZIOwLP85w/uCNlC8wbvNDWG+Hx+XD/ml2ezQiNBRnh7Qo3QKgpUvVBO0d9z84g92D2H9IA+pEpJiWFcYKGEowKSVQVFCi5LoWRiz8XLKL+JeBt5mmmqjmJua6o8lXV7+nba//KCIkG+IWS4nwKQlpzZXc4H"
        ];
      };
  }
  ```

  One thing to note is the `###` section at the top, which specifies the channels (I just strip off the `###` and direct into `~/.nix-channels`)

  If you trust me and want to try it out, I'm hosting a public AMI (until I get sick of paying for storage) of the above with ID `ami-1c477874`.

  Questions for anyone still reading:
  - Is this the best way to do it? The `postBootCommands` with periodic timed check feels kind of hacky, but I also can't use a systemd service and activation scripts didn't work either.
  - Is this the best format for user-data? I like it because it's simple, specifies the full machine (with channels, although I'm not necessarily sold on the `###` convention), and is very clearly just nixos configuration. Unfortunately it's not compatible with the existing format nixops uses for its temporary host keys, but I'd rather make it use a clean nix configuration file than force this into that format and have to deal with escaping and other ugliness. I haven't used NixOps much so perhaps it'll be too painful to transition it, but if possible I'd like the user-data format to be clean.

  Note that it's still a WIP, so I'll obviously take out the useless `echo` calls and such before merging :smile: 

  cc @edolstra @shlevy @rbvermaa 


state: closed
title: Added piglit OpenGL test suite
user_login: auntieNeo
html_url: https://github.com/NixOS/nixpkgs/pull/7371
updated_at: 2016-03-14 20:15:35
body:
  I added piglit, which is just a test suite for Mesa's OpenGL/OpenCL functionality. There's no real "release" version of piglit, just a git repository.

  piglit uses waffle to do its cross platform OpenGL API initialization and window management.

  Ran all of the quick tests on my netbook with the following command:
  piglit run /nix/store/7k0xd1bdkwv5m2smf9hikbqg6s47amad-piglit-a04c0af968922b694221899d6da5f5a752a304f8/lib/piglit/tests/quick.py /tmp/piglit_results


state: closed
title: [nixos] agetty: Add autologinUser config option
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7372
updated_at: 2015-04-19 09:38:49
body:
  This option causes the specified user to be automatically logged in at
  the virtual console. Tested on x86_64 in virtualbox.

  It might be useful to set `autologinUser = "root"` for the installation CDs as well.


state: closed
title: DBIx::Class fails to build (breaks Hydra)
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/7376
updated_at: 2015-04-14 15:01:51
body:
  `perlPackages.DBIxClass` fails to build on `nixpkgs` master or latest unstable channel (see build log [1](http://pastebin.com/RAhmTwSP)). Simple package update yields another test error, which I have no idea how to fix. This breaks Hydra builds. @edolstra ? 


state: closed
title: Allow allowing local access to mysqld socket
user_login: cwoac
html_url: https://github.com/NixOS/nixpkgs/pull/7378
updated_at: 2015-06-10 08:38:08
body:
  Currently the only way for non root/mysql users to access mysqld is via ip. This patch enables access to the socket (if desired). Default is to deny.


state: closed
title: haskell-ng: Fails to link dynamic internal library for executable (nixos-unstable)
user_login: rzetterberg
html_url: https://github.com/NixOS/nixpkgs/issues/7379
updated_at: 2015-04-14 16:11:20
body:
  I have a project that defines a internal library and an executable in it's cabal file. The executable uses the internal library and has it specified in `build-depends`. I'm using the haskell-ng infrastructure to build the project on NixOS.

  When I try to run the executable it cannot find the internal library .so-file. All other `libHS` shared libraries are found, but not the internal one (`dynexecpoc` is the name of the project):

  ```
          linux-vdso.so.1 (0x00007ffff7ffa000)
          libHSdynexecpoc-0.1.0-ghc7.8.4.so => not found
          libHStext-1.2.0.4-ghc7.8.4.so => /nix/store/inhrgg83dwxyzc5mr414nlmf7hblf452-haskell-text-1.2.0.4/lib/ghc-7.8.4/text-1.2.0.4/libHStext-1.2.0.4-ghc7.8.4.so (0x00007ffff783c000)
          libHSbytestring-0.10.4.0-ghc7.8.4.so => /nix/store/iwybjhpmfk49r9yrcssan41v9pn1z8wl-ghc-7.8.4/lib/ghc-7.8.4/bytestring-0.10.4.0/libHSbytestring-0.10.4.0-ghc7.8.4.so (0x00007ffff755d000)
          libHSdeepseq-1.3.0.2-ghc7.8.4.so => /nix/store/iwybjhpmfk49r9yrcssan41v9pn1z8wl-ghc-7.8.4/lib/ghc-7.8.4/deepseq-1.3.0.2/libHSdeepseq-1.3.0.2-ghc7.8.4.so (0x00007ffff7355000)
          libHSarray-0.5.0.0-ghc7.8.4.so => /nix/store/iwybjhpmfk49r9yrcssan41v9pn1z8wl-ghc-7.8.4/lib/ghc-7.8.4/array-0.5.0.0/libHSarray-0.5.0.0-ghc7.8.4.so (0x00007ffff70bc000)
          libHSbase-4.7.0.2-ghc7.8.4.so => /nix/store/iwybjhpmfk49r9yrcssan41v9pn1z8wl-ghc-7.8.4/lib/ghc-7.8.4/base-4.7.0.2/libHSbase-4.7.0.2-ghc7.8.4.so (0x00007ffff6746000)
          libHSinteger-gmp-0.5.1.0-ghc7.8.4.so => /nix/store/iwybjhpmfk49r9yrcssan41v9pn1z8wl-ghc-7.8.4/lib/ghc-7.8.4/integer-gmp-0.5.1.0/libHSinteger-gmp-0.5.1.0-ghc7.8.4.so (0x00007ffff652b000)
          libHSghc-prim-0.3.1.0-ghc7.8.4.so => /nix/store/iwybjhpmfk49r9yrcssan41v9pn1z8wl-ghc-7.8.4/lib/ghc-7.8.4/ghc-prim-0.3.1.0/libHSghc-prim-0.3.1.0-ghc7.8.4.so (0x00007ffff62ae000)
          libHSrts_thr-ghc7.8.4.so => /nix/store/iwybjhpmfk49r9yrcssan41v9pn1z8wl-ghc-7.8.4/lib/ghc-7.8.4/rts-1.0/libHSrts_thr-ghc7.8.4.so (0x00007ffff603f000)
          libffi.so.6 => /nix/store/iwybjhpmfk49r9yrcssan41v9pn1z8wl-ghc-7.8.4/lib/ghc-7.8.4/rts-1.0/libffi.so.6 (0x00007ffff5e32000)
          libgmp.so.10 => /nix/store/hjyc8p1scd3wz17cc7139x0sfirr8hm6-gmp-5.1.3/lib/libgmp.so.10 (0x00007fff 

  ...
  ```

  I have created a minimalistic POC that displays this problem which can be found here: https://github.com/rzetterberg/dynexecpoc

  For convenience:

  ```
  git clone https://github.com/rzetterberg/dynexecpoc.git && \
      cd dynexecpoc && \
      nix-build release.nix
  ```

  This builds the project and tries to run the executable to show that the internal library can't be found. It should produce a similar error like this:

  ```
  /nix/store/cyxpx3jmch8pqs0dhyiwq5djigmfawwh-haskell-dynexecpoc-0.0.1/bin/dynexecpoc: error while loading shared libraries: libHSdynexecpoc-0.1.0-ghc7.8.4.so: cannot open shared object file: No such file or directory
  ```

  Forgot to add:

  ```
  $ nixos-version 
  15.05pre58357.a869c83 (Dingo)
  ```


state: closed
title: Fix buildPythonPackage overriding.
user_login: teh
html_url: https://github.com/NixOS/nixpkgs/pull/7381
updated_at: 2015-04-15 15:11:42
body:
  makeOverridable takes a function and an argument, the parenthesis
  caused there to be only one argument which works but cannot
  be overridden.


state: closed
title: oraclejdk8, buildpath for archive not recognized
user_login: theionum
html_url: https://github.com/NixOS/nixpkgs/issues/7382
updated_at: 2015-05-13 20:39:55
body:
  I want to use the following package:

  ```
    environment.systemPackages = with pkgs; [
      oraclejdk8
    ];

  ```

  Using just

  ```
  nixos-rebuild switch
  ```

  will yield the following error:

  ```
  [root@laptop:/]# nixos-rebuild switch
  building Nix...
  building the system configuration...
  these derivations will be built:
    /nix/store/62kwfp9gixsqaw66j1vqik4s89qskwkb-jdk-8u40-linux-x64.tar.gz.drv
    /nix/store/hkv5iv2n69b2m15hl1lq4dah6s4bakkb-oraclejdk-8u40.drv
    /nix/store/9cqqh4jfcraj40zs3hyw3gv76j9ffv87-system-path.drv
    /nix/store/9z7m3p71dmri6v8mwz9sdkkha9n3727f-system-crontab.drv
    /nix/store/gj5baymzqa8fs0c0gfai2l3w28x6aqyf-unit-script.drv
    /nix/store/7265v58pr44267glvy1kx7qjixkgk8gl-unit-cron.service.drv
    /nix/store/mkdvnw3z907zi2s250xxqbwv5qq56dyp-dbus-conf.drv
    /nix/store/il8kdnmjv17z44chkpn9fn4lb1jfbd7g-unit-polkit.service.drv
    /nix/store/yh14iccy5nfq06i5dqgyyd06i73a4rq9-system-units.drv
    /nix/store/95md0321g5dmn44hh9zki4j5xvakiv3m-etc.drv
    /nix/store/hc6ni58zss9hbnms65l3d7sd8qzfizif-nixos-15.05pre60707.4e51a46.drv
  these paths will be fetched (10.57 MiB download, 34.75 MiB unpacked):
    /nix/store/49d293g968wcqnx7vfr2hhsw85lbklgz-libwebp-0.4.3
    /nix/store/5kvxbzv69x8zfyyr6rpv67cm7hh9vnwn-x265-1.5
    /nix/store/b745r22kafq8336h93v9abi93fqm02xh-libav-0.8.17
    /nix/store/w0mcblf6aywbyx7rxzqz0wd610lnfdmb-ffmpeg-2.5.4
  fetching path ‘/nix/store/b745r22kafq8336h93v9abi93fqm02xh-libav-0.8.17’...
  fetching path ‘/nix/store/49d293g968wcqnx7vfr2hhsw85lbklgz-libwebp-0.4.3’...
  fetching path ‘/nix/store/5kvxbzv69x8zfyyr6rpv67cm7hh9vnwn-x265-1.5’...
  building path(s) ‘/nix/store/sif69y5fk3ach38f3yi8yqyn15vw69id-jdk-8u40-linux-x64.tar.gz’

  ***
  Unfortunately, we may not download file jdk-8u40-linux-x64.tar.gz automatically.
  Please, go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html, download it yourself, and add it to the Nix store
  using either
    nix-store --add-fixed sha256 jdk-8u40-linux-x64.tar.gz
  or
    nix-prefetch-url file://path/to/jdk-8u40-linux-x64.tar.gz

  ***

  builder for ‘/nix/store/62kwfp9gixsqaw66j1vqik4s89qskwkb-jdk-8u40-linux-x64.tar.gz.drv’ failed to produce output path ‘/nix/store/sif69y5fk3ach38f3yi8yqyn15vw69id-jdk-8u40-linux-x64.tar.gz’
  killing process 2547
  killing process 2549
  killing process 2548
  cannot build derivation ‘/nix/store/hkv5iv2n69b2m15hl1lq4dah6s4bakkb-oraclejdk-8u40.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/9cqqh4jfcraj40zs3hyw3gv76j9ffv87-system-path.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/hc6ni58zss9hbnms65l3d7sd8qzfizif-nixos-15.05pre60707.4e51a46.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/hc6ni58zss9hbnms65l3d7sd8qzfizif-nixos-15.05pre60707.4e51a46.drv’ failed
  ```

  So I went on the oracle site to download it. The sha256 fits:

  ```
  [root@laptop:/etc/nixos/store]# sha256sum jdk-8u40-linux-x64.tar.gz
  da1ad819ce7b7ec528264f831d88afaa5db34b7955e45422a7e380b1ead6b04d  jdk-8u40-linux-x64.tar.gz
  ```

  I used both methodes described:

  ```
  [root@laptop:/etc/nixos/store]# nix-store --add-fixed sha256 jdk-8u40-linux-x64.tar.gz 
  /nix/store/2q6cljnj4xhgshjihas8p9r1ksndvnmg-jdk-8u40-linux-x64.tar.gz

  nix-prefetch-url file:///etc/nixos/store/jdk-8u40-linux-x64.tar.gz 
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100  165M  100  165M    0     0  2806M      0 --:--:-- --:--:-- --:--:-- 2806M
  path is ‘/nix/store/2q6cljnj4xhgshjihas8p9r1ksndvnmg-jdk-8u40-linux-x64.tar.gz’
  0kdhsvmb3073lwi59r2mg55v6pdamy41v0sg4qlcazkvrqcxh6ns

  ```

  But when I try to rebuild it fails. Downloading it via wget throws the same error.

  ```
  [root@laptop:/etc/nixos/store]#  wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u40-b26/jdk-8u40-linux-x64.tar.gz
  ```

  I noticed that the path nix is looking for does not exist:

  ```
  building path(s) ‘/nix/store/sif69y5fk3ach38f3yi8yqyn15vw69id-jdk-8u40-linux-x64.tar.gz’
  ```

  should be:

  ```
  /nix/store/2q6cljnj4xhgshjihas8p9r1ksndvnmg-jdk-8u40-linux-x64.tar.gz
  ```

  So it is looking for wrong build paths, what can I do?

  More information:

  I am using the unstable channel and have a Lenovo y510p.


state: closed
title: ghc7101 configurations
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/pull/7383
updated_at: 2015-04-14 19:20:59
body:
  haskell-ng.packages.ghc7101.timezone-series: jailbreak
  haskell-ng.packages.ghc7101.timezone-olson: jailbreak
  haskell-ng.packages.ghc7101.libmpd: disable testing
  haskell-ng.packages.ghc7101.xmonad-extras: rename volume operator


state: closed
title: Add package for Screencloud 1.2.0
user_login: Forkk
html_url: https://github.com/NixOS/nixpkgs/pull/7385
updated_at: 2015-04-16 03:28:00
body:
  Added a package for Screencloud, a program for taking screenshots and
  uploading them to various websites.

  This package was a bit finicky due to some nonsense in the CMakeLists
  file, but it seems to work properly.

  The package also includes API keys for the screencloud.net website.
  According to the author of the Arch Linux User Repo package for
  screencloud, these keys are only used for usage tracking, so we should
  be fine including them in the package here.

  I've also added a package for Qxt, and fixed the QtMobility package.


state: closed
title: ihaskell doesn't build on current nixpkgs
user_login: karshan
html_url: https://github.com/NixOS/nixpkgs/issues/7386
updated_at: 2015-04-16 09:55:42
body:
  (tested on this tree: fe6ec3d13a1554458e647511fb364b65572b363a)

  It looks like the nix expressions for building ihaskell expect http://hackage.haskell.org/package/ihaskell-0.6.0.0.tar.gz to have profile.tar inside it, which it doesn't have.

  ```
  tar: ihaskell-0.6.0.0/profile/profile.tar: Not found in archive
  tar: Exiting with failure status due to previous errors
  builder for ‘/nix/store/8mdciyfi03ds7vwghpawzmbg61rkaayr-ihaskell-with-packages.drv’ failed with exit code 2
  ```

  Looking at the ihaskell github project, it looks like profile.tar is generated by Setup.hs, I haven't been able to follow how that should end up at http://hackage.haskell.org/package/ihaskell-0.6.0.0.tar.gz


state: closed
title: oraclejdk: bump to 8u45, 7u79, and 7u80
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/7388
updated_at: 2015-04-15 02:08:31
body:
  Security fixes and other bug fixes. This will be the last Oracle JDK 7 publicly available update.
  http://www.oracle.com/technetwork/java/javase/8u45-relnotes-2494160.html
  http://www.oracle.com/technetwork/java/javase/7u79-relnotes-2494161.html
  http://www.oracle.com/technetwork/java/javase/7u80-relnotes-2494162.html


state: closed
title: nixos: fix cjdns json config
user_login: ehmry
html_url: https://github.com/NixOS/nixpkgs/pull/7394
updated_at: 2015-04-25 13:41:51
body:
  Config submodules now seem to come out with a '_module' attr, so that needs to be removed before converting to the cjdns json config format.


state: closed
title: patch Qt to use XDG_CONFIG_DIRS in QSettings
user_login: ellis
html_url: https://github.com/NixOS/nixpkgs/pull/7395
updated_at: 2015-05-01 14:36:14
body:
  This is a little hack to let `QSettings` use the directories in `$XDG_CONFIG_DIRS`.  Currently, `QSettings` only checks `$XDG_CONFIG_HOME` and `/nix/store/*-qt-5*/etc/xdg`.  This is a problem, because it means that Qt software can't find system-wide configuration files.  As an example, it blocked me from adding lxqt expressions, because lxqt can't run without the system-wide configuration files.

  It's not a pretty hack, but it's minimal, so I'm quite confident that it doesn't introduce any bugs.  I'll try to submit a more elegant (but much larger) patch upstream, where I can get feedback from people who can evaluate for possible side-effects.


state: closed
title: update lastpass-cli to version 0.5.1
user_login: cheecheeo
html_url: https://github.com/NixOS/nixpkgs/pull/7396
updated_at: 2015-04-17 00:15:51
body:
  Before:

  ```
    % nix-env -f $HOME/packages/nixpkgs/ -iA lastpass-cli
    replacing old ‘lastpass-cli-0.5.1’
    installing ‘lastpass-cli-0.4.0’

    % lpass login cheecheeo@gmail.com
    Error: Peer certificate cannot be authenticated with given CA certificates.
  ```

  After:

  ```
    % nix-env -f $HOME/packages/nixpkgs/ -iA lastpass-cli
    replacing old ‘lastpass-cli-0.4.0’
    installing ‘lastpass-cli-0.5.1’

    % lpass login cheecheeo@gmail.com
    Success: Logged in as cheecheeo@gmail.com.
  ```

  upstream fix: https://github.com/lastpass/lastpass-cli/issues/88


state: closed
title: linuxsampler needs build-use-chroot to build
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/issues/7397
updated_at: 2016-04-03 04:05:56
body:
  When building linuxsampler on debian 7, without build-use-chroot, I get:

  nix-env -iA linuxsampler -f /home/bart/source/nixpkgs-goibhniu/ replacing old ‘linuxsampler-svn-2340’ installing ‘linuxsampler-svn-2340’ root@studio:/home/bart# nix-build --check /home/bart/source/nixpkgs-goibhniu -A linuxsampler checking path(s) ‘/nix/store/k62s5fg0si8zlinggidm9pijxdb48yh1-linuxsampler-svn-2340’ building /nix/store/1j3cidyjwmbxkjijy5jaffagkvb93r3k-linuxsampler-svn-2340 unpacking sources unpacking source archive /nix/store/40b49892i77k5lfz0sc0a5j3qjb8jf91-linuxsampler-r2340 source root is linuxsampler-r2340 patching sources applying patch /nix/store/42dbxlaw5vfbpcdglhx2hblmzsb0pllp-linuxsampler_lv2_sfz_fix.diff patching file src/hostplugins/lv2/PluginLv2.cpp Hunk #2 succeeded at 104 (offset -16 lines). Hunk #3 succeeded at 134 (offset -16 lines). configuring building configure .aclocal-wrapped: warning: autoconf input should be named 'configure.ac', not 'configure.in' libtoolize: putting auxiliary files in `.'. libtoolize: copying file`./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding`-I m4' to ACLOCAL_AMFLAGS in Makefile.am. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:1313: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see: configure.in:1313: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation configure.in:42: installing './config.guess' configure.in:42: installing './config.sub' configure.in:1313: installing './install-sh' configure.in:1313: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/Makefile.am: installing './depcomp' src/common/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/db/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/drivers/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/drivers/audio/Makefile.am:60: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/drivers/midi/Makefile.am:53: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/effects/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/engines/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/engines/common/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/engines/gig/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/engines/sf2/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/engines/sfz/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/hostplugins/au/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/hostplugins/dssi/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/hostplugins/lv2/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/hostplugins/vst/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/network/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/plugins/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') src/testcases/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '__CPPFLAGS') Searching for a parser generator...Error: You need yacc (or bison) to generate the LSCP parser ! scripts/generate_parser.sh: 18: exit: Illegal number: -1 make: *_\* [configure] Error 2 builder for ‘/nix/store/354g2kwnliz2jvq4ddcv3dyrbrzb0854-linuxsampler-svn-2340.drv’ failed with exit code 1 error: build of ‘/nix/store/354g2kwnliz2jvq4ddcv3dyrbrzb0854-linuxsampler-svn-2340.drv’ failed

  @falkTX got a similar error on KXStudio, also missing yacc or bison.

  On NixOS or with build-use-chroot, it builds fine.


state: closed
title: Okular doesn't open pdf files
user_login: RuiRojo
html_url: https://github.com/NixOS/nixpkgs/issues/7398
updated_at: 2015-04-16 16:10:51
body:
  PDF files show as blank. Evince opens them properly. This happens with kde4 and kde5.okular, even after running kbuildsycoca4 and kbuildsycoca5

  Some kde stuff I have installed:

  kde-runtime-14.12.2  
  kdelibs-4.14.5  
  kservice-5.7.0 
  oxygen-icons-14.12.2
  kde-baseapps-14.12.2
  kde4.kdenlive  kde4.k3b

  This is the output of "export": http://lpaste.net/130767

  @ttuegel 


state: closed
title: Split up nix-prefetch-scripts
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/7399
updated_at: 2015-12-04 13:02:14
body:
  It's frustrating to have to build all the version control systems (in master or another development branch without binary caches) when I just need to prefetch git :frowning: 


state: closed
title: plymouth not useable as a systempkg
user_login: konobi
html_url: https://github.com/NixOS/nixpkgs/issues/7400
updated_at: 2016-12-05 15:08:28
body:
  Currently installing plymouth will install libs and binaries, but the configuration and systemd files are not available in current-system.


state: closed
title: geoip: Install geolite database by default
user_login: bendlas
html_url: https://github.com/NixOS/nixpkgs/pull/7401
updated_at: 2015-05-10 20:38:05
body:
  This makes the geoiplookup command work without special parameters and
  it establishes a directory that is mentioned in the man page.
  (/nix/store/_geoip_/share/GeoIP/)

  @7c6f434c


state: closed
title: chromium: Update versions
user_login: bendlas
html_url: https://github.com/NixOS/nixpkgs/pull/7402
updated_at: 2015-07-21 14:18:34
body:
  dev: 43.0.2327.5 -> 43.0.2357.18
  beta: 42.0.2311.39 -> 42.0.2311.82
  stable: 41.0.2272.89 -> 42.0.2311.90

  cc @aszlig 


state: closed
title: grub2: Auto-detect other Linux and Windows installations?
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/issues/7406
updated_at: 2018-02-18 19:23:13
body:
  This is a commonly asked for feature in #nixos and I'd be interested in seeing this as well! I'm thinking of something similar to os-prober on Arch Linux.

  I'm just not sure where to begin implementing such a thing. Should I attempt to integrate os-prober? Is there some obvious solution I am missing? Any feedback would be appreciated!


state: closed
title: OpenJDK 7 out of date (probably vulnerable), references a vulnerable version of cups
user_login: falsifian
html_url: https://github.com/NixOS/nixpkgs/issues/7407
updated_at: 2016-07-28 01:23:21
body:
  master is at 7u65; JDK vulnerabilities are constantly being fixed (e.g. [CVE-2014-6658](https://security-tracker.debian.org/tracker/CVE-2014-6558)).

  Also, the expression includes the URL for the Cups 1.5.4 source, which itself might be a security issue.

  (Darwin version of this issue: https://github.com/NixOS/nixpkgs/issues/1617)


state: closed
title: CVE-2013-7439: some packages containing copied code might be vulnerable
user_login: falsifian
html_url: https://github.com/NixOS/nixpkgs/issues/7408
updated_at: 2016-03-05 18:17:41
body:
  [freedesktop bug](https://bugs.freedesktop.org/show_bug.cgi?id=56508)
  [oss-security e-mail](http://www.openwall.com/lists/oss-security/2015/04/08/4)

  The bug is in a C macro, so replaceDependencies magic won't work for direct dependencies.

  (I applied the mass-rebuild label. Let me know if it's intended only for pull requests.)


state: closed
title: mu: 0.9.11 -> 0.9.12
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/7413
updated_at: 2015-04-16 16:44:17
body:
  This release contains quite a few fixes & improvements. Works for me. Note that upstream didn't change the version string, so mu4e etc still report 0.9.11.

  @the-kenny @antono 


state: closed
title: Fix lambdabot and related packages
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/7414
updated_at: 2015-04-23 17:45:59
body:
  This adds NixOS lambdabot service, `mueval` and `lambdabot` derivations which allow specifying options and fixes `mueval` and `lambdabot`'s Nix-specific issues.

  Travis test.


state: closed
title: dropbox[-cli]: update to latest versions
user_login: bendlas
html_url: https://github.com/NixOS/nixpkgs/pull/7415
updated_at: 2015-05-10 20:38:05
body:
  dropbox: 3.2.9 - > 3.4.4
  dropbox-cli: 2.10.0 -> 2015.02.12

  These updates should also hit stable, since older versions of dropbox stop working.
  Shall I file a pull request against release-14.12?

  cc @the-kenny @ttuegel 


state: closed
title: Added Asterisk telephony server
user_login: auntieNeo
html_url: https://github.com/NixOS/nixpkgs/pull/7417
updated_at: 2015-04-17 15:47:39
body:
  I packaged the Asterisk telephony server. The derivation has a few hacks to the paths to make it behave better at runtime.

  A NixOS module is forthcoming; I just need to iron out the config options and documentation. If the pull takes more than a few days, I will probably just push the module to this same branch.

  The derivation itself works fine standalone without the module, given the runtime path hacks.


state: closed
title: Plex Media Server
user_login: Forkk
html_url: https://github.com/NixOS/nixpkgs/pull/7418
updated_at: 2015-06-09 03:03:25
body:
  Added a package and module for Plex Media Server, an application for managing media collections across multiple devices.

  This is a bit of a tricky application, as it stores some databases and other mutable files alongside some binaries and other immutable files in a directory under `/usr/lib/plexmediaserver/Resources`.

  My current solution to this problem is to rename the `Resources` folder to `base-resources` on install and replace the original `Resources` folder with a symlink to `/var/lib/plex/Resources`. Then, in the systemd service, I set the `ExecStartPre` command to copy the files from `base-resources` to `/var/lib/Resources` if the latter directory is not present. This fixes the issue and, thus, Plex works properly on NixOS.

  The potential issue here is that if, in the future, the some of the executables in the `Resources` directory need to be updated, we will have no suitable mechanism in place to do so. One option is to keep the immutable files in the Nix store and only keep the mutable ones in `/var/`, but unfortunately, I don't know of a very reliable way to determine which files are mutable and which aren't.

  I would greatly appreciate feedback on this issue, as I'm a bit new here and I feel like there could be something I am missing that might solve this problem. Thanks. :)


state: open
title: Nix-managed mutable state?
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/7420
updated_at: 2018-08-27 11:02:33
body:
  This might be a poor place to collect general ideas on the topic, but I'm going to try anyway:

  It seems like a fairly common pattern is to need a place to store mutable data. Perhaps you're spinning up a NixOS service that needs a state directory, or a user's home folder, or even `/var/log`. It seems like we could capture the "essence" of what characteristics each of those needs and make another hash-flavored name for it in a "mutable nix store", along with policies for how to initialize the state, back it up, upgrade it, etc.

  It makes me pretty sad right now to have my services need a random unmanaged location on disk to store things which have data that can be succinctly described as "only myservice.service needs read/write access, it can live on a noexec partition, and it should be initialized to be empty, and it can be recreated on the fly so there's no need to back it up". Of course, it would be in a separate location than the usual store because the current one can be safely assumed to be read-only.

  Has someone already thought about these sorts of questions? It feels like there's a lot of potential here. 


state: closed
title: Example in nixos-container docs is broken
user_login: anderspapitto
html_url: https://github.com/NixOS/nixpkgs/issues/7421
updated_at: 2016-04-03 04:11:37
body:
  In https://nixos.org/releases/nixos/14.12/nixos-14.12.374.61adf9e/manual/ch-containers.html, this example doesn't work (curl hangs).

  ```
  $ nixos-container update foo --config 'services.httpd.enable = true; \
    services.httpd.adminAddr = "foo@example.org";'

  $ curl http://$(nixos-container show-ip foo)/
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">…
  ```

  It can be fixed by adding `networking.firewall.enable = false;` inside the container config.


state: closed
title: Define Fay with Fay Packages
user_login: mschristiansen
html_url: https://github.com/NixOS/nixpkgs/issues/7422
updated_at: 2015-06-17 13:18:21
body:
  I've just started using Nixos and have an existing Yesod project using Fay and the Fay packages fay-base, fay-text, and fay-jquery.

  There are options to use the Fay compiler with commandline arguments `--fay-base` and `--include`, but this doesn't work well with auto compile infrastructure in Yesod.

  One solution would be to define a combined package similar to how hoogleLocal is defined. E.g.

  ```
  fayWithPackages = pkgs.haskellPackages.fay.override {
    packages = with pkgs.haskellngPackages; [
      fay-base, fay-text, fay-jquery
    ];
  };
  ```

  Could possibly even be defined as `nixpkgs/development/compilers/fay` to keep using cabal2nix for the Fay library.

  There might be other options that I'm not aware of. Help would be much appreciated. @peti @ocharles 


state: open
title: meta priority is ignored
user_login: berdario
html_url: https://github.com/NixOS/nixpkgs/issues/7425
updated_at: 2017-04-22 23:36:38
body:
  Hi, I tried modifying `scala/default.nix` in my nixpkgs clone to add

  `priority = "10";``

  inside the `meta` set (as [mentioned in the manual](https://nixos.org/nixpkgs/manual/#idm140737318982464)), to avoid conflict with `fsharp`'s `fsc`.

  But after reinstalling scala, in my `~/.nix-profile/manifest.nix` there's no priority value set.

  I also tried by overriding the package, with the following in my config.nix:

  ```
  scala = pkgs.stdenv.lib.overrideDerivation pkgs.scala (oldAttrs: {
    meta.priority = "10";
  });
  ```

  or

  ```
  scala = pkgs.stdenv.lib.overrideDerivation pkgs.scala (oldAttrs: {
    meta = {priority = "10";};
  });
  ```

  But this only gives me a `error: cannot coerce a set to a string`

  I can obviously workaround this by `nix-env --set-flag priority 10 scala` which will indeed correctly update my `~/.nix-profile/manifest.nix`, but this is less than ideal, since it's stateful and thus harder to automate

  Btw, `nix-env --help` says

  > If there are multiple derivations matching a name in args that have
  >            the same name (e.g., gcc-3.3.6 and gcc-4.1.1), then the derivation
  >            with the highest priority is used. A derivation can define a
  >            priority by declaring the meta.priority attribute. This attribute
  >            should be a number, with a higher value denoting a lower priority.
  >            The default priority is 0.

  But I suspect that the default might in fact not be 0:

  [this](https://github.com/berdario/dotfiles/commit/b86590e6f7f596b7c7bf9d1d9271a025b5573559#diff-3cd6f6e3b6e4c2ea1695765d4b707c63) is the change that I've done in my configuration deployment to handle this issue, and by setting `fsharp` priority at 1, I get its `fsc` installed instead of scala's... thus the latter default priority is surely lower (a bigger number) than 1


state: closed
title: kde5: keyboard layout control panel not enabled
user_login: joelmo
html_url: https://github.com/NixOS/nixpkgs/issues/7426
updated_at: 2015-05-20 13:13:51
body:
  I can't configure keyboard layouts in KDE keyboard control module. Is there some quick fix to add a layout until this can be enabled? @ttuegel 


state: closed
title: cargoSnapshot uses undefined 'have' command
user_login: RumataEstor
html_url: https://github.com/NixOS/nixpkgs/issues/7427
updated_at: 2016-01-04 00:11:35
body:
  A little after my recent upgrade of rust and accompanying tools i found an error to be emitted during user login process: 'have is not a command' or something similar. I found that command in the bash completion scripts in cargoSnapshot package.

  I'd be glad to resolve the issue myself but won't be able to do so for the next 3 weeks. The issue is not critical, so it can wait if nobody is eager to fix it. 


state: closed
title: Haskell package sdl2-ttf does not build
user_login: seppeljordan
html_url: https://github.com/NixOS/nixpkgs/issues/7429
updated_at: 2015-04-17 15:21:52
body:
  I use the new haskell-ng ecosystem and tried to install the sdl2-ttf library.  I defined a haskell "environment" in my `~/.nixpkgs/config.nix`

  ```
  {
    cabal.libraryProfiling = true;
    packageOverrides =
      { pkgs, ... }: rec
      { cabal2nix = pkgs.haskellngPackages.cabal2nix;
        haskellEnv = pkgs.haskellngPackages.ghcWithPackages
          (p: with p;
        [ reactive-banana
          sdl2
          ieee754
          random
          primitive
          tf-random
          QuickCheck
        ]
      );
      };
  }
  ```

  This works just fine.  When I include `sdl2-ttf` in the package list then building process fails when building `sdl2-ttf`.  Downloading the package from upstream and building it manually with cabal works just fine (after pointing cabal to my profiles include and lib directory).

  Here is the error message:

  ```
  Building sdl2-ttf-0.2.0...
  Preprocessing library sdl2-ttf-0.2.0...
  [1 of 3] Compiling Graphics.UI.SDL.TTF.FFI ( dist/build/Graphics/UI/SDL/TTF/FFI.hs, dist/build/Graphics/UI/SDL/TTF/FFI.o )
  [2 of 3] Compiling Graphics.UI.SDL.TTF.Types ( dist/build/Graphics/UI/SDL/TTF/Types.hs, dist/build/Graphics/UI/SDL/TTF/Types.o )
  [3 of 3] Compiling Graphics.UI.SDL.TTF ( dist/build/Graphics/UI/SDL/TTF.hs, dist/build/Graphics/UI/SDL/TTF.o )

  cbits/rendering.c:1:23:
       fatal error: rendering.h: No such file or directory
       #include "rendering.h"
                             ^
  compilation terminated.
  builder for ‘/nix/store/ld1iy4zp0kz3aw9zz3bdq7mjf591z199-haskell-sdl2-ttf-0.2.0.drv’ failed with exit code 1
  cannot build derivation ‘/nix/store/8k315b4av3848cq1mx40l2lfdp2pzd7g-ghc-7.8.4.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/8k315b4av3848cq1mx40l2lfdp2pzd7g-ghc-7.8.4.drv’ failed
  ```


state: closed
title: Preview: Emacs enhancements
user_login: ttuegel
html_url: https://github.com/NixOS/nixpkgs/pull/7431
updated_at: 2015-04-22 17:13:56
body:
  This is a preview for the community of some changes to Emacs packaging I have been preparing. I have been using this for some time already and I hope there is still enough time to get it into NixOS 15.05. There are two large changes:
  1. Packages are generated automatically by downloading metadata from ELPA, Marmalade, MELPA, and org-mode ELPA.
  2. A wrapper is provided so that the expression `emacsWithPackages [ pkgA pkgB ... ]` provides an Emacs which knows about the specified packages.

  I look forward to your feedback!
  ## Package Generation

  **TL;DR**: Automatically-updated expressions for 1822 Emacs packages.

  The package metadata can be downloaded from any `package.el`-compatible server. An unholy mixture of Elisp and Haskell converts the S-expression downloaded from the server to JSON; along the way, all the packages are downloaded and hashed. This JSON is loaded into a Nix expression using `builtins.fromJSON` and a set of packages is born! Two package sets are provided, `emacs-packages` includes packages from ELPA, Marmalade, and stable MELPA, while `emacs-packages-unstable` adds packages from unstable MELPA and org-mode ELPA.

  Features:
  - The package updater is _fast_. Downloading and hashing all the sources listed above, 1822 packages total, takes <10 minutes on my 7-year-old laptop over Wi-Fi. (The updater is a separate package and will be available shortly.)
  - Package metadata is updated incrementally, i.e. only new packages are downloaded and hashed. Incremental updates take 30-50 seconds.
  - The package expressions are built by the lovely `melpaBuild`.
  ## Emacs Wrapper

  The Emacs wrapper defines environments for Emacs without having packages installed in the user or system profiles. File collisions between packages and Emacs is a major cause of breakage. (I'm looking at you, org-mode!) Now, I just have this in my `environment.systemPackages`:

  ```
      (emacsWithPackages (with emacs-packages-unstable; [
        auctex company company-ghc diminish
        evil evil-leader flycheck git-auto-commit-mode
        git-timemachine haskell-mode helm magit
        markdown-mode monokai-theme
        org-plus-contrib rainbow-delimiters
        undo-tree use-package
      ]))
  ```

  and everything Just Works!

  The wrapper works by creating a custom `site-start.el` file which adds the packages to `load-path` and wrapping Emacs so the custom start-up file is found first. Adding packages to the load path this way comes at the price of start-up time: my load times increased about 5% (0.15 seconds) due to this change. Of course, all my packages actually _work_ now, so that's a big bonus. Of course, it is still possible to use an un-wrapped Emacs, which will read packages from the user and system profiles as before.


state: closed
title: Port hoogleLocal to haskell-ng
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/7432
updated_at: 2015-06-17 13:08:52
body:
  Ditto. This should probably be done before dropping old Haskell infrastructure completely. Also affects e.g. `lambdabot` and other packages which use Hoogle.
  cc @peti . Probably I'll look at it myself at some point, but unfortunately I don't know much about Hoogle and I couldn't understand what current wrapper does from quick reading.


state: closed
title: plex: add support for managing plugins via Nix
user_login: Forkk
html_url: https://github.com/NixOS/nixpkgs/pull/7434
updated_at: 2015-05-11 11:48:31
body:
  Added support for managing Plex Media Server plugins via Nix. This is done via an "extraPlugins" configuration option which takes a list of paths to plugin bundles, which are then symlinked into Plex's plugin directory when the service is started.


state: closed
title: Atari800: no more ROM install
user_login: AndersonTorres
html_url: https://github.com/NixOS/nixpkgs/pull/7437
updated_at: 2015-04-21 01:39:44
body:
  Now, the expression will not install ROM files anymore. It is easier the
  final user install them locally by himself, in a local directory.


state: closed
title: Update rustc-beta package to 1.0.0-beta2
user_login: Havvy
html_url: https://github.com/NixOS/nixpkgs/issues/7438
updated_at: 2015-04-22 12:25:56
body:
  I would do this myself, but I don't know if I need to change the snapshots.

  http://www.rust-lang.org/install.html


state: closed
title: xrandrHeads "RightOf" option generation doesn't seem to work properly.
user_login: AlexSKaye
html_url: https://github.com/NixOS/nixpkgs/issues/7441
updated_at: 2015-04-18 17:35:54
body:
  I just started using NixOS yesterday, and was overjoyed to see such a simple configuration for multiple monitors. Unfortunately the following configuration gives me the first two monitors fine, however the rightmost monitor is a clone of the middle one.

  `services.xserver.xrandrHeads = [
      "DisplayPort-0" "DVI-0" "DVI-1"
    ];`

  `xrandr -q` output:

  `Screen 0: minimum 320 x 200, current 3520 x 1200, maximum 8192 x 8192
  DisplayPort-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 307mm
     1600x1200     60.00*+
  HDMI-0 disconnected (normal left inverted right x axis y axis)
  DVI-0 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 1150mm x 650mm
     1360x768      60.02 +
     1920x1080     60.00*   50.00    59.94    30.00    25.00    24.00    29.97    23.98  
     1920x1080i    60.00    50.00    59.94  
     1280x720      60.96    60.00    50.00    59.94  
     1440x576i     50.00  
     1024x768      60.00  
     800x600       60.32  
     720x576       50.00  
     720x480       60.00    59.94  
     640x480       60.00    59.94    59.94  
     720x400       70.08  
  DVI-1 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 307mm
     1600x1200     60.00*+`

  I went hunting for the xorg.conf that gets generated, and I think it's probably the one pasted below, although I don't know how to find which one is the latest configuration, so I'm not 100% sure. As you can see, both the center and right monitors are listed as "RightOf" the left one.

  `Section "Monitor"
    Identifier "multihead1"

  EndSection
  Section "Monitor"
    Identifier "multihead2"
    Option "RightOf" "multihead1"

  EndSection
  Section "Monitor"
    Identifier "multihead3"
    Option "RightOf" "multihead1"

  EndSection`

  Setting manually with `xrandr --output DVI-1 --right-of DVI-0` works fine.

  Edit: Not sure what's going on with markdown here. xrandr output has newlines in editor.


state: closed
title: Fix hruby by adding ruby_2_1 dependency
user_login: PierreR
html_url: https://github.com/NixOS/nixpkgs/pull/7442
updated_at: 2015-04-20 20:12:05
body:
  This works locally with the current default ghc (still 7.8.4)

  I had to disable testing as it cannot find the [test ruby file](https://github.com/bartavelle/hruby/blob/master/test/test.rb)

  PS: I haven't figured out how to enable the package back into the hydra system as it is currently disabled.


state: closed
title: Find a better pattern for using Nixpkgs config
user_login: ehmry
html_url: https://github.com/NixOS/nixpkgs/issues/7446
updated_at: 2016-03-06 10:42:27
body:
  I think the config argument to nixpkgs is underutilized, and where it is in use, its kind of messy, so I'd like to see some documention for consistent use and more customibility in packages.

  Starting with the MPD package, here is how its done and two ways I think it could be improved
  #### How its done now
  ##### all-packages.nix

  ``` nix
  {
    mpd = callPackage ../servers/mpd {
      aacSupport    = config.mpd.aacSupport or true;
      ffmpegSupport = config.mpd.ffmpegSupport or true;
    };
  }
  ```
  ##### mpd/default.nix

  ``` nix
  { stdenv, fetchurl, pkgconfig, glib, systemd, boost
  , alsaSupport ? true, alsaLib
  , flacSupport ? true, flac
  , vorbisSupport ? true, libvorbis
  , madSupport ? true, libmad
  , id3tagSupport ? true, libid3tag
  , mikmodSupport ? true, libmikmod
  , shoutSupport ? true, libshout
  , sqliteSupport ? true, sqlite
  , curlSupport ? true, curl
  , audiofileSupport ? true, audiofile
  , bzip2Support ? true, bzip2
  , ffmpegSupport ? true, ffmpeg
  , fluidsynthSupport ? true, fluidsynth
  , zipSupport ? true, zziplib
  , samplerateSupport ? true, libsamplerate
  , mmsSupport ? true, libmms
  , mpg123Support ? true, mpg123
  , aacSupport ? true, faad2
  , pulseaudioSupport ? true, pulseaudio
  , jackSupport ? true, jack2
  , gmeSupport ? true, game-music-emu
  , icuSupport ? true, icu
  }:
  ```
  #### How defaults could be set in all-packages
  ##### all-packages.nix

  ``` nix
  {
      findOpts = pkgName: opts: with builtins;
      let
        pkgConfig =
          if hasAttr pkgName config
          then getAttr pkgName config
          else { };
      in
      listToAttrs (map
        (name:
          { inherit name;
            value =
              if hasAttr name pkgConfig
              then getAttr name pkgConfig
              else getAttr name opts;
          }
        ) (attrNames opts));

    mpd = callPackage ../servers/mpd (findOpts "mpd" {
      aacSupport        = true;
      alsaSupport       = true;
      bzip2Support      = true;
      audiofileSupport  = true;
      clientSupport     = false; # Act as a proxy to another MPD instance.
      curlSupport       = true;
      ffmpegSupport     = true;
      fluidsynthSupport = true;
      flacSupport       = true;
      gmeSupport        = true;
      icuSupport        = true;
      id3tagSupport     = true;
      jackSupport       = config.jack or false;
      madSupport        = true;
      mikmodSupport     = true;
      mmsSupport        = true;
      mpg123Support     = true;
      opusSupport       = true;
      pulseaudioSupport = config.pulseaudio or true;
      samplerateSupport = true;
      shoutSupport      = true;
      sqliteSupport     = true;
      vorbisSupport     = true;
      zipSupport        = true;
    });
  }
  ```
  ##### mpd/default.nix

  ``` nix
  { stdenv, fetchurl, pkgconfig, glib, systemd, boost
  , alsaSupport, alsaLib
  , flacSupport, flac
  , vorbisSupport, libvorbis
  , madSupport, libmad
  , id3tagSupport, libid3tag
  , mikmodSupport, libmikmod
  , shoutSupport, libshout
  , sqliteSupport, sqlite
  , curlSupport, curl
  , audiofileSupport, audiofile
  , bzip2Support, bzip2
  , ffmpegSupport, ffmpeg
  , fluidsynthSupport, fluidsynth
  , zipSupport, zziplib
  , samplerateSupport, libsamplerate
  , mmsSupport, libmms
  , mpg123Support, mpg123
  , aacSupport, faad2
  , pulseaudioSupport, pulseaudio
  , jackSupport, jack2
  , gmeSupport, game-music-emu
  , icuSupport, icu
  , clientSupport, mpd_clientlib
  , opusSupport, libopus
  }:
  ```
  ### If defaults were expressed in the package function
  ##### all-packages.nix

  ``` nix
  {
    config' = config // {
      findOpts = pkgName: opts: with builtins;
      let
        pkgConfig =
          if hasAttr pkgName config
          then getAttr pkgName config
          else { };
      in
      listToAttrs (map
        (name:
          { inherit name;
            value =
              if hasAttr name pkgConfig
              then getAttr name pkgConfig
              else getAttr name opts;
          }
        ) (attrNames opts));
    };

    mpd = callPackage ../servers/mpd { };
  }
  ```
  ##### mpd/default.nix

  ``` nix
  { stdenv, config'
  , fetchurl, pkgconfig, glib, systemd, boost
  , alsaLib
  , flac
  , libvorbis
  , libmad
  , libid3tag
  , libmikmod
  , libshout
  , sqlite
  , curl
  , audiofile
  , bzip2
  , ffmpeg
  , fluidsynth
  , zziplib
  , libsamplerate
  , libmms
  , mpg123
  , faad2
  , pulseaudio
  , jack2
  , game-music-emu
  , icu
  }:

  let
    opts = config'.findOpts "mpd" {
      aacSupport        = true;
      alsaSupport       = true;
      bzip2Support      = true;
      audiofileSupport  = true;
      clientSupport     = false; # Act as a proxy to another MPD instance.
      curlSupport       = true;
      ffmpegSupport     = true;
      fluidsynthSupport = true;
      flacSupport       = true;
      gmeSupport        = true;
      icuSupport        = true;
      id3tagSupport     = true;
      jackSupport       = config'.jack or false;
      madSupport        = true;
      mikmodSupport     = true;
      mmsSupport        = true;
      mpg123Support     = true;
      opusSupport       = true;
      pulseaudioSupport = config'.pulseaudio or true;
      samplerateSupport = true;
      shoutSupport      = true;
      sqliteSupport     = true;
      vorbisSupport     = true;
      zipSupport        = true;
    };

  in with opts; stdenv.mkDerivation rec {
  ...
  }
  ```

  Anyone have other patterns that would work better?


state: closed
title: Bump SFML to version 2.2.
user_login: Balletie
html_url: https://github.com/NixOS/nixpkgs/pull/7451
updated_at: 2015-04-19 20:49:21
body:
  The version of SFML was really old, so I bumped it up to 2.2.

  I kept the old "sfml_git" target for compatibility because it's used by some other derivations aswell. I changed the default to 2.2, however.


state: open
title: Document Postgresql upgrade
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/7454
updated_at: 2017-11-21 18:29:30
body:
  1. set `services.postgresql.package` to newer version
  2. change `services.postgresql.dataDir` to different directory as `/var/db/postgresql/9.4/`
  3. run `pg_upgrade -b /nix/store/5b319y5k0p270a0mq16s6gl7jq5kgmjx-postgresql-9.2.9/bin -B /nix/store/47i5wmdyqjjxc6cj6g6mhsrg0ywzynl6-postgresql-9.4beta3/bin -d /var/db/postgresql/ -D /var/db/postgresql/9.4` under postgresql user

  Output I get:

  ```
  Performing Consistency Checks
  -----------------------------
  Checking cluster versions                                   ok

  connection to database failed: FATAL:  role "postgres" does not exist
  ```


state: closed
title: Apps built with Qt 5.3 can locate Qt 5.4 files from QML2_IMPORT_PATH and fail to start
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/issues/7457
updated_at: 2015-04-24 23:43:41
body:
  Launching `cool-retro-term` on my machine produces this error:

  ```
  QQmlApplicationEngine failed to load component
  qrc:/main.qml:21 a component declaration requires two or three arguments, but 1 were provided
  ```

  I discovered that unsetting `QML2_IMPORT_PATH` provided by the standard NixOS environment causes the app to start correctly. The problematic directory in `QML2_IMPORT_PATH` seems to be `/run/current-system/sw/lib/qt5/qml`:

  ```
  [tmtynkky@nixvm:~]$ ls -la /run/current-system/sw/lib/qt5/qml
  total 56
  dr-xr-xr-x 2 root nixbld 4096 Jan  1  1970 .
  dr-xr-xr-x 4 root nixbld 4096 Jan  1  1970 ..
  lrwxrwxrwx 1 root nixbld   71 Jan  1  1970 org -> /nix/store/gc59rgcl882vv5p3jpz9188pnha3vf7l-solid-5.7.0/lib/qt5/qml/org
  lrwxrwxrwx 1 root nixbld   78 Jan  1  1970 Qt -> /nix/store/9xkk61fnkg3rz8z6fabdls7zzznlzvr3-qtdeclarative-5.4.0/lib/qt5/qml/Qt
  lrwxrwxrwx 1 root nixbld   99 Jan  1  1970 QtGraphicalEffects -> /nix/store/f9z1z7knvdjcv22cnzsrbqbq6wzsjiag-qtgraphicaleffects-5.4.0/lib/qt5/qml/QtGraphicalEffects
  lrwxrwxrwx 1 root nixbld   83 Jan  1  1970 QtLocation -> /nix/store/iv3drl40s3hd70l7fpw1nqrn3fksqab1-qtlocation-5.4.0/lib/qt5/qml/QtLocation
  lrwxrwxrwx 1 root nixbld   87 Jan  1  1970 QtMultimedia -> /nix/store/qx20dqwhydvncxc0xh8hzf7j1an6zryn-qtmultimedia-5.4.0/lib/qt5/qml/QtMultimedia
  lrwxrwxrwx 1 root nixbld   86 Jan  1  1970 QtPositioning -> /nix/store/iv3drl40s3hd70l7fpw1nqrn3fksqab1-qtlocation-5.4.0/lib/qt5/qml/QtPositioning
  lrwxrwxrwx 1 root nixbld   81 Jan  1  1970 QtQml -> /nix/store/9xkk61fnkg3rz8z6fabdls7zzznlzvr3-qtdeclarative-5.4.0/lib/qt5/qml/QtQml
  lrwxrwxrwx 1 root nixbld   83 Jan  1  1970 QtQuick -> /nix/store/9xkk61fnkg3rz8z6fabdls7zzznlzvr3-qtdeclarative-5.4.0/lib/qt5/qml/QtQuick
  lrwxrwxrwx 1 root nixbld   85 Jan  1  1970 QtQuick.2 -> /nix/store/9xkk61fnkg3rz8z6fabdls7zzznlzvr3-qtdeclarative-5.4.0/lib/qt5/qml/QtQuick.2
  lrwxrwxrwx 1 root nixbld   81 Jan  1  1970 QtSensors -> /nix/store/4fydd31wappvwjj12yvraxi7mkpha09c-qtsensors-5.4.0/lib/qt5/qml/QtSensors
  lrwxrwxrwx 1 root nixbld   82 Jan  1  1970 QtTest -> /nix/store/9xkk61fnkg3rz8z6fabdls7zzznlzvr3-qtdeclarative-5.4.0/lib/qt5/qml/QtTest
  lrwxrwxrwx 1 root nixbld   79 Jan  1  1970 QtWebKit -> /nix/store/pw4lcxdrysy9b7rz3w4yk19gmah7a3dl-qtwebkit-5.4.0/lib/qt5/qml/QtWebKit
  ```

  Those are all Qt 5.4 components, wheras `cool-retro-term` itself links against Qt 5.3:

  ```
  [tmtynkky@nixvm:~]$ ldd /nix/store/0a3d8by27lp7761sa4nbgsw20mmm3g0d-cool-retro-term-1.0.0/bin/.cool-retro-term-wrapped  | grep -i qt
          libQt5Quick.so.5 => /nix/store/ygkk31wps56pvayzlj904h34lpdjng81-qt-5.3.2/lib/libQt5Quick.so.5 (0xb73a7000)
          libQt5Qml.so.5 => /nix/store/ygkk31wps56pvayzlj904h34lpdjng81-qt-5.3.2/lib/libQt5Qml.so.5 (0xb6fcc000)
          libQt5Widgets.so.5 => /nix/store/ygkk31wps56pvayzlj904h34lpdjng81-qt-5.3.2/lib/libQt5Widgets.so.5 (0xb69db000)
          libQt5Sql.so.5 => /nix/store/ygkk31wps56pvayzlj904h34lpdjng81-qt-5.3.2/lib/libQt5Sql.so.5 (0xb699d000)
          libQt5Network.so.5 => /nix/store/ygkk31wps56pvayzlj904h34lpdjng81-qt-5.3.2/lib/libQt5Network.so.5 (0xb684c000)
          libQt5Gui.so.5 => /nix/store/ygkk31wps56pvayzlj904h34lpdjng81-qt-5.3.2/lib/libQt5Gui.so.5 (0xb633b000)
          libQt5Core.so.5 => /nix/store/ygkk31wps56pvayzlj904h34lpdjng81-qt-5.3.2/lib/libQt5Core.so.5 (0xb5e1d000)
  ```

  So it looks like `cool-retro-term` is failing due to loading Qt 5.4 libraries from QML2_IMPORT_PATH when it itself is linked against Qt 5.3


state: closed
title: ddclient: Fix capitalization of systemd unit keys
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7461
updated_at: 2015-06-24 02:08:54
body:
  This avoids the following warning:

  ```
  Apr 19 10:53:48 xen systemd[1]: [/nix/store/...-unit-ddclient.service/ddclient.service:19] Unknown lvalue 'type' in section 'Service'
  ```

  As `Type=simple` is the default in systemd, this shouldn't have any
  functional changes.


state: closed
title: cuetools: 1.3.1 -> 2014-11-30
user_login: codyopel
html_url: https://github.com/NixOS/nixpkgs/pull/7462
updated_at: 2015-05-06 22:19:56
body:
  - Uses latest git master for an automake fix that isn't in the tagged `1.4.0' release
  - Fix autoreconf
  - Add support for cuetag.sh

  An automake fix was commited right after 1.4.0 was tagged and that was over a year ago, so I used the latest commit which only changes automake and cuetag.sh.  I opened an issue so whenever a new release is tagged we can stop using the git revision.
  https://github.com/svend/cuetools/issues/23


state: closed
title: xrandrHeads could use an option to designate primary monitor
user_login: AlexSKaye
html_url: https://github.com/NixOS/nixpkgs/issues/7463
updated_at: 2017-07-23 18:00:27
body:
  In my case I use xmobar, which appears on whichever monitor is designated as the primary. I'm sure there are other applications which make use of this option.

  I can set it with e.g. `xrandr --output DVI-0 --primary`, however this change doesn't persist across boots, so since xrandrHeads generates xorg.conf monitor sections anyway, throwing in `"Option" "Primary" "true"` for a designated monitor would be a big help.


state: closed
title: Disable sdl2-ttf tests in haskellng packages
user_login: seppeljordan
html_url: https://github.com/NixOS/nixpkgs/pull/7464
updated_at: 2015-04-19 16:36:31
body:
  The testsuite of the sdl2-ttf requires user input to finish, thats why
  it should be disabled until a version which fixed this problem is
  available on hackage.


state: closed
title: Replace obsolete Haskell code with Haskell NG
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/pull/7465
updated_at: 2015-05-07 09:14:29
body:
  This commit removed the old Haskell infrastructure in lieu of the next generation code. See https://github.com/NixOS/nixpkgs/issues/4941 for an overview of existing NG documentation. The posting http://lists.science.uu.nl/pipermail/nix-dev/2015-January/015591.html, in particular, contains helpful instructions on how to migrate.

  Test builds will run at http://hydra.nixos.org/jobset/nixpkgs/pr-7465.


state: closed
title: Add Package: rtv
user_login: matthiasbeyer
html_url: https://github.com/NixOS/nixpkgs/pull/7466
updated_at: 2015-11-10 09:28:11
body:
  rtv is a reddit terminal viewer build in Python.

  Suggestions for improving the package definition are highly apprechiated!


state: open
title: A mechanism to run containers on different "channels" from their hosts
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/7467
updated_at: 2018-06-24 00:38:58
body:
  In [the container documentation](http://nixos.org/nixos/manual/ch-containers.html#sec-declarative-containers), we say:

  > The declarative approach implies that containers get upgraded along with your host system when you run nixos-rebuild, which is often not what you want. By contrast, in the imperative approach, containers are configured and updated independently from the host system.

  It seems like we could reduce the pain around the "often not what you want" part by allowing the container spec to state what environment nixpkgs it wants to run against. I don't know the best mechanism for how to specify that, but it I could imagine saying that I want to point one container against nixos-unstable while its host runs on nixos-14.12, or vice-versa.


state: closed
title: Bump SFML to version 2.2, and update MARS game
user_login: Balletie
html_url: https://github.com/NixOS/nixpkgs/pull/7468
updated_at: 2015-04-20 16:18:27
body:
  The version of SFML was really old, so I bumped it up to 2.2.

  I kept the old "sfml_git" target for compatibility because it's used by some other derivations aswell. I changed the default.nix to 2.2, however.

  (This is a retry after a fail on my part in #7451)


state: closed
title: heimdal: cannot find pthreads
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/issues/7470
updated_at: 2015-06-06 07:26:57
body:
  When building chromium through nixos-rebuild off of the latest nixpkgs master:

  ```
  /tmp/nix-build-heimdal-1.5.3.drv-0/heimdal-1.5.3/base/.libs/libheimbase.so: undefined reference to `pthread_getspecific'
  /tmp/nix-build-heimdal-1.5.3.drv-0/heimdal-1.5.3/base/.libs/libheimbase.so: undefined reference to `pthread_key_create'
  /tmp/nix-build-heimdal-1.5.3.drv-0/heimdal-1.5.3/base/.libs/libheimbase.so: undefined reference to `pthread_setspecific'
  ```

  Not sure what changed, I don't see any recent updates to heimdal or pthreads, but I may have missed something.


state: closed
title: Missing XTest headers needed for package build
user_login: AlexSKaye
html_url: https://github.com/NixOS/nixpkgs/issues/7475
updated_at: 2015-04-20 17:32:30
body:
  I've been packaging up various g15tools/g15daemon packages for my keyboard LCD. It's been fairly smooth sailing thus far (great tools!), but I've come across a missing X extension header needed to build the last one.

  > checking X11/extensions/XTest.h usability... no
  > checking X11/extensions/XTest.h presence... no
  > checking for X11/extensions/XTest.h... no
  > configure: error: "Xorg XTEST Extension devel headers could not be found. please install the devel package

  I added `x11` in buildInputs, but I couldn't find XTest anywhere in the packages search. I only started using NixOS on Saturday, so apologies if I'm missing something obvious.


state: closed
title: Evaluating networkd fails
user_login: devhell
html_url: https://github.com/NixOS/nixpkgs/issues/7476
updated_at: 2015-04-20 09:41:13
body:
  Since f8dbe5f376978947067283c6d03087d7948c50de it seems that `networkd` will not evaluate. I get the following error:

  ```
  hydra-eval-jobs returned exit code 1:
  error: undefined variable ‘makeUnit’ at /nix/store/mxy6pcscj972yfm1ndi6k43i2qriy8j1-git-export/nixos/modules/system/boot/networkd.nix:618:31
  (use ‘--show-trace’ to show detailed location information)
  ```

  Thanks!


state: closed
title: ddclient: Force line buffering on stdout
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7480
updated_at: 2015-06-24 02:08:55
body:
  Status messages of ddclient go to stdout, which is block buffered by
  default, so most of its output won't appear in the journal until it is
  exiting:

  ```
  -- Reboot --
  Apr 19 11:31:04 xen systemd[1]: Starting Dynamic DNS Client...
  Apr 19 11:31:04 xen systemd[1]: Started Dynamic DNS Client.
  Apr 19 11:31:53 xen systemd[1]: Stopping Dynamic DNS Client...
  Apr 19 11:31:53 xen ddclient[530]: === opt ====
  Apr 19 11:31:53 xen ddclient[530]: opt{cache}                           : <undefined>
  Apr 19 11:31:53 xen ddclient[530]: opt{cmd}                             : <undefined>
  ...
  ```

  Fix this by adding a patch to set line buffering on stdout.


state: closed
title: mysql-5.1.x: add net-tools dependency
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/pull/7481
updated_at: 2015-04-26 12:51:15
body:
  # problem

  i see this error:

  ```
  hostname: command not found
  ```

  a lot.

  here is a log from mysql:

  ```
  Apr 15 16:12:28 nixcloud.io mysql-post-start[435]: MySQL daemon not yet started. Waiting for 1 second...
  Apr 15 16:12:28 nixcloud.io mysqld[434]: /nix/store/7f9y837g7hckiiv7b280l1kd0j53ymr1-mysql-5.1.73/bin/mysqld: line 381: hostname: command not found
  Apr 15 16:12:28 nixcloud.io mysqld[434]: 150415 16:12:28 mysqld_safe Logging to '/var/mysql/.err'.
  Apr 15 16:12:28 nixcloud.io mysqld[434]: 150415 16:12:28 mysqld_safe Starting mysqld daemon with databases from /var/mysql
  Apr 15 16:12:29 nixcloud.io systemd[1]: Started MySQL Server.
  Apr 15 16:13:49 nixcloud.io systemd[1]: Stopping MySQL Server...
  Apr 15 16:13:49 nixcloud.io mysqld[434]: 150415 16:13:49 mysqld_safe mysqld from pid file /run/mysqld/mysqld.pid ended
  Apr 15 16:13:49 nixcloud.io systemd[1]: Starting MySQL Server...
  Apr 15 16:13:49 nixcloud.io mysql-post-start[971]: MySQL daemon not yet started. Waiting for 1 second...
  Apr 15 16:13:49 nixcloud.io mysqld[970]: /nix/store/7f9y837g7hckiiv7b280l1kd0j53ymr1-mysql-5.1.73/bin/mysqld: line 381: hostname: command not found
  Apr 15 16:13:49 nixcloud.io mysqld[970]: 150415 16:13:49 mysqld_safe Logging to '/var/mysql/.err'.
  Apr 15 16:13:49 nixcloud.io mysqld[970]: 150415 16:13:49 mysqld_safe Starting mysqld daemon with databases from /var/mysql
  Apr 15 16:13:50 nixcloud.io systemd[1]: Started MySQL Server.
  Apr 15 16:17:04 nixcloud.io systemd[1]: Stopping MySQL Server...
  Apr 15 16:17:05 nixcloud.io systemd[1]: Stopped MySQL Server.
  ```

  furthermore it would save errors for `hostname` into **/var/mysql/.err'** instead of **/var/mysql/myhostname.err'**.
  # fix

  le'ts add net-tools to the dependencies to fix this.


state: closed
title: /run/mysqld now 0755 (instead 0700)
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/pull/7482
updated_at: 2015-05-06 23:55:00
body:
  # prolog

  marc weber added a 0700 default permission on the mysql socket and i don't know his motivations. maybe using 0755 as a default is not a good idea security wise? maybe i should put the wwwrun user also into the mysql group?

  please think/discuss before hitting 'merge'.
  # issue

  not 100% sure why it worked previosly and why the more recent system fails but it might have something to do with my recent IPv6 adaption.

  if i use 'localhost' as for mysql server host, instead of '127.0.0.1' inside the php scripts, for instance in mediawiki, the mysql database won't be usable:

  ```
  (Can't contact the database server: Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (13 "Permission denied") (localhost))
  ```

  mysql is available via ipv4 localhost and not via ipv6 at all:

  ```
  netstat -tulpen | grep mysql
  tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      84         21759      1935/mysqld 
  ```

  ls -la /run/ | grep mysqld
  drwx------  2 mysql root     80 Apr 20 14:26 mysqld
  ## ubuntu 14.04 default

  ```
  $ ls -la /run/ | grep mysql
  drwxr-xr-x  2 mysql      root         80 Mar 27 23:53 mysqld

  $ ls -la /run/mysqld/
  total 4
  drwxr-xr-x  2 mysql root   80 Mar 27 23:53 .
  drwxr-xr-x 29 root  root  900 Apr 20 14:40 ..
  -rw-rw----  1 mysql mysql   5 Mar 27 23:53 mysqld.pid
  srwxrwxrwx  1 mysql mysql   0 Mar 27 23:53 mysqld.sock
  ```
  # fix

  when i issue:

  ```
  chmod 0755 /run/mysqld/
  ```

  then the webapp in question starts to work immediately afterwards.


state: closed
title: Document about packageOverrides (re issue #4505)
user_login: seppeljordan
html_url: https://github.com/NixOS/nixpkgs/pull/7484
updated_at: 2015-04-24 11:13:03
body:
  I also untabified the file and cleaned whitespaces.  Contact me if the PR does not satisfy the contribution guidlines, i'd be happy to know and implement apropriate changes.


state: closed
title: mkIf is broken, modules get unexpected arguments
user_login: oxij
html_url: https://github.com/NixOS/nixpkgs/issues/7488
updated_at: 2015-04-29 21:05:53
body:
  05e8a48fb4af4c20134362c77ba6c5b4c6e49268 broke `mkIf` for me. Correct me if I happen to use it wrong. I have something like the following in my `configuration.nix`

  ```
    packageOverrides = mkIf (!graphical) (pkgs: {
      # allow some
      xorg = { inherit (pkgs.xorg)
        imake
        mkfontscale mkfontdir bdftopcf
        fontbhttf fontbh100dpi
        fontbhlucidatypewriter75dpi fontbhlucidatypewriter100dpi
        fontcursormisc fontmiscmisc;
      };

      # disallow the rest
      xlibsWrapper = {};
      gtk2 = null;
      gtk3 = null;
      qt3 = null;
      qt4 = null;
      qt48 = null;
      qt5 = null;
      qt54 = null;
    });
  ```

  and after that patch the `mkIf` breaks with

  ```
  error: while evaluating the attribute ‘config.system.build.toplevel’ at ...
  .....
  attribute ‘_module.args.pkgs’ missing, at "nixpkgs/lib/modules.nix":138:17
  ```

  That patch also introduced `_module` thingies to all the submodules, which is an unexpected development.

  /cc @nbp


state: open
title: passwd doesn't set the password in the installer.
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/issues/7489
updated_at: 2017-05-01 05:50:58
body:
  If you type two different passwords in the installer, you are told so, but if you then manually run passwd, it claims to update the password but doesn't.

  I've been  bitten by this a few times now: the screensaver kicked in during an install and I wasn't sure whether I typed enter or space, so I typed something else the second time, assuming I could rerun passwd...

  Not a problem if you know (rerunning the installer fixes it), but a pita if you don't.


state: closed
title: Update language-puppet to 1.1.1 from hackage
user_login: PierreR
html_url: https://github.com/NixOS/nixpkgs/pull/7490
updated_at: 2015-04-29 19:09:53
body:
  This should fix `language-puppet` (which depends on hruby). I have managed to build it in a `nix-shell` with [this default.nix file](https://github.com/bartavelle/language-puppet/blob/master/default.nix) using the default ghc-7.10.x.

  As a note the `puppetresources` package can be completely deleted (I know it is disabled anyway); it is deprecated and superseded by this package.

  A little question : is there a tool that actually updates this automatically from hackage ?

  Could you activate `language-puppet` in `cabal2nix` ?


state: closed
title: pcp: new package
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/7492
updated_at: 2016-02-26 01:40:39
body:
  ```
  Performance Co-Pilot (PCP) provides a range of services that may be used
  to monitor and manage system performance. These services are distributed
  and scalable to accommodate the most complex system configurations and
  performance problems.
  ```

  Don't merge just yet; I'm going to try to get the non-default PMDAs working.


state: closed
title: Add hal-flash package
user_login: malyn
html_url: https://github.com/NixOS/nixpkgs/pull/7493
updated_at: 2015-04-25 17:05:32
body:
  I have a change to enable this in firefoxWrapper and will send a PR for that after this one is on master.


state: closed
title: varnishlog does not work
user_login: ctheune
html_url: https://github.com/NixOS/nixpkgs/issues/7495
updated_at: 2016-08-04 13:25:24
body:
  varnishd itself works fine and stores its runtime data in /var/spool/varnish.

  However, the utilities like varnishlog does not do that by default:

  ```
  [root@nixbox32:~]# varnishlog 
  Cannot open /nix/store/5h5pxdx1rvimbpranvkq025f3my6d9x8-varnish-3.0.6/var/varnish/nixbox32/_.vsm: No such file or directory

  [root@nixbox32:~]# varnishlog  -n /var/spool/varnish
      0 CLI          - Rd ping
      0 CLI          - Wr 200 19 PONG 1429627344 1.0
  ```


state: closed
title: firefox-bin: update to version 37.0.2
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/7496
updated_at: 2015-04-23 19:41:43
body:
  - Various security fixes
  - Google Maps may render incorrectly in some cases
  - Stability fixes for select graphics hardware and feature sets


state: closed
title: 'nix-env -qP' returns numbers instead of package attr names
user_login: robinbb
html_url: https://github.com/NixOS/nixpkgs/issues/7497
updated_at: 2015-04-24 05:36:17
body:
  ``` shell
  $ nix-env -qP
  8   bash-4.3-p33
  17  cabal-install-1.22.0.0
  20  cabal2nix-1.73
  24  cacert-20140715
  9   coreutils-8.23
  11  curl-7.40.0
  27  darcs-2.8.5
  22  dash-0.5.8
  ...
  ```


state: closed
title: Don't try to build BNFC-meta documentation.
user_login: woehr
html_url: https://github.com/NixOS/nixpkgs/pull/7499
updated_at: 2015-04-21 20:05:47
body:
  Don't build BNFC-meta documentation since it fails.

  I've reported this to the package maintainer because there does not appear to be a public repository for BNFC-meta.


state: closed
title: Fix hash of eclipse_sdk_442_hash 32bit
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/pull/7500
updated_at: 2018-01-25 14:31:29
body:
  I tried to install https://github.com/NixOS/nixpkgs/pull/6648 on 14.12 32 bit, and got a hash error on the .tar.gz.  Full error: https://github.com/NixOS/nixpkgs/pull/6648#issuecomment-94870477
  The odd thing is that neither of the hashes from the error are in the original .nix.

  This PR builds and runs here.

  I also don't understand how the hash of this PR can be of a different length, without a compiler error.


state: closed
title: Add support for Rust / Cargo packaging
user_login: wizeman
html_url: https://github.com/NixOS/nixpkgs/pull/7501
updated_at: 2015-06-04 15:37:11
body:
  As I mentioned in a comment in #4568, I continued working on Rust packaging starting from where @madjar left off.

  This took me a lot longer and it was a lot harder and hackier than I thought. It's not in a completely finished and polished state, but at least it seems to work now. It allows Nix to build cargo'ed Rust programs with a minimum of fuss, including `cargo` itself, and it should work in a deterministic way.

  Note that the `fetch-cargo-deps` script is probably not very robust yet with respect to git checkouts.
  Specifically, I have not tested building a Rust program that has a git dependency whose repository has submodules (I would be surprised if this worked without some additional fixes). If anyone has an example of such a program, please let me know and I will fix the script.

  As @madjar had mentioned, it would be nice to add a `nix-prefetch-cargo` script and documentation, but even in this state I think it would already be useful to anyone who wants to build Rust programs.

  A big thanks to @madjar for his initial work!


state: closed
title: Hydra package, NixOS service, and NixOS VM test?
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/7504
updated_at: 2016-06-01 20:58:35
body:
  I was tempted to make a package and/or NixOS service for it but it almost seems so obvious that now I'm wondering why it isn't already in nixpkgs. I know that the hydra repository contains a [NixOS service definition](https://github.com/NixOS/hydra/blob/master/hydra-module.nix) and a [nix build file](https://github.com/NixOS/hydra/blob/master/release.nix) but is there a reason there's no established way to access them from here?


state: closed
title: networkd not obtaining DHCP
user_login: devhell
html_url: https://github.com/NixOS/nixpkgs/issues/7505
updated_at: 2015-04-30 04:49:51
body:
  I guess we still have a problem with `networkd`. I had a chance to check out the last change to it, and as it turns out it won't obtain an IP address. The unit itself is running, but that's it. Rolling back to before 56f66dad97758a049f8f05e734cf41d936f7b476 and f8dbe5f376978947067283c6d03087d7948c50de works.

  Thanks!


state: closed
title: Added compton-git, the Git version of compton.
user_login: ertesx
html_url: https://github.com/NixOS/nixpkgs/pull/7507
updated_at: 2015-04-23 20:55:07
body:
  The Git version of compton provides a lot more features and it usually takes a very long time until they end up in a release.


state: closed
title: Fix haskellng packages using ghc 7.6.3.
user_login: jraygauthier
html_url: https://github.com/NixOS/nixpkgs/pull/7510
updated_at: 2015-04-24 01:31:40
body:
  Again an issue with xhtml that was missing in
  compiler specific configuration.

  Actually mirrors what's done with 784.


state: closed
title: Rustc 1.0.0 beta2
user_login: Havvy
html_url: https://github.com/NixOS/nixpkgs/pull/7511
updated_at: 2015-04-22 12:25:26
body:
  This took not one, not two, but three successful builds to make sure it was working.

  The first build worked, but because it was missing the proper flag, it was built as a nightly for the source instead of as a beta. This means that `#[feature(...)]` worked without error even though it shouldn't. Technically this affects the old revision too, but since it hasn't gone downstream to 'nixpkgs' or the 'unstable' channel, that shouldn't matter to much.

  Then I added the configureFlags change and given my skill level with Nix, it is miraculous this worked the first time without problems. So, why did the build fail? It's because my VM ran out of disk space.

  So, the third time, I ran nix-garbage-collect and then built again. It succeeded, and I sent in this PR.

  Now, non-fatal, but I did see this a lot:

  ```
  not an ELF executable
  /nix/store/ns8vicm74rl50klsjjjy08mslwx2ffzs-rustc-1.0.0-beta.2/share/doc/rust/html/book/lifetimes.html
  not an ELF executable
  /nix/store/ns8vicm74rl50klsjjjy08mslwx2ffzs-rustc-1.0.0-beta.2/share/doc/rust/html/book/if-let.html
  not an ELF executable
  /nix/store/ns8vicm74rl50klsjjjy08mslwx2ffzs-rustc-1.0.0-beta.2/share/doc/rust/html/book/ufcs.html
  not an ELF executable
  /nix/store/ns8vicm74rl50klsjjjy08mslwx2ffzs-rustc-1.0.0-beta.2/share/doc/rust/html/book/crates-and-modules.html
  not an ELF executable
  /nix/store/ns8vicm74rl50klsjjjy08mslwx2ffzs-rustc-1.0.0-beta.2/share/doc/rust/html/book/ffi.html
  not an ELF executable
  /nix/store/ns8vicm74rl50klsjjjy08mslwx2ffzs-rustc-1.0.0-beta.2/share/doc/rust/html/FiraSans-Medium.woff
  not an ELF executable
  ```

  Can somebody who knows more about building code look into perhaps making this not happen? If I need to, I can open a new issue for it.


state: closed
title: Make buildLocalCabal available in haskell-ng
user_login: phunehehe
html_url: https://github.com/NixOS/nixpkgs/issues/7512
updated_at: 2015-04-22 16:15:09
body:
  My apologies if it's already there and I failed to find it. I use `pkgs.haskellPackages.buildLocalCabal` to build a local package. It has been working fine until now, I want to use `timeit`, which is only available in haskell-ng. Is it possible to add `buildLocalCabal` to `pkgs.haskellngPackages`? Or is there an alternative?


state: closed
title: Mysql socket being 700 directory prevents non root local connections
user_login: monocell
html_url: https://github.com/NixOS/nixpkgs/issues/7513
updated_at: 2015-04-22 11:00:44
body:
  Any chance we could change the permissions of `/run/mysqld` to 711? This would allow non root users to make local connections to mysql.


state: closed
title: IOSpec: remove patch
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/7514
updated_at: 2015-04-23 17:45:26
body:
  Maintainer notified me of the new version. @peti , please pull this with the next Hackage regeneration. Thanks!


state: closed
title: androidEnv.platformTools: add /bin
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/7515
updated_at: 2015-04-26 20:19:24
body:
  This allows one who just needs `adb` and `fastboot` (frequent need for those who flash their phones) to skip pulling the whole SDK. cc @svanderburg @MP2E (git blame)


state: closed
title: Package Olive
user_login: vandenoever
html_url: https://github.com/NixOS/nixpkgs/issues/7517
updated_at: 2016-02-17 14:28:35
body:
  Olive is a technology that streams a VM state on demand to a Linux client. Starting a VM from a server is very fast this way. The code is C and Python.

  https://olivearchive.org/software/


state: closed
title: pkgs.phpPackages.apc installation failed
user_login: katyo
html_url: https://github.com/NixOS/nixpkgs/issues/7518
updated_at: 2015-05-02 21:22:52
body:
  Can't download apc-3.1.13.tgz

  Trying to download http://pecl.php.net/get/apc-3.1.13.tgz, but actually url is a http://pecl.php.net/get/APC-3.1.13.tgz (APC in upper case).


state: closed
title: trace-cmd: Fix build by adding docbook_xsl dependency
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7519
updated_at: 2015-06-24 02:08:54
body:
  Gets rid of this build error:

  ```
  make -C /tmp/nix-build-trace-cmd-2.5.3.drv-0/trace-cmd/Documentation all
        ASCIIDOC            trace-cmd-hist.1.xsl
  *********************************
  ** No docbook.xsl is installed **
  ** Can't make man pages        **
  *********************************
  Makefile:59: recipe for target '/tmp/nix-build-trace-cmd-2.5.3.drv-0/trace-cmd/Documentation/trace-cmd-hist.1' failed
  ```


state: closed
title: vimPlugins: added vim-jinja
user_login: hbunke
html_url: https://github.com/NixOS/nixpkgs/pull/7520
updated_at: 2015-04-23 16:02:48
body:
  very small contribution to vimplugins. please take a closer look since this is my very first commit to nixpkgs ;-). thanks.


state: closed
title: wait for filesystem before starting btsync; bump to new package version
user_login: cwoac
html_url: https://github.com/NixOS/nixpkgs/pull/7523
updated_at: 2015-04-27 06:42:22
body:
  If btsync starts before it's home dir is mounted, it will generate a new system ID and forget everything.

  Also bump the version of btsync2 in use to the latest version (including the new change to canonical urls)


state: closed
title: stdenv: Errors in hooks (such as postUnpack) get ignored
user_login: wizeman
html_url: https://github.com/NixOS/nixpkgs/issues/7524
updated_at: 2015-06-11 19:04:00
body:
  It seems that errors in stdenv hooks are being ignored.

  For example, if I add this to `pkgs/tools/networking/socat/default.nix`:

  ```
    postUnpack = '' 
      false
      true
    '';
  ```

  Then when I run `nix-build '<nixpkgs>' -A pkgs.socat`, it will succeed even though it should fail, because a subcommand failed (the `false` subcommand).

  I'm not completely sure about the following, but as far as I can see, the problem is that `pkgs/stdenv/generic/setup.sh` has this code:

  ``` bash
   15 runHook() {                                                                                          
   16     local hookName="$1"                                                                              
   17     shift                                                                                            
   18     local var="$hookName"                                                                            
   19     if [[ "$hookName" =~ Hook$ ]]; then var+=s; else var+=Hooks; fi                                  
   20     eval "local -a dummy=(\"\${$var[@]}\")"                                                          
   21     for hook in "_callImplicitHook 0 $hookName" "${dummy[@]}"; do                                    
   22         if ! _eval "$hook" "$@"; then return 1; fi                                                   
   23     done                                                                                             
   24     return 0                                                                                         
   25 }                                                                                                    
  ```

  In line 22, we are evaluating the hook in the context of an `if` condition.

  According to [this comment](http://unix.stackexchange.com/a/65564), POSIX specifies that `set -e` gets ignored if we're running inside an `if` condition. And it seems that there is nothing that we can do to get `set -e` to be obeyed when running inside that context, not even starting a subshell...


state: closed
title: patch Qt 5.4.1 to use XDG_CONFIG_DIRS in QSettings
user_login: ellis
html_url: https://github.com/NixOS/nixpkgs/pull/7525
updated_at: 2016-09-28 06:37:50
body:
  This is a little hack to let QSettings use the directories in $XDG_CONFIG_DIRS. Currently, QSettings only checks $XDG_CONFIG_HOME and /nix/store/_-qt-5_/etc/xdg. This is a problem, because it means that Qt software can't find system-wide configuration files. As an example, it blocked me from adding lxqt expressions, because lxqt can't run without the system-wide configuration files.

  It's not a pretty hack, but it's minimal, so I'm quite confident that it doesn't introduce any bugs. I'll try to submit a more elegant (but much larger) patch upstream, where I can get feedback from people who can evaluate for possible side-effects.

  (This originally came from a different pull request based off of master, but my git-foo was too weak to properly switch that patch to the 'staging' branch, as request by @ttuegel)


state: closed
title: git-annex cannot build with the latest haskellNG + 7.10
user_login: jwiegley
html_url: https://github.com/NixOS/nixpkgs/issues/7527
updated_at: 2015-04-23 19:51:43
body:
  @peti With the latest master (465a8c6), and on Darwin (though I don't see any Darwin-specific issues), `git-annex` is unable to build due to failures in the following dependencies:

  ```
  haskell-gnutls-0.1.5.drv
  haskell-gsasl-0.3.5.drv
  haskell-network-protocol-xmpp-0.4.6.drv
  haskell-edit-distance-0.2.1.2.drv
  haskell-feed-0.3.9.2.drv
  haskell-DAV-1.0.3.drv
  haskell-bencode-0.5.0.1.drv
  haskell-torrent-10000.0.0.drv
  ```

  My build log is here: https://gist.github.com/jwiegley/1062e9e550fceb5a1d19

  In general, `git-annex` is an excellent litmus test, because it pulls in so many other packages.


state: closed
title: Cabal derivations with `editedCabalFile` field are broken by new hackage metadata revisions
user_login: jraygauthier
html_url: https://github.com/NixOS/nixpkgs/issues/7532
updated_at: 2015-04-24 12:12:42
body:
  ## The problem

  Here's my compiler output:

  ```
  setupCompileFlags: -package-db=/tmp/nix-build-haskell-intervals-0.7.1.drv-0/package.conf.d -j1
  [1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-haskell-prelude-extras-0.4.drv-0/Main.o )
  [1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-haskell-parallel-3.2.0.6.drv-0/Main.o )
  Linking Setup ...
  Linking Setup ...
  [1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-haskell-intervals-0.7.1.drv-0/Main.o )

  trying http://hackage.haskell.org/package/lens-4.7/lens.cabal
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100 14484    0 14484    0     0  75285      0 --:--:-- --:--:-- --:--:-- 97864
  output path ‘/nix/store/jajagqi8sq7rgz2qdlijkgln0mvzc1y6-lens.cabal’ should have sha256 hash ‘0xaprn01zc22h6lgipdifb0r5s7dkc3rpffhrmpj4j6kkixx74d9’, instead has ‘1cbw7p9daamg5c8y98lwgi25dqxxkgj1jgd2m8h81p2lq743dx5v’
  building path(s) ‘/nix/store/rmbi6iadjz398lva4ic7hv7vdwbf71is-gtk2hs-buildtools-0.13.0.3’
  cannot build derivation ‘/nix/store/swbs9vxibspsbaic2nkxxg3rfmjiv39k-haskell-lens-4.7.drv’: 1 dependencies couldn't be built
  building path(s) ‘/nix/store/gcji0idq19pc2jp76lgfnjxrdfyqk2n7-profunctors-4.4.1.tar.gz’
  building path(s) ‘/nix/store/6v97xx2pgv7h0rj905hgp58havhgilmw-reflection-1.5.1.2.tar.gz’
  building path(s) ‘/nix/store/3r3r60cgybrhphcfnqfiv2f9lcm4q9ca-semigroupoids-4.3.tar.gz’
  cannot build derivation ‘/nix/store/fsdcmcbgvsq7adb0x9jw6iwg2v6s0pni-ghc-7.8.4.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/wcv6y6sn6ghv8pz1y25pfxd7abg19n38-haskell-diagrams-builder-0.6.0.3.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/6wkq86x8wm2zv26zdqkb6rjwhk35s70b-diagrams-builder.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/ni48c7va6kwj37gz7dcbzr6aibm0jj1f-myEnv.drv’: 1 dependencies couldn't be built
  ```

  Note the mention: `trying http://hackage.haskell.org/package/lens-4.7/lens.cabal`
  which according to the output resulted in SHA: `1cbw7p9daamg5c8y98lwgi25dqxxkgj1jgd2m8h81p2lq743dx5v`

  but should have given:
  ‘0xaprn01zc22h6lgipdifb0r5s7dkc3rpffhrmpj4j6kkixx74d9’
  ## Some supplementary analysis results

  Here we see that the actual value has been properly calculated:

  ```
  > $ nix-prefetch-url http://hackage.haskell.org/package/lens-4.7/lens.cabal
  ...
  1cbw7p9daamg5c8y98lwgi25dqxxkgj1jgd2m8h81p2lq743dx5v
  ```

  And that it maps to the fifth metadata revision:

  ```
  > $ nix-prefetch-url http://hackage.haskell.org/package/lens-4.7/revision/5.cabal;
  ...
  1cbw7p9daamg5c8y98lwgi25dqxxkgj1jgd2m8h81p2lq743dx5v
  ```

  Which you can explore here: http://hackage.haskell.org/package/lens-4.7/revisions/.

  Now, performing some supplementary queries, we can see that the
  expected SHA maps to the first metadata revision.

  ```
  > $ nix-prefetch-url http://hackage.haskell.org/package/lens-4.7/revision/1.cabal;
  ...
  0xaprn01zc22h6lgipdifb0r5s7dkc3rpffhrmpj4j6kkixx74d9
  ```

  Here's the package expressions:

  ```
    "lens" = callPackage
      ({ mkDerivation, array, base, bifunctors, bytestring, comonad
       , containers, contravariant, deepseq, directory, distributive
       , doctest, exceptions, filepath, free, generic-deriving, ghc-prim
       , hashable, hlint, HUnit, mtl, nats, parallel, primitive
       , profunctors, QuickCheck, reflection, semigroupoids, semigroups
       , simple-reflect, split, tagged, template-haskell, test-framework
       , test-framework-hunit, test-framework-quickcheck2
       , test-framework-th, text, transformers, transformers-compat
       , unordered-containers, vector, void
       }:
       mkDerivation {
         pname = "lens";
         version = "4.7";
         sha256 = "1z2ydc90m0cq76yamdaws4677lpi476f9z25xrz8r7y5kxh2aq4s";
         editedCabalFile = "a991d37b9cd348226fcdd0b99b079bede892c172b1ddf8a88142b01f80cd5775";
         buildDepends = [
           array base bifunctors bytestring comonad containers contravariant
           distributive exceptions filepath free ghc-prim hashable mtl
           parallel primitive profunctors reflection semigroupoids semigroups
           split tagged template-haskell text transformers transformers-compat
           unordered-containers vector void
         ];
         testDepends = [
           base bytestring containers deepseq directory doctest filepath
           generic-deriving hlint HUnit mtl nats parallel QuickCheck
           semigroups simple-reflect split test-framework test-framework-hunit
           test-framework-quickcheck2 test-framework-th text transformers
           unordered-containers vector
         ];
         homepage = "http://github.com/ekmett/lens/";
         description = "Lenses, Folds and Traversals";
         license = stdenv.lib.licenses.bsd3;
       }) {};
  ```

  Whose `editedCabal` file I can match with:

  ```
  > $ curl http://hackage.haskell.org/package/lens-4.7/revision/1.cabal | sha256sum
  ...
  a991d37b9cd348226fcdd0b99b079bede892c172b1ddf8a88142b01f80cd5775
  ```
  ## My understanding

  I had a cabal nix expression that I could build at some point in time, but now
  some time later (such as this case), the package maintainer decides to
  update the package's metadata for some reason. Now, I cannot build
  my nix expression.

  I seem to me that it defeats the purpose of nix / having repeatable
  builds.

  It seem reasonable to think that we should use the full url to the
  specific cabal file revision at the point of generating the expression
  (e.g.: http://hackage.haskell.org/package/lens-4.7/revision/1.cabal)
  instead of the url to the current revision of the file 
  (e.g.: http://hackage.haskell.org/package/lens-4.7/lens.cabal).

  That would imply adding a revision field alongside or within `editedCabalFile`
  field.

  Now I understand that retrieving the revision would have to be automated
  if not already as part of _hackage2nix_.
  ## Meanwhile

  Is there any quick fix in the meantime so that I can get my build running
  again?
  ### Update

  As a quick fix suggested in [5920#issuecomment-71218347](https://github.com/NixOS/nixpkgs/issues/5920#issuecomment-71218347), I used the following command to
  find a new value for the `editedCabalFile`:

  ```
  curl http://hackage.haskell.org/package/lens-4.7/revision/5.cabal | sha256sum
  ...
  bbf436c8c154dc8020aaa23d19e49bbde356447c9ca2e4112baf2ad5d23d7cb1
  ```


state: closed
title: Unable to disable gnome-keyring
user_login: svend
html_url: https://github.com/NixOS/nixpkgs/issues/7533
updated_at: 2016-07-24 11:36:57
body:
  I've set `services.gnome3.gnome-keyring.enable = false` in my configuration.nix, but gnome-keyring is still starting.

  ```
  $ echo $SSH_AUTH_SOCK
  /run/user/1000/keyring/ssh
  $ ps aux | grep keyring
  svend      944  0.0  0.0 228932  5972 ?        Sl   Apr21   0:00 /nix/store/z74h2j5zrcf9b8xlwxjd7avg206dlggx-gnome-keyring-3.12.2/bin/.gnome-keyring-daemon-wrapped --daemonize
  svend     2182  0.0  0.0 228932  6096 ?        Sl   Apr21   0:00 /nix/store/z74h2j5zrcf9b8xlwxjd7avg206dlggx-gnome-keyring-3.12.2/bin/.gnome-keyring-daemon-wrapped --daemonize
  svend     3491  0.0  0.0 523884  6612 ?        SLl  Apr21   0:00 /nix/store/z74h2j5zrcf9b8xlwxjd7avg206dlggx-gnome-keyring-3.12.2/bin/.gnome-keyring-daemon-wrapped --daemonize
  svend    10078  0.0  0.0 112724  2180 pts/2    S+   21:53   0:00 grep keyring
  ```


state: closed
title: Add jython
user_login: berdario
html_url: https://github.com/NixOS/nixpkgs/pull/7534
updated_at: 2015-04-27 10:14:59
body:
  jython 2.7-rc3 has been released a couple days ago

  This works, but I haven't been able to get virtualenv running with it, but it should be compatible.
  Maybe the builtin support for pip/setuptools requires the normal installation and not the standalone jar, in that case this package would need to be improved.


state: closed
title: ghcjs: update revision
user_login: j-keck
html_url: https://github.com/NixOS/nixpkgs/pull/7536
updated_at: 2015-04-24 12:47:35
body:
  - ghcjs in nixpkgs depends on lens < 4.9
  - current lens in nixpkgs is 4.9.1 (updated per cb01f210 to 4.9, bfe4b073 to 4.9.1)
  - actual upstream ghcjs depends on lens < 4.10 (ghcjs/ghcjs@64c3768186d)
  - hydra triggers the same exception: http://hydra.nixos.org/build/21569258/log/raw


state: closed
title: x265: 1.5 -> 1.6
user_login: codyopel
html_url: https://github.com/NixOS/nixpkgs/pull/7537
updated_at: 2015-05-06 22:19:54
body:
  - Removed unused x265-hg package
  - Fix missing optionals
  - Fix high bit-depth to allow for all 64bit platforms


state: closed
title: bedrock: fix install phase
user_login: vbgl
html_url: https://github.com/NixOS/nixpkgs/pull/7538
updated_at: 2015-04-24 16:24:11
body:
  When using the current master version, I get the following error message:

  ``` coq
  Coq < Require Import Bedrock.
  Error: The file /nix/store/.../lib/coq/8.4/user-contrib/Bedrock/src/Bedrock.vo contains library
  Bedrock.Bedrock and not library Bedrock.src.Bedrock
  ```

  This patch removes the extra `src` directory so that the library path matches the file path.

  cc @jwiegley  maintainer


state: closed
title: coq_8_5: New expression
user_login: jwiegley
html_url: https://github.com/NixOS/nixpkgs/pull/7539
updated_at: 2015-04-27 03:33:03
body:
  This is a pull request because right now, the `ssreflect` build fails with:

  ```
  coqmktop -coqlib `coqtop -where` -o bin/ssrcoq.byte src/ssrmatching.cmo src/ssreflect.cmo
  File "/private/var/folders/4j/br7bdhjx4b384_snb2087gt00000gn/T/nix-build-coq-ssreflect-1.5-8.5b2.drv-0/coqmain34d478.ml", line 1:
  Error: Cannot find file threads.cma
  Makefile.coq:262: recipe for target 'bin/ssrcoq.byte' failed
  ```

  I've been unable to determine if this is a problem with how Coq 8.5 is being built, or if it's an incompatibility on Darwin of some kind.  Requesting help from others who know OCaml better...


state: closed
title: Elm 0.15.
user_login: krisajenkins
html_url: https://github.com/NixOS/nixpkgs/pull/7540
updated_at: 2015-05-07 13:46:29
body:
  elm-get and elm-server were deprecated, and the CLI tool elm
  was rolled into elm-package, so those recipes are deleted.


state: closed
title: It's impossible to override expressions that have "meta.broken = true" set.
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/issues/7541
updated_at: 2018-01-19 16:23:57
body:
  I have the following in my `~/.nixpkgs/config.nix`:

  ```
    haskellngPackages_7101 = with self.haskell-ng.lib; self.haskell-ng.packages.ghc7101.override {
      overrides = self: super: {
        ghc-mod = overrideCabal super.ghc-mod (drv: {
          broken = false;
          src = pkgs.fetchFromGitHub {
            owner = "DanielG";
            repo = "ghc-mod";
            rev = "247e4e0e7616fe1fecc68fdcf80d6249ac4cee4f";
            sha256 = "02i6z0navp5a73nk9k46rh01hl5r10s6gzq1c6fmcrdrzjq6nwv4";
          };
          buildDepends = drv.buildDepends ++ [ self.cabal-helper self.cereal ];
        });
      };
    };
  ```

  And yet, despite setting `broken = false;`, I still get the following error:

  ```
  error: Package ‘haskell-ghc-mod-5.2.1.2’ in ‘/home/cstrahan/src/nixpkgs/pkgs/development/haskell-modules/hackage-packages.nix:51580’ is marked as broken, refusing to evaluate.
  For `nixos-rebuild` you can set
    { nixpkgs.config.allowBroken = true; }
  in configuration.nix to override this.
  For `nix-env` you can add
    { allowBroken = true; }
  to ~/.nixpkgs/config.nix.

  (use ‘--show-trace’ to show detailed location information)
  ```

  I'm positive that my overrides are taking place, and that this isn't user error.


state: closed
title: Configure NTP server via DHCP
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/issues/7542
updated_at: 2016-12-16 23:00:45
body:
  It is generally possible to receive NTP servers through DHCP ([RFC 2132](http://www.networksorcery.com/enp/rfc/rfc2132.txt)). Other distros like Debian already support such a automatic NTP configuration. I think it would be great if NixOS does it well.

  On Debian based systems there is a `request` option inside the `/etc/dhcp/dhclient.conf` file which configures all attributes like `ntp-servers`. A simple `dhclient eth0` restarts ntp with the new configuration (which is stored under `/var/lib/ntp/ntp.conf.dhcp`)

  I've no idea how to implement this feature in NixOS because NTP's config file is hard coded in the systemd service. Any ideas?


state: closed
title: openvswitch: ipsec support
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/pull/7559
updated_at: 2015-05-26 10:26:03
body:
  this pull request adds ipsec gre tunnel support to openvswitch by:
  - patching ovs-monitor-ipsec script
  - adding racoon service
  - adding ovs-monitor-ipsec service


state: closed
title: Add enableAdobeFlashDRM option to firefoxWrapper
user_login: malyn
html_url: https://github.com/NixOS/nixpkgs/pull/7568
updated_at: 2015-04-27 16:59:36
body:
  This allows the native Flash plugin to play DRM-protected content (Pandora, HBO GO, etc.).  Note that this requires the Adobe-provided Flash plugin and as such only (?) works with Firefox.


state: closed
title: Add temporary patches for gitlib-libgit2 and git-monitor
user_login: mdorman
html_url: https://github.com/NixOS/nixpkgs/pull/7569
updated_at: 2015-04-26 21:30:23
body:
  These (small, fairly obvious) patches have been submitted to the
  upstream author as https://github.com/jwiegley/gitlib/pull/44, so this
  is just to fix things up until they make it to hackage.


state: closed
title: curl: ldap and libidn support as `curlFull`
user_login: cheecheeo
html_url: https://github.com/NixOS/nixpkgs/pull/7570
updated_at: 2015-04-26 04:04:54
body:
  This fixes some of #7248.

  Before:

  ```
  % nix-env -f $HOME/packages/nixpkgs -iA curl
  replacing old ‘curl-7.41.0’
  installing ‘curl-7.41.0’

  % curl -u : --negotiate -I https://example.com
  curl: option --negotiate: the installed libcurl version doesn't support this
  curl: try 'curl --help' for more information

  ```

  After:

  ```
  % nix-env -f $HOME/packages/nixpkgs -iA curlFull
  replacing old ‘curl-7.41.0’
  installing ‘curl-7.41.0’

  % curl -u : --negotiate -I https://example.com
  HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Cache-Control: max-age=604800
  Content-Type: text/html
  Date: Sat, 25 Apr 2015 19:09:20 GMT
  Etag: "359670651"
  Expires: Sat, 02 May 2015 19:09:20 GMT
  Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
  Server: ECS (rhv/8199)
  X-Cache: HIT
  x-ec-custom-error: 1
  Content-Length: 1270

  ```

  Comments or suggestions are welcome.


state: closed
title: texLiveCore fails to install on Mac OS X
user_login: andreasfrom
html_url: https://github.com/NixOS/nixpkgs/issues/7571
updated_at: 2015-12-23 07:24:56
body:
  I'm running Nix on OS X as instructed [here](https://nixos.org/wiki/Nix_on_OS_X) with nixpkgs from the master branch.
  When trying to install TexLive with the following in `.nixpkgs/config.nix`

  ```
  {
    packageOverrides = super: let self = super.pkgs; in {
      myTexLive = with self; texLiveAggregationFun {
        paths = [ texLive ];
      };
    };
  }
  ```

  it fails to install Web2C with the error [in this gist](https://gist.github.com/andreasfrom/ea6a7deda0a8b6ddbce5).


state: closed
title: pcg-c rng library
user_login: listx
html_url: https://github.com/NixOS/nixpkgs/pull/7576
updated_at: 2015-04-26 21:59:28
body:
  Hello, this is my first contribution to nixpkgs. I just copy-pasted-modded a lot of thing and tested out a pet project and it seems to work fine. Please critique if necessary, thanks.


state: closed
title: curl: ldap and libidn support as `curlFull`
user_login: cheecheeo
html_url: https://github.com/NixOS/nixpkgs/pull/7577
updated_at: 2015-04-26 06:40:31
body:
  This fixes some of #7248.

  Before:

  ```
  % nix-env -f $HOME/packages/nixpkgs -iA curl
  replacing old ‘curl-7.41.0’
  installing ‘curl-7.41.0’
  building path(s) ‘/nix/store/3myngzra088pf24wlnjhkh9032lkc50a-user-environment’
  created 1943 symlinks in user environment

  % curl -u : --negotiate -I https://example.com
  curl: option --negotiate: the installed libcurl version doesn't support this
  curl: try 'curl --help' for more information
  ```

  After:

  ```
  % nix-env -f $HOME/packages/nixpkgs -iA curlFull
  replacing old ‘curl-7.41.0’
  installing ‘curl-7.41.0’

  % curl -u : --negotiate -I https://example.com
  HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Cache-Control: max-age=604800
  Content-Type: text/html
  Date: Sun, 26 Apr 2015 03:59:59 GMT
  Etag: "359670651"
  Expires: Sun, 03 May 2015 03:59:59 GMT
  Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT
  Server: ECS (cpm/F845)
  X-Cache: HIT
  x-ec-custom-error: 1
  Content-Length: 1270

  ```

  Comments or suggestions are welcome.


state: closed
title: Blender's GPU support
user_login: manpages
html_url: https://github.com/NixOS/nixpkgs/issues/7582
updated_at: 2015-05-02 02:59:53
body:
  On Arch Linux I didn't have problems with this GPU

  ```
  λ lspci | grep -i vga
  01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 680] (rev a1)
  ```

  rendering with this script

  ```
  import bpy
  bpy.context.scene.render.engine = 'CYCLES'
  bpy.data.scenes['Scene'].cycles.samples=5000
  bpy.context.scene.cycles.device = 'GPU'
  ```

  calling it like this

  ```
  time blender \
    -b "$1" \
    -o "/tmp/${1}$(date --iso-8601=seconds)" \
    -F JPEG \
    -P ~/bin/blender/gpurender.py \
    -x 1 -f 1
  ```

  on NixOS, however, I can't get it to work neither with overriding cudaSupport to true, nor with hardcoding cuda toolkit and cudaSupport into blender expression.

  I'd love to contribute to fixing this issue, but don't know how to proceed. Can somebody at least report that they can render a blender project on a GPU and provide an expression that makes it possible?


state: closed
title: Cannot build many packages under haskell-ng.packages.ghc763
user_login: jwiegley
html_url: https://github.com/NixOS/nixpkgs/issues/7583
updated_at: 2015-04-28 15:11:18
body:
  @peti When I try to build with GHC 7.6.3 and HaskellNG, many packages fail with an error that looks like this:

  ```
  Building HUnit-1.2.5.2...
  Preprocessing library HUnit-1.2.5.2...
  [1 of 5] Compiling Test.HUnit.Terminal ( Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.o )
  [2 of 5] Compiling Test.HUnit.Lang  ( Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.o )
  [3 of 5] Compiling Test.HUnit.Base  ( Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.o )
  [4 of 5] Compiling Test.HUnit.Text  ( Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.o )
  [5 of 5] Compiling Test.HUnit       ( Test/HUnit.hs, dist/build/Test/HUnit.o )
  In-place registering HUnit-1.2.5.2...
  running tests
  Package has no test suites.
  haddockPhase
  Running Haddock for HUnit-1.2.5.2...
  Running hscolour for HUnit-1.2.5.2...
  Preprocessing library HUnit-1.2.5.2...
  Preprocessing library HUnit-1.2.5.2...
  Warning: The documentation for the following packages are not installed. No
  links will be generated to these packages: rts-1.0

  <no location info>:
      module `HUnit-1.2.5.2:Main' is defined in multiple files: dist/build/tmp-65532/Test/HUnit/Base.hs
                                                                dist/build/tmp-65532/Test/HUnit/Lang.hs
                                                                dist/build/tmp-65532/Test/HUnit/Terminal.hs
                                                                dist/build/tmp-65532/Test/HUnit/Text.hs
                                                                dist/build/tmp-65532/Test/HUnit.hs
  ```

  Do you know what could be causing this?


state: closed
title: Log Directory Substitution Not Complete
user_login: polynomial
html_url: https://github.com/NixOS/nixpkgs/issues/7584
updated_at: 2016-07-26 18:26:08
body:
  I get this error when trying to use the kafka scripts from the package:
    $ /nix/store/12ndbm9by7ccsb77lsx4kc9566pk4y6l-apache-kafka-2.10-0.8.2.1/bin/kafka-server-start.sh /nix/store/yh8hdd378j1gaaq73gk88ca7gzf590vg-apache-kafka-2.10-0.8.2.1/config/server.properties
    mkdir: cannot create directory ‘/nix/store/12ndbm9by7ccsb77lsx4kc9566pk4y6l-apache-kafka-2.10-0.8.2.1/bin/../logs’: Read-only file system
    log4j:ERROR setFile(null,true) call failed.
    java.io.FileNotFoundException: /nix/store/12ndbm9by7ccsb77lsx4kc9566pk4y6l-apache-kafka-2.10-0.8.2.1/bin/../logs/kafka-request.log (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)


state: closed
title: Issue #7584 Kafka Log Directory Not Writeable
user_login: polynomial
html_url: https://github.com/NixOS/nixpkgs/pull/7585
updated_at: 2015-04-27 12:08:55
body:
  Fix quotes in substitution so LOG_DIR is set to a writeable location.

  Reproduced error from #7584 with this no error and verified log is written to location:
  $ /nix/store/yh8hdd378j1gaaq73gk88ca7gzf590vg-apache-kafka-2.10-0.8.2.1/bin/kafka-server-start.sh /nix/store/yh8hdd378j1gaaq73gk88ca7gzf590vg-apache-kafka-2.10-0.8.2.1/config/server.properties  
  [2015-04-26 19:56:25,370] INFO Verifying properties (kafka.utils.VerifiableProperties)
  [2015-04-26 19:56:25,413] INFO Property broker.id is overridden to 0 (kafka.utils.VerifiableProperties)

  $ ls /tmp/apache-kafka-logs
  total 12  
  238378449 0 controller.log     238353137 4 kafkaServer-gc.log  238378450 8 server.log
  238378448 0 kafka-request.log  238378451 0 log-cleaner.log     238378452 0 state-change.log


state: closed
title: Curl fails with "curl: (7) Failed to connect to ... port 80: Connection refused"
user_login: robberer
html_url: https://github.com/NixOS/nixpkgs/issues/7586
updated_at: 2015-04-28 10:49:58
body:
  On current master branch `nixos-rebuild` fails due to a curl error:

  ```
  curl: (7) Failed to connect to www.linuxfromscratch.org port 80: Connection refused
  error: cannot download pycairo-1.10.0-waf_unpack-1.patch from any mirror
  ```

  It's not a local network error because Chrome, Lynx, Links are able to access this file.

  I can reproduce this just by running `curl http://www.linuxfromscratch.org/patches/blfs/svn/pycairo-1.10.0-waf_unpack-1.patch`

  Any ideas ?


state: closed
title: refind: Fix build on i686
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7587
updated_at: 2015-06-24 02:08:51
body:
  Use the correct linker script filename on i686 to fix this build error:

  ```
  /.../ld: cannot open linker script file /nix/store/...-gnu-efi_3.0u/lib/elf_x86_64_efi.lds: No such file or directory
  ```

  Only compile tested.


state: closed
title: kde5: add printer
user_login: joelmo
html_url: https://github.com/NixOS/nixpkgs/issues/7588
updated_at: 2015-12-10 12:44:56
body:
  Using kde-add-printer installed from print-manager. I get this message when trying to add a printer:
  `Failed to search for a recommended driver: 'The name org.fedoraproject.Config.Printing was not provided by any .service files'`


state: closed
title: nixos-unstable channel hasn't updated in over 2 weeks
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/7589
updated_at: 2015-05-03 03:02:27
body:
  [nixos-unstable](https://github.com/NixOS/nixpkgs-channels/tree/nixos-unstable) appears to be stuck at 2d8cfe76a9e4f05e391d30f1654d45dee5993b8a from April 13th. [nixos-unstable-small](https://github.com/NixOS/nixpkgs-channels/tree/nixos-unstable-small) is a little more up-to-date, but also lags 7 days by now.


state: closed
title: dvdisaster: Apply debian's patches, fix desktop file and icons
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/pull/7592
updated_at: 2016-01-05 14:07:29
body:
  This PR makes it possible to build dvdisaster with Debian's patches and enable it by default. I find these patches very useful because they let you backup DVD-ROMs and encrypted DVDs. Apart from that I updated the meta attributes and add a desktop file.

  Any suggestions for a better name? I think `enableSoftening` isn't the best name for it


state: closed
title: NetworkManager and dnsmasq binary
user_login: ssgen
html_url: https://github.com/NixOS/nixpkgs/issues/7593
updated_at: 2015-11-06 10:17:28
body:
  It seems that I cannot share a connection through NetworkManager due to the following error:

  start_sharing(): (enp0s10/enp0s10): failed to start dnsmasq: Could not find dnsmasq binary.

  I have tried to make an overrideDerivation for pkgs.networkmanager, adding to configureFlags, after the original flags, the following one:

  "--with-dnsmasq=${dnsmasq}/bin/dnsmasq"

  but I still get the same message & result.

  What can I do to make NetworkManager find the required binary ?

  Thanks.


state: closed
title: gnome3.16: new dconf-editor package
user_login: bendlas
html_url: https://github.com/NixOS/nixpkgs/pull/7594
updated_at: 2015-04-28 09:03:45
body:
  `dconf-editor` used to ship with the `dconf` package, but not any more. This PR pulls the definition of the package sets from the gnome3 module into the package itself, so that definitions of package sets may vary for different gnome versions. Then it adds the new `dconf-editor` package.

  This is based on the recent gnome316 work by @lethalman , which got merged to staging and seems not to be in master yet, so I based the PR on current staging.


state: closed
title: Brother MFC7860DW cups lpr wrapper drivers.
user_login: jraygauthier
html_url: https://github.com/NixOS/nixpkgs/pull/7596
updated_at: 2016-03-15 02:06:59
body:
  Also includes Brother generic lpr wrappers.

  Use these on both my i686 and 64 bits machines.

  Adapted from `*.deb` packages provided by brother.


state: closed
title: Added YNAB paid wine package.
user_login: jraygauthier
html_url: https://github.com/NixOS/nixpkgs/pull/7597
updated_at: 2015-04-29 10:11:25
body:
  Also seamless integration same as when
  using it on the windows platform. Even
  dropbox sync is working and some form
  of drag and drop for files.


state: closed
title: Added peru package.
user_login: jraygauthier
html_url: https://github.com/NixOS/nixpkgs/pull/7599
updated_at: 2015-07-26 16:27:02
body:
  A project dependencies version management system
  built on top of multiple version management systems.


state: closed
title: nixos: fix infinite recursion in isoImage.isoName
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/7601
updated_at: 2015-05-04 08:24:41
body:
  `config.isoImage.isoName` was defined in terms of itself, whereas I think it was meant to be:

  ``` nix
  "${config.isoImage.isoBaseName}.iso"
  ```


state: closed
title: Fix nixos-install when running outside NixOS.
user_login: Jookia
html_url: https://github.com/NixOS/nixpkgs/pull/7603
updated_at: 2015-04-28 16:01:23
body:
  Due to issues with environmental variables, nixos-install failed to install when
  the host operating system wasn't NixOS. This broke bootstrapping from Debian.


state: closed
title: wine: add 64 bit build and module
user_login: bendlas
html_url: https://github.com/NixOS/nixpkgs/pull/7604
updated_at: 2015-05-11 23:16:38
body:
  Introduce a nixos module at `config.programs.wine`, where the release
  channel (stable/unstable) and the build (32/64/wow) can be selected.

  cc @abbradar @7c6f434c 


state: closed
title: kmod-blacklist-ubuntu: Fix source package URL returning 404
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7606
updated_at: 2015-06-24 02:08:50
body:
  The original URL http://archive.ubuntu.com/ubuntu/pool/main/k/kmod/kmod_9-3ubuntu1.debian.tar.gz is dead.

  Maybe the package could do some updating as well, but here's a trivial fix for now.


state: closed
title: NixOS manual on one page, please
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/7607
updated_at: 2015-07-22 14:22:06
body:
  http://nixos.org/nixos/manual/

  I don't know who had the idea to split the manual in multi pages, but it's stupid: it's not searchable, hence it's useless for all the people past the installation. The search bar on top is for google, but I want to search the manual.

  Suggestion: let the whole manual be in one page except nixos options.

  cc @edolstra @domenkozar 


state: closed
title: pythonPackages: fixed and updated goobook
user_login: hbunke
html_url: https://github.com/NixOS/nixpkgs/pull/7610
updated_at: 2015-04-29 04:11:48
body:
  goobook didn't work because dependency package 'six' has been in buildInputs
  but should be in propagatedBuildInputs.

  Also: updated goobook to 1.6


state: closed
title: nix-shell does not work when bashCompletion is enabled
user_login: vu3rdd
html_url: https://github.com/NixOS/nixpkgs/issues/7611
updated_at: 2015-04-28 16:37:01
body:
  I am using nix-shell and the quick start example in the manual (step #6
  listed here: https://nixos.org/nix/manual/) does not seem to work for
  me:

  ```
  [ram@nixos:~] nix-shell -p hello
  these paths will be fetched (0.04 MiB ...

  *** Downloading ....

  [ram@nixos:~]$ hello
  The program `hello' is currently not installed ...
  ...
  [ram@nixos:~]$ exit

  [ram@nixos:~]$

  Note that the prompt string didn't change when we entered the nix-shell. 

  If I do:

  [ram@nixos:~]$ nix-shell -p hello --pure

  [nix-shell:~]$ hello
  Hello, world!

  [nix-shell:~]$
  ```

  Now, I figured that I have bashCompletion enabled in the /etc/nixos/configuration.nix. 
  `programs.bash.enableCompletion = true;`
  If I comment this line out and do `nixos-rebuild switch`, then `nix-shell` works as expected (both with and without the `-pure` flag).

  I believe this is a bug. `nix-shell -v` does not seem to show anything interesting w.r.t this particular behaviour, so not including the output of that here.


state: closed
title: MuseScore 2.0.0: enabled plugins don't appear in the menu
user_login: cillianderoiste
html_url: https://github.com/NixOS/nixpkgs/issues/7612
updated_at: 2018-06-23 23:16:51
body:
  I recently updated MuseScore to 2.0.0 but I have since noticed that, although I can select and enable plugins, they don't appear in the plugins menu afterwards. I'll look in to it further.

  @vandenoever, hopefully this doesn't break things for you, otherwise feel free to revert.


state: closed
title: apache pig: new package
user_login: svenkeidel
html_url: https://github.com/NixOS/nixpkgs/pull/7617
updated_at: 2015-04-29 18:54:32
body:
  > Apache Pig is a platform for analyzing large data sets that consists of a high-level language for expressing data analysis programs, coupled with infrastructure for evaluating these programs. The salient property of Pig programs is that their structure is amenable to substantial parallelization, which in turns enables them to handle very large data sets.


state: closed
title: vim: Change python3 ver setting, add nogui version
user_login: KaiSforza
html_url: https://github.com/NixOS/nixpkgs/pull/7619
updated_at: 2015-06-01 22:49:07
body:
  Instead of having a specific python3 configuration option, we now just
  check the args.python variable passed. This can be trivially set using
  stdenv.lib.overrideDerivation.

  The nogui part required a bit more changes, completely removing all of
  the package requirements in the configurable.nix package, splitting it
  all out to the definition in all-packages.nix.

  There is a new variable, args.X11, that specifies the build inputs for
  building Vim with support for X. On systems where X may not be
  available, using the nogui version will set args.X11 to an emply list,
  causing none of the X dependencies to be built for Vim. The gui option
  is set to "no" in the nogui option, but can be manually overriden with
  the overrideDerivation, though then "X11" will have to also be manually
  set.


state: closed
title: The link to CLTools 404s
user_login: smobs
html_url: https://github.com/NixOS/nixpkgs/issues/7620
updated_at: 2018-03-21 23:49:05
body:
  Nixpkgs checkout: cb8f111a72a54888dea24b6ccbdb5a657577983f
  OSX 10.10.3
  http://swcdn.apple.com/content/downloads/27/02/031-06182/yiervn212jfs091cp9hwmb7gjq7ky91crs/CLTools_Executables_OSX109.pkg returns a 404 code.  This happens even if I try to access the url directly. This could be because I am in the UK.


state: closed
title: lightdm appears to have a dependency on accounts service
user_login: willtim
html_url: https://github.com/NixOS/nixpkgs/issues/7621
updated_at: 2015-04-29 18:26:02
body:
  Just tried installing unstable and the lightdm display manager fails to start with: 

  "WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service"

  Adding "services.accounts-daemon.enable=true", fixes the issue. Should this be a dependency of lighted?


state: closed
title: builtins.toPath is misbehaving
user_login: adnelson
html_url: https://github.com/NixOS/nixpkgs/issues/7624
updated_at: 2018-06-23 23:32:40
body:
  I want to have a function which can produce a path, in order to reduce a lot of boilerplate. But when I build a string dynamically at runtime, instead of hard-coding in a path, it fails to "notice" when the directory changes. It doesn't look at the directory to see if it's changed; it only looks at the AST and if the directory contents changes, it will not pick up that change.

  Let's say I have a folder in `/home/anelson/project`. Now let's say I have a `default.nix` that looks like:

  ``` nix
  # /home/anelson/project/default.nix
  with import <nixpkgs> {};
  buildPythonPackage {
    name = "test";
    src = ./.;
  }
  ```

  Now if I build it twice, it will correctly cache, and if I modify the folder, it will correctly rebuild:

  ```
  /home/anelson> nix-build project # build first time
  these derivations will be built:
    /nix/store/blahblah
  unpacking sources
  [...]
  /nix/store/somehash

  /home/anelson> nix-build project # Nothing changed, should cache
  /nix/store/somehash

  /home/anelson> touch project/newfile # modify the folder

  /home/anelson> nix-build project # should rebuild
  these derivations will be built:
    /nix/store/blahblah
  unpacking sources
  [...]
  /nix/store/somenewhash
  ```

  Yay! But, if I do the same thing with a string, this doesn't work:

  ``` nix
  # /home/anelson/project/default.nix
  with import <nixpkgs> {};
  buildPythonPackage {
    name = "test";
    src = builtins.toPath "/home/anelson/project";
  }
  ```

  It will build once, but no more after that, unless I garbage collect.

  ```
  /home/anelson> nix-build project # build first time
  these derivations will be built:
    /nix/store/blahblah
  unpacking sources
  [...]
  /nix/store/somehash

  /home/anelson> nix-build project # Nothing changed, should cache
  /nix/store/somehash

  /home/anelson> touch project/newfile # modify the folder

  /home/anelson> nix-build project # should rebuild
  /nix/store/somehash
  ```

  How can I get around this? It's really tedious to hard-code in all of the paths. I want to be able to generate the paths declaratively. For example, I have a function which roughly looks like this:

  ``` nix
  {repo_dir}:
  {
    buildPkg = {repo, pkg_name, ...}@attrs: 
      buildPythonPackage (attrs // {
        name = pkg_name;
        src = builtins.toPath "${repo_dir}/${repo}/${pkg_name}";
      });
  }
  ```

  But as it is, I can't rely on changes being pulled in when developing on my local machine. How can I get around this?


state: closed
title: ghcjs-boot no longer builds
user_login: itcowed
html_url: https://github.com/NixOS/nixpkgs/issues/7625
updated_at: 2015-04-29 00:56:30
body:
  someone has push -f'ed a ghcjs-boot subrepo and the current commit commited to file is no longer buildable. i am submitting a pr with my proposed solution atm


state: closed
title: ghcjs: bump ghcjs-boot commit
user_login: itcowed
html_url: https://github.com/NixOS/nixpkgs/pull/7626
updated_at: 2015-04-29 00:56:34
body:
  see https://github.com/ghcjs/ghcjs-boot/pull/17 for justification (ghcjs-boot
  won't build anymore on the previous commit :()

  @cstrahan 

  closes #7625 


state: closed
title: package Dirt
user_login: anderspapitto
html_url: https://github.com/NixOS/nixpkgs/pull/7627
updated_at: 2015-04-29 07:57:12
body:
  Dirt is used with the Tidal audio programming library (already packaged).
  I tested by building and running locally.


state: closed
title: stopping dbus during deploy is a disaster
user_login: ip1981
html_url: https://github.com/NixOS/nixpkgs/issues/7633
updated_at: 2016-08-23 10:41:38
body:
  ```
  epsilon> Installation finished. No error reported.
  epsilon> stopping the following units: alsa-store.service, cron.service, dbus.service, get-vbox-nixops-client-key.service, kmod-static-nodes.service, network-setup.service, nscd.service, nt
  pd.service, systemd-logind.service, systemd-modules-load.service, systemd-sysctl.service, systemd-tmpfiles-clean.timer, systemd-tmpfiles-setup-dev.service, systemd-udev-settle.service, syst
  emd-udev-trigger.service, systemd-udevd.service, systemd-vconsole-setup.service, virtualbox.service
  epsilon> Warning: Stopping dbus.service, but it can still be activated by:
  epsilon>   dbus.socket
  epsilon> Warning: Stopping systemd-udevd.service, but it can still be activated by:
  epsilon>   systemd-udevd-control.socket
  epsilon>   systemd-udevd-kernel.socket
  epsilon> NOT restarting the following changed units: dhcpcd.service, getty@tty1.service, systemd-journald.service, systemd-random-seed.service, systemd-remount-fs.service, systemd-tmpfiles-
  setup.service, systemd-update-utmp.service, systemd-user-sessions.service, user@0.service
  epsilon> activating the configuration...
  epsilon> setting up /etc...
  epsilon> removing obsolete symlink ‘/etc/fonts/conf.d/00-nixos.conf’...
  epsilon> removing obsolete symlink ‘/etc/polkit-1/rules.d/10-nixos.rules’...
  epsilon> removing obsolete symlink ‘/etc/pam.d/polkit-1’...
  epsilon> warning: not applying UID change of user ‘nscd’
  epsilon> warning: not applying UID change of user ‘ntp’
  epsilon> warning: not applying UID change of user ‘sshd’
  epsilon> removing user ‘polkituser’
  epsilon> regenerating udev hardware database...
  epsilon> restarting systemd...
  epsilon> Failed to execute operation: Connection timed out
  epsilon> Failed to execute operation: Connection timed out
  ^Cerror: interrupted
  ```

  Possible fix below. Note that Debian for example never ever restarts dbus, it just suggests rebooting.
  Of course one can restart dbus later manuaally.

  ``` diff
  diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
  index 29c449d..45daa02 100644
  --- a/nixos/modules/system/boot/systemd.nix
  +++ b/nixos/modules/system/boot/systemd.nix
  @@ -1052,6 +1052,7 @@ in

       systemd.services.systemd-remount-fs.restartIfChanged = false;
       systemd.services.systemd-journal-flush.restartIfChanged = false;
  +    systemd.services.dbus.restartIfChanged = false;

     }
     (mkIf config.systemd.network.enable {
  ```


state: closed
title: services.rsyslogd.enable = true causes rebuild to fail (hvm instances)
user_login: jtbuchanan
html_url: https://github.com/NixOS/nixpkgs/issues/7634
updated_at: 2015-04-30 14:54:27
body:
  Hello, 
  Adding services.rsyslogd.enable = true;   to a NixOS configuration file and attempting an nixos-rebuild switch causes a failure with the syslog.service 

  There may be something wrong with the nixos.pkgs.rsyslog package?

  Thank you 


state: closed
title: SDL*: Fix on Darwin
user_login: spwhitt
html_url: https://github.com/NixOS/nixpkgs/pull/7637
updated_at: 2015-12-17 06:46:21
body:
  This fixes all SDL and SDL2 libs on Darwin except SDL_mixer and SDL_stretch
  (I ran out of energy before fixing those two).


state: closed
title: Fix elm-0.15 with ghc 7.10.x
user_login: aforemny
html_url: https://github.com/NixOS/nixpkgs/pull/7639
updated_at: 2015-06-15 18:33:16
body:
  This makes all of elm 0.15 work with haskellngPackages.

  Since this is the first time I tinkered with haskellngPackages, I'd appreciate a review.


state: closed
title: Improvements to the clementine package.
user_login: jraygauthier
html_url: https://github.com/NixOS/nixpkgs/pull/7640
updated_at: 2015-07-01 04:12:45
body:
  -  Pass the gstreamer plugins as a list attribute instead of
    individual attributes.
    -  This should allow for greater customization (e.g.: a
        user can add / remove plugins by overriding
        the plugin list attribute).
    
    This is the same technique as used for wrapping chrome
    with gstreamer plugins.
  -  Moved integration of gstreamer plugins, spotify
    library and clementine into a wrapper derivation.
    -  This should allow a user to change the gstreamer
        plugin set and activate / deactivate the spotify
        plugin without triggering a whole rebuild of the
        clementine sources (which is pretty long).
  ## Tests

  Tested complex meta data with `nix-env -qa --xml --meta 'clementine-1.2.3'`.

  Tested proper execution of the application and integration with gstreamer plugins.

  Validated that changing gstreamer plugin set or spotify option effectively does
  not trigger a recompile.

  The spotify option no longer seem to be necessary as the clementine application
  will automatically fetch the proper `libspotify` library with its plugin (`blob`) when
  user install it from the setting page.


state: closed
title: blkid from busybox is not what we want
user_login: ip1981
html_url: https://github.com/NixOS/nixpkgs/issues/7641
updated_at: 2015-04-30 07:23:40
body:
  blkid from busybox is not what we want in `stage-1-init.sh`:

  ```
  # /nix/store/imi3lkcwbk4cqxyd7wrr33dchc6hby05-busybox-1.22.1/bin/blkid -o value -s TYPE /dev/disk/by-label/nixos
  /dev/disk/by-label/nixos: LABEL="nixos" UUID="c736f2ae-5595-4d80-95c1-7c5eac3d67ff"

  # /nix/store/6h06ligy8klbww40b1jcb2lpfjaj0ppr-util-linux-2.26/bin/blkid -o value -s TYPE /dev/disk/by-label/nixos
  ext4
  ```


state: closed
title: Nixpkg updated with new release of Blink (1.3.0, released Apr 29th 2015)
user_login: leenaars
html_url: https://github.com/NixOS/nixpkgs/pull/7642
updated_at: 2015-05-01 00:50:49
body:
  Hi there,

  I've updated the nix definition and the dependencies of Blink Qt (http://icanblink.com).


state: closed
title: grub2: Fix EFI-only installation
user_login: Shados
html_url: https://github.com/NixOS/nixpkgs/pull/7643
updated_at: 2015-06-01 18:50:39
body:
  Removed invalid check for `boot.loader.grub.devices`; grub-efi installation process only touches `boot.loader.efi.{cantouchEfiVariables,efiSysMountPoint}`. 

  Prior to this change it was actually impossible to have an EFI-only grub2 installation -- the code path in install-grub.pl could never be reached. With this, you can (or at least I can on my test hardware).


state: closed
title: haskell-uhc: New version with GHC 7.10 support.
user_login: phile314
html_url: https://github.com/NixOS/nixpkgs/pull/7644
updated_at: 2015-05-05 14:00:45
body:
  New version which fixes compile errors on GHC 7.10.

  Requires a newer version of the hackage-packages than in current master. Version 83879a6daafac9b813284dff208597320f6b1717 from peti/nixpkgs or any hackage snapshot with uhc-util 0.1.5.5 and shuffle 0.1.3.3 is fine.


state: closed
title: Darwin: Incompatible library version: libnatspec.0.dylib requires version 8.0.0 or later
user_login: nomosyn
html_url: https://github.com/NixOS/nixpkgs/issues/7646
updated_at: 2015-05-17 10:34:11
body:
  ![capture d ecran 2015-03-20 a 19 44 18](https://cloud.githubusercontent.com/assets/2693150/6758603/8c764e60-cf39-11e4-9e8a-ecab4b2e8136.png)

  ```
  $ cd .../nixpkgs

  $ git rev-parse HEAD
  4cdb4a4fef93b54dd41aab93d333c703df4d5803

  $ nix-env -u

  ... [lots of stuff] ...
  Cases: 7  Tried: 7  Errors: 1  Failures: 0
  Test suite test-zip-archive: FAIL
  Test suite logged to: dist/test/zip-archive-0.2.3.7-test-zip-archive.log
  0 of 1 test suites (0 of 1 test cases) passed.
  builder for ‘/nix/store/02sq40ds8vj3v9z2d1lrglr6qi214j49-haskell-zip-archive-0.2.3.7.drv’ failed with exit code 1
  cannot build derivation ‘/nix/store/nln8dljnm2w1cykx5zx1i2zxd6vw9vhx-pandoc-1.13.2.1.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/nln8dljnm2w1cykx5zx1i2zxd6vw9vhx-pandoc-1.13.2.1.drv’ failed
  ```


state: closed
title: minimal iso can't reconfigure itself without internet
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/issues/7648
updated_at: 2016-04-24 19:58:37
body:
  Steps to reproduce:
  1. download https://nixos.org/releases/nixos/latest-iso-minimal-x86_64-linux
  2. start a VM with it as the boot cd
  3. log in as root
  4. run `nixos-rebuild switch`

  => downloads and builds a bunch of stuff, including building manpages.

  @edolstra thoughts? It would be great to be able to change the configuration.nix so you can enable ssh, add a user etc for install or testing purposes.


state: closed
title: postfix service: description enhancement
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/pull/7651
updated_at: 2015-05-07 00:00:45
body:
  some notes from here: http://irbs.net/internet/postfix/0212/2743.html

  found this quite handy, please merge.


state: closed
title: gconf: gtk should be an opt-in dependency
user_login: k0ral
html_url: https://github.com/NixOS/nixpkgs/pull/7652
updated_at: 2015-05-02 07:35:17
body:
  `gtk` should be an optional dependency of `gconf`. Furthermore, as it is rather heavy, I think it should be disabled by default. That's what other linux distributions are doing (e.g. [Archlinux package](https://www.archlinux.org/packages/extra/x86_64/gconf/) or [Debian one](https://packages.debian.org/sid/gconf2)).
  I also stumbled into [that discussion](http://patchwork.openembedded.org/patch/37741/), that justifies this choice.


state: closed
title: Update cups to 2.0.2
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/pull/7654
updated_at: 2016-01-05 14:04:34
body:
  This is the second attempt to update cups to the latest version. I've tested these changes on my machine and it works fine.

  This also solves my issue in detecting remote printers via DNSSD. It doesn't suffice to build `cups-filters` (`cups-browsed`) with DNSSD support. We need to build cups with DNSSD support as well. Otherwise the detected printers won't show up in the web interface.
  - update to 2.0.2
  - rename `cups.service` to `cupsd.service` because it's the official name and it makes it simpler to reuse official systemd service files thanks to 179acfb664ed06519ac515eada7bbef677cbee87
  - refactor meta attributes, remove deprecated config options from cupsd.conf, ...

  However, there is still a strange problem with our printing test (already mentioned in #7083 by @vcunat):

  ```
  nix-build nixos/tests/printing.nix
  [...]
  client: exit status 0
  client: must succeed: lpstat -a
  client: exit status 0
  client: must succeed: lpstat -h server -a
  client: exit status 0
  error: Died at (eval 13) line 21, <__ANONIO__> line 256.
  Died at (eval 13) line 21, <__ANONIO__> line 256.
  cleaning up
  killing client (pid 4437)
  killing server (pid 4447)
  vde_switch: EOF on stdin, cleaning up and exiting
  vde_switch: Could not remove ctl dir '/tmp/nix-build-vm-test-run-printing.drv-0/vde1.ctl': Directory not empty
  builder for ‘/nix/store/q1kvd0km864cr5cd790x3yki4z5j39qj-vm-test-run-printing.drv’ failed with exit code 255
  error: build of ‘/nix/store/q1kvd0km864cr5cd790x3yki4z5j39qj-vm-test-run-printing.drv’ failed
  ```

  ```
        $client->succeed("lpstat -a") =~ /DeskjetRemote accepting requests/ or die;
        $client->succeed("lpstat -h server -a") =~ /DeskjetLocal accepting requests/ or die;
  ```

  The second line let our test fail. If I replace `/DeskjetLocal accepting requests/` with `/DeskjetRemote accepting requests/` (like one line above) then the test doesn't fail. I don't understand the problem here because if I run this test manually then the output looks good to me. It should work.

  I think this is a Perl related issue or something like that? Any idea?

  CC: @wkennington @edolstra


state: closed
title: redshift-gtk is missing
user_login: srhb
html_url: https://github.com/NixOS/nixpkgs/issues/7655
updated_at: 2015-10-09 10:59:00
body:
  ❯ redshift-gtk
  /run/current-system/sw/bin/redshift-gtk: line 3: /nix/store/1j1kgrv6xcdrcqz37mc9z15ayw8nb3qp-redshift-1.9.1/bin/.redshift-gtk-wrapped: No such file or directory

  Regular redshift works just fine. :)

  Maintainer poke: @mornfall


state: closed
title: New package: jenkins-job-builder
user_login: benley
html_url: https://github.com/NixOS/nixpkgs/pull/7658
updated_at: 2015-05-04 08:34:52
body:
  This could be used to make a pretty nice Jenkins module for NixOS.  Makes configuring Jenkins waaayyyyyyy more sane.

  <!-- Reviewable:start -->

  [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/nixos/nixpkgs/7658)

  <!-- Reviewable:end -->


state: closed
title: Unify the nixos and nixpkgs channel structures?
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/7659
updated_at: 2015-08-05 16:04:57
body:
  Currently, as far as I can tell, the `nixos` channel is just the `nixpkgs` channel with a level of indirection and a tiny wrapper to put `nixpkgs` inside a `pkgs` attribute. I've seen a few people on IRC get confused by the weird distinction and it screwed me up a bit when I was trying to publish my own channels too.

  Is there a deep reason for the distinction? I realize that lots of people expect it now, but it seems like simplifying it would be good in the long run. Even if we unified it, we could keep a self-referential `pkgs` attribute inside the top-level of `nixpkgs` so that existing references to `nixos.pkgs` wouldn't break. The attribute could emit a deprecation warning when forced.

  Am I missing something?


state: closed
title: Be able to compile dmd on darwin, update dmd
user_login: johbo
html_url: https://github.com/NixOS/nixpkgs/pull/7661
updated_at: 2015-05-02 12:43:31
body:
  Faced a problem to build dmd on darwin. Since I did not get gcc compiled so far, I found out that it builds if I use "clang++" to build it on darwin.

  This also updates to the latest point release.


state: closed
title: Bump Android packages to newest versions, add androidsdk_5_1_1 and androidsdk_5_1_1_extras to env
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/7663
updated_at: 2015-05-03 14:16:43
body:
  Detailed changes:
  - android-sdk: update 24.0.1 -> 24.1.2
  - android-platforms: add 5.1.1
  - android-platform-tools: update 21 -> 22
  - android-build-tools: update 21.1.2 -> 22.0.1
  - android-support: update 21 -> 22.1.1
  - android-support-repository: update 9 -> 14

  Maybe we should update all-packages.nix as well.


state: closed
title: error: build of ‘/nix/store/xnakspm8z2k7c0gs88afzkizs5i83627-git-2.3.6.drv’ failed
user_login: nomosyn
html_url: https://github.com/NixOS/nixpkgs/issues/7664
updated_at: 2015-05-03 13:38:55
body:
  ![capture d ecran 2015-03-20 a 19 44 18](https://cloud.githubusercontent.com/assets/2693150/6758603/8c764e60-cf39-11e4-9e8a-ecab4b2e8136.png)

  ```
  $ cd .../nixpkgs

  $ git rev-parse HEAD
  ebe3802a8f117989251f1af32ad0397e9c236c60

  $ nix-env -u

  ... [stuff] ...
  make[1]: *** Waiting for unfinished jobs....
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/SpecialCaseListTest.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/StreamingMemoryObject.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/StringPool.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/SwapByteOrderTest.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ThreadLocalTest.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/TimeValueTest.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/UnicodeTest.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLIOTest.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/YAMLParserTest.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/formatted_raw_ostream_test.cpp.o
  [ 31%] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/raw_ostream_test.cpp.o
  Linking CXX executable SupportTests
  [ 31%] Built target SupportTests
  make: *** [all] Error 2
  make: INTERNAL: Exiting with 2 jobserver tokens available; should be 4!
  builder for ‘/nix/store/ssk9pmpx5sk8blw9p3lc4rk93rpbcrwy-llvm-3.6.0.drv’ failed with exit code 2
  cannot build derivation ‘/nix/store/4y12gzq8bqwfwl8yicrhyj3b2snhn34m-clang-3.6.0.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/c1r3cdsk8w0nw6r5wbd80gg3yin0ygpi-clang-wrapper-3.6.0.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/xgwqcd33skd84njl4nq0l9dd4ss9hqrh-ghc-7.10.1.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/pic8pjh921sbynz76z79l8p7w2faqh0y-stdenv-darwin-boot-3.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/xnakspm8z2k7c0gs88afzkizs5i83627-git-2.3.6.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/xnakspm8z2k7c0gs88afzkizs5i83627-git-2.3.6.drv’ failed
  ```


state: closed
title: cppcheck: 1.68 -> 1.69
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/7665
updated_at: 2015-05-03 12:02:55
body:
  Also update meta and install man page.

  Tested by running on some of my own terrible C code.

  @peti 


state: closed
title: clamav: CVE-2015-2170 CVE-2015-2221 CVE-2015-2222 CVE-2015-2305 CVE-2015...
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/pull/7666
updated_at: 2015-06-03 20:13:49
body:
  compiled but not tested. TEST first, merge then.

  http://www.pro-linux.de/sicherheit/2/30366/mehrere-probleme-in-clam-antivirus.html


state: closed
title: ATS-extsolve
user_login: sheganinans
html_url: https://github.com/NixOS/nixpkgs/issues/7667
updated_at: 2015-05-11 10:43:13
body:
  @shlevy any ideas?

  > cd ~/Projects/github/ATS-Postiats-contrib/contrib/libats-/wdblair/prelude/
  > patsopt --constraint-export -tc -d TEST/quicksort.dats | patsolve
  > exit(ATS): unmatched value at run-time:
  > /tmp/nix-build-ats-extsolve-0pre6a9b752.drv-0/ATS-Postiats-contrib-6a9b752efb8af1e4f77213f9e81fc2b7fa050877/projects/MEDIUM/ATS-extsolve/parsing/parsing_c3nstr.dats: 479(line=37, offs=5) -- 536(line=38, offs=41)


state: closed
title: sudo nix-channel --update fails on recent unstable-channel
user_login: the-kenny
html_url: https://github.com/NixOS/nixpkgs/issues/7669
updated_at: 2015-07-11 18:27:03
body:
  It seems like I hit an issue where I can't upgrade my system on the unstable channel anymore. `sudo nix-channel --update` or `sudo nixos-rebuild ... --upgrade` fails with:

  ```
  downloading Nix expressions from ‘https://nixos.org/releases/nixos/unstable/nixos-15.05pre61665.4c01e6d/nixexprs.tar.xz’...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  unpacking channels...
  /nix/store/j7ghngyylfkl64xx1js6f2dfix48fw7g-xz-5.2.0/bin/xz: (stdin): File format not recognized
  /nix/store/s16y2pk8lljsm37b55h2dsl6gpbsb62g-gnutar-1.27.1/bin/tar: This does not look like a tar archive
  /nix/store/s16y2pk8lljsm37b55h2dsl6gpbsb62g-gnutar-1.27.1/bin/tar: Exiting with failure status due to previous errors
  builder for ‘/nix/store/35lmnri499d3kifqbzaz35hz067zfwsv-nixos-15.05pre61665.4c01e6d.drv’ failed with exit code 2
  ```

  This is on `15.05pre61665.4c01e6d (Dingo)` but as far as I know, @1126 hit the issue on earlier channels too.

  If this is fixed in master already, can someone please document here how to get out of this? I can rebuild from git just fine, but we should document issues like this.


state: closed
title: add Ardour4
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/pull/7670
updated_at: 2015-05-03 18:03:43
body:
  These changes look bigger in the diff than they are: I renamed the ardour dir to ardour3 and made some small changes to it to create ardour4.


state: closed
title: ffmpeg 0.10.15 and 2.5.4 can't find librtmp
user_login: devhell
html_url: https://github.com/NixOS/nixpkgs/issues/7671
updated_at: 2015-05-03 11:54:56
body:
  This issue started with the 1st of May commits. Maybe 1d150637683b7cfcfcc3bfe8d4b4dda2afadb735 is the culprit.

  Please see this [log](https://headcounter.org/hydra/build/649541/nixlog/58/raw) and this [log](https://headcounter.org/hydra/build/649541/nixlog/53/raw) for more details.

  Thanks.


state: closed
title: Add PAM support for U2F devices
user_login: philandstuff
html_url: https://github.com/NixOS/nixpkgs/pull/7677
updated_at: 2015-05-11 09:40:54
body:
  This adds support for Yubikey's pam_u2f module, which allows using a U2F device such as a Yubikey NEO to authenticate to the system.


state: closed
title: Package IDs on http://hydra.cryp.to don't seem to match those from nixos.org
user_login: PierreR
html_url: https://github.com/NixOS/nixpkgs/issues/7679
updated_at: 2015-05-04 16:11:32
body:
  I can't get a working `stylish-haskell` when using haskellngPackages.

  First try:

  ```
  > nix-env -f ~/nixpkgs -iA haskellngPackages.stylish-haskell
  installing ‘haskell-stylish-haskell-0.5.13.0’
  building path(s) ‘/nix/store/17w3idl7858lly2a8dlprahx6jkbg7jm-user-environment’
  created 695 symlinks in user environment

  ```

  But then:

  ```
  stylish-haskell progs/PuppetResources.hs 
  stylish-haskell: symbol lookup error: /nix/store/msf95ix0kkqhxg4bhv3j475j0jlay759-haskell-stylish-haskell-0.5.13.0/lib/ghc-7.10.1/stylish-haskell-0.5.13.0/libHSstylish-haskell-0.5.13.0-7eZIqieHNWQCliIYWOFPyr-ghc7.10.1.so: undefined symbol: haskezu0N1iENSCVOPFwLqkTeJh2r_LanguageziHaskellziExtsziAnnotatedziSyntax_zdtr3zzS_closure
  ```

  Second try (after erasing haskellngPackages.stylish-haskell), I will add stylish-haskell to ~/.nixpgks/config.nix:

  ```
  {
    provideOldHaskellAttributeNames = true;

    packageOverrides = super: let self = super.pkgs; in
    {
      hsDevEnv = self.haskellngPackages.ghcWithPackages (p: with p; [
        async attoparsec base16-bytestring bytestring case-insensitive containers
        cryptohash Diff directory either exceptions filecache Glob
        hashable hslogger hspec hlint HUnit lens lens-aeson pcre-utils
        mtl operational optparse-applicative parallel-io regex-pcre-builtin
        scientific servant servant-client strict-base-types stylish-haskell vector yaml
      ]);

    };
  }

  ```

  ```
  >  nix-env -f ~/nixpkgs -iA hsDevEnv                         
  replacing old ‘ghc-7.10.1’
  installing ‘ghc-7.10.1’
  these derivations will be built:
    /nix/store/2hh4d5dnqjfq4wg90v5ai3mfqkai0qcw-ghc-7.10.1.drv
  building path(s) ‘/nix/store/i00wl58v70bnag2aj5j508i0lf6zfvgh-ghc-7.10.1’
  created 466 symlinks in user environment
  Warning: haddock-interfaces: /nix/store/kqa9j6bvhal97vfw53sjj5dvy2vrsf37-haskell-nats-1/share/doc/x86_64-linux-ghc-7.10.1/nats-1/html/nats.haddock doesn't exist or isn't a file
  Warning: haddock-html: /nix/store/kqa9j6bvhal97vfw53sjj5dvy2vrsf37-haskell-nats-1/share/doc/x86_64-linux-ghc-7.10.1/nats-1/html doesn't exist or isn't a directory
  Warning: haddock-interfaces: /nix/store/vwr4g64m1nh1mqnm4wb9s5zcm0qi8865-haskell-either-4.3.3.2/share/doc/x86_64-linux-ghc-7.10.1/either-4.3.3.2/html/either.haddock doesn't exist or isn't a file
  Warning: haddock-html: /nix/store/vwr4g64m1nh1mqnm4wb9s5zcm0qi8865-haskell-either-4.3.3.2/share/doc/x86_64-linux-ghc-7.10.1/either-4.3.3.2/html doesn't exist or isn't a directory
  There are problems in package stylish-haskell-0.5.13.0:
    dependency "haskell-src-exts-1.16.0.1-ee302f10d377a662c6e5b92a4e19fb0a" doesn't exist
  Warning: haddock-interfaces: /nix/store/7w1cfhcvxk1xs8zngvq7cjlsid6apc28-haskell-hspec-discover-2.1.7/share/doc/x86_64-linux-ghc-7.10.1/hspec-discover-2.1.7/html/hspec-discover.haddock doesn't exist or isn't a file
  Warning: haddock-html: /nix/store/7w1cfhcvxk1xs8zngvq7cjlsid6apc28-haskell-hspec-discover-2.1.7/share/doc/x86_64-linux-ghc-7.10.1/hspec-discover-2.1.7/html doesn't exist or isn't a directory

  The following packages are broken, either because they have a problem
  listed above, or because they depend on a broken package.
  stylish-haskell-0.5.13.0
  builder for ‘/nix/store/2hh4d5dnqjfq4wg90v5ai3mfqkai0qcw-ghc-7.10.1.drv’ failed with exit code 1
  error: build of ‘/nix/store/2hh4d5dnqjfq4wg90v5ai3mfqkai0qcw-ghc-7.10.1.drv’ failed

  ```

  Note that I have set up the binary caches in /etc/nix/nix.conf:

  ```
  binary-caches = https://cache.nixos.org/  http://hydra.cryp.to/ http://hydra.nixos.org/
  trusted-binary-caches = http://hydra.nixos.org http://hydra.cryp.to
  ```

  I am using the latest master from `nixpkgs` and `stylish-haskell` job is green on `hydra.cryp.to`.

  The only rational explanation I can come up with is that there is another haskell-src-exts-1.16.0.1 that is used in my profile but with a different hash:

  ```
  > ls /nix/store/ | grep haskell-src-exts  
  6bh0njhvzwbgfcfw03li83hc9gcg8z30-haskell-haskell-src-exts-1.16.0.1.drv
  ka31lq64qnl5f035izigkr6cw4qv4f8g-haskell-haskell-src-exts-1.16.0.1.drv
  n5l1zbz4hamqmfvrx81xh1fsqywy5hnv-haskell-src-exts-1.16.0.1.tar.gz.drv
  pwjd8bx4k1nph5zzk781dlq1fy3vd964-haskell-haskell-src-exts-1.16.0.1
  q8h8hlbs7d052kba9f182k5nxbxf3sh9-haskell-src-exts-1.16.0.1.tar.gz.drv
  qffn9li6g0chg908q5662z01scllmhjy-haskell-haskell-src-exts-ghc7.8.3-1.16.0.1-shared
  s80k1864v642b4n219zbdyc6a5aqcm2h-haskell-src-exts-1.16.0.1.tar.gz.drv
  vpdij5rlmkf69g76pq7z69c24cjlij0l-haskell-haskell-src-exts-1.16.0.1.drv

  ```

  How can I fix this ?
  Thanks for your help.


state: closed
title: Sane default configuration for sabnzbd module
user_login: stephenmw
html_url: https://github.com/NixOS/nixpkgs/pull/7680
updated_at: 2015-05-05 08:15:34
body:
  Added option to set user. Use unprivileged user by default. Add sane default
  for configuration location.

  This is my first PR to nixpkgs. Go easy on me :-)

  Also, this will probably break people currently using sabnzbd since it sets different permissions.


state: closed
title: patch-headers: Add fixup hook
user_login: wkennington
html_url: https://github.com/NixOS/nixpkgs/pull/7681
updated_at: 2016-03-02 19:45:52
body:
  This patch is the first step in removing some of the propagatedBuildInputs hacks needed for some applications which depend on headers but don't list them in their package config, or are not detected through the package config interface.

  This patch adds a hook which resolves all includes within c / c++ header files to their absolute paths and substitutes them into the original headers. This should mimic the behavior of cpp -I / -isystem in the behavior of resolution. It also respects the distinction between system includes and system + cwd includes (#include <> vs #include "").

  Eg. If we are building libvorbis and we have $out/include/codec.h which contains "#include <ogg/ogg.h>" this would resolve that to ${libogg}/include/ogg/ogg.h and replace the include with "#include \"/nix/store/xxxxxxxxxxxxxxxxxx-libogg-1.3.2/include/ogg/ogg.h\"".


state: closed
title: Make dynamic inventory script ec2.py work
user_login: pesterhazy
html_url: https://github.com/NixOS/nixpkgs/pull/7682
updated_at: 2015-05-04 09:45:24
body:
  Ansible's official dynamic inventory script for AWS, ec2.py, requires python library `six` to work properly. This commit adds the library as a dependency.


state: closed
title: fix wavpack .pc file
user_login: MarcWeber
html_url: https://github.com/NixOS/nixpkgs/pull/7684
updated_at: 2015-05-05 08:04:28
body:
  The .pc file is missing declaration of exec_prefix causing other packages to
  fail such as gst-plugins-good beacuse pkg-config stops processing
  remaining .pc files

  I notified david at wavpack com

  enableParallelBuilding = true; also happens to work


state: closed
title: mismatched sha256 code of moderntimeline.nix (14.12.648.c7f7f12 (Caterpillar))
user_login: shen390s
html_url: https://github.com/NixOS/nixpkgs/issues/7686
updated_at: 2015-05-04 10:44:34
body:
  1. nixos version
     [root@pc13x:~/.nix-defexpr/channels/nixos]# nixos-version 
     14.12.648.c7f7f12 (Caterpillar)
  2. reproduce of problem
     [root@pc13x:~/.nix-defexpr/channels/nixos]# nix-env -i texlive-full 
     installing ‘texlive-full’
     these derivations will be built:
     /nix/store/ydr4isx01gmncjx996n7mvblrv7pgwsn-moderntimeline.zip.drv
     /nix/store/mjv0b1d80yf65b7gkg7c2gcvb74kxm28-moderntimeline-0.7.drv
     /nix/store/0kf3cckq9qizlfmrzmhnxm6knd8ya1as-TeXLive-linkdir.drv
     building path(s) ‘/nix/store/rw04h4i99w8816y4ihjw7l7fhq33i3cr-moderntimeline.zip’

  trying http://www.ctan.org/tex-archive/macros/latex/contrib/moderntimeline.zip
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  100   353  100   353    0     0    171      0  0:00:02  0:00:02 --:--:--     0
  100  177k  100  177k    0     0  43998      0  0:00:04  0:00:04 --:--:--  159k
  output path ‘/nix/store/rw04h4i99w8816y4ihjw7l7fhq33i3cr-moderntimeline.zip’ should have sha256 hash ‘0dxwybanj7qvbr69wgsllha1brq6qjsnjfff6nw4r3nijzvvh876’, instead has ‘0y2m0qd0izrfjcwrmf3nvzkqmrhkdhzbv29s4c0knksdnfgcchc8’
  cannot build derivation ‘/nix/store/mjv0b1d80yf65b7gkg7c2gcvb74kxm28-moderntimeline-0.7.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/0kf3cckq9qizlfmrzmhnxm6knd8ya1as-TeXLive-linkdir.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/0kf3cckq9qizlfmrzmhnxm6knd8ya1as-TeXLive-linkdir.drv’ failed


state: closed
title: freemind: 0.9.0 -> 1.0.1
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/7687
updated_at: 2015-05-04 15:16:10
body:
  See http://freemind.sourceforge.net/wiki/index.php/FreeMind_1.0.0:_The_New_Features
  for an overview of changes in version 1.

  Tested briefly by creating, saving & loading a simple mind map. The
  problems referred to in the previous version of the build recipe
  do not occur for me.

  This patch simplifies the build somewhat, but it could still be improved
  by not copying the freemind dist wholesale into nix-support and replacing
  freemind.sh with a more specialized wrapper.


state: closed
title: [HaskellNG] Document HaskellNG
user_login: Profpatsch
html_url: https://github.com/NixOS/nixpkgs/issues/7688
updated_at: 2015-05-11 17:19:08
body:
  There is basically no documentation about haskell-ng at the moment.

  What is needed:
  1. In-code reasoning about how it works internally (I don’t know how much there is)
  2. API- and Function Documentation (where should that go? btw. there should be a nixdocs (read: haddock for nix) soon)
  3. Tutorials
     - on the wiki
     - in the language section of the nixpkgs manual


state: closed
title: Incorrect example in builtinsreadDir path in Nix Package Manager Guide (Version 1.9pre4103_1f795f9)
user_login: shen390s
html_url: https://github.com/NixOS/nixpkgs/issues/7690
updated_at: 2016-04-03 04:10:40
body:
  builtins.readDirpath Returnthecontentsofthedirectorypathasasetmappingdirectoryentriestothecorresponding file type. For instance, if directory A contains a regular file B and another directory C, then builtins.readDir ./A will return the set
  { A = "regular"; B = "directory"; }
  The possible values for the file type are "regular", "directory", "symlink" and "unknown".

  The result should be:
  { B = "regular"; C = "directory"; }


state: closed
title: Fix #7279, attribute interpreterName missing
user_login: obadz
html_url: https://github.com/NixOS/nixpkgs/pull/7691
updated_at: 2015-06-03 11:20:43
body:
  error: attribute ‘interpreterName’ missing, at "[..]/pkgs/development/web/nodejs/build-node-package.nix":7:16
  when doing nix-env -qa
  Fix #7279


state: closed
title: Documenting Nix attributes in source files
user_login: Profpatsch
html_url: https://github.com/NixOS/nixpkgs/issues/7692
updated_at: 2016-07-23 04:43:59
body:
  Edit: I am not working on this, this is a proposal.

  I propose to integrate API-documentation in Nixexprs, as to be able to write any sensible programmer-facing documentation at all.

  I have a few ideas from my beginner-perspective, though I am probably simplifying the issue.

  As far as I see it we have attributes as basic semantic building blocks. Those are anything from nullary to n-ary, or 1-ary if we take currying into account. Since they follow a simple definition scheme, it should be not hard to find a recursive strategy on how to handle documenting them.

  There could be a haddock-like approach where there is a third-party program that parses special commands and generates documentation, but I think with nixexprs we can do better than that and store it directly as metainformation. That way it can even be used by tools like `nix-repl`.
  A syntactic sugar version would be a haddock-like syntax built into the parser that is then stored as metainformation.

  Example (syntax of course subject to debate):

  ``` nix
  # | The actual default version of the haskellNG packages
  haskellngPackages = haskell-ng.packages.ghc784.override { … }

  # | My funny lambda function
  myLambda =
    # ^ because it’s super it takes that as first argument
    super:
    # ^ give it packages and a name or anything really. Will use it, promise.
    { pkgs, name, … }:
      …
  ```

  A thing that comes to mind with the aliases that are often defined and the propagation of attributes through re-definition is that it should be possible to display the inherited documentation, too.

  Edit:
  It might make sense to be able to document single attributes from input attrsets, too. I’m thinking about functions like [this one](https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/default.nix#L84) where differences between e.g. `buildInputs` and `nativeBuildInputs` are not obvious. (Note that they are in fact documented, but [several lines down](https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/default.nix#L143), between implementation noise; this took a rather long time to find).


state: closed
title: dbus: Build on Darwin (Regression fix)
user_login: spwhitt
html_url: https://github.com/NixOS/nixpkgs/pull/7694
updated_at: 2015-12-17 06:46:21
body:
  Re-enables building dbus on darwin, disabled in 232b71c6e8d0722270568567c9a343ad7e15602d.

  Dbus does build on Darwin, and is a dependency of several important packages
  such as gtk3.

  @wkennington


state: closed
title: support hdevtools in haskellng infrastructure
user_login: dmalikov
html_url: https://github.com/NixOS/nixpkgs/issues/7695
updated_at: 2015-05-13 18:43:02
body:
  There is a [paragraph "Local use via myEnvFun" at "Haskell" page](https://nixos.org/wiki/Haskell#Local_use_via_myEnvFun) describing so-called `myEnvFun` flow and how it could be used for building an isolated development environment with bunch of utilities like `hdevtools` and some others.

  Despite the fact that there should be `pkgs.haskellPackages.ghcWithPackagesOld` used instead of `pkgs.haskellPackages.ghcWithPackages`, this method have been working properly providing adequate environment for tools like `hdevtools`.

  There is [a comment at the page added](https://nixos.org/w/index.php?title=Haskell&diff=24023&oldid=24000) by Goibhniu at February 28th saying "Warning: this is outdated. It is recommended to use nix-shell instead of myEnvFun". And this comment seems to be very legit, because in this new infrastructure `hdevtools` [doesn't see any installed modules any more](https://gist.githubusercontent.com/dmalikov/8baef56b0e599037d454/raw/adcc78e9f1ecccb1ba937c717b22cdb94d7d0790/gistfile1.txt).

  How to use hdevtools in haskellng infrastructure? If there is a solution, the documentation should be updated.

  cc @peti : could you please shed some light on it?


state: closed
title: X won't start with Nvidia or Nouveau drivers on GTX 860M
user_login: vr2262
html_url: https://github.com/NixOS/nixpkgs/issues/7696
updated_at: 2018-06-24 17:25:43
body:
  As per the NixOS manual, I tried to enable the Nvidia driver using

  ```
  services.xserver.videoDrivers = [ "nvidia" ];
  ```

  After rebuilding and rebooting, X doesn't start. I tried to check the display manager service:

  ``` console
  $ systemctl status display-manager
  ● display-manager.service - X11 Server
     Loaded: loaded (/nix/store/zacnf54ph45ghlgg5axiqizrc827q390-unit-display-manager.service/display-manager.service)
     Active: active (running) since Mon 2015-05-04 18:10:48 CEST; 1min 1s ago
    Process: 1626 ExecStartPre=/nix/store/m0nmfbpwcb5zf3r7qbmpjc486r43ksnn-unit-script/bin/display-manager-pre-start (code=exited, status=0/SUCCESS)
   Main PID: 1640 (gdm)
     CGroup: /system.slice/display-manager.service
             └─1640 /nix/store/1nnnvi056hkkiffz49yplgl5g2dyic1g-gdm-3.12.2/sbin/gdm

  May 04 18:10:48 viktor.zareason.nixos gdm-Xorg-:5[1694]: (EE)
  May 04 18:10:48 viktor.zareason.nixos gdm-Xorg-:5[1694]: Please consult the The X.Org Foundation support
  May 04 18:10:48 viktor.zareason.nixos gdm-Xorg-:5[1694]: at http://wiki.x.org
  May 04 18:10:48 viktor.zareason.nixos gdm-Xorg-:5[1694]: for help.
  May 04 18:10:48 viktor.zareason.nixos gdm-Xorg-:5[1694]: (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
  May 04 18:10:48 viktor.zareason.nixos gdm-Xorg-:5[1694]: (EE)
  May 04 18:10:48 viktor.zareason.nixos gdm-Xorg-:5[1694]: (EE) Server terminated with error (1). Closing log file.
  May 04 18:10:48 viktor.zareason.nixos display-manager-start[1640]: Child process 1694 was already dead.
  May 04 18:10:48 viktor.zareason.nixos display-manager-start[1640]: GdmDisplay: display lasted 0.042872 seconds
  May 04 18:10:48 viktor.zareason.nixos display-manager-start[1640]: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
  ```

  X.0.log:

  ```
  [     5.011] 
  X.Org X Server 1.16.4
  Release Date: 2014-12-20
  [     5.011] X Protocol Version 11, Revision 0
  [     5.011] Build Operating System: Linux 3.12.27 x86_64 
  [     5.011] Current Operating System: Linux viktor.zareason.nixos 3.14.34 #1-NixOS SMP Thu Jan 1 00:00:01 UTC 1970 x86_64
  [     5.011] Kernel command line: BOOT_IMAGE=(hd0,msdos4)/nix/store/2g0dz7iapq7fynpngqyr33pj09bkq9zk-linux-3.14.34/bzImage systemConfig=/nix/store/ikr7al2havs36hla1n0v7qg7sdn5g1n4-nixos-14.12.496.5f7d374 init=/nix/store/ikr7al2havs36hla1n0v7qg7sdn5g1n4-nixos-14.12.496.5f7d374/init loglevel=4
  [     5.011] Build Date: 01 March 2015  04:27:12AM
  [     5.011]  
  [     5.011] Current version of pixman: 0.32.6
  [     5.011]    Before reporting problems, check http://wiki.x.org
      to make sure that you have the latest version.
  [     5.011] Markers: (--) probed, (**) from config file, (==) default setting,
      (++) from command line, (!!) notice, (II) informational,
      (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  [     5.011] (++) Log file: "/var/log/X.0.log", Time: Mon May  4 18:10:48 2015
  [     5.012] (++) Using config file: "/nix/store/23p9nmyqay94895yyxq121v9287kvmzd-xserver.conf"
  [     5.012] (==) Using system config directory "/nix/store/byfwj18c0vqv7z23grqjb4zdjkcdfwp5-xorg-server-1.16.4/share/X11/xorg.conf.d"
  [     5.012] (==) ServerLayout "Layout[all]"
  [     5.012] (**) |-->Screen "Screen-nvidia[0]" (0)
  [     5.012] (**) |   |-->Monitor "<default monitor>"
  [     5.012] (**) |   |-->Device "Device-nvidia[0]"
  [     5.012] (==) No monitor specified for screen "Screen-nvidia[0]".
      Using a default monitor configuration.
  [     5.012] (**) Option "AllowMouseOpenFail" "on"
  [     5.012] (==) Automatically adding devices
  [     5.012] (==) Automatically enabling devices
  [     5.012] (==) Automatically adding GPU devices
  [     5.012] (**) FontPath set to:
      /nix/store/3pbnv5fsknh53cfjwqb89n0s75ywmkny-font-bh-ttf-1.0.3/lib/X11/fonts/TTF,
      /nix/store/id3pjhddh4iy42yml928f54wr585s8mn-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
      /nix/store/iycwkhsz5im0wjq9kb54yxig0049frm1-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
      /nix/store/l8rcr4dnps5c4rjsdbsbn9a5znlw0hd9-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
      /nix/store/nwxwvz3z4qxb6ljaxrcbnphkxdl3cjh4-font-misc-misc-1.1.2/lib/X11/fonts/misc,
      /nix/store/9qfd5x9pbbjgnmrqwrhcwkjxw8b9k9ym-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
      /nix/store/bq4i16p6jhzcm4i1pqarwzyjlxv9ma4v-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
      /nix/store/rrnyihgrhwjxnasp6jaira12rmarwd7r-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
  [     5.012] (**) ModulePath set to "/nix/store/3536xcs59rhrdkj6h286y9pxngv1xnf2-nvidia-x11-340.65-3.14.34/lib,/nix/store/3536xcs59rhrdkj6h286y9pxngv1xnf2-nvidia-x11-340.65-3.14.34/lib/xorg/modules,/nix/store/3536xcs59rhrdkj6h286y9pxngv1xnf2-nvidia-x11-340.65-3.14.34/lib/xorg/modules/drivers,/nix/store/3536xcs59rhrdkj6h286y9pxngv1xnf2-nvidia-x11-340.65-3.14.34/lib/xorg/modules/extensions,/nix/store/3536xcs59rhrdkj6h286y9pxngv1xnf2-nvidia-x11-340.65-3.14.34/lib/tls,/nix/store/byfwj18c0vqv7z23grqjb4zdjkcdfwp5-xorg-server-1.16.4/lib/xorg/modules,/nix/store/byfwj18c0vqv7z23grqjb4zdjkcdfwp5-xorg-server-1.16.4/lib/xorg/modules/extensions,/nix/store/byfwj18c0vqv7z23grqjb4zdjkcdfwp5-xorg-server-1.16.4/lib/xorg/modules/multimedia,/nix/store/g1awh0crnm8770ydfp17g22vpr26n4v4-xf86-input-evdev-2.9.1/lib/xorg/modules/input,/nix/store/hlw13bfcq7czs7h23m9ykkw87rypimb1-xf86-input-synaptics-1.8.1/lib/xorg/modules/input"
  [     5.012] (II) The server relies on udev to provide the list of input devices.
      If no devices become available, reconfigure udev or disable AutoAddDevices.
  [     5.012] (II) Loader magic: 0x80d9c0
  [     5.012] (II) Module ABI versions:
  [     5.012]    X.Org ANSI C Emulation: 0.4
  [     5.012]    X.Org Video Driver: 18.0
  [     5.012]    X.Org XInput driver : 21.0
  [     5.012]    X.Org Server Extension : 8.0
  [     5.013] (EE) systemd-logind: failed to get session: PID 1694 does not belong to any known session
  [     5.013] (II) xfree86: Adding drm device (/dev/dri/card1)
  [     5.013] (II) xfree86: Adding drm device (/dev/dri/card0)
  [     5.014] (--) PCI:*(0:0:2:0) 8086:0416:1558:2300 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
  [     5.014] (--) PCI: (0:1:0:0) 10de:1392:1558:2300 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
  [     5.014] (II) Open ACPI successful (/var/run/acpid.socket)
  [     5.014] (II) "glx" will be loaded by default.
  [     5.014] (II) LoadModule: "glx"
  [     5.014] (II) Loading /nix/store/3536xcs59rhrdkj6h286y9pxngv1xnf2-nvidia-x11-340.65-3.14.34/lib/xorg/modules/extensions/libglx.so
  [     5.022] (II) Module glx: vendor="NVIDIA Corporation"
  [     5.022]    compiled for 4.0.2, module version = 1.0.0
  [     5.022]    Module class: X.Org Server Extension
  [     5.022] (II) NVIDIA GLX Module  340.65  Tue Dec  2 09:10:06 PST 2014
  [     5.022] (II) LoadModule: "nvidia"
  [     5.023] (II) Loading /nix/store/3536xcs59rhrdkj6h286y9pxngv1xnf2-nvidia-x11-340.65-3.14.34/lib/xorg/modules/drivers/nvidia_drv.so
  [     5.023] (II) Module nvidia: vendor="NVIDIA Corporation"
  [     5.023]    compiled for 4.0.2, module version = 1.0.0
  [     5.023]    Module class: X.Org Video Driver
  [     5.023] (II) NVIDIA dlloader X Driver  340.65  Tue Dec  2 08:47:36 PST 2014
  [     5.023] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
  [     5.023] (++) using VT number 7

  [     5.028] (EE) No devices detected.
  [     5.028] (EE) 
  Fatal server error:
  [     5.028] (EE) no screens found(EE) 
  [     5.028] (EE) 
  Please consult the The X.Org Foundation support 
       at http://wiki.x.org
   for help. 
  [     5.028] (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
  [     5.028] (EE) 
  ```


state: closed
title: haskell / ghc installation questions
user_login: charles-cooper
html_url: https://github.com/NixOS/nixpkgs/issues/7699
updated_at: 2015-05-04 17:58:46
body:
  Hi,
  Sorry for the newbie questions but I am very confused. I am running unstable nixos:

  ```
  $ nixos-version
  15.05pre60905.2d8cfe7 (Dingo)
  ```

  Installing ghc via nix-env works

  ```
  $ nix-env -i ghc
  installing ‘ghc-7.8.4-wrapper’
  building path(s) ‘/nix/store/ilbam5xmbrc8wjhc8j6750xvq4q2m2aq-user-environment’
  created 810 symlinks in user environment
  ```

  However when I put it in my .nixpkgs/config:

  ```
  $ cat .nixpkgs/config.nix 
  {
    packageOverrides = pkgs_: with pkgs_; {
      all = with pkgs; buildEnv {
        name = "all";
        paths = [
          wget
          nmap
          bind
          w3m
          git
          nixops
          mosh
          ghc
        ];
      };
    };
  }
  $ nix-env -i all
  replacing old ‘all’
  installing ‘all’
  error: cannot coerce a set to a string, at "/nix/store/q7gp6q24qzv9i7nhvgk0sa01zgn8mqy5-nixos-15.05pre60905.2d8cfe7/nixos/nixpkgs/pkgs/build-support/trivial-builders.nix":10:14
  (use ‘--show-trace’ to show detailed location information)
  ```

  This is seriously confusing!

  Further, I am having trouble understanding the namespace system:

  ```
  $ nix-env -qaP | grep "haskellPackages.ghc "
  nixos.pkgs.haskellPackages.ghc                                                 ghc-7.8.4-wrapper
  $ nix-env -i nixos.pkgs.haskellPackages.ghc
  error: selector ‘nixos.pkgs.haskellPackages.ghc’ matches no derivations
  ```

  Same goes for nixpkgs.haskellPackages.ghc, pkgs.haskellPackages.ghc and haskellPackages.ghc What the hell? Further, libraries like nixos.pkgs.haskellPackages.HTTP fail to install:

  ```
  $ nix-env -qaP | grep HTTP | grep haskell
  nixos.pkgs.haskellPackages_ghc784_profiling.HTTP                               haskell-HTTP-ghc7.8.4-4000.2.18-profiling-shared
  nixos.pkgs.haskellPackages.HTTP                                                haskell-HTTP-ghc7.8.4-4000.2.18-shared
  nixos.pkgs.haskellPackages_ghc784_no_profiling.HTTP                            haskell-HTTP-ghc7.8.4-4000.2.18-shared
  $ nix-env -i HTTP
  error: selector ‘HTTP’ matches no derivations
  $ nix-env -i haskellPackages.HTTP
  error: selector ‘haskellPackages.HTTP’ matches no derivations
  $ nix-env -i pkgs.haskellPackages.HTTP
  error: selector ‘pkgs.haskellPackages.HTTP’ matches no derivations
  $ nix-env -i nixos.pkgs.haskellPackages.HTTP
  error: selector ‘nixos.pkgs.haskellPackages.HTTP’ matches no derivations
  $ nix-env -i nixpkgs.haskellPackages.HTTP
  error: selector ‘nixpkgs.haskellPackages.HTTP’ matches no derivations
  ```

  There is clearly a huge gap in my understanding. How do I get ghc in my config, and how do I install standard haskell packages? Thanks in advance for any and all help.


state: closed
title: gids not consistent between stable and unstable.
user_login: stephenmw
html_url: https://github.com/NixOS/nixpkgs/issues/7700
updated_at: 2016-04-03 04:10:16
body:
  https://github.com/NixOS/nixpkgs-channels/blob/nixos-unstable/nixos/modules/misc/ids.nix#L204
  https://github.com/NixOS/nixpkgs-channels/blob/nixos-unstable/nixos/modules/misc/ids.nix#L398
  https://github.com/NixOS/nixpkgs-channels/blob/nixos-14.12/nixos/modules/misc/ids.nix#L291

  While doing some development, I got a merge conflict. That made me look deeper and find this.

  Is it standard to change a gid to match the new uid? Does this break anything? I know that I can't upgrade to unstable without nixos failing to boot, might this be a cause?


state: closed
title: WIP: splitting packages into multiple outputs
user_login: vcunat
html_url: https://github.com/NixOS/nixpkgs/pull/7701
updated_at: 2018-03-30 21:12:24
body:
  (descriptions will be updated in-place)
  #### Current status
  - Most packages build fine: KDE4, some GNOME3 packages, Xfce. Hydra jobsets: http://hydra.nixos.org/jobset/nixos/closure-size http://hydra.nixos.org/jobset/nixpkgs/closure-size
  - I'm using NixOS off this (almost) without any problems since October, and there seem to be a few other users.
  - Preliminary introduction: http://lipa.ms.mff.cuni.cz/~cunav5am/nix/closure-size-notes.pdf (slightly outdated ATM).
  #### Current merge blocker:
  - See https://github.com/NixOS/nixpkgs/pull/7701#issuecomment-205014909.
  #### Minor stuff (not blocking merge to master)
  - linking problems in rare cases https://github.com/NixOS/nixpkgs/issues/12085
  - a few icons stopped appearing.
  - Darwin seems untested, and many other platforms might have problems.
  - Handling of outputs installed by default. Merging PRs: #12653, https://github.com/NixOS/nix/pull/815, and perhaps further improvements.


state: open
title: openvpn service waits a long time and fails
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/7703
updated_at: 2018-06-23 22:41:23
body:
  So openvpn has been patched to use sd_notify, and the systemd service to be Type=notify. However it doesn't seem to work. systemctl start just hangs until the timeout occurs for the notify event, and it marks the unit as failed, although openvpn started successfully.

  Looking at processes, it seems like it's asking for some kind of systemd password, I don't know why...

  For now I'm using `Type=simple`.


state: closed
title: libva-intel-driver: refactor
user_login: codyopel
html_url: https://github.com/NixOS/nixpkgs/pull/7704
updated_at: 2015-05-07 16:26:59
body:
  Cleanup patching shebangs
  Add `nativeBuildInputs`
  Explicitly enable flags (don't rely on auto detection unless necessary)


state: closed
title: less-475 upstream sha256 change
user_login: twhitehead
html_url: https://github.com/NixOS/nixpkgs/issues/7706
updated_at: 2015-05-14 15:25:20
body:
  I'm getting a

  > should have sha256 hash ‘1w7d10h6hzgz5zww8g4aja2fbl7xwx30vd07hcg1fcy7hm8yc1q2’, instead has ‘16703m6g5l97af3jwpypgac7gpmh3yjkdpqygf5a2scfip0hxm2g’

  for the upstream "http://www.greenwoodsoftware.com/less/less-475.tar.gz".

  This agrees with what I see if I manually download the file

  ```
  $ wget -d http://www.greenwoodsoftware.com/less/less-475.tar.gz
  $ nix-hash --flat --type sha256 --base32 less-475.tar.gz
  16703m6g5l97af3jwpypgac7gpmh3yjkdpqygf5a2scfip0hxm2g
  ```

  Not sure what has changed as I don't have the original.  Maybe 475 isn't a stable release point as it isn't actually listed on their [download page](http://www.greenwoodsoftware.com/less/download.html) (the last one listed is 471)?  I guess they could also have got hacked...?


state: closed
title: nixos-rebuild switch --upgrade fails with infinite recursion encountered
user_login: charles-cooper
html_url: https://github.com/NixOS/nixpkgs/issues/7707
updated_at: 2015-05-07 17:53:17
body:
  I am having trouble upgrading to unstable from 14.12

  ```
  $ nixos-version
  14.12.648.c7f7f12 (Caterpillar)
  $ nix-env --version
  nix-env (Nix) 1.8
  ```

  My configuration file is vanilla except for this being an ec2 instance:

  ```
  $ cat /etc/nixos/configuration.nix 
  { config, pkgs, ...}:
  {
    imports = [ ./amazon-base-config.nix ];
    ec2.hvm = true;

    environment.systemPackages = with pkgs; [
      wget
      vim
      bashCompletion
    ];

    services.openssh.enable = true;

    security.sudo.wheelNeedsPassword = false;
    users.extraUsers.charles = {
      isNormalUser = true;
      home = "/home/charles";
      extraGroups = ["wheel" "networkmanager"];
      description = "Charles Cooper";
      openssh.authorizedKeys.keys = [
        "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7wZD6M33wVs9t7XBPZcWvHtRs5QsySdoIp+DGt/mdJLd/F9QSUJf4lKiOE0zkee0cd2kDV/8qiPxmIR4Mhicp4vQAs8kpsLUO60WzgS7fHVYCxbrYas8Pchwm2+k2uzAhbK4GwxeMyc4NX3uk3TqtIZepjXJANycxpVNj+j2nYcT/Tx/R85JiqvV6zI2Iq7koCsSMK2H0qyDTNPuPYA2MgTQGXQoJbBb9BQft6+VfnZ25ppEqgzunIozvyEj74+5sIU1WT19CxIUOE6XJTwVTyzhxa30aw9HC2yvd+UPIP/k349+eMNX2fricNza5RGjpWqBe/u9H+MbFjTDRuVsr charles@macaque"
        "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6Km83uEx3MnUjbCvy+QYfCMuIqlXVUXwJ9ln0HjYkZdkyJ2xe+czcmQWhWfZF0zATcacVpvu9HFb7i2LlTYFcJ6Od6KmG6AbJGoYQvxzLg9B/PLuIe2UMx4+L86pWH+KvOMyH2eiZy/tei33S8NFLV9XSFHLxkCnFNB7Kb0liDr2+qtcZbo6EEuWYQ21wh4Naqk8agROaQ29LfMnMBfABt9Y+BtAIW3FWJSGybpS0glv0It7l6yETUA20npUeRu06NF591YngaUy9i2DRy1gULXIgzZnrLVXBrTygJXW0KKC9rGMLidu5ftMXoI1qh4eXusRJz9F5uKzDirIamw9x charles@lenovo-ideapad"
      ];
    };
  }
  ```

  Upgrading on the 14.12 channel is fine, but upgrading to unstable fails:

  ```
  $ sudo nixos-rebuild switch --upgrade --show-trace
  downloading Nix expressions from ‘https://nixos.org/releases/nixos/unstable/nixos-15.05pre61665.4c01e6d/nixexprs.tar.xz’...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100 5592k  100 5592k    0     0  2478k      0  0:00:02  0:00:02 --:--:-- 2479k
  unpacking channels...
  building Nix...
  error: while evaluating the attribute ‘config’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/lib/eval-config.nix":50:5:
  while evaluating the attribute ‘config’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":82:25:
  while evaluating ‘yieldConfig’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":69:29, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":68:16:
  while evaluating ‘mergeModules’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":160:26, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":59:17:
  while evaluating ‘mergeModules'’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":164:36, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":161:5:
  while evaluating ‘concatMap’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":54:18, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":200:9:
  while evaluating ‘fold’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":20:19, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":59:38:
  while evaluating ‘fold'’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":23:15, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":27:8:
  while evaluating ‘closeModules’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":86:27, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":54:16:
  while evaluating anonymous function at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":88:49, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":49:19:
  infinite recursion encountered
  error: while evaluating the attribute ‘pkgs’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/lib/eval-config.nix":63:32:
  while evaluating the attribute ‘config’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":82:25:
  while evaluating ‘yieldConfig’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":69:29, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":68:16:
  while evaluating ‘mergeModules’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":160:26, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":59:17:
  while evaluating ‘mergeModules'’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":164:36, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":161:5:
  while evaluating ‘concatMap’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":54:18, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":200:9:
  while evaluating ‘fold’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":20:19, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":59:38:
  while evaluating ‘fold'’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":23:15, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":27:8:
  while evaluating ‘closeModules’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":86:27, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":54:16:
  while evaluating anonymous function at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":88:49, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":49:19:
  infinite recursion encountered
  building the system configuration...
  error: while evaluating the attribute ‘config.system.build.toplevel’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/lib/eval-config.nix":50:5:
  while evaluating the attribute ‘config’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":82:25:
  while evaluating ‘yieldConfig’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":69:29, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":68:16:
  while evaluating ‘mergeModules’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":160:26, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":59:17:
  while evaluating ‘mergeModules'’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":164:36, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":161:5:
  while evaluating ‘concatMap’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":54:18, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":200:9:
  while evaluating ‘fold’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":20:19, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":59:38:
  while evaluating ‘fold'’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":23:15, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":27:8:
  while evaluating ‘closeModules’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":86:27, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":54:16:
  while evaluating anonymous function at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":88:49, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":49:19:
  infinite recursion encountered
  ```

  Anybody know what's going on?


state: closed
title: Update http-parser
user_login: Havvy
html_url: https://github.com/NixOS/nixpkgs/issues/7709
updated_at: 2015-05-19 20:47:56
body:
  The io.js 2.0.0 package requires http-parser to either be the version they give us or version 2.5.0. For now, I'm just using the version they give us (so I removed --shared-http-parser), but the package should be updated.


state: closed
title: broadcom-sta: fixes for kernel version >= 3.18
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/7710
updated_at: 2015-05-05 21:21:29
body:
  This replaces our patches with those from Arch's package [1]. Further
  discussion can be found on the Arch forum [2].

  This patch set is a superset of the previous set, and resolves the
  immediate and consistent kernel panics I've seen on my MacBook Pro
  Retina since switching from version 3.16 to 3.18 of the Linux kernel.

  1: https://aur.archlinux.org/packages/broadcom-wl/
  2: https://bbs.archlinux.org/viewtopic.php?id=192287


state: closed
title: Can't build with nix-build
user_login: jagajaga
html_url: https://github.com/NixOS/nixpkgs/issues/7712
updated_at: 2015-10-17 00:45:44
body:
  Hello! Trying to build https://github.com/jagajaga/ninja-thesis using `nix-build` and getting

  ```
  these derivations will be built:
    /nix/store/9admcfbmi2sni406phh2k4w9facc0qx9-thesis.drv
  building path(s) ‘/nix/store/0csik8aw0s1brbnl84y28axmvn2wp86k-thesis’
  unpacking sources
  unpacking source archive /nix/store/41ic6iw0v0kw4nwvv6siyzab33322xd0-ninja-thesis
  source root is ninja-thesis
  patching sources
  configuring
  invalid lock file in /tmp/nix-build-thesis.drv-6/ninja-thesis
  Setting top to                           : /tmp/nix-build-thesis.drv-6/ninja-thesis 
  Setting out to                           : /tmp/nix-build-thesis.drv-6/ninja-thesis/build 
  Checking for program tex                 : /nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/bin/tex 
  Checking for program latex               : /nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/bin/latex 
  Checking for program pdflatex            : /nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/bin/pdflatex 
  Checking for program xelatex             : /nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/bin/xelatex 
  Checking for program bibtex              : /nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/bin/bibtex 
  Checking for program dvips               : /nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/bin/dvips 
  Checking for program dvipdf              : /nix/store/v558jkab12a24k2gnvk5y8nlymv5lhnw-ghostscript-9.15/bin/dvipdf 
  Checking for program ps2pdf              : /nix/store/v558jkab12a24k2gnvk5y8nlymv5lhnw-ghostscript-9.15/bin/ps2pdf 
  Checking for program makeindex           : /nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/bin/makeindex 
  Checking for program pdf2ps              : /nix/store/v558jkab12a24k2gnvk5y8nlymv5lhnw-ghostscript-9.15/bin/pdf2ps 
  Checking for program pandoc              : /nix/store/qjxx9lj1p2zn404w3jwrsdizs6axk7ca-haskell-pandoc-1.13.2.1/bin/pandoc 
  'configure' finished successfully (0.013s)
  building
  Waf: Entering directory `/tmp/nix-build-thesis.drv-6/ninja-thesis/build'
  [3/8] pandoc: ch_First/sec_Intro.pd -> build/ch_First/sec_Intro.latex
  [3/8] pandoc: Introduction.pd -> build/Introduction.latex
  [3/8] pandoc: ch_First/sec_Moar.pd -> build/ch_First/sec_Moar.latex
  [4/8] pandoc: ch_Second/sec_Text.pd -> build/ch_Second/sec_Text.latex
  [5/8] pandoc: Conclusion.pd -> build/Conclusion.latex
  [6/8] pandoc: Licensing.pd -> build/Licensing.latex
  [7/8] pandoc: build/Introduction.latex ch_First/chapter.latex build/ch_First/sec_Intro.latex build/ch_First/sec_Moar.latex ch_Second/chapter.latex build/ch_Second/sec_Text.latex build/Conclusion.latex build/Licensing.latex -> build/main.latex
  [8/8] xelatex: build/main.latex -> build/main.pdf
  first pass on xelatex
  This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015/dev) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode
  (/tmp/nix-build-thesis.drv-6/ninja-thesis/build/main.latex
  LaTeX2e <2014/05/01>
  Babel <3.9l> and hyphenation patterns for 79 languages loaded.
  (/tmp/nix-build-thesis.drv-6/ninja-thesis/preamble.latex
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/extsizes/extreport.cls
  Document Class: extreport 1996/10/08 v1.0 Non Standard LaTeX document class

  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/extsizes/size14.clo)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/base/exscale.sty))
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/extsizes/extsizes.sty

  Package ExtSizes Warning: It is better to use one of the extsizes classes,
   if you can.


  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/extsizes/size14.clo))
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/geometry/geometry.sty
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/graphics/keyval.sty)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/gen
  eric/oberdiek/ifpdf.sty)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/gen
  eric/oberdiek/ifvtex.sty)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/gen
  eric/ifxetex/ifxetex.sty))
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/textpos/textpos.sty
  Package: textpos 2014/01/03 1.7j, absolute positioning of text on the page

  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/ms/everyshi.sty)
  Grid set 16 x 16 = 37.34424pt x 52.81541pt
  TextBlockOrigin set to 0pt x 0pt
  )
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/fontspec/fontspec.sty
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/l3kernel/expl3.sty
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/l3kernel/expl3-code.tex
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/etex-pkg/etex.sty))
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/l3kernel/l3unicode-data.def)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/l3kernel/l3xdvipdfmx.def))
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/l3packages/xparse/xparse.sty)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/fontspec/fontspec-patches.sty)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/fontspec/fontspec-xetex.sty
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/base/fontenc.sty
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/euenc/eu1enc.def)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/euenc/eu1lmr.fd)Fontconfig error: Cannot load default config file
  )
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/xel
  atex/xunicode/xunicode.sty
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/tipa/t3enc.def
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/euenc/eu1lmss.fd))
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/graphics/graphicx.sty
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/graphics/graphics.sty
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/graphics/trig.sty)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/latexconfig/graphics.cfg)
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/xel
  atex/xetex-def/xetex.def))))
  (/nix/store/a5h94i4ysxcjzm493i07hc4cz1m1h0ma-TeXLive-linkdir/texmf-dist/tex/lat
  ex/fontspec/fontspec.cfg)))kpathsea:make_tex: Invalid fontname `Liberation Serif', contains ' '


  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  !
  ! fontspec error: "font-not-found"
  ! 
  ! The font "Liberation Serif" cannot be found.
  ! 
  ! See the fontspec documentation for further information.
  ! 
  ! For immediate help type H <return>.
  !...............................................  

  l.9 \setmainfont{Liberation Serif}

  ? 
  ! Emergency stop.
  !...............................................  

  l.9 \setmainfont{Liberation Serif}

  No pages of output.
  Transcript written on main.log.
  Waf: Leaving directory `/tmp/nix-build-thesis.drv-6/ninja-thesis/build'
  Build failed
  Traceback (most recent call last):
    File "/tmp/nix-build-thesis.drv-6/ninja-thesis/.waf-1.7.10-4f6df1d839dc35640834d81573053140/waflib/Task.py", line 123, in process
      ret=self.run()
    File "/tmp/nix-build-thesis.drv-6/ninja-thesis/.waf-1.7.10-4f6df1d839dc35640834d81573053140/waflib/Task.py", line 47, in run
      return m1(self)
    File "/tmp/nix-build-thesis.drv-6/ninja-thesis/.waf-1.7.10-4f6df1d839dc35640834d81573053140/waflib/Task.py", line 47, in run
      return m1(self)
    File "/tmp/nix-build-thesis.drv-6/ninja-thesis/.waf-1.7.10-4f6df1d839dc35640834d81573053140/waflib/Tools/tex.py", line 161, in run
      self.check_status('error when calling latex',fun())
    File "/tmp/nix-build-thesis.drv-6/ninja-thesis/.waf-1.7.10-4f6df1d839dc35640834d81573053140/waflib/Tools/tex.py", line 100, in check_status
      raise Errors.WafError("%r command exit status %r"%(msg,retcode))
  WafError: 'error when calling latex' command exit status 1

  builder for ‘/nix/store/9admcfbmi2sni406phh2k4w9facc0qx9-thesis.drv’ failed with exit code 1
  error: build of ‘/nix/store/9admcfbmi2sni406phh2k4w9facc0qx9-thesis.drv’ failed
  ```

  But if I use `nix-shell --pure` I can build easily with these commands

  ```
  $ python ./waf configure
  $ python ./waf
  ```


state: closed
title: Texmaker and TeXStudio update
user_login: Chaddai
html_url: https://github.com/NixOS/nixpkgs/pull/7714
updated_at: 2015-05-06 09:13:31
body:
  Just updating texmaker and texstudio (IDEs for LaTeX) to the latest releases. Not much to see here (of course those were tested, they build and work).


state: closed
title: newsbeuter: 2.8 -> 2.9
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/7716
updated_at: 2015-05-23 08:30:38
body:
  This release has a logic error which causes the newsbeuter cache to be
  deleted on exit iff urls contains a single URL [1](no problem for n > 1).

  As a user I consider this an insignificant nuisance compared to the number
  of bugfixes also in this release.


state: closed
title: pulseaudio.nix: user and group are now pulseaudio
user_login: Lassulus
html_url: https://github.com/NixOS/nixpkgs/pull/7718
updated_at: 2015-05-06 00:26:43
body:
  pulseaudio couldn't start in system mode because it was complaining:
  "Failed to find user 'pulseaudio'."
  "Failed to find group 'pulseaudio'."


state: closed
title: ghc-7.10.1: fix user pkg db location for GHCJS
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/7719
updated_at: 2015-05-06 23:37:29
body:
  This cherry picks the commit referenced on the associated trac ticket:
  https://ghc.haskell.org/trac/ghc/ticket/10232

  This would, of course, cause a rebuild of all Haskell packages built with GHC 7.10.1.


state: closed
title: less: Update source package hash
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7721
updated_at: 2015-06-24 02:08:35
body:
  Upstream less seems to have changed the distribution package slightly.

  This is the diff (got the former package from http://mirror.pistoncloud.com/source/less-475.tar.gz):

  ```
  diff --git old/less-475/README new/less-475/README
  index 2d25c85..ed2bfb1 100644
  --- old/less-475/README
  +++ new/less-475/README
  @@ -1,7 +1,7 @@

                               Less, version 475

  -    This is the distribution of less, version 475, released 05 Mar 2015.
  +    This is the distribution of less, version 475, released 02 May 2015.
       This program is part of the GNU project (http://www.gnu.org).

       This program is free software.  You may redistribute it and/or
  diff --git old/less-475/filename.c new/less-475/filename.c
  index 290ba23..7e95d83 100644
  --- old/less-475/filename.c
  +++ new/less-475/filename.c
  @@ -979,7 +979,7 @@ close_altfile(altfilename, filename, pipefd)
              return;
      if (num_pct_s(lessclose) > 2) 
      {
  -       error("Invalid LESSCLOSE variable");
  +       error("Invalid LESSCLOSE variable", NULL_PARG);
          return;
      }
      len = (int) (strlen(lessclose) + strlen(filename) + strlen(altfilename) + 2);
  diff --git old/less-475/less.man new/less-475/less.man
  index 8c1430a..998c6b1 100644
  --- old/less-475/less.man
  +++ new/less-475/less.man
  @@ -1632,4 +1632,4 @@ LESS(1)                     General Commands Manual                    LESS(1)



  -                           Version 475: 05 Mar 2015                    LESS(1)
  +                           Version 475: 02 May 2015                    LESS(1)
  diff --git old/less-475/less.nro new/less-475/less.nro
  index 2a703c8..7b00158 100644
  --- old/less-475/less.nro
  +++ new/less-475/less.nro
  @@ -1,4 +1,4 @@
  -.TH LESS 1 "Version 475: 05 Mar 2015"
  +.TH LESS 1 "Version 475: 02 May 2015"
   .SH NAME
   less \- opposite of more
   .SH SYNOPSIS
  diff --git old/less-475/lessecho.man new/less-475/lessecho.man
  index a5bd9cd..b3a002e 100644
  --- old/less-475/lessecho.man
  +++ new/less-475/lessecho.man
  @@ -51,4 +51,4 @@ LESSECHO(1)                 General Commands Manual                LESSECHO(1)



  -                           Version 475: 05 Mar 2015                LESSECHO(1)
  +                           Version 475: 02 May 2015                LESSECHO(1)
  diff --git old/less-475/lessecho.nro new/less-475/lessecho.nro
  index 75285df..04b0656 100644
  --- old/less-475/lessecho.nro
  +++ new/less-475/lessecho.nro
  @@ -1,4 +1,4 @@
  -.TH LESSECHO 1 "Version 475: 05 Mar 2015"
  +.TH LESSECHO 1 "Version 475: 02 May 2015"
   .SH NAME
   lessecho \- expand metacharacters
   .SH SYNOPSIS
  diff --git old/less-475/lesskey.man new/less-475/lesskey.man
  index 76e1fe9..865367b 100644
  --- old/less-475/lesskey.man
  +++ new/less-475/lesskey.man
  @@ -355,4 +355,4 @@ LESSKEY(1)                  General Commands Manual                 LESSKEY(1)



  -                           Version 475: 05 Mar 2015                 LESSKEY(1)
  +                           Version 475: 02 May 2015                 LESSKEY(1)
  diff --git old/less-475/lesskey.nro new/less-475/lesskey.nro
  index fb62e8d..0f28994 100644
  --- old/less-475/lesskey.nro
  +++ new/less-475/lesskey.nro
  @@ -1,4 +1,4 @@
  -.TH LESSKEY 1 "Version 475: 05 Mar 2015"
  +.TH LESSKEY 1 "Version 475: 02 May 2015"
   .SH NAME
   lesskey \- specify key bindings for less
   .SH SYNOPSIS
  ```


state: closed
title: gcc49 in staging fails to build: Unable to find a usable ISL.
user_login: Ralith
html_url: https://github.com/NixOS/nixpkgs/issues/7723
updated_at: 2015-05-06 12:32:46
body:
  Ping @shlevy @viric @peti 

  Relevant section of config.log:

  ```
  configure:5894: checking for version 0.10 of ISL
  configure:5913: gcc -o conftest -g -O2 -I/nix/store/jvb91vadv979gywgfcmh6ix9yillss4y-isl-0.14/include -I/nix/store/wrwk289fryjq8c42nh5y1fi6lqrjsl16-gmp-5.1.3/include -I/nix/store/v2mq9xlmasb6z1ia3kalwpp0f81g8n4f-mpfr-3.1.2/include -I/nix/store/bnxq7b1nq3mhqc7s2wz3ihpadfly9
  6cn-libmpc-1.0.3/include    -L/nix/store/jvb91vadv979gywgfcmh6ix9yillss4y-isl-0.14/lib conftest.c  -lisl >&5
  configure:5913: $? = 0
  configure:5913: ./conftest
  configure:5913: $? = 1
  configure: program exited with status 1
  configure: failed program was:
  | /* confdefs.h */
  | #define PACKAGE_NAME ""
  | #define PACKAGE_TARNAME ""
  | #define PACKAGE_VERSION ""
  | #define PACKAGE_STRING ""
  | #define PACKAGE_BUGREPORT ""
  | #define PACKAGE_URL ""
  | #define LT_OBJDIR ".libs/"
  | /* end confdefs.h.  */
  | #include <isl/version.h>
  |    #include <string.h>
  | int
  | main ()
  | {
  | if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
  |      return 1;
  | 
  |   ;
  |   return 0;
  | }
  configure:5922: result: no
  configure:5942: checking for version 0.11 of ISL
  configure:5961: gcc -o conftest -g -O2 -I/nix/store/jvb91vadv979gywgfcmh6ix9yillss4y-isl-0.14/include -I/nix/store/wrwk289fryjq8c42nh5y1fi6lqrjsl16-gmp-5.1.3/include -I/nix/store/v2mq9xlmasb6z1ia3kalwpp0f81g8n4f-mpfr-3.1.2/include -I/nix/store/bnxq7b1nq3mhqc7s2wz3ihpadfly9
  6cn-libmpc-1.0.3/include    -L/nix/store/jvb91vadv979gywgfcmh6ix9yillss4y-isl-0.14/lib conftest.c  -lisl >&5
  configure:5961: $? = 0
  configure:5961: ./conftest
  configure:5961: $? = 1
  configure: program exited with status 1
  configure: failed program was:
  | /* confdefs.h */
  | #define PACKAGE_NAME ""
  | #define PACKAGE_TARNAME ""
  | #define PACKAGE_VERSION ""
  | #define PACKAGE_STRING ""
  | #define PACKAGE_BUGREPORT ""
  | #define PACKAGE_URL ""
  | #define LT_OBJDIR ".libs/"
  | /* end confdefs.h.  */
  | #include <isl/version.h>
  |    #include <string.h>
  | int
  | main ()
  | {
  | if (strncmp (isl_version (), "isl-0.11", strlen ("isl-0.11")) != 0)
  |      return 1;
  | 
  |   ;
  |   return 0;
  | }
  configure:5970: result: no
  configure:5990: checking for version 0.12 of ISL
  configure:6009: gcc -o conftest -g -O2 -I/nix/store/jvb91vadv979gywgfcmh6ix9yillss4y-isl-0.14/include -I/nix/store/wrwk289fryjq8c42nh5y1fi6lqrjsl16-gmp-5.1.3/include -I/nix/store/v2mq9xlmasb6z1ia3kalwpp0f81g8n4f-mpfr-3.1.2/include -I/nix/store/bnxq7b1nq3mhqc7s2wz3ihpadfly9
  6cn-libmpc-1.0.3/include    -L/nix/store/jvb91vadv979gywgfcmh6ix9yillss4y-isl-0.14/lib conftest.c  -lisl >&5
  configure:6009: $? = 0
  configure:6009: ./conftest
  configure:6009: $? = 1
  configure: program exited with status 1
  configure: failed program was:
  | /* confdefs.h */
  | #define PACKAGE_NAME ""
  | #define PACKAGE_TARNAME ""
  | #define PACKAGE_VERSION ""
  | #define PACKAGE_STRING ""
  | #define PACKAGE_BUGREPORT ""
  | #define PACKAGE_URL ""
  | #define LT_OBJDIR ".libs/"
  | /* end confdefs.h.  */
  | #include <isl/version.h>
  |    #include <string.h>
  | int
  | main ()
  | {
  | if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
  |      return 1;
  | 
  |   ;
  |   return 0;
  | }
  configure:6018: result: no
  configure:6054: error: Unable to find a usable ISL.  See config.log for details.
  ```


state: closed
title: Enable old pythons' wide builds
user_login: berdario
html_url: https://github.com/NixOS/nixpkgs/pull/7724
updated_at: 2015-05-10 10:18:02
body:
  You might want to make this configurable for the user, rather than just merging this straight away. Anyhow I think that this should be the default, rather than the narrow builds.

  Wide builds are the "correct" choice and won't fail at runtime. They also expose the same behavior as Python >= 3.3 . The tradeoff is obviously memory consumption.


state: closed
title: xss-lock: upstream fix: exit when X connection dies
user_login: willtim
html_url: https://github.com/NixOS/nixpkgs/pull/7725
updated_at: 2015-05-06 09:29:35
body:
  Updated to the latest xss-lock as I had some problems with prior versions not exiting on X session exit


state: closed
title: GITK without rebuilding all of git.
user_login: Ericson2314
html_url: https://github.com/NixOS/nixpkgs/issues/7726
updated_at: 2015-05-08 21:11:44
body:
  Looking at the git package, it seems the optional features are built always, and optionally pruned in postInstall. Would it be OK then to split the building of git, and post-install hooks into two different derivations? That way, users of the various non-standard combination of flags just end up running the postInstall fixes, not rebuilding all of git?

  I'm willing to do the myself, just need to know if this is kosher.


state: closed
title: pulseaudio: system user and group changed to pulse.
user_login: Lassulus
html_url: https://github.com/NixOS/nixpkgs/pull/7727
updated_at: 2015-05-06 10:46:15
body:
  pulseaudio couldnt be started in system-wide mode because the user and group pulseaudio couldn't be found.


state: closed
title: Add service for taskserver
user_login: matthiasbeyer
html_url: https://github.com/NixOS/nixpkgs/issues/7729
updated_at: 2016-03-02 13:28:35
body:
  I'd like to see taskwarrior/taskserver added as service.

  Anyone looking into this? I'd do it myself if nobody wants to (just asking here, so no work is doubled). Though it could take some while until I get it working as I have not much time atm.


state: open
title: crontab not able to read a user crontab from a file
user_login: ctheune
html_url: https://github.com/NixOS/nixpkgs/issues/7730
updated_at: 2018-05-04 18:20:00
body:
  This has been reported on the mailinglist previously and it also doesn't work for me:

  http://lists.science.uu.nl/pipermail/nix-dev/2014-September/014120.html

  ```
  [vagrant@nixos-14_12-i686:~]$ crontab  /home/vagrant/deployment/work/crontab/crontab
  cannot chdir(/var/cron), bailing out.
  /var/cron: Permission denied
  ```

  There is a temporary change of the UID when passing a file and I guess this fails to switch back. If you pass the file via stdin, everything is fine

  ```
  [vagrant@nixos-14_12-i686:/var/setuid-wrappers]$ crontab - <  /home/vagrant/deployment/work/crontab/crontab
  ```

  I'm not sure which variation of HAVE_SAVED_UIDS is in place and why it doesn't fail hard switching back. Sounds like it's accidentally switching back to the wrong UIDs. 

  Help? :)


state: closed
title: Add wpa_supplicant p2p patch (important fix for wifi users)
user_login: mdorman
html_url: https://github.com/NixOS/nixpkgs/pull/7731
updated_at: 2015-05-07 12:19:11
body:
  wpa_supplicant 2.4 appears to have a serious bug that makes impossible
  to use wifi for some number of people.

  (See https://bbs.archlinux.org/viewtopic.php?id=196584 for an example)

  It was resolved in a patch for the to-be-released
  2.5 (http://w1.fi/cgit/hostap/commit/?id=8a78e227df1ead19be8e12a4108e448887e64d6f),
  which it seemed worth it to cherry-pick here.


state: closed
title: libev: Resolve build problem on OSX 10.9.5
user_login: ericbmerritt
html_url: https://github.com/NixOS/nixpkgs/pull/7732
updated_at: 2015-05-15 16:14:28
body:
  At least on OSX 10.9.5 libev relies on some gnu99 specific
  keywords. Explicitly setting that flag in the CFLAGS variable solves
  the problem.


state: closed
title: Installation fails with empty error message
user_login: mwilson-ns
html_url: https://github.com/NixOS/nixpkgs/issues/7733
updated_at: 2015-05-10 11:50:19
body:
  **Note** -- this is a dupe of https://github.com/NixOS/nix/issues/527, but I thought it might be more appropriate here:

  I'm having difficulty installing, and there are no error diagnostics to provide further information.
  - I'm using Arch Linux
  - uname -a: Linux octet 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 x86_64 GNU/Linux

  ```
  [mwilson@octet nix-1.8-x86_64-linux]$ pwd
  /home/mwilson/nix/nix-1.8-x86_64-linux
  [mwilson@octet nix-1.8-x86_64-linux]$ ls
  install  store
  [mwilson@octet nix-1.8-x86_64-linux]$ ./install 
  performing a single-user installation of Nix...
  copying Nix to /nix/store..........................
  initialising Nix database...
  installing ‘nix-1.8’
  building path(s) ‘/nix/store/l1jay99nhry9n4y1d7wij405q8rp2p9p-user-environment’
  killing process 16684
  error: 
  ./install: unable to install Nix into your default profile
  ```


state: closed
title: ghcjs: properly wrap binaries in environment
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/7734
updated_at: 2015-05-08 16:26:07
body:
  This fixes [the problem](https://github.com/NixOS/nixpkgs/pull/7719#issuecomment-99578013) that @dnhgff brought to my attention. Without this patch, `ghcjs --make` can't find the packages installed by Nix.

  **Another consideration:**

  I believe we ought to have a separate set of env vars for GHCJS, so programs compiled via GHCJS find the correct libs/compiler. This would entail editing [`pkgs/development/haskell-modules/ghc-paths-nix.patch`](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/ghc-paths-nix.patch) so that the the env vars queried are predicated on the compiler. A simple ~~`#ifdef __GHCJS__`~~ `#ifdef ghcjs_HOST_OS` should do.

  @peti how does that sound? If you agree, I'll add that to this PR.


state: closed
title: Clang 3.6 build fails during configuration when using gcc 5.1 stdenv
user_login: Ralith
html_url: https://github.com/NixOS/nixpkgs/issues/7737
updated_at: 2015-06-27 20:50:03
body:
  On nixos-unstable, the package `llvmPackages.clang-unwrapped.override { stdenv = overrideCC stdenv gcc51; }` (which is desirable because building with the default stdenv, which uses gcc 4.8, makes it impossible to use clang to compile C++14 code) fails to build with the following output:

  ```

  building path(s) ‘/nix/store/nch6rcgl79a1kzjwlrg00ppsbbwjxa83-clang-3.6.0’
  unpacking sources
  unpacking source archive /nix/store/bb4xjd3fzfgiar0v9qh0r5xr33s35flb-cfe-3.6.0.src.tar.xz
  unpacking source archive /nix/store/5srg1dpwxqrahq67mn85fvglb3ljxmdv-clang-tools-extra-3.6.0.src.tar.xz
  patching sources
  applying patch /nix/store/4lmk3i6d1q33m1k552lggx37mfamidf3-purity.patch
  patching file lib/Driver/Tools.cpp
  Hunk #1 succeeded at 7478 (offset 123 lines).
  applying patch /nix/store/71630mds4chdmbj0v4fxq43zlzcdk5yd-cmake-exports.patch
  patching file CMakeLists.txt
  configuring
  fixing cmake files...
  cmake flags: -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DCMAKE_INSTALL_PREFIX=/nix/store/nch6rcgl79a1kzjwlrg00ppsbbwjxa83-clang-3.6.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-std=c++11 -DGCC_INSTALL_PREFIX=/nix/store/7jdpyxjdvc0dfs77qvhsslswlhmyd43g-gcc-5.1.0 -DC_INCLUDE_DIRS=/nix/store/6k9z1sfl7kghmagwd205k3i81pbcw57s-glibc-2.21/include 
  -- The C compiler identification is GNU 5.1.0
  -- The CXX compiler identification is GNU 5.1.0
  -- Check for working C compiler: /nix/store/w6j418km3zk7rrgh3kwxjfwj9qjpn5p4-gcc-wrapper-5.1.0/bin/gcc
  -- Check for working C compiler: /nix/store/w6j418km3zk7rrgh3kwxjfwj9qjpn5p4-gcc-wrapper-5.1.0/bin/gcc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working CXX compiler: /nix/store/w6j418km3zk7rrgh3kwxjfwj9qjpn5p4-gcc-wrapper-5.1.0/bin/g++
  -- Check for working CXX compiler: /nix/store/w6j418km3zk7rrgh3kwxjfwj9qjpn5p4-gcc-wrapper-5.1.0/bin/g++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Found LLVM_CONFIG as /nix/store/vbqhsp8dypi2vif4la84gn46kq2197qa-llvm-3.6.0/bin/llvm-config
  -- Performing Test C_SUPPORTS_FPIC
  -- Performing Test C_SUPPORTS_FPIC - Success
  -- Performing Test CXX_SUPPORTS_FPIC
  -- Performing Test CXX_SUPPORTS_FPIC - Success
  -- Building with -fPIC
  -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
  -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
  -- Performing Test C_SUPPORTS_WERROR_DATE_TIME
  -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
  -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
  -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
  -- Performing Test CXX_SUPPORTS_CXX11
  -- Performing Test CXX_SUPPORTS_CXX11 - Success
  -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
  -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
  -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
  -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
  -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
  -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
  -- Performing Test C_SUPPORTS_FDATA_SECTIONS
  -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
  -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
  -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
  CMake Error at /nix/store/vbqhsp8dypi2vif4la84gn46kq2197qa-llvm-3.6.0/share/llvm/cmake/AddLLVM.cmake:312 (add_library):
    add_library cannot create target "gtest" because an imported target with
    the same name already exists.
  Call Stack (most recent call first):
    /nix/store/vbqhsp8dypi2vif4la84gn46kq2197qa-llvm-3.6.0/share/llvm/cmake/AddLLVM.cmake:399 (llvm_add_library)
    /tmp/nix-build-llvm-3.6.0.drv-0/llvm/utils/unittest/CMakeLists.txt:41 (add_llvm_library)


  CMake Error at /nix/store/vbqhsp8dypi2vif4la84gn46kq2197qa-llvm-3.6.0/share/llvm/cmake/AddLLVM.cmake:371 (target_link_libraries):
    Cannot specify link libraries for target "gtest" which is not built by this
    project.
  Call Stack (most recent call first):
    /nix/store/vbqhsp8dypi2vif4la84gn46kq2197qa-llvm-3.6.0/share/llvm/cmake/AddLLVM.cmake:399 (llvm_add_library)
    /tmp/nix-build-llvm-3.6.0.drv-0/llvm/utils/unittest/CMakeLists.txt:41 (add_llvm_library)


  -- Configuring incomplete, errors occurred!
  See also "/tmp/nix-build-clang-3.6.0.drv-1/clang/build/CMakeFiles/CMakeOutput.log".
  builder for ‘/nix/store/00klaxn0qq20lwbyzdlhbfyj8hhx2dj7-clang-3.6.0.drv’ failed with exit code 1
  ```


state: closed
title: gcc: update default version to 4.9
user_login: Ralith
html_url: https://github.com/NixOS/nixpkgs/pull/7738
updated_at: 2015-09-21 16:09:26
body:
  Not sure if the changes are complete or correctly executed; mostly I want to start the conversation regarding making the change, and kick off tests. It might also be desirable to switch straight to 5.1, which has improved support for recent iterations of the standard. In particular, 4.9 has partial C++14 support, which 5.1 brings much closer to completion.


state: closed
title: ARM changes for the Jetson TK1 (and other multiplatform boards)
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7740
updated_at: 2015-06-24 02:09:39
body:
  These add the platform for hardfloat-capable ARMv7 boards that can boot with the `multi_v7_defconfig` kernel configuration. This can successfully build and boot on the nVIDIA Jetson TK1, apart from the boot script generator which I'm still working on.

  Even though this touches the kernel stuff this didn't cause any recompiles on x86.

  cc @viric @ambrop72 @Jookia (hopefully I won't break your setups :)


state: closed
title: firefox: Add option to build with GTK3
user_login: kirelagin
html_url: https://github.com/NixOS/nixpkgs/pull/7743
updated_at: 2015-06-11 19:21:40
body:
  Does anyone care about GTK3 as much as I do?
  Because, you know, pixel-perfect scrolling is awesome, I enjoy it every single time I use zathura and I miss it so much in my web browser!

  So, this PR makes Firefox build with GTK3 in a pretty straightforward way. To be honest, I have no idea what is the status of GTK3 support in Firefox right now, there is a [huge tracker](https://bugzilla.mozilla.org/show_bug.cgi?id=627699) but it is hard to tell what is expected to work. I definitely have a problem with themes, Oxygen is not being applied (that’s probably #5053) and there is another strange thing: all the popup menus are black.

  Any ideas?


state: closed
title: Fix calibre PDF handling
user_login: mdorman
html_url: https://github.com/NixOS/nixpkgs/pull/7746
updated_at: 2015-05-08 15:03:34
body:
  In c0d5cd0ff90cac2e04f6b436991baa4c4471150f, the binaries for poppler
  were carved off into a separate package, and calibre has had broken pdf
  support since.  This changes all dependencies on poppler to
  poppler_utils, which fixes this support, much as was done for
  cups_filter in 394562655ff09ef490eca8b14fe02c393e9ac70e.


state: closed
title: powerline: beta -> 2.1
user_login: benmont
html_url: https://github.com/NixOS/nixpkgs/pull/7751
updated_at: 2015-05-07 21:25:33
body:
  Checksum failed when trying to install powerline on darwin, so I updated it to pull from the latest release and made sure the checksum matched. 


state: closed
title: Add EventStore package
user_login: puffnfresh
html_url: https://github.com/NixOS/nixpkgs/pull/7752
updated_at: 2015-05-09 22:31:06
body:
  This also paramerises the V8 expression so that we can build with the required version.

  ---

  https://geteventstore.com/

  Would love to get feedback to see if this is an appropriate approach. I didn't want to duplicate the V8 expression since it compiles fine just with a different version and src.

  Should we have a top-level `v8_3_24_10` attribute?


state: closed
title: kopete fails to build on staging
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/7754
updated_at: 2015-05-08 02:50:45
body:
  ```
  /tmp/nix-build-kopete-4.14.3.drv-0/kopete-4.14.3/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc: In member function 'virtual bo
  ol cricket::LinphoneVoiceChannel::SetSendCodecs(const std::vector<cricket::AudioCodec>&)':
  /tmp/nix-build-kopete-4.14.3.drv-0/kopete-4.14.3/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc:206:60: error: 'MediaStream' ha
  s no member named 'session'
         port2 = rtp_session_get_local_port(audio_stream_->ms.session);
                                                              ^
  /tmp/nix-build-kopete-4.14.3.drv-0/kopete-4.14.3/protocols/jabber/libjingle/talk/session/phone/linphonemediaengine.cc:221:58: error: 'MediaStream' ha
  s no member named 'session'
       port2 = rtp_session_get_local_port(audio_stream_->ms.session);
                                                            ^
  protocols/jabber/libjingle/CMakeFiles/call.dir/build.make:514: recipe for target 'protocols/jabber/libjingle/CMakeFiles/call.dir/talk/session/phone/l
  inphonemediaengine.o' failed
  make[2]: *** [protocols/jabber/libjingle/CMakeFiles/call.dir/talk/session/phone/linphonemediaengine.o] Error 1
  CMakeFiles/Makefile2:4034: recipe for target 'protocols/jabber/libjingle/CMakeFiles/call.dir/all' failed
  make[1]: *** [protocols/jabber/libjingle/CMakeFiles/call.dir/all] Error 2
  Makefile:126: recipe for target 'all' failed
  make: *** [all] Error 2
  builder for ‘/nix/store/plrqh0k67qcvijkmv63jz9m053z2wiya-kopete-4.14.3.drv’ failed with exit code 2
  cannot build derivation ‘/nix/store/2pnkckrq131pbgc0zbk2m9cr1hgzgri2-kdenetwork-4.14.3.drv’: 1 dependencies couldn't be built
  ```

  cc @ttuegel @domenkozar 


state: closed
title: This resolves crypto++ build problems on OSX
user_login: ericbmerritt
html_url: https://github.com/NixOS/nixpkgs/pull/7756
updated_at: 2015-05-25 18:44:02
body:
  This should also resolve NixOS/nixpkgs#6150 and NixOS/nixpkgs#6157 in a way that doesn't break other platforms. It essentially changes the makefile from using libtool to ar directly. As a note: I have only tested this in OSX 10.9.5 with some of the ocaml packages that depend on crypto++. 


state: closed
title: add x42-plugins: a collection of LV2 plugins by Robin Gareus
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/pull/7758
updated_at: 2015-05-08 21:02:09
body:
  These are all Robin Gareus's plugins, including https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/meters_lv2/default.nix
  so we might want to get rid of that pkg. idk.

  During compilation, a warning pops up, saying some of the plugins are not thread safe.
  The makefile suggest:
  run   ./static_fft.sh    prior to make
  as a workaround. This does:
  # !/bin/sh

  set -e
  curl -L http://www.fftw.org/fftw-3.3.4.tar.gz | tar xz
  cd fftw-3.3.4/
  CFLAGS="-fvisibility=hidden -fPIC -Wl,--exclude-libs,ALL" \
      ./configure \
      --enable-single --enable-sse --enable-avx --disable-mpi \
      --disable-shared --enable-static
  make -j2

  But of course that doesn't work in the build env.
  I guess we could have a separate static fftw, and use that in all audio plugins, but I'm not sure how best to go about that.
  More information: https://github.com/FFTW/fftw3/issues/16

  BTW: the current pkg for meters.lv2 also has this issue, afaik.


state: closed
title: Add wpa_supplicant p2p patch.
user_login: mdorman
html_url: https://github.com/NixOS/nixpkgs/pull/7761
updated_at: 2015-05-08 15:34:32
body:
  wpa_supplicant 2.4 appears to have a serious bug that makes impossible
  to use wifi for some number of people.

  (See https://bbs.archlinux.org/viewtopic.php?id=196584 for an example)

  It was resolved in a patch for the to-be-released 2.5 which it seemed
  worth it to cherry-pick here.


state: closed
title: nix tools use ascii instead of unicode apostrophe
user_login: charles-cooper
html_url: https://github.com/NixOS/nixpkgs/issues/7763
updated_at: 2015-05-08 15:53:14
body:
  Hi all,
  Is it at all possible to refactor nix tools in general so that instead of outputting unicode stuff like
  instantiated ‘entropy-0.3.6.tar.gz’ -> ‘/nix/store/r7nsxd6k5ig8z6748rl49yzsc74pi89a-entropy-0.3.6.tar.gz.drv’
  (unicode `‘’`, i.e. `0x2018, 0x2019`)
  to use ascii `'`, i.e. `0x27`
  This would make it easier to write tools which parse the output, and also make it slightly easier to copy / paste terminal output :)
  I can find the relevant code and patch it but I was wondering specifically if this will cause breaking changes in the toolchain


state: closed
title: xmlsec openssl support
user_login: bfrog
html_url: https://github.com/NixOS/nixpkgs/issues/7764
updated_at: 2015-05-08 17:29:21
body:
  Currently xmlsec doesn't use openssl, but some of the functions in xmlsec require it and are disabled when using other libs


state: closed
title: haskell-wreq: fix on GHC 7.10.1
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/7766
updated_at: 2015-05-08 22:34:43
body:
  This cherry picks the fix from upstream.

  @peti Would you mind pulling this in and un-marking wreq's dependents as broken where necessary?


state: closed
title: Haskell: explicit reflex-dom dependencies for GHCJS
user_login: k0001
html_url: https://github.com/NixOS/nixpkgs/pull/7767
updated_at: 2015-05-08 20:11:01
body:
  When building `reflex-dom` for GHCJS, the following dependencies are notneeded and will fail to build: glib, gtk3, webkitgtk3, webkitgtk3-javascriptcore. Now we explicitely need the dependencies needed for building for GHCJS.


state: closed
title: ghcjs-base and ghcjs-prim versions seem inconsistent
user_login: purefn
html_url: https://github.com/NixOS/nixpkgs/issues/7768
updated_at: 2015-05-11 16:32:44
body:
  I'm seeing this error when comparing two `JSString` values using GHCJS 

  ```
  Could not deduce (Eq JSString) arising from a use of ‘==’
  ```

  I'm not sure exactly what is going on, but it seems like maybe this commit https://github.com/ghcjs/ghcjs-prim/commit/1d622ffecace0f56a73b7d32b71865d83fa2d496 is in play and this commit https://github.com/ghcjs/ghcjs-base/commit/bcd6988b07d99e7984de92857e87593e882642d3 isn't.

  But from what I can tell ghcjs-prim is using the 7.10 branch, which doesn't have the commit removing the `Eq` instance. So, I'm a bit stumped.

  @ryantrinkle @cstrahan any ideas?


state: closed
title: Refactor Agda build support
user_login: Ericson2314
html_url: https://github.com/NixOS/nixpkgs/pull/7769
updated_at: 2015-05-24 22:49:31
body:
  The first two commits should be pretty uncontroversial.

  The third removes a wrapper shell script intended for "public use". But the generated shell scripts were not used elsewhere in nixpkgs, nor are they terribly useful for Emacs integration (as was the intention IIUC) as that was broken for other reasons.

  I replaced the script with a simple environment variable that has the (resolved) agda binary "curried" with the build flags generated by the build support.

  With https://github.com/NixOS/nix/issues/534 we can have tools shell out to

  ``` sh
  nix-shell --command \$wrappedAgda -- <args...>
  ```

  As a proof of concept I ran

  ``` sh
  nix-shell --command '$wrappedAgda --interactive'
  ```

  by hand and everything worked correctly.

  Finally, making a script accessible to emacs like:

  ``` sh
  #/bin/sh
  nix-shell --command '$wrappedAgda '"$@"
  ```

  and having it call that also might work today. agda-mode got as far as checking and accepting the version of the binary, but then the process died for some reason.

  ---

  I'll rebase if this looks good--I've done it locally but just wanted to push what I actually tested. The only "conflict" is `haskell-ng` -> `haskell` on the line below in `all-packages.nix`


state: closed
title: [WIP] Add services file for taskwarrior server service
user_login: matthiasbeyer
html_url: https://github.com/NixOS/nixpkgs/pull/7771
updated_at: 2016-02-29 12:58:26
body:
  Adressing #7729 

  This is my approach on a service definition for taskserver. Unfortunately, I'm a bit stuck here, **maybe someone can help me?**

  [Documentation for taskserver](http://taskwarrior.org/docs/taskserver/setup.html) and how to install.

  ---

  as @bjornfor suggested, a list of things which need to be covered:
  - [x] Certificate generation (once)
  - [ ] Key generation (once)
  - [ ] User creation (on the taskserver) (declarative)
  - [ ] Export information the user needs in his `taskrc` file
    - [ ] Key
    - [ ] User-Certificate
    - [ ] CA-CertificateJJ
    - [ ] Credentials


state: closed
title: Add s3ql package
user_login: rushmorem
html_url: https://github.com/NixOS/nixpkgs/pull/7774
updated_at: 2015-05-09 15:22:12
body:
  S3QL is a file system that stores all its data online using storage
  services like Google Storage, Amazon S3, or OpenStack. S3QL effectively
  provides a hard disk of dynamic, infinite capacity that can be accessed
  from any computer with internet access running Linux, FreeBSD or OS-X.


state: closed
title: Document pypy+cffi problems
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/7785
updated_at: 2015-11-21 11:27:23
body:
  if a ppy package depends on pkgs.cffi it results into 

  ```
  Traceback (most recent call last):
    File "<builtin>/app_main.py", line 75, in run_toplevel
    File "setup.py", line 338, in <module>
      **keywords_with_side_effects(sys.argv)
    File "/nix/store/r8kqnhfvhgskyixnirgcl0mxh0lynnv7-pypy2.5-distutils.cfg/lib/pypy2.5/site-packages/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/nix/store/r8kqnhfvhgskyixnirgcl0mxh0lynnv7-pypy2.5-distutils.cfg/lib/pypy2.5/site-packages/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/nix/store/r8kqnhfvhgskyixnirgcl0mxh0lynnv7-pypy2.5-distutils.cfg/lib/pypy2.5/site-packages/distutils/dist.py", line 971, in run_command
      cmd_obj.ensure_finalized()
    File "/nix/store/r8kqnhfvhgskyixnirgcl0mxh0lynnv7-pypy2.5-distutils.cfg/lib/pypy2.5/site-packages/distutils/cmd.py", line 109, in ensure_finalized
      self.finalize_options()
    File "setup.py", line 106, in finalize_options
      self.distribution.ext_modules = get_ext_modules()
    File "setup.py", line 83, in get_ext_modules
      from cryptography.hazmat.primitives import constant_time, padding
    File "/tmp/nix-build-pypy2.5-cryptography-0.6.1.drv-0/cryptography-0.6.1/cryptography/hazmat/primitives/constant_time.py", line 32, in <module>
      _ffi = cffi.FFI()
    File "/nix/store/is0m4a80scqhnag2mfkklyzxw6x9y67m-pypy2.5-cffi-0.8.6/lib/pypy2.5/site-packages/cffi/api.py", line 58, in __init__
      assert backend.__version__ == __version__
  AssertionError
  builder for ‘/nix/store/sihh2ldmqx7mlcylnvx7qsqpiz9y4irl-pypy2.5-cryptography-0.6.1.drv’ failed with exit code 1
  ```

  The solution is not to depend on cffi as pypy already ships with it.


state: closed
title: Error while building grub2 menu
user_login: seppeljordan
html_url: https://github.com/NixOS/nixpkgs/issues/7786
updated_at: 2015-05-10 15:48:48
body:
  I get this error while executing `nixos-rebuild switch --upgrade`.

  ```
  building path(s) ‘/nix/store/hbnq07lwd5gb9pac9x7lzjx1jprz5wv3-unit-dbus.service’
  building path(s) ‘/nix/store/91p8sv4g14rrhnv0pbamw5n1frygig9f-unit-cron.service’
  building path(s) ‘/nix/store/bb77j0ns068nhd350q0b90x6damwhyvs-system-units’
  building path(s) ‘/nix/store/cgg34r0q3bdnk6x5j868sg561vmn3081-etc’
  building path(s) ‘/nix/store/h0zicnlvbx1jnv1nbjbfr1saa49p3501-nixos-15.05pre61987.7bda733’
  updating GRUB 2 menu...
  fileparse(): need a valid pathname at /nix/store/sv3wfwpwiwqpspkl8kyp2qjzg5yf943h-install-grub.pl line 373.
  warning: error(s) occured while switching to the new configuration
  ```

  My system is subscribed to `nixos-unstable-small`.  I can boot just fine.  The confusing part is that the mentioned file does not contain `fileparse()`.  Here is an excerpt starting with line 369:

  ```
      my $curEntry = 0;
      foreach my $link (@links) {
          last if $curEntry++ >= $configurationLimit;
          my $date = strftime("%F", localtime(lstat($link)->mtime));
          my $version =                                                           # line 373
              -e "$link/nixos-version"
              ? readFile("$link/nixos-version")
              : basename((glob(dirname(Cwd::abs_path("$link/kernel")) . "/lib/modules/*"))[0]);
          addEntry("NixOS - Configuration " . nrFromGen($link) . " ($date - $version)", $link);
      }
  ```

  The output of nixos-version after this procedure is

  ```
  $ nixos-version 
  15.05pre61665.4c01e6d (Dingo)
  ```


state: closed
title: rxvt_unicode should have a dependency on rxvt_unicode.terminfo
user_login: thespacepanda
html_url: https://github.com/NixOS/nixpkgs/issues/7787
updated_at: 2015-05-26 09:55:22
body:
  After adding rxvt_unicode to environment.systemPackages, many terminal applications refuse to open in urxvt unless the value for TERM is modified by the user, as referenced in [this](https://github.com/NixOS/nixpkgs/issues/4768) issue. Adding rxvt_unicode.terminfo fixes this issue, but it is not obvious and may confuse new users. I suggest that rxvt_unicode should imply the installation of rxvt_unicode.terminfo; if there are those who (for what ever reason) wish to install urxvt without the accompanying terminfo, we could possibly have another package that provides that functionality.


state: closed
title: elm is broken
user_login: vandenoever
html_url: https://github.com/NixOS/nixpkgs/issues/7789
updated_at: 2015-05-24 15:02:18
body:
  Neither 
  nix-env -iA nixos.pkgs.haskellngPackages.elm-compiler
  nor
  nixos.pkgs.haskell-ng.packages.ghc784.elm-compiler
  work on a current nixos with these channels:
  On ghc 7.8.4 the error is
   'package ansi-terminal-0.6.2.1 is broken due to missing package'
  On ghc 7.10, the build fails on language-glsl-0.1.1


state: closed
title: Fix compilation of language-glsl.
user_login: vandenoever
html_url: https://github.com/NixOS/nixpkgs/pull/7791
updated_at: 2015-05-13 11:35:08
body:
  The issue / patch https://github.com/noteed/language-glsl/pull/10 fixes
  a compilation problem with language-glsl.
  The packages pretty and prettyclass conflicted when compiled with GHC 7.10.


state: closed
title: Inconistent Haskell Binaries
user_login: jagajaga
html_url: https://github.com/NixOS/nixpkgs/issues/7792
updated_at: 2018-01-19 10:32:16
body:
  Using the latest nixos-unstable (`15.05pre61966.75ebc3c (Dingo)`)
  Trying `nix-env -iA nixos.pkgs.haskellngPackages.idris`
  Getting 

  ```
  installing ‘haskell-idris-0.9.17.1’
  these derivations will be built:
    /nix/store/brd7m3c8dy3803cdxp61n2x6g64ylxzz-haskell-idris-0.9.17.1.drv
  building path(s) ‘/nix/store/fi6xncgmy756v3w39p22zq661jxi8zag-haskell-idris-0.9.17.1’
  setupCompilerEnvironmentPhase
  Build with /nix/store/x6vp7154r4m8hc7fhgngakkbg8y8pqnm-ghc-7.10.1.
  unpacking sources
  unpacking source archive /nix/store/gmhl8ya5c73ml4gfixz4v58fxxgpzird-idris-0.9.17.1.tar.gz
  source root is idris-0.9.17.1
  patching sources
  Run jailbreak-cabal to lift version restrictions on build inputs.
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-haskell-idris-0.9.17.1.drv-0/package.conf.d -j1 -threaded
  [1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-haskell-idris-0.9.17.1.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/fi6xncgmy756v3w39p22zq661jxi8zag-haskell-idris-0.9.17.1 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-haskell-idris-0.9.17.1.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/fi6xncgmy756v3w39p22zq661jxi8zag-haskell-idris-0.9.17.1/lib/ghc-7.10.1/idris-0.9.17.1 --ghc-option=-j1 --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests -fffi -fgmp --extra-include-dirs=/nix/store/4cnb5zg0xziq80s9pqz3z1r9vvnj65ia-boehm-gc-7.2f/include --extra-lib-dirs=/nix/store/4cnb5zg0xziq80s9pqz3z1r9vvnj65ia-boehm-gc-7.2f/lib --extra-include-dirs=/nix/store/fjkshii315nzy8bh74wv0x51di09iadj-gmp-5.1.3/include --extra-lib-dirs=/nix/store/fjkshii315nzy8bh74wv0x51di09iadj-gmp-5.1.3/lib
  Configuring idris-0.9.17.1...
  Flags chosen: execonly=False, ci=False, freestanding=False, release=True,
  curses=False, gmp=True, ffi=True
  Dependency annotated-wl-pprint -any: using annotated-wl-pprint-0.6.0
  Dependency ansi-terminal -any: using ansi-terminal-0.6.2.1
  Dependency ansi-wl-pprint -any: using ansi-wl-pprint-0.6.7.2
  Dependency base -any: using base-4.8.0.0
  Dependency base64-bytestring -any: using base64-bytestring-1.0.0.1
  Dependency binary -any: using binary-0.7.3.0
  Dependency blaze-html -any: using blaze-html-0.7.1.0
  Dependency blaze-markup -any: using blaze-markup-0.6.3.0
  Dependency bytestring -any: using bytestring-0.10.6.0
  Dependency cheapskate -any: using cheapskate-0.1.0.3
  Dependency containers -any: using containers-0.5.6.2
  Dependency deepseq -any: using deepseq-1.4.1.1
  Dependency directory -any: using directory-1.2.2.0
  Dependency filepath -any: using filepath-1.4.0.0
  Dependency fingertree -any: using fingertree-0.1.0.2
  Dependency haskeline -any: using haskeline-0.7.2.1
  Dependency idris -any: using idris-0.9.17.1
  Dependency lens -any: using lens-4.9.1
  Dependency libffi <0.2: using libffi-0.1
  Dependency mtl -any: using mtl-2.2.1
  Dependency network -any: using network-2.6.1.0
  Dependency optparse-applicative -any: using optparse-applicative-0.11.0.2
  Dependency parsers -any: using parsers-0.12.1.1
  Dependency pretty -any: using pretty-1.1.2.0
  Dependency process -any: using process-1.2.3.0
  Dependency safe -any: using safe-0.3.8
  Dependency split -any: using split-0.2.2
  Dependency text -any: using text-1.2.0.4
  Dependency time -any: using time-1.5.0.1
  Dependency transformers -any: using transformers-0.4.2.0
  Dependency transformers-compat -any: using transformers-compat-0.4.0.4
  Dependency trifecta -any: using trifecta-1.5.1.3
  Dependency uniplate -any: using uniplate-1.6.12
  Dependency unix <2.8: using unix-2.7.1.0
  Dependency unordered-containers -any: using unordered-containers-0.2.5.1
  Dependency utf8-string -any: using utf8-string-0.3.8
  Dependency vector -any: using vector-0.10.12.3
  Dependency vector-binary-instances -any: using vector-binary-instances-0.2.1.0
  Dependency xml -any: using xml-1.3.14
  Dependency zlib -any: using zlib-0.5.4.2
  Setup: The following installed packages are broken because other packages they
  depend on are missing. These broken packages must be rebuilt before they can
  be used.
  package blaze-html-0.7.1.0 is broken due to missing package
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  package blaze-markup-0.6.3.0 is broken due to missing package
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  package charset-0.3.7.1 is broken due to missing package
  semigroups-0.16.2.2-9e371001c95378abb50aaaa29107f7f8
  package cheapskate-0.1.0.3 is broken due to missing package
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  package css-text-0.1.2.1 is broken due to missing package
  attoparsec-0.12.1.6-2dceb091855fa2d2aff2ca4101afc493,
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  package keys-3.10.1 is broken due to missing package
  comonad-4.2.5-7eef189f60ef3ade00c34373cbc94c20,
  free-4.11-d4d8f661de2b62a913b6aa8952ccaf4f,
  semigroupoids-4.3-7d27766d0e4e2d3668a87a193a1b7711,
  semigroups-0.16.2.2-9e371001c95378abb50aaaa29107f7f8
  package parsers-0.12.1.1 is broken due to missing package
  attoparsec-0.12.1.6-2dceb091855fa2d2aff2ca4101afc493,
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  package pointed-4.2 is broken due to missing package
  comonad-4.2.5-7eef189f60ef3ade00c34373cbc94c20,
  kan-extensions-4.2.1-cfecbba103d74d41abe43728892ba932,
  semigroupoids-4.3-7d27766d0e4e2d3668a87a193a1b7711,
  semigroups-0.16.2.2-9e371001c95378abb50aaaa29107f7f8
  package reducers-3.10.3.1 is broken due to missing package
  comonad-4.2.5-7eef189f60ef3ade00c34373cbc94c20,
  semigroupoids-4.3-7d27766d0e4e2d3668a87a193a1b7711,
  semigroups-0.16.2.2-9e371001c95378abb50aaaa29107f7f8,
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  package tagsoup-0.13.3 is broken due to missing package
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  package trifecta-1.5.1.3 is broken due to missing package
  comonad-4.2.5-7eef189f60ef3ade00c34373cbc94c20,
  lens-4.9.1-86f47912bc0540e77144b84a216cfee5,
  semigroups-0.16.2.2-9e371001c95378abb50aaaa29107f7f8
  package xml-1.3.14 is broken due to missing package
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  package xss-sanitize-0.3.5.5 is broken due to missing package
  attoparsec-0.12.1.6-2dceb091855fa2d2aff2ca4101afc493,
  text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91
  builder for ‘/nix/store/brd7m3c8dy3803cdxp61n2x6g64ylxzz-haskell-idris-0.9.17.1.drv’ failed with exit code 1
  error: build of ‘/nix/store/brd7m3c8dy3803cdxp61n2x6g64ylxzz-haskell-idris-0.9.17.1.drv’ failed
  ```

  cc @peti


state: closed
title: cabal-helper fails to test
user_login: jagajaga
html_url: https://github.com/NixOS/nixpkgs/issues/7793
updated_at: 2015-05-10 18:22:52
body:
  Using the latest nixos-unstable (`15.05pre61966.75ebc3c (Dingo)`)
  Trying `nix-env -iA nixos.pkgs.haskellngPackages.cabal-helper`
  Getting 

  ```
  installing ‘haskell-cabal-helper-0.3.4.0’
  these derivations will be built:
    /nix/store/v5k6zkzx79ihssdzg4rkk8q23q52xxqx-haskell-cabal-helper-0.3.4.0.drv
  building path(s) ‘/nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0’
  setupCompilerEnvironmentPhase
  Build with /nix/store/x6vp7154r4m8hc7fhgngakkbg8y8pqnm-ghc-7.10.1.
  unpacking sources
  unpacking source archive /nix/store/73gdbpc1g9da9k4z1xrwg58zifx5f2cn-cabal-helper-0.3.4.0.tar.gz
  source root is cabal-helper-0.3.4.0
  patching sources
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-haskell-cabal-helper-0.3.4.0.drv-0/package.conf.d -j1 -threaded
  [1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-haskell-cabal-helper-0.3.4.0.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-haskell-cabal-helper-0.3.4.0.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0/lib/ghc-7.10.1/cabal-helper-0.3.4.0 --ghc-option=-j1 --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests
  Configuring cabal-helper-0.3.4.0...
  Dependency Cabal >=1.14 && <1.23: using Cabal-1.22.2.0
  Dependency base >=4.5 && <5: using base-4.8.0.0
  Dependency bytestring -any: using bytestring-0.10.6.0
  Dependency cabal-helper -any: using cabal-helper-0.3.4.0
  Dependency data-default -any: using data-default-0.5.3
  Dependency directory -any: using directory-1.2.2.0
  Dependency filepath -any: using filepath-1.4.0.0
  Dependency ghc-prim -any: using ghc-prim-0.4.0.0
  Dependency mtl -any: using mtl-2.2.1
  Dependency process -any: using process-1.2.3.0
  Dependency template-haskell -any: using template-haskell-2.10.0.0
  Dependency temporary -any: using temporary-1.2.0.3
  Dependency transformers -any: using transformers-0.4.2.0
  Using Cabal-1.22.2.0 compiled by ghc-7.10
  Using compiler: ghc-7.10.1
  Using install prefix:
  /nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0
  Binaries installed in:
  /nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0/bin
  Libraries installed in:
  /nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0/lib/ghc-7.10.1/cabal-helper-0.3.4.0
  Private binaries installed in:
  /nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0/libexec
  Data files installed in:
  /nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0/share/x86_64-linux-ghc-7.10.1/cabal-helper-0.3.4.0
  Documentation installed in:
  /nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0/share/doc/x86_64-linux-ghc-7.10.1/cabal-helper-0.3.4.0
  Configuration files installed in:
  /nix/store/lav915naiz6iqpsg8ssjqdw29wmwn649-haskell-cabal-helper-0.3.4.0/etc
  No alex found
  Using ar found on system at:
  /nix/store/1j0vizfh6kalnkxjbchladh2f2q3wrgf-binutils-2.23.1/bin/ar
  No c2hs found
  No cpphs found
  Using gcc version 4.8.4 given by user at:
  /nix/store/qq15h6yahg9xjgnm55l66rsyp0bw2hix-gcc-wrapper-4.8.4/bin/gcc
  Using ghc version 7.10.1 found on system at:
  /nix/store/x6vp7154r4m8hc7fhgngakkbg8y8pqnm-ghc-7.10.1/bin/ghc
  Using ghc-pkg version 7.10.1 found on system at:
  /nix/store/x6vp7154r4m8hc7fhgngakkbg8y8pqnm-ghc-7.10.1/bin/ghc-pkg
  No ghcjs found
  No ghcjs-pkg found
  No greencard found
  Using haddock version 2.16.0 found on system at:
  /nix/store/x6vp7154r4m8hc7fhgngakkbg8y8pqnm-ghc-7.10.1/bin/haddock
  No happy found
  Using haskell-suite found on system at: haskell-suite-dummy-location
  Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
  No hmake found
  Using hpc version 0.67 found on system at:
  /nix/store/x6vp7154r4m8hc7fhgngakkbg8y8pqnm-ghc-7.10.1/bin/hpc
  Using hsc2hs version 0.67 found on system at:
  /nix/store/x6vp7154r4m8hc7fhgngakkbg8y8pqnm-ghc-7.10.1/bin/hsc2hs
  Using hscolour version 1.22 found on system at:
  /nix/store/dn0ndwzsiaj927l1v2a8qnsiw0rwsn06-hscolour-1.22/bin/HsColour
  No jhc found
  Using ld found on system at:
  /nix/store/qq15h6yahg9xjgnm55l66rsyp0bw2hix-gcc-wrapper-4.8.4/bin/ld
  No lhc found
  No lhc-pkg found
  No pkg-config found
  Using strip version 2.23 found on system at:
  /nix/store/1j0vizfh6kalnkxjbchladh2f2q3wrgf-binutils-2.23.1/bin/strip
  Using tar found on system at:
  /nix/store/s16y2pk8lljsm37b55h2dsl6gpbsb62g-gnutar-1.27.1/bin/tar
  No uhc found
  building
  Building cabal-helper-0.3.4.0...
  Preprocessing library cabal-helper-0.3.4.0...
  [1 of 3] Compiling CabalHelper.Types ( CabalHelper/Types.hs, dist/build/CabalHelper/Types.o )
  [2 of 3] Compiling Paths_cabal_helper ( dist/build/autogen/Paths_cabal_helper.hs, dist/build/Paths_cabal_helper.o )
  [3 of 3] Compiling Distribution.Helper ( Distribution/Helper.hs, dist/build/Distribution/Helper.o )
  In-place registering cabal-helper-0.3.4.0...
  Preprocessing executable 'cabal-helper-wrapper' for cabal-helper-0.3.4.0...
  [1 of 5] Compiling CabalHelper.GuessGhc ( CabalHelper/GuessGhc.hs, dist/build/cabal-helper-wrapper/cabal-helper-wrapper-tmp/CabalHelper/GuessGhc.dyn_o )
  [2 of 5] Compiling CabalHelper.Common ( CabalHelper/Common.hs, dist/build/cabal-helper-wrapper/cabal-helper-wrapper-tmp/CabalHelper/Common.dyn_o )

  CabalHelper/Common.hs:20:1: Warning:
      The import of ‘Control.Applicative’ is redundant
        except perhaps to import instances from ‘Control.Applicative’
      To import instances alone, use: import Control.Applicative()
  [3 of 5] Compiling CabalHelper.Data ( CabalHelper/Data.hs, dist/build/cabal-helper-wrapper/cabal-helper-wrapper-tmp/CabalHelper/Data.dyn_o )

  CabalHelper/Data.hs:22:1: Warning:
      The import of ‘Data.Functor’ is redundant
        except perhaps to import instances from ‘Data.Functor’
      To import instances alone, use: import Data.Functor()
  [4 of 5] Compiling Paths_cabal_helper ( dist/build/autogen/Paths_cabal_helper.hs, dist/build/cabal-helper-wrapper/cabal-helper-wrapper-tmp/Paths_cabal_helper.dyn_o )
  [5 of 5] Compiling Main             ( CabalHelper/Wrapper.hs, dist/build/cabal-helper-wrapper/cabal-helper-wrapper-tmp/Main.dyn_o )

  CabalHelper/Wrapper.hs:20:1: Warning:
      The import of ‘Control.Applicative’ is redundant
        except perhaps to import instances from ‘Control.Applicative’
      To import instances alone, use: import Control.Applicative()

  CabalHelper/Wrapper.hs:193:28: Warning:
      Defined but not used: ‘distdir’
  [4 of 5] Compiling CabalHelper.Data ( CabalHelper/Data.hs, dist/build/cabal-helper-wrapper/cabal-helper-wrapper-tmp/CabalHelper/Data.dyn_o )

  CabalHelper/Data.hs:22:1: Warning:
      The import of ‘Data.Functor’ is redundant
        except perhaps to import instances from ‘Data.Functor’
      To import instances alone, use: import Data.Functor()
  Linking dist/build/cabal-helper-wrapper/cabal-helper-wrapper ...
  Preprocessing test suite 'spec' for cabal-helper-0.3.4.0...
  [1 of 1] Compiling Main             ( tests/Spec.hs, dist/build/spec/spec-tmp/Main.dyn_o )

  tests/Spec.hs:3:1: Warning:
      Top-level binding with no type signature: main :: IO ()
  Linking dist/build/spec/spec ...
  running tests
  Running 1 test suites...
  Test suite spec: RUNNING...
  cabal-helper-wrapper: /homeless-shelter: createDirectory: permission denied (Permission denied)
  spec: readCreateProcess: /tmp/nix-build-haskell-cabal-helper-0.3.4.0.drv-0/cabal-helper-0.3.4.0/dist/build/cabal-helper-wrapper/cabal-helper-wrapper "./dist" "write-autogen-files" (exit 1): failed
  Test suite spec: FAIL
  Test suite logged to: dist/test/cabal-helper-0.3.4.0-spec.log
  0 of 1 test suites (0 of 1 test cases) passed.
  builder for ‘/nix/store/v5k6zkzx79ihssdzg4rkk8q23q52xxqx-haskell-cabal-helper-0.3.4.0.drv’ failed with exit code 1
  error: build of ‘/nix/store/v5k6zkzx79ihssdzg4rkk8q23q52xxqx-haskell-cabal-helper-0.3.4.0.drv’ failed

  ```

  cc @peti


state: closed
title: Fix Hydra build of EventStore
user_login: puffnfresh
html_url: https://github.com/NixOS/nixpkgs/pull/7796
updated_at: 2015-05-11 09:15:17
body:
  Need to patch the build.sh shebang to make it pure.

  ---

  You can see the Hydra job failure here:

  https://hydra.nixos.org/build/21992356

  ```
  /nix/store/jg990hzan73yksf8gghmri5iszdrr8mg-stdenv/setup: ./build.sh: /usr/bin/env: bad interpreter: No such file or directory
  ```


state: closed
title: wine: build wineStaging with 64bit support
user_login: bendlas
html_url: https://github.com/NixOS/nixpkgs/issues/7798
updated_at: 2015-05-18 18:49:59
body:
  Now that wine has been enabled for 64bit support, wineStaging is still 32bit only.
  I have attempted to enable it for 64bit here: https://github.com/bendlas/nixpkgs/commit/87ca35b1ebcfd58aee019693d3de11f21ff3d22b

  Unfortunately, (at least) the 32/64 bit build fails with a build error:

  ```
  In file included from /tmp/nix-build-wineWow-1.7.42-staging.drv-0/wine-1.7.42/server/async.c:32:0:
  /tmp/nix-build-wineWow-1.7.42-staging.drv-0/wine-1.7.42/server/file.h:147:1: error: unknown type name 'shmglobal_t'
   extern shmglobal_t *shmglobal;
   ^
  In file included from /tmp/nix-build-wineWow-1.7.42-staging.drv-0/wine-1.7.42/server/request.h:26:0,
                   from /tmp/nix-build-wineWow-1.7.42-staging.drv-0/wine-1.7.42/server/async.c:33:
  /tmp/nix-build-wineWow-1.7.42-staging.drv-0/wine-1.7.42/server/thread.h:91:5: error: unknown type name 'shmlocal_t'
       shmlocal_t            *shm;           /* thread local shared memory pointer */
       ^
  Makefile:218: recipe for target 'async.o' failed
  make[1]: *** [async.o] Error 1
  make[1]: Leaving directory '/tmp/nix-build-wineWow-1.7.42-staging.drv-0/wine64/server'
  ```

  @abbradar you packaged wine-staging, do you have a clue what's going on?


state: closed
title: Nix dependency sytem breaks perl
user_login: daniel-pfeiffer
html_url: https://github.com/NixOS/nixpkgs/issues/7800
updated_at: 2018-06-23 23:31:17
body:
  I get perl's @INC with /nix/store/py2az85s8vfbi26pc9mxcp2q2686gkiv-perl-5.20.1/lib/perl5/site_perl/5.20.1(/x86_64-linux-thread-multi)

  But when I install modules they all get linked into .nix-profile/lib/perl5/site_perl/5.20.1(/x86_64-linux-thread-multi) which points to /nix/store/0bkf101vlcdgxfalz7b01xmargrymy2z-user-environment/lib/perl5/site_perl/5.20.1(/x86_64-linux-thread-multi)

  I am sympathetic to the fact that perl does not depend on the modules installed later, hence can't know about them.  But the perverse effect is that any cron-job or other environment starting perl must export PERL5LIB or use -I to extend the search-path.

  My crude solution would be to install perl to such a path /nix/store/py2az85s8vfbi26pc9mxcp2q2686gkiv-perl-5.20.1/././/lib/perl5/5.20.1, artificially extended to to be as long as xxx-user-environment.  Then each user env would have a copy of bin/perl and CORE/libperl.so, where the path gets substituted in the binary (harmless because the string lengths are identical).

  A more elegant solution would be to split libperl.so into a tiny @INC setter, that then loads the original one.


state: closed
title: global: refactor
user_login: codyopel
html_url: https://github.com/NixOS/nixpkgs/pull/7804
updated_at: 2015-05-12 11:34:46
body:
  This just cleans up `configureFlags` and `nativeBuildInputs`

  I am not sure if there was a reason for the `--with-posix-sort=$(type -p sort)` hack, I switched it to use `--with-posix-sort=${coreutils}/bin/sort`

  @pSub @jwiegley 


state: closed
title: re-run of nixos-rebuild may be failed if the first run of nixos-rebuild failed
user_login: shen390s
html_url: https://github.com/NixOS/nixpkgs/issues/7806
updated_at: 2015-05-12 08:51:37
body:
  1. run nixos-rebuild as normal

  ```
  [root@pc13x:~/tmp/nix]# nixos-rebuild switch --upgrade     
  downloading Nix expressions from ‘https://nixos.org/releases/nixos/14.12/nixos-14.12.658.ccf672c/nixexprs.tar.xz’...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100 5017k  100 5017k    0     0   378k      0  0:00:13  0:00:13 --:--:--  487k
  unpacking channels...
  building Nix...
  building the system configuration...
  these derivations will be built:
    /nix/store/22inggzrbd5gz2pk34ab73sl5qzf0vcx-system-path.drv
    /nix/store/x30c1qb53fabyvbw2kv373h4j83bvp5y-system-crontab.drv
    /nix/store/i5xab5p6l9f2blsqzrmjq3yhfa4lwgwc-unit-script.drv
  ```

  <the first run has been failed>
  1. retry to run nixos-rebuild

  ```
  [root@pc13x:~/tmp/nix]# nixos-rebuild switch --upgrade
  downloading Nix expressions from ‘https://nixos.org/releases/nixos/14.12/nixos-14.12.658.ccf672c/nixexprs.tar.xz’...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  unpacking channels...
  /nix/store/7rlvlgy875zs98y3rz06mmnaaa66vbr7-xz-5.0.7/bin/xz: (stdin): File format not recognized
  /nix/store/rygv74phd82c106qynz7l0rmg4rvrlzd-gnutar-1.27.1/bin/tar: This does not look like a tar archive
  /nix/store/rygv74phd82c106qynz7l0rmg4rvrlzd-gnutar-1.27.1/bin/tar: Exiting with failure status due to previous errors
  builder for ‘/nix/store/z7i9x8hkhz4g3zwcgdy01s3ngwgc2f9p-nixos-14.12.658.ccf672c.drv’ failed with exit code 2
  error: build of ‘/nix/store/z7i9x8hkhz4g3zwcgdy01s3ngwgc2f9p-nixos-14.12.658.ccf672c.drv’ failed
  cannot unpack the channels at /run/current-system/sw/bin/nix-channel line 150.
  ```

  <failed to retrieve the nixexprs.tar.xz>
  1. The reason of problem is caused by following:

  ```
      if (defined $cacheDir) {
          my $urlHash = hashString("sha256", 1, $url);
          writeFile "$cacheDir/$urlHash.url", $url;
          $cachedHashFN = "$cacheDir/$urlHash.$hashType";
          $cachedTimestampFN = "$cacheDir/$urlHash.stamp";
          @cacheFlags = ("--time-cond", $cachedTimestampFN) if -f $cachedHashFN && -f $cachedTimestampFN;
      }

      # Perform the download.
      my @curlFlags = ("curl", $url, "-o", $tmpFile, "--fail", "--location", "--max-redirs", "20", "--disable-epsv", "--cookie-jar", "$tmpDir/cookies", "--remote-time", (split " ", ($ENV{NIX_CURL_FLAGS} || "")));
      (system $Nix::Config::curl @curlFlags, @cacheFlags) == 0 or die "$0: download of ‘$url’ failed\n";

      if (defined $cacheDir && ! -e $tmpFile) {
          # Curl didn't create $tmpFile, so apparently there's no newer
          # file on the server.
          $hash = readFile $cachedHashFN or die;
          $finalPath = makeFixedOutputPath(0, $hashType, $hash, $name);
          unless (isValidPath $finalPath) {
              print STDERR "cached contents of ‘$url’ disappeared, redownloading...\n";
              $finalPath = undef;
              (system $Nix::Config::curl @curlFlags) == 0 or die "$0: download of ‘$url’ failed\n";
          }
      }
  ```

   when curl run with option "--time-cond" but without new file to be retrieved, the local file will be created but with 0 byte size.

  we can verify this by run following:

  ```
  [rshen@pc13x:~/tmp/ex1]$ ls

  [rshen@pc13x:~/tmp/ex1]$ curl https://nixos.org/releases/nixos/14.12/nixos-14.12.658.ccf672c/nixexprs.tar.xz -o x.tar.xz --remote-time --time-cond /nix/var/nix/channel-cache/09jbvf525lhchnbfbc1cfwqjwf0s6v6g166jrinlkzak1hmz6r7j.stamp 
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0

  [rshen@pc13x:~/tmp/ex1]$ ls -l 
  total 1
  -rw-r--r-- 1 rshen wheel 0 May 11 17:44 x.tar.xz
  ```


state: closed
title: gpm: support on darwin
user_login: nomosyn
html_url: https://github.com/NixOS/nixpkgs/issues/7808
updated_at: 2015-05-12 15:08:34
body:
  ```
  error: Package ‘gpm-1.20.7’ in ‘/Users/nomos/Documents/tools/nixpkgs/pkgs/servers/gpm/default.nix:35’ is not supported on ‘x86_64-darwin’, refusing to evaluate.
  For `nixos-rebuild` you can set
    { nixpkgs.config.allowBroken = true; }
  in configuration.nix to override this.
  For `nix-env` you can add
    { allowBroken = true; }
  to ~/.nixpkgs/config.nix.

  (use ‘--show-trace’ to show detailed location information)


  ----


  $ cd <path_to>/nixpkgs; git rev-parse HEAD
  c206c9cd95811749ec8ee11905422d0ea046470d


  ----


  $ sw_vers
  ProductName:    Mac OS X
  ProductVersion: 10.10.3
  BuildVersion:   14D136

  ```


state: closed
title: libncurses.so.5 link disappeared from ncurses derivation after "staging" merge
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/7810
updated_at: 2015-05-29 08:05:44
body:
  The binary version of GHC 6.10.2 is broken in `master`. That compiler is used to bootstrap GHC 6.10.4 and 6.12.3, which means that those compilers (and their respective package sets) are now broken, too.

  The error seems relatively harmless. The build succeeds, but the resulting GHC binary doesn't work. Citing from http://hydra.cryp.to/build/815012/log/raw:

  > /nix/store/ir0ip3jiivcwcg4zdzf6rj616f4pnpr7-ghc-6.10.2-binary/lib/ghc-6.10.2/ghc: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory


state: closed
title: broken dependency(ies) in haskell warp
user_login: charles-cooper
html_url: https://github.com/NixOS/nixpkgs/issues/7812
updated_at: 2015-05-11 21:36:39
body:
  So on the latest unstable release `15.05pre61966.75ebc3c (Dingo)` haskellng packages depending on text seem to fail

  ```
  $ cat default.nix
  { stdenv, haskellngPackages}:
  let
    env = haskellngPackages.ghcWithPackages (p: with p; [
        warp
    ]);
  in
    stdenv.mkDerivation {
      name        = "project-name";
      buildInputs = [env];
      shellHook   = ''
        export NIX_GHC="${env}/bin/ghc"
        export NIX_GHCPKG="${env}/bin/ghc-pkg"
        export NIX_GHC_DOCDIR="${env}/share/doc/ghc/html"
        export NIX_GHC_LIBDIR=$( $NIX_GHC --print-libdir )
        '';
    }
  $ nix-shell
  these derivations will be built:
    /nix/store/nmzxd9fym2z7xypcg7iyhj04myrizs0m-ghc-7.10.1.drv
  building path(s) ‘/nix/store/2a4fys3z74vn2ididphc5aayxmk5d53a-ghc-7.10.1’
  created 141 symlinks in user environment
  There are problems in package warp-3.0.13:
    dependency "text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91" doesn't exist
  There are problems in package streaming-commons-0.1.12:
    dependency "text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91" doesn't exist
  There are problems in package wai-3.0.2.3:
    dependency "text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91" doesn't exist
  There are problems in package case-insensitive-1.2.0.4:
    dependency "text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91" doesn't exist
  There are problems in package http-date-0.0.6:
    dependency "attoparsec-0.12.1.6-2dceb091855fa2d2aff2ca4101afc493" doesn't exist
  Warning: haddock-interfaces: /nix/store/swccw1kd02wccn69iwrrpihyjv4qis70-haskell-nats-1/share/doc/x86_64-linux-ghc-7.10.1/nats-1/html/nats.haddock doesn't exist or isn't a file
  Warning: haddock-html: /nix/store/swccw1kd02wccn69iwrrpihyjv4qis70-haskell-nats-1/share/doc/x86_64-linux-ghc-7.10.1/nats-1/html doesn't exist or isn't a directory
  There are problems in package http-types-0.8.6:
    dependency "text-1.2.0.4-98506efb1b9ada233bb5c2b2db516d91" doesn't exist

  The following packages are broken, either because they have a problem
  listed above, or because they depend on a broken package.
  warp-3.0.13
  streaming-commons-0.1.12
  wai-3.0.2.3
  case-insensitive-1.2.0.4
  http-date-0.0.6
  http-types-0.8.6
  builder for ‘/nix/store/nmzxd9fym2z7xypcg7iyhj04myrizs0m-ghc-7.10.1.drv’ failed with exit code 1
  error: build of ‘/nix/store/nmzxd9fym2z7xypcg7iyhj04myrizs0m-ghc-7.10.1.drv’ failed
  /run/current-system/sw/bin/nix-shell: failed to build all dependencies
  ```

  Any suggestions?


state: closed
title: .pth files generated by buildPythonPackage do not include transitive dependencies
user_login: adnelson
html_url: https://github.com/NixOS/nixpkgs/issues/7816
updated_at: 2015-11-21 16:33:44
body:
  Let's say I have an expression like so:

  ``` nix
  with import <nixpkgs> {};
  rec {
    foo = buildPythonPackage {
      name = "foo";
      src = /path/to/foo;
    };
    bar = buildPythonPackage {
      name = "bar";
      src = /path/to/bar;
      propagatedBuildInputs = [foo];
    };
    baz = buildPythonPackage {
      name = "baz";
      src = /path/to/baz;
      propagatedBuildInputs = [bar];
    };
  }
  ```

  Now, if I do `nix-env -iA bar`, then of course it will first build foo and then bar, and in my `~/.nix-profile/lib/python2.7/site-packages` folder, I will see a `bar-propagated-inputs.pth` (more or less) containing something like `/nix/store/23984vhdbji34589unsdo67234y-python2.7-foo/lib/python2.7/site-packages`.

  But now let's say that without installing `bar`, I instead did `nix-env -iA baz`. It will properly build `foo` and `bar`, but now in `~/.nix-profile/lib/python2.7/site-packages` I will see a `baz-propagated-inputs.pth` file, which references `/nix/store/23o48hdfio87245h96unr6-python2.7-bar/lib/python2.7/site-packages`, but **does not** reference the path to `foo`'s site-packages. This means that, if one is using python's `site` package to automagically load paths, only the paths for `bar` and `baz` will appear in `sys.path`, and not `foo`, which almost certainly will mean that using either of those modules will result in a runtime error.

  **TL;DR:** Either: 
  - the `.pth` file generated by a python package should contain not only its own dependencies, but those of its dependencies as well, or
  - Doing an installation of a python package should add to the nix profile not only that package's `.pth` file, but those of its dependencies as well.


state: closed
title: Add isGNU and isClang attributes to cc-wrapper
user_login: gridaphobe
html_url: https://github.com/NixOS/nixpkgs/pull/7817
updated_at: 2015-05-14 17:09:14
body:
  These are meant to replace the current idiom of using `stdenv.cc.cc.isGNU or false` to check which compiler we're currently building with.


state: closed
title: Ocaml enhancements
user_login: ericbmerritt
html_url: https://github.com/NixOS/nixpkgs/pull/7823
updated_at: 2015-06-14 21:01:05
body:
  This adds several ocaml packages to the system, and fixes/refactors a couple. In general the commits go in dependency order. 

  I added a commit to upgrade the default ocaml to 4.02.1. Its been out quite a while and is stable. However, this is potentially quite a big change and may have unintended consequences.  So at the maintainers request I will drop it. 

  On OSX this requires #7732 to build.


state: closed
title: Darwin can't unpack nghttp2-0.7.13.tar.xz because there's no xz in stdenv
user_login: nomosyn
html_url: https://github.com/NixOS/nixpkgs/issues/7825
updated_at: 2015-05-14 17:48:29
body:
  `nix-env -u` leads to the above error.

  log here: [gist: $nix-env -u](https://gist.github.com/nomosyn/b0dfc0368dfaf17d62f4)


state: closed
title: riak-2.1.1: new package
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/7827
updated_at: 2015-07-21 13:36:16
body:
  This packages Riak 2.1.1. ~~I still need to create a NixOS service to test this out, but it does build.~~


state: closed
title: VMWare guest support and open-vm-tools package
user_login: joamaki
html_url: https://github.com/NixOS/nixpkgs/pull/7829
updated_at: 2015-05-26 00:11:38
body:
  This adds the open-vm-tools package without the kernel modules and
  a service configuration for the vmtoolsd service. 

  With this you get copy'n'paste support and monitor resolution automatic
  resizing.


state: closed
title: Reduce hydra errors
user_login: shlevy
html_url: https://github.com/NixOS/nixpkgs/pull/7830
updated_at: 2016-08-11 16:03:43
body:
  With this patchset, hydra can set the `NIXPKGS_NO_THROW_ON_BROKEN_OR_UNFREE` env var to `1` to remove the evaluation errors resulting from nixpkgs unfree/broken/disabled logic.

  cc @edolstra for stdenv stuff, @domenkozar for python stuff.


state: closed
title: firefox-bin: update to version 38.0
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/7831
updated_at: 2015-05-13 13:33:20
body:
  - Various security fixes
  - New tab-based preferences
  - Ruby annotation support
  - Improved page load times via speculative connection warmup
  - WebSocket now available in Web Workers
  - BroadcastChannel API implemented
  - Implemented srcset attribute and <picture> element for responsive images
  - WebRTC now has multistream and renegotiation support
  - Other fixes and improvements

  https://www.mozilla.org/en-US/firefox/38.0/releasenotes/


state: closed
title: add ladspa-sdk, move ladspaH
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/pull/7832
updated_at: 2015-05-13 20:27:11
body:
  ladspaH is part of ladspa-sdk, not ladspaPlugins.

  ladspaPlugins is conventionally called swh-plugins, but changing that would brake backwards compatibility.
  Maybe we should have both, "linked" via all-packages.nix?


state: closed
title: undefined reference to `gnutls_protocol_set_priority'
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/7833
updated_at: 2015-05-15 09:21:25
body:
  Several important builds fail with that error, i.e.:
  - git-annex: http://hydra.cryp.to/build/838505
  - gwenhywfar-4.10.0beta: http://hydra.cryp.to/build/835742/nixlog/9/raw

  Does anyone know what caused this linker error?


state: closed
title: make-bootstrap-tools-cross.nix build failure
user_login: bjornfor
html_url: https://github.com/NixOS/nixpkgs/issues/7834
updated_at: 2015-06-08 20:45:20
body:
  After seeing some recent commits in nixpkgs, related to cross-compilation, I was thinking that for example the armv7l boostrap-tools would build fine. It did not:

  ```
  $ nix-build ./pkgs/stdenv/linux/make-bootstrap-tools-cross.nix -A armv7l
  ...
  armv7l-unknown-linux-gnueabi-gcc loadarchive.c -c -std=gnu99 -fgnu89-inline  -O2 -Wall -Werror -Winline -Wno-error=undef -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes         -DLOCALEDIR='"/nix/store/rvcdrsi2g2jfa8bkq6lczwhbssx6k6a0-glibc-2.21-armv7l-unknown-linux-gnueabi/lib/locale"' -DLOCALE_ALIAS_PATH='"/nix/store/rvcdrsi2g2jfa8bkq6lczwhbssx6k6a0-glibc-2.21-armv7l-unknown-linux-gnueabi/share/locale"' -Iprograms -I../include -I/tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/build/locale  -I/tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/build  -I../sysdeps/unix/sysv/linux/arm  -I../sysdeps/arm/nptl  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix/arm  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/arm/armv7/multiarch  -I../sysdeps/arm/armv7  -I../sysdeps/arm/armv6t2  -I../sysdeps/arm/armv6  -I../sysdeps/arm/include -I../sysdeps/arm  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/flt-32  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /nix/store/12635hl9nvdxlsbzq0yipyxs54cryjjb-gcc-4.8.4-armv7l-unknown-linux-gnueabi-stage-static/lib/gcc/armv7l-unknown-linux-gnueabi/4.8.4/include -isystem /nix/store/12635hl9nvdxlsbzq0yipyxs54cryjjb-gcc-4.8.4-armv7l-unknown-linux-gnueabi-stage-static/lib/gcc/armv7l-unknown-linux-gnueabi/4.8.4/include-fixed -isystem /nix/store/xd91znn8ymrbww8v814qj2v8icf9chzb-linux-headers-3.12.32/include  -D_LIBC_REENTRANT -include /tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -o /tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/build/locale/loadarchive.o -MD -MP -MF /tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/build/locale/loadarchive.o.dt -MT /tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/build/locale/loadarchive.o
  loadarchive.c:128:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
   open_locale_archive ()
   ^
  cc1: all warnings being treated as errors
  ../o-iterator.mk:9: recipe for target '/tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/build/locale/loadarchive.o' failed
  make[2]: *** [/tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/build/locale/loadarchive.o] Error 1
  make[2]: Leaving directory '/tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/glibc-2.21/locale'
  Makefile:213: recipe for target 'locale/subdir_lib' failed
  make[1]: *** [locale/subdir_lib] Error 2
  make[1]: Leaving directory '/tmp/nix-build-glibc-2.21-armv7l-unknown-linux-gnueabi.drv-0/glibc-2.21'
  ```

  (It's the same error for armv5tel and armv6l.)

  I'm on master, commit 6e8d1f84f229bc481b2c0aafdeac986f4f3deb8c.

  What am I missing?


state: closed
title: Fix #7272 - re-Add modulesPath and add error context on module arguments evaluation.
user_login: nbp
html_url: https://github.com/NixOS/nixpkgs/pull/7835
updated_at: 2015-07-14 11:31:07
body:
  This modification undo the modifications related to `modulesPath` and use it in the installer to ensure that we do not brake this accidentally.  As there is no module logic for the moment, which can be used to replace the `modulesPath` argument, I prefer to add it back in the mean time.

  In addition, this patch add an error context which, display one extra line of information when --show-trace is used.

  ```
  while evaluating the module argument `pkgs' in "/home/nicolas/nixos-dev/nixpkgs/foo.nix":
  infinite recursion encountered
  ```

  This error message worked for `modulesPath` before this modification which re-enables it, and it also works for the now deprecated use of `with pkgs.lib;`.

  @wizeman, can you confirm if this fix your issues?


state: closed
title: Mongo tools
user_login: mschristiansen
html_url: https://github.com/NixOS/nixpkgs/pull/7836
updated_at: 2015-05-15 10:58:18
body:
  The current version of MongoDB does not include the Mongo Tools, since they have been rewritten in Go and packaged separately. It is almost impossible to develop using MongoDB without the Mongo Tools.

  This is my first contribution to nixpkgs and I also don't write Go for which reason it would be nice with a review of the contributed code.

  I also spend some time trying to rename the different tools in the build, but without success. Currently the output name of each tool defaults to main and they overwrite each other.

  @lethalman I hope you don't mind reviewing the go packages contributed and help rename the generated binaries.


state: closed
title: keychain: fixup shebang, use upstream builder, install manpage
user_login: pmahoney
html_url: https://github.com/NixOS/nixpkgs/pull/7837
updated_at: 2015-05-18 20:27:18
body:
  fixup shebang - build was not running fixupPhase, and shebang was pointing to
  /bin/sh. On a system where /bin/sh links to dash, this results in errors:

  ```
  /nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped: 59: /nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped: shopt: not found
  /nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped: 686: /nix/store/v40yk16fl1rhvr6zz91ij753ziyphwwp-keychain-2.8.0/bin/.keychain-wrapped: Syntax error: "(" unexpected (expecting ")")
  ```

  use upstream builder - the included Makefile uses perl to generate a manpage and
  insert the same text into the keychain script for '--help' output, which was
  otherwise missing:

  ```
  $ keychain --help

   * keychain 2.8.0 ~ http://www.funtoo.org

  [snip]

  INSERT_POD_OUTPUT_HERE
  ```

  install manpage - self explanatory


state: closed
title: freerdpUnstable build error
user_login: devhell
html_url: https://github.com/NixOS/nixpkgs/issues/7841
updated_at: 2015-05-15 21:11:10
body:
  Currently this is happening when trying to build `freerdpUnstable`, I'm not sure what the reason is that it can't find `gstreamer` so I'm going to report it as an issue. There has been a beta9 update since then by the way. Thanks!

  ```
  -- checking for module 'gstreamer-1.0'
  --   package 'gstreamer-1.0' not found
  -- checking for module 'gstreamer-base-1.0'
  --   package 'gstreamer-base-1.0' not found
  -- checking for module 'gstreamer-app-1.0'
  --   package 'gstreamer-app-1.0' not found
  -- checking for module 'gstreamer-audio-1.0'
  --   package 'gstreamer-audio-1.0' not found
  -- checking for module 'gstreamer-fft-1.0'
  --   package 'gstreamer-fft-1.0' not found
  -- checking for module 'gstreamer-pbutils-1.0'
  --   package 'gstreamer-pbutils-1.0' not found
  -- checking for module 'gstreamer-video-1.0'
  --   package 'gstreamer-video-1.0' not found
  -- Could NOT find GSTREAMER_1_0 (missing:  GSTREAMER_1_0_LIBRARIES GSTREAMER_1_0_INCLUDE_DIRS) 
  CMake Warning at cmake/FindFeature.cmake:46 (message):
        feature GStreamer_1_0 was requested but could not be found! ON / FALSE
  Call Stack (most recent call first):
    CMakeLists.txt:504 (find_feature)


  -- Skipping optional feature JPEG for codec (use JPEG library)
  --     Enable feature JPEG using "-DWITH_JPEG=ON"
  -- Skipping optional feature GSM for codec (GSM audio codec library)
  --     Enable feature GSM using "-DWITH_GSM=ON"
  -- Skipping optional feature IPP for performance (Intel Integrated Performance Primitives library)
  --     Enable feature IPP using "-DWITH_IPP=ON"
  -- FreeRDP GIT
  CMake Warning at winpr/CMakeLists.txt:82 (export):
    Cannot create package registry file:

      /homeless-shelter/.cmake/packages/winpr/a995248e89e614f61fc6d45f7162a6c5

    No such file or directory
  ```


state: closed
title: nix-serve: Add nixos module
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7842
updated_at: 2015-09-30 16:29:32
body:
  This allows sharing the Nix store of the machine as a HTTP binary cache simply by setting `services.nix-serve.enable = true`.


state: closed
title: glibc: Fixed a warning caused by the "nix-locale-archive.patch" patch.
user_login: theunknownxy
html_url: https://github.com/NixOS/nixpkgs/pull/7843
updated_at: 2015-05-15 12:47:16
body:
  If a function shouldn't accept any parameters, use "(void)" instead of "()". GCC emits a warning and causes the build to fail if "-Werror" is passed.


state: closed
title: stdenv: Add isPc helper to replace (isi686 || isx86_64)
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7846
updated_at: 2015-06-24 02:08:25
body:
  It's a relatively common operation to compare the current platform to PC platforms, i.e. x86 compatible platforms.

  Bikeshedding: maybe there's a better name than `isPc`?


state: closed
title: MongoDB Tools and Go dependencies
user_login: mschristiansen
html_url: https://github.com/NixOS/nixpkgs/pull/7849
updated_at: 2015-05-18 08:57:48
body:
  Added the MongoDB tools and build dependencies.

  @lethalman TODO: Rename build output to tool names.


state: closed
title: Update SHA256 for hplip plugin
user_login: sjagoe
html_url: https://github.com/NixOS/nixpkgs/pull/7850
updated_at: 2015-05-15 18:17:53
body:
  The hplip plugin SHA256 appears incorrect for version `hplip-3.15.2`.

  ```
  output path ‘/nix/store/671z0sx0giw5jbj14gmfh1q59zq9rc9n-hplip-3.15.2-plugin.run’ should have sha256 hash ‘0j8z8m3ygwahka7jv3hpzvfz187lh3kzzjhcy7grgaw2k01v5frm’, instead has ‘1pzxv9yway1x1m5grz6042p54ldh7jcgv4qrkjhlcb4vr9plwql9’
  cannot build derivation ‘/nix/store/d3d745f7inx788wfhjmx0k4868lj2wln-hplip-3.15.2.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/k85x3ddk13mnhrarm8k7fd1vrw8lyqdg-cups-progs.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/7lfx6595pgx8yypnmsmg8wmh1zg2p8zz-etc-file.drv’: 1 dependencies couldn't be built                                                                          
  cannot build derivation ‘/nix/store/sr9qgjf5qwc1mkj1jchnyrhx417bvfxy-etc-file.drv’: 1 dependencies couldn't be built                                                                          
  cannot build derivation ‘/nix/store/shcbcyxgaxypiy9i1nzr9s20n8npng1n-unit-cups.service.drv’: 2 dependencies couldn't be built                                                                 
  cannot build derivation ‘/nix/store/4c7qn2349plmwvy83j1mdqjdny6df57x-system-units.drv’: 1 dependencies couldn't be built                                                                      
  cannot build derivation ‘/nix/store/560429ph8slvm5nm53z4xyx1wn0g3l22-etc.drv’: 3 dependencies couldn't be built                                                                               
  cannot build derivation ‘/nix/store/6mm8171bgqfxpsj29v9gy1kfcg82fay7-nixos-15.05pre61966.75ebc3c.drv’: 1 dependencies couldn't be built                                                       
  error: build of ‘/nix/store/6mm8171bgqfxpsj29v9gy1kfcg82fay7-nixos-15.05pre61966.75ebc3c.drv’ failed                                                                                          
  ```


state: closed
title: openal to openalSoft conversion
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/pull/7854
updated_at: 2015-05-16 10:19:13
body:
  openalSoft is a drop in replacement for openal from creative labs.

  since openalSoft does support backends as pulseaudio and also because it has the more active user/developer base we should make it the default.

  <pre>
  # openalSoft is 100% ABI compatible to openalLegacy and should be a default
  openal = openalSoft;
  openalLegacy = callPackage ../development/libraries/openal { };
  openalSoft = callPackage ../development/libraries/openal-soft { };
  </pre>


  if programs/libraries still require openal from createive labs, just use:
  openalLegacy

  i've tested spring/fakenes and scorched3d (won't build but not because of openalSoft). also codehero tested with minetest where it works.


state: closed
title: Remove ccrtp-1.8
user_login: pSub
html_url: https://github.com/NixOS/nixpkgs/pull/7855
updated_at: 2015-05-26 12:40:58
body:
  It fails to compile with libgcrypt >= 1.6
  See http://hydra.nixos.org/build/22113129/nixlog/1

  Any objections?


state: closed
title: Add Jekyll
user_login: pesterhazy
html_url: https://github.com/NixOS/nixpkgs/pull/7856
updated_at: 2015-05-19 09:34:48
body:
  This adds the `jekyll` static site generator. My understanding is that it used to be included in 14.10 but got dropped in relations to `rubyLibs`. I used the `bundix` tool to generate `gemset.nix` as per documentation.

  As `jekyll listen --watch` fails with MRI ruby 1.9, I chose a 2.1 version of ruby instead.


state: closed
title: Update Marathon module
user_login: rushmorem
html_url: https://github.com/NixOS/nixpkgs/pull/7857
updated_at: 2015-05-21 14:07:43
body:
  The new module also makes it possible to pass extra commandline 
  arguments to Marathon as well as environment variables.


state: closed
title: Encrypted root filesystem regression
user_login: ambrop72
html_url: https://github.com/NixOS/nixpkgs/issues/7859
updated_at: 2015-06-11 07:09:56
body:
  After I updated my system to nixpkgs master ef66f1536dcfd9a78757436807de98be31e6cb48, I can no longer boot due to an error related to the encrypted root. The error from the initrd is:

  ```
  Cannot initialize device-mapper. Is dm_mod kernel module loaded?
  starting device mapper and LVM...
  Unknown device, --name=, --path=, or absolute path in /dev/ or /sys expected.
  waiting for device /dev/mapper/enc-root to appear................
  ```

  The related part of my system configuration is:

  ```
    fileSystems."/" =
      { device = "/dev/mapper/enc-root";
        fsType = "ext4";
      };
  ```


state: closed
title: nixos: add bird module
user_login: Lassulus
html_url: https://github.com/NixOS/nixpkgs/pull/7860
updated_at: 2015-05-21 00:24:21
body:
  birdc and birdcl from the bird package need to be fixed to look in /var/run/ instead of prefix/var/run for bird.ctl.
  I will look into this today.
  Feedback for the current state is appreciated.


state: closed
title: ffmpeg: update branches
user_login: codyopel
html_url: https://github.com/NixOS/nixpkgs/pull/7861
updated_at: 2015-05-17 05:56:17
body:
  ffmpeg_0_10: 0.10.15 -> 0.10.16
  ffmpeg_2_2: 2.2.13 -> 2.2.15
  ffmpeg_2_6: 2.6.1 -> 2.6.2
  ffmpeg-full: 2.6.1 -> 2.6.2


state: closed
title: irrlicht: update rev 3843 (1.8) -> rev 5104 (1.8)..
user_login: PyroLagus
html_url: https://github.com/NixOS/nixpkgs/pull/7863
updated_at: 2015-05-17 18:15:10
body:
  ..fixed awkward naming; use svn release branch

  Successfully tested with minetest. Shouldn't break other software depending on irrlicht3843 as that is still available via the same variable.


state: closed
title: Clean up or refactor all-packages.nix
user_login: PyroLagus
html_url: https://github.com/NixOS/nixpkgs/issues/7866
updated_at: 2017-01-12 13:56:29
body:
  I just found out there were sections for different types of software in all-packages.nix, but nobody seems to know that either. Lots of packages are just all over. This really has to be either cleaned up, or the sections have to be split into multiple files. In my opinion splitting is the better option, but I'm not sure how to do it or if it is even possible/desirable. If cleaning is the only option then I can do that.


state: closed
title: PulseAudio support in ALSA by default
user_login: kirelagin
html_url: https://github.com/NixOS/nixpkgs/issues/7867
updated_at: 2018-06-23 23:16:44
body:
  I just realised that I don’t have sound in packages installed with Nix which are built without explicit PulseAudio support. The problem is that `alsaLib` that they use doesn’t know anything about my system ALSA config that tells it to use PulseAudio. Furthermore, even if it knew, it woudn’t be able to load the PulseAudio module, because it knows nothing about `alsaPlugins`.

  I don’t see any easy way out of this situation (except for switching to NixOS, of course), so here is the proposal: ship PulseAudio support in `alsaLib` by default, including the plugin and configuration that uses PulseAudio when it is available. It won’t break anything, since if there is no PulseAudio, the extra config will just do nothing. If there are space constraints, this behaviour can be optional (e.g. enabled by default, disabled for minimal builds).

  CC maintainers: @MarcWeber @lovek323 @wkennington 


state: closed
title: novaImage: infinite recursion when using nix-build (nixos-unstable)
user_login: rzetterberg
html_url: https://github.com/NixOS/nixpkgs/issues/7869
updated_at: 2015-05-31 11:54:25
body:
  I was going to create a NixOS image to run on Openstack per [this wiki page](https://nixos.org/wiki/NixOS_and_OpenStack_Compute#Running_NixOS).

  When I executed the `nix-build` command I received a infinite recursion error, see full output below: 

  ```
  [rzetterberg@nixos:~]$ echo $NIXOS_CONFIG
  /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/virtualisation/nova-config.nix
  [rzetterberg@nixos:~]$ nix-build /nix/var/nix/profiles/per-user/root/channels/nixos/nixos -A config.system.build.novaImage --show-trace
  error: while evaluating the attribute ‘config’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/lib/eval-config.nix":50:5:
  while evaluating the attribute ‘config’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":82:25:
  while evaluating ‘yieldConfig’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":69:29, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":68:16:
  while evaluating ‘mergeModules’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":160:26, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":59:17:
  while evaluating ‘mergeModules'’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":164:36, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":161:5:
  while evaluating ‘concatMap’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":54:18, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":200:9:
  while evaluating ‘fold’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":20:19, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":59:38:
  while evaluating ‘fold'’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":23:15, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":27:8:
  while evaluating ‘closeModules’ at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":86:27, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":54:16:
  while evaluating anonymous function at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/modules.nix":88:49, called from "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/lists.nix":49:19:
  infinite recursion encountered
  ```
  ## My system

  ``` bash
  [rzetterberg@nixos:~]$ nixos-version 
  15.05pre61665.4c01e6d (Dingo)
  [rzetterberg@nixos:~]$ sudo nix-channel --list
  nixos https://nixos.org/channels/nixos-unstable
  ```


state: closed
title: python 2 and scipy special at 15.06pre62649.f93a8ee
user_login: joelmo
html_url: https://github.com/NixOS/nixpkgs/issues/7870
updated_at: 2015-05-17 15:59:33
body:
  I get an error when trying to import scipy.special (this is needed for graph-tool).

  ```
  [joelmo@jmdesk:~]$ python -c 'import scipy.special'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/home/joelmo/.nix-profile/lib/python2.7/site-packages/scipy/special/__init__.py", line 546, in <module>
      from ._ufuncs import *
  ImportError: /home/joelmo/.nix-profile/lib/python2.7/site-packages/scipy/special/_ufuncs.so: undefined symbol: PyUnicode
  UCS2_DecodeUTF8
  ```

  Could this be related to change 380bd3f48?


state: closed
title: Fix: khal 0.4.0 does not work with python 3
user_login: matthiasbeyer
html_url: https://github.com/NixOS/nixpkgs/pull/7872
updated_at: 2015-06-16 15:30:52
body:
  khal 0.4.0 does not work with python 3, as the author [just told me](https://github.com/geier/khal/issues/197).

  Unfortunately, I cannot build the derivation yet, because of:

  ```
  [...]
  building path(s) ‘/nix/store/4vrck309sczs7xx9hki4i5vr3y8hnwry-python2.7-khal-0.4.0’
  unpacking sources
  unpacking source archive /nix/store/g008v0w328n0chlmpysk34nxcjn4cq3j-v0.4.0.tar.gz
  source root is khal-0.4.0
  patching sources
  configuring
  building
  wrote khal/version.py with version=0.4.0
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/khal
  copying khal/version.py -> build/lib/khal
  copying khal/terminal.py -> build/lib/khal
  copying khal/log.py -> build/lib/khal
  copying khal/exceptions.py -> build/lib/khal
  copying khal/controllers.py -> build/lib/khal
  copying khal/compat.py -> build/lib/khal
  copying khal/cli.py -> build/lib/khal
  copying khal/calendar_display.py -> build/lib/khal
  copying khal/aux.py -> build/lib/khal
  copying khal/__init__.py -> build/lib/khal
  creating build/lib/khal/ui
  copying khal/ui/widgets.py -> build/lib/khal/ui
  copying khal/ui/startendeditor.py -> build/lib/khal/ui
  copying khal/ui/base.py -> build/lib/khal/ui
  copying khal/ui/__init__.py -> build/lib/khal/ui
  creating build/lib/khal/khalendar
  copying khal/khalendar/khalendar.py -> build/lib/khal/khalendar
  copying khal/khalendar/exceptions.py -> build/lib/khal/khalendar
  copying khal/khalendar/event.py -> build/lib/khal/khalendar
  copying khal/khalendar/backend.py -> build/lib/khal/khalendar
  copying khal/khalendar/aux.py -> build/lib/khal/khalendar
  copying khal/khalendar/__init__.py -> build/lib/khal/khalendar
  creating build/lib/khal/settings
  copying khal/settings/utils.py -> build/lib/khal/settings
  copying khal/settings/settings.py -> build/lib/khal/settings
  copying khal/settings/exceptions.py -> build/lib/khal/settings
  copying khal/settings/__init__.py -> build/lib/khal/settings
  copying khal/settings/default.khal -> build/lib/khal/settings
  copying khal/settings/khal.spec -> build/lib/khal/settings
  running tests
  wrote khal/version.py with version=0.4.0
  running test
  Searching for tzlocal>=1.0
  Reading https://pypi.python.org/simple/tzlocal/
  Download error on https://pypi.python.org/simple/tzlocal/: [Errno -2] Name or service not known -- Some packages may not be found!
  Couldn't find index page for 'tzlocal' (maybe misspelled?)
  Scanning index of all packages (this may take a while)
  Reading https://pypi.python.org/simple/
  Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
  No local packages or download links found for tzlocal>=1.0
  error: Could not find suitable distribution for Requirement.parse('tzlocal>=1.0')
  builder for ‘/nix/store/xsbcz1hmgsbiszm48w4ngwsmcxg2z59j-python2.7-khal-0.4.0.drv’ failed with exit code 1
  error: build of ‘/nix/store/xsbcz1hmgsbiszm48w4ngwsmcxg2z59j-python2.7-khal-0.4.0.drv’ failed
  ```

  Pointers?


state: closed
title: haskell-ng.overrideScope drops all scopes except self
user_login: bennofs
html_url: https://github.com/NixOS/nixpkgs/issues/7873
updated_at: 2015-05-17 19:07:26
body:
  Example:

  ```
  nix-repl> ((import <nixpkgs> {}).haskellngPackages.callPackage ({ stdenv }: stdenv.lib.licenses.bsd3) {}).overrideScope (_: _: {})
  error: anonymous function at "(string)":1:55 called without required argument ‘stdenv’, at "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/customisation.nix":58:12

  nix-repl> ((import <nixpkgs> {}).haskellngPackages.callPackage ({ stdenv }: stdenv.lib.licenses.bsd3) {})
  { deepOverride = «lambda»; fullName = "BSD 3-clause \"New\" or \"Revised\" License"; override = «lambda»; overrideDerivation = «lambda»; overrideScope = «lambda»; shortName = "bsd3"; spdxId = "BSD-3-Clause"; url = "http://spdx.org/licenses/BSD-3-Clause"; }
  ```

  The reason is that in

  ```
  callPackageWithScope = scope: drv: args: (stdenv.lib.callPackageWith scope drv args) // {
    overrideScope = f: callPackageWithScope (fix (extend scope.__unfix__ f)) drv args;
  };

  defaultScope = pkgs // pkgs.xlibs // pkgs.gnome // self;
  callPackage = drv: args: callPackageWithScope defaultScope drv args;
  ```

  `callPackageWithScope` will call `__unfix__` on `defaultScope`. But since only `self` has an `__unfix__` attribute, the resulting scope will not contain any attributes from `pkgs`, `pkgs.xlibs` or `pkgs.gnome` anymore, so only the attributes of self are left.

  /cc @peti 


state: closed
title: More attributes for haskell-ng's interative environment
user_login: bennofs
html_url: https://github.com/NixOS/nixpkgs/issues/7874
updated_at: 2015-05-25 13:44:20
body:
  For my workflow, it would be nice if the `.env` environment worked more like the real package. In particular, I propose the following extra passthrough attributes for the shell environment:
  - `base`: refers back to the "real" package. For example, `lens.env.base` would be equal to `lens`.
  - `override`: behaves just like override on the original package. `lens.env.override f = (lens.override f).env`
  - `overrideScope`: like `override`, overrides the scope of the original package and takes the env of the resulting package.

  Any thoughts? @peti 


state: closed
title: nixos: Fixes eval and build error of nova image builder
user_login: rzetterberg
html_url: https://github.com/NixOS/nixpkgs/pull/7876
updated_at: 2015-10-26 15:17:47
body:
  Fixes eval and build error of nova image builder by removing deprecated attributes and adding parts from `amazon-image.nix`. 

  I have tested this by running `nix-build -A config.system.build.novaImage` in the repo with `NIXOS_CONFIG` set with the path to `nova-config.nix`. 

  ~~I have not tested whether the image actually works on nova, but I am planning to do this today on my OpenStack host~~. It works! See comment below!

  See relevant discussion in issue #7869 

  Great news everyone! I imported the image into my OpenStack install and started a new instance and everything worked!

  Importing the actual image:

  ```
  $ glance image-create --name "nixos-unstable-amd64" --is-public true --disk-format raw --container-format bare --file ./nixos-unstable-nova.img 
  +------------------+--------------------------------------+
  | Property         | Value                                |
  +------------------+--------------------------------------+
  | checksum         | ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●     |
  | container_format | bare                                 |
  | created_at       | 2015-05-17T19:49:38.000000           |
  | deleted          | False                                |
  | deleted_at       | None                                 |
  | disk_format      | raw                                  |
  | id               | ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●● |
  | is_public        | True                                 |
  | min_disk         | 0                                    |
  | min_ram          | 0                                    |
  | name             | nixos-unstable-amd64                 |
  | owner            | ●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●     |
  | protected        | False                                |
  | size             | 4294967296                           |
  | status           | active                               |
  | updated_at       | 2015-05-17T19:50:15.000000           |
  | virtual_size     | None                                 |
  +------------------+--------------------------------------+
  ```

  After starting a new instance and assigning a floating IP to it, I could SSH into it:

  ```
  $ ssh -i mysupersecretkeyname.pem root@x.x.x.107
  The authenticity of host 'x.x.x.107 (x.x.x.107)' can't be established.
  ECDSA key fingerprint is SHA256:●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'x.x.x.107' (ECDSA) to the list of known hosts.

  [root@nixos:~]# ls -la
  total 20
  drwx------  4 root root 4096 May 17 19:57 .
  drwxr-xr-x 16 root root 4096 May 17 19:53 ..
  -rw-r--r--  1 root root   48 May 17 19:57 .nix-channels
  drwxr-xr-x  2 root root 4096 May 17 19:57 .nix-defexpr
  lrwxrwxrwx  1 root root   29 May 17 19:57 .nix-profile -> /nix/var/nix/profiles/default
  drwx------  2 root root 4096 May 17 19:53 .ssh
  -rw-r--r--  1 root root    0 May 17 19:53 user-data
  ```

  I tested this on a fresh OpenStack install on CentOS 7 that used the packstack installer.


state: closed
title: e19: updates for 1.14.0
user_login: ftrvxmtrx
html_url: https://github.com/NixOS/nixpkgs/pull/7877
updated_at: 2015-05-27 18:54:59
body:
  - libraries and applications updated to the latest
  - the "elementary getting started" (https://docs.enlightenment.org/auto/elementary/group__Start.html)
    works with just `pkg-config --cflags --libs elementary`
  - switched from lua-old to elua


state: closed
title: generic-extlinux-compatible: Add new bootloader for ARM
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7878
updated_at: 2015-06-24 02:08:41
body:
  This module generates a `/boot/extlinux/extlinux.conf` bootloader
  configuration file that is supported by e.g. U-Boot:

  http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.distro;hb=refs/heads/master

  With this, all ARM boards supported by U-Boot can be booted in a common
  way (a single boot file generator, all boards booting via initrd like
  x86) and with same boot menu functionality as GRUB has.

  I have the separate `extlinux-conf-builder.nix` for the builder script derivation since I plan to be reusing it in a SD image expression like this: https://github.com/dezgeg/nixpkgs/blob/ba3860a27b96197b45149843a468ac1d9229bfe0/nixos/modules/installer/cd-dvd/sd-image-armv7hl.nix#L4 . Maybe there's a better way to accomplish that.

  CC @viric. If you have some spare time, adding a U-Boot derivation for RPI2 and testing this would help, but I can do that myself as well when I get a loaner device.

  Sample generated config:

  ```
  # Generated file, all changes will be lost on nixos-rebuild!

  # Change this to e.g. nixos-42 to temporarily boot to an older configuration.
  DEFAULT nixos-default

  TIMEOUT 50

  LABEL nixos-default
    MENU LABEL NixOS - Default
    LINUX ../nixos/n7vxfk60nb5h0mcbhkwwxhcz2q2nvxzv-linux-4.1.0-rc3-cpufreq-zImage
    INITRD ../nixos/0ss2zs8sb6d1qn4gblxpwlxkfjsgs5f0-initrd-initrd
    FDTDIR ../nixos/n7vxfk60nb5h0mcbhkwwxhcz2q2nvxzv-linux-4.1.0-rc3-cpufreq-dtbs
    APPEND systemConfig=/nix/store/469qvr43ln8bfsnk5lzcz6m6jfcgdd4r-nixos-15.06.git.0b7a7a6M init=/nix/store/469qvr43ln8bfsnk5lzcz6m6jfcgdd4r-nixos-15.06.git.0b7a7a6M/init loglevel=8 console=ttyS0,115200n8 drm.debug=0xf

  LABEL nixos-71
    MENU LABEL NixOS - Configuration 71 (2015-05-17 21:32 - 15.06.git.0b7a7a6M)
    LINUX ../nixos/n7vxfk60nb5h0mcbhkwwxhcz2q2nvxzv-linux-4.1.0-rc3-cpufreq-zImage
    INITRD ../nixos/0ss2zs8sb6d1qn4gblxpwlxkfjsgs5f0-initrd-initrd
    FDTDIR ../nixos/n7vxfk60nb5h0mcbhkwwxhcz2q2nvxzv-linux-4.1.0-rc3-cpufreq-dtbs
    APPEND systemConfig=/nix/store/469qvr43ln8bfsnk5lzcz6m6jfcgdd4r-nixos-15.06.git.0b7a7a6M init=/nix/store/469qvr43ln8bfsnk5lzcz6m6jfcgdd4r-nixos-15.06.git.0b7a7a6M/init loglevel=8 console=ttyS0,115200n8 drm.debug=0xf
  ```


state: closed
title: i2c-tools, read-edid: New packages
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7880
updated_at: 2015-06-24 02:08:06
body:
  `i2c-tools` is a handy package for hacking on ARM boards. `read-edid` is a dependency of that and useful on it's own as well.

  I tested various commands from these on both ARM and x86_64, and also tested that `vbetool` (the only other dependency of `libx86`) still works on my x86_64 laptop.


state: closed
title: ghcjs fails to build on master
user_login: purefn
html_url: https://github.com/NixOS/nixpkgs/issues/7881
updated_at: 2015-05-22 01:35:50
body:
  ```
  Build with /nix/store/cgddwzz9hkdgprvbymphv8yprc66zxk7-ghc-7.10.1.
  unpacking sources
  unpacking source archive /nix/store/3r5nq87phg6414c69hpsg3ar6gih2bjr-ghcjs-d4322c2
  source root is ghcjs-d4322c2
  patching sources
  applying patch /nix/store/52gz6wci2vws1x382rhp1qcmz00x6ssg-ghcjs.patch
  patching file src-bin/Boot.hs
  patching file src/Compiler/Info.hs
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-ghcjs-0.1.0.drv-0/package.conf.d -j1 -threaded
  [1 of 1] Compiling Main             ( Setup.hs, /tmp/nix-build-ghcjs-0.1.0.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/pv193bjn31xxs4jfwgnpfgynw3lvai7h-ghcjs-0.1.0 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-ghcjs-0.1.0.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/pv193bjn31xxs4jfwgnpfgynw3lvai7h-ghcjs-0.1.0/lib/ghc-7.10.1/ghcjs-0.1.0 --ghc-option=-j1 --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --disable-tests --extra-lib-dirs=/nix/store/kf1ll233h6yddqk53651g55l3anncx3h-git-2.4.1/lib --extra-include-dirs=/nix/store/q6qy68r2jn577lx43706zcxmf3dk4j87-gnumake-4.1/include --extra-include-dirs=/nix/store/jfxhwznhw4a5qk4b93jrqr11wfv02aw1-libtool-2.4.6/include --extra-lib-dirs=/nix/store/jfxhwznhw4a5qk4b93jrqr11wfv02aw1-libtool-2.4.6/lib --extra-include-dirs=/nix/store/wrwk289fryjq8c42nh5y1fi6lqrjsl16-gmp-5.1.3/include --extra-lib-dirs=/nix/store/wrwk289fryjq8c42nh5y1fi6lqrjsl16-gmp-5.1.3/lib --extra-include-dirs=/nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/include --extra-lib-dirs=/nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/lib --extra-include-dirs=/nix/store/an70qxr58scmac2w6phh0k3zjy6n0lya-nodejs-0.12.0/include --extra-lib-dirs=/nix/store/an70qxr58scmac2w6phh0k3zjy6n0lya-nodejs-0.12.0/lib
  Configuring ghcjs-0.1.0...
  Setup: At least the following dependencies are missing:
  attoparsec ==0.12.*, lens >=4.0 && <4.10
  builder for ‘/nix/store/rm1yp8lms71hm3a3lkha907k8v2lmncy-ghcjs-0.1.0.drv’ failed with exit code 1
  cannot build derivation ‘/nix/store/mw3k20c09lkh7ab9ali4r1wjd3f22f3l-ghcjs-0.1.0.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/mw3k20c09lkh7ab9ali4r1wjd3f22f3l-ghcjs-0.1.0.drv’ failed
  /run/current-system/sw/bin/nix-shell: failed to build all dependencies
  ```

  The attoparsec version in nixpkgs is 0.13 and lens is 4.10.


state: closed
title: Catch Python modules build failures
user_login: ip1981
html_url: https://github.com/NixOS/nixpkgs/issues/7882
updated_at: 2015-05-18 08:02:01
body:
  We should catch Python modules build failures and fail the build, not allowing "renamed" modules like `_sqlite3_failed.so`:

  ```
  *** WARNING: renaming "_sqlite3" since importing it failed: build/lib.linux-x86_64-2.7/_sqlite3.so: undefined symbol: PyUnicodeUCS2_AsUTF8String
  ```


state: closed
title: GPG_AGENT_INFO and SSH_AUTH_SOCK are not set globally with gnome 3.16 keyring
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/7891
updated_at: 2016-03-18 09:55:22
body:
  I recently switched to gnome 3.16 under nixos. To do that, I changed my `configuration.nix`:

  ``` nix
  {
    services.xserver.desktopManager.gnome3.sessionPath = with pkgs.gnome3_16; [ gpaste ];
    environment.gnome3.packageSet = pkgs.gnome3_16;
    nixpkgs.config.packageOverrides = pkgs: {
      gtk3 = pkgs.gtk3_16;
      gnome3 = pkgs.gnome3_16;
    };
  }
  ```

  Unfortunately, the gnome terminal does have neither the `GPG_AGENT_INFO` nor the `SSH_AUTH_SOCK` environment variables set anymore. As soon as I set them manually with

  ``` bash
  export GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
  export SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
  ```

  things work fine.

  It was working fine with Gnome 3.12.


state: closed
title: emacs: fix doc-view-mode; add support for acl, gpm and aspell (flyspell-mode)
user_login: bendlas
html_url: https://github.com/NixOS/nixpkgs/pull/7892
updated_at: 2017-02-07 04:22:50
body:
  To make `doc-view-mode` work, emacs needs ghostscript on its path. Since it is already a runtime dependency (at least when built with x support), I updated site-lisp to adjust `exec-path`.

  `acl` and `gpm` support were added, disabled by default, ready to be enabled by a package override.

  cc @chaoflow @lovek323 @the-kenny 


state: closed
title: calibre fails to build (QT incompatibility?)
user_login: mdorman
html_url: https://github.com/NixOS/nixpkgs/issues/7897
updated_at: 2015-08-04 11:56:28
body:
  I think this happened in the last couple of days.  It's not clear to me how to address it, though.

  > ###### # Building headless QPA plugin
  > 
  > Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
  > Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
  > Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
  > make: **\* No rule to make target '/tmp/nix-build-calibre-2.28.0.drv-0/qmake-calibre-2.28.0/lib/libQt5PlatformSupport.a', needed by '/tmp/nix-build-calibre-2.28.0.drv-0/calibre-2.28.0/src/calibre/plugins/libheadless.so'.  Stop.
  > Error while executing: make -j4
  > 
  > Traceback (most recent call last):
  >   File "setup.py", line 99, in <module>
  >     sys.exit(main())
  >   File "setup.py", line 85, in main
  >     command.run_all(opts)
  >   File "/tmp/nix-build-calibre-2.28.0.drv-0/calibre-2.28.0/setup/**init**.py", line 181, in run_all
  >     self.run_cmd(self, opts)
  >   File "/tmp/nix-build-calibre-2.28.0.drv-0/calibre-2.28.0/setup/**init**.py", line 175, in run_cmd
  >     self.run_cmd(scmd, opts)
  >   File "/tmp/nix-build-calibre-2.28.0.drv-0/calibre-2.28.0/setup/**init**.py", line 178, in run_cmd
  >     cmd.run(opts)
  >   File "/tmp/nix-build-calibre-2.28.0.drv-0/calibre-2.28.0/setup/extensions.py", line 414, in run
  >     self.build_headless()
  >   File "/tmp/nix-build-calibre-2.28.0.drv-0/calibre-2.28.0/setup/extensions.py", line 550, in build_headless
  >     self.check_call([make] + ['-j%d'%(cpu_count or 1)])
  >   File "/tmp/nix-build-calibre-2.28.0.drv-0/calibre-2.28.0/setup/extensions.py", line 486, in check_call
  >     subprocess.check_call(_args, *_kwargs)
  >   File "/nix/store/fzsbv209kna7bz6c89g9h1b2q3hmkaaz-python-2.7.9/lib/python2.7/subprocess.py", line 540, in check_call
  >     raise CalledProcessError(retcode, cmd)
  > subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2
  > builder for ‘/nix/store/2rfhnx9d63d313j5hi2cxz25z5c1ri9a-calibre-2.28.0.drv’ failed with exit code 1
  > error: build of ‘/nix/store/2rfhnx9d63d313j5hi2cxz25z5c1ri9a-calibre-2.28.0.drv’ failed


state: closed
title: openjdk8 no longer builds
user_login: purefn
html_url: https://github.com/NixOS/nixpkgs/issues/7898
updated_at: 2015-05-19 17:25:33
body:
  ```
  building path(s) ‘/nix/store/qzfib69wvshrh6kg0d1c827kywffm0kx-openjdk-8u40b25-jre’, ‘/nix/store/s4qm80fb8wkbvwxn376a6wn2i6vxlgws-openjdk-8u40b25’
  unpacking sources
  unpacking source archive /nix/store/9xdgd07spcl3np3mn106wq7nn8wni176-jdk8u40-b25.tar.gz
  unpacking source archive /nix/store/2dsrxpkd7bm6sijapgb7rdyafvylh4xz-jdk8u40-b25.tar.gz
  unpacking source archive /nix/store/8fycbdaclxadd43xg66jz7nxa2j291q7-jdk8u40-b25.tar.gz
  unpacking source archive /nix/store/q4qa6ad7m1akblbzq26k21vn7475x08h-jdk8u40-b25.tar.gz
  unpacking source archive /nix/store/kfyiyr2sd9lckf1wgfig8bq7vdh4xd3m-jdk8u40-b25.tar.gz
  unpacking source archive /nix/store/v3nl14930w91ih2psc8sygqdkcmczgpf-jdk8u40-b25.tar.gz
  unpacking source archive /nix/store/b1qcsq1jpj26bkp2cm49499d9ri95awa-jdk8u40-b25.tar.gz
  unpacking source archive /nix/store/l7dnasi93bcpqq0mk9lw5akpf3v8xgnz-jdk8u40-b25.tar.gz
  source root is jdk8u40-jdk8u40-b25
  patching sources
  applying patch /nix/store/2x6v46j158y86yhpzwhywjc0x7wgn84p-fix-java-home.patch
  can't find file to patch at input line 4
  Perhaps you used the wrong -p or --strip option?
  The text leading up to this was:
  --------------------------
  |diff -ru -x '*~' openjdk-orig/hotspot/src/os/linux/vm/os_linux.cpp openjdk/hotspot/src/os/linux/vm/os_linux.cpp
  |--- openjdk-orig/hotspot/src/os/linux/vm/os_linux.cpp  2013-09-06 20:22:03.000000000 +0200
  |+++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp   2014-01-24 22:44:08.223857012 +0100
  --------------------------
  File to patch: 
  Skip this patch? [y] 
  Skipping patch.
  1 out of 1 hunk ignored
  builder for ‘/nix/store/1xyz1zg5n4bmfl3bxyjjg9qh7hzq0hmx-openjdk-8u40b25.drv’ failed with exit code 1
  cannot build derivation ‘/nix/store/86g8lgh0aj1l9f15p14rhxdqay5nr05r-system-path.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/kpb9sfwkjjnxk5a0jps95zcw9bnyj01n-nixos-15.06pre62649.f93a8ee.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/kpb9sfwkjjnxk5a0jps95zcw9bnyj01n-nixos-15.06pre62649.f93a8ee.drv’ failed
  ```


state: closed
title: added flags/switches necessary to get openblas to compile on osx
user_login: thinkpad20
html_url: https://github.com/NixOS/nixpkgs/pull/7899
updated_at: 2015-05-25 00:01:50
body:
  Adds a few fixes to get openblas to compile on OSX:
  - Dependency on `coreutils`. This contains a version of `readlink` that supports `-f`, which otherwise will throw an error.
  - `MACOSX_DEPLOYMENT_TARGET=10.9`. If not set, this will throw an `ld` error.
  - Using `clang` instead of `gcc` for the C compiler.


state: closed
title: Login fails with lightdm
user_login: cpages
html_url: https://github.com/NixOS/nixpkgs/issues/7902
updated_at: 2015-06-02 21:56:40
body:
  With current nixos-unstable channel, login fails with lightdm. After entering the pwd I'm thrown back to lightdm.

  Relevant log:

  > mai 17 17:37:28 leaf systemd[1]: Starting X11 Server...
  > mai 17 17:37:28 leaf systemd[1]: Started X11 Server.
  > mai 17 17:37:28 leaf display-manager-start[1263]: *\* (lightdm:1263): WARNING *_: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
  > mai 17 17:37:28 leaf display-manager-start[1263]: *_ (lightdm:1263): WARNING *_: Could not delete unused user data directory /var/lib/lightdm-data/.cache: Failed to execute child process "/bin/rm" (No such file or directory)
  > mai 17 17:37:28 leaf display-manager-start[1263]: *_ (lightdm:1263): WARNING *_: Could not delete unused user data directory /var/lib/lightdm-data/.Xauthority: Failed to execute child process "/bin/rm" (No such file or directory)
  > mai 17 17:37:28 leaf display-manager-start[1263]: *_ (lightdm:1263): WARNING *_: Could not delete unused user data directory /var/lib/lightdm-data/lightdm: Failed to execute child process "/bin/rm" (No such file or directory)
  > mai 17 17:37:28 leaf display-manager-start[1263]: *_ (lightdm:1263): CRITICAL *_: session_get_login1_session_id: assertion 'session != NULL' failed
  > mai 17 17:37:28 leaf display-manager-start[1263]: *_ (process:1282): WARNING *_: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
  > mai 17 17:37:28 leaf lightdm[1282]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
  > mai 17 17:37:39 leaf display-manager-start[1263]: *_ (process:1307): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
  > mai 17 17:37:39 leaf systemd[1]: display-manager.service: main process exited, code=killed, status=6/ABRT
  > mai 17 17:37:39 leaf lightdm[1307]: PAM pam_putenv: no variable indicated
  > mai 17 17:37:39 leaf lightdm[1307]: PAM pam_putenv: no variable indicated
  > mai 17 17:37:39 leaf lightdm[1307]: PAM pam_putenv: no variable indicated
  > mai 17 17:37:39 leaf lightdm[1307]: PAM pam_putenv: no variable indicated
  > mai 17 17:37:39 leaf lightdm[1307]: PAM pam_putenv: no variable indicated
  > mai 17 17:37:39 leaf lightdm[1307]: PAM pam_putenv: no variable indicated
  > mai 17 17:37:39 leaf lightdm[1307]: PAM pam_putenv: no variable indicated
  > mai 17 17:37:39 leaf lightdm[1307]: PAM pam_putenv: no variable indicated
  > mai 17 17:37:39 leaf systemd[1]: Unit display-manager.service entered failed state.
  > mai 17 17:37:39 leaf systemd[1]: display-manager.service failed.
  > mai 17 17:37:39 leaf systemd[1]: display-manager.service holdoff time over, scheduling restart.
  > mai 17 17:37:39 leaf systemd[1]: Stopping X11 Server...
  > mai 17 17:37:39 leaf systemd[1]: Starting X11 Server...

  I tried with latest master and I'm not even thrown back to lightdm, I get stuck with a black screen. I can login with no problem for example with slim.


state: closed
title: haskellng: Cannot enter a build environment for GTK3
user_login: ocharles
html_url: https://github.com/NixOS/nixpkgs/issues/7904
updated_at: 2015-05-19 14:05:14
body:
  ```
  ollie@nixos ~> cd ~/work/gtk2hs/gtk
  ollie@nixos ~/w/g/gtk> cat shell.nix
  with (import <nixpkgs> {}).pkgs;
  let pkg = haskellngPackages.callPackage
              ({ mkDerivation, array, base, bytestring, cairo, containers, gio
               , glib, gtk2hs-buildtools, gtk3, mtl, pango, stdenv, text, time
               , transformers
               }:
               mkDerivation {
                 pname = "gtk3";
                 version = "0.13.6";
                 src = ./.;
                 isLibrary = true;
                 isExecutable = true;
                 buildDepends = [
                   array base bytestring cairo containers gio glib mtl pango text time
                   transformers
                 ];
                 buildTools = [ gtk2hs-buildtools ];
                 pkgconfigDepends = [ gtk3 ];
                 homepage = "http://projects.haskell.org/gtk2hs/";
                 description = "Binding to the Gtk+ graphical user interface library";
                 license = stdenv.lib.licenses.lgpl21;
               }) { gtk3 = null; };
  in
    pkg.env
  ollie@nixos ~/w/g/gtk> nix-shell -I ~

  [nix-shell:~/work/gtk2hs/gtk]$ cabal configure
  Warning: The package list for 'hackage.haskell.org' is 123.6 days old.
  Run 'cabal update' to get the latest list of available packages.
  Resolving dependencies...
  Configuring gtk3-0.13.6...
  setup: The pkg-config package 'gthread-2.0' is required but it could not be
  found.
  ```

  Oddly, if I try and use `pkg` rather than `pkg.env` in `shell.nix`, `nix-build` can see `gthread`, but is still unable to build `gtk3`:

  ```
  ollie@nixos ~/w/g/gtk> nix-build -I ~ shell.nix
  these derivations will be built:
    /nix/store/xxsz7zd20gsfgq954pwq87q3ifqzz4kg-haskell-gtk3-0.13.6.drv
  building path(s) ‘/nix/store/9zqva67nik375l8kxs313355q8gbfqdf-haskell-gtk3-0.13.6’
  setupCompilerEnvironmentPhase
  Build with /nix/store/cgddwzz9hkdgprvbymphv8yprc66zxk7-ghc-7.10.1.
  unpacking sources
  unpacking source archive /nix/store/vkdx9jsvyb7b8329rkza0gi4wzmxh1kp-gtk
  source root is gtk
  patching sources
  compileBuildDriverPhase
  setupCompileFlags: -package-db=/tmp/nix-build-haskell-gtk3-0.13.6.drv-0/package.conf.d -j8 -threaded
  [1 of 2] Compiling SetupWrapper     ( SetupWrapper.hs, /tmp/nix-build-haskell-gtk3-0.13.6.drv-0/SetupWrapper.o )
  [2 of 2] Compiling Main             ( Setup.hs, /tmp/nix-build-haskell-gtk3-0.13.6.drv-0/Main.o )
  Linking Setup ...
  configuring
  configureFlags: --verbose --prefix=/nix/store/9zqva67nik375l8kxs313355q8gbfqdf-haskell-gtk3-0.13.6 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-haskell-gtk3-0.13.6.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/9zqva67nik375l8kxs313355q8gbfqdf-haskell-gtk3-0.13.6/lib/ghc-7.10.1/gtk3-0.13.6 --ghc-option=-j8 --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests --extra-include-dirs=/nix/store/gzc6lpi4v9iwj3z5jznrwnmj77ws8p9j-glib-2.44.0/include --extra-lib-dirs=/nix/store/gzc6lpi4v9iwj3z5jznrwnmj77ws8p9j-glib-2.44.0/lib --extra-include-dirs=/nix/store/zx0hnalq0sqg98wc1w2g4wjc553sy2ba-pcre-8.37/include --extra-lib-dirs=/nix/store/zx0hnalq0sqg98wc1w2g4wjc553sy2ba-pcre-8.37/lib --extra-include-dirs=/nix/store/qgkv4wcgsjiqq0049r6cz1fk9mw6265n-zlib-1.2.8/include --extra-lib-dirs=/nix/store/qgkv4wcgsjiqq0049r6cz1fk9mw6265n-zlib-1.2.8/lib --extra-include-dirs=/nix/store/z028fvj3k1gpgvm92x33i34v1yjf5id4-libffi-3.2.1/include --extra-lib-dirs=/nix/store/z028fvj3k1gpgvm92x33i34v1yjf5id4-libffi-3.2.1/lib --extra-include-dirs=/nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/include --extra-lib-dirs=/nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/lib
  Configuring gtk3-0.13.6...
  Flags chosen: fmode-binary=True, build-demos=False, have-gio=True
  Dependency array -any: using array-0.5.1.0
  Dependency base ==4.*: using base-4.8.0.0
  Dependency bytestring -any: using bytestring-0.10.6.0
  Dependency cairo >=0.13.0.0 && <0.14: using cairo-0.13.1.0
  Dependency containers -any: using containers-0.5.6.2
  Dependency gio >=0.13.0 && <0.14: using gio-0.13.1.0
  Dependency glib >=0.13.0.0 && <0.14: using glib-0.13.1.0
  Dependency gtk3 ==0.13.6: using gtk3-0.13.6
  Dependency mtl -any: using mtl-2.2.1
  Dependency pango >=0.13.0.0 && <0.14: using pango-0.13.1.0
  Dependency text >=0.11.0.6 && <1.3: using text-1.2.0.4
  Dependency time -any: using time-1.5.0.1
  Dependency transformers -any: using transformers-0.4.2.0
  Dependency gthread-2.0 -any: using version 2.44.0
  setup: The pkg-config package 'gtk+-3.0' is required but it could not be
  found.
  builder for ‘/nix/store/xxsz7zd20gsfgq954pwq87q3ifqzz4kg-haskell-gtk3-0.13.6.drv’ failed with exit code 1
  error: build of ‘/nix/store/xxsz7zd20gsfgq954pwq87q3ifqzz4kg-haskell-gtk3-0.13.6.drv’ failed
  ```


state: closed
title: Update io.js
user_login: Havvy
html_url: https://github.com/NixOS/nixpkgs/issues/7907
updated_at: 2015-06-02 22:59:00
body:
  I've already tried to get this working and failed. Here's my latest attempt (which is a few weeks old).

  Major changes include:  http-parser requires v2.5.0 (which is updated), libuv uses 1.5.0 in io.js 2.1+. There was an --enable-static flag added, but no-disable-static. Other potentially unknown issues.

  You'll want to update the version past 2.0.0.

  ```
  { stdenv, fetchurl, python, utillinux, openssl, http-parser, zlib, libuv }:

  let
    version = "2.0.0";
    inherit (stdenv.lib) optional maintainers licenses platforms;
  in stdenv.mkDerivation {
    name = "iojs-${version}";

    src = fetchurl {
      url = "https://iojs.org/dist/v${version}/iojs-v${version}.tar.gz";
      sha256 = "0ykn8zfp7j5ckm6lwixm7mnffydf4gvpcvcwynk9y76lkyqlgpg4";
    };

    prePatch = ''
      sed -e 's|^#!/usr/bin/env python$|#!${python}/bin/python|g' -i configure
    '';

    configureFlags = [ "--shared-openssl" "--shared-http-parser" "--shared-zlib" ];

    # iojs has --enable-static but no --disable-static. Automatically adding --disable-static
    # causes configure to fail, so don't add --disable-static.
    dontDisableStatic = true;

    buildInputs = [ python openssl http-parser zlib libuv ] ++ (optional stdenv.isLinux utillinux);
    makeFlags = [ ''CXXFLAGS="-std=c++0x"'' ];
    setupHook = ../nodejs/setup-hook.sh;

    passthru.interpreterName = "iojs";

    meta = {
      description = "A friendly fork of Node.js with an open governance model";
      homepage = https://iojs.org/;
      license = licenses.mit;
      platforms = platforms.linux;
    };
  }
  ```


state: closed
title: NetworkManager VPN support isn't working
user_login: purefn
html_url: https://github.com/NixOS/nixpkgs/issues/7908
updated_at: 2015-05-20 17:39:52
body:
  It seems that since db3b86560f11437e260ae6d6661c69fb5bb36c75, network manager can no longer load the VPN modules properly. It was previously working with

  ```
    environment.systemPackages = with pkgs; [
      ...
      gnome3.networkmanagerapplet
      gnome3.networkmanager_openconnect
      gnome3.networkmanager_openvpn
      ...
    ];
  ```

  in my `configuration.nix`. Now the VPNs I had configured previously don't show up in the VPN submenu and when I try and create a new VPN there are no options to select OpenConnect or OpenVPN.


state: closed
title: cfr: Update to version 0_101 and remove platform restrictions
user_login: oherrala
html_url: https://github.com/NixOS/nixpkgs/pull/7910
updated_at: 2015-05-20 12:15:32
body:
  cfr is written in Java, so it should work in every platform supported
  by jre. This fix makes cfr usable in Darwin.


state: closed
title: networkmanager shows virtual interfaces
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/7912
updated_at: 2015-11-10 11:23:20
body:
  Starting from Gnome 3.16, I see 2 ethernet devices in Gnome:

  ![nixos-ethernet](https://cloud.githubusercontent.com/assets/217543/7725532/df57769e-fefb-11e4-8b6e-188e5b399bc3.png)

  This also affects the network settings panel.


state: closed
title: Update network-manager to 1.0.2
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/7913
updated_at: 2015-05-21 08:56:06
body:
  With the following patch to `network-manager/default.nix`:

  ``` patch
  diff --git a/pkgs/tools/networking/network-manager/default.nix b/pkgs/tools/networking/network-manager/default.nix
  index 899577c..0433aef 100644
  --- a/pkgs/tools/networking/network-manager/default.nix
  +++ b/pkgs/tools/networking/network-manager/default.nix
  @@ -5,11 +5,11 @@

   stdenv.mkDerivation rec {
     name = "network-manager-${version}";
  -  version = "1.0.0";
  +  version = "1.0.2";

     src = fetchurl {
       url = "mirror://gnome/sources/NetworkManager/1.0/NetworkManager-${version}.tar.xz";
  -    sha256 = "0isrv1875whysnrf3fd1cz96xwd54nvj1rijk3fmx5qccznayris";
  +    sha256 = "1zq8jm1rc7n7amqa9xz1v93w2jnczg6942gyijsdpgllfiq8b4rm";
     };

     preConfigure = ''

  ```

  here is an error message we get as a result:

  ```
  dns-manager/nm-dns-manager.c: In function 'dispatch_resolvconf':
  dns-manager/nm-dns-manager.c:438:25: error: 'G_IO_ERROR' undeclared (first use in this function)
       g_set_error (error, G_IO_ERROR, g_io_error_from_errno (errnosv),
                           ^
  dns-manager/nm-dns-manager.c:438:25: note: each undeclared identifier is reported only once for each function it appears in
  dns-manager/nm-dns-manager.c:438:37: warning: implicit declaration of function 'g_io_error_from_errno' [-Wimplicit-function-declaration]
       g_set_error (error, G_IO_ERROR, g_io_error_from_errno (errnosv),
                                       ^
  Makefile:1494: recipe for target 'nm-dns-manager.lo' failed
  make[4]: *** [nm-dns-manager.lo] Error 1
  ```


state: closed
title: postfix
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/issues/7915
updated_at: 2015-08-14 08:50:38
body:
  # adding spamassassin to the postfix pipeline

  in the postfix nix expression we have this hardcoded masterCf (see below).

  in order to add a spamassassin pipeline one has to alter the nix expression, i would like to suggest that we make the masterCf a default value for a mkOption which can be changed from configuration.nix

  what do you think?

  <pre>
  masterCf = ''
      # ==========================================================================
      # service type  private unpriv  chroot  wakeup  maxproc command + args
      #               (yes)   (yes)   (yes)   (never) (100)
      # ==========================================================================
      smtp      inet  n       -       n       -       -       smtpd
      #submission inet n       -       n       -       -       smtpd
      #  -o smtpd_tls_security_level=encrypt
      #  -o smtpd_sasl_auth_enable=yes
      #  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
      #  -o milter_macro_daemon_name=ORIGINATING
  ...
  </pre>


  https://github.com/NixOS/nixpkgs/blob/release-14.12/nixos/modules/services/mail/postfix.nix


state: closed
title: jumanji browser runtime dependency failure
user_login: shdpl
html_url: https://github.com/NixOS/nixpkgs/issues/7916
updated_at: 2015-05-20 23:10:52
body:
  I tried to use _jumanji_ browser from nixpkgs, but it looks like it do not specify all dependencies it needs.
  As i can't fix it now, maybe someone would be interesting in repairing this package.

  When after successfull installation ( nix-env -i and config.nix leads to same result ) when i tried to run it, i got following result:

  > *\* (.jumanji-wrapped:26906): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
  > 
  > (.jumanji-wrapped:26906): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
  > Trace/breakpoint trap

  Some forums say that might be related to gsettings desktop schemas.


state: closed
title: Harden our SSH configuration against Logjam attack
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/7920
updated_at: 2015-05-22 10:24:04
body:
  https://stribika.github.io/2015/01/04/secure-secure-shell.html provides some useful suggestions how to defend against weakness in the Deploying Diffie-Hellman key exchange, i.e. removing entries from `/etc/ssh/moduli` that are too small. We should implement those recommends ASAP.

  Also, our version of Firefox appears to be vulnerable: visit https://weakdh.org/ to check.


state: closed
title: new goPackage(s): pq, goquery, cascadia
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/pull/7921
updated_at: 2015-05-21 10:51:44
body:
  i've tested all 3 of them using nix-shell:

  <pre>
   nix-shell -I nixpkgs=$NIXPKGS -p goPackages.pq goPackages.goquery go
  </pre>


state: closed
title: ghc-mod: "Unrecognized option --help, try --help"
user_login: matthiasbeyer
html_url: https://github.com/NixOS/nixpkgs/issues/7926
updated_at: 2015-05-22 18:31:58
body:
  All I know:

  ```
  $ ./result/sw/bin/ghc-mod 
  .ghc-mod-wrapped: No command given (try --help)
  $ ./result/sw/bin/ghc-mod  --help
  .ghc-mod-wrapped: Parsing command line options failed: unrecognized option `--help'
  ```

  (Haskell package)


state: closed
title: Fix gnome3.libgit2-glib build.
user_login: gebner
html_url: https://github.com/NixOS/nixpkgs/pull/7928
updated_at: 2015-05-21 19:15:00
body:
  The libgit2-glib build currently fails with:

  ```
  theba :: ~/nixpkgs ‹master› » nix-build . -A gnome3.libgit2-glib                     
  these derivations will be built:
    /nix/store/p27j6wkyfi8r02h1k1s5anb928s2cjjx-libgit2-glib-0.0.24.drv
  building path(s) ‘/nix/store/g07gdf12qcirpb2m7bs8m8917w7x0rb8-libgit2-glib-0.0.24’
  unpacking sources
  unpacking source archive /nix/store/nnxrwfddfrln6dnzxp1fh6qfx9wz57id-libgit2-glib-0.0.24.tar.xz
  source root is libgit2-glib-0.0.24
  patching sources
  configuring
  fixing libtool script ./ltmain.sh
  grep: sh: No such file or directory
  grep: ./autogen.sh: No such file or directory
  grep: sh: No such file or directory
  grep: ./autogen.sh: No such file or directory
  configure flags: --prefix=/nix/store/g07gdf12qcirpb2m7bs8m8917w7x0rb8-libgit2-glib-0.0.24  
  sh: ./autogen.sh: No such file or directory
  builder for ‘/nix/store/p27j6wkyfi8r02h1k1s5anb928s2cjjx-libgit2-glib-0.0.24.drv’ failed with exit code 127
  error: build of ‘/nix/store/p27j6wkyfi8r02h1k1s5anb928s2cjjx-libgit2-glib-0.0.24.drv’ failed
  ```

  Apparently, the upstream tarball doesn't contain `autogen.sh`; this PR removes the reference to `autogen.sh` and uses the default `configure` instead.


state: closed
title: python-wrapper: Wrap interpreter rather than script
user_login: spwhitt
html_url: https://github.com/NixOS/nixpkgs/pull/7931
updated_at: 2017-04-23 07:13:54
body:
  A quick implementation of an alternative approach to solving #7366. According to a post on nix-dev, the solution in d4460d130a46d05bf1178320aff2d5e5fe28f515 still causes problems.

  This was written quite quickly, and it's highly unlikely that it's completely ready for a merge. So please discuss and review carefully.

  @domenkozar @aszlig 


state: closed
title: nix-collect-garbage: error: invalid generation specifier ‘’
user_login: petarb
html_url: https://github.com/NixOS/nixpkgs/issues/7933
updated_at: 2015-06-28 19:40:01
body:
  Not sure what happened here:

  ```
  $ PAGER= nix-env --list-generations
   123   2015-04-30 14:41:27   
   124   2015-05-06 17:13:07   
   125   2015-05-06 17:21:02   (current)

  $ nix-collect-garbage -d
  removing old generations of profile /nix/var/nix/profiles/per-user/petar/channels
  error: invalid generation specifier ‘’
  Try ‘/nix/store/p5vbyx5flyyb2gjvfi2vkk7xp296kz3a-nix-1.9pre4100_4bbcfaf/bin/nix-env --help’ for more information.
  removing old generations of profile /nix/var/nix/profiles/default
  error: invalid generation specifier ‘’
  Try ‘/nix/store/p5vbyx5flyyb2gjvfi2vkk7xp296kz3a-nix-1.9pre4100_4bbcfaf/bin/nix-env --help’ for more information.
  finding garbage collector roots...
  deleting garbage...
  deleting ‘/nix/store/trash’
  deleting unused links...
  note: currently hard linking saves -0.00 MiB
  0 store paths deleted, 0.00 MiB freed

  $ ls -la /nix/var/nix/profiles/per-user/petar
  total 20
  drwxr-xr-x 2 petar petar 4096 May 21 22:59 ./
  drwxr-xr-x 3 petar petar 4096 Mar 20  2014 ../
  lrwxrwxrwx 1 petar petar   17 May 21 22:45 channels -> channels-187-link/
  lrwxrwxrwx 1 petar petar   60 Apr  8 14:41 channels-185-link -> /nix/store/caz6qnfv771hi7b86fqrlihwxnpdljq0-user-environment/
  lrwxrwxrwx 1 petar petar   60 May  6 17:02 channels-186-link -> /nix/store/gbsjsvj3zk4bnhys040pfdfcdcap1jdb-user-environment/
  lrwxrwxrwx 1 petar petar   60 May 21 22:45 channels-187-link -> /nix/store/i93zdrzm93rif9vxf6kwdynr4kdnz745-user-environment/

  $ ls -la /nix/var/nix/profiles
  total 24
  drwxr-xr-x 3 petar petar 4096 May 21 22:59 ./
  drwxr-xr-x 9 petar petar 4096 Mar 16  2014 ../
  lrwxrwxrwx 1 petar petar   16 May  6 17:21 default -> default-125-link/
  lrwxrwxrwx 1 petar petar   60 Apr 30 14:41 default-123-link -> /nix/store/q3i6wskd7pqxp97qvi506gqablbhqf8c-user-environment/
  lrwxrwxrwx 1 petar petar   60 May  6 17:13 default-124-link -> /nix/store/ad8ac5yx1227cf1in45llf21kl3dr6c9-user-environment/
  lrwxrwxrwx 1 petar petar   60 May  6 17:21 default-125-link -> /nix/store/hpqcxr82wrcfifz1nqbj8yr17jxzngl5-user-environment/
  drwxr-xr-x 3 petar petar 4096 Mar 20  2014 per-user/
  ```


state: closed
title: Add makeWrapperArgs argument to buildPythonPackage
user_login: thinkpad20
html_url: https://github.com/NixOS/nixpkgs/pull/7936
updated_at: 2015-05-25 08:32:10
body:
  This does two primary things:
  1. Better documentation of `wrap.sh`. Hopefully as nix moves forward these bash incantations will start to get documented so that contributors aren't as confused as I was :grimacing: 
  2. Adds ability to add arbitrary environment variables to be stored in the wrapping script. Rather than just `PATH` and `PYTHONPATH`, you can specify any environment variable. This is especially useful when a package will read some environment variables (e.g. configuration) at runtime, and you want to be sure it will read the right ones.

  Example:

  ``` nix
  with import <nixpkgs> {};

  buildPythonPackage {
    name = "foo-0.1.0";
    src = ./.;
    setEnvVars = ["NUM_WORKERS" "CONFIG_FILE_PATH"];
    NUM_WORKERS = "4";
    CONFIG_FILE_PATH = "./config/cfg.json";
  }
  ```

  Then assuming that the setup.py for `foo` builds some executable, the derivation will produce a wrapped executable with something like

  ``` bash
  export PYTHONPATH=/nix/store/....
  export PATH=/nix/store/.....
  export NUM_WORKERS=4
  export CONFIG_FILE_PATH=./config/cfg.json
  exec /nix/store/.../bin/.foo-wrapped "${extraFlagsArray[@]}" "$@"
  ```

  @domenkozar @chaoflow 


state: closed
title: Proposed plan to package the dotNET ecosystem in Nix [Discussion]
user_login: obadz
html_url: https://github.com/NixOS/nixpkgs/issues/7938
updated_at: 2015-06-08 01:51:39
body:
  Hi all,

  Would like to propose a plan for packaging the dotNET ecosystem in Nix.

  Motivation:

  Microsoft has opensourced the dotNET VM, as well as compilers and libraries. Until those things are packaged, Mono is a pretty decent runtime. F#, is an amazing language, its compiler is opensource and already packaged for Nix and it has good integration with open editors (vim/emacs/atom). In summary, it's a solid dev environment than even non-Windows users ought to consider.

  Proposed Plan:

  I propose that we create a pkgs/development/dotnet-modules directory which would contain dotNET libraries.
  The output of these derivations should be a single file in the store in the nupkg format.
  The nupkg (Nuget package) format is essentially is a zip file containing some metadata and the compiled library DLLs.
  Some of the derivations would simply download packages from Nuget.org or Myget.org and the nix files would contain package name, version number, server (Nuget/Myget/etc.) and hash.
  When source is available, and someone has taken the time to package it, derivations can also build the libraries from source and still produce the nupkg file.

  Outputing a single nupkg (zip) file rather than a directory containing the DLLs might seem odd, but dotnet applications typically expect nupkg files as inputs to build and will copy all the DLLs they need in order to run. This may lead to some duplication of files, but that's a problem for another day..

  Building from source can get tricky as the nuget tool typically hits the network to fetch dependencies, and obviously we can't have that in Nix. I think Paket (written by @forki et al.) can be a great resource to tackle that problem.

  If we generate a directory containing all the nupkg dependencies of a project we are about to build, we can tell Paket to troll through all the project files (fsproj/csproj/etc.) and set them up to use our locally downloaded mirror (hopefully) without ever hitting the network.

  Paket will also be invaluable in figuring what are the dependencies that are needed (and their dependencies), etc.

  I think the build process should look something like:

  ``` nix
  { stdenv, fetchgit, paket, paketHelper,
    mono, lib1, lib2, lib3 }:

  stdenv.mkDerivation {
      version = "1.2.3";
      revision = "7560726734fc7267de2fa9abed2509968deefaa8";
      name = "blah-${version}";

      src = fetchgit {
          url = "https://github.com/blah/blah.git";
          rev = revision;
          sha256 = "1hbnckc4gvqkknf8gh1k7iwqb4vdzifdjd19i60fnczly5v8m1c3";
      };

      paketRepo = paketHelper.makePaketRepo [ lib1 lib2 lib3 ]
      paketDeps = ./paket.references

      postPatch = ''
        # Just copy the paket.references file patching the source line at
        # the beginning to point to the folder created by paketHelper.makePaketRepo
        (echo source ${paketRepo}; grep -v ^source "${paketDeps}") > paket.references

        # Copy the input packages in the packages folder and troll the project
        # files and patch them appropriately
        ${paket}/bin/paket install --hard
      '';

      build = ''
        ${mono}/bin/xbuild
        # Whatever commmand produces the nupkg file
      '';

      # For libraries, install phase should be to copy the nupkg file in the store
      # For applications, something like:
      install = ''
        mkdir -p "$out/opt/blah"
        cp -rv "bin/x64/Release/"* "$out/opt/blah"
        # cp -rv "bin/x64/Debug/"* "$out/opt/blah" <= if you want debugging symbols
        # Create some wrapper:
        cat > "$out/bin/blah" << EOF
        #! ${bash}/bin/bash
        exec ${mono}/bin/mono $out/opt/blah/Blah.exe
        EOF
        chmod 755 "$out/bin/blah"
      '';
  }
  ```

  We can of course create a buildDotNetPackage function once we've ironed out the kinks.

  Let me know your thoughts.

  Cc @lethalman


state: closed
title: nixos: don't generate sshd keys with DSA or ECDSA algorithms by default
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/pull/7939
updated_at: 2015-08-05 19:59:18
body:
  Some people doubt that DSA and ECDSA keys offer good security and thus
  recommend using ED25519 or RSA keys instead, so we make those algorithms our
  default choices. Note that NixOS users can still choose whatever algorithms and
  key sizes they please; these are just the defaults.

  Further details can be found at:

    https://stribika.github.io/2015/01/04/secure-secure-shell.html

  This patch resolves https://github.com/NixOS/nixpkgs/issues/5809.


state: closed
title: jailbreak-cabal is broken in release-14.12
user_login: phunehehe
html_url: https://github.com/NixOS/nixpkgs/issues/7940
updated_at: 2015-05-22 13:09:32
body:
  I'm not quite sure whether I did anything wrong, but this seems to have something to do with the recently updated [revision](https://hackage.haskell.org/package/jailbreak-cabal-1.1/revisions/)

  ```
  /srv/projects/nixpkgs-release-14.12 nix-build ./default.nix -A haskellngPackages.jailbreak-cabal --show-trace --verbose  
  evaluating file ‘/nix/store/48gk0m0xpfzwh0k2ahv1grnvh3pgchmv-nix-1.9pre4074_e659978/share/nix/corepkgs/derivation.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/top-level/all-packages.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/adapters.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/build-support/trivial-builders.nix’
  evaluating file ‘/home/phunehehe/.nixpkgs/config.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/default.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/trivial.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/lists.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/strings.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/strings-with-deps.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/attrsets.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/sources.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/options.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/types.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/meta.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/debug.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/misc.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/modules.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/systems.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/customisation.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/linux/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/generic/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/top-level/haskell-ng.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/servers/x11/xorg/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/hackage-packages.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/configuration-common.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/desktops/gnome-2/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/generic-builder.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/compilers/ghc/7.8.4.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/compilers/ghc/7.4.2-binary.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/lib/platforms.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/haskell-modules/lib.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/build-support/gcc-wrapper/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/misc/binutils/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/glibc/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/glibc/common.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/compilers/gcc/4.8/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/cloog/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/isl/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/libelf/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/zlib/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/gtk+/2.x.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/servers/x11/xorg/overrides.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/misc/cups/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/misc/coreutils/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/acl/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/shells/bash/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/shells/bash/bash-4.3-patches.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/parsing/bison/3.x.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/misc/gnum4/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/linux/bootstrap/x86_64.nix’
  |   evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/linux/bootstrap/i686.nix’
  evaluating file ‘/nix/store/48gk0m0xpfzwh0k2ahv1grnvh3pgchmv-nix-1.9pre4074_e659978/share/nix/corepkgs/fetchurl.nix’
  evaluating file ‘/nix/store/48gk0m0xpfzwh0k2ahv1grnvh3pgchmv-nix-1.9pre4074_e659978/share/nix/corepkgs/config.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/misc/patchelf/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/build-support/fetchurl/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/build-support/fetchurl/mirrors.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/os-specific/linux/paxctl/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/os-specific/linux/kernel-headers/3.12.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/interpreters/perl/5.20/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/top-level/platforms.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/compression/xz/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/misc/texinfo/5.2.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/system/which/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/gettext/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/gmp/5.1.x.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/mpfr/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/mpc/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/compression/gzip/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/compression/bzip2/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/attr/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/diffutils/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/misc/findutils/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/gawk/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/libsigsegv/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/tools/build-managers/gnumake/3.82/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/gnused/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/archivers/gnutar/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/gnugrep/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/pcre/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/text/gnupatch/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/applications/editors/ed/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/stdenv/common-path.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/tools/networking/curl/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/openssl/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/libssh2/default.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/glibc/locales.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/gmp/4.3.2.nix’
  evaluating file ‘/srv/projects/nixpkgs-release-14.12/pkgs/development/libraries/ncurses/default.nix’
  derivation is /nix/store/1h919zagjvppdyzwapk0brp89x3pxb66-jailbreak-cabal-1.1.drv
  these derivations will be built:
    /nix/store/a446vf31pcsaqdw62xmckzhcc02jwqwa-jailbreak-cabal-1.1.tar.gz.drv
    /nix/store/mn8mcll0ypq0izskklwnn8xwiyibj576-jailbreak-cabal.cabal.drv
    /nix/store/1h919zagjvppdyzwapk0brp89x3pxb66-jailbreak-cabal-1.1.drv
  building path(s) ‘/nix/store/5smjhv0kz63142k3ki2il3vj8rxiby5d-jailbreak-cabal-1.1.tar.gz’

  trying http://hackage.haskell.org/package/jailbreak-cabal-1.1.tar.gz
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  100  1688  100  1688    0     0   3408      0 --:--:-- --:--:-- --:--:--  3408
  scanning for references inside ‘/nix/store/5smjhv0kz63142k3ki2il3vj8rxiby5d-jailbreak-cabal-1.1.tar.gz’
  building path(s) ‘/nix/store/pxsf1fyfzxll3ypn8wic86w7nq6fvkk8-jailbreak-cabal.cabal’

  trying http://hackage.haskell.org/package/jailbreak-cabal-1.1/jailbreak-cabal.cabal
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100   935    0   935    0     0   3682      0 --:--:-- --:--:-- --:--:--  3755
  scanning for references inside ‘/nix/store/pxsf1fyfzxll3ypn8wic86w7nq6fvkk8-jailbreak-cabal.cabal’
  output path ‘/nix/store/pxsf1fyfzxll3ypn8wic86w7nq6fvkk8-jailbreak-cabal.cabal’ should have sha256 hash ‘1rw7hc5czd3avz1jxng2rcc04mx39wbk7b0f6ip7nqxjq34m3qkz’, instead has ‘09aq9gj1b5mb28hk4nbm15wps5zmsmdsicksai4fvyc8zl7fps63’
  cannot build derivation ‘/nix/store/1h919zagjvppdyzwapk0brp89x3pxb66-jailbreak-cabal-1.1.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/1h919zagjvppdyzwapk0brp89x3pxb66-jailbreak-cabal-1.1.drv’ failed
  ```


state: closed
body: This patch resolves https://github.com/NixOS/nixpkgs/pull/5870.
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/pull/7941
updated_at: 2015-05-22 18:51:46
title:
  nixos: add config.services.openssh.moduliFile option so that users can replace the default file from OpenSSH


state: closed
title: cannot login via xdmcp
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/issues/7942
updated_at: 2015-11-29 10:09:07
body:
  NixOS 14.12
  direct cable between 2 PC's.
  kdm configured for xdmcp on both ends.
  the boxes see each others  hostname
  when I select it, get 3 seconds of screen blinks, and am back to the login screen

  I can login from debian to nixos just fine. (X -query $IP)
  I can also ssh -X from nixos to nixos, but really need a full desktop remotely for my application.

  I have not found anything interesting in the logs, but I might have overlooked something.


state: closed
title: Upgrade to selenium 2.45
user_login: bosu
html_url: https://github.com/NixOS/nixpkgs/pull/7944
updated_at: 2015-05-22 16:05:27
body:
  Without the upgrade, firefox driver is unusable, due to:

  https://code.google.com/p/selenium/issues/detail?id=8399


state: closed
title: liquid haskell can't find module
user_login: wizeman
html_url: https://github.com/NixOS/nixpkgs/issues/7945
updated_at: 2015-05-22 18:38:49
body:
  While trying to use `liquidhaskell` on the following simple Haskell program:

  ``` haskell
  import qualified Data.Text.Lazy as L

  main = print $ L.unpack $ L.pack "test"
  ```

  I am running into the following error:

  ```
  $ liquid -v test.hs
  LiquidHaskell Copyright 2009-14 Regents of the University of California. All Rights Reserved.

  Warning: Couldn't do create temp directory: ./.liquid: createDirectory: already exists (File exists)
  parseSpec: test.hs
  paths = ["/home/wizeman/tmp","/nix/store/hnk52pzwmxbc37kmdph07bwngk46vv3g-haskell-liquidhaskell-0.3.1.0/share/x86_64-linux-ghc-7.8.4/liquidhaskell-0.3.1.0/include/"]

  **** DONE:  annotate ***********************************************************


  **** ERROR: Invalid Source *****************************************************


   test.hs:1:18-31: Error: GHC Error
       Could not find module ‘Data.Text.Lazy’
  Perhaps you meant
    Data.Map.Lazy (from containers-0.5.5.1)
    Data.STRef.Lazy (from base)
  Use -v to see a list of the files searched for.
  ```

  ... while simply using `ghc` works fine:

  ```
  $ ghc test.hs
  [1 of 1] Compiling Main             ( test.hs, test.o )
  Linking test ...
  ./
  ```

  Any ideas?


state: closed
title: Cannot update [unstable] due to build dependencies
user_login: matthiasbeyer
html_url: https://github.com/NixOS/nixpkgs/issues/7947
updated_at: 2015-05-27 19:19:06
body:
  I'm not quite sure where this comes from:

  ```
  $ sudo nix-channel --update
  $ sudo nixos-rebuild switch
  # SOME LINES
  *** Downloading 
  ‘https://cache.nixos.org/nar/1m4kw4hr06k782xz0xykl3mvvr6pn099kjkbzd3y7yf1zkqm3xw9.nar.xz’ to ‘/nix/store/h20i09jbp107rk0hwhf9kmkqwffkq2fs-gcc-wrapper-4.8.4’...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100  4136  100  4136    0     0   7822      0 --:--:-- --:--:-- --:--:--  7818

  building path(s) ‘/nix/store/n10al76m3ad13hh0b1wm6n6xp5w8myla-daq-2.0.4.tar.gz’

  ++ echo fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run
  + run_file=fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run
  + sh fglrx-14.501.1003/amd-driver-installer-14.501.1003-x86.x86_64.run --extract .
  Warning: target directory exists .
  Verifying archive integrity...
  trying http://www.snort.org/downloads/snort/daq-2.0.4.tar.gz
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
   All good.
  Uncompressing AMD Catalyst(TM) Proprietary Driver-14.501.1003df: Warning: cannot read table of mounted file systems: No such file or directory
  100 2192k  100 2192k    0     0   959k      0  0:00:02  0:00:02 --:--:--  959k

  fetching path ‘/nix/store/khni5vkhrczfdwanfrpw5ixnsdsdc6i3-stdenv’...
  ......
  *** Downloading ‘https://cache.nixos.org/nar/0j1ij4jc816hib9514jw6ard69xiw15c80rpaqx54skzrlfai2xv.nar.xz’ to ‘/nix/store/khni5vkhrczfdwanfrpw5ixnsdsdc6i3-stdenv’...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
  100  7352  100  7352    0     0  12945      0 --:--:-- --:--:-- --:--:-- 12966...........

  fetching path ‘/nix/store/8f1kfc0xiyam32yx362w4f2mgzndyqfb-mariadb-10.0.18-lib’...
    1  931M    1 17.8M    0     0  1791k      0  0:08:52  0:00:10  0:08:42 2816k
  *** Downloading ‘https://cache.nixos.org/nar/0ihbvqlnba4c4fiwh6k361qnj20ss60xj8fn9r01349b1xxkqi46.nar.xz’ to ‘/nix/store/8f1kfc0xiyam32yx362w4f2mgzndyqfb-mariadb-10.0.18-lib’...
    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                   Dload  Upload   Total   Spent    Left  Speed
    3 98.3M    3 3620k    0     0   251k      0  0:06:39  0:00:14  0:06:25  219k........curl: (22) The requested URL returned error: 404 Not Found
  error: cannot download daq-2.0.4.tar.gz from any mirror
  builder for ‘/nix/store/rq38fv4p85xlcydhlvnfiqnclxkfx4vn-daq-2.0.4.tar.gz.drv’ failed with exit code 1
  fetching path ‘/nix/store/1xxz5zckq78arcyahy53vmm8fkyq9hvz-postgresql-9.2.10’...
  cannot build derivation ‘/nix/store/haqw9m20z64n080dhcrckrzy30iz92vm-daq-2.0.4.drv’: 1 dependencies couldn't be built
  cannot build derivation ‘/nix/store/ahf9nw5vvlc2k042plvlf1q7q7pjm9xb-snort-2.9.7.2.drv’: 1 dependencies couldn't be built
  killing process 21895
  killing process 21983
  killing process 21968
  fetching path ‘/nix/store/f48ikgw3m5idzk366dw2lym61sp5pgvg-python-2.7.9’...
  fetching path ‘/nix/store/dfa4a7zp8xkbgx3awjr1c2clc1zr3wnr-trousers-0.3.13’...
  building path(s) ‘/nix/store/094x9zwjgrjmj728idqkv0g6xq82adnv-etc-file’
  cannot build derivation ‘/nix/store/zc70spnbgkvqk92mp36cylzljj2fpy7i-system-path.drv’: 1 dependencies couldn't be built
  killing process 24115
  killing process 24107
  killing process 21894
  killing process 21897
  building path(s) ‘/nix/store/0xawm017kzqvxlh6wawr5kg8ncfj578z-udev-path’
  building path(s) ‘/nix/store/igm2ws512dqbwpy5h4pcjf8qvlj7zbqz-unit-alsa-store.service’
  building path(s) ‘/nix/store/s804an7c69w8qkaqz1bjhid8r24wb7bl-unit-console-getty.service-disabled’
  building path(s) ‘/nix/store/g5h1ss9mj837ak4z2c9mrz13404wv890-unit-container-getty-.service’
  building path(s) ‘/nix/store/hhkdg72bmxqiqqsjvaj8w0yqqxqzxn6a-unit-cpufreq.service’
  killing process 24117
  killing process 24116
  cannot build derivation ‘/nix/store/4xhz8lpcnn77qqiviplijwmpqv6dlyjc-nixos-15.06pre62649.f93a8ee.drv’: 1 dependencies couldn't be built
  error: build of ‘/nix/store/4xhz8lpcnn77qqiviplijwmpqv6dlyjc-nixos-15.06pre62649.f93a8ee.drv’ failed
  ```

  Do you need any more information?


state: closed
title: WIP extend gitolite module to allow declarative configuration.
user_login: Lassulus
html_url: https://github.com/NixOS/nixpkgs/pull/7949
updated_at: 2015-10-05 15:08:12
body:
  I wanted to configure gitolite without the gitolite-admin repo.
  Maybe this could break some old installations, but for me everything worked fine.
  The only attribute that got changed is commonHooks which didn't work anyway (files couldn't be created, hooks had names with hashes, which made it hard to reference them in scripts/other hooks/etc).

  feedback is appreciated.


state: closed
title: dwb segfaults
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/7952
updated_at: 2015-08-04 11:05:15
body:
  With latest master:

  ```
  [shana@lenalee:~]$ dwb
  Adblock warning: Adblock option '/$script' isn't supported
  Adblock warning: Rule /^https?://[^/]+/[a-z0-9]{15,}$/$script will be ignored
  Adblock warning: Adblock option 'media' isn't supported
  Adblock warning: Rule ||oboom.com/assets/raw/$media,domain=oboom.com will be ignored
  Adblock warning: Adblock option '%&'()*+' isn't supported
  Adblock warning: Rule /http://[a-zA-Z0-9]+\.[a-z]+\/.*(?:[!"#$%&'()*+,:;<=>?@/\^_`{|}~-]).*[a-zA-Z0-9]+/$script,third-party,domain=keezmovies.com|pornhub.com|redtube.com|tube8.com|tube8.es|tube8.fr|youporn.com will be ignored
  DWB EXTENSION: extension adblock_subscriptions: Successfully loaded and initialized.
  DWB EXTENSION ERROR: extension userscripts: No scripts found, place scripts in $XDG_CONFIG_HOME/.config/dwb/greasemonkey
  STACK: [userscriptsStart] [parseScripts] [init] [value] [anonymous]
  DWB EXTENSION ERROR: extension userscripts: Initialization failed.
  STACK: [value] [value] [anonymous]
  DWB EXTENSION: extension perdomainsettings: Successfully loaded and initialized.
  Received SIGSEGV, trying to clean up.

  Last 15 stack frames: 

   15: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x4142d3]
   14: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x430baf]
   13: /nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/lib/libc.so.6(+0x33460) [0x7fe57b42d460]
   12: /nix/store/gzc6lpi4v9iwj3z5jznrwnmj77ws8p9j-glib-2.44.0/lib/libgobject-2.0.so.0(g_type_check_instance_cast+0x20) [0x7fe57d18ecf0]
   11: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x42e59f]
   10: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x42e7e8]
    9: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x423d6c]
    8: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x425419]
    7: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x427da1]
    6: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x428384]
    5: /nix/store/gzc6lpi4v9iwj3z5jznrwnmj77ws8p9j-glib-2.44.0/lib/libgio-2.0.so.0(g_application_run+0x12c) [0x7fe57d455c2c]
    4: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x4286d4]
    3: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x41437f]
    2: /nix/store/c2zjp7bqmp5wvpkrpl7p7sfhxbdyfryy-glibc-2.21/lib/libc.so.6(__libc_start_main+0xf5) [0x7fe57b41a995]
    1: /nix/store/j2amdl0rs7mbin74dda1z3zk3v8kj6bi-dwb-2014-12-15/bin/.dwb-wrapped() [0x4143e9]
  Segmentation fault

  ```

  cc @pSub


state: closed
title: Haskell packages lose theire "overrideScope" attribute after a normal "override"
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/7953
updated_at: 2017-04-25 14:10:24
body:
  The following override works fine:

  ```
  hsemail = super.hsemail.overrideScope (self: super: { parsec = super.parsec; });
  ```

  But if a "normal" override is added before the Haskell-specific-one

  ```
  hsemail = (super.hsemail.override {}).overrideScope (self: super: { parsec = super.parsec; });
  ```

  ..., then evaluation fails:

  > error: attribute ‘overrideScope’ missing, at "/home/simons/.nix-defexpr/pkgs/development/haskell-modules/configuration-common.nix":846:13

  The reason is that the `overrideScope` attribute is added by our special `mkDerivation` function from Haskell NG, but `override` is a normal Nixpkgs mechanism that is unaware of this particular feature, i.e. the overridden version of the attribute returned by `override` no longer has `overrideScope`.


state: closed
title: Update: neovim
user_login: matthiasbeyer
html_url: https://github.com/NixOS/nixpkgs/pull/7956
updated_at: 2015-06-09 19:20:42
body:
  This updates neovim to the nightly build from 2 days ago.

  I created this patch based on 2d8cfe7 (which is my current channel-unstable commit) and tried to build it, but it failed because of:

  ```
  In file included from /tmp/nix-build-neovim-nightly.drv-6/neovim-8c27b0d/src/nvim/terminal.c:43:0:
  /nix/store/7i0azzx7mg2g3lygc433c7js89axbn8c-libvterm-0.99.7/include/vterm.h:29:18: fatal error: glib.h: No such file or directory
   #include <glib.h>
                    ^
  compilation terminated.
  src/nvim/CMakeFiles/nvim.dir/build.make:90: recipe for target 'src/nvim/auto/terminal.c.generated.h' failed
  make[2]: *** [src/nvim/auto/terminal.c.generated.h] Error 1
  CMakeFiles/Makefile2:110: recipe for target 'src/nvim/CMakeFiles/nvim.dir/all' failed
  make[1]: *** [src/nvim/CMakeFiles/nvim.dir/all] Error 2
  Makefile:113: recipe for target 'all' failed
  make: *** [all] Error 2
  note: keeping build directory ‘/tmp/nix-build-neovim-nightly.drv-6’
  builder for ‘/nix/store/pfzg8m9pm1crwcbrw272d3cw9m935yk5-neovim-nightly.drv’ failed with exit code 2
  ```

  libvterm fails to build, because it cannot find glib. Any ideas how to solve this issue?


state: closed
title: i3 build is broken
user_login: anderspapitto
html_url: https://github.com/NixOS/nixpkgs/issues/7957
updated_at: 2015-09-04 20:53:30
body:
  the i3 test code calls out to git, which
  - isn't available since it's not a dep
  - doesn't make sense since the build doesn't have access to git info anyway

  It seems like the call to git (line 111 of complete-run.pl) has existed since at least 2011 in the i3 codebase, so I don't know why this just crops up now


state: closed
title: adding docs to python wrap.sh
user_login: thinkpad20
html_url: https://github.com/NixOS/nixpkgs/pull/7967
updated_at: 2015-05-24 10:06:32
body:
  @domenkozar Here's the docs-only pull req. I haven't doc'd the `createBuildInputsPth` function because I haven't needed to figure it out, but that's probably worth doing, especially seeing as there's a `TODO: document` comment in default.nix :)


state: closed
title: `rustPlatform` builds Rust Twice at different versions
user_login: Havvy
html_url: https://github.com/NixOS/nixpkgs/issues/7969
updated_at: 2015-06-16 19:38:54
body:
  Building rustPlatform on my single core virtual machine took five and a half hours. Building the biggest part (rustc) took ~2 hours when I did it a couple weeks ago, so something seems off here. I actually built it twice since I created a new VM because I ran out of space - the second time I logged the output to a file:

  https://gist.githubusercontent.com/Havvy/ea5b5c0000fff89f487f/raw/build-rust-platform.log

  If you search for `Compiling AArch64RegisterInfo.cpp for Release build`, you'll find it's in the log twice. That file is from LLVM.

  The first one is followed shortly by:

  `make[5]: Entering directory '/tmp/nix-build-rustc-1.0.0-dev-g67433c1.drv-0/rust-67433c1/x86_64-unknown-linux-gnu/llvm/lib/Target/AArch64/TargetInfo'`.

  The second one is followed shortly by:

  `Entering directory '/tmp/nix-build-rustc-1.0.0.drv-0/rustc-1.0.0/x86_64-unknown-linux-gnu/llvm/lib/Target/AArch64/TargetInfo'`.

  This tells me that rustc is being built twice - Once the official 1.0.0 release as requested, and once a random nightly that the Cargo package is tied to. This _really_ needs to be fixed, since it's doubling the time to build the package.

  I did check to see if `cargo` is building under Release or Debug mode, and it is building under Release mode, so I'm assuming that it's using the official 1.0.0 release built Rust to compile, so that's not an issue, thankfully.


state: closed
title: Xephyr is broken
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/issues/7971
updated_at: 2015-06-13 19:46:56
body:
  When I do:
  Xephyr :42 &
  I get:
  XKB: Failed to compile keymap
  Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
  (EE) 
  Fatal server error:
  (EE) Failed to activate core devices.(EE) 

  [1]  + 3784 exit 1     Xephyr :42


state: closed
title: fetchurl: allow adding meta info; fetchFrom*: add meta.homepage
user_login: oxij
html_url: https://github.com/NixOS/nixpkgs/pull/7973
updated_at: 2017-08-29 11:20:04
body:
  The point of this is to be able to do `meta.homepage = src.meta.homepage;`
  instead of the usual copy-paste for the packages that are hosted
  on these hosting services.


state: closed
title: system.copySystemConfiguration = true; is broken
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/issues/7974
updated_at: 2016-02-28 12:04:08
body:
  when I have it in my config, I get:

  building Nix...
  building the system configuration...
  these derivations will be built:
    /nix/store/mjbzg37h0bbmx3q1frvpi8zs9yqdd0cm-nixos-15.06.git.5b27d9bM.drv
  building path(s) ‘/nix/store/nszq7y1qshvlys6nsb8z2cf0kmpkwdid-nixos-15.06.git.5b27d9bM’
  cp: cannot stat '/etc/nixos/configuration.nix': No such file or directory
  builder for ‘/nix/store/mjbzg37h0bbmx3q1frvpi8zs9yqdd0cm-nixos-15.06.git.5b27d9bM.drv’ failed with exit code 1
  error: build of ‘/nix/store/mjbzg37h0bbmx3q1frvpi8zs9yqdd0cm-nixos-15.06.git.5b27d9bM.drv’ failed

  same happens on 14.12.


state: closed
title: Fix midori; was building but not working.
user_login: samueldr
html_url: https://github.com/NixOS/nixpkgs/pull/7975
updated_at: 2017-09-25 02:37:20
body:
  Two fixes:
  1. The URL used was now giving a 404 error. This fix was cherry-picked from `master`.
  2. A missing _buildInput_ (as far as I can understand) was making the wrapped executable wrapping with a path to another schema path.

  `master` might need the second fix added to it.


state: closed
title: Fix SHA for pasystray.
user_login: mdorman
html_url: https://github.com/NixOS/nixpkgs/pull/7976
updated_at: 2015-05-26 08:35:41
body:
  I presume there's something about how github creates the .zip files such
  that they can change SHA.

  Please note: this is a very outdated version of pasystray---I don't know
  if that's intentional, but perhaps a better strategy would be to update
  it wholesale.


state: closed
title: Add whois from Debian and generalize mkpasswd build
user_login: fpletz
html_url: https://github.com/NixOS/nixpkgs/pull/7979
updated_at: 2015-11-17 11:07:23
body:
  This commit adds a much more usable whois tool compared to the ones in busybox and inetutils. ~~Additionally, in order to refer the whois source only once, a generalized builder for both whois and mkpasswd is introduced.~~

  The sources for whois and mkpasswd from Debian are both located in the whois git repository for historical reasons.

  /cc @cstrahan 


state: closed
title: mkdir $out in development/go-modules/generic/default.nix fails because already there
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/issues/7980
updated_at: 2015-05-25 10:01:10
body:
  # problem

  when installing the gotk3 package from my hacked pkgs/top-level/go-packages.nix

  <pre>
    gotk3 = buildGoPackage rec {
      rev = "7a6ce3ecbc883d4d6a7aa1821bbc9633751fd67e";
      name = "gotk3-${stdenv.lib.strings.substring 0 7 rev}";
      goPackagePath = "github.com/conformal/gotk3";
      propagatedBuildInputs = [ pkgconfig pkgs.gnome3.gtk ];
      src = fetchFromGitHub {
        inherit rev;
        owner = "conformal";
        repo = "gotk3";
        sha256 = "0lrav6s28s8vxsvsdr8gf6kzyv00yr3pxq4k66rri9wz0zcc05b1";
      };
    };
  </pre>


  i get this error:

  <pre>
  nix-env -f $NIXPKGS -i go1.3-gotk3
  installing ‘go1.3-gotk3-7a6ce3e’
  these derivations will be built:
    /nix/store/pnph33pn1y5bazgy6gi0ga2ryhwb069i-go1.3-gotk3-7a6ce3e.drv
  building path(s) ‘/nix/store/i9vsrkrd82y4pwv4rq033gnww237im21-go1.3-gotk3-7a6ce3e’
  unpacking sources
  unpacking source archive /nix/store/5mf833k15njwsx3x6y17l1z3z86kvcni-gotk3-7a6ce3ecbc883d4d6a7aa1821bbc9633751fd67e-src
  source root is gotk3-7a6ce3ecbc883d4d6a7aa1821bbc9633751fd67e-src
  patching sources
  configuring
  building
  github.com/conformal/gotk3/glib
  github.com/conformal/gotk3/gdk
  github.com/conformal/gotk3/cairo
  github.com/conformal/gotk3/pango
  github.com/conformal/gotk3/gtk
  github.com/conformal/gotk3/gtk/examples/goroutines
  github.com/conformal/gotk3/gtk/examples/drawingarea
  github.com/conformal/gotk3/gtk/examples/textview
  github.com/conformal/gotk3/gtk/examples/simple
  github.com/conformal/gotk3/gtk/examples/grid
  github.com/conformal/gotk3/gtk/examples/addremove
  github.com/conformal/gotk3/gtk/examples/signals
  github.com/conformal/gotk3/gtk/examples/boolprops
  installing
  hello world0
  /nix/store/i9vsrkrd82y4pwv4rq033gnww237im21-go1.3-gotk3-7a6ce3e
  total 3936
  drwxr-xr-x    3 nixbld1 nixbld    4096 May 25 00:48 .
  drwxrwxr-t 4044 root    nixbld 4018176 May 25 00:48 ..
  drwxr-xr-x    3 nixbld1 nixbld    4096 May 25 00:48 lib
  hello world1
  mkdir: cannot create directory '/nix/store/i9vsrkrd82y4pwv4rq033gnww237im21-go1.3-gotk3-7a6ce3e': File exists
  </pre>


  the file called:
  /nix/store/i9vsrkrd82y4pwv4rq033gnww237im21-go1.3-gotk3-7a6ce3e/lib/gdk-pixbuf-loaders-2.0/go1.3-gotk3-7a6ce3e/loaders.cache

  is created in a different phase of installing gotk3 -> i've checked that as i removed it prior to the build.
  # possible solution:

  use 

  ```
  mkdir -p $out
  ```

  instead of

  ```
  mkdir $out
  ```

  in development/go-modules/generic/default.nix in the installPhase
  # stats

  joachim@lenovo-t530 ...ojects/nixos/nixpkgs/pkgs/development (git)-[webloop] % ag 'mkdir._out' | grep -e '-p' | wc
      552    2303   36647
  joachim@lenovo-t530 ...ojects/nixos/nixpkgs/pkgs/development (git)-[webloop] % ag 'mkdir._out' | grep -v -e '-p' | wc
       46     140    2446

  so 552 times it is used with -p and 46 times without. so maybe we just should change that to -p then?
  # loaders.cache

  <pre>
  cat /nix/store/i9vsrkrd82y4pwv4rq033gnww237im21-go1.3-gotk3-7a6ce3e/lib/gdk-pixbuf-loaders-2.0/go1.3-gotk3-7a6ce3e/loaders.cache 
  # GdkPixbuf Image Loader Modules file
  # Automatically generated file, do not edit
  # Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.31.3
  #
  # LoaderDir = /nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders
  #
  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pnm.so"
  "pnm" 4 "gdk-pixbuf" "PNM/PBM/PGM/PPM" "LGPL"
  "image/x-portable-anymap" "image/x-portable-bitmap" "image/x-portable-graymap" "image/x-portable-pixmap" ""
  "pnm" "pbm" "pgm" "ppm" ""
  "P1" "" 100
  "P2" "" 100
  "P3" "" 100
  "P4" "" 100
  "P5" "" 100
  "P6" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jasper.so"
  "jpeg2000" 4 "gdk-pixbuf" "JPEG 2000" "LGPL"
  "image/jp2" "image/jpeg2000" "image/jpx" ""
  "jp2" "jpc" "jpx" "j2k" "jpf" ""
  "    jP" "!!!!  " 100
  "\377O\377Q" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-bmp.so"
  "bmp" 5 "gdk-pixbuf" "BMP" "LGPL"
  "image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
  "bmp" ""
  "BM" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ani.so"
  "ani" 4 "gdk-pixbuf" "Windows animated cursor" "LGPL"
  "application/x-navi-animation" ""
  "ani" ""
  "RIFF    ACON" "    xxxx    " 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-pcx.so"
  "pcx" 4 "gdk-pixbuf" "PCX" "LGPL"
  "image/x-pcx" ""
  "pcx" ""
  "\n \001" "" 100
  "\n\002\001" "" 100
  "\n\003\001" "" 100
  "\n\004\001" "" 100
  "\n\005\001" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ras.so"
  "ras" 4 "gdk-pixbuf" "Sun raster" "LGPL"
  "image/x-cmu-raster" "image/x-sun-raster" ""
  "ras" ""
  "Y\246j\225" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-icns.so"
  "icns" 4 "gdk-pixbuf" "MacOS X icon" "GPL"
  "image/x-icns" ""
  "icns" ""
  "icns" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so"
  "png" 5 "gdk-pixbuf" "PNG" "LGPL"
  "image/png" ""
  "png" ""
  "\211PNG\r\n\032\n" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-qtif.so"
  "qtif" 4 "gdk-pixbuf" "QuickTime" "LGPL"
  "image/x-quicktime" "image/qtif" ""
  "qtif" "qif" ""
  "abcdidsc" "xxxx    " 100
  "abcdidat" "xxxx    " 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tiff.so"
  "tiff" 5 "gdk-pixbuf" "TIFF" "LGPL"
  "image/tiff" ""
  "tiff" "tif" ""
  "MM *" "  z " 100
  "II* " "   z" 100
  "II* \020   CR\002 " "   z zzz   z" 0

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xbm.so"
  "xbm" 4 "gdk-pixbuf" "XBM" "LGPL"
  "image/x-xbitmap" ""
  "xbm" ""
  "#define " "" 100
  "/*" "" 50

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so"
  "xpm" 4 "gdk-pixbuf" "XPM" "LGPL"
  "image/x-xpixmap" ""
  "xpm" ""
  "/* XPM */" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
  "tga" 4 "gdk-pixbuf" "Targa" "LGPL"
  "image/x-tga" ""
  "tga" "targa" ""
  " \001\001" "x  " 100
  " \001\t" "x  " 100
  "  \002" "xz " 99
  "  \003" "xz " 100
  "  \n" "xz " 100
  "  \v" "xz " 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so"
  "jpeg" 5 "gdk-pixbuf" "JPEG" "LGPL"
  "image/jpeg" ""
  "jpeg" "jpe" "jpg" ""
  "\377\330" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-ico.so"
  "ico" 5 "gdk-pixbuf" "Windows icon" "LGPL"
  "image/x-icon" "image/x-ico" "image/x-win-bitmap" ""
  "ico" "cur" ""
  "  \001   " "zz znz" 100
  "  \002   " "zz znz" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-gif.so"
  "gif" 4 "gdk-pixbuf" "GIF" "LGPL"
  "image/gif" ""
  "gif" ""
  "GIF8" "" 100

  "/nix/store/qna860hc9r3vbj3vxq2fv1lazzsiwwy8-gdk-pixbuf-2.31.3/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-wbmp.so"
  "wbmp" 4 "gdk-pixbuf" "WBMP" "LGPL"
  "image/vnd.wap.wbmp" ""
  "wbmp" ""
  "  " "zz" 1
  " `" "z " 1
  " @" "z " 1
  "  " "z " 1
  </pre>


state: closed
title: glfw: Update to 3.1.1 and build shared library.
user_login: ghost
html_url: https://github.com/NixOS/nixpkgs/pull/7982
updated_at: 2015-05-25 07:23:20
body:
  @MarcWeber,
  There is an issue that it doesn't install the cmake files into correct location(https://github.com/glfw/glfw/issues/483).
  But AFAIKS, in nixpkgs, no one use glfw3 with cmake now, so it should be safe.


state: closed
title: Make it easy to override the marathon framework user
user_login: rushmorem
html_url: https://github.com/NixOS/nixpkgs/pull/7984
updated_at: 2015-06-01 19:44:05
body:
  Currently the module hardcodes the systemd service user to "marathon".
  With this change one would not need to create an extra systemd config to
  override the user.

  So why would one need to override the Marathon user? Some apps require
  root access to run. You can't run those with Marathon unless you
  override the default user to root. Marathon also provides a
  `--mesos_user` command line flag which allows you to run apps using
  arbitrary users. You need to run the framework as root to enable this
  functionality.


state: closed
title: nixos-rebuild additions
user_login: joelmo
html_url: https://github.com/NixOS/nixpkgs/pull/7985
updated_at: 2016-04-13 21:33:22
body:
  The build-ova command works, but nix want's to build guest-additions etc which shouldn't be needed.


state: closed
title: WIP: Emacs Packages
user_login: ttuegel
html_url: https://github.com/NixOS/nixpkgs/pull/7986
updated_at: 2015-06-03 18:34:03
body:
  This is a WIP/preview of my (second) attempt at automatically generating our Emacs packages. This contains all of ELPA and MELPA unstable. This time, the packages are built from stable sources, so we won't have the problem of mysteriously disappearing packages!

  Brave Emacs users: please test your favorite packages and report here if I've broken them! My branch is based on the latest `nixos-unstable` channel, so testing should require minimal rebuilding.

  TODO:
  - Stable MELPA packages
  - Maintainer scripts to automatically regenerate versions and hashes


state: closed
title: mod_python: Avoid that git is called to generate a version
user_login: johbo
html_url: https://github.com/NixOS/nixpkgs/pull/7988
updated_at: 2015-05-25 18:23:35
body:
  This failed when building mod_python and resulted in a broken
  value being included in the file "version.py".

  I faced this problem in my error log of apache when trying to make use of mod_python:

  ```
  Traceback (most recent call last):
    File "/nix/store/nblpw4xyl7zfl1pa7265lgrdwb856njq-mod_python-3.5.0/lib/python2.7/site-packages/mod_python/__init__.py", line 25, in <module>
      from . import version
    File "/nix/store/nblpw4xyl7zfl1pa7265lgrdwb856njq-mod_python-3.5.0/lib/python2.7/site-packages/mod_python/version.py", line 3
      version = "./version.sh: line 8: git: command not found
                                                            ^
  SyntaxError: EOL while scanning string literal
  ```

  Found out that a file `dist/version.sh` includes the broken output from a call to `git`.


state: closed
title: Adds gappa 1.2.0
user_login: vbgl
html_url: https://github.com/NixOS/nixpkgs/pull/7991
updated_at: 2015-06-09 11:49:41
body:
  Gappa is a tool intended to help verifying and formally proving
  properties on numerical programs dealing with floating-point or
  fixed-point arithmetic.

  Homepage: http://gappa.gforge.inria.fr/


state: closed
title: Added mwlib services
user_login: ip1981
html_url: https://github.com/NixOS/nixpkgs/pull/7992
updated_at: 2015-05-27 15:01:03
body:
  Simple local usage:

  ```
  mwlib = {
    nserve = {
      enable = true;
    };

    qserve = {
      enable = true;
    };
  };
  ```

  For MediaWiki:

  ```
    $wgCollectionMWServeURL = 'http://localhost:8899';
    $wgCollectionFormats = array(
      'rl' => 'PDF',
      'odf' => 'ODT',
    );

    $wgCollectionPortletFormats = array (
      'odf', 'rl'
    );
  ```


state: closed
title: nixos-container: support user-defined extra binds
user_login: wavewave
html_url: https://github.com/NixOS/nixpkgs/pull/7993
updated_at: 2017-06-07 03:25:27
body:
  in this pull request, I implemented a new feature of declarative nixos-container, user-defined extra binding directories, in addition to `/nix/store`, `/nix/var`...  
  This function enables data communication between host and containers, and the host effectively works as nfs server and containers works as nfs clients. It is quite useful for developing multiple server deployment on a single machine.

  A directory in the host can be bound to a directory in the container as specified in the `extraBinds` attribute, whose value is a list of binding specifications. Each binding specification has `host`, `container` and `isReadOnly` attributes. `host` is the host directory, `container` is the directory mounted in the container and `isReadOnly` is a boolean attribute specifying whether the directory in the container will be read-only or not. 

  The following is some example container setup in `/etc/nixos/configuration.nix`

  ```
  containers.foo = 
      { privateNetwork = true;
        hostAddress = "192.168.100.10";
        localAddress = "192.168.100.11";
        autoStart = true;
        extraBinds = [ { host="/home/wavewave/www";
                         container="/webroot";
                         isReadOnly = true; }
                       { host="/home/wavewave/temp";
                         container="/home/wavewave/temp";
                         isReadOnly = false; }
                     ];
        config =
          {config, pkgs, ...}:
          { networking.firewall.enable = false;
            services.openssh.enable = true;     
            services.lighttpd = {
              enable = true;
              document-root = "/webroot";
            };      
          };
      };
  ```


state: closed
title: VMWare tools doesn't support shared folders
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/7995
updated_at: 2017-08-15 09:27:32
body:
  https://github.com/NixOS/nixpkgs/pull/7829 is a great first step towards getting that, but upon further inspection, it appears to disable building the associated kernel module, which I think is what's needed to use `mount.vmhgfs` properly.

  Mostly just putting this here to track that it's unsupported. Great work on the original issue!


state: closed
title: Make numpy and scipy depend on openblas
user_login: adnelson
html_url: https://github.com/NixOS/nixpkgs/pull/7996
updated_at: 2015-06-04 18:44:30
body:
  This configures numpy and scipy to use the openblas framework for their linear algebra operations, which seems preferable since it reduces the number and complexity of dependencies (a single library for BLAS and LAPACK). In addition openblas seems to be a lighter-weight dependency (in terms of build time, not sure about size) than ATLAS. In addition, on OSX, the numpy setup.py (and presumably scipy) will impurely check for the existence of the `Accelerate` framework, and if found, will pass it as an argument to `clang`, which will fail. It will not do this if there's a `site.cfg` telling it where to find `openblas`. This keeps things pure, and also makes it cross-platform.


state: closed
title: tetraproc: init at 0.8.2
user_login: magnetophon
html_url: https://github.com/NixOS/nixpkgs/pull/7997
updated_at: 2015-05-26 08:30:24
body:
  Converts the A-format signals from a tetrahedral Ambisonic microphone into B-format signals ready for recording


state: closed
title: ddclient: Set SSL_CERT_FILE environment variable
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7998
updated_at: 2015-06-24 02:08:25
body:
  Otherwise connection to SSL hosts fails like this:

  ```
  May 26 06:44:05 kbuilder ddclient[17084]: WARNING:  cannot connect to dynamicdns.park-your-domain.com:443 socket:
      IO::Socket::IP configuration failed SSL connect attempt failed with unknown error
      error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
  ```


state: closed
title: rxvt_unicode: Add terminfo output to propagated-user-env-packages
user_login: dezgeg
html_url: https://github.com/NixOS/nixpkgs/pull/7999
updated_at: 2015-06-24 02:08:24
body:
  Fixes #7787. I'm not completely sure why the problem in that issue happens (I can't replicate it) as urxvt explicitly sets the `TERMINFO` environment variable like this: https://github.com/exg/rxvt-unicode/blob/8cfa002d973c2e6397085f42c3d274dccb7dd77d/src/init.C#L932. But regardless, doing this helps with commands like `sudo -E` and should be the right thing to do.


state: closed
title: debootstrap: setup fail with jessie (systemd related)
user_login: bendlas
html_url: https://github.com/NixOS/nixpkgs/issues/8000
updated_at: 2015-05-26 08:29:21
body:
  `debootstrap jessie ./jessie-chroot` fails while setting up its dependencies.
  The most likely source seems to be a systemd issue with /dev/urandom: https://gist.github.com/bendlas/d59bf45d879298aa1bd2#file-debootstrap-log-L920-L924

  `debootstrap wheezy ./wheezy-chroot` works as expected.

  EDIT: Tested on https://github.com/NixOS/nixpkgs-channels/commit/f93a8ee1105f4cc3770ce339a8c1a4acea3b2fb6 + a couple of unrelated, local commits


state: closed
title: Fairly complete set of packages for Pure
user_login: asppsa
html_url: https://github.com/NixOS/nixpkgs/pull/8002
updated_at: 2015-05-26 11:50:58
body:
  This updates the set of packages available for [Pure](http://purelang.bitbucket.org/) to be more or less the complete set of "official" packages.  Also, the packages are now available through the `purePackages` attribute and have their own file, instead of being listed in `all-packages.nix`.  I've attempted to mimic the conventions used for other interpreters, so hopefully the rearrange is acceptable.


state: closed
title: Can't reconnect to machine after hibernation in a test
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/8005
updated_at: 2016-07-19 02:30:16
body:
  Follow-up to #6679. I've tried to write a test to check if hibernation works in NixOS. However, there's a problem: after hibernation and (successful) resume, I can't reconnect to the virtual machine from the testing script, which causes it to hang. Any ideas how to do this?

  See https://github.com/abbradar/nixpkgs/commit/b98d16a839e0bcebc50f84608f2ab29994df39f4 for the actual test, you would also need https://github.com/abbradar/nixpkgs/commit/d7adc7375c559c42a0d7f6e63a5cefac23869aaf to make it work.


state: closed
title: Octave FLTK XFT issue
user_login: asppsa
html_url: https://github.com/NixOS/nixpkgs/issues/8007
updated_at: 2015-05-28 11:17:37
body:
  I'm unsure how exactly to resolve this issue.  I am doing the following:

  ```
  $ nix-channel --list
  nixpkgs http://nixos.org/channels/nixpkgs-unstable
  $ nix-shell -p octave
  <snip>
  [nix-shell:~]$ octave
  error: /nix/store/kj8ifnwp1yzqq0qbsdlh5dyca6hxwld5-octave-3.8.2/lib/octave/3.8.2/oct/x86_64-unknown-linux-gnu/PKG_ADD: /nix/store/kj8ifnwp1yzqq0qbsdlh5dyca6hxwld5-octave-3.8.2/lib/octave/3.8.2/oct/x86_64-unknown-linux-gnu/__init_fltk__.oct: failed to load: /nix/store/xrphy37w8lwa6wqvl57lnwg3h2l3zpcb-fltk-1.3.3/lib/libfltk_gl.so.1.3: undefined symbol: XGetUtf8FontAndGlyph
  error: called from:
  error:   /nix/store/kj8ifnwp1yzqq0qbsdlh5dyca6hxwld5-octave-3.8.2/lib/octave/3.8.2/oct/x86_64-unknown-linux-gnu/PKG_ADD at line 6, column 1
  GNU Octave, version 3.8.2
  Copyright (C) 2014 John W. Eaton and others.
  This is free software; see the source code for copying conditions.
  There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
  FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

  Octave was configured for "x86_64-unknown-linux-gnu".

  Additional information about Octave is available at http://www.octave.org.

  Please contribute if you find this software useful.
  For more information, visit http://www.octave.org/get-involved.html

  Read http://www.octave.org/bugs.html to learn how to submit bug reports.
  For information about changes from previous versions, type 'news'.

  octave:1> figure
  error: default graphics toolkit 'fltk' is not available!
  error: base_graphics_toolkit::initialize: invalid graphics toolkit
  error: called from:
  error:   /nix/store/kj8ifnwp1yzqq0qbsdlh5dyca6hxwld5-octave-3.8.2/share/octave/3.8.2/m/plot/util/figure.m at line 94, column 9
  octave:1>
  ```

  The problem seems to be that Octave expects to find `XGetUtf8FontAndGlyph` in the `.so` file, but it isn't there.  From a brief search online, I found [this stackoverflow question](http://stackoverflow.com/questions/27941384/octave-cannot-find-fltk-xgetutf8fontandglyph-symbol) which seems to suggest that FLTK needs to be compiled with XFT support.  Because FLTK is using an unfamiliar (to me) derivation style, I was not sure how to achieve this, however.


state: closed
title: zeal does not know how to download docsets
user_login: itcowed
html_url: https://github.com/NixOS/nixpkgs/issues/8008
updated_at: 2015-06-01 17:04:32
body:
  zeal starts up just fine, but it seems to not know where to download docsets from. the menu where which typically shows a bunch of docsets for you to download is completely empty


state: closed
title: sudo: support insults (but don't enable by default)
user_login: nckx
html_url: https://github.com/NixOS/nixpkgs/pull/8011
updated_at: 2015-05-27 18:04:16
body:
  I'm sorry. I've tried.

  I've tried for the past half-year to get used to a system that doesn't scold me when I fat-finger my own password. That lets me simply try again - without strongly suggesting I should probably sober up first. Even _apologising_ for my balderdash with a meek:

  ```
  Sorry, try again.
  ```

  I have failed.

  This allows insults to be enabled in `sudoers` if desired.


state: closed
title: Simple EC2 user-data VM test
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/8013
updated_at: 2015-06-12 03:23:03
body:
  This is a first pass at creating a VM test (which will soon become a handful of VM tests once I incorporate this with [my other userdata work](https://github.com/NixOS/nixpkgs/pull/7370)). It's not terrible but not quite in a mergeable state. I'm looking for feedback on the approach and hints for how to do it better.

  cc @edolstra @rbvermaa @cstrahan 

  I'll add comments on individual files to explain why I'm doing things.

  Once I get the basics ironed out in this test (shouldn't take long I hope!), I plan to make a separate PR for #7370 that not only adds the functionality but adds tests to here that ensure that the new user-data format works properly while not breaking the current user-data format.


state: closed
title: ATLAS test suite has transient failures
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/8014
updated_at: 2015-05-27 15:47:23
body:
  According to http://hydra.cryp.to/build/889856/nixlog/1/raw:

  > Makefile:9114: recipe for target 'zsanity_test' failed


state: closed
title: Openjpeg seems to depend on external javac even when openjpegJarSupport is false
user_login: michalpalka
html_url: https://github.com/NixOS/nixpkgs/issues/8017
updated_at: 2015-05-28 06:34:45
body:
  I tried building openjpeg as a dependency when using 2e9459866d3546630e6d631a6fd11416a52a1625 on Mac OS X, and it failed on trying to run javac. Nevertheless, its derivation seemed to define `-DBUILD_JAVA=OFF` (long line follows).

  ```
  $ cat /nix/store/ad456j47k60p9b95x0jz0y32mmhdabbc-openjpeg-2.1.0.drv 
  Derive([("out","/nix/store/bwzbimicshi1gln2wm22qw59wadqrmps-openjpeg-2.1.0","","")],[("/nix/store/2h4g3an81g6dw6w757y2yz6hjwfcd4zw-bash-4.3-p33.drv",["out"]),("/nix/store/57ghfwbpkckyj5hvfbk6c48f2d703a6c-stdenv-darwin-boot-3.drv",["out"]),("/nix/store/m8nkhqq1zs03nbj1x41jm86sq4ylwxhq-openjpeg-2.1.0.tar.gz.drv",["out"]),("/nix/store/mxd84gl1w1n2px4ns6dqv58jjbf8h5fp-cmake-3.2.2.drv",["out"]),("/nix/store/ndp5z7y2z83i0m2h05q706zkrw81v00p-lcms2-2.7.drv",["out"]),("/nix/store/rlj6vkrfy3w4xqcqb2rfrq520zc3aaam-pkg-config-0.28.drv",["out"]),("/nix/store/x2xx3m7qxcjqm6a03xdq7gy8n1fl76xx-libpng-1.6.16.drv",["out"]),("/nix/store/zzqriajm4fjc4qvyd0qpgiqhlwhhbqi7-libtiff-4.0.3.drv",["out"])],["/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],"x86_64-darwin","/nix/store/sl3scf6za8b9bpr4ynfkfh6sqn3rcdvl-bash-4.3-p33/bin/bash",["-e","/nix/store/9krlzvny65gdc8s7kpb6lkx8cd02c25b-default-builder.sh"],[("branch","2.1"),("buildInputs",""),("builder","/nix/store/sl3scf6za8b9bpr4ynfkfh6sqn3rcdvl-bash-4.3-p33/bin/bash"),("cmakeFlags","-DBUILD_SHARED_LIBS=ON -DBUILD_CODEC=ON -DBUILD_MJ2=ON -DBUILD_JPWL=ON -DBUILD_JPIP=ON -DBUILD_JPIP_SERVER=OFF -DBUILD_JAVA=OFF -DBUILD_JP3D=ON -DBUILD_THIRDPARTY=OFF -DBUILD_TESTING=OFF -DCMAKE_INSTALL_NAME_DIR=${CMAKE_INSTALL_PREFIX}/lib"),("name","openjpeg-2.1.0"),("nativeBuildInputs","/nix/store/fq357w6660lr6rfn2213m1crlh88d5ar-cmake-3.2.2"),("nativebuildInputs","/nix/store/l2bj9bazb2bx9wr4fmm5wh4pypyvn3l9-pkg-config-0.28"),("out","/nix/store/bwzbimicshi1gln2wm22qw59wadqrmps-openjpeg-2.1.0"),("postInstall","for dir in \"$out\"/include/*; do\n  cp -r \"$dir\"/* \"$out/include/\"\n  rm -r \"$dir\"\n  ln -s . \"$dir\"\ndone\nln -sr -t \"$out/include/\" \"$out\"/lib/*/include/* 2>/dev/null || true\nmkdir -p \"$out/lib/pkgconfig\"\ncat > \"$out/lib/pkgconfig/libopenjp2.pc\" <<EOF\nprefix=$out\nlibdir=$out/lib\nincludedir=$out/include\n\nName: openjp2\nDescription: JPEG2000 library (Part 1 and 2)\nURL: http://www.openjpeg.org/\nVersion: 2.1.0\nLibs: -L$out/lib -lopenjp2\nCflags: -I$out/include\nEOF\n"),("propagatedBuildInputs",""),("propagatedNativeBuildInputs","/nix/store/wxlx2qb11vfl38b9wc9kxzbbw2scdd9v-libpng-1.6.16 /nix/store/ybfxg6hfpz5n76mkcfjq12z8hap8mnhv-libtiff-4.0.3 /nix/store/7pvp6yj5h89dznnmawxhva95qs2q09nn-lcms2-2.7"),("src","/nix/store/rdxl8xb97rx767cpyk6nlc2fcqb4d7qr-openjpeg-2.1.0.tar.gz"),("stdenv","/nix/store/zdxsi7a64c2vbnawx2fsgr5fgk1jvdvp-stdenv-darwin-boot-3"),("system","x86_64-darwin"),("version","2.1.0")])
  ```

  The package built successfully after I installed an external JDK. It seems that for some strange reason the build script is ignoring the `-DBUILD_JAVA=OFF` option.


state: closed
title: Make modulesPath work again in NixOS modules
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/8018
updated_at: 2015-06-05 13:14:03
body:
  I think the recent modules change broke `modulesPath`. A remedy I've seen applied in a couple of places is to use `<nixpkgs>` paths, but those don't necessarily behave the same way in all contexts, so it would be nice to get the original functionality back. I still see evidence of `modulesPath` in the current code, so it seems like there might be some intent to support it, but the current implementation is somehow broken.

  cc @nbp @shlevy 


state: closed
title: gitolite-shell: No such file or directory
user_login: matthiasbeyer
html_url: https://github.com/NixOS/nixpkgs/issues/8020
updated_at: 2015-06-16 16:21:13
body:
  Hi,

  I have this Problem:

  ```
  $ git push gitolite --all #in one of my repos, gitolite runs locally, too.
  Enter passphrase for key '/home/m/.ssh/id_rsa': 
  bash: /nix/store/64a6vzvzq50z288v4m40kyy7xczmhq5p-gitolite-3.6.2/bin/gitolite-shell: No such file or directory
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.
  ```

  Which seems to be quite critical to me, as I did not rebuild the system or anything (as I cannot atm due to dependency build errors somewhere). I also don't know whether this issue here is already fixed by #7755 because of this.


state: closed
title: Update mediainfo{-gui} and dependencies
user_login: devhell
html_url: https://github.com/NixOS/nixpkgs/pull/8022
updated_at: 2015-05-29 07:57:13
body:
  - mediainfo{-gui} 0.7.73 -> 0.7.74
  - libmediainfo    0.7.73 -> 0.7.74

  From the mediainfo ChangeLog:

  ```
  Version 0.7.74, 2015-05-25

  + FIMS: Preliminary version (not for production)
  + D-10 audio: display of real bitrate beside the encoded bitrate
  + VC-3: detection of CDP packets (608/708 captions), created by Nexio, inside the VC-3 private data
  + AES3: generic term AES3 replaced by more precise SMPTE ST numbers (302, 331, 337)
  + NUT: basic detection
  + FFV1: more parsing of the bitstream, support of any version of FFV1 in MOV and Matroska
  + DPX: color space and frame rate
  x #B906, Matroska: duration was missing if Info block is at the end of the file
  x #B908, AC-3: bit depth removed
  x #P86, MPEG-4: moov_trak_edts_elst Atom was ignoring version of the atom
  x Dolby E: the MXF channel count value was sometimes reported instead of the real channel count
  x VorbisComment: WAVEFORMATEXTENSIBLE_CHANNEL_MASK "0X" ("x" in uppercase) is accepted now
  x EBUCore: TotalProgrammeDuration was wrongly filled with IdentClockStart value
  x EBUCore: Source/Material moved from timecodeStart to timecodeTrack
  x MPEG-4: info is missing for some streams in some specific cases
  ```


