# issues

state: closed
title: Missing icons in Ekiga
user_login: vandenoever
html_url: https://github.com/NixOS/nixpkgs/issues/4015
updated_at: 2014-09-10 08:02:29
body:
  Ekiga in master is missing icons for the system tray, contact list, dialpad, and camera.
  ![ekiga_no_icons](https://cloud.githubusercontent.com/assets/608417/4207319/dbd8e8ae-3854-11e4-8eb7-c66b73363b29.png)


state: closed
title: Unset mutableUsers requires a json file?
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/issues/4016
updated_at: 2014-09-11 15:30:20
body:
  Doing a rebuild with mutableUsers unset currently gets me:

  ```
  error: in ‘toFile’: the file ‘users-groups.json’ cannot refer to derivation outputs, at 
    nixos/modules/config/users-groups.nix:304:10
  ```

  Perhaps there should be a check or assertion placed somewhere?

  I've tracked this to master commit 585983b, but guessing 1a75958 is the real one.


state: closed
title: overrideDerivation returns a derivation without .override capability
user_login: bjornfor
html_url: https://github.com/NixOS/nixpkgs/issues/4017
updated_at: 2014-10-18 16:05:17
body:
  Today I wanted to use packageOverrides to supply a patched qemu for all of nixpkgs. I tried this:

  ```
    qemu = pkgs.lib.overrideDerivation pkgs.qemu (attrs: {
      patches = attrs.patches ++ [ ./qemu-increase-max-serial-ports.patch ];
    });
  ```

  But it blew up because all-packages.nix has this line `qemu_kvm = lowPrio (qemu.override { x86Only = true; });`, and the result of overrideDerivation lacks `.override`. The result being

  ```
  $ nixos-rebuild build
  building Nix...
  building the system configuration...
  error: attribute `override' missing, at /home/bfo/nixpkgs/pkgs/top-level/all-packages.nix:7775:23
  (use `--show-trace' to show detailed location information)
  ```

  With the help of @lethalman on IRC, I managed to use makeOverridable to make it happen (or rather, he managed!):

  ```
      qemu = pkgs.lib.makeOverridable (args: pkgs.lib.overrideDerivation (pkgs.qemu.override args) (attrs: {
        patches = attrs.patches ++ [ ./qemu-increase-max-serial-ports.patch ];
      })) { };
  ```

  But IMHO, overrideDerivation should be able to do this by itself.


state: closed
title: nodePackages: add support for recursive dependencies
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/pull/4018
updated_at: 2014-10-10 22:05:46
body:
  This is a drop-in replacement that handles nodejs recursive dependencies by
  propagating already visited nodejs packages and creating shims for recursive
  ones. This implementation handles both, new and old npm2nix output format.

  I tried to make it work without changing format(i had to change list of dependencies to attribute set of dependencies), but turns out that i was not able because of stack overflows.

  Thanks to @svanderburg for providing his implementation, it would be a lot
  harder without it.

  Here is pull request for npm2nix format change: https://github.com/NixOS/npm2nix/pull/10


state: closed
title: xpwn is broken in master on darwin
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/4019
updated_at: 2014-11-11 14:52:42
body:
  Trying to build it fails on libusb complaining about '-no-cpp-precomp'. If you replace the libusb dependency with libusb1, it then fails with cmake trouble. Is hydra not building this stuff?


state: closed
title: python livestreamer tests broken in master
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4022
updated_at: 2014-09-10 12:36:19
body:
  ```
  …
  creating build/lib/livestreamer_cli/utils
  copying src/livestreamer_cli/utils/stream.py -> build/lib/livestreamer_cli/utils
  copying src/livestreamer_cli/utils/progress.py -> build/lib/livestreamer_cli/utils
  copying src/livestreamer_cli/utils/named_pipe.py -> build/lib/livestreamer_cli/utils
  copying src/livestreamer_cli/utils/player.py -> build/lib/livestreamer_cli/utils
  copying src/livestreamer_cli/utils/http_server.py -> build/lib/livestreamer_cli/utils
  copying src/livestreamer_cli/utils/__init__.py -> build/lib/livestreamer_cli/utils
  running tests
  building wordlist2dawg.o
   g++ -DHAVE_CONFIG_H -I. -I..  -O3 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccmain -I../api -I../ccutil -I../ccstruct -I../image -I../viewer -I../textord -I../dict -I../classify -I../display -I../wordrec -I../cutil -I/nix/store/7z6w142wvp3zi07xn1r23srm4fh9l6ps-leptonica-1.69/include/leptonica  -g -O2 -c -o wordlist2dawg.o wordlist2dawg.cpp
  running test
  Searching for singledispatch

  Note: Bypassing https://pypi.python.org/simple/singledispatch/ (disallowed host; see http://bit.ly/1dg9ijs for details).

  Couldn't find index page for 'singledispatch' (maybe misspelled?)
  Scanning index of all packages (this may take a while)

  Note: Bypassing https://pypi.python.org/simple/ (disallowed host; see http://bit.ly/1dg9ijs for details).

  No local packages or download links found for singledispatch
  error: Could not find suitable distribution for Requirement.parse('singledispatch')
  builder for `/nix/store/z0296kwklkcqd6x2zf7ycmaz0kkijw8c-python2.7-livestreamer-1.10.2.drv' failed with exit code 1
  ```


state: closed
title: Link to nixpkgs manual broken in README.md
user_login: Davorak
html_url: https://github.com/NixOS/nixpkgs/issues/4025
updated_at: 2014-09-10 12:04:53
body:
  The link to the nixpkgs manual is broken in README.md.

  The link went to:
  http://nixos.org/nixpkgs/manual/

  Which is currently reporting "Access forbidden!"


state: closed
title: Unable to build poppler
user_login: k0ral
html_url: https://github.com/NixOS/nixpkgs/issues/4029
updated_at: 2014-11-01 22:52:50
body:
  When trying to build the `poppler` package, it fails with the following error:

  ```
  $ nix-build -A poppler
  ...
  /tmp/nix-build-poppler-glib-0.26.3.drv-0/poppler-0.26.3/qt4/src/poppler-annotation.cc:26:26: fatal error: QtCore/QRegExp: No such file or directory
   #include <QtCore/QRegExp>
                            ^
  compilation terminated.
  ```

  I believe the `poppler` package is expected to build only the glib binding, it should not try to build the qt one.
  Every package that depends on `poppler` consequently fails to build. Could you please have a look, or provide me with some hints to fix it ?


state: closed
title: Small style fixups
user_login: AndersonTorres
html_url: https://github.com/NixOS/nixpkgs/pull/4030
updated_at: 2014-09-12 04:27:55
body:
  In this commit, I modified some files, conforming them to a
  "idiosyncratic standard" - mainly, a template for meta attribs.

  Yes, it is a bit paranoid and perfectionist, but I like the look-and-feel
  of a working code.


state: closed
title: Fix #4019
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/4032
updated_at: 2014-09-11 05:02:21
body:
  Depend on libusb1, which is newer (should the default libusb be 1?), and clear a cmake flag on Darwin to stop it from complaining.


state: closed
title: nixos: add graphite api to graphite functionality
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/pull/4034
updated_at: 2014-09-13 00:05:36
body:
  Graphite api is much nicer graphite web fork, without ui(graphite ui is quite ugly anyway, rather use grafana).

  :beer: review please


state: closed
title: Add CC 4.0 attribution to licenses
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4035
updated_at: 2014-09-11 18:04:03
body:
  Currently we only have CC attribution for 3.0

  Note to self: use license value in Agda-Sheaves once this is fixed


state: closed
title: added volumeicon
user_login: bobvanderlinden
html_url: https://github.com/NixOS/nixpkgs/pull/4038
updated_at: 2015-06-01 18:32:47
body:
  Added volumeicon in tools/audio. Volume Icon aims to be a lightweight volume control that sits in your systray.


state: closed
title: ideas: refactored products into common subexpression.
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/pull/4039
updated_at: 2014-09-21 14:21:47
body:
  This is a suggestion for a merger between the pycharm and idea build expressions.

  cc @geerds @bjornfor 


state: closed
title: Disable fuppes module
user_login: nbp
html_url: https://github.com/NixOS/nixpkgs/pull/4041
updated_at: 2014-09-14 20:29:30
body:
  fuppes has not been compiling for a long moment, and the ffmpeg version on
  which it depends is no longer listed in nixpkgs.


state: closed
title: monero: intial expression for 0.8.8.3
user_login: ehmry
html_url: https://github.com/NixOS/nixpkgs/pull/4043
updated_at: 2014-09-16 20:36:49
body:
  http://monero.cc

  Monero is a cryptocurrency of the CryptoNote variety. It is not a fork of Bitcoin.


state: closed
title: dbus_python: Add missing isPyPy argument.
user_login: nathanielbaxter
html_url: https://github.com/NixOS/nixpkgs/pull/4044
updated_at: 2014-09-12 07:37:02
body:
  Fixes a bug introduced in 2632afa13121bdce1f6d8e9dcfdf754b0fe0b669.

  When running nix-env -qaP

  ```
  error: anonymous function at /root/nixpkgs/pkgs/development/python-modules/dbus/default.nix:1:1 called without required argument `isPyPy', at /root/nixpkgs/lib/customisation.nix:58:12
  ```


state: closed
title: stripHash documentation functionality mismatch
user_login: Davorak
html_url: https://github.com/NixOS/nixpkgs/issues/4045
updated_at: 2016-12-15 21:21:18
body:
  [stripHash documentation](https://github.com/NixOS/nixpkgs/blob/15bb4c20e614ed6835c59c7c9101ee59eacbe473/doc/stdenv.xml#L1079) states that it prints out the stripped name to the `stdout`, but the [current function](https://github.com/NixOS/nixpkgs/blob/15bb4c20e614ed6835c59c7c9101ee59eacbe473/pkgs/stdenv/generic/setup.sh#L432) stores the value in `strippedName` instead.

  The functionality in the documentation seems more convenient is there a reason not to switch to it? 


state: closed
title: dylan: Remove old gwydion-dylan package.
user_login: waywardmonkeys
html_url: https://github.com/NixOS/nixpkgs/pull/4047
updated_at: 2015-02-04 03:36:29
body:
  The Gywdion Dylan compiler that was packaged here is old and this
  package no longer builds. The Gwydion Dylan compiler is no longer
  maintained, and has been replaced by the Open Dylan compiler which
  is already packaged in Nix (opendylan).


state: closed
title: jq-1.4:
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/issues/4052
updated_at: 2014-11-11 17:51:13
body:
  after installing jq on my nixos installation: 

  ```
  nix-env -i jq
  ```
  - 14.10pre47389.477eb18 (Caterpillar)
  - nix-channel --list -> nixpkgs http://nixos.org/channels/nixpkgs-unstable

  i get this error:

  ```
  # jq
  jq: error while loading shared libraries: libjq.so.1: cannot open shared object file: No such file or   directory
  ```
  # using nix-shell '<nixpkgs>' -A jq

  i tried to find out what could be the problem:

  ```
   nix-shell '<nixpkgs>' -A jq
   unpackPhase
   cd jq-1.4/
   configurePhase
   buildPhase
   ldd jq
      linux-vdso.so.1 (0x00007fff081b6000)
      libjq.so.1 => /tmp/ab/jq-1.4/.libs/libjq.so.1 (0x00007f8518a93000)
      libm.so.6 => /nix/store/ywxpkmy9kagcsvbjjhi46pr4xwpd6sfm-glibc-2.19/lib/libm.so.6 (0x00007f8518792000)
      libc.so.6 => /nix/store/ywxpkmy9kagcsvbjjhi46pr4xwpd6sfm-glibc-2.19/lib/libc.so.6 (0x00007f85183e5000)
      /nix/store/ywxpkmy9kagcsvbjjhi46pr4xwpd6sfm-glibc-2.19/lib/ld-linux-x86-64.so.2 (0x00007f8518cc5000)

  ./jq

  jq - commandline JSON processor [version 1.4]
  Usage: ./jq [options] <jq filter> [file...]

  For a description of the command line options and
  how to write jq filters (and why you might want to)
  see the jq manpage, or the online documentation at
  http://stedolan.github.com/jq
  ```
  # conclusion

  jq does not manage to install the libraries into ~/.nix-profile/lib/ using 'nix-env -i jq', but why?


state: closed
title: nix 1.7: nix-env --xml and nix-env --json differ a lot
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/issues/4054
updated_at: 2014-09-18 16:17:27
body:
  question: why does nix-env --xml output differ from the --json output?
  # problem
  - the --xml output lacks attributes seen in the --json output
  - the --json output lacks attributes seen in the --xml output

  yet 'man nix-env' suggests that both should output the same information:

  ```
     --xml
         Print the result in an XML representation suitable for automatic processing by other tools. The root element is called
         items, which contains a item element for each available or installed derivation. The fields discussed below are all stored
         in attributes of the item elements.
     --json
         Print the result in a JSON representation suitable for automatic processing by other tools.
  ```
  # --xml

  ```
  nix-env -f '<nixpkgs>' -qa nix --out-path -A nix --xml
  <?xml version='1.0' encoding='utf-8'?>
  <items>
    <item attrPath="nix" name="nix-1.7" system="x86_64-linux">
      <output name="out" path="/nix/store/h9pz2p1nvgvaz46zm7kdpmxbmp78g2dg-nix-1.7" />
    </item>
  </items>
  ```
  # --json

  ```
  nix-env -f '<nixpkgs>' -qa nix --out-path -A nix --json
  {
      "nix": {
          "name": "nix-1.7",
          "system": "x86_64-linux",
          "meta": {
              "description": "The Nix Deployment System",
              "homepage": "http://nixos.org/",
              "license": {
                  "fullName": "GNU Library General Public License v2 or later",
                  "shortName": "LGPL-2.0+",
                  "url": "http://spdx.org/licenses/LGPL-2.0+"
              },
              "maintainers": ["Eelco Dolstra <eelco.dolstra@logicblox.com>"],
              "platforms": ["i686-linux", "x86_64-linux", "armv5tel-linux", "armv7l-linux", "mips64el-linux", "x86_64-darwin", "i686-cygwin", "i686-freebsd", "x86_64-freebsd", "i686-openbsd", "x86_64-openbsd"],
              "position": "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/tools/package-management/nix/default.nix:69"
          }
      }
  }
  ```


state: closed
title: Pulseaudio support for 32bit alsa app playback on 64bit linux.
user_login: nathanielbaxter
html_url: https://github.com/NixOS/nixpkgs/pull/4057
updated_at: 2014-10-05 11:05:47
body:
  Background: http://thread.gmane.org/gmane.linux.distributions.nixos/3435

  On x86_64, alsaLib loads a 64bit lib from /etc/asound.conf for playback via pulseaudio, then 32bit apps (such as wine) fail to load the lib. Alsa doesn't include a way to try multiple libraries, so there is no way to specify 32bit/64bit libs at the same time. This patch adds a 'libs' array entry to asound config files so that any number of libraries can be specified in asound config files. Alsa will try to open all of them, allowing libraries for multiple archs to be specified.

  Fixes wine audio playback via pulseaudio on "x86_64-linux".
  - Possible Mass Rebuild - Rebuilds anything that depends on alsaLibs (-> pulseaudio), about 1.5k packages including most large applications.


state: closed
title: Zed and nodewebkit
user_login: matejc
html_url: https://github.com/NixOS/nixpkgs/pull/4059
updated_at: 2014-09-13 10:27:19
body:
  - upgrade Zed to 0.13
  - move nodewebkit patchelf code from Zed to node-webkit (so that nodewebkit can be used as standalone)
  - node-webkit change download url because currently can not be downloaded or built for that matter


state: closed
title: nix uses deprecated ghc-pkg package databases
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/issues/4062
updated_at: 2015-01-20 22:01:19
body:
  GHC HEAD has removed the ghc-pkg single file configuration databases in favor of the folder databases  initialized via 'ghc-pkg init $dbDir'. This means that nix can't install any packages with GHC HEAD, and it will break when GHC 7.10.1 comes out and we inevitably update. The new folder-style database was added in GHC 6.12, so it shouldn't break anything old to update. I'm writing a solution now..


state: closed
title: xbmc: add libmad to LD_LIBRARY_PATH to enable mp3 file playback
user_login: eduarrrd
html_url: https://github.com/NixOS/nixpkgs/pull/4064
updated_at: 2014-09-13 15:13:09
body:
  xbmc tries to dynamically open libmad.so.0, fails -> no mp3 playback. Complains in xbmc.log. Fixing this.


state: closed
title: Work on Haskell GHC wrapping.
user_login: ts468
html_url: https://github.com/NixOS/nixpkgs/pull/4065
updated_at: 2014-10-10 16:26:38
body:
  Unify the wrapper environment that is build by the standard ghc-wrapper and by ghcWithPackages. So far the two wrapper environments have different approaches to pass NIX specific parameters to GHC. Now, one common approach is used. The idea is to reduce a source of errors that could appear when switching from one wrapper environment to the other. Both wrappers should work as before. If not, it is probably a bug of the new implementation.
  NOTE: ghcWithPackages can also wrap a ghc-wrapper wrapped GHC now, not only ghcPlain.

  A major change is the introduction of a patch for GHC. The patch makes GHC evaluate a NIX specific environment variable. The environment variable is used to hide NIX specific configurations. The idea is to integrate GHC in NIX without passing NIX specific parameters to GHC.
  That reduces the risk of interference between the NIX specific parameters and e.g. parameters set by a tool.
  NOTE: So far only GHC 7.8.3 is patched, and thus working! Further versions of GHC will be patched once the new wrapping concept is established and accepted.

  Add caching of GHC packages search for ghc-wrapper.
  So far ghc-wrapper searches for all available Haskell packages at every call. The result of the search is discarded. That can lead to delays in the execution. Now, the result is stored, so far under /tmp/nix-haskell-env-ghc-cache-*. The idea is that available Haskell packages can only change if either the system, default or user profile change. So results are cached for every combination of the three profiles.
  NOTE: So far the caches are not deleted automatically. If you know of a way to propagate hooks that are provided by a package to postBuild of buildEnv that is used to create the profiles, please let me know!

  ghcWithPackages provides the script "nix-ghc-env-exec" which allows to run a command wrapped for the GHC of ghcWithPackages.
  ghcWithPackages also provides a script that initiates the GHC environment when sourced into a shell. The script is installed in etc/profile.d/ghc-env.sh, and might be sourced by some shells automatically.

  Now, cabal.mkDerivation has the attribute flag "wrapExecutables" which wrappes executables automatically with a GHC environment of the GHC they are build with. That is useful for e.g. tools that need to find and interact with GHC to e.g. find all installed packages.
  hdevtools and ghc-mod are changed to be wrapped with wrapExecutables.


state: closed
title: Added "deadbeef" package
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4067
updated_at: 2014-09-20 11:41:02
body:
  This is a player that I use daily. First pull request to NixOS, so please point out my mistakes!

  I'm not really sure that I'll be able to maintain this package in a long term -- I'm just evaluating NixOS for the first time coming from Arch Linux. I'm willing to do the job if I move, through. I've listed myself as a maintainer for now -- should I have done this?


state: closed
title: firefox doesn't have a .desktop file
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4069
updated_at: 2015-05-31 12:06:07
body:
  I've noticed that I don't have a Firefox (Nightly) menu item in KDE after installation. There is an upstream bug (https://bugzilla.mozilla.org/show_bug.cgi?id=296568), but many distributions include their own .desktop files for improvement of user experience [1](http://bazaar.launchpad.net/~mozillateam/firefox/firefox-trunk.head/view/head:/debian/firefox.desktop.in),[2](https://projects.archlinux.org/svntogit/packages.git/tree/trunk/firefox.desktop?h=packages/firefox&id=2545784ac187a0daf899160cd7f6a3f47e40b92c). Can't we do the same thing?


state: closed
title: cargoSnapshot: Add package
user_login: wizeman
html_url: https://github.com/NixOS/nixpkgs/pull/4074
updated_at: 2014-09-24 16:22:12
body:
  Cargo downloads your Rust project's dependencies and builds your
  project.

  Note that the 'cargo' derivation is actually broken because we don't
  have support for automatically generating Rust dependencies yet
  (and manually specifying and updating them would probably be too time
  consuming).

  However, I've still added it to avoid duplication of work in case someone wants
  to finish it.

  In the mean time, we can use the cargoSnapshot derivation instead, which simply
  uses a binary build.


state: closed
title: go: Include all 3 GOROOT tools
user_login: campadrenalin
html_url: https://github.com/NixOS/nixpkgs/pull/4075
updated_at: 2014-09-21 06:37:44
body:
  Go is supposed to be packaged with 3 tools: cover, vet, and godoc. While most of the things in the go.tools suite can be installed separately, these tools install into $GOROOT instead of $GOPATH. And on NixOS, the $GOROOT directory lives in a read-only subdir in /nix/store.

  Include all 3 tools in the standard installation. Right now, godoc tests do not pass, but it seems like that should be tackled as a separate ticket, rather than blocking people's ability to use godoc, vet, and (in particular) cover.

  This fixes #3930.


state: closed
title: haskell: Don't ignore ghc-options
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4076
updated_at: 2014-09-15 17:02:37
body:
  It seems that even if I put stuff in `ghc-options` in a cabal file, they are not being passed into GHC as far as I can tell from the build log. It seems like I have to put stuff in `configureFlags` which is inconvenient and seems like something `cabal2nix` should handle.

  Is this correct? Does it actually pass the flags in but is not verbose enough to say it?


state: closed
title: XBMC RetroArch integration and some cores
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/pull/4078
updated_at: 2014-10-02 18:50:49
body:
  This adds some additional retroarch cores as well as a script generation package to be used in conjunction with XBMC and the AdvancedLauncher addon, making it possible to use XBMC as an emulator frontend.


state: closed
title: Boost Updates
user_login: wkennington
html_url: https://github.com/NixOS/nixpkgs/pull/4085
updated_at: 2014-09-23 17:26:37
body:
  This pushes boost 1.55 -> 1.56. It also splits up boost into the package containing the dynamic / static libraries and a package containing the includes and share. It also splits off the build system into a separate package entirely. I've tested that boost builds fine, however I don't know if packages will build against it correctly. If someone could run all of the dependent builds to make sure everything works with this change, that would be appreciated.

  Otherwise this is just an expression clean up.


state: closed
title: add go-repo-root, dependency of go2nix
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/4086
updated_at: 2014-09-15 07:53:50
body:
  I'm currently compiling `go`, after which I will try compiling this; @iElectric, would you like to give this a go?


state: closed
title: DO NOT MERGE: Mongodb Build Fixes
user_login: wkennington
html_url: https://github.com/NixOS/nixpkgs/pull/4087
updated_at: 2015-01-07 22:59:26
body:
  Updates the mongodb build to work the the boost change and uses the system yamlcpp. Other generic cleanups are included.

  Depends on #4085 


state: closed
title: haskell-pdf-toolbox-(core,content,document) library added
user_login: wavewave
html_url: https://github.com/NixOS/nixpkgs/pull/4088
updated_at: 2014-09-15 09:04:07
body:
  pdf manipulation library: pdf-toolbox-core, pdf-toolbox-content, pdf-toolbox-document 
  https://github.com/Yuras/pdf-toolbox


state: closed
title: Ruby: Jekyll was removed, how can it be re-added?
user_login: cillianderoiste
html_url: https://github.com/NixOS/nixpkgs/issues/4096
updated_at: 2014-09-16 13:31:53
body:
  I noticed that jekyll was removed in 52b53dc37022210385b83af58a07e67d4d104f69 but I don't know how the ruby gem packaging works in nixpkgs. It would be great to have it back.


state: closed
title: Case-sensitivity of package name
user_login: k0ral
html_url: https://github.com/NixOS/nixpkgs/issues/4099
updated_at: 2015-11-26 14:48:42
body:
  I noticed `nix-env` is currently case-sensitive on the package name. It took me some time to notice some packages because of the presence of uppercase characters in their name.
  When no package matches a given name case-sensitively, it would be great to at least suggest case corrections, or even look for case-insensitive matches. What do you think ?


state: closed
title: update ngrok
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/4103
updated_at: 2014-09-16 08:20:38
body:
  @iElectric Here you go :)

  Generated via:

  ``` bash
  go2nix --until auto --rev b7d5571aa7f12ac304b8f8286b855cc64dd9bab8 --tags release --pkg github.com/inconshreveable/ngrok --out-nix deps.nix
  ```

  **Question:** The `go-bindata` tool, as I understand it, takes the assets and generates go code embedding the resources. Is there any reason to still invoke `cp -R assets $out`? @iElectric, could you perhaps test this without that line? (I've never used ngrok...)


state: open
title: Ant is broken on Mac OS (and kind of weird)
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/4105
updated_at: 2017-10-30 22:53:34
body:
  See https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/build-managers/apache-ant/default.nix.

  It has a pretty hefty "launcher" script that calls `readlink -f` (and `dirname`) without referencing coreutils. Since the native `readlink` on Mac OS doesn't support `-f`, the script fails at startup. If you fix that, you get something like:

  ```
  Unable to locate an executable at "/System/Library/Frameworks/JavaVM.framework/Versions/A/bin/java" (-1)
  ```

  What confuses me more is that the launcher seems to deliberately go out of its way to find a `jvm` the hard way, without having the expression itself depend on java. I'm not sure why that's a good idea in nix, but given that @edolstra maintains it, I feel like I must be missing something.


state: closed
title: Add coreutils dependency to ant launcher script
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/4106
updated_at: 2014-09-17 02:54:48
body:
  Helps with #4105 but doesn't fully fix it. Changes the error from a broken readlink to 

  ```
  $ result/bin/ant 
  Unable to locate an executable at "/System/Library/Frameworks/JavaVM.framework/Versions/A/bin/java" (-1)
  ```


state: closed
title: nix-prefetch-* and fetch* improvements
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/4107
updated_at: 2015-04-07 14:39:50
body:
  - ~~nix-prefetch-hg:~~
    - ~~disable SSL cert checking via --insecure flag~~
  - ~~nix-prefetch-git:~~
    - ~~disable SSL cert checking via GIT_SSL_NO_VERIFY=true~~
    - ~~print hash in base32 by default~~

  ---

  **EDIT:**

  Per the comments below, we should really do the opposite of what I propose above.


state: closed
title: fish-shell builds on unix platforms
user_login: bernerdschaefer
html_url: https://github.com/NixOS/nixpkgs/pull/4113
updated_at: 2014-09-16 07:23:02
body:
  I can confirm that fish-shell builds fine on darwin without patches, and the docs indicate the same should hold true for BSDs.


state: closed
title: rustc: fixed build after 7068828389390dca066fb1062bd27148d49339d4
user_login: madjar
html_url: https://github.com/NixOS/nixpkgs/pull/4115
updated_at: 2014-09-17 19:35:56
body:
  That commit changed the patch to work for the new HEAD, but that new
  patch breaks 0.11. I made two patch for the two versions.


state: closed
title: add Darwin as supported platform for ffmpeg 2.x.nix
user_login: ibeex
html_url: https://github.com/NixOS/nixpkgs/issues/4117
updated_at: 2015-03-31 21:01:09
body:
  I tred to add Darwin as suported platform, but then it breaks builidng wayland-1.5.0 since it is also not supported, it looks like libva is calling darwin. I seen that homebrew dot use libva.


state: closed
title: init list helper
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/pull/4119
updated_at: 2014-09-16 20:52:48
body:
  Suggestion for list helper

  ```
  nix-repl> lib.init [ 1 2 3 4 ]
  [ 1 2 3 ]

  nix-repl> lib.elem 4 (lib.init [ 1 2 3 4 ])
  false
  ```


state: closed
title: krb5: Update to 12.2.2. (Please test before merging.)
user_login: falsifian
html_url: https://github.com/NixOS/nixpkgs/pull/4123
updated_at: 2014-09-19 17:08:24
body:
  I don't know the first think about kerberos, but it compiles and doesn't seem to break things that don't involve kerberos.  Someone who uses kerberos should probably test this before it gets merged.  (I'm just putting it here because I like fixing security vulnerabilities on my own system.)

  Fixes security vulnerabilities CVE-2014-4341, CVE-2014-4342,
  CVE-2014-4343, CVE-2014-4344 and CVE-2014-4345.


state: closed
title: haskell-parsec-ghc7.8.3-3.1.6-shared is broken on x86_64 GNU/Linux
user_login: robberer
html_url: https://github.com/NixOS/nixpkgs/issues/4127
updated_at: 2014-09-22 18:34:54
body:
  since a few days i can't do a "rebuild switch" with nixpkgs master checkout. I get errors regarding haskell-parsec-ghc7.8.3-3.1.6-shared.

  see: http://nixpaste.noip.me/raw/s2pVgOdA


state: closed
title: Make emulator script run without tools in path
user_login: monocell
html_url: https://github.com/NixOS/nixpkgs/pull/4131
updated_at: 2014-09-17 19:11:23
body:
  Currently the script created by emulateApp references adb and android without a complete path
  in two places. Not sure if this is intentional, but it causes the script to fail if you happen to run it
  without having those tools in your environment.


state: closed
title: packageOverrides not being called from nixos-rebuild
user_login: lostdj
html_url: https://github.com/NixOS/nixpkgs/issues/4132
updated_at: 2015-01-10 14:01:53
body:
  I'm nixnoob and am not sure this is a bug, but it sure looks like it to me.

  I'm trying to reorganize my configuration.nix to group all options per-package: override, install, configure, instead of a one huge `packageOverrides` and `systemPackages` (or import files):

  ```
  { config, pkgs, ... }:

  {
    config = pkgs.lib.mkMerge
    [


    {
      # ...


      my.pkgOverrides =
      [
        (pkgs: rec
        {
          jdk = pkgs.oraclejdk7;
        })
      ];

      environment.systemPackages = with pkgs;
      {
        jdk;
      };
    }


    {
      my.pkgOverrides =
      [
        # Other packages similarly...
      ];
    }


    ];
  }
  ```

  `my.pkgOverrides` definition: https://github.com/lostdj/nixpkgs/commit/26d91be9862fb1e4135fd3467c428de2ee147329

  Testing:

  ``` bash
  # nixos-option my.pkgOverrides
  [ <LAMBDA> ]
  ```

  ``` bash
  nix-repl> config.my.pkgOverrides 
  [ «lambda» ]

  nix-repl> config.nixpkgs.config.packageOverrides pkgs
  { jdk = «derivation /nix/store/pz7fl0ymx2h8c0hkm3xhc09gyl44nfgf-oraclejdk-7u65.drv»; }
  ```

  But...

  ``` bash
  # nixos-rebuild build 
  ...
  these paths will be fetched (27.24 MiB download, 55.55 MiB unpacked):
    /nix/store/3l9h8x85awyyx79pqm1y79xl53r6357l-openjdk-7u65b32
  ```

  Put `abort` in `nixpkgs.config.packageOverrides`:

  ``` bash
  evaluation aborted with the following error message: `abortion!11'
  ```

  `abort` in `my.pkgOverrides` and in `my.nix`: nothing. It's not being called.


state: closed
title: Add "cmplayer" package and dependencies
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4134
updated_at: 2014-09-22 14:54:54
body:
  This adopts libbluray by me and updates it, introduces libchardet and finally adds cmplayer -- a video player of my choice.


state: closed
title: Can't install Twisted
user_login: kevinburke
html_url: https://github.com/NixOS/nixpkgs/issues/4135
updated_at: 2014-10-09 17:45:34
body:
  If I run

  nix-env -i python

  then

  pip install twisted

  I get the following traceback:

  ```
  Exception:
  Traceback (most recent call last):
    File "/home/kevin/code/hamms/venv/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
      status = self.run(options, args)
    File "/home/kevin/code/hamms/venv/lib/python2.7/site-packages/pip/commands/install.py", line 278, in run
      requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
    File "/home/kevin/code/hamms/venv/lib/python2.7/site-packages/pip/req.py", line 1197, in prepare_files
      do_download,
    File "/home/kevin/code/hamms/venv/lib/python2.7/site-packages/pip/req.py", line 1375, in unpack_url
      self.session,
    File "/home/kevin/code/hamms/venv/lib/python2.7/site-packages/pip/download.py", line 582, in unpack_http_url
      unpack_file(temp_location, location, content_type, link)
    File "/home/kevin/code/hamms/venv/lib/python2.7/site-packages/pip/util.py", line 625, in unpack_file
      untar_file(filename, location)
    File "/home/kevin/code/hamms/venv/lib/python2.7/site-packages/pip/util.py", line 543, in untar_file
      tar = tarfile.open(filename, mode)
    File "/usr/local/lib/python2.7/tarfile.py", line 1678, in open
      return func(name, filemode, fileobj, **kwargs)
    File "/usr/local/lib/python2.7/tarfile.py", line 1744, in bz2open
      raise CompressionError("bz2 module is not available")
  CompressionError: bz2 module is not available
  ```

  Is it possible to install python with the bz2 module compiled in?


state: closed
title: Add recursive directory substitution support to substituteAll
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4145
updated_at: 2014-10-16 20:58:20
body:
  This allows, for instance, to write complex modular configuration files with substitutions and then use them as such (for nginx):

  ```
  services.nginx.config = let
      configs = pkgs.substituteAll {
        src = ./nginx;

        nginx = pkgs.nginx;
        inherit phpfpm_sock;
      };
    in "include ${configs}/nginx.conf;";
  ```


state: closed
title: Fix the new Ruby interpreters (fixes #3509).
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/4147
updated_at: 2014-09-18 16:21:27
body:
  Ruby >= 2.1.0 will try to download config.{sub,guess} if not already present.
  This provides both files in a pure manner, and also deletes the download script
  to prevent any future confusion.

  (Fixes #3509)


state: closed
title: The svn repo from nixos.org is indexed by google
user_login: cillianderoiste
html_url: https://github.com/NixOS/nixpkgs/issues/4148
updated_at: 2014-09-18 17:06:05
body:
  For me, the first hit on google for "nixos network interfaces" gets me to https://nixos.org/repos/nix/nixos/trunk/modules/tasks/network-interfaces.nix which is the obsolete SVN repo. Perhaps this can be removed now?


state: closed
title: atom: 0.99.0 -> 0.129.0
user_login: jhasse
html_url: https://github.com/NixOS/nixpkgs/pull/4152
updated_at: 2014-09-20 12:06:06
body:
  Updates atom to the newest version. Instead of the outdated .tar.xz file it uses the official deb archive which already contains a .desktop file.

  cc @kevinsawicki


state: open
title: nixos/{firewall,nat}: Standardize around an iptables-restore / nftables solution
user_login: wkennington
html_url: https://github.com/NixOS/nixpkgs/issues/4155
updated_at: 2017-04-20 16:35:30
body:
  Right now we use a command defined set of firewall rules. This allows for mutability of rules during normal operation and a simple, flexible interface for users to add new firewall rules using iptables commands.

  While this approach has worked in the past, it would be nice to standardize on a cleaner firewall interface using the iptables-restore or nftables utilities.

  Personally I'd like to see nftables used for this, as it seems to be the future direction of the linux packet filtering stack.


state: closed
title: Add support for IcedTea in Firefox
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4157
updated_at: 2014-09-22 14:54:57
body:
  This allows to use firefox with IcedTea Java plugin instead of proprietary one. One should specify `firefox.icedtea = true` for that to work. Tested.


state: closed
title: added symlink 'chromium-browser' for xdg-open to work as expected
user_login: Eternity-Yarr
html_url: https://github.com/NixOS/nixpkgs/pull/4158
updated_at: 2014-09-19 19:55:33
body:
  ```
  $ xdg-open http://google.com
  /run/current-system/sw/bin/xdg-open: line 455: firefox: command not found
  /run/current-system/sw/bin/xdg-open: line 455: mozilla: command not found
  /run/current-system/sw/bin/xdg-open: line 455: epiphany: command not found
  /run/current-system/sw/bin/xdg-open: line 455: konqueror: command not found
  /run/current-system/sw/bin/xdg-open: line 455: chromium-browser: command not found
  /run/current-system/sw/bin/xdg-open: line 455: google-chrome: command not found
  /run/current-system/sw/bin/xdg-open: line 455: links2: command not found
  /run/current-system/sw/bin/xdg-open: line 455: links: command not found
  /run/current-system/sw/bin/xdg-open: line 455: lynx: command not found
  /run/current-system/sw/bin/xdg-open: line 455: w3m: command not found
  xdg-open: no method available for opening 'http://google.com'
  ```


state: closed
title: curl: Update to 7.38.0. (Fixes two CVEs.)
user_login: falsifian
html_url: https://github.com/NixOS/nixpkgs/pull/4161
updated_at: 2014-09-19 17:08:52
body:
  Fixes CVE-2014-3620 and CVE-2014-3613.

  Caused a bunch of rebuilds on my system, but things seem to still work.

  If anyone wants to update the release branches without switching to a new version, it looks like there are patches at http://curl.haxx.se/docs/security.html


state: closed
title: boost error when NIXOS_CONFIG is not an absolute path
user_login: cillianderoiste
html_url: https://github.com/NixOS/nixpkgs/issues/4162
updated_at: 2014-09-19 09:05:45
body:
  ```
  $ NIXOS_CONFIG=nixos/modules/virtualisation/azure-image.nix nix-build '<nixpkgs/nixos>' -A config.system.build.azureImage
  error: boost::too_many_args: format-string refered to less arguments than were passed

  $ NIXOS_CONFIG=`pwd`/nixos/modules/virtualisation/azure-image.nix nix-build '<nixpkgs/nixos>' -A config.system.build.azureImage
  /nix/store/wn0ixlh1xi7n24s11fvb6p197500xkmf-azure-image

  nix-build '<nixpkgs/nixos>' -A config.system.build.azureImage -I nixos-config=nixos/modules/virtualisation/azure-image.nix
  /nix/store/wn0ixlh1xi7n24s11fvb6p197500xkmf-azure-image
  ```


state: closed
title: added pcalc package
user_login: ftrvxmtrx
html_url: https://github.com/NixOS/nixpkgs/pull/4165
updated_at: 2014-09-19 14:57:27
body:
  From its homepage:

  ```
  Programmer's calculator, command line utility.

  There was always a loophole when it came to a need to covert between hexadecimal / decimal / octal / binary.

  Especially if it involved an operation like 0x1234 + 0x20 It took a lot of hard work, and mostly a good pocket calculator.

  Main features:
  Full math parser, paranthases, add, sub, mult, div, exponential
  Automatic conversion between HEX DEC OCT BIN numbers
  Mixing different bases in one expression
  Definable variables
  Math constants (E PI ...)
  Built in math functions (sin/cos/sqrt ...)
  ```


state: closed
title: Chromium hiDPISupport ineffectual
user_login: eborden
html_url: https://github.com/NixOS/nixpkgs/issues/4174
updated_at: 2016-03-25 05:15:12
body:
  The hiDPISupport setting for Chromium does not seem to change any rendering options after a rebuild/switch.


state: closed
title: Fail if patch in "patches" does not exist
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4175
updated_at: 2014-10-09 19:27:19
body:
  Without this, build will continue if the patch has not been found, as for example in http://pastebin.com/5pht4SL7.


state: closed
title: Using zsh as your default shell makes nix-shell have a strange prompt
user_login: thespacepanda
html_url: https://github.com/NixOS/nixpkgs/issues/4178
updated_at: 2014-09-24 15:48:33
body:
  This only came up after making zsh my default shell. when I run nix-shell, I get a prompt that looks like this: []$NORMALPROMPT[]. This is quite cumbersome as the up arrow and tab functionality is also missing. However, the problem can be worked around by running nix-shell --command zsh, which doesn't work with --pure, and doesn't seem to pull in the correct path.


state: closed
title: Maven builder doesn't depend on maven
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/4179
updated_at: 2018-06-23 18:28:17
body:
  Nothing seems to use it from what I can see, but it seems to be impure and rely on an existing maven installation. 

  The path I'm talking about is `pkgs/build-support/release/maven-build.nix`


state: closed
title: Drop the jakarta name from BCEL and update its version.
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/4180
updated_at: 2014-09-20 06:13:54
body:
  The Jakarta name has been retired for a few years and I figured I'd update our packages and add new ones in upcoming commits. They're still binaries but once I get the maven builder fixed (#4179) that'll change.


state: closed
title: General Apache Commons reshuffling
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/4181
updated_at: 2014-09-20 21:32:21
body:
  I added:
  - commons-math
  - commons-compress
  - commons-io
  - commons-lang

  I moved:
  - commons-fileupload (used to be jakarta, but that name is looooong gone)

  I removed
  - commons-regexp (nothing uses it anymore, and the project is retired)

  Everything is still binary until I get the maven builder working (#4179)


state: closed
title: quazip: Fix $out variable in installFlags.
user_login: nathanielbaxter
html_url: https://github.com/NixOS/nixpkgs/pull/4183
updated_at: 2014-09-20 23:13:57
body:
  Was producing an empty directory because the nix was not evaluating $out, and qmake evaluates $o.

  See the logs/contents from the last hydra evaluation: http://hydra.nixos.org/build/14258828


state: closed
title: Update/Improve ati_unfree.
user_login: nathanielbaxter
html_url: https://github.com/NixOS/nixpkgs/pull/4185
updated_at: 2014-09-22 08:29:47
body:
  Version bump for ati_unfree drivers, and several patches to fix/improve their support under nixos.

  Related Issue: https://github.com/NixOS/nixpkgs/issues/3989

  The drivers haven't been testing on 32bit linux, and it would be good to test them on more graphics cards. Mostly likely worth merging regardless.


state: closed
title: Roxterm
user_login: cdepillabout
html_url: https://github.com/NixOS/nixpkgs/pull/4191
updated_at: 2014-09-21 14:32:18
body:
  Wrapped the GDK_PIXBUF_MODULE_FILE environment variable so that roxterm is able to
  load svg files.

  Without it I would get the following warnings when starting roxterm:

  ```
  Gtk-WARNING **: Error loading icon from file '/nix/store/36haql12nc3c91jqf0w8nz29zrwxd2gl-roxterm-2.9.4/share/icons/hicolor/scalable/apps/roxterm.svg':
  Couldn't recognize the image file format for file '/nix/store/36haql12nc3c91jqf0w8nz29zrwxd2gl-roxterm-2.9.4/share/icons/hicolor/scalable/apps/roxterm.svg'
  ```

  Also added myself as the maintainer for roxterm.


state: closed
title: Add cryptodisk support for Grub
user_login: fpletz
html_url: https://github.com/NixOS/nixpkgs/pull/4193
updated_at: 2018-02-23 02:11:11
body:
  This PR adds support for having Grub unlock encrypted partitions. This enables `/boot` to reside in i.e. a LUKS container, so that a real full-disk encryption setup is possible.

  It is only necessary to call `grub-install` with `GRUB_ENABLE_CRYPTODISK=y` in the environment for this to work. Grub should detect the crypto container and only install successfully if the machine can boot.

  I have tested this in an extreme environment: `/boot` on btrfs root partition in LVM in LUKS with an GPT partition table. Boots perfectly with `boot.loader.grub.enableCryptodisk = true` and no custom `boot.loader.grub.extraConfig`.


state: closed
title: Add escoger, a terminal fuzzy selector.
user_login: seagreen
html_url: https://github.com/NixOS/nixpkgs/pull/4194
updated_at: 2014-09-21 19:10:18
body:
  default.nix was generated with cabal2nix, but modified to use GitHub as
  the source since escoger isn't on Hackage.


state: closed
title: Review PR in travis with nox-review
user_login: madjar
html_url: https://github.com/NixOS/nixpkgs/pull/4195
updated_at: 2014-09-23 09:59:53
body:
  This PR enable the use of travis for pull requests.

  For each pull requests, each package that is modified by the pull requests (has a different path) is rebuild to check nothing is broken.

  One example of the result can be found here: https://github.com/madjar/nixpkgs/pull/1, https://travis-ci.org/madjar/nixpkgs/builds/35873590.

  Also, for each commit, the full expression is evaluated, in order to provide fast feedback on broken evaluation (because broken evaluation lead to wrongly failed PR).

  This PR should only be merged by a repo admin, who should then activate travis for nixpkgs.


state: closed
title: Remote unlocking encrypted root partition
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/issues/4196
updated_at: 2016-06-02 13:06:59
body:
  It is already possible to boot NixOS from a encrypted root partition. However, unlocking a partition remotely through SSH (dropbear) would be a nice feature. Has someone already tried this in NixOS?


state: closed
title: authentication not possible after nixos-rebuild from master
user_login: hiberno
html_url: https://github.com/NixOS/nixpkgs/issues/4201
updated_at: 2016-04-03 03:39:26
body:
  cc @edolstra 

  I built my NixOS from a fairly recent master (60933879e1e958140a41340cb67718af011bda05) and was unable to authenticate my user afterwards. 

  I tested `sudo`, `xscreensaver` and logging in at a `TTY`. Neither works. I have to login as `root` to change my user's password in order to be enable to authenticate with my user again. 

  This does not happen with the current state of `nixos-unstable` (41cd2d870ab7dc76913ba1cc2dc21e313732b4f1).


state: closed
title: Allow ansible to install on darwin platforms
user_login: joefiorini
html_url: https://github.com/NixOS/nixpkgs/pull/4207
updated_at: 2014-10-02 19:22:27
body:
  I am using this package on my Yosemite install of OS X and it works great. It also pretty closely follows the Homebrew recipe that most OS X users use, so I think we can open it up to other OS X users.


state: closed
title: haskell-libmpd: follow Haskell package conventions
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/4208
updated_at: 2014-09-22 15:35:21
body:
  This patch brings libmpd into line with Haskell package conventions,
  per feedback from @peti at NixOS/nixpkgs#4190.


state: closed
title: Tidy: gparted and gsmartcontrol are not games.
user_login: RichardBarrell
html_url: https://github.com/NixOS/nixpkgs/pull/4209
updated_at: 2014-09-22 17:01:01
body:
  This is a tiny tidy-up: I moved gparted and gstartcontrol out of the "### GAMES" section and into the "### TOOLS" section.


state: closed
title: Get rid of builderDefsPackage
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4210
updated_at: 2016-09-30 10:06:51
body:
  We have too many ways to write packages, let's get rid of ways we all agree they're deprecated. Any reason to keep builderDefsPackage?

  ```
  $ git grep ^builderDefsPackage|wc -l
  93
  ```


state: closed
title: [Dont Merge] nixos-iso: Add zfs / btrfs to supportedFilesystems
user_login: wkennington
html_url: https://github.com/NixOS/nixpkgs/pull/4213
updated_at: 2015-03-22 02:34:06
body:
  Does this seem reasonable to everyone? My only worry is that zfs sometimes falls behind in supporting newer kernels which would cause the iso build to fail. It would be nice to be able to create zfs root installs and access zfs pools from the iso though.


state: closed
title: Adds camlp4
user_login: vbgl
html_url: https://github.com/NixOS/nixpkgs/pull/4215
updated_at: 2014-11-03 23:08:07
body:
  Camlp4 is a software system for writing extensible parsers for
  programming languages.

  Camlp4 was part of the official OCaml distribution until its version
  4.01.0.

  Homepage: https://github.com/ocaml/camlp4


state: closed
title: godoc works as CLI, but not as HTTP server
user_login: campadrenalin
html_url: https://github.com/NixOS/nixpkgs/issues/4218
updated_at: 2016-12-15 21:40:36
body:
  When run with a package argument, we get documentation printed to STDOUT, as expected. So in this case, it's able to find the packages successfully.

  However, if you run with `--http=:6060` (which hosts a server on localhost:6060), and try to access /pkg/fmt, you will be greeted with an error. In this case, godoc is looking for files in the wrong directory (one directory too high), and not finding the files it expects to exist.

  This is the cause of at least some of the test failures for the godoc package (which is why testing is currently turned off for this package in the go/1.3.nix derivation). I'm not sure that it's the reason for _all_ the test failures for the godoc package, but it would be nice to at least cut this down, and get closer to being able to run the full suite of tests in the derivation. I really don't like having to skip tests.


state: closed
title: cmplayer fails to build on Hydra
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4220
updated_at: 2014-10-03 19:49:34
body:
  cmplayer fails to build on Hydra because it apparently tries to run waf (http://code.google.com/p/waf/) first. Locally however even though it complains, the `nix-build` proceeds. This is to discuss this problem. instead of discussing this at #4175

  cc @abbradar


state: closed
title: Make pulseaudio optional for Qt 5
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4221
updated_at: 2014-09-24 02:31:51
body:
  Qt5 lists pulseaudio in its dependencies. It'd be great if that was made optional based on whether pulseaudio is enabled on the user's system. cc @bbenoist 


state: closed
title: new Go support function 'buildGoPackage'
user_login: ehmry
html_url: https://github.com/NixOS/nixpkgs/pull/4222
updated_at: 2015-02-03 13:45:40
body:
  This PR is for a new language-specific build funtion for Go.

  I have some practical package expressions that use this fuction that I can append to the PR as well.
  Also, I have a script that spits out basic expressions for building a Go package using only a Go import line, but I'm going to wait to do some more testing first.

  This will take care of https://github.com/NixOS/nixpkgs/issues/3080.


state: closed
title: Saga: Initial Expression
user_login: michelk
html_url: https://github.com/NixOS/nixpkgs/pull/4223
updated_at: 2014-09-29 13:21:52
body:
  TODO: Existing optional dependencies should be marked (e.g `libharu`, `opencv`, `vigra`); [liblas](http://www.liblas.org/) is still missing.


state: closed
title: libvpx fails on darwin
user_login: ibeex
html_url: https://github.com/NixOS/nixpkgs/issues/4227
updated_at: 2015-04-07 07:55:35
body:
  make[1]: **\* [vp9/common/x86/vp9_loopfilter_intrin_avx2.c.o] Error 1 
  make: **\* [.DEFAULT] Error 2
  builder for ‘/nix/store/vp54pjxr8gsxkjqyyai35y20qx08jrrw-libvpx-1.3.0.drv’ failed with exit code 2
  error: build of ‘/nix/store/vp54pjxr8gsxkjqyyai35y20qx08jrrw-libvpx-1.3.0.drv’ failed

  related to https://github.com/NixOS/nixpkgs/issues/4117


state: closed
title: Fixes to the travis script
user_login: madjar
html_url: https://github.com/NixOS/nixpkgs/pull/4229
updated_at: 2014-09-23 12:35:23
body:
  - Build 4 jobs at a time (might help with the timeout)
  - Be quiet with pip (should make the output more readable)


state: closed
title: include thermald service in module list
user_login: monocell
html_url: https://github.com/NixOS/nixpkgs/pull/4230
updated_at: 2014-09-23 21:41:41
body:
  `services.thermald.enable = true;`
  in configuration.nix gives:
  `error: The option services.thermald defined in /etc/nixos/configuration.nix does not exist`

  I assume this is because the module is not mentioned in the module list.


state: closed
title: nixos/install-grub: Don't run GrubFs(/nix/store) if copyKernels is true
user_login: rickynils
html_url: https://github.com/NixOS/nixpkgs/pull/4231
updated_at: 2014-10-19 14:56:30
body:
  @wkennington This was the quickest solution to disable running `GrubFs` on `/nix/store` when `copyKernels` is true, but I haven't digged through the Perl script enough to say if it is a good or bad solution. Feel free suggesting something else or submit another PR.

  Some context: `GrubFs` fails when `/nix/store` is on NFS or CIFS, but in those cases `copyKernels` will be true anyway, and we shouldn't need to find a grub device. So we can simply skip running it.


state: closed
title: GNOME 3.14 requires new fontconfig
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4232
updated_at: 2014-10-21 18:57:45
body:
  As per pango expression:

  ```
  name = "pango-1.32.5"; #.6 and higher need fontconfig-2.11.* which is troublesome
  ```

  However now newer gtk requires pango 1.36. Any ideas how can we work on upgrading fontconfig? @vcunat 


state: closed
title: Expose function 'step' in build process for debugging
user_login: campadrenalin
html_url: https://github.com/NixOS/nixpkgs/issues/4234
updated_at: 2016-12-15 21:40:53
body:
  In the interactive derivation building process, we ought to provide a shell function called "step" or "build-step", which runs the next build phase and (on success only) iterates the internal step counter.

  The important thing is that one should be able to _perfectly_ emulate an automated build, by running 'step' until the entire build is complete (at which point the function should only emit a "You're done" message of some sort). If this does not reliably behave like an automated build does, it's nearly useless for debugging builds.


state: closed
title: darwin: Use xcrun to determine the DEPLOYMENT_TARGET
user_login: jwiegley
html_url: https://github.com/NixOS/nixpkgs/pull/4235
updated_at: 2015-03-25 16:29:56
body:
  Setting it to 10.6 on 10.9 systems using Xcode 6.0.1 no longer works.  @peti @edolstra Note: This will cause the world to rebuild, so I think this belongs on another branch?


state: closed
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/4236
updated_at: 2014-12-14 18:21:08
title:
  nixos-rebuild / install-grub.pl broken in current master (may break upgrading between major NixOS releases)

body:
  I can no longer update my system:

  ```
  # nixos-rebuild boot 
  building the system configuration...
  updating GRUB 2 menu...
  fileparse(): need a valid pathname at /nix/store/pmashz5671fadjfyxaxf6r0bcz5839m4-install-grub.pl line 361.
  warning: error(s) occured while switching to the new configuration
  ```

  This happens in revision b26da01082f537b06af82b6262d877dd5171955a (and before).


state: closed
title: git-annex loads very slowly when dynamically linked
user_login: muflax
html_url: https://github.com/NixOS/nixpkgs/issues/4239
updated_at: 2015-02-06 13:11:24
body:
  git-annex has a lot of Haskell dependencies, which makes it really slow to load up when it's dynamically linked.

  It takes over 3 seconds to start on my machine, even for just a simple "git-annex version". This constant delay makes git-annex very painful to use in the terminal. Both the official build and a simple static version of the Nix build load nearly instantly.

  I put the following override in my config.nix:

  ```
  cabalStatic = haskellPackages.cabal.override {
    enableStaticLibraries   = true;
    enableSharedLibraries   = false;
    enableSharedExecutables = false;
  };

  gitAnnexStatic = haskellPackages.gitAnnex.override {
    cabal = cabalStatic;
  };
  ```

  That builds and runs correctly, so git-annex should probably be static by default. I assume this also affects all other Haskell tools, but git-annex is the only big one I use.

  (I'm still completely new to Nix (and Haskell), so I have no idea how to further test or profile this. Is there a reason Haskell tools, in particular the ones with giant dependencies, are dynamically linked?)


state: closed
title: cjdns: update from 20140919 20140922
user_login: ehmry
html_url: https://github.com/NixOS/nixpkgs/pull/4240
updated_at: 2014-09-30 14:51:49
body:
  package installs to .../bin
  fix service module to look in .../bin

  I messed up and forgot that I replaced 'cp $out/sbin' with installBin in the package, and that broke the service.


state: closed
title: Replace resumeDevice with autodetection of hibernation partition
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4244
updated_at: 2014-09-24 16:18:08
body:
  This new implementation automagically finds resume partition from all enabled swap partitions. It, therefore, workarounds Linux kernel's problem of having no way to find out which of all enabled swap partitions or devices was used as a resume one. It doesn't cover a case when user has a swap file because we can't specify resume offset not from the kernel command line; user should use boot.kernelParams for that for now.

  This covers all old use cases of resumeDevice, because a resumeDevice should be in swapDevices by definition, and extends it by providing out-of-the-box hibernate support and supporting multiple swap devices; so I've removed old configuration option.

  Tested on my machine with one swap partition; would be good to have a test with multiple partitions, but I can't see what can go wrong.


state: closed
title: Ruby: Fix broken `system` method
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/issues/4245
updated_at: 2014-09-24 02:53:18
body:
  Ruby's `system` and backtick methods don't process environment variables correctly.

  Using Ruby installed on my system (Darwin):

  ```
  irb(main):001:0> `X=X echo test`
  => "test\n"
  irb(main):002:0> system 'X=X echo test'
  test
  => true
  ```

  Using Ruby installed via Nix:

  ```
  irb(main):001:0> `X=X echo test`
  Errno::ENOENT: No such file or directory - X=X echo test
          from (irb):1:in ``'
          from (irb):1
          from /nix/store/wf1l3jn8mr8jb9rhw28gnmgxsdzp8dx2-ruby-1.9.3-p547/bin/irb:12:in `<main>'
  irb(main):002:0> system 'X=X echo test'
  => nil
  ```

  I'm going to take a look into this and see if I can figure out what's going on. Perhaps the configure script is confused.


state: closed
title: wineUnstable: Version bump and related bugfix.
user_login: nathanielbaxter
html_url: https://github.com/NixOS/nixpkgs/pull/4247
updated_at: 2014-09-24 03:56:02
body:
  Fixes two derps I made yesterday:
  1) 1.7.27 was released a few days ago.
  2) Fixes dynamic loading of ncurses lib in wine 1.7.26+.


state: closed
title: Android studio and idea fsnotifier
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/pull/4253
updated_at: 2014-09-24 19:38:32
body:
  These patches were added by someone who prefer to be anonymous. I've tested them and they work well.


state: closed
title: Nixos does not ensure bashInteractive is installed when the default shell isn't bash
user_login: thespacepanda
html_url: https://github.com/NixOS/nixpkgs/issues/4260
updated_at: 2017-08-31 14:23:52
body:
  This issue presents itself if your default shell isn't bash (in my case zsh), and you attempt to use nix-shell. Nix-shell only calls bash from the user's PATH, as is explained [here](https://github.com/NixOS/nix/issues/355), and bash is expected to have readline support. However, this is not the case if bash is not the default shell - nixos simply ensures pkgs.bash is installed, not necessarily pkgs.bashInteractive. This is a problem because without readline support nix-shell does not behave as expected (notably the prompt is garbled and arrow key functionality is missing). All of these issues were fixed by me including bashInteractive in environment.systemPackages. It would be nice if nixos defaulted to keeping bashInteractive, even if it isn't the user's default shell.


state: closed
title: Add mersenne-random
user_login: cbpark
html_url: https://github.com/NixOS/nixpkgs/pull/4261
updated_at: 2014-10-02 09:04:13
body:
  This adds mersenne-random package for Haskell. See [mersenne-random](http://hackage.haskell.org/package/mersenne-random) in Hackage.


state: closed
title: bash: apply patch for CVE-2014-6271
user_login: matejc
html_url: https://github.com/NixOS/nixpkgs/pull/4263
updated_at: 2014-09-24 23:06:48
body:
  fix for CVE-2014-6271 (938976.patch)
  issue: https://bugzilla.redhat.com/show_bug.cgi?id=1141597

  this patch works as it is "advertised" on this site
  https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/


state: closed
title: KDE 4.14.1
user_login: ambrop72
html_url: https://github.com/NixOS/nixpkgs/pull/4265
updated_at: 2014-10-05 09:08:45
body:
  This is my initial attempt of KDE 4.14.
  It is based on https://nixos.org/wiki/How_to_upgrade_KDE and https://github.com/NixOS/nixpkgs/pull/3054 . Some commits are the same except for 4.14.
  Currently it all builds, and things seem to work to some degree (only tried running a few programs).

  TBD Telepathy update (check the commits in the referenced pull request). I didn't do this in fear of breaking KDE 4.12.


state: closed
title: optimising store breaks ruby?
user_login: falsifian
html_url: https://github.com/NixOS/nixpkgs/issues/4266
updated_at: 2014-11-20 12:24:33
body:
  For some reason, https://github.com/NixOS/nixpkgs/pull/4257 seems to stop ruby building.  It builds fine for me at 39d93963808c60da0403402a55edb32e83621bcb, but at ad3591cd9db6594cf876d5401e64eed50e012d83, I see this:

  ```
  building us_ascii.o
  compiling ./enc/us_ascii.c
  building enc/unicode/name2ctype.h
  /nix/store/mbq4nwsyjf3wpj00pxls75pikczizs16-coreutils-8.21/bin/mkdir -p enc/unicode
  + cp enc/unicode/name2ctype.h.blt enc/unicode/name2ctype.h
  cp: 'enc/unicode/name2ctype.h.blt' and 'enc/unicode/name2ctype.h' are the same file
  make: *** [enc/unicode/name2ctype.h] Error 1
  note: keeping build directory `/tmp/nix-build-ruby-1.9.3-p547.drv-1'
  builder for `/nix/store/sc1d6n8x7vfvxiyagmmw336z2y0mcygz-ruby-1.9.3-p547.drv' failed with exit code 2
  error: build of `/nix/store/sc1d6n8x7vfvxiyagmmw336z2y0mcygz-ruby-1.9.3-p547.drv' failed
  ```

  I tried building twice just to be sure (though I can't confirm the error was the same the first time).


state: closed
title: androidndk: fix make-standalone-toolchain.sh helper script
user_login: ftrvxmtrx
html_url: https://github.com/NixOS/nixpkgs/pull/4268
updated_at: 2014-09-26 15:44:12
body:
  The script does a copy of a toolchain and then rearranges files a bit.
  The problem is that these files have the same permissions (read-only)
  as installed ones. The patch fixes the problem by changing permissions
  of the copy before doing anything else.


state: closed
title: ihaskell: added package
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/pull/4272
updated_at: 2014-10-07 09:52:44
body:
  IHaskell doesn't compile on NixOS without being explicit about catMaybes. https://github.com/gibiansky/IHaskell/pull/288


state: closed
title: ruby: Fix build on systems with store optimisation
user_login: falsifian
html_url: https://github.com/NixOS/nixpkgs/pull/4273
updated_at: 2014-11-06 17:25:42
body:
  Fixes #4266.  Though I haven't tested this beyond verifying that the ruby expressions build now.

  This seems like an awful hack to me.  I think a better solution would be to remove the -d option in https://github.com/NixOS/nixpkgs/blob/52d9c93abef582cfa32d94397aa86f0aa169917c/pkgs/stdenv/generic/setup.sh#L464 as suggested by @wmertens.


state: closed
title: BOSSA: Try to fix a nondeterministic build failure.
user_login: ambrop72
html_url: https://github.com/NixOS/nixpkgs/pull/4275
updated_at: 2014-09-26 07:04:50
body:
  There's a Make rule to generate .cpp from .asm but the .cpp is included
  in the source. Presumably the timestamps of these two files in the tmp
  dir are different when Hydra is building, but not on my system. This
  causes Make to try to rebuild .cpp, but the tools needed for that are missing.

  EDIT link to build failure: http://hydra.nixos.org/build/14705747/nixlog/1


state: closed
title: Mailpile service
user_login: matejc
html_url: https://github.com/NixOS/nixpkgs/pull/4278
updated_at: 2014-09-26 16:50:50
body:
  - add mailpile service
  - upgrade mailpile to current master - fixes few bugs
  - add openssl to mailpile executable (wrapper)


state: closed
title: openimageio: using tagged version as src url instead of (moving) branch
user_login: sztupi
html_url: https://github.com/NixOS/nixpkgs/pull/4281
updated_at: 2014-09-26 14:09:48
body:
  A recent change referred to the url of the 1.4 release branch head, which is changing in time, instead of the most recent tag of that branch


state: closed
title: Crashplan
user_login: sztupi
html_url: https://github.com/NixOS/nixpkgs/pull/4282
updated_at: 2014-11-18 13:33:38
body:
  new package crashplan: an online/offline backup system and service

  http://www.code42.com/crashplan/download/


state: closed
title: vlc: Add ffmpeg version 2.3.x for vlc.
user_login: nathanielbaxter
html_url: https://github.com/NixOS/nixpkgs/pull/4286
updated_at: 2014-09-27 03:06:20
body:
  d6821cc9a83f00834f2003d3c6e15597c24421a7 broke vlc. Vlc doesn't support libavcodec >= 56 yet (fails with a configuration error) so it needs an older version of ffpmeg. This patch adds back the 2.3.3 version of ffmpeg so vlc can build against it.

  ffmpeg maintainer: @Fuuzetsu 


state: closed
title: zsh: enable pcre (and version bump)
user_login: muflax
html_url: https://github.com/NixOS/nixpkgs/pull/4289
updated_at: 2014-09-28 15:50:59
body:
  turn on PCRE for regex matches, notably the popular syntax highlighting (and bump minor version while we're at it)


state: closed
title: Nix and NixOS Rock!
user_login: rushmorem
html_url: https://github.com/NixOS/nixpkgs/issues/4290
updated_at: 2014-09-29 10:20:05
body:
  Hi guys,

  I've just switched from ArchLinux to NixOS on my laptop and am really impressed. It's by far the best Linux distro, I have run so far! You guys are doing awesome stuff! I've been running ArchLinux both as my desktop and server distro for a long time now. I have no complaints and I really loved it but I think NixOS, thanks to the Nix Package Manager, is a cut above the rest. I fell in love with NixOS before I even ran `nixos-install`.

  For my server distro, I have recently been testing [CoreOS ](https://coreos.com/) and really liked it until I discovered NixOS. I think I will be switching all my server nodes from ArchLinux to NixOS very soon as well. I think NixOS can give me a JEOS with rollback support without sacrificing my freedom and flexibility.

  I just wanted to take this moment to show my appreciation for the awesome work you are doing...


state: closed
title: Upstream Bug In Current Go Packages
user_login: rushmorem
html_url: https://github.com/NixOS/nixpkgs/issues/4291
updated_at: 2014-09-30 13:42:57
body:
  I'm failing to install any packages that depend on `Go` using `configuration.nix` or `nix-env`. When I try, I get

  ```
  --- FAIL: TestParseInSydney (0.06 seconds)
       format_test.go:201: ParseInLocation(Feb 01 2013 EST, Sydney) = 2013-02-01 00:00:00 +0000 EST, want 2013-02-01 00:00:00 +1100 AEDT
  ```

  This is a harmless upstream test bug triggered by the obsolete assumption about Australian TZ
  abbreviations. See [this discussion](http://comments.gmane.org/gmane.comp.lang.go.general/137561) or [this commit message](https://code.google.com/p/go/source/detail?r=7dba9475ee72).

  For example, I run into it when I do `nix-env -i consul` on the unstable channel. I can workaround it by installing the packages from [hydra](http://hydra.nixos.org/) but I prefer putting my packages in `configuration.nix` as it makes it more convenient to have the same setup on another system.

  I have [just started using NixOS](https://github.com/NixOS/nixpkgs/issues/4290) so I'm still trying to familiarize myself with the various package management options available. I haven't finished going through the manuals yet but I saw some package override options there. However, it would be nice if someone who is already familiar with nixpkgs can quickly fix this so that these packages can just work without overrides.


state: closed
title: erlang-17.3: crypto/ssl handshake fix for empty SNI
user_login: ftrvxmtrx
html_url: https://github.com/NixOS/nixpkgs/pull/4293
updated_at: 2014-09-28 06:28:22
body:
  Discussion:
  https://groups.google.com/forum/#!topic/erlang-programming/7IGtXNzvrD0

  The patch itself:
  https://github.com/erlang/otp/commit/3b1328d0eaecede8e42b0838f9920e413a19c8d6


state: closed
title: postgresql: use configured port when invoking psql
user_login: tolbrino
html_url: https://github.com/NixOS/nixpkgs/pull/4294
updated_at: 2014-11-27 15:14:05
body:
  Without the port psql would always try to connect to PostgreSQL through the default port, even though another one is used. This leads to the service timing out.


state: closed
title: Add linode python binding
user_login: nmikhailov
html_url: https://github.com/NixOS/nixpkgs/pull/4295
updated_at: 2014-10-03 10:18:54
body:
  Linode API python binding
  I was unable to build it for pypy because dependency 'python-tkinter' failed

  UPD1: fixed @cillianderoiste's comments


state: closed
title: SourceGraph doesn't work
user_login: seagreen
html_url: https://github.com/NixOS/nixpkgs/issues/4297
updated_at: 2014-10-25 13:21:04
body:
  Package: haskellPackages.SourceGraph
  Version: 14.10pre49475.74f6be0 (Caterpillar)

  ```
  $ SourceGraph Example.hs
  ERROR:SourceGraph requires the tools from http://graphviz.org to be installed.

  $ SourceGraph -help
  ERROR:SourceGraph requires the tools from http://graphviz.org to be installed.
  ```

  Note that SourceGraph's [default.nix](https://github.com/NixOS/nixpkgs/blob/43fd39de43794fa2a5200313dff4ba833e02c20f/pkgs/development/tools/haskell/SourceGraph/default.nix) already includes `graphviz`.


state: closed
title: bash vulnerable to CVE-2014-7186
user_login: wizeman
html_url: https://github.com/NixOS/nixpkgs/issues/4299
updated_at: 2014-10-22 20:20:31
body:
  ... and possibly CVE-2014-7187 and CVE-2014-6277.

  See the result from running https://github.com/hannob/bashcheck based on a recent commit of nixpkgs (master branch):

  ```
  $ ./bashcheck 
  bash: warning: x: ignoring function definition attempt
  bash: error importing function definition for `x'
  Not vulnerable to CVE-2014-6271 (original shellshock)
  Not vulnerable to CVE-2014-7169 (taviso bug)
  ./bashcheck: line 18:  8544 Segmentation fault      bash -c "true $(printf '<<EOF %.0s' {1..79})" 2> /dev/null
  Vulnerable to CVE-2014-7186 (redir_stack bug)
  Test for CVE-2014-7187 not reliable without address sanitizer
  Variable function parser still active, likely vulnerable to yet unknown parser bugs like CVE-2014-6277 (lcamtuf bug)
  ```

  I think there are no official fixes released for these yet, but it's worth to keep an eye on this.


state: closed
title: Slim uses "Session: xterm" instead of "Session: none + xmonad"
user_login: aaronlevin
html_url: https://github.com/NixOS/nixpkgs/issues/4300
updated_at: 2015-05-13 11:23:42
body:
  I'm not sure if this is desired behavior or an issue. After successfully getting NixOS installed and running on my laptop, I decided to copy my [`/etc/nixos/configuration.nix`](https://github.com/aaronlevin/dotfiles/blob/178fd09817925f475203532ffe7c856468275e9f/nix/configuration.nix) to my desktop. To my surprise the following happened:
  1. At the login screen, instead of "**Session: none + xmonad**" at the bottom it just stated: "**Session: xterm**"
  2. After logging in, it seemed like my display manager was just a single xterm (hard to describe, but I had a terminal in the top-left of my screen, and then default / generic background for the rest).
  3. running `xmonad --recompile` gave me a `ghc`-related error
  4. running `ls -ln \`which xmonad`` gave me what looked like the desired result (xmonad was properly installed).
  ### Steps to Recreate Issue
  1. install NixOS
  2. use this configuration: [`/etc/nixos/configuration.nix`](https://github.com/aaronlevin/dotfiles/blob/178fd09817925f475203532ffe7c856468275e9f/nix/configuration.nix)
  3. login as `aaronlevin`
  ### Steps to "Fix" / "Hack" Issue

  To fix this, I had to add the following line to my `/etc/nixos/configuration.nix`:

  ```
    services.xserver.desktopManager.xterm.enable = false;
  ```
  ### Desired Behaviour

  If I set `xmonad` as my window manager, I shouldn't have to disable `xterm` as a desktop manager. Further, setting `desktopManager.default = "none";` should work disable `xterm`.
  ### Other Notes

  Note that this line was absent from my laptop configuration. I believe some kind of referential transparency was broken (perhaps on purpose), because when I first setup my laptop I included that line having seen it on a blog somewhere. I later removed it. 


state: closed
title: NSD update to version 4.1.0
user_login: hrdinka
html_url: https://github.com/NixOS/nixpkgs/pull/4303
updated_at: 2014-09-28 14:19:30
body:
  Updates the NSD DNS server to the latest version + add myself as a maintainer (missed it when I've created the package)


state: closed
title: Working with Coq
user_login: vbgl
html_url: https://github.com/NixOS/nixpkgs/pull/4305
updated_at: 2014-11-03 23:11:02
body:
  Coq is a programming language & compiler. Third-party libraries are usually installed at a fixed location; which cannot work under Nix. Since version 8.4, the environment variable $COQPATH can be used to tell coq in which directories it should look for libraries.

  This set of patches takes advantage of this feature to ease the packaging and use of third-party coq libraries. A hook populates the $COQPATH variable; it expects libraries to be installed in `…/lib/coq/${coq-version}/user-contrib/`.

  As examples (and useful packages), there are derivations for three libraries.


state: closed
title: FONTCONFIG_FILE: remove setters to /etc/fonts/fonts.conf
user_login: vcunat
html_url: https://github.com/NixOS/nixpkgs/pull/4308
updated_at: 2014-10-05 15:12:41
body:
  Any reasonably new version of fontconfig does search that path by default, and setting this globally causes problems, as 2.10 and 2.11 need incompatible configs.

  Tested: slim+xfce desktop, chrootenv-ed steam.
  I have no idea why we were setting the global variable; e.g., neither Fedora nor Ubuntu does that.
  #### Potential issues
  - I couldn't test with **lightdm**, as on my testing machine it fails both before and after the commit, probably due to #2065. @ocharles: you added it for lightdm in 2e088aa2; are you sure it was needed? Can someone test this with lightdm?
  - I couldn't test with **bumblebee**, as my motherboard doesn't support optimus. @amiddelk: you added it in 3f1054b1e; are you sure it was needed? Can someone test this with bumblebee?


state: closed
title: nixos/install-grub.pl: handle being given a partition device file
user_login: bjornfor
html_url: https://github.com/NixOS/nixpkgs/pull/4310
updated_at: 2016-09-18 21:04:01
body:
  If the "boot.loader.grub.device" config option points to a hard disk
  partition device file (e.g. /dev/disk/by-label/nixos, which is a symlink
  to /dev/sda1), installing grub fails like this:

  $ sudo nixos-rebuild switch
  [...]
  installing the GRUB 2 boot loader on /dev/disk/by-label/nixos...
  Installing for i386-pc platform.
  .../sbin/grub-install: warning: File system `ext2' doesn't support embedding.
  .../sbin/grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
  .../sbin/grub-install: error: will not proceed with blocklists.
  /nix/store/HASH-install-grub.pl: installation of GRUB on /dev/disk/by-label/nixos failed

  (Grub doesn't differentiate between the various ext2/3/4 variants here
  and prints ext2 even for ext4 filesystem.)

  This patch makes install-grub.pl strip off numbers in the device file,
  so that even if a /dev/sda1 path is given, it is converted to /dev/sda
  before passing it on to grub-install.

  This enables using human friendly "by-label" device files, and allows
  using the same setting for boot.loader.grub.device and
  fileSystems."/".device.

  Alternatives to using "by-label" device files are:

  1) Names like /dev/sda. Downside: unstable, name may change after a reboot.

  2) Specify /disk/by-id/\* names. This namespace has both partitions and
     raw disk nodes, unlike the "by-label" namespace. Downside: ugly names
     like "ata-KINGSTON_SH103S3120G_50026B722600AA5F".


state: open
title: Perl5: it is not possible to access the gdbm library
user_login: romildo
html_url: https://github.com/NixOS/nixpkgs/issues/4311
updated_at: 2018-10-01 15:09:28
body:
  There is program I want to install on nixos. The problem is that this program depends on `GDBM_File`, which is a perl module to  access the `gdbm` library. `GDBM_File` should be provided by the `perl` package.

  I have tried to add `gdbm` as a build input dependency to `perl`, but it does not work. `nix-build` gives the error: `infinite recursion encountered`. So I do not know how to fix this.

  Please, add support to `GDBM_File` in the `perl` package.


state: closed
title: Exponentially reduce computation time needed for replace-dependency by u...
user_login: roconnor
html_url: https://github.com/NixOS/nixpkgs/pull/4313
updated_at: 2014-09-29 01:19:59
body:
  ...sing memoization.

  This patch makes two changes.

  (1) It memoizes the computation of dependsOnOld.
  (2) It replaces rewrittenDerivations with a similar memoized table rewriteMemo.

  This prevents the entire tree of run-time dependencies from being traversed and instead only traverses the graph of run-time dependencies.
  In the case of deep dependency changes (such as changing one's bash version for an entire NixOS system) this can lead to an exponential speedup in processing time
  because shared dependencies are no longer traversed multiple times.

  This patch isn't quite derivation-per-derivation equivalent to the original computation.
  There are two immaterial differences.

  (1) The previous version would always call upon sed to replace oldDependency with newDependency even when the store object being updated doesn't directly depend on
  oldDependency.
  The new version only replaceds oldDependency with newDependency when the store object being updated actually directly depends on oldDependency (which means there is
  actually a hash to replace).
  (2) The previous version would list the old store object as a source input of the new store object, _except_ for the root derivation being updated.  Because the
  root derivation being updated has its actual derivation available the previous verions would make the updated root derivation depend on the old derivation as a
  derivation input instead of as a source input.
  The new version always lists the old store object as a source input, including the root derivation.


state: closed
title: Fixed idris wrapper to make idris work with different backends.
user_login: MaxOw
html_url: https://github.com/NixOS/nixpkgs/pull/4314
updated_at: 2014-09-29 03:15:25
body:
  When compiling with different backends idris needs access to other binaries from idris_plain e.g.:

  ```
  idris --codegen javascript Test.idr -o Test.js
  ```

  Idris would complain about no `idris-javascript` in the environment.


state: closed
title: bash: Remove initialization of exported functions.
user_login: aszlig
html_url: https://github.com/NixOS/nixpkgs/pull/4316
updated_at: 2014-09-29 11:51:13
body:
  Why fixing a parser of some feature when the actual feature is rarely used, not POSIX shell compliant and can be even implemented selectively in shell scripts that need it?

  IMHO, it's the only sane fix for this vulnerability, because even if the parser is someday "fixed enough" so that most cases are _believed_ to be non-exploitable, the feature itself still allows things such as:

  ``` sh
  env echo='() { printf "vulnerable\n"; }' bash -c "echo not vulnerable"
  ```


state: closed
title: Updated bash to patch 50.
user_login: VShell
html_url: https://github.com/NixOS/nixpkgs/pull/4317
updated_at: 2014-09-29 11:51:08
body:
  This fully mitigates Shellshock and related parsing vulnerabilities, due to attackers never controlling environment variable names. Patch 50 namespaces all function definitions in the environment with a prefix of BASH_FUNCS_.

  This patch could be applied in place of #4316, and should break less.


state: closed
title: Python on Darwin: Don't depend on glibcLocales
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/pull/4318
updated_at: 2014-09-29 16:36:54
body:
  glibcLocales isn't supported on Darwin any more, and as such it should not be used as a dependency.

  Not sure if this is the best way to fix it; perhaps the package should be made optional in top-level instead (https://github.com/NixOS/nixpkgs/blob/93fd8fb3a54b21e836b5e06acff0ddb1dbc20d4b/pkgs/top-level/all-packages.nix#L5004 but I'm not sure how to make a derivation optional), or perhaps it should create an empty dir structure on Darwin.

  anyway this removes some duplication, so it's good to apply in any case :grin: 


state: closed
title: makeDesktopItem: key "Encoding" in group "Desktop Entry" is deprecated
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/4319
updated_at: 2015-06-18 09:53:55
body:
  With a derivation containing:

  ```
  desktopItem = makeDesktopItem {
    name = "Pharo";
    exec = "${executable-name}";
    icon = "pharo";
    comment = "Launcher for Pharo distributions";
    desktopName = "Pharo";
    genericName = "Pharo";
    categories = "Development;";
  };
  ```

  The desktop file validator shows a warning:

  ``` bash
  $ desktop-file-validate result/share/applications/Pharo.desktop 
  result/share/applications/Pharo.desktop: warning: key "Encoding" in group "Desktop Entry" is deprecated
  ```


state: closed
title: glibcLocales: cleaner environment handling
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/pull/4320
updated_at: 2017-03-18 22:26:40
body:
  A continuation/re-imagining of #4318, trying to make it cleaner.
  - make pkgs attribute null on unsupported Darwin platform
  - add setup hook to provide much-duplicated environment variable

  This way, builds should find the locale archive when they add `pkgs.glibcLocales` to `buildInputs`.

  My only problem is that I wasn't able to test this on Linux yet. On Darwin it works fine, since it just removes everything :grin:. I mocked the glibcLocales build and it did create the proper setup-hook with the correct path.


state: closed
title: debootstrap | 404-fix: 1.0.60 is gone from debian mirrors, update to 1.0.63
user_login: deepfire
html_url: https://github.com/NixOS/nixpkgs/pull/4321
updated_at: 2014-09-30 06:58:17
body:
  Update URL: tarball for the plain debootstrap 1.0.60 is no longer at http://ftp.de.debian.org/debian/pool/main/d/debootstrap/


state: closed
title: texLive: xelatex should depend on lmodern fonts
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4324
updated_at: 2018-09-29 11:46:44
body:
  I've encountered this error: https://tex.stackexchange.com/questions/652/xetex-not-working-on-ubuntu-10-04
  I don't have time to dig deeper into this now, but it looks like lmodern fonts are needed for xelatex's fontspec to work. I've triggered this bug with just

  ```
  \documentclass{article}

  \usepackage{polyglossia}
  ```


state: closed
title: Let’s compile the Mac OS X SecurityTool ourselves
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/4326
updated_at: 2014-10-02 05:02:10
body:
  This allows us to compile SecurityTool ourselves. There are several more Apple opensource projects that can be compiled this way that I'll slowly add.

  Remaining sources of impurity:
  - Reference to absolute path to Xcode. This should be integrated with the xcode derivation (and the iOS wrapper chain that exists under mobile development) but it's not obvious how to do that yet.
  - Absolute reference to `xcodebuild`.

  Adding this should make it possible for #3629 to work reasonably cleanly.


state: closed
title: A simple ADC downloader for upcoming darwin goodness
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/4327
updated_at: 2014-10-05 06:53:48
body:
  ADC = Apple Developer Connection, where they host all their SDKs and other passworded downloads.

  It assumes `adc_user` and `adc_pass` in `config`. Not sure of the best way to do this sort of thing, but this seems like a decent starting point. We can now use this to stuff xcode and friends into the nix store and package them nicely.

  ~~**Reviewers: please make sure that I'm doing the right things to prevent hydra from caching things downloaded from ADC. I'm setting unfree license on the output, but I'm not sure that's sufficient.**~~


state: closed
title: New util "seturgent" added
user_login: Eternity-Yarr
html_url: https://github.com/NixOS/nixpkgs/pull/4329
updated_at: 2014-09-30 09:07:52
body:
  Kinda useful for dumb applications, like skype, which no can set urgency hints. 
  Nice to have for xmonad, dwm and probably other tiling wms


state: closed
title: floppyd.c fatal error
user_login: qrilka
html_url: https://github.com/NixOS/nixpkgs/issues/4332
updated_at: 2015-07-02 15:33:52
body:
  `floppyd.c` from mtools fails to build. Log could be found at http://lpaste.net/111847 (though it is not a 1st run)
  error message says:

  ```
  floppyd.c:44:22: fatal error: X11/Xlib.h: No such file or directory
  ```

  I build it on Gentoo:

  ```
  qrilka@qdesktop ~ $ uname -a
  Linux qdesktop 3.12.21-gentoo-r1 #1 SMP Mon Sep 22 17:12:35 MSK 2014 x86_64 Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz GenuineIntel GNU/Linux
  ```


state: closed
title: xserver.nix: Drop -logverbose
user_login: the-kenny
html_url: https://github.com/NixOS/nixpkgs/issues/4333
updated_at: 2014-12-22 19:59:14
body:
  `display-manager.unit` spams my journal regularly with many

  ```
  display-manager-start[1846]: GetModeLine - scrn: 0 clock: 75200
  display-manager-start[1846]: GetModeLine - hdsp: 1366 hbeg: 1414 hend: 1478 httl: 1582
  display-manager-start[1846]: vdsp: 768 vbeg: 772 vend: 779 vttl: 792 flags: 9
  ```

  Those seems to be caused by `-logverbose` on `xserverArgs` in `xserver.nix:486`. 

  Is this flag really necessary? It makes reading logs pretty hard, and my `/var/log/X.0.log` has grown to more than 140Mb in the course of two-or-so days.


state: closed
title: tmux: wrapped program to set TERMINFO variable
user_login: k0ral
html_url: https://github.com/NixOS/nixpkgs/pull/4335
updated_at: 2014-10-01 01:13:23
body:
  In my non-NixOS system, tmux is unable to find the terminfo in `~/.nix-profile/share/terminfo`.
  I'm not sure this is the right way to solve this problem, but using `makeWrapper` works.


state: closed
title: Mutiple replaceRuntimeDependencies may reintroduce depenendices
user_login: roconnor
html_url: https://github.com/NixOS/nixpkgs/issues/4336
updated_at: 2016-03-20 23:34:46
body:
  replaceRuntimeDependencies is implemented by doing a fold over the list of runtime dependency replacements.  The issues is that after replacing one depencency, say bash, with an updated version, the next replacement might replace say firefox, with an updated version that depends on the old bash.  This is probably unexpected from the user's perspective and could cause dangerous surprises if a user is using this as a security update mechanism.

  I should say that this is only a theoretical issue; I haven't verified this acutally happens, but I wanted to file an issue before I forget about it.

  One possible solution is to do some sort of topological sort of the list of replacements based on the dependency order of the "new" packages on the "old" packages so that outermost dependencies are replaced first.  But some since "new" packages may have completely different run-time dependencies some though is needed to make sure this works right.

  I think a better solution is to come up with an elegent way of simulateously processing all replacements directly in the replaceDependency code, but I would need to sit down and think about how to do this.


state: closed
title: Isabelle 2014 does not build on Linux
user_login: jwiegley
html_url: https://github.com/NixOS/nixpkgs/issues/4338
updated_at: 2014-10-01 04:17:04
body:
  I'm getting the following from the Isabelle build script on Linux, although it works fine on Darwin:

  ```
  configuring
  no configure script, doing nothing
  building
  ### Cannot execute Poly/ML in 32bit mode (missing shared libraries for C/C++)
  ### Using bulky 64bit version of Poly/ML instead
  /tmp/nix-build-isabelle-2014.drv-0/Isabelle2014/lib/Tools/java: line 6: /tmp/nix-build-isabelle-2014.drv-0/Isabelle2014/contrib/jdk/x86_64-linux/bin/java: No such file or directory
  0:00:00 elapsed time, 0:00:00 cpu time
  builder for `/nix/store/ib72wxfq02kj9zyvar4h1xfigxymm8id-isabelle-2014.drv' failed with exit code 127
  error: build of `/nix/store/ib72wxfq02kj9zyvar4h1xfigxymm8id-isabelle-2014.drv' failed
  ```


state: closed
title: Higan: adding config.higan.{guiToolkit,profile} options
user_login: AndersonTorres
html_url: https://github.com/NixOS/nixpkgs/pull/4340
updated_at: 2015-03-22 18:22:49
body:
  Now we can parametrize Higan locally.
  By default, guiToolkit = "gtk" and profile = "performance" (the accuracy
  profile is seriously slow on my machine :) )


state: closed
title: Sound of Sorting: New Package
user_login: AndersonTorres
html_url: https://github.com/NixOS/nixpkgs/pull/4341
updated_at: 2015-03-22 18:22:51
body:
  Sound of Sorting is an array-sorting visual+sound demo program.
  It shows an array as a list of horizontal bars, and realizes a
  step-by-step sorting of it. Moreover, it colorizes and emits a
  "8-bit-game-like" sound throughout its execution.


state: closed
title: Package Control for Sublime Text 2/3 Requires Symlink
user_login: Havvy
html_url: https://github.com/NixOS/nixpkgs/issues/4343
updated_at: 2016-03-15 14:09:33
body:
  Package Control, a package for installing more packages for Sublime Text 2 and 3 looks for the SSL certificates in a specific place `/etc/ssl/certs/ca-certificates.crt`, whereas in NixOS it's in `/etc/ssl/certs/ca-bundle.crt`. Since many users of Sublime Text 2 and 3 install Package Control, it'd be nice if a proper symlink was put in place when installing either of these packages.


state: closed
title: shellcheck is packaged twice
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/pull/4346
updated_at: 2014-10-03 18:17:16
body:
  @peti 

  In this commit I removed `development/libraries/haskell/ShellCheck` and renamed `haskellPackages.ShellCheck` (in `development/tools/misc/ShellCheck`) to `haskellPackages.shellCheck` (because lower case is more common).

  I know that I should not edit these files manually, but at least, the information is there now. I guess that someone can fix the upstream stuff.


state: closed
title: haskell: network from 2.5.0.0 -> 2.6.0.2
user_login: alexanderkjeldaas
html_url: https://github.com/NixOS/nixpkgs/pull/4348
updated_at: 2014-10-01 21:49:58
body:
  The original comment for choosing to not upgrade to 2.6.0.1 was that the recent version broke HTTP.

  Since this comment was removed when updating 2.6.0.1 -> 2.6.0.2, I don't see any reason not to use the latest version.


state: open
title: Handle large POST requests in fetchgit
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4349
updated_at: 2017-12-24 02:16:45
body:
  See failure in http://hydra.nixos.org/build/14926812/nixlog/1/raw

  Relevant information: https://confluence.atlassian.com/pages/viewpage.action?pageId=301663284


state: closed
title: assimp: initial package expression for version 3.1.1
user_login: ehmry
html_url: https://github.com/NixOS/nixpkgs/pull/4352
updated_at: 2014-10-02 13:37:04
body:
  Open Asset Import Library is a library for importing 3D models in various formats

  It might seem odd to make a PR for just a library, but I'm packaging it for the sake of the Pioneer space sim http://pioneerspacesim.net/. The game is released in form that is intended to be run from a git repo, so I'd like this dependency in nixpkgs and then for now run the game with an env expression that upstream can include in the game's repo.


state: closed
title: nixos: Add option services.cron.cronFiles
user_login: rickynils
html_url: https://github.com/NixOS/nixpkgs/pull/4353
updated_at: 2014-10-28 17:24:55
body:
  This allows you to configure extra files that should be appended to your crontab. Implemented by writing to /etc/crontab when the cron service starts. Would be nicer to use a cron that supports /etc/cron.d but that would require us to patch vixie-cron.


state: closed
title: new: rtorrentGit
user_login: codyopel
html_url: https://github.com/NixOS/nixpkgs/pull/4360
updated_at: 2014-11-03 08:47:32
body:
  Add latest git of libtorrent and rtorrent which contains numerous C++11 changes and configuration syntax changes.  Also adds patch to rtorrent enabling support for colors.

  Updated rTorrent Config File Example:
  https://github.com/codyopel/dotfiles/blob/master/dotfiles/rtorrent.rc

  Color Patch Details:
  https://github.com/Chlorm/chlorm_overlay/blob/master/net-p2p/rtorrent/README.md


state: closed
title: Add Apple command-line tools
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/4365
updated_at: 2014-10-03 16:29:44
body:
  This should add a sensible "SDK" and precompiled command-line tools from ADC, possibly suitable for bootstrapping nix on darwin someday. You'll need to configure an `adc_user` and `adc_pass` to download it. Even if we don't use the binary tools for bootstrapping, having the SDK in the store will be quite valuable when automating calls to `xcodebuild`, which will be necessary for building all sorts of nice packages from opensource.apple.com.

  @shlevy, wanna check it out?


state: closed
title: Bochs: adding configurable options
user_login: AndersonTorres
html_url: https://github.com/NixOS/nixpkgs/pull/4366
updated_at: 2014-10-02 05:55:18
body:
  Now, Bochs expression has a bunch of configurable options!

  Unhappily, it is a big and complex project, and some configure options are in constant clash. But the set created for now is very usable and stable.


state: closed
title: Implement a simple way to hook into local credential stores
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/4367
updated_at: 2016-04-03 04:42:49
body:
  Not sure if this can be done in nixpkgs or has to be in nix, but I recently added a `fetchadc` (#4327) fixed-output function that retrieves files from the Apple official developer download site. To use it, you need to put credentials into your `config` though, and seeing passwords in a cleartext file makes me feel icky. On Mac OS, it's not hard to use the `security` tool (which is bundled with Mac OS but I conveniently also added to nixpkgs recently in #4326) to look up credentials in the systemwide keychain, which doesn't seem bad to use in a fixed-output derivation, but I don't know how best to hook that into a function that someone could call in their `confix.nix`. Whatever it ends up being, I assume something similar could be done on linux.

  This also seems tangentially related to NixOS/nix#329, although I don't envision the credentials ever making it into the store.


state: closed
title: Document GTK3 app dependencies
user_login: VShell
html_url: https://github.com/NixOS/nixpkgs/issues/4369
updated_at: 2018-03-22 17:16:16
body:
  GTK3 apps require at least gnome3.gnome_icon_theme to be installed into either the system, default, or user profile. This should, at the least, be documented somewhere, and potentially should be installed by default in NixOS with X11 enabled, or a wrapper should be created so that all GTK3 apps in nixpkgs are launched with GTK environment variables pointing into this package.

  Where the theme is searched for depends on $XDG_DATA_DIRS.


state: closed
title: Firefox and Chromium "set as default" not including wrapper
user_login: VShell
html_url: https://github.com/NixOS/nixpkgs/issues/4370
updated_at: 2017-03-05 21:54:18
body:
  When "set as default browser" is clicked from within Firefox, it places a custom .desktop file in ~/.local/share/applications, and points to this from mimeapps.list in the same directory. This file launches Firefox without the wrapper when it's opened using xdg-open. The result is that if xdg-open is used when no Firefox window exists, it will be opened without environment variables set correctly, and without plugins.


state: closed
title: new package: pond
user_login: drvirgilio
html_url: https://github.com/NixOS/nixpkgs/pull/4372
updated_at: 2014-11-20 08:51:37
body:
  First stab at building the command line only version of pond. It requires Tor to be running a SOCKS listener at run time.


state: closed
title: PGF: "upgrade" to version 3.00
user_login: AndersonTorres
html_url: https://github.com/NixOS/nixpkgs/pull/4373
updated_at: 2015-03-22 18:22:43
body:
  It is not so properly an update, because the old versions will not be
  obliterated from Nixpkgs. Hello backwards compatibility, my old friend...


state: closed
title: Update dolphinEmuMaster
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/pull/4374
updated_at: 2014-10-07 07:42:00
body:
  The plan at this point is to update dolphinEmuMaster every month in tanden with the latest development report on the dolphin-emu.org blog.


state: closed
title: networking.nameservers input incorrectly processed when 127.0.0.1 is one of the nameservers
user_login: solatis
html_url: https://github.com/NixOS/nixpkgs/issues/4376
updated_at: 2014-11-27 00:51:58
body:
  As soon as you add "127.0.0.1" to your list of networking.nameservers, /etc/resolv.conf seems to be reduced to only 127.0.0.1 as the nameserver. For example,

  `networking.nameservers = [ "8.8.8.8" "8.8.4.4" "127.0.0.1" ];`

  results in a /etc/resolv.conf of

  `nameserver 127.0.0.1`

  while

  `networking.nameservers = [ "8.8.8.8" "8.8.4.4" "1.2.3.4" ];`

  results in a /etc/resolv.conf of 

  `nameserver 8.8.8.8`
  `nameserver 8.8.4.4`
  `nameserver 1.2.3.4`

  I ran into this bug in my specific use case where I sometimes have a local dns server running, and want to use other nameservers as a fallback.

  This bug is confirmed by multiple people in #nixos.


state: closed
title: virt-manager: missing schema 'org.gnome.system.proxy'
user_login: bjornfor
html_url: https://github.com/NixOS/nixpkgs/issues/4377
updated_at: 2014-10-03 14:17:13
body:
  virt-manager quits abruptly with the message `Settings schema 'org.gnome.system.proxy' is not installed` when doing the following:
  1. ssh to a NixOS machine (remember to use X forwarding)
  2. Start virt-manager (with the --debug flag)
  3. Try to open one of the guest consoles (my VMs uses "spice" display, I don't know if that's important)

  Then, virt-manager dies:

  ```
  $ ssh machine1 -X
  $ virt-manager --debug
  [...]
  [Fri, 03 Oct 2014 15:03:47 virt-manager 12481] DEBUG (console:1494) Starting connect process for proto=spice trans=None connhost=127.0.0.1 connuser=None connport=None gaddr=127.0.0.1 gport=5903 gtlsport=None gsocket=None

  (virt-manager:12481): GLib-GIO-ERROR **: Settings schema 'org.gnome.system.proxy' is not installed

  Trace/breakpoint trap
  ```


state: closed
title: fix "Open..." menu items in "deadbeef"
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4378
updated_at: 2014-10-05 18:41:27
body:
  While using GTK3, deadbeef gets SIGTRAP when trying to use "Open" menu items because of "not having any GSettings schemas" on KDE. Workarounded by switching to gtk2; I don't want to introduce another dependency.
  Also updated my e-mail.


state: closed
title: New packages: claws-mail-3.10.1, libetpan-1.5.
user_login: khumba
html_url: https://github.com/NixOS/nixpkgs/pull/4381
updated_at: 2014-11-14 05:55:57
body:
  Adds Nix expressions for claws-mail (http://www.claws-mail.org) and a
  dependency that is not already in the tree, libetpan
  (http://www.etpan.org/libetpan.html).

  The Claws expression has flags for toggling the build of various plugins.


state: closed
title: Clean up command-line tools a bit
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/pull/4382
updated_at: 2014-10-04 19:21:30
body:
  This allows us to use an impure hdiutil, for an upcoming bootstrapped stdenv for darwin!

  There's still a bug in the package unpacking that leads to broken symlinks for framework headers. I'll fix that shortly, but this is valuable independently.


state: closed
title: kde-workspace: Use automatic version
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/pull/4383
updated_at: 2014-10-05 15:10:33
body:
  See https://github.com/NixOS/nixpkgs/pull/4265#discussion_r18430068

  This should work but I didn't test it :grin:


state: closed
title: stumpwm: update and refactoring
user_login: hiberno
html_url: https://github.com/NixOS/nixpkgs/pull/4387
updated_at: 2014-12-01 10:43:56
body:
  This commit updates the stumpwm to version 0.9.8. Futhermore, it
  refactors the expression quite a lot:
  - stumpwm has been moved from lisp modules to window-managers.
  - stumpwm has been added to the window managers NixOS knows about, this
    enables the user to add stumpwm as a default window manager in his
    NixOS configuration like with Xmonad or i3.
  - the package has been split into stumpwm and stumpwmContrib. This is
    due to the fact that development of stumpwm and its extension modules
    has been split into two repositories. As of today, the release is the
    last one before this split. This split into two packages only reflect
    those upcoming upstream changes already.

  It is planned to make the addition of the extension modules voluntarily,
  like with Xmonads option "enableContribAndExtras". Furthermore it might
  be possible to add an option to compile stumpwm with clisp instead of
  sbcl.

  Since I would take over maintainership of this package by this pull request, I would be interested especially in comments of the current maintainer @7c6f434c ;)


state: closed
title: Minecraft sound with Pulseaudio
user_login: aristidb
html_url: https://github.com/NixOS/nixpkgs/pull/4388
updated_at: 2015-02-22 17:12:53
body:
  When using PA, I would get no or choppy sound. Switching to padsp rather than aoss fixes it.

  I was careful not to change the default pulseaudio derivation as not to trigger Chromium rebuilds.

  It would be better if we could get the Minecraft OpenAL to work with PA, but Minecraft supplies its own OpenAL, which we might have to somehow prevent it from doing. Running in padsp is just much easier. :)


state: closed
title: Document `allowUnfreePredicate` in NixPkgs manual
user_login: silverhook
html_url: https://github.com/NixOS/nixpkgs/issues/4389
updated_at: 2015-01-25 20:26:46
body:
  As requested in (and around):

  https://github.com/NixOS/nixpkgs/issues/2188#issuecomment-57944606

  I’m opening a new issue in order for the NixOS manual to be extended to include how `allowUnfree` and `allowUnfreePredicate` should be used.

  Currently the manual only states how to enable `allowUnfree` for all packages, but completely omits the existence of `allowUnfreePredicate`. Adding the latter to the manual, would be very useful for anyone who might want more control over which unfree packages there are on their system and/or NixOS in general.


state: closed
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/4393
updated_at: 2014-10-10 08:49:01
title:
  Gzip and others implicitly rely on xz utility, which is inconsistent with the manual's description of the stdenv

body:
  I checked the manual to see if `xz` is supposed to be in the `stdenv`, and it isn't listed: http://nixos.org/releases/nixpkgs/nixpkgs-14.10pre50084.b360955/manual/#idm140483923405568.

  It looks like this commit added the `xz` dependency: https://github.com/NixOS/nixpkgs/commit/51a6b27cc7bd70819927337e0b5505b446ad19b3#diff-f98fdb70c813cc44cd5600f4a059ee25

  and the `stdenv` seems to go out of its way to make `xz` available: https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/linux/default.nix#L226

  Judging by other packages (libvorbis) using `xz` archives implicitly without depending on them, I'd be inclined to say that this is a problem with the manual, but I'm not sure whether it's just a `stdenv` scope creep.

  I mostly noticed this because I'm making a pure `stdenv` for darwin (yay!) and was surprised to find that I needed `xz` to build `gzip`.


state: closed
title: setup-etc.pl: Fail when symlink/rename fails
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/pull/4394
updated_at: 2015-01-19 11:39:53
body:
  When `atomicSymlink` can't symlink or rename, it should return failure. This is then handled with `... or die` and `... or warn` which currently never get triggered.


state: closed
title: Problems with maven and tomcat
user_login: slomo
html_url: https://github.com/NixOS/nixpkgs/issues/4395
updated_at: 2014-10-26 20:33:55
body:
  I tried to build an environment where maven and tomcat are included. But due to not so elegant builder implementations both packages endup with a /NOTICE and /LICENSE, which results in conflict.

  Here is my nix expression for building the env:

  ```
  { }:

  let
     pkgs = import <nixpkgs> { };
  in
  with pkgs;

  {
     env = buildEnv {
      name = "test";
      paths = [
       maven
       tomcat7
      ];
    };
  }
  ```

  And this is the error occuring:

  ```
  > nix-build 
  these derivations will be built:
    /nix/store/5j05jiqsmphgpwcz5pir1q017wvk31if-test.drv
  building path(s) `/nix/store/zvkg9y358zvlbxdx1c7s70syfjs84kmx-test'
  [pbuilding /nix/store/zvkg9y358zvlbxdx1c7s70syfjs84kmx-test
  collision between `/nix/store/4phfqzyxn0wdb84ydb4y4r8hac65b60a-apache-tomcat-7.0.55/NOTICE' and `/nix/store/c3430dm9wcfhym7jcfc431l061virvsc-apache-maven-3.2.3/NOTICE' at /nix/store/9z6d76pz8rr7gci2n3igh5dqi7ac5xqj-builder.pl line 72.
  [qbuilder for `/nix/store/5j05jiqsmphgpwcz5pir1q017wvk31if-test.drv' failed with exit code 2
  error: build of `/nix/store/5j05jiqsmphgpwcz5pir1q017wvk31if-test.drv' failed
  ```

  My current quick fix is to copy the maven derivation and modifying the builder to remove those files.


state: closed
title: Add release-small to unstable
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/pull/4396
updated_at: 2014-10-20 08:29:05
body:
  cc @edolstra . Same as the 14.04 branch, however I've dropped the removeAttrs of `[ "unstable" ]`, as I didn't find a reason for that.


state: closed
title: zed: upgrade to 1.0 version
user_login: matejc
html_url: https://github.com/NixOS/nixpkgs/pull/4397
updated_at: 2014-12-19 18:03:50
body:
  Has not got a github release of version 1.0 yet, but there is a blog post about it already[1] and I am using it for a week now - works great. There is also only one more ticket to the 1.0 milestone[2] which I think it has not got anything with the code therefore this pull request is valid.

  [1] http://zedapp.org/2014/09/the-changelog-1-0/
  [2] https://github.com/zedapp/zed/milestones/1.0


state: closed
title: Optcomp (and probably other camlp4 users) does not compile with ocaml 4.02
user_login: FlorentBecker
html_url: https://github.com/NixOS/nixpkgs/issues/4398
updated_at: 2016-03-05 18:25:21
body:
  At least the package ocamlPackages.ocaml_optcomp does not compile with ocaml 4.02 . This is due to its build system searching for "-I +camlp4/Camlp4Parsers" ie, camlp4 within the compiler's directory. I'm not sure where in the buildsystem stack it gets generated (optcomp itself, oasis, ocamlbuild, …) and I suspect other packages are affected.


state: closed
title: udisks: update from 1.0.4 to 1.0.5
user_login: aristidb
html_url: https://github.com/NixOS/nixpkgs/pull/4402
updated_at: 2015-02-22 17:12:49
body:
  It builds I can't test it easily, and they seem to have changed some things, so it would be best if somebody who uses udisks1 could test it.


state: closed
title: Separate, auto-updatable branch for unstable releases
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/issues/4404
updated_at: 2015-06-09 09:19:24
body:
  I would like to have separate auto-updatable branch for unstable releases. We would need it for auto updatable docker builds on https://hub.docker.com/. Triggering rebuilds on every commit would be just too much. This would be also very usefull for builds of private projects on private hydra instances.


state: closed
title: proot: User-space implementation of chroot, mount --bind and binfmt_misc
user_login: wavewave
html_url: https://github.com/NixOS/nixpkgs/pull/4406
updated_at: 2014-10-07 12:58:11
body:
  Added a tool `proot`, which is a very useful tool for installing and testing a linux distribution in user space (such as cluster setup). The following is an introduction to PRoot from http://proot.me : 

  PRoot is a user-space implementation of chroot, mount --bind, and binfmt_misc. This means that users don't need any privileges or setup to do things like using an arbitrary directory as the new root filesystem, making files accessible somewhere else in the filesystem hierarchy, or executing programs built for another CPU architecture transparently through QEMU user-mode. Also, developers can use PRoot as a generic Linux process instrumentation engine thanks to its extension mechanism, see CARE for an example. Technically PRoot relies on ptrace, an unprivileged system-call available in every Linux kernel.


state: closed
title: fontconfig: update 2.10.2 -> 2.11.1
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/pull/4410
updated_at: 2014-11-14 15:01:26
body:
  Reference: #2050 
  - Retained fontconfig_210
  - Search for configs under `/etc/fonts/2.11`
  - Use `$fontconfig/etc/fonts.conf` instead of `/etc/fonts/fonts.conf`
  - Move nix profile share/fonts and lib/X11/fonts from nixos to `makeFontsConf`. This allows applications using `makeFontsConf`, nixos and non-nixos to find fonts in the nix profile in all cases.

  **Nixos**
  - `/etc/fonts/2.11/conf.d/00-nixos.conf` is being created with options plus &lt;dir&gt; for each font.
  - For backward-compatibility `/etc/fonts/fonts.conf` is created for fontconfig 2.10.

  **Non-nixos**
  - Applications with fontconfig 2.10 keeps working as they read the system `/etc/fonts/fonts.conf`.
  - Applications with fontconfig 2.11 will have no fonts. Either install some font with nix-env or set `FONTCONFIG_FILE=/etc/fonts/fonts.conf`

  **Tested**
  - NixOS vm with fontconfig 2.11 by default. Was able to run an app with fontconfig 2.10 without any font problem.
  - Non-nixos, just needed to install a random font with nix-env. Also works by setting `FONTCONFIG_FILE=/etc/fonts/fonts.conf`

  **Untested**

  Whether apps with custom `makeFontsConf` work properly. I see no reason for which they shouldn't.


state: closed
title: Clang wrapper depends unnecessarily on gcc
user_login: copumpkin
html_url: https://github.com/NixOS/nixpkgs/issues/4411
updated_at: 2018-06-23 19:10:41
body:
  In its builder, there's a command saying "Need libgcc until the llvm compiler-rt library is complete". It's from @shlevy in 2011, so I'm inclined to think it's out of date and that the dependency on gcc is spurious. Is that true?


state: closed
title: Activation via systemd failed for unit 'dbus-org.freedesktop.hostname1.service'
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/4413
updated_at: 2015-06-18 06:14:08
body:
  ``` journalctl
  Oct 07 17:48:51 luz3 dbus[1485]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
  Oct 07 17:48:51 luz3 dbus[1485]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.hostname1.service': Unit dbus-org.freedesktop.hostname1.service failed to load: No such file or directory.
  ```


state: open
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/4414
updated_at: 2018-06-23 18:21:35
title:
  libdbus calls the wrong dbus-launch binary (was gnome-keyring-daemon[1898]: couldn't connect to dbus session bus)

body:
  ``` journalctl
  Oct 07 17:48:26 luz3 gnome-keyring-daemon[1898]: couldn't connect to dbus session bus: /nix/store/rz76dzpmrnh36dm1brdanfmyx6j02k1y-dbus-libs-1.8.6/bin/dbus-launch terminated abnormally without any error message
  ```

  @lethalman is that something you've heard about?


state: closed
title: Using the 'memory' GSettings backend
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/4415
updated_at: 2017-04-04 14:16:03
body:
  This output in journalctl is looking very suspicious (according to someone on #gnome):

  ``` journalctl
  Oct 07 12:23:40 luz3 gnome-session[1765]: GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
  ```


state: closed
title: When closing the lid, the laptop does not suspend
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/4416
updated_at: 2015-04-09 20:18:39
body:
  From someone on #gnome, "gnome 3.10 handles the lid itself, but 3.12 depends on logind to do so."

  It looks like `displayManager.desktopManagerHandlesLidAndPower` needs to be disabled because it conflicts with how gnome 3.12 handles lid.

  ``` bash
  $ systemd-inhibit 
       Who: /nix/store/i83rbnyxrby58pk9n1lq59w5yl2yrhzb-xsession gnome3 (UID 1000/cassou, PID 1902/systemd-inhibit)
      What: handle-power-key:handle-lid-switch
       Why: Unknown reason
      Mode: block
  ```


state: closed
title: Fix a silly mistake in the chocolateDoom packages, and bump master
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/pull/4422
updated_at: 2014-10-22 07:00:24
body:
  master was bumped because a few critical bugs were found in the chocolate-strife netcode (and were subsequently fixed). Still pestering upstream for a new release :P


state: closed
title: glibcLocales: cleaner environment handling
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/pull/4425
updated_at: 2015-01-21 09:48:43
body:
  - make pkgs attribute null on unsupported Darwin platform
  - add setup hook to provide much-duplicated environment variable

  There are still some locations where LOCALE_ARCHIVE is set manually, these are special cases not using the default builder.

  This is needed to be able to install nixops on Darwin.

  @edolstra @joelteon @copumpkin ? Note that this is a PR for the darwin-clang-stdenv branch.


state: closed
title: Policy on separators in file names in nixpkgs
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4427
updated_at: 2014-10-08 18:16:57
body:
  This is separate issue for my question in #4145. While looking through various parts of nixpkgs, I've noticed that in some places variables in shell are not quoted (which would break when working with spaces, '\n's and stuff) and somewhere they are. I've never seen an explicit statement on whether nixpkgs should support files with spaces in libraries and other places. So, what's our position on this?


state: closed
title: pkg: Elixir -> "invalid token: ${PATH:+:}$PATH"
user_login: sjmackenzie
html_url: https://github.com/NixOS/nixpkgs/issues/4429
updated_at: 2014-11-07 02:54:34
body:
  ### Steps to recreate:
  - setup the phoenix framework (https://github.com/phoenixframework/phoenix)
  - follow steps 1, 2 and 3
  ### What should happen:
  - execute phoenix on BEAM without thrown exceptions and including all dependencies.
  ### What happens:
  - The below is the command that throws an exception as part of phoenix's `./run.sh`

  ```

  elixirEnv:[stewart@rivergod:~/dev/elx]$ echo $PATH
  /nix/store/7hcb4lvz1z239zz4crxiy87b3hh2wy4i-emacs-24.3/bin:/nix/store/rlh7fhvy1dgvqp9lzgzcaxlg9ixyhwrh-git-2.1.0/bin:/nix/store/a9caff15cg8ywvg9pz6np7dhn4gc7ksc-elixir-1.0.0/bin:/nix/store/6qq1mzzrinsc8zlk02x0scmfi9aw3shr-tig-2.0.3/bin:/nix/store/g3gxsxv3xiki0lvviy4xqjx7ikh3nwrc-erlang-17.3/bin:/nix/store/mjsqkc0ghy7z3ji5mafnkdsdaq091vn4-rebar-2.5.1/bin:/nix/store/pbbk4wljfr1dlkck11k8aj8p8glw2c3g-riak-1.3.1/bin:/nix/store/jcn39bfa9m93zai66mb1jg1ns4cazxds-wget-1.15/bin:/nix/store/d69sq8diy1xalns2p5g0ygwy1kkfsmxw-gcc-wrapper-4.8.3/bin:/nix/store/mbq4nwsyjf3wpj00pxls75pikczizs16-coreutils-8.21/bin:/nix/store/0x2125kmj8b4mf9hzqpx39m0w8jjgy1i-findutils-4.4.2/bin:/nix/store/hpnr7bmm53ra23xl8q7735f3xnkgjnmr-diffutils-3.3/bin:/nix/store/pq0kvrsqsr1kfxmyx82yv4nfj3hk7hr0-gnused-4.2.2/bin:/nix/store/wy6rp99f93j720ara5j40gzf6vwprw78-gnugrep-2.14/bin:/nix/store/iz8jfz2x387pj57xfd8b463jhjbrx2w4-gawk-4.1.0/bin:/nix/store/vjkl65bpzl39nfskl31x43x4bwipfqg3-gnutar-1.27.1/bin:/nix/store/p0z2yw63cqwv0ics21s70ys4lc75swin-gzip-1.6/bin:/nix/store/qcpcs24jzqa0v7ks06f7289mx3ghsly8-bzip2-1.0.6/bin:/nix/store/y9sif6rflwy4djfn3g66iih7cymr45sg-gnumake-3.82/bin:/nix/store/s4y96bp8xzjmlgwqqkmkgh0q9s7khdqb-bash-4.2-p50/bin:/nix/store/0mbdmymwvs4i04wvhd4plz51is4f1qbp-patch-2.7.1/bin:/nix/store/lla8bj7kp6v306hi8rykmgxzrk9ld6cs-xz-5.0.5/bin:/nix/store/n2zcibvfxg6k2wpiipd8bzmc46q0vjy6-gcc-4.8.3/bin:/nix/store/ycmsiznf2484vbjwmj57jdy2ncyrj7fj-binutils-2.23.1/bin:/nix/store/i11d0d4015p0vbdnjq7lb509v9pwp049-glibc-2.19/bin:/nix/store/mbq4nwsyjf3wpj00pxls75pikczizs16-coreutils-8.21/bin:/nix/store/39617251zn6r61lx80175yghhagmvi4z-kde-workspace-4.11.6/bin:/home/stewart/bin:/var/setuid-wrappers:/home/stewart/.nix-profile/bin:/home/stewart/.nix-profile/sbin:/home/stewart/.nix-profile/lib/kde4/libexec:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/nix/var/nix/profiles/default/lib/kde4/libexec:/run/current-system/sw/bin:/run/current-system/sw/sbin:/run/current-system/sw/lib/kde4/libexec

  elixirEnv:[stewart@rivergod:~/dev/elx]$ cat /nix/store/a9caff15cg8ywvg9pz6np7dhn4gc7ksc-elixir-1.0.0/bin/mix 
  #! /nix/store/s4y96bp8xzjmlgwqqkmkgh0q9s7khdqb-bash-4.2-p50/bin/bash -e
  export PATH=/nix/store/g3gxsxv3xiki0lvviy4xqjx7ikh3nwrc-erlang-17.3/bin:/nix/store/mbq4nwsyjf3wpj00pxls75pikczizs16-coreutils-8.21/bin${PATH:+:}$PATH
  exec /nix/store/a9caff15cg8ywvg9pz6np7dhn4gc7ksc-elixir-1.0.0/bin/.mix-wrapped "${extraFlagsArray[@]}" "$@"

  elixirEnv:[stewart@rivergod:~/chaatz/elx]$ cat /nix/store/a9caff15cg8ywvg9pz6np7dhn4gc7ksc-elixir-1.0.0/bin/.mix-wrapped 
  #!/usr/bin/env elixir
  # Reminder: apply any changes in this file to bin\mix.bat
  Mix.start
  Mix.CLI.main

  elixirEnv:[stewart@rivergod:~/dev/elx]$ cat run.sh 
  #!/bin/bash

  MIX_ENV=prod mix compile.protocols
  MIX_ENV=prod PORT=4001 elixir -pa _build/prod/consolidated -S mix phoenix.start

  elixirEnv:[stewart@rivergod:~/dev/elx]$ ./run.sh 
  Consolidated Poison.Decoder
  Consolidated Poison.Encoder
  Consolidated Plug.Exception
  Consolidated Phoenix.Html.Safe
  Consolidated Range.Iterator
  Consolidated Access
  Consolidated Collectable
  Consolidated List.Chars
  Consolidated String.Chars
  Consolidated Inspect
  Consolidated Enumerable
  Consolidated protocols written to _build/prod/consolidated
  ** (SyntaxError) /nix/store/a9caff15cg8ywvg9pz6np7dhn4gc7ksc-elixir-1.0.0/bin/mix:2: invalid token: ${PATH:+:}$PATH
      (elixir) lib/code.ex:316: Code.require_file/2

  ```

  The exception is thrown from this line of code: https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/code.ex#L316

  Possible useful dialogue could be here: https://github.com/elixir-lang/elixir/issues/2811
  ### Versions:

  OS: NixOS
  Erlang: 17
  Elixir: 1.0.0


state: closed
title: Add mayavi Python package and its dependencies.
user_login: christopherpoole
html_url: https://github.com/NixOS/nixpkgs/pull/4430
updated_at: 2015-11-21 11:39:37
body:
  Included is a modification to the VTK build expression which optionally enables wrapping Python. Additionally this fixes problems previously present which prevented the building of shared libraries for VTK.


state: closed
title: Add infrastruture: vimProfile
user_login: ts468
html_url: https://github.com/NixOS/nixpkgs/pull/4432
updated_at: 2014-10-12 16:44:06
body:
  The PR was superseded by https://github.com/NixOS/nixpkgs/pull/4493

  ---

  VimProfile allows to wrap vim with different configurations.
  A configuration is composed by enabling and customizing pre-defined modules.
  A module is a set of vim plugins and vimrc statements that are tightly linked.
  Configurations are hierarchical and can inherit from each other.
  The base of each hierarchy of configurations is a distingued default configuration.
  Enabled vim configurations appear as normal package in nix, and have to be
  installed accordingly.

  The vimProfiles are declared either for system wide installations in
  /etc/nixos/configuration.nix, or for each user in ~/.nixuser/configuration.nix.

  An example for a vim configuration, here the content of ~/.nixuser/configuration.nix:

  { config, pkgs, ... }:
  with pkgs;
  {
    programs.vim =
      { enable = true;
        leader = " ";
        general.enable = true;
        statusline.enable = true;
        profiles =
          {  # Haskell configuration
            hvim =
              { enable = true;
                exec = { package = pkgs.vim_configurable; bin = "bin/vim"; };
                search.enable = true;
                # leader can be overwritten independently for each module
                search.leader = "|";
                text.enable = true;
                sidebar.enable = true;
                # overwrite default key binding
                sidebar.toggleUndo = "<Leader>uu";
                completion.enable = true;
                haskell.enable = true;
              };
            # graphical Haskell configuration
            hqvim =
              { enable = true;
                # set the name to call the wrapped vim
                name = "Hvim";
                parent = "hvim";
                exec = { package = pkgs.qvim; bin = "bin/qvim"; };
                # just as an example that inherited modules can also be disabled
                search.enable = false;
              };
            # same configuration as for default, but with qvim
            qvim =
              { # don't make that profile installable
                enable = false;
                exec = { package = pkgs.qvim; bin = "bin/qvim"; };
                # if no name attribute is given, the attribute name
                # of the configuration is taken: "qvim"
              };
            # alias declaration for qvim
            gvim =
              { enable = true;
                # inherit from a configuration by its attribute name
                # you can inherit from a disabled configuration as well
                parent = "qvim";
                # add statement to the generated vimrc; it is inserted
                # before any module statement
                vimrc = ''
                  " Leader key timeout
                  set tm=2000
                  '';
              };
          };
      };
  }

  The declaration above defines the following packages in nix:
  "vimProfile.hvim", "vimProfile.hqvim" and "vimProfile.gvim".
  When the default profile is enabled, it is automatically installed with
  the package "vim".
  An un-wrapped vim package is always available with "vimPlain".

  ---

  Internals of the implementation:

  A new file "nixos/modules/nixuser-module-list.nix" is added.
  The file lists modules that are made available both for system configuration
  and for user configuration.
  The file is imported by "nixos/modules/module-list.nix" and is used in
  "pkgs/top-level/all-packages.nix".

  A new user specific configuration file is introduced.
  It is located in "~/.nixuser/configuration.nix".
  The idea is to have a declarative approach for defining the user environment
  at some point. The configuration file acts as the input of a module evaluation
  system, similar to "/etc/nixos/configuration.nix" for the NixOS configuration.

  The configuration modules provided with vimProfile reduce to "nixpkgs.config"
  attributes, which are added to the configuration of "~/.nixpkgs/config.nix".


state: closed
title: Switch to kde 4.14 and remove 4.12
user_login: madjar
html_url: https://github.com/NixOS/nixpkgs/pull/4436
updated_at: 2014-10-09 19:42:54
body:
  This sets kde 4.14 as the default kde and removes kde 4.12.

  It also removes the package akunambol, which isn't compatible with 4.14, and doesn't seem to be maintained any more.

  I've been using 4.14 for a few days, and haven't encountered any problem. All packages that depend on kde have been checked with nox-review, and every one of them build, though I haven't ran them all.

  Is there any more worked planned on 4.14 before we make it default?

  @iElectric @vcunat @ttuegel 


state: closed
title: nix-channel --add accepts arguments in wrong order
user_login: dmgroenewegen
html_url: https://github.com/NixOS/nixpkgs/issues/4437
updated_at: 2014-10-11 09:56:56
body:
  Accidentally tried to add a channel as it was shown by --list, this should probably not be allowed.

  $ nix-channel --list
  nixos http://nixos.org/channels/nixos-14.04

  $ nix-channel --add nixos http://nixos.org/channels/nixos-14.04

  $ nix-channel --list
  http://nixos.org/channels/nixos-14.04 nixos
  nixos http://nixos.org/channels/nixos-14.04


state: closed
title: git: Provide GIT_SSL_CAINFO if missing
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/pull/4440
updated_at: 2014-11-17 08:13:46
body:
  This wraps the git components that depend on cacert, and sets `$GIT_SSL_CAINFO` to `$SSL_CERT_FILE` if it is set.

  This way, git installed outside of NixOS also has access to the CA certs, and there's only one environment variable needed in NixOS.


state: closed
title: sysstat FTBFS on linux (non-nixos) hosts
user_login: ip1981
html_url: https://github.com/NixOS/nixpkgs/issues/4441
updated_at: 2014-10-10 15:43:24
body:
  I failed to deploy from the Debian host due to this error:

  ```
  ...
  elif [ -d /etc ]; then \
     install -m 755 sysstat /etc/rc.sysstat; \
     if [ -x /no-such-program ]; then \
        cd /etc && /no-such-program --add sysstat; \
     else \
        [ -d /etc/rc2.d ] || mkdir -p /etc/rc2.d; \
        [ -d /etc/rc3.d ] || mkdir -p /etc/rc3.d; \
        [ -d /etc/rc5.d ] || mkdir -p /etc/rc5.d; \
        cd /etc/rc2.d && ln -s -f ../rc.sysstat S01sysstat; \
        cd /etc/rc3.d && ln -s -f ../rc.sysstat S01sysstat; \
        cd /etc/rc5.d && ln -s -f ../rc.sysstat S01sysstat; \
     fi \
  fi
  if [ -x /bin/systemctl ]; then \
      /bin/systemctl enable sysstat.service; \
  fi
  Failed to issue method call: Access denied
  make: *** [install_all] Error 1
  builder for ‘/nix/store/k7iwwiiy3qq2prqvqqdfc5r96nxigcap-sysstat-11.0.1.drv’ failed with exit code 2
  ```


state: closed
title: Document release process for NixOS
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4442
updated_at: 2016-10-07 07:51:26
body:
  In order to be better organized and ready for release, we should document what needs to be done before the release together with an informative schedule.
  # A month before the release
  - send a warning email to nix-dev and talk to Eelco/others what should be part of the release.
  # At branch off time
  - Rename `rl-unstable.xml` -> `rl-1509.xml`
  - create the branch
  - `git tag -a -m "Release 15.09-beta" 15.09-branch-off && git push --tags`
    - Note: the the commit that should be tagged: `git merge-base master release-15.09`.
  - hard lock the branch on github (so people can't force push)
  - bump `system.defaultChannel` attribute in `nixos/modules/misc/version.nix`, see https://github.com/NixOS/nixpkgs/compare/bdf161ed8d21...6b63c4616790
  - update `versionSuffix` in `nixos/release.nix`, see https://github.com/NixOS/nixpkgs/compare/bdf161ed8d21...6b63c4616790 (`git log --format=%an|wc -l` to get commit count)
  - `echo -n "16.09" > .version` in master
  - pick a new name for unstable branch, see https://github.com/NixOS/nixpkgs/commit/b8a4095003e27659092892a4708bb3698231a842
  - Create an issue for tracking ZHF progress
  - check http://monitor.nixos.org/vulnerable for vulnerable packages
  - create two Hydra jobsets (release and release-small)
  # Before release
  - generate nixops images for this release (EC2/GCE/VB)
  - release nixops (currently only Rob can do that)
  - release nix (currently only Eelco can do that), make sure fallback is updated https://github.com/NixOS/nixpkgs/commit/53710c752a85f00658882531bc90a23a3d1287e4
  - edit changelog at `nixos/doc/manual/release-notes/rl-1509.xml` (double check desktop versions are noted)
    - get all new NixOS modules `git di release-14.12..release-15.09 nixos/modules/module-list.nix|grep ^+`
    - note systemd and Nix updates
  # At release time
  - `git tag -s -a -m "Release 15.09" 15.09`
  - update https://nixos.org/wiki/Template:Nixos_stable_channel
  - update http://nixos.org/nixos/download.html
  - update http://nixos.org/nixos/manual/
  - Get number of commits for the release: `git log release-14.04..release-14.12 --format=%an|wc -l`
  - Commits by contributor: `git log release-14.04..release-14.12 --format=%an|sort|uniq -c|sort -rn`


state: closed
title: Replaced retroarchBare with retroarchBareMaster, added a few new cores
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/pull/4448
updated_at: 2014-10-22 07:00:49
body:
  retroarchBare was too old for any practical use at this point, so it was removed in favor
  of fetching releases from git. RetroArch often recommends checking out the latest git master
  if you are on a desktop platform, so we are conforming with their recommendation. I plan on
  bumping the git of retroarch and each core every month, and I plan on adding more libretro
  cores in the future.

  The libretro cores that were added are nestopia, quicknes, snes9x, and vba-m

  planned next are : bsnes-accuracy, bsnes-balanced, bsnes-performance, a few libretro mame ports


state: closed
title: arduino-core: bump version from 1.0.2 to 1.0.6
user_login: robberer
html_url: https://github.com/NixOS/nixpkgs/pull/4449
updated_at: 2014-10-12 11:43:16
body:
  - replace fetchurl with fetchgit because googlecode is unmaintained
  - remove unnecessary phases
  - change license and maintainers
  - tested with a few sketches and inotool


state: closed
title: akonadi_folderarchive_agent is not found in kdepim
user_login: vandenoever
html_url: https://github.com/NixOS/nixpkgs/issues/4451
updated_at: 2016-12-15 21:22:16
body:
  /share/akonadi/agents/folderarchiveagent.desktop exists and points to akonadi_folderarchive_agent
  Because akonadi_folderarchive_agent cannot be found, kmail will block the ui with a message that says that akonadi is not optional. The details dialog says 'no resource agents found' and the $HOME/.local/share/akonadi/akonadi_control.error says 'Executable "akonadi_folderarchive_agent" for agent "akonadi_folderarchive_agent" could not be found!'.

  This is an issue for current master (kde 4.14.1).


state: closed
title: pip fails to install distribute inside virtualenv
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/issues/4452
updated_at: 2014-10-11 11:15:22
body:
  Working on a project with a fairly outdated `requirements.txt` file. So I need to install `distribute` in a specific version (0.6.32). Here is the output:

  ```
  Downloading/unpacking distribute==0.6.32
    Downloading distribute-0.6.32.tar.gz (643kB): 643kB downloaded
    Running setup.py (path:/home/jascha/.virtualenvs/distribute-test/build/distribute/setup.py) egg_info for package distribute

  Installing collected packages: distribute
    Found existing installation: distribute 0.7.3
      Uninstalling distribute:
        Successfully uninstalled distribute
    Running setup.py install for distribute
      Before install bootstrap.
      Scanning installed packages
      Setuptools installation detected at /nix/store/4llbnah80adcgsv7andsajm4dp3fr1q4-python2.7-setuptools-5.8/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg
      Egg installation
      Patching...
      Renaming /nix/store/4llbnah80adcgsv7andsajm4dp3fr1q4-python2.7-setuptools-5.8/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg to /nix/store/4llbnah80adcgsv7andsajm4dp3fr1q4-python2.7-setuptools-5.8/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg.OLD.1412932380.74
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/home/jascha/.virtualenvs/distribute-test/build/distribute/setup.py", line 136, in <module>
          _before_install()
        File "distribute_setup.py", line 371, in _before_install
          _fake_setuptools()
        File "distribute_setup.py", line 440, in _fake_setuptools
          res = _patch_egg_dir(setuptools_location)
        File "distribute_setup.py", line 231, in __no_sandbox
          return function(*args, **kw)
        File "distribute_setup.py", line 355, in _patch_egg_dir
          _rename_path(path)
        File "distribute_setup.py", line 266, in _rename_path
          os.rename(path, new_name)
      OSError: [Errno 30] Read-only file system
      Complete output from command /home/jascha/.virtualenvs/distribute-test/bin/python2.7 -c "import setuptools, tokenize;__file__='/home/jascha/.virtualenvs/distribute-test/build/distribute/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nu7OPy-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jascha/.virtualenvs/distribute-test/include/site/python2.7:
      Before install bootstrap.

  Scanning installed packages

  Setuptools installation detected at /nix/store/4llbnah80adcgsv7andsajm4dp3fr1q4-python2.7-setuptools-5.8/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg

  Egg installation

  Patching...

  Renaming /nix/store/4llbnah80adcgsv7andsajm4dp3fr1q4-python2.7-setuptools-5.8/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg to /nix/store/4llbnah80adcgsv7andsajm4dp3fr1q4-python2.7-setuptools-5.8/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg.OLD.1412932380.74

  Traceback (most recent call last):

    File "<string>", line 1, in <module>

    File "/home/jascha/.virtualenvs/distribute-test/build/distribute/setup.py", line 136, in <module>

      _before_install()

    File "distribute_setup.py", line 371, in _before_install

      _fake_setuptools()

    File "distribute_setup.py", line 440, in _fake_setuptools

      res = _patch_egg_dir(setuptools_location)

    File "distribute_setup.py", line 231, in __no_sandbox

      return function(*args, **kw)

    File "distribute_setup.py", line 355, in _patch_egg_dir

      _rename_path(path)

    File "distribute_setup.py", line 266, in _rename_path

      os.rename(path, new_name)

  OSError: [Errno 30] Read-only file system

  ----------------------------------------
    Rolling back uninstall of distribute
  Cleaning up...
  Command /home/jascha/.virtualenvs/distribute-test/bin/python2.7 -c "import setuptools, tokenize;__file__='/home/jascha/.virtualenvs/distribute-test/build/distribute/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-nu7OPy-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jascha/.virtualenvs/distribute-test/include/site/python2.7 failed with error code 1 in /home/jascha/.virtualenvs/distribute-test/build/distribute
  Storing debug log for failure in /home/jascha/.pip/pip.log
  ```

  Steps to reproduce:

  ```
  nix-shell -p pythonPackages.virtualenvwrapper
  . virtualenvwrapper.sh && mkvirtualenv distribute-test
  pip install distribute==0.6.32
  ```

  The installation works on my debian machine. The reason might be that pip finds distribute/setuptools in the "global" namespace and not inside virtualenv.

  ```
  python -c "import setuptools; print(setuptools.__file__)"
  /nix/store/4llbnah80adcgsv7andsajm4dp3fr1q4-python2.7-setuptools-5.8/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/setuptools/__init__.pyc
  ```

  same command on my debian machine ponts to `/home/jascha/.virtualenvs/distribute-test/lib/python2.7/site-packages/...`

  Any ideas? Is this related to #66, #2412 or #2411?


state: closed
title: Use "pipefail" in setup.sh
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4453
updated_at: 2014-10-10 12:15:09
body:
  Instead of checking if patches exist (and to possibly prevent such bugs in future) we can just enable pipefail for the whole script. I've looked through it and I think that nothing should break (we don't have possibly failing pipes besides patch uncompressing one). cc @edolstra , #4445


state: closed
title: kde-frameworks-5.3.0 / plasma-5.0.2
user_login: ttuegel
html_url: https://github.com/NixOS/nixpkgs/pull/4459
updated_at: 2014-11-08 20:36:20
body:
  Do not pull this! It is a work in progress, I will pull it myself when it's ready!

  I'm creating this work-in-progress pull request to advertise my work packaging kde-frameworks and plasma using my tool, [kde2nix](https://github.com/ttuegel/kde2nix). I would also like feedback from interested parties as the packages take shape. People I think might be interested in KDE: @iElectric @vcunat @madjar.

  The vast majority of the Nix code here is autogenerated by kde2nix. There is a small library of Nix code to process the package manifests generated by kde2nix into usable expressions. Dependencies are detected almost entirely automatically. Right now, most of kde-frameworks builds, but there are a few missing dependencies that I need to insert.

  At this time, kde2nix detects dependencies by reading `CMakeLists.txt`, but there is no reason it needs to remain cmake-only. Long term, I would like to see it become a more general tool for auto-generating Nix expressions. But, one problem at a time!

  TODO list:
  - Missing dependencies
  - Detect package licenses automatically
  - Package plasma5

  Feedback most definitely welcome!


state: closed
title: ocaml 4.02: makes dependency to campl4 explicit
user_login: vbgl
html_url: https://github.com/NixOS/nixpkgs/pull/4463
updated_at: 2014-11-03 23:07:01
body:
  From version 4.02 of OCaml, camlp4 is now packaged separately. Some packages have then an extra dependency.


state: closed
title: `steam` is broken
user_login: ocharles
html_url: https://github.com/NixOS/nixpkgs/issues/4466
updated_at: 2017-12-24 00:39:36
body:
  ```
  ollie@nixos ~> nix-env -I /home/ollie -i steam
  replacing old ‘steam-1.0.0.42’
  installing ‘steam-1.0.0.42’
  ollie@nixos ~> ls -l (which steam)
  lrwxrwxrwx 2 root nixbld 68 Jan  1  1970 /home/ollie/.nix-profile/bin/steam -> /nix/store/qjf4y8q03xv3sgvvrq03g2vvyrqfav2q-steam-1.0.0.42/bin/steam*
  ollie@nixos ~> cd nixpkgs
  ollie@nixos ~/nixpkgs> git rev-parse HEAD
  8cc3460a879ac0f6b9d07fcce42cd0277cab8507
  ollie@nixos ~/nixpkgs> steam
  Setting up Steam content in /home/ollie/.local/share/Steam
  tar (child): /usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz: Cannot open: No such file or directory
  tar (child): Error is not recoverable: exiting now
  tar: Child returned status 2
  tar: Error is not recoverable: exiting now
  Failed to extract /usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz, aborting installation.
  ```


state: closed
title: libgdiplus fails to build
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/issues/4469
updated_at: 2014-10-11 10:17:20
body:
  gifcodec.c: In function 'gdip_load_gif_image':
  gifcodec.c:593:2: error: too few arguments to function 'DGifCloseFile'
    DGifCloseFile (gif);
    ^
  In file included from gifcodec.c:38:0:
  /nix/store/n8miwfk98rr6pkslvxmbp8fdnjbbh574-giflib-5.1.0/include/gif_lib.h:183:9: note: declared here
       int DGifCloseFile(GifFileType \* GifFile, int _ErrorCode);
           ^
  gifcodec.c:609:3: error: too few arguments to function 'DGifCloseFile'
     DGifCloseFile (gif);
     ^
  In file included from gifcodec.c:38:0:
  /nix/store/n8miwfk98rr6pkslvxmbp8fdnjbbh574-giflib-5.1.0/include/gif_lib.h:183:9: note: declared here
       int DGifCloseFile(GifFileType \* GifFile, int *ErrorCode);
           ^
  gifcodec.c: In function 'gdip_save_gif_image':
  gifcodec.c:953:2: error: too few arguments to function 'EGifCloseFile'
    EGifCloseFile (fp); 
    ^
  In file included from gifcodec.c:38:0:
  /nix/store/n8miwfk98rr6pkslvxmbp8fdnjbbh574-giflib-5.1.0/include/gif_lib.h:132:5: note: declared here
   int EGifCloseFile(GifFileType *GifFile, int *ErrorCode);
       ^
  make[2]: *_\* [gifcodec.lo] Error 1
  make[2]: Leaving directory `/tmp/nix-build-libgdiplus-2.10.9.drv-0/libgdiplus-2.10.9/src'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory`/tmp/nix-build-libgdiplus-2.10.9.drv-0/libgdiplus-2.10.9'
  make: **\* [all] Error 2
  builder for `/nix/store/b49bkbl0w9pffjlp9jw9ib4di0cpw6zq-libgdiplus-2.10.9.drv' failed with exit code 2


state: closed
title: Xmobar 0.22
user_login: aristidb
html_url: https://github.com/NixOS/nixpkgs/pull/4473
updated_at: 2014-12-03 13:37:34
body:
  Requires mtl 2.2, so I moved it to all-packages and gave it that... Also disabled testing because doctest (used by distributive) uses the GHC API.

  Is there a better way?

  CC @peti @rejuvyesh


state: closed
title: Firefox not fit for use
user_login: aragnon
html_url: https://github.com/NixOS/nixpkgs/issues/4474
updated_at: 2014-11-24 20:08:10
body:
  [12318] ###!!! ABORT: Aborting on channel error.: file /tmp/nix-build-firefox-32.0.3.drv-0/mozilla-release/ipc/glue/MessageChannel.cpp, line 1532
  [12318] ###!!! ABORT: Aborting on channel error.: file /tmp/nix-build-firefox-32.0.3.drv-0/mozilla-release/ipc/glue/MessageChannel.cpp, line 1532
  zsh: segmentation fault (core dumped)  ./firefox

  It is this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1051567


state: closed
title: Generalize GHC to haskellCompiler in the Haskell infrastrucutre of Nix.
user_login: ts468
html_url: https://github.com/NixOS/nixpkgs/pull/4476
updated_at: 2015-01-18 13:16:12
body:
  That PR generalizes the Haskell infrastructure in Nix from GHC to any haskellCompiler. It does not trigger any actual changes to the packages or derivations in Nix. It only provides hooks that different compiler can fill with their specific functions.


state: closed
title: Update Pure to 0.62 and fix propagatedBuildInputs
user_login: asppsa
html_url: https://github.com/NixOS/nixpkgs/pull/4486
updated_at: 2014-10-14 10:54:38
body:
  This also changes from `builderDefsPackage` to `mkDerivation`, which I understand from the mailing list is preferred.


state: closed
title: gnome-shell-pomodoro-0.10.2-11-gd5f5b69.tar.gz has wrong hash
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4487
updated_at: 2014-10-22 15:21:28
body:
  ```
  gnome-shell-pomodoro-0.10.2-11-gd5f5b69.tar.gz' should have sha256 hash `042da01kcx245lrg9kd9laa8hpvq19c1xwidbikm56pnaqzj11kc', instead has `124ri5653sw56mx23lx4y6piwyh4dqsxyvjqi8gr61g891aayq27'
  ```

  Exposed by https://travis-ci.org/NixOS/nixpkgs/builds/37733252

  cc @DamienCassou


state: closed
title: Get rid of md5 support for fixed-output derivations
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4491
updated_at: 2017-05-12 15:06:58
body:
  We're in 2014 and even universities have a course where students forge md5 hashes of files.

  Biggest usage of md5 hashes in nixpkgs is python, followed by libreoffice (scripted install).

  ```
  $ git grep "md5 ="|grep -v libreoffice | grep -v python-|grep -v redhat|grep -v suse|wc -l                                                                                                        
  141

  $ git grep "md5 =" pkgs/top-level/python-packages.nix | wc -l
  273
  ```

  Observations:

  _nix-prefetch- should print out multiple hashes together with fetch functions supporting and verifying all of specified hashes_ 

  Q/A:

  _it is considered best practice to use it when that's what upstream provides_

  That's a very bad security practice. It trades user security for few seconds of maintainer time.

  TODO
  - [x] libreoffice uses md5 during generation
  - [x] `pkgs/games/steam/runtime-generated.nix` uses md5 during generation
  - [x] 91 other derivations
  - [x] deprecate md5 support
  - [ ] revert https://github.com/NixOS/nixpkgs/commit/2ca883338389b7ab995924a0cab0211993bdf1da


state: closed
title: Make nix-modules available when defining user environments.
user_login: ts468
html_url: https://github.com/NixOS/nixpkgs/pull/4493
updated_at: 2015-08-14 12:43:43
body:
  A new user specific configuration file is introduced.
  It is located in "~/.nixuser/configuration.nix".
  The idea is to have a declarative approach for defining the user environment
  at some point. The configuration file acts as the input of a module evaluation
  system, similar to "/etc/nixos/configuration.nix" for the NixOS configuration.

  A new file "nixos/modules/nixuser-module-list.nix" is added.
  The file lists modules that are made available both for system configuration
  and for user configuration.
  The file is imported by "nixos/modules/module-list.nix" and is used in
  "pkgs/top-level/all-packages.nix".


state: closed
title: PR 4493 with a specific use case
user_login: ts468
html_url: https://github.com/NixOS/nixpkgs/pull/4496
updated_at: 2014-10-12 13:58:50
body:
  https://github.com/NixOS/nixpkgs/pull/4493 together with a vimProfile configuration as a specific use case


state: closed
title: vim: add plugins
user_login: jagajaga
html_url: https://github.com/NixOS/nixpkgs/pull/4499
updated_at: 2014-10-21 14:22:12
body:
  Add some plugins by the tool I've created.
  https://gist.github.com/3c7ba009ee6756e12978 (updated vim2nix)


state: closed
title: nix-shell: multiple matplotlib backends are broken
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/issues/4500
updated_at: 2015-01-17 14:11:38
body:
  Using the following default.nix:

  ```
  { plotBackend ? "GTK3Cairo", pkgs ? (import <nixpkgs> { }) }:

  with pkgs;
  with pkgs.lib;

  python27Packages.buildPythonPackage rec {

    name = "b0rked-matplotlib";

    src = ./.;

    buildDepends = [
      python27Packages.matplotlib
      python27Packages.pygobject3
      python27Packages.wxPython
      pygobject3
    ];

    buildTools = [ python27 ];

    shellHook = ''
      export PATH=${concatMapStrings (tool: "${tool}/bin:" ) buildTools}$PATH
      export PYTHONPATH=${concatMapStrings (dep: "${dep.out}/lib/python2.7/site-packages:") buildDepends}$PYTHONPATH
      ${busybox}/bin/clear
      cat > ploterr.py <<PY
      import matplotlib
      matplotlib.use('${plotBackend}')
      import matplotlib.pylab as pl
      PY
      python2.7 ploterr.py

   '';

  }
  ```

  And calling `nix-shell` gives you:

  ```
  ImportError: Gtk3 backend requires the GObject introspection bindings for Gtk 3 to be installed.
  ```

  Only calling with `nix-shell --argstr plotBackend "WX"` results in a working shell. The GTK3Cairo is just one example, I've fiddled around with the lot of them and only WX gives me a plot.


state: closed
title: screen: enable 256 colors
user_login: grwlf
html_url: https://github.com/NixOS/nixpkgs/pull/4502
updated_at: 2014-10-14 09:23:05
body:
  The solution to famous screen + xterm/urxvt + 256 colors problem taken from here:
  http://askubuntu.com/questions/87169/using-gnu-screen-with-256-colors


state: closed
title: Adds Tagaini Jisho
user_login: vbgl
html_url: https://github.com/NixOS/nixpkgs/pull/4503
updated_at: 2014-11-04 01:17:34
body:
  [Tagaini Jisho](http://www.tagaini.net/) is a free, open-source Japanese dictionary and kanji lookup tool.


state: closed
title: Multiple outputs for haskell ecosystem
user_login: shlevy
html_url: https://github.com/NixOS/nixpkgs/issues/4504
updated_at: 2017-11-28 15:00:16
body:
  Haskell closures could be greatly reduced if:

  a) the shared libraries that come with ghc that all haskell shared libraries link to were in a separate output from the compiler, and
  b) documentation were in a separate output from the binary/library being built

  cc @peti 


state: closed
title: Document `packageOverrides` in ~/.nixpkgs/config.nix
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4505
updated_at: 2018-07-18 03:49:19
body:
  We have zero docs in manuals about ~/.nixpkgs/config.nix

  Some hits from wiki:
  - https://nixos.org/wiki/Nix_Modifying_Packages
  - https://nixos.org/wiki/Howto_keep_multiple_packages_up_to_date_at_once

  Along side, document: `allowUnfree`, `packageOverrides`


state: closed
title: logstash service: make log verbosity configurable.
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/4506
updated_at: 2014-10-26 19:10:06
body:
  The log verbosity level is now configurable.

  The logstash docs don't mention all of the verbosity flags, but you can view them here: https://github.com/elasticsearch/logstash/commit/9b5a60d561ec014b5ba7d27997ac80f320aeeff5#diff-4fbd59cdf63cce1b9ce69be1aa58c28dR120


state: closed
title: texlive: Update to latest release 2014.20140927
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/pull/4507
updated_at: 2014-10-25 11:44:24
body:
  The old version is no longer available in Debian, so we need to update our packages as well. Build works fine on my machine.
  (cc @jwiegley)


state: closed
title: new perl package App::perlbrew with deps
user_login: user318
html_url: https://github.com/NixOS/nixpkgs/pull/4513
updated_at: 2014-10-14 12:17:14
body:
  I have added CPAN Perl package App::perlbrew with dependencies using nix-generate-from-cpan mostly. I have tried it on my work machine and it installed successfully.


state: closed
title: libpcap fails build on Darwin
user_login: ibeex
html_url: https://github.com/NixOS/nixpkgs/issues/4515
updated_at: 2015-03-25 16:33:17
body:
  ```
  building pcap-linux.o
  gcc -fno-common -arch x86_64 -arch i386 -I.  -DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -g -O2 -c ./pcap-linux.c
  ./pcap-linux.c:137:22: fatal error: linux/if.h: No such file or directory
   #include <linux/if.h>
                        ^
  compilation terminated.
  make: *** [pcap-linux.o] Error 1
  builder for ‘/nix/store/0vkmb47mya5r77afjgjwqjdnn07dgy25-libpcap-1.5.3.drv’ failed with exit code 2
  error: build of ‘/nix/store/0vkmb47mya5r77afjgjwqjdnn07dgy25-libpcap-1.5.3.drv’ failed
  ```


state: closed
title: Remove "kde4_next"
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/issues/4519
updated_at: 2014-10-21 18:08:49
body:
  For more information see #4436

  "kde4_next" makes no sense anymore because 4.14 is the last KDE 4 release. I think we should go further and remove this attribute name from nixpkgs. Note that `...x11/desktop-managers/kde4.nix` and `kde4_next.nix` differ from each other.

  Maybe the best way would be to remove `kde4.nix` and rename `kde4_next.nix` to `kde4.nix`?

  For future unstable/experimental KDE5 releases we can introduce `kde_latest` one something like that.


state: closed
title: vim-command-t has wrong hash?
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/issues/4520
updated_at: 2014-10-23 11:40:50
body:
  https://travis-ci.org/NixOS/nixpkgs/builds/37909057#L5283
  No time to investigate right now.

  ```
  /wincent/Command-T/archive/1.8.tar.gz
  5r8bs9rmnjfzzj3d3-1.8.tar.gz' should have sha256 hash `0008ccir9hrcsxx32j81ih767a4k1p95dn4mw7xl1vkf5qln91md', instead has `0av1hdd09wnjwgb3kfg6yx2fjzf6k8v0l1nw5m3ylch2d0sfb3cr'
  building path(s) `/nix/store/a6qa0i0qbknkbw8q4vm9gv8dl96x6h96-bijiben-3.10.2.tar.xz'
  cannot build derivation `/nix/store/1a9nhjhsfkzra4740h70xd7fy5ff1igi-vim-command-t-1.8.drv': 1 dependencies couldn't be built
  ```


state: closed
title: Darwin: aspell doesn't work
user_login: nomosyn
html_url: https://github.com/NixOS/nixpkgs/issues/4521
updated_at: 2014-10-14 17:39:31
body:
  I get:

  ```
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip: can't process non-object and non-archive file
  ```

  after:

  ```
  $ nix-env -i aspell-dict-en-7.1-0
  ```

  or:

  ```
  $ nix-env -i aspell-dict-fr-0.50-3
  ```


state: closed
title: Add package: trustedGrub
user_login: ts468
html_url: https://github.com/NixOS/nixpkgs/pull/4522
updated_at: 2014-10-23 10:52:49
body:
  Legacy GRUB bootloader with "Trusted Computing Group" extension.
  It is a version of TrustedGRUB that I updated with patches from OpenSUSE and from Legacy GRUB.


state: closed
title: openjre on Darwin points at missing libraries
user_login: jwiegley
html_url: https://github.com/NixOS/nixpkgs/issues/4523
updated_at: 2017-02-18 09:45:48
body:
  The `jre` expression on Darwin installs a pre-built binary, which references `/usr/X11/lib/libfreetype.6.dylib`, but that library no longer exists on 10.9.


state: closed
title: Make QSettings use /run/current-system/sw/etc/xdg instead of /etc/xdg for global settings
user_login: ellis
html_url: https://github.com/NixOS/nixpkgs/pull/4526
updated_at: 2014-11-15 11:55:21
body:
  This is necessary due to an acknowledged deficiency in QSettings (https://bugreports.qt-project.org/browse/QTBUG-34919)


state: closed
title: New Package: Google Cloud SDK
user_login: aaronlevin
html_url: https://github.com/NixOS/nixpkgs/pull/4528
updated_at: 2015-01-29 19:22:36
body:
  This is my first non-Haskell package. Google manages this package strangely: it's not version'd, uses `$HOME` during installation, etc. Hopefully I did the right things (I tried to look at other similar packages for inspiration).


state: closed
title: ati-driver: Fix "Catalyst Control Center"
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/pull/4529
updated_at: 2014-10-25 11:44:34
body:
  The graphical configuration tool called "amdcccle" failed to start because of qt4/gcc. This fix works for me.

  Are you okay with these changes? @MarcWeber @offlinehacker 


state: closed
title: Recent Haskell updates broke several packages
user_login: jwiegley
html_url: https://github.com/NixOS/nixpkgs/issues/4533
updated_at: 2014-10-15 19:23:04
body:
  @peti Your latest round of Haskell updates today broke a lot of packages for me in ways that I can't easily recover from.  I've reverted the changes locally, but I'm wondering whether this level of breakage belongs on staging first before it goes to master?

  Ping @edolstra 


state: closed
title: The configuration.nix man page requires very wide terminals
user_login: viric
html_url: https://github.com/NixOS/nixpkgs/issues/4538
updated_at: 2016-03-19 17:01:27
body:
  With a 90-column terminal (half my screen width), "man configuration.nix" fills the screen with stderr warnings, that break completely the 'less' painting of the terminal. Lines are like this:
     <standard input>:10480: warning [p 2, 163.7i]: can't break line

  I think it's related to the very long strings of nix file names. In MySQL they got this problem, and they managed to use some docbook tags that improved that: http://bugs.mysql.com/bug.php?id=45484

  They say: "After further investigation, I think the source of the problem is that <entry> is subject to "pernicious mixed content." By wrapping the affected cell within <para> tags, better word wrapping occurs and improves the man page output."


state: closed
title: Update firefox-bin to 33.0
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/4540
updated_at: 2014-11-03 13:48:45
body:
  With this patch, auto-generated hashes are stored in a separate file. We can safely edit default.nix.
  From this version, Firefox requires some more X libraries.


state: closed
title: oraclejdk: bump to 8u25, 7u71, and 7u72
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/4541
updated_at: 2014-10-28 11:41:16
body:
  From this version, Oracle provides two versions of JDK 7.
  - JDK 7u71 is a Critical Patch Update (CPU) containing security and critical bug fixes.
  - JDK 7u72 is a Patch Set Update (PSU) containing fixes of the CPU as well as non-critical fixes.

  They says "Oracle strongly recommends that all Java SE users upgrade to the latest CPU release available for a release family. Most users should choose the CPU release." 
  http://www.oracle.com/technetwork/java/javase/downloads/cpu-psu-explained-2331472.html

  `oraclejdk7` is the CPU package. I added `oraclejdk7psu` for PSU version.


state: closed
title: thunderbird-bin: update to version 31.2.0
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/4543
updated_at: 2014-11-04 13:38:02
body:
  With this patch, auto-generated hashes are stored in a separate file. We can safely edit default.nix.
  Now we use sha1 hashes provided by Mozilla, so that downloading sources is no longer required to update the Nix expression.


state: closed
title: NetworkManager fails to start due to dbus permission issue
user_login: steventlamb
html_url: https://github.com/NixOS/nixpkgs/issues/4546
updated_at: 2014-11-08 18:40:45
body:
  Hello, running NixOS 14.04. Trying to install NetworkManager and nm-applet to manage my wireless. My wireless hardware is detected without a problem, but NetworkManager fails to start after installation.

  Config:

  ``` nix
  { config, pkgs, ... }:

  {
    imports =
      [ ./hardware-configuration.nix ];

    boot.loader.grub.enable = true;
    boot.loader.grub.version = 2;
    boot.loader.grub.device = "/dev/sda";

    environment.systemPackages = with pkgs; [
      curl wget python
      busybox emacs git firefox redshift xscreensaver
      trayer dmenu haskellPackages.xmobar terminator
      networkmanagerapplet
    ];

    i18n.consoleFont = "lat9w-16";
    i18n.consoleKeyMap = "us";
    i18n.defaultLocale = "en_US.UTF-8";

    networking.hostName = "euwe";

    services.openssh.enable = true;

    services.xserver.enable = true;
    services.xserver.layout = "us";
    services.xserver.xkbOptions = "ctrl:nocaps";

    services.xserver.synaptics.enable = true;
    services.xserver.synaptics.twoFingerScroll = true;

    services.xserver.windowManager.xmonad.enable = true;
    services.xserver.windowManager.xmonad.enableContribAndExtras = true;
    services.xserver.windowManager.default = "xmonad";
    services.xserver.desktopManager.default = "none";

    # TODO: this might be more trouble than it's worth, as declarative
    # user config is incomplete in nix at this time.
    users.extraUsers.steve = {
      name = "steve";
      group = "users";
      uid = 1000;
      createHome = true;
      home = "/home/steve";
      useDefaultShell = true;
      extraGroups = ["wheel"];
    };

    networking.networkmanager.enable = true;
    networking.enableIPv6 = false;
  }

  ```

  Here's what happens when I try to build the system:

  ``` shell
  [root@euwe:/home/steve]# nixos-rebuild switch
  building Nix...
  building the system configuration...
  updating GRUB 2 menu...
  stopping the following units: dhcpcd.service, local-fs.target, network-interfaces.target, remote-fs.target, systemd-modules-load.service, wpa_supplicant.service
  activating the configuration...
  setting up /etc...
  removing obsolete symlink ‘/etc/dhcpcd.exit-hook’...
  restarting the following units: polkit.service
  starting the following units: bluetooth.target, default.target, getty.target, graphical.target, ip-up.target, local-fs.target, multi-user.target, network-interfaces.target, network.target, paths.target, remote-fs.target, slices.target, sockets.target, sound.target, swap.target, systemd-modules-load.service, timers.target, wpa_supplicant.service
  warning: the following units failed: NetworkManager.service

  ● NetworkManager.service - Network Manager
     Loaded: loaded (/nix/store/m5fxkgi0mny3gghi3zip5ryq93vls31x-network-manager-0.9.8.8/etc/systemd/system/NetworkManager.service)
     Active: failed (Result: exit-code) since Thu 2014-10-16 03:26:10 CEST; 90ms ago
    Process: 3331 ExecStart=/nix/store/m5fxkgi0mny3gghi3zip5ryq93vls31x-network-manager-0.9.8.8/sbin/NetworkManager --no-daemon (code=exited, status=1/FAILURE)
   Main PID: 3331 (code=exited, status=1/FAILURE)

  Oct 16 03:26:10 euwe NetworkManager[3331]: <error> [1413422770.178862] [nm-dbus-manager.c:332] nm_dbus_manager_start_service(): Could not acquire the NetworkManager service.
                                               Error: 'Connection ":1.25" is not allowed to own the service "org.freedesktop.NetworkManager" due to security policies in the configuration file'
  Oct 16 03:26:10 euwe NetworkManager[3331]: <error> [1413422770.179091] [main.c:592] main(): failed to start the dbus service.
  Oct 16 03:26:10 euwe systemd[1]: NetworkManager.service: main process exited, code=exited, status=1/FAILURE
  Oct 16 03:26:10 euwe systemd[1]: Failed to start Network Manager.
  Oct 16 03:26:10 euwe systemd[1]: Unit NetworkManager.service entered failed state.

  [root@euwe:/home/steve]# 
  ```

  Any guidance would be appreciated. Thanks!


state: closed
title: undefined variable 'type' when trying to nixos-rebuild
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/issues/4549
updated_at: 2014-10-16 06:28:18
body:
  error: undefined variable `type' at /home/cray/nixpkgs/nixos/modules/services/logging/logrotate.nix:24:16

  seems to be introduced as of 2ffe274486679965f3a608a65453396fd2e0b393


state: closed
title: fcitx not detecting the fcitx-anthy plugin
user_login: cdepillabout
html_url: https://github.com/NixOS/nixpkgs/issues/4550
updated_at: 2014-11-05 13:08:28
body:
  @iyzsong, I am having a problem where fcitx is not detecting the anthy plugin.

  Looking in my user-profile, it looks like the anki plugin is in lib/fcitx/fcitx-anki.so, and the settings files are all correctly in share/fcitx/*.  But for some reasone it seems like fcitx just completely ignores the anki plugin.  

  Running fcitx with the flags "--enable anthy" or "--enable fcitx-anthy" doesn't produce any strange warning messages.  Below is the output of `fcitx-diagnose`, but it doesn't look like there is anything particularly strange in the output.  I am wondering how to go about debugging this problem.

  ```
  # System Info:
  1.  `uname -a`:

          Linux nixos 3.12.28 #1-NixOS SMP Thu Jan 1 00:00:01 UTC 1970 x86_64 GNU/Linux

  2.  `lsb_release`:

      `lsb_release` not found.

  3.  `/etc/lsb-release`:

      `/etc/lsb-release` not found.

  4.  `/etc/os-release`:

          NAME=NixOS
          ID=nixos
          VERSION="14.04.526.dbadfad (Baboon)"
          VERSION_ID="14.04.526.dbadfad"
          PRETTY_NAME="NixOS 14.04.526.dbadfad (Baboon)"
          HOME_URL="http://nixos.org/"

  5.  Desktop Environment:

      Cannot determine desktop environment.

  # Environment:
  1.  DISPLAY:

          DISPLAY=':0.0'

  2.  Keyboard Layout:

      1.  `setxkbmap`:

              xkb_keymap {
                  xkb_keycodes  { include "evdev+aliases(qwerty)" };
                  xkb_types     { include "complete"  };
                  xkb_compat    { include "complete"  };
                  xkb_symbols   { include "pc+us+inet(evdev)+ctrl(swapcaps)"  };
                  xkb_geometry  { include "pc(pc104)" };
              };

      2.  `xprop`:

              _XKB_RULES_NAMES(STRING) = "evdev", "pc104", "us", "", "ctrl:swapcaps"

  3.  Locale:

      1.  All locale:

              aa_DJ
              aa_DJ.iso88591
  (...)
              ja_JP
              ja_JP.eucjp
              ja_JP.ujis
              ja_JP.utf8
              japanese
              japanese.euc
  (...)
              zh_TW.big5
              zh_TW.euctw
              zh_TW.utf8
              zu_ZA
              zu_ZA.iso88591
              zu_ZA.utf8

      2.  Current locale:

              LANG=en_US.UTF-8
              LC_CTYPE="en_US.UTF-8"
              LC_NUMERIC="en_US.UTF-8"
              LC_TIME="en_US.UTF-8"
              LC_COLLATE="en_US.UTF-8"
              LC_MONETARY="en_US.UTF-8"
              LC_MESSAGES="en_US.UTF-8"
              LC_PAPER="en_US.UTF-8"
              LC_NAME="en_US.UTF-8"
              LC_ADDRESS="en_US.UTF-8"
              LC_TELEPHONE="en_US.UTF-8"
              LC_MEASUREMENT="en_US.UTF-8"
              LC_IDENTIFICATION="en_US.UTF-8"
              LC_ALL=

  4.  Directories:

      1.  Home:

              /home/d_gosnell

      2.  `${XDG_CONFIG_HOME}`:

          Environment variable `XDG_CONFIG_HOME` is set to `/home/d_gosnell/.config`.

          Current value of `XDG_CONFIG_HOME` is `~/.config` (`/home/d_gosnell/.config`).

      3.  Fcitx Settings Directory:

          Current fcitx settings directory is `~/.config/fcitx` (`/home/d_gosnell/.config/fcitx`).

  5.  Current user:

      The script is run as d_gosnell (1000).

  # Fcitx State:
  1.  executable:

      Found fcitx at `/home/d_gosnell/.nix-profile/bin/fcitx`.

  2.  version:

      Fcitx version: `4.2.8.5`

  3.  process:

      Found 2 fcitx processes:

          32627 fcitx
          32636 fcitx-dbus-watc

  4.  `fcitx-remote`:

      `fcitx-remote` works properly.

  # Fcitx Configure UI:
  1.  Config Tool Wrapper:

      Found fcitx-configtool at `/home/d_gosnell/.nix-profile/bin/fcitx-configtool`.

  2.  Config GUI for gtk2:

      **Config GUI for gtk2 not found.**

  3.  Config GUI for gtk3:

      Found `fcitx-config-gtk3` at `/home/d_gosnell/.nix-profile/bin/fcitx-config-gtk3`.

  4.  Config GUI for kde:

      **`kcmshell4` not found.**

  # Frontends setup:
  ## Xim:
  1.  `${XMODIFIERS}`:

      Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
      Xim Server Name from Environment variable is fcitx.

  2.  XIM_SERVERS on root window:

      Xim server name is the same with that set in the environment variable.

  ## Qt:
  1.  qt4 - `${QT4_IM_MODULE}`:

      Environment variable QT_IM_MODULE is set to "fcitx" correctly.

  2.  qt5 - `${QT_IM_MODULE}`:

      Environment variable QT_IM_MODULE is set to "fcitx" correctly.

  3.  Qt IM module files:
      **Cannot find fcitx input method module for Qt4.**
      **Cannot find fcitx input method module for Qt5.**

  ## Gtk:
  1.  gtk - `${GTK_IM_MODULE}`:

      Environment variable GTK_IM_MODULE is set to "fcitx" correctly.

  2.  `gtk-query-immodules`:

      1.  gtk 2:

          **Cannot find `gtk-query-immodules` for gtk 2**

          **Cannot find fcitx im module for gtk 2.**

      2.  gtk 3:

          **Cannot find `gtk-query-immodules` for gtk 3**

          **Cannot find fcitx im module for gtk 3.**

  3.  Gtk IM module cache:

      1.  gtk 2:

          **Cannot find immodules cache for gtk 2**

          **Cannot find fcitx im module for gtk 2 in cache.**

      2.  gtk 3:

          **Cannot find immodules cache for gtk 3**

          **Cannot find fcitx im module for gtk 3 in cache.**

  4.  Gtk IM module files:

      1.  gtk 2:

          All found Gtk 2 immodule files exist.

      2.  gtk 3:

          All found Gtk 3 immodule files exist.

  # Configuration:
  ## Fcitx Addons:
  1.  Addon Config Dir:

      Found fcitx addon config directory: `/nix/store/105x7rxh6ws6qbp8vj6zh9psdjnqsfcy-fcitx-4.2.8.5/share/fcitx/addon`.

  2.  Addon List:

      1.  Found 25 enabled addons:

              fcitx-autoeng
              fcitx-chttrans
              fcitx-classic-ui
              fcitx-clipboard
              fcitx-dbus
              fcitx-freedesktop-notify
              fcitx-fullwidth-char
              fcitx-imselector
              fcitx-ipc
              fcitx-keyboard
              fcitx-kimpanel-ui
              fcitx-notificationitem
              fcitx-pinyin
              fcitx-pinyin-enhance
              fcitx-punc
              fcitx-quickphrase
              fcitx-remote
              fcitx-spell
              fcitx-table
              fcitx-unicode
              fcitx-vk
              fcitx-x11
              fcitx-xim
              fcitx-xkb
              fcitx-xkbdbus

      2.  Found 1 disabled addons:

              fcitx-qw

  3.  Addon Libraries:

      All libraries for all addons are found.

  4.  User Interface:

      Found 2 enabled user interface addons:

          fcitx-classic-ui
          fcitx-kimpanel-ui

  ## Input Methods:
  1.  Found 1 enabled input methods:

          fcitx-keyboard-us

  2.  Default input methods:

      You only have one keyboard input method enabled. You may want to add another input method to input other languages.

  # Log:
  1.  `date`:

          Thu Oct 16 13:55:50 JST 2014

  2.  `~/.config/fcitx/log/`:

          total 0

  3.  `~/.config/fcitx/log/crash.log`:

      `~/.config/fcitx/log/crash.log` not found.
  ```


state: closed
title: Linux 3.17 with iwlwifi needs CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y
user_login: ocharles
html_url: https://github.com/NixOS/nixpkgs/issues/4552
updated_at: 2014-10-20 11:25:30
body:
  I just hit the problem described in http://forums.gentoo.org/viewtopic-p-7630652.html. Should we enable this option by default for 3.17?


state: closed
title: drop permission prestart from polipo service module
user_login: ehmry
html_url: https://github.com/NixOS/nixpkgs/pull/4553
updated_at: 2014-10-23 13:49:27
body:
  chowning the cache directory can timeout the service, permissions
  on this directory should never change without user intervention


state: closed
title: Revert "cabal: enable multi-threaded builds with GHC 7.8.x or later"
user_login: shlevy
html_url: https://github.com/NixOS/nixpkgs/pull/4554
updated_at: 2016-12-16 20:21:33
body:
  This likely exacerbates the non-determinism in ghc package ids, so until
  that is fixed let's live with the slow builds.

  This reverts commit 817c0e41443a5176baf6dd9b422878fdccecd266.


state: closed
title: talloc: Fix linker flags on darwin.
user_login: pmahoney
html_url: https://github.com/NixOS/nixpkgs/pull/4557
updated_at: 2014-10-22 18:54:27
body:
  Before this patch, building talloc on darwin (OS X 10.8.5) results in:

  ```
  gcc -dynamiclib -Wl,-search_paths_first -undefined error -o libtalloc.dylib.2.0.1 ./talloc.o  ./libreplace/replace.o ./libreplace/snprintf.o ./libreplace/getpass.o ./libreplace/strptime.o   -install_namelibtalloc.dylib.2
  gcc: error: unrecognized command line option '-install_namelibtalloc.dylib.2'
  make: *** [libtalloc.dylib.2.0.1] Error 1
  ```

  Setting SONAMEFLAG to either "-install_name " (note trailing space), or
  "-Wl,-install_name," results in a successful build. The latter seems
  more clear.

  I haven't yet tested this lib since the package that depends on it is also giving me fits on darwin for unrelated reasons.


state: closed
title: cabal builder and ghcWithPackages can't be mixed
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4560
updated_at: 2014-11-03 17:08:07
body:
  If we try to do something like `self.cabal.override { ghc = ghcWithPackages (s: [])); }` we will be promptly told that there is no `version` attribute: no wonder, ghcWithPackages is just a buildEnv and it has no attributes that are normally expected from `ghc`

  This means that it's not feasible to mix `cabal` and `ghcWithPackages` together in general, which is a big problem: wrapping `GHC_PACKAGE_PATH` and similar is a great pain: most programs wrapped this way will also collect garbage from user's profile. Even if the program exposes flags that are pass-through to GHC, we can't make good use of them because `base` package and friends are not exposed through the calls to GHCGetPackages.

  This means that the _only_ way to have a Haskell packages-aware that does not pull in garbage from the user/global package database is for the program to expose a variable/flag which allows us to specify the path to the GHC it should use: perhaps this is why `xmonad` with its `XMONAD_GHC` is the sole user of `ghcWithPackages`.

  In fact looking at the `ghcWithPackages` expression, it seems to not pass anything like `-no-global-package-db` or `-clear-package-db` either way so it would seem that it has the same problem as manual wrappers but maybe I'm wrong.

  So, is there  a good way to have a Haskell program run with just the specified set of packages, without picking up user/global packages (as if we were using `--pure`)?

  Use-cases: Yi text editor, ghc-mod, mueval, basically anything Haskell using wrappers

  cc @peti 


state: closed
title: ghc-mod shouldn't pull in emacs by default
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4561
updated_at: 2016-09-10 20:55:16
body:
  ghc-mod can happily be used as a library only or with other text editors: pulling in emacs by default seems excessive and I believe it is only to bytecompile the ghc-mod mode, which is again useless if we don't plan to use it with emacs

  I wonder if making emacs non-default or splitting ghc-mod into two (with and without emacs) expression would not be a better choice.

  cc maintainers: @ocharles @bluescreen303 @kosmikus


state: closed
title: Update xfce to 4.12
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4562
updated_at: 2017-12-18 19:36:20
body:
  Xfce 4.12 has some very nice features (including improved multi-monitor support). It would be nice to have it in Nix.


state: closed
title: Xfce mixer applet does not work
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4563
updated_at: 2017-12-18 19:36:21
body:
  This happens because of unset GST_PLUGIN_SYSTEM_PATH variable in xfce4-panel environment. I would be happy to fix it, however just wrapping xfce4-panel seems too "hard-coded" for me. How do we solve "wrapper for a library" problem usually?


state: closed
title: tsocks script needs hard-coded directory paths replaced
user_login: cdepillabout
html_url: https://github.com/NixOS/nixpkgs/issues/4564
updated_at: 2014-10-21 01:38:18
body:
  The tsocks package creates a shell script (`/nix/store/xxx-tsocks/bin/tsocks`) that can be used to run a command with `LD_PRELOAD` set to the tsocks library.  However, it is hard-coded to use `/usr/lib/libtsocks.so`.

  It should be changed to use `/nix/store/xxx-tsocks/lib/libtsocks.so`.


state: closed
title: [Do not merge] Rust packaging
user_login: madjar
html_url: https://github.com/NixOS/nixpkgs/pull/4568
updated_at: 2015-04-22 08:02:20
body:
  Hello there

  I've been working on the packaging of rust program (those that use cargo, to be specific), and here is what I've got for now.

  You can package arbitrary rust package using `buildRustPackage`. It takes 4 arguments: a name, a src (a fetchgit derivation for example), sha256 (the sha of the cargo dependencies), and a optional buildInputs.

  You can look at the provided `rust-example.nix` to see what it looks like and try it out (it is a small game I wrote to try rust out).

  A lot of things must be finished before merging:
  - The api `buildRustPackage` is not final at all. If you have comment on the right way to do it, or if you can me to good examples in nixpkgs, I'd be grateful.
  - The documentation.
  - The `nix-prefetch-cargo` should be on par with other `nix-prefetch` script, because it is required to determine the sha of the dependencies.
  - Cargo itself does not build (actually, I can get it to build on nixos, even outside of nixpkgs). I think I'll wait for https://github.com/rust-lang/rfcs/pull/403 to be implemented before trying again.

  @wizeman 


state: closed
title: vim and plugin managing
user_login: jagajaga
html_url: https://github.com/NixOS/nixpkgs/issues/4569
updated_at: 2014-10-30 21:17:47
body:
  Now we can load system plugins to vim.
  But the bug we have is that the `after` folder from plugins isn't loaded.
  Yeah, we can improve the current configuration https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/vim/configurable.nix#L11 etc, but everytime we can get bugs anyway.
  I think it's a good idea to make [tpope/vim-pathogen](https://github.com/tpope/vim-pathogen) as a mandatory plugin for vim and load everything with it (just as build helper).
  The idea is not to make people use pathogen, the idea is to load plugins from the `configuration.nix` and give it to users. Then they can manually install pathogen and use it if they need. We won't provide it to the userspace.


state: closed
title: Notmuch: fix build on darwin
user_login: pmahoney
html_url: https://github.com/NixOS/nixpkgs/pull/4570
updated_at: 2014-10-22 18:39:15
body:
  This patch requires this fix to [talloc](https://github.com/NixOS/nixpkgs/pull/4557)

  But with talloc and notmuch patched, I am able to build and run notmuch on darwin.

  The first patch changes a bunch of hardcoded paths to test scripts whose shebangs are patched; some of these paths did not exist in my build; not sure why.

  The second changes `bin/notmuch` from linking to relative `libnotmuch.3.dylib` to linking to an absolute path, otherwise the dylib is not found at runtime.  The command `otool -L .../bin/notmuch` shows the dylib links on darwin.


state: closed
title: Add support for global LXC config files
user_login: fpletz
html_url: https://github.com/NixOS/nixpkgs/pull/4573
updated_at: 2015-04-22 10:56:14
body:
  This PR adds basic configuration of global LXC configuration parameters through the config files
  - `/etc/lxc/lxc.conf`
  - `/etc/lxc/default.conf`
  - `/etc/lxc/lxc-usernet`

  Configuration example:

  ```
  {
    virtualisation = {
      lxc.enable = true;
      lxc.defaultConfig = ''
        lxc.network.type = veth
        lxc.network.link = virbr0
        lxc.network.flags = up
      '';
    };
  }
  ```


state: closed
title: Fix ruby path in gitAndTools.hub
user_login: fpletz
html_url: https://github.com/NixOS/nixpkgs/pull/4575
updated_at: 2014-12-29 16:16:11
body:
  `hub` won't work on my NixOS system with the current master branch:

  ```
  $ hub
  /run/current-system/sw/bin/hub: /nix/store/j8fazj40azabllknnppbwv7yhpsfwpf6-hub-1.12.2/bin/.hub-wrapped: /usr/bin/ruby: bad interpreter: No such file or directory
  /run/current-system/sw/bin/hub: line 3: /nix/store/j8fazj40azabllknnppbwv7yhpsfwpf6-hub-1.12.2/bin/.hub-wrapped: Success
  ```

  The problem is that `hub` searches in `lib/hub/standalone.rb` for `'/usr/bin/ruby'` and fails if that exact path can't be found.

  /cc @the-kenny 


state: closed
title: Fix MacVim by using clang.
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/4576
updated_at: 2014-11-03 03:21:17
body:
  - Use `clangStdenv`
  - Remove platform specific Python `#include`
  - Fix missing `MACOS_X_UNIX` define
  - Bump version up
  - Ignore warnings
  - Don't attempt to find libs in `/usr/local`


state: closed
title: Add pidgin wrapper and a patch to look for plugins
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4577
updated_at: 2014-10-23 11:19:04
body:
  Solves https://github.com/NixOS/nixpkgs/issues/992 . Is my wrapper approach good enough, or should I make it another way?


state: closed
title: ipython3 does not seem to work
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/issues/4582
updated_at: 2014-10-18 15:03:26
body:
  ```
  offlinehacker:traderbot/ $ ipython3 notebook                                              [17:00:00]
  Traceback (most recent call last):
    File "/nix/store/hbhsb9kdhfhiaqil7irzbbvq9p344qlx-ipython-2.2.0/bin/.ipython3-wrapped", line 10, in <module>
      load_entry_point('ipython==2.2.0', 'console_scripts', 'ipython3')()
    File "/nix/store/kpcbbc1104jqd39njz1c709jlrmbkzfj-python3.4m-setuptools-5.8/lib/python3.4/site-packages/setuptools-5.8-py3.4.egg/pkg_resources.py", line 339, in load_entry_point
      return get_distribution(dist).load_entry_point(group, name)
    File "/nix/store/kpcbbc1104jqd39njz1c709jlrmbkzfj-python3.4m-setuptools-5.8/lib/python3.4/site-packages/setuptools-5.8-py3.4.egg/pkg_resources.py", line 2457, in load_entry_point
      return ep.load()
    File "/nix/store/kpcbbc1104jqd39njz1c709jlrmbkzfj-python3.4m-setuptools-5.8/lib/python3.4/site-packages/setuptools-5.8-py3.4.egg/pkg_resources.py", line 2171, in load
      ['__name__'])
    File "/nix/store/hbhsb9kdhfhiaqil7irzbbvq9p344qlx-ipython-2.2.0/lib/python3.4/site-packages/IPython/__init__.py", line 45, in <module>
      from .config.loader import Config
    File "/nix/store/hbhsb9kdhfhiaqil7irzbbvq9p344qlx-ipython-2.2.0/lib/python3.4/site-packages/IPython/config/__init__.py", line 16, in <module>
      from .application import *
    File "/nix/store/hbhsb9kdhfhiaqil7irzbbvq9p344qlx-ipython-2.2.0/lib/python3.4/site-packages/IPython/config/application.py", line 30, in <module>
      from IPython.external.decorator import decorator
    File "/nix/store/hbhsb9kdhfhiaqil7irzbbvq9p344qlx-ipython-2.2.0/lib/python3.4/site-packages/IPython/external/decorator/__init__.py", line 2, in <module>
      from decorator import *
    File "/nix/store/4qrydf9jv2sayp3743lzsysz59lj6dys-python2.7-decorator-3.4.0/lib/python2.7/site-packages/decorator.py", line 156
      exec code in evaldict
              ^
  SyntaxError: Missing parentheses in call to 'exec'
  ```


state: closed
title: buildLocalCabal: use new cabal2nix feature
user_login: bennofs
html_url: https://github.com/NixOS/nixpkgs/pull/4583
updated_at: 2014-10-18 18:07:07
body:
  This changes `buildLocalCabal` so it doesn't rely on `sed` hacks anymore. I'm not sure if we should even add cabalInstall to buildInputs by default? (The old `buildLocalCabal` did it). IMO, `buildLocalCabal` should only provide the basic expression. Users can override that to add cabalInstall if they want to nix-shell in it themselves then, but I haven't changed that for now. 


state: closed
title: ghc-mod don't recognizes local imports
user_login: meditans
html_url: https://github.com/NixOS/nixpkgs/issues/4584
updated_at: 2014-10-19 09:24:29
body:
  By local import I mean `import Foo` when I have a module named `Foo` in the file `Foo.hs` in the same folder. It correctly recognizes imports from libraries, however.

  Here there is the ghc-debug info:

  ```
  Version: all versions must be the same.
    ghc.el version v5.1.1.0
    ghc-mod: unknown command: `-g'
    ghc-modi version 5.1.1.0 compiled by GHC 7.8.3
    The Glorious Glasgow Haskell Compilation System, version 7.8.3
  ```


state: closed
title: New package: k2pdfopt - mobile PDF/DJVU optimizer
user_login: bosu
html_url: https://github.com/NixOS/nixpkgs/pull/4589
updated_at: 2014-10-19 08:25:23
body:
  From http://www.willus.com/k2pdfopt/:

  K2pdfopt optimizes PDF/DJVU files for mobile e-readers (e.g. the Kindle) and smartphones. It works well on multi-column PDF/DJVU files and can re-flow text even on scanned PDF files. It can also be used as a general PDF copying/cropping/re-sizing manipulation tool. It can generate native or bitmapped PDF output, with an optional OCR layer.


state: closed
title: Make a configuration management tool based on Nix to manage User Profiles.
user_login: nbp
html_url: https://github.com/NixOS/nixpkgs/pull/4594
updated_at: 2015-11-20 21:43:58
body:
  This pull request is made to bootstrap a variant of NixOS, which is dedicated at managing the home directory of users.  This new project is called NixUP (Nix User Profile), and the goals are the following:
  - [✓] Generate an activation script.
  - [✓] Abstract the creation of resource files. (similar to environment.etc)
  - [✓] Option to list installed packages. (similar to system.packages)
  - [✗] Command line tool to manage profiles generations and updates.  (similar to nixos-rebuild)
  - [✗] Command line tool to write / read option definition without using an editor.  (no legacy yet)
  - [✗] Mock compatibility modules to use some NixOS modules in NixUP.
  - [✗] Include NixUP modules as submodules of NixOS option `users.extraUser.<name?>`


state: closed
title: Add "rpmextract" script and use it
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4596
updated_at: 2014-10-20 18:16:26
body:
  In Arch Linux there is a tiny tool called "rpmextract" which basically just calls rpm2cpio and cpio -d. It, however, saves a lot of time when working with rpm archives (standalone and while packaging smth) and helps a person who doesn't know anything about rpm to just "extract" it (it helped me, at least ^_^).
  I've reimplemented this little tool (it lives as a script in Arch Linux packages, and so tiny there's no sense in using it from there) and replaced most uses of rpm+cpio with it. There are also some uses in build-support, but I omitted them for now.


state: closed
user_login: CMCDragonkai
html_url: https://github.com/NixOS/nixpkgs/issues/4599
updated_at: 2015-04-29 02:46:41
title:
  Using `environment.etc."os-release".text` prepends the `etc/os-release` instead of replacing the file

body:
  When using `environment.etc."os-release".text`, whatever text you put inside of it prepends the text to `/etc/os-release` instead of replacing the text. Is this correct behaviour?

  That must mean that this part https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/misc/version.nix#L58-L69 is running afterwards?


state: closed
title: NixOS manual does not show option types
user_login: edolstra
html_url: https://github.com/NixOS/nixpkgs/issues/4600
updated_at: 2015-01-04 14:41:45
body:
  The "Configuration Options" appendix and the configuration.nix manpage should show the type of each option.


state: closed
title: Let systemd units define their documentation
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/pull/4601
updated_at: 2014-10-20 12:35:41
body:
  Systemd units can define their documentation through the `Documentation`
  option. From `man:systemd.unit(5)`:

  ```
    Documentation=
     A space-separated list of URIs referencing documentation for this unit
     or its configuration. Accepted are only URIs of the types "http://",
     "https://", "file:", "info:", "man:". For more information about the
     syntax of these URIs, see uri(7). The URIs should be listed in order
     of relevance, starting with the most relevant. It is a good idea to
     first reference documentation that explains what the unit's purpose
     is, followed by how it is configured, followed by any other related
     documentation. This option may be specified more than once, in which
     case the specified list of URIs is merged. If the empty string is
     assigned to this option, the list is reset and all prior assignments
     will have no effect.
  ```


state: closed
title: Enable gnutls by default on pidgin
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/4602
updated_at: 2014-10-23 11:16:00
body:
  Hi @vcunat 

  `all-packages.nix` this to define `pidgin`:

  ```
    pidgin = callPackage ../applications/networking/instant-messengers/pidgin {
      openssl = if config.pidgin.openssl or true then openssl else null;
      gnutls = if config.pidgin.gnutls or false then gnutls else null;
      libgcrypt = if config.pidgin.gnutls or false then libgcrypt else null;
      startupnotification = libstartup_notification;
    };
  ```

  would it make sense to have `config.pidgin.gnutls` be `true` by default for everyone? I don't understand why it is `false` by default


state: closed
title: mysql: make cleaner directory layout for 5.5.*
user_login: exlevan
html_url: https://github.com/NixOS/nixpkgs/pull/4603
updated_at: 2014-10-23 19:24:58
body:
  By default, mysql puts files like README and INSTALL in the root directory, and has unusual directory structure. This patch makes directory layout more typical for Linux distributions.


state: closed
title: unable to load driver: nouveau_dri.so
user_login: valeriangalliat
html_url: https://github.com/NixOS/nixpkgs/issues/4606
updated_at: 2014-10-21 13:36:10
body:
  Hi,

  I'm using Nix on Debian Wheezy. I just installed `cool-old-term` using Nix, but when I run the software I get the following error:

  ```
  libGL error: dlopen /run/opengl-driver/lib/dri/nouveau_dri.so failed (libffi.so.5: cannot open shared object file: No such file or directory)
  libGL error: unable to load driver: nouveau_dri.so
  libGL error: driver pointer missing
  libGL error: failed to load driver: nouveau
  ```

  Then I have a lot of errors like this during the program execution:

  ```
  QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
  QOpenGLShaderProgram: could not create shader program
  QOpenGLShader: could not create shader
  QOpenGLShader: could not create shader
  shader compilation failed: 
  ""
  ```

  And all I have is a black screen in the program window.

  I tried to symlink `/run/opengl-driver/lib/dri/nouveau_dri.so` to `/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so` (the actual location on my system), but it did change nothing.

  I copied the latter file to the `/run` location and I now have the following:

  ```
  libGL error: dlopen /run/opengl-driver/lib/dri/nouveau_dri.so failed (/run/opengl-driver/lib/dri/nouveau_dri.so: failed to map segment from shared object: Operation not permitted)
  ```

  Looks like it's because my `/run` is mounted with `noexec`. So I run `mount -o remount,exec /run`, and I now have (again) this error:

  ```
  libGL error: dlopen /run/opengl-driver/lib/dri/nouveau_dri.so failed (libffi.so.5: cannot open shared object file: No such file or directory)
  ```

  Though, `libffi.so.5` is properly linked to `/usr/lib/x86_64-linux-gnu/libffi.so.5` (according to `ldd`).

  And finally:

  ```
   ldd /usr/lib/x86_64-linux-gnu/libffi.so.5 
      linux-vdso.so.1 =>  (0x00007fff5f3eb000)
      libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe8b2cc9000)
      /lib64/ld-linux-x86-64.so.2 (0x00007fe8b326e000)
  ```

  What can I do? Is this kind of driver dependency is only meant to work with NixOs, and not Nix on any Linux distro?


state: closed
title: Fix build-fhs-chrootenv mount script
user_login: doublec
html_url: https://github.com/NixOS/nixpkgs/pull/4611
updated_at: 2015-04-07 23:50:06
body:
  The mount script in build-fhs-chrootenv has 'steam' hardcoded in one place instead of the chrootenvDest.


state: closed
title: kde4: Use plasma-nm instead of knetworkmanager
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/pull/4614
updated_at: 2014-10-25 11:44:39
body:
  `plasma-nm` is the successor of `knetworkmanager`, it is written in QML and actively developed. Works fine on my machine for several weeks.


state: closed
title: Add the Unlicense
user_login: valeriangalliat
html_url: https://github.com/NixOS/nixpkgs/pull/4618
updated_at: 2014-10-22 18:41:03
body:
  Hi NixOS team,

  I was gazing around the licenses and I didn't found the [Unlicense](http://unlicense.org/), which is my favorite license for personal projects. Do you think it's worth adding it to the list?


state: open
title: buildEnv: support force-creating all directories and symlinking only files
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4621
updated_at: 2018-06-23 23:25:58
body:
  This would simplify, for example, https://github.com/NixOS/nixpkgs/pull/4577 expression (or maybe there is just another, better way?). Another (more grained) approach would be to add a list argument which specifies directories that should be created and not symlinked.


state: closed
title: sxiv should use imlib2 built with giflib and not libungif
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4622
updated_at: 2014-11-03 23:04:16
body:
  Mostly just a reminder to myself but if someone wants to do it first then go ahead. Current hack is to use older giflib which dances around the problem.

  Original discussion at https://github.com/muennich/sxiv/issues/180


state: closed
title: wipe: add package
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4624
updated_at: 2014-11-12 00:21:08
body:
  The patch is needed because we don't build as root; it was sent to the developer via e-mail (tracker is down for some reason).


state: closed
title: gvfs: support samba in lightweight version
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4625
updated_at: 2014-11-12 00:21:07
body:
  This will make lightweight gvfs more "heavyweight", but will enable samba support OOTB in Xfce and other gvfs-using things.


state: closed
title: rxvt_unicode: add some plugins and a wrapper
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4626
updated_at: 2014-10-24 17:57:25
body:
  This adds some rxvt plugins and a wrapper to use them. You can use it with, for example:

  ```
        rxvt_unicode_wrapper = rxvt_unicode_wrapper.override {
          plugins = [ urxvt_perls urxvt_tabbedex ];
        };
  ```


state: closed
title: xfce4-mixer: add pulseaudio support
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4627
updated_at: 2014-11-12 00:21:15
body:
  This adds optional pulseaudio support to xfce4 mixer app, and minimized version of gst-good-plugins for it to work.


state: closed
title: xfce4-volumed: add package
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4628
updated_at: 2017-12-18 19:36:21
body:
  This adds new package to xfce -- a volume daemon which listens for volume keys and displays current volume. It comes with pulseaudio support via gstreamer.


state: closed
title: add "onscripter-en" package
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4630
updated_at: 2014-10-27 10:26:06
body:
  This adds a visual novel engine called "onscripter-en". This also needs fixing MP3 support in SDL_mixer.


state: closed
title: passwordFile: update description
user_login: robberer
html_url: https://github.com/NixOS/nixpkgs/pull/4631
updated_at: 2014-10-23 09:36:30
body:
  I updated the description of passwordFile because if you do not define a full path to the passwordFile you can easily lock out yourself from the system.

  e.g.:

  configuration.nix is in /etc/nixos/configuration.nix
  password file is in /etc/nixos/pwd.root

  mutableUsers=false;
  passwordFile="./pwd.root";

  nixos-rebuild does it's job because it can find the path defined in passwordFile but on next reboot the file isn't accessible. This took me a while to figure out because my SSD is booting so fast that i couldn't read the error message thast the file couldn't be found.


state: closed
title: Gnome 3 should include the Cantarell font
user_login: DamienCassou
html_url: https://github.com/NixOS/nixpkgs/issues/4633
updated_at: 2014-10-24 09:51:52
body:
  Gnome uses Cantarell font by default for everything. But installing Gnome does not install Cantarell. In practice, in the gnome tweak tool, Cantarell is shown as the font currently used, but it is wrong, a default font is used instead. To verify:
  1. open gnome tweak tool
  2. select the "Fonts" tab, you will see Cantarell
  3. click on one of the Cantarell buttons
  4. you won't see Cantarell anymore in the list
     
     I recommend setting Cantarell as a dependency of Gnome 3


state: closed
title: Upgrade Pure to 0.63
user_login: asppsa
html_url: https://github.com/NixOS/nixpkgs/pull/4635
updated_at: 2014-10-28 06:21:08
body:
  Also added a "check" phase, added myself to the maintainers array, and removed the explicit requirement for LLVM 3.4 (this package is supposed to work with either 3.3 or 3.4)


state: closed
title: Installer graphical cd no more reproducible
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4636
updated_at: 2014-10-24 23:54:30
body:
  At nixpkgs unstable commit 773e804 cc @iElectric 

  ```
  $ nix-build nixos/release.nix -A iso_graphical.x86_64-linux 2>&1|grep nixos
    /nix/store/3yhdisk4gaj8dk9m347b7qy0h8jrr0pd-nixos-14.11pre56789.gfedcba.drv
    /nix/store/cnira6vsphdcpsf5ssf5na5lmy0c9nq5-nixos-14.11pre56789.gfedcba.drv
    /nix/store/qj84lqa0m7c8p8g31i2gpfm4y0c1m1i0-nixos-iso-14.11pre56789.gfedcba.drv
  building path(s) `/nix/store/2zi3nwv8jgx730h8sm0lvfiinwzq8mxy-nixos-14.11pre56789.gfedcba'
  [pbuilding /nix/store/2zi3nwv8jgx730h8sm0lvfiinwzq8mxy-nixos-14.11pre56789.gfedcba
  ^C
  $ nix-build nixos/release.nix -A iso_graphical.x86_64-linux 2>&1|grep nixos
    /nix/store/0k0vmlci7a4i3ig59m02gdw6x59d120j-nixos-14.11pre56789.gfedcba.drv
    /nix/store/5b8xnl64bg53gx86728001qg7cf7nja6-nixos-iso-14.11pre56789.gfedcba.drv
    /nix/store/kx1rg7fv289nfrvap50pbsc3al0yg83i-nixos-14.11pre56789.gfedcba.drv
  building path(s) `/nix/store/20yqqp0pbh4k21xjhc4md64bnk346v5n-nixos-14.11pre56789.gfedcba'
  [pbuilding /nix/store/20yqqp0pbh4k21xjhc4md64bnk346v5n-nixos-14.11pre56789.gfedcba
  ```


state: closed
title: python: adding test/test_support.py module in all python versions
user_login: garbas
html_url: https://github.com/NixOS/nixpkgs/pull/4637
updated_at: 2014-10-24 08:44:48
body:
  - test/test_support.py module is used by many libraries which backport python
    3.0 functionality to 2.6/2.7
  - enable subprocess32 tests (now passing for python 2.6/2.7)


state: closed
title: xmonad_log_applet: add packages
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4641
updated_at: 2014-10-29 00:26:44
body:
  This can be used in tandem with XMonad for nice xmobar-like labels in Xfce and Gnome{2,3}. I haven't tested it in gnome2 and was desperate to find where `libpanelapplet-4.0` from gnome3 resides, but on Xfce this works and is very useful.


state: closed
title: Add Dockerfile, which builds docker with nix package manager
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/pull/4642
updated_at: 2018-01-18 07:27:36
body:
  With this Dockerfile, https://registry.hub.docker.com/u/offlinehacker/nixpkgs will automaticlly build docker image with nix package manager and nixpkgs(repo itself) on every push. To use this docker image: docker -t -i offlinehacker/nixpkgs. I advise nixos organization to create it's own account on docker registry and setup automated builds.

  Example Dockefile that uses this image:

  ```
  FROM offlinehacker/nixpkgs
  RUN nix-env -iA nixpkgs.mongodb
  RUN mkdir -p /var/db/mongodb
  CMD mongod --dbpath /var/db/mongodb
  ```

  PS: Docker is not a replacement for nixos, docker is process manager(which can also run whole nixos container), nixos is os, just to make this clear.


state: closed
title: Crawl is failing to build
user_login: thespacepanda
html_url: https://github.com/NixOS/nixpkgs/issues/4644
updated_at: 2014-11-08 18:42:24
body:
  Here is the output from nixos-rebuild: http://pastebin.com/QX41hjv4

  I'm not sure if this is a known issue or not, but I made sure to upgrade as well and it is still failing. 

  @abbradar


state: closed
title: Fix python26Packages.sqlite3
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/pull/4646
updated_at: 2014-10-25 11:49:16
body:
  The latest `sqlite3` update breaks `python26Packages.sqlite3` (127f5f1):

  ```
  nix-build -vvv -A python26Packages.sqlite3

  checking for resize_term... no
  checking for resizeterm... no
  checking for /dev/ptmx... yes
  checking for /dev/ptc... no
  checking for %zd printf() format support... yes
  checking for socklen_t... yes
  checking for build directories... done
  configure: creating ./config.status
  config.status: creating Makefile.pre
  config.status: creating Modules/Setup.config
  config.status: creating pyconfig.h
  creating Modules/Setup
  creating Modules/Setup.local
  creating Makefile
  building
  ln: failed to create symbolic link './pyconfig.h': File exists
  |   |   building of `/nix/store/yv65gb12a6x5lxn2kmj55r0abyf4kwmm-python-sqlite3-2.6.9.drv': got EOF
  |   |   building of `/nix/store/yv65gb12a6x5lxn2kmj55r0abyf4kwmm-python-sqlite3-2.6.9.drv': woken up
  |   |   building of `/nix/store/yv65gb12a6x5lxn2kmj55r0abyf4kwmm-python-sqlite3-2.6.9.drv': build done
  |   |   builder process for `/nix/store/yv65gb12a6x5lxn2kmj55r0abyf4kwmm-python-sqlite3-2.6.9.drv' finished
  |   |   killing all processes running under uid `30001'
  |   |   recursively deleting path `/tmp/nix-build-python-sqlite3-2.6.9.drv-1'
  |   |   builder for `/nix/store/yv65gb12a6x5lxn2kmj55r0abyf4kwmm-python-sqlite3-2.6.9.drv' failed with exit code 1
  |   |   lock released on `/nix/store/qlq92h0mihy8hwcj70m0iy99vzljwbsi-python-sqlite3-2.6.9.lock'
  |   |   building of `/nix/store/yv65gb12a6x5lxn2kmj55r0abyf4kwmm-python-sqlite3-2.6.9.drv': done
  |   building of `/nix/store/yv65gb12a6x5lxn2kmj55r0abyf4kwmm-python-sqlite3-2.6.9.drv': goal destroyed
  error: build of `/nix/store/yv65gb12a6x5lxn2kmj55r0abyf4kwmm-python-sqlite3-2.6.9.drv' failed
  ```

  I think we no longer need this workaround. This fixes the issue for me.


state: closed
title: Nixos tests for desktops
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4651
updated_at: 2014-11-02 15:34:06
body:
  The 384mb of ram is starting to be a little for tests, in particular when running the gnome test only 7mb are left free.
  Currently it's hardcoded in https://github.com/NixOS/nixpkgs/blob/master/nixos/lib/test-driver/Machine.pm.
  It should be instead specified test-by-test, or just bumped to 512mb.


state: closed
title: Haskell package sbv not recognized by ghc and ghci
user_login: meditans
html_url: https://github.com/NixOS/nixpkgs/issues/4652
updated_at: 2014-11-02 18:40:02
body:
  Hi, this is my [`~/.nixpkgs/config.nix`](http://lpaste.net/113142).
  All the packages listed there work, in the sense that they are recognised by emacs+haskellMode, ghci and ghc during normal operations.

  The package sbv, however, does not: it isn't recognized by emacs, and when I try to import it in ghci or compile a file importing it, I get an error along the lines of: 

  ```
  Could not find module ‘Data.SBV’
  Perhaps you meant Data.Set (from containers-0.5.5.1)
  Use -v to see a list of the files searched for.
  ```

  Do you have the same problem?

  Edit: I'm on nixos-unstable


state: closed
title: Fix virtualenvwrapper's PYTHONPATH
user_login: jgeerds
html_url: https://github.com/NixOS/nixpkgs/pull/4654
updated_at: 2014-11-03 21:07:22
body:
  This patch fixes the `virtualenvwrapper` issues (#66) for me. See also my comment: https://github.com/geerds/nixpkgs/commit/c1f761bac9581675036e5151d6a6a68c01255101


state: closed
title: Update Hawkthorne game to v0.12.0
user_login: campadrenalin
html_url: https://github.com/NixOS/nixpkgs/pull/4655
updated_at: 2014-10-27 18:33:57
body:
  Journey to the Center of Hawkthorne has fairly frequent releases - every 2 weeks, roughly - but I'm not planning to update the package that frequently. Even so, there's new content and bug fixes that we ought to catch up to.


state: closed
title: Ruby: 2.1.3 and Fiddle support
user_login: cstrahan
html_url: https://github.com/NixOS/nixpkgs/pull/4656
updated_at: 2014-10-26 04:49:13
body:
  This packages Ruby 2.1.3, and adds [Fiddle](http://ruby-doc.org/stdlib-2.0/libdoc/fiddle/rdoc/Fiddle.html) support for all 2.x versions.


state: closed
title: RFC: Add buildExternalNixExpression
user_login: bjornfor
html_url: https://github.com/NixOS/nixpkgs/pull/4657
updated_at: 2014-10-30 17:44:15
body:
  My attempt at answering/solving the "upstream nix expressions" question in http://lists.science.uu.nl/pipermail/nix-dev/2014-October/014734.html.

  Please have a look and give some feedback :-)

  ---

  This function is for building (external) packages that contain a
  default.nix file in their sources.

  Example usage:

  ```
    project-name = buildExternalNixExpression {
      src = fetchurl { ... };
    };
  ```


state: closed
title: ISO boot: frequent graphics problems
user_login: vcunat
html_url: https://github.com/NixOS/nixpkgs/issues/4659
updated_at: 2015-09-16 18:49:39
body:
  People tend to report they fail to boot unless with `nomodeset` flag in grub. As modesetting is hardly important during installation, I think this should be the default.

  I don't know why this happens. Maybe due to kernel being too old (for the HW in question).


state: closed
title: Wrong pulseaudio started by KDE
user_login: kirelagin
html_url: https://github.com/NixOS/nixpkgs/issues/4663
updated_at: 2014-10-27 13:38:05
body:
  I want to use bluez/avahi support in Pulseaudio and here is the issue.

  In `all-packages.nix` there are `pulseaudio` and `pulseaudioFull`, the first one comes without bluez and avahi because there is no point in including support for them when pulseaudio is built as a dependency of other derivations (according to a comment). But the pulseaudio module in NixOS adds `pulseaudioFull` to the system environment, so it might seem that everything is OK. But.

  When I log into my system pulseaudio is launched by someone else, not me. I believe it is being autostarted when KDE (phonon) tries to connect to it. Well, because KDE knows nothing about my great pulseaudio with bluez and avahi support it spawns the other one.

  I’m not really sure how to fix this. looks like the only way to go is disabling pulseaudio autostart by default and spawning it explicitly from the session init scripts or something. (BTW I wasn’t following systemd development lately, so how far are we from using systemd as the user session manager?)


state: closed
title: Make cabal install fail
user_login: vcunat
html_url: https://github.com/NixOS/nixpkgs/issues/4666
updated_at: 2015-01-14 10:55:43
body:
  People try that and don't understand why it doesn't work. I don't blame them, as one can't directly see it shouldn't work. (AFAIK it shouldn't work.)

  As @joelteon suggested, we could just patch it to print a big fat warning and fail if `cabal install` is used. And we could document haskell development in official nixpkgs docs, BTW.


state: closed
title: ~/.Xresources is not respected
user_login: anderspapitto
html_url: https://github.com/NixOS/nixpkgs/issues/4670
updated_at: 2014-11-08 18:32:59
body:
  nixos/modules/services/x11/display-managers/default.nix has code to load ~/.Xdefaults, but not ~/.Xresources, even though ~/.Xdefaults is the deprecated version of ~/.Xresources


state: closed
title: Add Meslo LG & Meslo LG DZ fonts
user_login: balajisivaraman
html_url: https://github.com/NixOS/nixpkgs/pull/4674
updated_at: 2014-10-29 16:35:15
body:
  This is a neat little font set which is missing from the package repository. It is absolutely great for coding.

  As per the [discussion](https://github.com/balajisivaraman/nixpkgs/commit/425e6965df82f381686f7c445b96b2a71fec207a#commitcomment-8315049) with @Fuuzetsu, I've updated the package to use `stdenv.mkDerivation` instead of the old `builderDefsPackage`. It seems a lot cleaner now and builds without any errors as well.


state: closed
title: cjdns: service tweaks, new NixOS test
user_login: ehmry
html_url: https://github.com/NixOS/nixpkgs/pull/4676
updated_at: 2014-11-09 20:20:36
body:
  @viric I made us a test.

  I added another patch to the package, until cjd merges upstream branches.
  https://github.com/cjdelisle/cjdns/commit/d8d0733e3ef31d4358d0869b87900d03115591f7


state: closed
title: nixos: iso-image: use syslinux bootloader for USB booting support
user_login: bobvanderlinden
html_url: https://github.com/NixOS/nixpkgs/pull/4678
updated_at: 2015-04-04 11:14:58
body:
  This changes the bootloader for iso generation from Grub to syslinux. In addition this adds USB booting support, so that "dd" can be used to burn the generated ISO to USB thumbdrives
  instead of needing applications like UnetBootin.

  Most of this is based on the ISO generation methods that is used for ArchLinux.

  ---

  Prebuilt iso by @lethalman, updated 26 Feb 2015, based on unstable release of 25 Feb 2015 (commit a869c83):
  - Graphical ISO x86_64-linux: http://lethal.noip.me/dl/nixos-graphical-15.05pre56789.gfedcba-x86_64-linux.iso (sha256: 646cc4e699613cae436cab7c22207603ef0c0995a985b6d76507e79137c4ad0a)
  - Minimal ISO x86_64-linux: http://lethal.noip.me/dl/nixos-minimal-15.05pre56789.gfedcba-x86_64-linux.iso (sha256: 97b15d201c37a8c7a19a6b60e5d24bc82dcd83edb42dabfc7a78ed23bdd3517b)

  ---

  Shared doc for tests: https://docs.google.com/spreadsheets/d/103doEIjC_Sk_nkmSq9stkVD3tbh4st_4JKYLlXAel84/edit#gid=1631478778


state: closed
title: libxml2 CVE-2014-3660
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4679
updated_at: 2014-10-27 19:07:27
body:
  Seems rather urgent: https://security-tracker.debian.org/tracker/CVE-2014-3660
  Our version is 2.9.1, need to upgrade to 2.9.2.
  Many packages depend on libxml2, don't think it's such a mass rebuild though.


state: closed
title: CUPS usage with gutenprint should be more straightful
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4680
updated_at: 2016-03-08 17:25:18
body:
  Current way to install new printers (https://nixos.org/wiki/Printers) is not really the thing user will figure out without a manual, and I think we might try to do better. Maybe add a list of installed PPDs to services.printing or something like that, but I don't really know how CUPS finds or stores PPDs, so I don't know if this really can be made better.
  # enhancement please


state: closed
title: Full support for CHICKEN eggs in Nix
user_login: the-kenny
html_url: https://github.com/NixOS/nixpkgs/pull/4682
updated_at: 2014-10-28 11:49:26
body:
  This pull request implements full support for CHICKEN Scheme in Nix. 

  For this, we had to patch CHICKEN to support `CHICKEN_REPOSITORY_EXTRA` - a search path for multiple chicken repositories. The patch itself isn't upstream yet, but will hopefully superseded in the next release.

  `fetchegg` uses `chicken-install` to retrieve eggs. `eggDerivation` is used to build any CHICKEN egg installable via `chicken-install`. A setup-hook is used to make the eggs available.

  We also wrote the [egg2nix](https://github.com/the-kenny/egg2nix) tool which can generate nix-expressions for a given list of chicken eggs including all their dependencies, just like npm2nix does for node packages.

  I'm submitting this as a Pull Request to get some feedback on the implementation of the various parts - comments are welcome!


state: closed
title: Ino/arduino-core fails to build binaries
user_login: brodul
html_url: https://github.com/NixOS/nixpkgs/issues/4688
updated_at: 2014-11-03 12:01:25
body:
  ```
  brodul:beep/ $ ino build                                                                                                                                     [19:57:01]
  Searching for Board description file (boards.txt) ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/arduino/boards.txt
  Searching for Arduino lib version file (version.txt) ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/lib/version.txt
  Detecting Arduino software version ...  1.0.6 (1.0.6)
  Searching for Arduino core library ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/arduino/cores/arduino
  Searching for Arduino standard libraries ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/libraries
  Searching for Arduino variants directory ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/arduino/variants
  Searching for make ... /run/current-system/sw/bin/make
  Searching for avr-gcc ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/tools/avr/bin/avr-gcc
  Searching for avr-g++ ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/tools/avr/bin/avr-g++
  Searching for avr-ar ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/tools/avr/bin/avr-ar
  Searching for avr-objcopy ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/tools/avr/bin/avr-objcopy
  src/sketch.ino
  Searching for Arduino lib version file (version.txt) ... /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/lib/version.txt
  Detecting Arduino software version ...  1.0.6 (1.0.6)
  /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/tools/avr/bin/avr-gcc: line 3: /nix/store/9anh71g9nc4na08cv2d655l8d8f8az44-arduino-core/share/arduino/hardware/tools/avr/bin/../bin.gcc/avr-gcc: No such file or directory
  make: *** [.build/uno/src/sketch.d] Error 127
  Make failed with code 2
  ```

  The compiler is there.

  We need to patch the requested interpreter of `avr-gcc`. Currently:
  `[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]`


state: closed
title: OpenSP fails to build on Darwin 10.10
user_login: wolverian
html_url: https://github.com/NixOS/nixpkgs/issues/4689
updated_at: 2015-03-25 16:28:03
body:
  This is unfortunate because `git` depends on it.

  ```
  gcc -c -DLOCALEDIR=\"/nix/store/0p5ya14ch65mj383nadhanzyrlwwlzj9-opensp-1.5.2/share/locale\" -DLOCALE_ALIAS_PATH=\"/nix/store/0p5ya14ch65mj383nadhanzyrlwwlzj9-opensp-1.5.2/share/locale\" -DLIBDIR=\"/nix/store/0p5ya14ch65mj383nadhanzyrlwwlzj9-opensp-1.5.2/lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/nix/store/0p5ya14ch65mj383nadhanzyrlwwlzj9-opensp-1.5.2/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -I/System/Library/Frameworks/CoreFoundation.framework/Headers -g -O2  langprefs.c
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/dispatch.h:51:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
                   from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
                   from langprefs.c:30:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/object.h:143:15: error: expected identifier or '(' before '^' token
   typedef void (^dispatch_block_t)(void);
                 ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/object.h:362:3: error: unknown type name 'dispatch_block_t'
     dispatch_block_t notification_block);
     ^
  make[2]: *** [langprefs.o] Error 1
  make[2]: Leaving directory `/private/var/folders/tb/fd9m19v57dl0tyvnb66wgw_h0000gn/T/nix-build-opensp-1.5.2.drv-0/OpenSP-1.5.2/intl'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/private/var/folders/tb/fd9m19v57dl0tyvnb66wgw_h0000gn/T/nix-build-opensp-1.5.2.drv-0/OpenSP-1.5.2'
  make: *** [all] Error 2
  builder for ‘/nix/store/47lwvadrkl0ddv9iqn42zgjxs15i31zd-opensp-1.5.2.drv’ failed with exit code 2
  ```

  This is with:

  ```
  % cc --version
  Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
  Target: x86_64-apple-darwin14.0.0
  Thread model: posix
  % gcc --version
  Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
  Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
  Target: x86_64-apple-darwin14.0.0
  Thread model: posix
  % uname -a
  Darwin blindsight.local 14.0.0 Darwin Kernel Version 14.0.0: Tue Sep 23 23:01:41 PDT 2014; root:xnu-2782.1.97~6/RELEASE_X86_64 x86_64
  ```


state: closed
title: Add more hsc3 related packages
user_login: krgn
html_url: https://github.com/NixOS/nixpkgs/pull/4691
updated_at: 2014-11-03 15:01:18
body:
  This adds the following packages to the tree:
  - [hsc3Dot](http://rd.slavepianos.org/?t=hsc3-dot)
  - [hsc3Process](https://hackage.haskell.org/package/hsc3-process)
  - [hsc3Db](http://rd.slavepianos.org/?t=hsc3-db)
  - [hsc3Lang](http://rd.slavepianos.org/?t=hsc3-lang)
  - [hsc3Server](http://hackage.haskell.org/package/hsc3-server)

  It also fixes a package marked broken, hmatrix-special, by adding a dependency to [gsl](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/gsl/default.nix).


state: closed
title: Hammer - new package
user_login: sjmackenzie
html_url: https://github.com/NixOS/nixpkgs/issues/4694
updated_at: 2014-10-29 02:34:56
body:
  - Created default.nix in `pkgs/development/tools/parsers/hammer` then added entry to `all-packages.nix`

  Contents of `default.nix`: 

  ```
      { stdenv, fetchurl, glib, pkgconfig, python, scons}:

      stdenv.mkDerivation rec {

      name = "hammer-${version}";
      version = "1.0.0-rc3";

      src = fetchurl {
          url = "https://github.com/UpstandingHackers/hammer/archive/v${version}.tar.gz";
          sha256 = "0f8xljrw0pdvbmvilac6q9r5iz5in52gp2yvm7bl4pxjwyy08h01";
      };

      buildInputs = [ glib pkgconfig python scons ];

      buildPhase = "scons prefix=$out";

      installPhase = ''
                   scons install
                   '';

      meta = with stdenv.lib; {
           description = "Hammer is a parsing library. Like many modern parsing libraries,
                     it provides a parser combinator interface for writing grammars
                     as inline domain-specific languages, but Hammer also provides a
                     variety of parsing backends. It's also bit-oriented rather than
                     character-oriented, making it ideal for parsing binary data such
                     as images, network packets, audio, and executables.";
           homepage = https://github.com/UpstandingHackers/hammer;
           license = licenses.gpl2;
           platforms = platforms.linux;
           };
      }
  ```

  The output after executing `nix-build -A hammer` is:

  ```
      [~/nixdev/nixpkgs]$ nix-build -A hammer
      these derivations will be built:
        /nix/store/692dhrjkrpsbdfx8mnqa7qgn79s7zfx0-hammer-1.0.0-rc3.drv
      building path(s) `/nix/store/zr1dja5di5kyc06fgry68fj55cclv38d-hammer-1.0.0-rc3'
      building /nix/store/zr1dja5di5kyc06fgry68fj55cclv38d-hammer-1.0.0-rc3
      unpacking sources
      unpacking source archive /nix/store/gwfian80ggrwm00fqmigrxkbym3pr66z-v1.0.0-rc3.tar.gz
      source root is hammer-1.0.0-rc3
      patching sources
      configuring
      no configure script, doing nothing
      building
      scons: Reading SConscript files ...
      Package glib-2.0 was not found in the pkg-config search path.
      Perhaps you should add the directory containing `glib-2.0.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'glib-2.0' found
      OSError: 'pkg-config --cflags --libs glib-2.0' exited 1:
        File "/tmp/nix-build-hammer-1.0.0-rc3.drv-0/hammer-1.0.0-rc3/SConstruct", line 120:
          lib = env.SConscript(["src/SConscript"], variant_dir='$BUILD_BASE/src')
        File "/nix/store/k5fbsywg0ifs7g6jankdw65w9dsf8qwv-scons-2.3.4/lib/python2.7/site-packages/SCons/Script/SConscript.py", line 551:
          return _SConscript(self.fs, *files, **subst_kw)
        File "/nix/store/k5fbsywg0ifs7g6jankdw65w9dsf8qwv-scons-2.3.4/lib/python2.7/site-packages/SCons/Script/SConscript.py", line 260:
          exec _file_ in call_stack[-1].globals
        File "/tmp/nix-build-hammer-1.0.0-rc3.drv-0/hammer-1.0.0-rc3/build/opt/src/SConscript", line 82:
          testenv.ParseConfig('pkg-config --cflags --libs glib-2.0')
        File "/nix/store/k5fbsywg0ifs7g6jankdw65w9dsf8qwv-scons-2.3.4/lib/python2.7/site-packages/SCons/Environment.py", line 1579:
          return function(self, self.backtick(command))
        File "/nix/store/k5fbsywg0ifs7g6jankdw65w9dsf8qwv-scons-2.3.4/lib/python2.7/site-packages/SCons/Environment.py", line 597:
          raise OSError("'%s' exited %d" % (command, status))
      builder for `/nix/store/692dhrjkrpsbdfx8mnqa7qgn79s7zfx0-hammer-1.0.0-rc3.drv' failed with exit code 2
      error: build of `/nix/store/692dhrjkrpsbdfx8mnqa7qgn79s7zfx0-hammer-1.0.0-rc3.drv' failed
  ```
  - I've echo'ed `$PKG_CONFIG_PATH` on my system (after creating an environment for the build) and glib is certainly on the `$PKG_CONFIG_PATH`.

  ```
  pythonEnv:[stewart@rivergod:~/nixdev/nixpkgs/pkgs/development/tools/parsing/hammer]$ pkg-config --cflags --libs glib-2.0
  -I/nix/store/5lg0s2rxgb5g2hhnld4aclhc2l7sx73y-glib-2.40.0/include/glib-2.0 -I/nix/store/5lg0s2rxgb5g2hhnld4aclhc2l7sx73y-glib-2.40.0/lib/glib-2.0/include -L/nix/store/5lg0s2rxgb5g2hhnld4aclhc2l7sx73y-glib-2.40.0/lib -lglib-2.0 

  pythonEnv:[stewart@rivergod:~/nixdev/nixpkgs/pkgs/development/tools/parsing/hammer]$ echo $PKG_CONFIG_PATH
  /home/stewart/.nix-profile/lib/pkgconfig:/nix/var/nix/profiles/default/lib/pkgconfig:/run/current-system/sw/lib/pkgconfig:/nix/store/2rv6ya6sdkbfmpsrclzpknyl7myfpkqy-python-2.7.8/lib/pkgconfig:/nix/store/5lg0s2rxgb5g2hhnld4aclhc2l7sx73y-glib-2.40.0/lib/pkgconfig:/nix/store/6jvr2bi18p8dvgmw9l4akicd5ww4l0gq-pcre-8.35/lib/pkgconfig:/nix/store/9ikh5ifbi15iq2d9kcgmg28kzzzw2jx1-zlib-1.2.8/lib/pkgconfig:/nix/store/by51b7f4rph8q6gf3g0i3dm0vyb20jhb-libffi-3.0.13/lib/pkgconfig:/nix/store/65mvlkllg9sg0q88fad8mj4sxl89lr3f-PyQt-x11-gpl-4.10.2/lib/pkgconfig:/nix/store/2xbjdzbqh75iyb848gyrvj0xi9vg5cx7-liblapack-3.4.1/lib/pkgconfig:/nix/store/s1n8g01x9slks39amxigr6l21gz2kp6n-freetype-2.5.3/lib/pkgconfig:/nix/store/xi6jimqv2gaxq8hks3vx9imnipmwizqv-libpng-1.6.13/lib/pkgconfig
  ```

  (Note I ask this here as IRC is currently asleep)


state: closed
title: oraclejdk: bump to 8u25, 7u71, and 7u72
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/4696
updated_at: 2014-10-28 12:26:38
body:
  Updates Oracle JDK 7 and 8.

  From this version, Oracle provides two versions of JDK 7.
  - JDK 7u71 is a Critical Patch Update (CPU) containing security and critical bug fixes.
  - JDK 7u72 is a Patch Set Update (PSU) containing fixes of the CPU as well as non-critical fixes.

  They says "Oracle strongly recommends that all Java SE users upgrade to the latest CPU release available for a release family. Most users should choose the CPU release."
  http://www.oracle.com/technetwork/java/javase/downloads/cpu-psu-explained-2331472.html

  oraclejdk7 is the CPU package. I added oraclejdk7psu for PSU version.


state: closed
title: Optional tor static builds
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/pull/4699
updated_at: 2015-08-19 20:59:53
body:
  I need this for portable tor client. This also add optional static builds for openssl and libevent.


state: closed
title: Added ghcid-0.2
user_login: jirkamarsik
html_url: https://github.com/NixOS/nixpkgs/pull/4705
updated_at: 2014-10-30 12:24:42
body:
  The .nix file was generated by cabal2nix. However, I still had to set `doCheck = false` since some of the tests try to run `cabal repl` which presupposes access to `$HOME/.cabal` and thus cannot be done from the Nix sandbox where `HOME = /homeless-shelter`.


state: closed
title: stdenv: Prevent issues like #4266
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/pull/4709
updated_at: 2014-11-03 20:56:36
body:
  This causes a full rebuild due to touching stdenv.

  This should fix #4266 and would allow reverting the ugly hack #4273.

  It also introduces `--reflink=auto` which greatly speeds up copying on filesystems that support reflinks.


state: closed
title: Remove stumpwmContrib from top-level and fix runtime dependency on it
user_login: DerGuteMoritz
html_url: https://github.com/NixOS/nixpkgs/pull/4710
updated_at: 2014-10-29 14:17:49
body:
  This patch removes the stumpwmContrib package from the top-level since
  it can't sensibly be used on its own. Also, it wraps the stumpwm
  executable with a dummy reference to the contrib dir to work around the
  issue that the stumpwm executable doesn't reference the contrib dir
  that's passed in the configure phase for some reason.


state: closed
title: cups/sane problems for multi-functional devices
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4711
updated_at: 2014-12-18 00:25:02
body:
  When multi-functional device which can act both as a scanner or as a printer gets attached, its device node gets either "lp" or "scanner" owner group, and if it got the latter, CUPS can't work with this device at all. I had to manually chgrp device as a quick workaround.

  That problem also bit me on Arch Linux, but then it was fixed -- I can't remember exactly how (maybe even by myself), but I suppose that though adding "cups" user to the "scanner" group or something like that (and vice versa).


state: closed
title: IDEA Editor: Adds PHPStorm support
user_login: ghost
html_url: https://github.com/NixOS/nixpkgs/pull/4712
updated_at: 2014-10-30 13:03:15
body:
  This change extends the IDEA package to support PHPStorm. This differs from the existing builds, as PHPStorm makes use of the Java port of Snappy, so no patching should be necessary.

  This is my first attempt at writing a package in Nix, so I would appreciate all suggestions for how this could be improved.


state: closed
title: changing fcitx to be implemented as a wrapper in order to use plugins
user_login: cdepillabout
html_url: https://github.com/NixOS/nixpkgs/pull/4713
updated_at: 2014-12-18 08:34:05
body:
  The plugin system in fctix is not very nice to work with.  Plugins are distributed as separate packages, but they must be installed into the same directory path as fcitx itself.  fcitx doesn't have any sort of
  option to look in a different directory path for it's plugins.

  For instance, if you install plugins separately like below, there is no way to tell fcitx where to look for them:

  `/nix/store/xxxxxxxx-plugin1/lib/fcitx/plugin1.so`

  `/nix/store/xxxxxxxx-plugin2/lib/fcitx/plugin2.so`

  The only solution is to install the plugins with fcitx itself.  This commit creates a wrapper fcitx package that makes it possible to enable or disable plugins.  A user can enable plugins for fcitx much like
  enabling plugins for firefox or chrome.

  There are also two default fcitx packages available, one with no plugins and one will all plugins enabled.  This should provide binary packages for users that don't want to compile fcitx (but still may want to use
  plugins).

  Currently the only plugin available is the anthy plugin.

  This fixes the issue at #4550.  The issue was raised upstream at fcitx/fcitx#179, but the author doesn't seem to have any desire to fix this problem.


state: closed
title: Fix quassel sha256
user_login: titanous
html_url: https://github.com/NixOS/nixpkgs/pull/4717
updated_at: 2014-10-29 14:57:34
body:
  This didn't get updated in 9c064a72dee0ddaa108dfc5e8776b5e5ee681e1e. See this failure: http://hydra.nixos.org/build/16546419


state: closed
title: Cannot install clojure and leiningen into the same environment
user_login: teh
html_url: https://github.com/NixOS/nixpkgs/issues/4720
updated_at: 2014-12-20 05:57:11
body:
  With leiningen already installed:

  ```
  $ nix-env -i clojure
  installing ‘clojure-1.6.0’
  building path(s) ‘/nix/store/w98fhpm1bikhl0sy3gzq6srpz9v1i6bm-user-environment’
  Wide character in die at /nix/store/jjgyvh88yw37gg5ad5lj1z0qdv31d7jy-buildenv.pl line 79.
  collision between ‘/nix/store/hdz9wcfdhs9gsr8vpikrhdjlld571hpk-clojure-1.6.0/share/java/clojure.jar’ and ‘/nix/store/acyzkn23ji7zd6h07cy24s529hzizizm-leiningen-2.5.0/share/java/clojure.jar’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
  builder for ‘/nix/store/mrg2kbipa3zf8739dhpc4iqppv46g2rw-user-environment.drv’ failed with exit code 255
  error: build of ‘/nix/store/mrg2kbipa3zf8739dhpc4iqppv46g2rw-user-environment.drv’ failed
  ```


state: closed
title: Cleanups of legacy gst-python package
user_login: rycee
html_url: https://github.com/NixOS/nixpkgs/pull/4721
updated_at: 2014-11-01 23:07:53
body:
  These two commits
  1. Replace the `pygtk` dependency by `pygobject`, this reduces the total amount of dependencies necessary.
  2. Adds a patch that disables the Preroll.testFake test case since it fails due to a [bug in pygobject](https://bugzilla.gnome.org/show_bug.cgi?id=692479).


state: closed
title: Travis fails because of removed jfsrec
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/issues/4725
updated_at: 2014-10-30 00:23:12
body:
  Travis has been giving build failures because of this:

  ```
  error: getting status of `/home/travis/build/NixOS/nixpkgs/pkgs/tools/filesystems/jfsrec': No such file or directory
  ```

  commit 06f8885609c136eb4ee1779635f0c58bca3ac5f3 seems to be at fault here..

  The reason I didn't just fix this this bug and push upstream is because there are two different ways to approach this and I'm not sure which the best course of action is.
  a) jfsrec removal was intentional, remove all references to jfsrec
  b) restore jfsrec

  Here is a listing of all current things pointing to jfsrec:

  ```
  nixos/modules/profiles/base.nix:37:    #pkgs.jfsrec # disabled because of Boost dependency
  nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix:79:      pkgs.jfsrec
  pkgs/top-level/all-packages.nix:1478:  jfsrec = callPackage ../tools/filesystems/jfsrec {
  pkgs/top-level/release.nix:132:      jfsrec = linux;
  ```


state: closed
title: wget: Update to 1.16 (fix CVE-2014-4877)
user_login: fpletz
html_url: https://github.com/NixOS/nixpkgs/pull/4728
updated_at: 2014-10-30 10:57:53
body:
  This patch updates wget to the current version, 1.16. This release fixes a remotely exploitable security issue: CVE-2014-4877.

  A dependency on libidn was added and the testsuite now depends on python3. A hack for the perl part of the testsuite and a patch that disables a test were removed because they are not needed anymore.

  As I intend to take care of wget in the future, I added myself to the maintainers.


state: closed
title: ifuse: new expression
user_login: deepfire
html_url: https://github.com/NixOS/nixpkgs/pull/4729
updated_at: 2014-10-30 20:33:21
body:
  http://www.libimobiledevice.org;
  A fuse filesystem implementation to access the contents of iOS devices

  Mount directories of an iOS device locally using fuse. By default the media directory is mounted, options allow to also mount the sandbox container of an app, an app's documents folder or even the root filesystem on jailbroken devices.'


state: closed
title: optional config for teamviewer
user_login: shdpl
html_url: https://github.com/NixOS/nixpkgs/pull/4730
updated_at: 2014-11-09 10:43:17
body:
  update for #4542
  I'm not sure if nix rebuilt my package after changes, which means i'm not sure if this kind "or" statement will always work correctly, but i hope you'll verify my noob commits :)


state: closed
title: Added ocaml-vg-0.8.1 and deps ocaml-otfm-0.2.0 and ocaml-gg-0.9.0
user_login: jirkamarsik
html_url: https://github.com/NixOS/nixpkgs/pull/4731
updated_at: 2014-11-03 12:59:26
body:
  NB: Loading the HTML canvas backend of Vg crashes with `Unimplemented Javascript primitive caml_js_var!`. This seems to be a bug with the Nixpkgs packaging of js_of_ocaml, since it can be reproduced by just trying to load js_of_ocaml into the Ocaml toplevel.


state: closed
title: Leiningen depends unnecessarily on Clojure
user_login: henrytill
html_url: https://github.com/NixOS/nixpkgs/issues/4732
updated_at: 2014-11-03 14:45:54
body:
  Restating my comment from #4720:

  Clojure is not needed as a dependency for Leiningen.  

  Currently, in common usage outside of the Nix ecosystem, Leiningen itself is used to download and install the Clojure jar along with any other project dependencies into the user's `$HOME/.m2` directory.  AFAIK, Leiningen is a shell script along with a standalone jar that only requires the JDK to run.  Installing Clojure separately is unnecessary, as Leiningen will do it for you the first time you invoke `lein repl`, `lein run`, or other such commands.

  The current Leiningen expression works fine, but installs a copy of the Clojure jar which isn't needed for a normal Leiningen-based workflow.  I have a local version of the Leiningen expression with the Clojure dependency stripped out that builds without a hitch, and seems to work just fine on NixOS and Linux + Nix.

  Any further insight on this?

  CC: @the-kenny


state: closed
title: Fix version.h in libmsgpack
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4736
updated_at: 2014-10-31 09:12:41
body:
  Without this you can't include msgpack.h (because of non-existent msgpack/version.h) Upstream has new build script in master, so they won't accept this now.


state: closed
title: webkitgtk: 2.6.1 -> 2.6.2
user_login: k0ral
html_url: https://github.com/NixOS/nixpkgs/pull/4738
updated_at: 2014-11-17 22:41:26
body:
  This is the continuation of #4544 .
  Although it should be pretty safe, I had no time to build it myself, it takes ages on my machine...


state: closed
title: boost156: remove separate lib directory
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4739
updated_at: 2014-10-31 09:11:56
body:
  This is more of a question than a PR -- why do we have separate -lib output for Boost 1.56? I was stuck for some time wondering where had /lib disappeared. It also is not included into LIBRARY_PATH, so my package for which I've tried to use it failed to link. (with this patch it works) Also -- how can I access this separate -lib output from another package?

  CC @peti @wkennington (maintainers) Thanks for the answers!


state: closed
title: Support bcache volumes in initrd
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4742
updated_at: 2014-11-02 17:39:35
body:
  This adds support for registering bcache volumes on demand using udev. To minimize amount of things added to initrd this also changes udev rule provided by bcache-tools to have lesser dependencies.


state: closed
title: mutableUsers regression
user_login: kosmikus
html_url: https://github.com/NixOS/nixpkgs/issues/4747
updated_at: 2014-10-31 18:45:06
body:
  It seems that `mutableUsers` causes a serious security issue.

  The documentation claims that `mutableUsers = true` is the default and behaves as NixOS did previously, but that doesn't seem to be true.

  I have users declared in `/etc/nixos/configuration.nix` as follows:

  ```
  users.extraUsers."someone" =
    { createHome = true;
      description = "Someone";
      extraGroups = [ "wheel" "users" ];
      group = "someone";
      home = "/home/someone";
      password = "something";
      useDefaultShell = true;
      uid = 1111;
    };
  ```

  This is how I always create new users on my systems. I declare them, but then let users change their initial password to something more secure. Now it seems that even with `mutableUsers = true`, the passwords of every user of the system are reset to the contents of `password`.

  This appears to be in violation of the documentation, which says:

  > `users.extraUsers.<name?>.password`
  >     Specifies the (clear text) password for the user. Warning: do not set confidential information here because it is world-readable in the Nix store. This option should only be used for public accounts. The options `hashedPassword`, `password` and `passwordFile` controls what password is set for the user.  `hashedPassword` overrides both `password` and `passwordFile`.  `password` overrides `passwordFile`. If none of these three options are set, no password is assigned to the user, and the user will not be able to do password logins. **If the option `users.mutableUsers` is `true`, the password defined in one of the three options will only be set when the user is created for the first time**. After that, you are free to change the password with the ordinary user management commands. If `users.mutableUsers` is `false`, you cannot change user passwords, they will always be set according to the password options.

  This is very dangerous, because it is a change in behaviour, and it may cause passwords to be reset to unsecure default values without warning.

  /cc @edolstra 


state: closed
title: sshd does not start when listenAddresses is set to an bridge interface
user_login: robberer
html_url: https://github.com/NixOS/nixpkgs/issues/4748
updated_at: 2017-08-18 11:59:59
body:
  This applies only at boot because sshd is startet before the bridge interfaces are ready.

  ```
  sshd[1822]: error: Bind to port 64022 on 1.1.1.1 failed: Cannot assign requested address.
  sshd[1822]: error: Bind to port 22 on 192.168.77.222 failed: Cannot assign requested address.
  sshd[1822]: fatal: Cannot bind any address.
  systemd[1]: sshd.service never wrote its PID file. Failing.
  systemd[1]: Failed to start SSH Daemon.
  systemd[1]: Unit sshd.service entered failed state.
  systemd[1]: Started X11 Server.
  kernel: Bridge firewalling registered
  systemd[1]: Found device /sys/subsystem/net/devices/br1.
  systemd[1]: Starting Configuration of br1...
  kernel: device eth0 entered promiscuous mode
  kernel: device eth1 entered promiscuous mode
  systemd[1]: Found device /sys/subsystem/net/devices/br0.
  systemd[1]: Starting Configuration of br0...
  br1-cfg-start[1847]: bringing up interface...
  br0-cfg-start[1848]: bringing up interface...
  ```


state: closed
title: GhcMod not working with haskell-ghc-mod-ghc7.8.3-5.1.1.0-shared
user_login: PierreR
html_url: https://github.com/NixOS/nixpkgs/issues/4749
updated_at: 2014-11-04 19:41:35
body:
  I have successfully installed ghc-mod from nixpkgs (unstable channel):

  ```
  @nixos ~ > nix-env -iA nixpkgs.haskellPackages.ghcMod
  installing `haskell-ghc-mod-ghc7.8.3-5.1.1.0-shared'
  building path(s) `/nix/store/pjb6dcvk6vxjmxxa8s6qfam5480rmjy5-user-environment'
  created 4437 symlinks in user environment

  nixos ~ > nix-env -q haskell-ghc-mod-ghc7.8.3
  haskell-ghc-mod-ghc7.8.3-5.1.1.0-shared
  ```

  But then whenever I try it I have got:

  ```
  @nixos ~ > ghc-mod      
  ghc-mod: unknown command: `-g'
  ```

  Here is the output within emacs:

  ```
  Version: all versions must be the same.
        ghc.el version v5.1.1.0
       ghc-mod: unknown command: `-g'
      ghc-modi version 5.1.1.0 compiled by GHC 7.8.3
      The Glorious Glasgow Haskell Compilation System, version 7.8.3

  Environment variables:
      PATH=/home/vagrant/bin:/var/setuid-wrappers:/home/vagrant/.nix-profile/bin:/home/vagrant/.nix-profile/sbin:/home/vagrant/.nix-profile/lib/kde4/libexec:/nix/var/nix/profiles/default/bin:/nix/var/nix/profiles/default/sbin:/nix/var/nix/profiles/default/lib/kde4/libexec:/run/current-system/sw/bin:/run/current-system/sw/sbin:/run/current-system/sw/lib/kde4/libexec
  ```

  Thanks for your help.


state: closed
title: Add buildCores option to nix
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4750
updated_at: 2014-11-01 21:02:18
body:
  This allows setting maximum number of cores used during one build in NixOS. Warning in description is provided about potentially non-deterministic builds.


state: closed
title: Added ocaml-cairo2-0.4.6
user_login: jirkamarsik
html_url: https://github.com/NixOS/nixpkgs/pull/4751
updated_at: 2014-10-31 13:33:23
body:
  Added the OCaml bindings to Cairo from http://forge.ocamlcore.org/projects/cairo, known to findlib and opam as `cairo2`.


state: closed
title: Removed leaveDotGit from fetchgit, since it's broken by design.
user_login: madjar
html_url: https://github.com/NixOS/nixpkgs/pull/4752
updated_at: 2014-11-10 15:18:13
body:
  fetchgit with leaveDotGit can never be deterministic, since the
  resulting .git can change whenever the upstream repository
  changes.

  Since it is impossible for git to download a single commit, fetchgit
  downloads the whole repository and searches for the specific
  commit. This means that the resulting .git contains the whole
  repository, including any commit that was made after the one we
  want. This also mean that adding any commit to the repository will add
  it to prefetch's .git, thus changing its hash, and making it impossible
  to make it deterministic.


state: closed
title: scala: Bump up version from 2.11.2 to 2.11.4
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/4753
updated_at: 2014-11-02 00:00:36
body:
  “Scala 2.11.4 is a bugfix release that is binary compatible with previous releases in the Scala 2.11 series.″
  http://www.scala-lang.org/news/2.11.4


state: closed
title: kernel security: set nx bit on module ro segments.
user_login: alexanderkjeldaas
html_url: https://github.com/NixOS/nixpkgs/pull/4757
updated_at: 2016-06-03 13:43:27
body:
  This is a config setting I saw that Ubuntu uses 

  https://wiki.ubuntu.com/Security/Features#module-ronx


state: closed
title: Quasselclient fails to load fonts
user_login: pSub
html_url: https://github.com/NixOS/nixpkgs/issues/4760
updated_at: 2014-11-07 09:45:16
body:
  Quasselclient (on unstable) does not display fonts for me (every character is a black square) on start it shows the following message

  `Fontconfig warning: line 26: empty font directory name ignored`


state: closed
title: badvpn: Add debug flag to enable assertions.
user_login: ambrop72
html_url: https://github.com/NixOS/nixpkgs/pull/4762
updated_at: 2014-11-03 13:07:28
body:
  This adds a "debug" flag to prevent NDEBUG from being passed, enabling assertions.

  This works by setting the CMAKE_C_FLAGS to whatever we need them to be, while setting the CMAKE_BUILD_TYPE back to empty (set to Release by the default builder). Because otherwise -DNDEBUG would be added by cmake on top of our flags, nullifying the effect.

  It would be nice to do this in a way that all cmake packages would have this functionality automatically, but right now I really need this.


state: closed
title: allowUnfree in configuration.nix doesn't enable instantiating unfree packages
user_login: puffnfresh
html_url: https://github.com/NixOS/nixpkgs/issues/4766
updated_at: 2014-11-01 16:26:38
body:
  I've put allowUnfree in my system's configuration.nix when I was first installing:

  ```
  { config, pkgs, ... }:

  {
    nixpkgs.config = {
      allowUnfree = true;
      # more stuff
    };

    # more stuff
  }
  ```

  And it seems like the setting is active:

  ```
  $ nix-instantiate --eval -E '(import <nixos> {}).config.nixpkgs.config.allowUnfree'
  true
  ```

  But when trying to access an unfree package, I get told to use the setting which I already am:

  ```
  $ nix-instantiate --eval -E '(import <nixpkgs> {}).pkgs.skype'                 
  error: Package ‘skype-4.3.0.37’ in ‘/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/pkgs/applications/networking/instant-messengers/skype/default.nix:67’ has an unfree license, refusing to evaluate.
  You can set
    { nixpkgs.config.allowUnfree = true; }
  in configuration.nix to override this. If you use Nix standalone, you can add
    { allowUnfree = true; }
  to ~/.nixpkgs/config.nix.
  ```


state: closed
title: nix-prefetch-git: fix determinism with leaveDotGit
user_login: bjornfor
html_url: https://github.com/NixOS/nixpkgs/pull/4767
updated_at: 2014-11-03 21:55:11
body:
  Remove all remote branches, remove tags not reachable from the given
  'rev', do a full repack and then garbage collect unreferenced objects.

  According to my testing, the result is fully deterministic. As in "any
  change done to the upstream repo, ahead of 'rev', will not affect the
  output hash". But only time will tell.

  A new version of git can of course change store format, but that's
  unavoidable.

  For big repositories, the repack operation may be a bit heavy. But as
  far as I can see there is no cheaper way to determinism.


state: closed
title: rxvt-unicode: Terminfo missing
user_login: ertes
html_url: https://github.com/NixOS/nixpkgs/issues/4768
updated_at: 2015-02-24 16:31:08
body:
  With the last update the terminfo files of rxvt-unicode (e.g. rxvt-unicode-256color) are no longer installed.  Looking at the closure of rxvt-unicode reveals that they are still in the store, but they don't get added to the user environment:

  ```
  % nix-store -qR ~/.nix-profile/bin/urxvt
  ...
  /nix/store/wd411hjbwx6vh5nhz898gi2mxxld6k6l-rxvt-unicode-9.20-with-perl-with-unicode3-terminfo
  /nix/store/bzr5jnzjr2kd2xwpljl51vbl1j1lhvhz-rxvt-unicode-9.20-with-perl-with-unicode3
  /nix/store/f0mchnya10pg8bx7nj36basszbq4hssc-urxvt-perls
  /nix/store/kcn8fwga4803n2nw6md5ykdmswbs9r5n-urxvt-tabbedex
  /nix/store/bag91pgd78flx49kzsdpbh4hwgk5wmrb-rxvt-unicode-9.20-with-perl-with-unicode3-with-plugins
  ```

  While this is probably easy to fix, ultimately we should perhaps start to separate the terminfo files of terminal emulators into separate packages.  You often need them where you don't need the corresponding terminal emulator, for example on servers.


state: closed
title: Bump git-repo to 1.21
user_login: ajbouh
html_url: https://github.com/NixOS/nixpkgs/pull/4775
updated_at: 2014-11-02 00:58:18
body:
  Still no versioned URL, but there’s been a new release. SHA1 pulled
  from http://source.android.com/source/downloading.html#installing-repo.


state: closed
title: pidgin-latex: replace with SF one and fix
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4776
updated_at: 2014-11-02 11:31:07
body:
  This fixes and updates pidginlatexSF and replaces pidginlatex with it. Also fixes https://github.com/NixOS/nixpkgs/issues/4681.


state: closed
title: xbmc: Desktop file not picked up due to wrapper.
user_login: ambrop72
html_url: https://github.com/NixOS/nixpkgs/issues/4777
updated_at: 2014-11-03 09:19:52
body:
  The commit 9d4e344b460935cbdb569f137431b63be322fa28 introduces a regression. Due to a wrapper on top of the base xmbc package, the .desktop file is not picked up by the DE if on has xmbc installed in the profile.


state: closed
title: lsof-4.87 fails on Mac OS X 10.9
user_login: m-a-t
html_url: https://github.com/NixOS/nixpkgs/issues/4778
updated_at: 2018-02-06 07:09:19
body:
  I tried on 28.10.2014 to build git-annex from source (<code>nix-env --option use-binary-caches false -i git-annex</code>) on Mac OS X 10.9 in a fresh nix store. It fails with

  ```
  lsof_4.87_src/lsof.8
  lsof_4.87_src/lsof.man
  patching sources
  configuring
  ./Configure: line 39: which: command not found
  Unknown Darwin release: 13.3.0
  Assuming Darwin 11.0
  FATAL: can't find libproc.h
  builder for `/nix/store/jfkx0f8gxc72z8hxwnzbnd4qfydn4nyr-lsof-4.87.drv' failed with exit code 1
  cannot build derivation `/nix/store/izb60y2ak445zfkxikn8kbdb5izr0z68-git-annex-5.20141013.drv': 1 dependencies couldn't be built
  ```


state: closed
title: frostwire: initial working package
user_login: gavinrogers
html_url: https://github.com/NixOS/nixpkgs/pull/4779
updated_at: 2014-11-04 20:03:52
body:
  This installs from the official frostwire tarball. Similar to the
  jdiskreport package. Everything works fine on the systems I've tried.


state: closed
title: kernel: Enable PPP_FILTER by default.
user_login: ambrop72
html_url: https://github.com/NixOS/nixpkgs/pull/4780
updated_at: 2014-11-08 11:41:15
body:
  pppd will try to use it to improve efficiency and complain if it's not available
  (but is is not mandatory).


state: closed
title: Staging is unmergeable
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4781
updated_at: 2014-11-14 21:12:13
body:
  For the 14.11 I'm sure people wants staging stuff into master. This is not possible as tests don't pass since a lot of time: http://hydra.nixos.org/jobset/nixos/staging


state: closed
title: Broken mono applications
user_login: vbgl
html_url: https://github.com/NixOS/nixpkgs/issues/4782
updated_at: 2015-01-21 12:54:47
body:
  I can’t manage to build neither `fspot` nor `monodoc` (and hence `monodevelop` that depends on `monodoc`). Am I doing something wrong or are these packages broken?

  I don’t know how to fix the derivations. They don’t have any maintainer. The packaged version of monodevelop is _very_ outdated (~2005).

  Suggestion: remove these three derivations from nixpkgs.


state: closed
title: ocamlscript: new derivation
user_login: vbgl
html_url: https://github.com/NixOS/nixpkgs/pull/4783
updated_at: 2014-11-04 01:17:55
body:
  Ocamlscript compiles scripts, i.e. one-file programs, into
  natively-compiled binaries, and executes them.

  Homepage: http://mjambon.com/ocamlscript.html


state: closed
title: Zim pkg fails to start -
user_login: rand00
html_url: https://github.com/NixOS/nixpkgs/issues/4786
updated_at: 2015-03-09 16:34:44
body:
  Zim fails to start (but it builds) - I'm using the 'nixos-unstable' channel

  ```
  ** (process:1938): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

  ** (process:1938): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

  ** (process:1938): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
  WARNING: Can not import 'xdg.Mime' - falling back to 'mimetypes'
  Traceback (most recent call last):
    File "/nix/store/bv6x3wwywwrnaal8nnfi89dnjw8igzln-zim-0.60/bin/.zim-wrapped", line 38, in <module>
      import zim
    File "/nix/store/bv6x3wwywwrnaal8nnfi89dnjw8igzln-zim-0.60/lib/python2.7/site-packages/zim/__init__.py", line 192, in <module>
      % map(str, zim.config.data_dirs())
  AssertionError: ERROR: Could not find data files in path: 
  ['/root/.local/share/zim', '/root/.nix-profile/share/zim', '/nix/var/nix/profiles/default/share/zim', '/run/current-system/sw/share/zim']
  Try setting XDG_DATA_DIRS

  ```

  pkg-link https://github.com/NixOS/nixpkgs/tree/701cd705024d81b137f2ce0f3abf4730ec760b9a/pkgs/applications/office/zim


state: closed
title: sage fixes
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/4788
updated_at: 2014-11-03 10:23:33
body:
  These patches fix metadata and updates the download URL for the sage package (see #4784).
  Note that version 6.1.1 is obsolete, but version 6.3 will not build for me.
  I assume 6.1.1 once did build for someone and have opted to fix the url rather
  than do a version bump.


state: closed
title: Document the new live cd boot on usb stick
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4795
updated_at: 2014-11-02 22:25:56
body:
  In git master the hybrid image for the live cd iso has landed. Now it can boot both on usb and efi simply by burning the iso on the usb stick.
  Documentation on the wiki has been updated: https://nixos.org/wiki/Installing_NixOS_from_a_USB_stick

  The nixos manual is however outdated for 14.11, and I know nothing about EFI: http://nixos.org/nixos/manual/#idm140067877774400

  cc @bobvanderlinden


state: closed
title: Add gitlab and gitlab-shell.
user_login: teh
html_url: https://github.com/NixOS/nixpkgs/pull/4796
updated_at: 2014-12-16 15:26:04
body:
  I had to make several adjustments to make it work with nixos:
  - Replace relative config file lookups with ENV variable.
  - Modify gitlab-shell to not clear then environment when running
    pre-receive.
  - Modify gitlab-shell to write some environment variables into
    the .authorized_keys file to make sure gitlab-shell reads the
    correct config file.

  The current version requires the user to install the gitlab-shell
  package into the systemPackages environment because
  /run/current-system/sw/bin/gitlab-shell is hard-coded in the
  .authorized_keys file.


state: closed
title: boost 1.55: Add Boost.MPI (optional)
user_login: aherrmann
html_url: https://github.com/NixOS/nixpkgs/pull/4800
updated_at: 2014-11-15 23:59:10
body:
  [Boost.MPI](http://www.boost.org/doc/libs/1_55_0/doc/html/mpi.html) is a C++ interface library to the message passing interface (MPI) standard.

  Please note: I do not consider this ready for merge, yet. I'm pretty sure, that this doesn't work correctly with cross-builds, and I'm not so sure if it really is the right way to add the boost.mpi library. However, since this is a fairly complex package, I was hoping for a discussion on how to do this right instead of blindly poking into it myself.


state: closed
title: gvfs: add mtp support
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4802
updated_at: 2014-11-03 14:02:58
body:
  With this and "services.udev.packages = [ libmtp ];" MTP works for Nautilus, Thunar and other gvfs-using file managers (tested with Android phone).


state: closed
title: Switch to Perl 5.20
user_login: edolstra
html_url: https://github.com/NixOS/nixpkgs/issues/4805
updated_at: 2014-12-09 21:41:31
body:
  Master is still on Perl 5.16, which is EOL, so we should update for the upcoming NixOS release.

  Jobset: http://hydra.nixos.org/jobset/nixos/perl-5.20


state: closed
title: ZFS improvements
user_login: wizeman
html_url: https://github.com/NixOS/nixpkgs/pull/4807
updated_at: 2015-08-13 07:20:07
body:
  This PR does the following:
  - Uses the upstream systemd services by default (including the one for zed - the ZFS Event Daemon)
  - Reimplements the ZFS pool import service so that:
    - We do not fail if there are no ZFS pools to import
    - We not rely on `/etc/zfs/zpool.cache`, which eliminates some issues
    - Instead, the ZFS pools to import have to be specified in `configuration.nix`
    - To avoid issues and make configuration simpler, NixOS will automatically infer the necessary ZFS pools to import for ZFS filesystems which are defined in `fileSystems.*`
    - For ZFS pools which are not mentioned in `fileSystems.*`, the user will have to add them to `boot.zfs.extraPools` if they want them to be automatically imported on every boot
    - Please note that the way in which this PR is now importing ZFS pools is more or less the direction in which upstream ZFS seems to be moving towards
  - Added option to disable force import (i.e. `--force / -f`) of ZFS pools. Currently, we still force-import by default to maintain backwards compatibility with NixOS systems that don't have the host ID recorded in their ZFS pool labels, but once most people upgrade to this PR we should disable force-importing by default
  - Reimplement SPL's host ID configuration so that:
    - The SPL now correctly picks up the host ID defined in `configuration.nix` (this wasn't happening before due to a bug in the SPL)
    - The host ID is now configured system-wide by writing it to `/etc/hostid`, which makes the ZFS userspace tools agree with the kernel as to what the host ID is. It also makes glibc (and therefore, other unrelated applications) pick up the host ID defined in `configuration.nix`
    - Renamed `boot.spl.hostid` to `networking.hostId`, to make it clear that the host ID is a system-wide config option and not tied to the SPL. I've put it under `networking` because it closely resembles `networking.hostName` in terms of purpose
    - Only allow ZFS to be enabled if `networking.hostId` is set. Otherwise, ZFS pools will not record the host ID in the vdev labels and it will be impossible to open or import a ZFS pool without passing the `--force / -f` parameter
  - Make `nixos-generate-config` generate a random 32-bit host ID by default (when installing NixOS). This makes the host ID more reliable than falling back to the default glibc behavior of generating a host ID based on the IP address, which can change quite often and conflict with other machines in the same network in some cases. It also makes using ZFS easier by not requiring the user to worry about manually generating a host ID themselves and adding it to `configuration.nix`

  The commit messages contain a bit more details regarding the issues above.


state: closed
title: Steam
user_login: jagajaga
html_url: https://github.com/NixOS/nixpkgs/issues/4809
updated_at: 2017-12-24 00:39:36
body:
  There is NO way to make `steam` acting as a normal pkg? I mean no way to get it out of the chroot jail and run it just by typing `steam`?


state: closed
user_login: dysinger
html_url: https://github.com/NixOS/nixpkgs/issues/4816
updated_at: 2014-11-05 01:11:55
title:
  Forced to set networking.wireless.enable = false; in order to install Gnome but Network Manager isn't working.

body:
  ![image](https://cloud.githubusercontent.com/assets/447/4891212/c81e468e-63a5-11e4-843f-506da74e6794.png)


state: closed
title: Add mirrors for sage
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/4817
updated_at: 2014-11-04 19:18:48
body:
  The list includes mirrors that observe the expected name pattern and that responded within a
  reasonable time limit (a few seconds) during testing.


state: closed
title: libcec: patch dlopen path
user_login: titanous
html_url: https://github.com/NixOS/nixpkgs/pull/4821
updated_at: 2014-11-04 08:51:33
body:
  Otherwise we get:

  ```
  libcec.so.2: cannot open shared object file: No such file or directory
  Cannot load libcec.so
  ```


state: closed
title: crawl: fix, update, add console version
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4822
updated_at: 2014-11-08 21:20:25
body:
  This fixes https://github.com/NixOS/nixpkgs/issues/4644 . Also I've got stuck into https://github.com/NixOS/nixpkgs/issues/1963 .

  P.S.: This package has one hell of scary Makefiles.


state: closed
title: synaptics: fix tapButtons setting
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4823
updated_at: 2014-12-20 08:13:47
body:
  This should fix an issue with tapButtons reported by @puffnfresh (sorry for the breakage!) in https://github.com/NixOS/nixpkgs/pull/4746 .


state: closed
title: Use nixos.pool.ntp.org instead of pool.ntp.org per default
user_login: aszlig
html_url: https://github.com/NixOS/nixpkgs/issues/4824
updated_at: 2014-11-28 18:39:43
body:
  The [vendor documentation](http://www.pool.ntp.org/en/vendors.html) states:

  > Only use the pool.ntp.org hostnames designated to you (typically {0,1,2,3}.{vendor}.pool.ntp.org)

  I have just applied for a `nixos` vendor zone, so we can switch to it for our upcoming stable release.


state: closed
title: `boot.cleanTmpDir=true` removes files in /tmp too late
user_login: wizeman
html_url: https://github.com/NixOS/nixpkgs/issues/4825
updated_at: 2019-07-05 15:01:42
body:
  See the following:

  ```
  # systemctl status systemd-tmpfiles-setup.service
  ● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
     Loaded: loaded (/nix/store/6j1c354bzz70ylbh4cd0c3x165ic6hh2-systemd-212/example/systemd/system/systemd-tmpfiles-setup.service)
     Active: active (exited) since Tue 2014-11-04 04:04:08 CET; 19min ago

  # systemctl status postgresql.service
  ● postgresql.service - PostgreSQL Server
     Loaded: loaded (/nix/store/q5rk80hmxy57ndl4zh0lq50bw3bcwza8-unit-postgresql.service/postgresql.service)
     Active: active (running) since Tue 2014-11-04 04:04:06 CET; 20min ago
  ```

  As you can see, PostgreSQL was started _before_ `systemd-tmpfiles-setup.service` was finished.

  The result was that PostgreSQL's Unix socket created in `/tmp/.s.PGSQL.5432` got deleted and clients are not able to connect to it anymore.


state: closed
title: add elm-reactor to the package list
user_login: krgn
html_url: https://github.com/NixOS/nixpkgs/pull/4827
updated_at: 2014-11-04 11:31:26
body:
  This commit adds [elm-reactor](http://hackage.haskell.org/package/elm-reactor) to the packages list. 


state: closed
title: Live CD on USB stick doesn't work on Mac
user_login: wmertens
html_url: https://github.com/NixOS/nixpkgs/issues/4828
updated_at: 2016-04-11 16:53:29
body:
  The 14.11 LiveCD, when written to a USB stick using the instructions at https://nixos.org/wiki/Installing_NixOS_from_a_USB_stick#Hybrid_image, doesn't boot. Holding Option at restart time doesn't show the USB disk as an option in the list.

  Disk Utility says that the USB stick doesn't have a partition scheme, although the hybrid ISO is supposed to have one?

  What does make it visible in the boot loader, is formatting a USB stick with GUID partition table and ExFAT, and copying the ISO contents onto it. I suppose that could be the permanent workaround?

  Cc: @lethalman @bobvanderlinden @copumpkin 


state: closed
title: thunderbird-bin: update script to uses sha1 from mozilla
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/4829
updated_at: 2014-11-04 13:52:08
body:
  With this patch, auto-generated hashes are stored in a separate file. We can safely edit default.nix.
  Now we use sha1 hashes provided by Mozilla, so that downloading sources is no longer required to update the Nix expression.

  Reopening #4540 with rebased branch and more appropriate commit message.


state: closed
title: Can't start X11
user_login: jagajaga
html_url: https://github.com/NixOS/nixpkgs/issues/4831
updated_at: 2014-11-11 15:26:22
body:
  Last succesful commit (I mean the commit I get by `nixos-version`) when I was able to load my X11 session with xmonad only was a5b69c0. Now (7bc3005) and the commit before it (2c0cc6c) I can't do it.
  Logs can't show anything informational. Some ideas? My config wasn't changed throught commits, I was doing just `nixos-rebuild switch --upgrade`


state: closed
title: ati_unfree: update to 14.9
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/pull/4833
updated_at: 2014-12-12 01:37:17
body:
  I have not tested this a lot, because this update still does not fix ati on my laptop, can anybody else please check if this drivers still works.


state: closed
title: Sympy updates
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/4835
updated_at: 2014-11-07 14:07:19
body:
  The changes are orthogonal, so you may skip any that are disagreeable.
  Everything seems to work as far as I can tell, having worked through most of the
  sympy tutorial.


state: closed
title: Create wrapper package for fcitx with plugins.
user_login: cdepillabout
html_url: https://github.com/NixOS/nixpkgs/pull/4839
updated_at: 2014-12-18 08:34:12
body:
  This creates a wrapper package for fcitx so that plugins can be enabled by the user.  This is based on the wrapper package for pidgin-with-plugins.

  By using this wrapper instead of the fcitx package itself, it will be possible for the user to enable/disable plugins.

  This is an improvement over #4713 that just makes a wrapper package with the plugins instead of creating an entire new package that must be compiled.  This also closes the issue #4550.


state: closed
title: Cannot build nodejs sqlite package
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4842
updated_at: 2017-12-23 21:56:50
body:
  I've tried everything, did patchShebangs, replaced the original sources with custom sources with patchShebangs etc. In any way, I get the same error.

  The reason is that sqlite ships its own copy of node-pre-gyp. I even did a patchShebangs of the sources of sqlite before building, but for some reason it's still using the old tgz.

  ```
  $ nix-build -A nodePackages.ghost
  these derivations will be built:
    /nix/store/9wz121ij370r23c3yfd9qx7jajw4n10c-node-ghost-0.5.3.drv
    /nix/store/f16mzkpaskc947w9l246mf10cif22hp1-node-sqlite3-2.2.7.drv
  building path(s) `/nix/store/fg548w24qilw4kv61w363mbbswx2ghwp-node-sqlite3-2.2.7'
  [pbuilding /nix/store/fg548w24qilw4kv61w363mbbswx2ghwp-node-sqlite3-2.2.7
  [punpacking sources
  [q[ppatching sources
  [q[pconfiguring
  'node_modules/nan' -> '/nix/store/f3qj913s1qg8zhg6zp4fp8izlhx53pxc-node-nan-1.1.2/lib/node_modules/nan'
  'node_modules/node-pre-gyp' -> '/nix/store/dijsy9scbj8dxi13knlbcqipskasx641-bin-node-pre-gyp-0.5.22/lib/node_modules/node-pre-gyp'
  'node_modules/set-immediate' -> '/nix/store/rchkc2xjrrcmc01rj8fzqda44h575s3b-node-set-immediate-0.1.1/lib/node_modules/set-immediate'
  [q[pbuilding

  > sqlite3@2.2.7 install /tmp/nix-build-node-sqlite3-2.2.7.drv-0/node_modules/sqlite3
  > node-pre-gyp install --fallback-to-build

  sh: /tmp/nix-build-node-sqlite3-2.2.7.drv-0/node_modules/sqlite3/node_modules/.bin/node-pre-gyp: /usr/bin/env: bad interpreter: No such file or directory

  npm ERR! sqlite3@2.2.7 install: `node-pre-gyp install --fallback-to-build`
  npm ERR! Exit status 126
  npm ERR! 
  npm ERR! Failed at the sqlite3@2.2.7 install script.
  npm ERR! This is most likely a problem with the sqlite3 package,
  npm ERR! not with npm itself.
  npm ERR! Tell the author that this fails on your system:
  npm ERR!     node-pre-gyp install --fallback-to-build
  npm ERR! You can get their info via:
  npm ERR!     npm owner ls sqlite3
  npm ERR! There is likely additional logging output above.
  npm ERR! System Linux 3.13.0-24-generic
  npm ERR! command "/nix/store/ncah8lc9bknp3pvfvb1d8yc22g779brp-nodejs-0.10.32/bin/node" "/nix/store/ncah8lc9bknp3pvfvb1d8yc22g779brp-nodejs-0.10.32/bin/npm" "--registry" "http://www.example.com" "--nodedir=/nix/store/8s9m2mn5cidrc51z3f15ncbnhfxh4ajw-node-sources" "install" "/nix/store/78lvjclnnpkq71dyrish370dwwbmd2fq-sqlite3-2.2.7.tgz"
  npm ERR! cwd /tmp/nix-build-node-sqlite3-2.2.7.drv-0
  npm ERR! node -v v0.10.32
  npm ERR! npm -v 1.4.28
  npm ERR! code ELIFECYCLE
  npm ERR! not ok code 0
  [q[qbuilder for `/nix/store/f16mzkpaskc947w9l246mf10cif22hp1-node-sqlite3-2.2.7.drv' failed with exit code 1
  cannot build derivation `/nix/store/9wz121ij370r23c3yfd9qx7jajw4n10c-node-ghost-0.5.3.drv': 1 dependencies couldn't be built
  error: build of `/nix/store/9wz121ij370r23c3yfd9qx7jajw4n10c-node-ghost-0.5.3.drv' failed
  ```

  cc @svanderburg 


state: closed
title: node: fix builds similar to sqlite3 where modules are bundled
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/pull/4850
updated_at: 2015-07-30 16:27:36
body:
  sqlite3 bundles node-pre-gyp. Since the tar.gz itself being installed with npm install is not patched, then also the shebang of node-pre-gyp is not patched.
  The sqlite3 npm install will call node-pre-gyp binary and fail.

  This commit patches shebangs of the sources and repacks the sources for `npm install`. Note that there's a special case where the source can be a directory... don't know why but I get a directory for the ghost npm, not a tgz.

  Bonus for merging: going to add a ghost service for NixOS :-)

  cc @svanderburg 


state: closed
title: Setup.hi: openBinaryFile: permission denied
user_login: Fuuzetsu
html_url: https://github.com/NixOS/nixpkgs/issues/4851
updated_at: 2014-11-07 23:55:35
body:
  It seems that in projects without Setup.hs, things can go bad:

  ```
  [pbuilding /nix/store/4asbs1ii2ywddvjnr7svab88g5xl2hk0-haskell-yi-fuzzy-open-ghc7.8.3-0.1.0-shared
  [punpacking sources
  [3punpacking source archive /nix/store/4f1maqg257jkpwsh780b3g5y1cnja41w-hh13rqhbwbafz026rshhbpp6067qk8b5-git-export
  [qsource root is hh13rqhbwbafz026rshhbpp6067qk8b5-git-export
  [q[ppatching sources
  [q[pconfiguring
  [1 of 1] Compiling Main             ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /tmp/nix-build-haskell-yi-fuzzy-open-ghc7.8.3-0.1.0-shared.drv-0/Main.o )
  /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hi: openBinaryFile: permission denied (Permission denied)
  ```

  But it's not a constant failure. Below the first (in time) green build is the initial run where nix-supplied Setup.hs worked fine. Then two failures due to the error above. Then a success after I added a Setup.hs to the project.

  ![fails](http://fuuzetsu.co.uk/images/1415243378.png)

  So it seems we have a bug somewhere.

  I would post direct links to the builds but the Hydra in question is not public: let me know if that's needed and I'll try to arrange something.


state: closed
title: mesa_noglu.out now depends on LLVM
user_login: edolstra
html_url: https://github.com/NixOS/nixpkgs/issues/4853
updated_at: 2014-11-10 17:50:52
body:
  The `out` output of `mesa_noglu` now has a runtime dependency on LLVM, which was not the case in 14.04. This seems to be due to the libraries in `lib/gallium-pipe`. Maybe these should be in the `drivers` output? @vcunat 


state: closed
title: Don't conflate dependencies in `setup.sh`
user_login: edolstra
html_url: https://github.com/NixOS/nixpkgs/issues/4855
updated_at: 2017-11-17 18:07:46
body:
  We currently have the confusing situation that the `buildInputs` attribute gets passed to the builder via the `nativeBuildInputs` environment variable:

  ```
  $ nix-shell '<nixpkgs>' -A pan
  [nix-shell:~]$ echo $buildInputs 

  [nix-shell:~]$ echo $nativeBuildInputs 
  /nix/store/aprw7bdaydpxcv6j3wlr9bnr2s061gq6-pkg-config-0.23 /nix/store/75kv0ac0zn6sxypqh4anwwfdmm3bcw35-gtk+-2.24.24 ...
  ```

  (Pan declares a `buildInputs` attribute.)

  Also, "native" is somewhat ambiguous: native to the build machine, or native to the target machine? However the GNU terminology (`build` and `host`) is not really better.

  Maybe it would be better to always use `buildInputs` for the native (build machine) dependencies, and something like `targetBuildInputs` for the cross-built dependencies. Or not use `buildInputs` in setup.sh at all and use `nativeBuildInputs` and `targetBuildInputs` to prevent confusion.

  Ping @viric


state: closed
title: [WIP] Improve printing experience and update related packages
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4857
updated_at: 2014-11-15 14:17:32
body:
  This is my effort to improve printing for me and update packages while I'm at it. It consists of:
  - updating cups to 2.0
  - adding patch that allows to use multifunctional devices with it (fixing access rights)
  - updating ghostscript and dropping GNU fork (looks like its development has been discontinued)
  - adding cups-filters and other required infrastructure for the new cups
  - (not yet looked at) making cups show all available printer drivers when adding new printer.

  It's related to #4680 and #4711 .

  I wanted to ask for a Hydra jobset, since my home server seems to be too weak for rebuilding everything dependent on cups and stuff (building for half a day and it's stuck on one of chromiums for 4hrs already, with chromiumDev yet on its way).


state: closed
title: nixos/git-daemon: fix a bug and add 'user' and 'group' options
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4859
updated_at: 2014-11-08 20:19:50
body:
  This fixes a bug when using together `exportAll` and `repositories` and adds `user` and `group` options. Latter allow one, e.g., to run gitolite with access rights and git-daemon for pulls in the same gitolite home.


state: closed
title: nix-env -i python2 python3 failed due to bin/2to3
user_login: Kehlyos
html_url: https://github.com/NixOS/nixpkgs/issues/4860
updated_at: 2016-11-02 11:19:52
body:
  python3 was not building, I tried and got 
  http://pastebin.com/eFHRcbJQ , 
  I tried changing priority of python2 to keep true thinking it was a problem of cohabitation between python2 and 3 but i did not work.
  Got on IRC and MichaelRaskin suggested:
  nix-build '<nixpkgs>' -A python3 -o python3; export PATH="$PWD/python3/bin:$PATH" 
  and it worked for me.

  It was suggested that I putted the issue here so i did, and it might help someone with the same issue, we a ll google around...


state: closed
title: initialized git repo should use the set http_proxy
user_login: edwtjo
html_url: https://github.com/NixOS/nixpkgs/pull/4862
updated_at: 2014-11-07 10:51:32
body:
  Non destructive change that will make proxy users, already behind a proxy whom are switching to use it, lives more bearable. Since atm fetchgit breaks in such situations.


state: closed
title: syslog-ng 3.6
user_login: rickynils
html_url: https://github.com/NixOS/nixpkgs/pull/4863
updated_at: 2014-12-09 07:12:25
body:
  Revert the revert in 8e1072fd60f9dcf5eac0bb2d604258f121b658d8 and fix the `syslog-ng-incubator` build to work with syslog-ng 3.6


state: closed
title: add html2text
user_login: eikek
html_url: https://github.com/NixOS/nixpkgs/pull/4864
updated_at: 2014-11-08 00:49:01
body:
  Hello,
  this is my first try creating custom packages that I missed. These are two html2text utilities: the first is a c++ tool, the second a python script.


state: closed
title: release-lib: add option to use another package set
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4869
updated_at: 2015-04-23 17:46:54
body:
  This allows one to use release-lib for his own package trees, like this (release.nix for Hydra):

  ```
  { supportedSystems ? [ "x86_64-linux" ] }:
  let
    lib = import <nixpkgs/pkgs/top-level/release-lib.nix> {
      inherit supportedSystems;
      packageSet = import <mytree>;
    };
  in
  lib.mapTestOn (lib.packagesWithMetaPlatform lib.pkgs)
  ```


state: closed
title: New packages 'morituri' and 'pycdio'
user_login: rycee
html_url: https://github.com/NixOS/nixpkgs/pull/4877
updated_at: 2014-11-07 20:56:16
body:
  Morituri is a CD ripper that is focusing on accuracy over speed. It uses pycdio to discover information about the CD drive.


state: closed
title: distributed-process-platform: add package
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4881
updated_at: 2014-11-08 20:20:23
body:
  I'm not sure if the approach I've chosen to make it build (rm Setup.hs) is good -- maybe there is a better way.


state: closed
title: Folly: add package
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4882
updated_at: 2014-11-08 01:23:49
body:
  This needs, among others, libiberty which has no official releases and is typically provided with whatever package uses it. I've added a package which builds gcc 4.8 version -- this works fine.


state: closed
title: boost_process: add package
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4883
updated_at: 2014-11-08 01:23:56
body:
  There are several version of this library in the wild and no "official" one -- this apparently is the most recent. We use it, anyway.


state: closed
title: cabal builder fails with recent snapshots of ghc 7.9.x
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/4886
updated_at: 2015-01-14 10:43:52
body:
  ```
  Creating package registration file:
  /nix/store/d0wccnkgjgxikh1l4hs9c3s4jnyqfzgq-haskell-hscolour-ghc7.9.20141106-1.20.3-shared/lib/ghc-7.9.20141106/package.conf.d/hscolour-1.20.3.conf
  ghc-pkg: ghc no longer supports single-file style package databases (/nix/store/d0wccnkgjgxikh1l4hs9c3s4jnyqfzgq-haskell-hscolour-ghc7.9.20141106-1.20.3-shared/lib/ghc-7.9.20141106/package.conf.d/hscolour-1.20.3.installedconf) use 'ghc-pkg init' to create the database with the correct format.
  ```


state: closed
title: GnuPG 2.0 and 2.1 incompatibilities
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/4888
updated_at: 2016-03-20 00:05:45
body:
  Commit 850da1803ffd3fb3d140983814a7d7523f537bba from @wkennington updated the default version of the GNU Privacy Guard a.k.a. GPG to version 2.1. Unfortunately, this update broke the gpg-related tests of `git-annex`, http://hydra.cryp.to/build/237307/nixlog/1/raw, apparently because there is some subtle change in the behavior of the GPG 1.x compatibility layer (git-annex relies on `gnupg1compat` rather than using gpg2 directly).

  To remedy that issue, I fixed `gpg1compat` to use version 2.0 in 4c84621a7f55a6b1f64c391b64e0206195d65b6f. This is no good solution, unfortunately, because now people who rely on `gnupg1' end up having a version of GnuPG 2.0 in their profile that cannot talk to the gpg-agent  from version 2.1, which happens to be the one that's installed in the system by default.

  In it's current state, gpg1 does not work reliably in NIxOS. To work around this issue, I would suggest that we revert to version 2.0 until we've had time to figure out what exactly has changed between versions 2.1 and 2.0 and why this affects `gpg1compat`.


state: closed
title: rubber: Disable etex detection.
user_login: vlstill
html_url: https://github.com/NixOS/nixpkgs/pull/4889
updated_at: 2014-11-08 19:06:21
body:
  If etex detection is running it forces LaTeX files using etex package to
  be compiled with elatex which is no longer part of current TexLive,
  efectivelly making it impossible to simply compile them without hacking
  through rubber's commandline option.
  I took this fix from fedora .spec for rubber.


state: closed
title: Bump poppler to 0.28.1 & remove outdated patches.
user_login: the-kenny
html_url: https://github.com/NixOS/nixpkgs/pull/4892
updated_at: 2014-11-09 08:19:38
body:
  Can someone please double-check the removal of the patches doesn't cause any rendering issues before merging? The patches were necessary for Poppler to use subpixel-rendering on the Qt4-target but don't apply anymore.


state: closed
title: Qt Quick Designer is disabled in qtquick 3.2.x
user_login: vandenoever
html_url: https://github.com/NixOS/nixpkgs/issues/4893
updated_at: 2016-05-22 17:24:15
body:
  The designer tool for qml files is broken in recent qtsdk and qtcreator installs. It still works in 
  5c0816567d6b99bd2ef7c8ae5744f80a6a0372c4 when installing qtsdk-3.1.0-qt-5.2.1. The ChangeLog for QtCreator 3.2.0 still mentions features for Qt Quick Designer, so it has not been discontinued and should work. The patches to upgrade Qt and QtCreator are very straightforward:
    059681bc5de74289ce8720a24008ee03f0035f5a
    46d0ebca70112c73f43a67799a6966a9c566a2d2
  so this regression is puzzling.

  How to reproduce:
  - start qtcreator
  - press ctrl-n and choose 'Qt Quick Application'
  - fill in the wizard, now a new project is created and a file 'main.qml' is opened
  - press 'Design'. This button is only enabled in qtcreator 3.1.0, in 3.2.0 it is not enabed.


state: closed
title: update-users-groups.pl: Use UTF-8 instead of latin1.
user_login: ruediger
html_url: https://github.com/NixOS/nixpkgs/pull/4896
updated_at: 2014-11-09 00:00:42
body:
  Perl seems to write the file in latin1 independent of the actual input
  encoding.  This can corrupt the `description` field of `/etc/passwd`.  By
  setting `binmode` to `:utf8` Perl can be forced to write UTF-8.  Ideally
  the program would simply read/write the fields by value without any
  changes in encoding.  However, assuming/enforcing UTF-8 is a lot better
  than using an obsolete coding like latin1.


state: closed
title: experimental/vim-vam-pathogen-vimrc-support
user_login: MarcWeber
html_url: https://github.com/NixOS/nixpkgs/pull/4897
updated_at: 2014-11-12 19:11:29
body:
  This patch implements derving a .vimrc from vim-plugins.nix loading those
  plugins by either Pathogen or VAM (VAM seems to be slightly faster and is much
  more powerful).

  Example:

  ```
    environment.systemPackages = [
     # default plain vim
     vim_configurable

     # vim which get's called vim-with-addon-nix
     (vim_configurable.customize {
        name = "vim-with-addon-nix";
       vimrcConfig.vam.pluginDictionaries = [{name = "vim-addon-nix"; }];
     })
    ];
  ```

  This way you can provide an "enhanced Vim" and a standard Vim.

  Details about what this commit changes:
  1) provide a new toplevel name vimrc which
  - provides a way to build up a .vimrc using either pathogen or VAM (knowing about plugin dependencies by name)
  - can enhance vim to support. vim.customize { name = "name-user"; vam.pluginDictionaries and/or pathogen.pluginNames = .. }
  - introduce rtp names for each vim plugin pointing to the runtimepath path
  - suggest naming to be the same as vim-pi so that VAM's dependencies work
  - derive some packages as example from vim-pi using VAM's new autoload/nix.vim
    supporting simple dependencies
  - test case for vim-addon-nix for VAM/pathogen

  2) enhance vim_configurable to support .customize

  3) update many plugins by using VAM's implementation not rewriting those which
  - vim-pi doesn't know about the git source yet (TODO: make vim-pi be aware of
    those)
  - have special build code

  This commit partially conflicts with commits done by Bjørn Forsman starting by
  37f961628b, eg the one using lower case attr and pkg names, because they don't
  match vim-pi (eg YouCompleteMe). Rather than resolving the conflict this just
  adds aliases so that both names can be used


state: closed
title: Use highlight.js (also supports Nix) inside manuals to highlight snippets
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4901
updated_at: 2018-03-27 13:39:53
body:
  To highlight languages inside the docbook, the easiest would be to implement support for highlight.js

  https://highlightjs.org/usage/


state: closed
title: PyQwt which installs into PyQt4 but fails because of cyclic dependencies
user_login: qknight
html_url: https://github.com/NixOS/nixpkgs/issues/4904
updated_at: 2016-02-21 17:02:04
body:
  i'm packaging PyQwt but all my attempts fail so far...
  https://github.com/qknight/nixpkgs/commits/brickv-2.1.1

  the last thing i came up with was to split PyQwt and PyQt4 installation directories but that fails, see:
  https://gist.github.com/qknight/56abc0fcdb59a017395c

  **i now assume that PyQwt must be installed into PyQt4 because i'm getting an error similar to the one described here (details see above gist)**:
  http://lists.cairographics.org/archives/cairo/2013-May/024334.html

  the issue now is that i can't simply use a symlink from PyQt4 to PyQwt because PyQwt depends on PyQt4 while buildtime. however, this creates a cyclic dependency and nix can't evaluate it.

  **i need directions how to continue with PyQwt**

  thanks in advance!


state: closed
title: Include mkDerivation arguments in the result as a debugging tool
user_login: 7c6f434c
html_url: https://github.com/NixOS/nixpkgs/pull/4910
updated_at: 2014-11-09 12:44:50
body:
  It is a trivial easy-mergeable no-rebuild change, so I am using a pull request for a brief discussion.

  I think it would be a useful debugging tool; and every bit helps. It would help me many times — a bit a time. I checked: there is no hash change.

  A possible regression is a slight slowdown of evaluation, but note that the same mkDerivation does a lot of work anyway. Optional inclusion would probably make things only slower. It can be made a stdenv adaptor, but then noone will find it.


state: closed
title: NixOS manual has incorrect information regarding the configuration of the GRUB bootloader image
user_login: gabriel-laddel
html_url: https://github.com/NixOS/nixpkgs/issues/4911
updated_at: 2018-05-24 01:36:07
body:
  [from the manual](http://nixos.org/nixos/manual/#opt-boot.loader.grub.splashImage)

  ```
  boot.loader.grub.splashImage

  Background image used for GRUB. It must be a 640x480, 14-colour image in XPM format, optionally compressed with gzip or bzip2. Set to null to run GRUB in text mode.

      Example:

      ./my-background.png

      Declared by:
      <nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix>
  ```

  from the [GRUB manual](http://www.gnu.org/software/grub/manual/grub.html)

  ```
  ‘GRUB_BACKGROUND’

      Set a background image for use with the ‘gfxterm’ graphical terminal. The value of this option must be a file readable by GRUB at boot time, and it must end with .png, .tga, .jpg, or .jpeg. The image will be scaled if necessary to fit the screen.
  ```

  I've tried both methods. The NixOS manual is wrong.


state: closed
title: fileSystems."/".device with space messes up stab
user_login: gitfoxi
html_url: https://github.com/NixOS/nixpkgs/issues/4914
updated_at: 2016-12-15 21:41:00
body:
  I put a line like:

  ```
  fileSystems."/".device = "/dev/disk/by-partlabel/Linux filesystem";
  ```

  when I should have put:

  ```
   fileSystems."/".device = "/dev/disk/by-partlabel/Linux\ filesystem";
  ```

  (Actually, that second one doesn't help either and I haven't figured out what does.)

  When `nixos-install` writes `/etc/fstab` it doesn't get quoted (it probably should if that's possible) so you need to escape the space or at least error out. `nixos-rebuild switch` let me make this mistake too. Then it wouldn't let me fix my mistake and couldn't roll it back. Just kept saying it died in `/nix/var/nix/profiles/system/bin/switch-to-configuration` at line 239 which is where it validates the strings in your current `/etc/fstab` instead of validating the new one it's going to create. I had to mount my volume read/write to fix it in `/nix/store`. Is it a good idea? No.

  So, to summarize, 3 things:
  - Quote strings if possible
  - Validate the new string
  - Don't validate the old string we're trying to get rid of instead
  ## Update

  You can supposedly escape spaces with `\040`. I tried that as well as `\\040` in case nix thinks I'm escaping the 0 and still no luck so I actually gave up and just renamed the stupid partitions.


state: closed
title: Support IPv6 NAT and containers
user_login: valeriangalliat
html_url: https://github.com/NixOS/nixpkgs/issues/4917
updated_at: 2015-02-06 23:12:43
body:
  Hi,

  I was trying to setup IPv6 NixOS containers with NAT and port forwarding. I can successfully have such a setup for IPv4 with the following configuration:

  ``` nix
  networking.nat.enable = true;
  networking.nat.internalInterfaces = ["ve-+"];
  networking.nat.externalInterface = "enp0s3";

  containers.www = {
    config = { config, pkgs, ... }:
      {
        services.httpd.enable = true;
        services.httpd.adminAddr = "foo@bar.org";
      };

    privateNetwork = true;
    hostAddress = "192.168.100.1";
    localAddress = "192.168.100.2";
  };

  networking.firewall.extraCommands = ''
    iptables -t nat -A PREROUTING -i enp0s3 -p tcp --dport 80 -j DNAT --to-dest 192.168.100.2
  '';
  ```

  But there's nothing built-in for IPv6.

  I worked around this with the following tweaks:

  ``` diff
  --- a   2014-11-09 22:41:32.239866671 +0100
  +++ b   2014-11-09 22:55:11.443186920 +0100
  @@ -7,6 +7,12 @@
       {
         services.httpd.enable = true;
         services.httpd.adminAddr = "foo@bar.org";
  +
  +      networking.localCommands = ''
  +        ip route add fc00::1 dev eth0
  +        ip route add default via fc00::1
  +        ip addr add fc00::2 dev eth0
  +      '';
       };

     privateNetwork = true;
  @@ -15,5 +21,11 @@
   };

   networking.firewall.extraCommands = ''
  +  ip route add fc00::1 dev eth0
  +  ip addr add fc00::2 dev eth0
  +
  +  echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
  +
     iptables -t nat -A PREROUTING -i enp0s3 -p tcp --dport 80 -j DNAT --to-dest 192.168.100.2
  +  ip6tables -t nat -A PREROUTING -i enp0s3 -p tcp --dport 80 -j DNAT --to-dest fc00::2
   '';
  ```

  While the container now have a local IPv6, and I can directly access its service via IPv6 from the host, the port forwarding rule is not working (the incoming TCP packets on IPv6 host port 80 are never answered).

  After some investigation I discovered that the `networking.nat` configuration doesn't affect IPv6. I tried to setup IPv6 NAT manually with the following commands:

  ``` sh
  ip6tables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE
  ip6tables -A FORWARD -i enp0s3 -o ve-www -m state --state RELATED,ESTABLISHED -j ACCEPT
  ip6tables -A FORWARD -i ve-www -o enp0s3 -j ACCEPT
  ```

  But this doesn't solve the problem.

  I tried a raw `systemd-nspawn` on Arch Linux, with the exact same IPv6 container/NAT configuration as above, and the port forwarding is working properly.

  I don't know enough the NixOS internals to find out where is the problem… and the only thing I see with tcpdump is that all the SYN packets sent to the host IPv6 on port 80 are never answered.

  I don't believe that's a firewall or kernel IPv6 configuration issue since `yes | ncat -kl <host-ipv6> 1337` works (from the client I can successfully `ncat <host-ipv6> 1337`).


state: closed
user_login: offlinehacker
html_url: https://github.com/NixOS/nixpkgs/pull/4922
updated_at: 2014-12-26 00:23:34
title:
  nodePackages: Enable source patching, patch shebangs, patch versions, fix recursive dependencies runtime

body:
  This enables patching of node packages and adds patch for shebangs and patch for versions. This pull request replaces https://github.com/NixOS/nixpkgs/pull/4850/files


state: closed
title: systemd-logind problem?
user_login: vcunat
html_url: https://github.com/NixOS/nixpkgs/issues/4923
updated_at: 2016-01-17 17:20:49
body:
  I'm getting the following on staging (`/var/log/Xorg.0.log`):

  ```
  (EE) systemd-logind: failed to get session: PID 13553 does not belong to any known session
  ```

  **TL;DR of the discussion: it seems not to cause any problems.**

  Any ideas if it's even a problem? @edolstra?


state: closed
title: Allow custom hwdb.d entries
user_login: puffnfresh
html_url: https://github.com/NixOS/nixpkgs/issues/4924
updated_at: 2016-02-21 01:30:27
body:
  I've had a go at implementing this but haven't succeeded yet.

  I have a keyboard with a scroll wheel thingo in it. The Internet tells me that I should add a `/etc/udev/hwdb.d/70-local.hwdb` entry containing the following:

  ```
  # Microsoft Natural Ergonomic Keyboard 4000
  keyboard:usb:v045Ep00DB*
   KEYBOARD_KEY_c022d=pageup
   KEYBOARD_KEY_c022e=pagedown
  ```

  Looks like udev allows adding custom rules.d entries but the hwdb.d directory is special: its contents get compiled to a hwdb.bin file which is special in NixOS since it gets put in /var/lib/udev/hwdb.bin instead of /etc/udev/hwdb.bin


state: closed
title: Strongswan needs libgcc_s.so.1
user_login: ip1981
html_url: https://github.com/NixOS/nixpkgs/issues/4925
updated_at: 2014-11-11 06:42:16
body:
  ```
  # swanctl --help
  strongSwan 5.2.0 swanctl
  loaded plugins: aes des rc2 sha1 sha2 md5 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pkcs8 pkcs12 pgp dnskey sshkey pem fips-prf gmp xcbc cmac hmac
  usage:
    swanctl --initiate   (-i)  initiate a connection
    swanctl --terminate  (-t)  terminate a connection
    swanctl --uninstall  (-u)  uninstall a trap or shunt policy
    swanctl --install    (-p)  install a trap or shunt policy
    swanctl --list-sas   (-l)  list currently active IKE_SAs
    swanctl --list-pols  (-P)  list currently installed policies
    swanctl --list-conns (-L)  list loaded configurations
    swanctl --list-certs (-x)  list stored certificates
    swanctl --list-pools (-A)  list loaded pool configurations
    swanctl --load-conns (-c)  (re-)load connection configuration
    swanctl --load-creds (-s)  (re-)load credentials
    swanctl --load-pools (-a)  (re-)load pool configuration
    swanctl --log        (-T)  trace logging output
    swanctl --version    (-v)  show version information
    swanctl --stats      (-S)  show daemon stats information
    swanctl --help       (-h)  show usage information
  libgcc_s.so.1 must be installed for pthread_cancel to work
  Aborted (core dumped)
  ```


state: closed
title: purescript: update to version 0.6.0.2
user_login: mstarzyk
html_url: https://github.com/NixOS/nixpkgs/pull/4926
updated_at: 2014-11-11 21:56:07
body:
  Purescript 0.6 requires nodejs for testing, so I added the dependency on nodejs to the autogenerated nix file.  


state: closed
title: nixos/ca: add symlink for sublimetext
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4928
updated_at: 2014-11-11 21:05:19
body:
  This should fix #4343 . It would be good if Sublime user tests it (a co-worker of mine reported that it's fine; however he had created this symlink manually before and maybe it worked because of that).


state: closed
title: Add packages and support for Parallel Guest Tools
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4929
updated_at: 2015-03-28 21:17:13
body:
  This adds complete support for using Parallel Guest Tools on NixOS. I have written this half-blindly, testing via ssh on the virtual machine on Mac OS X. A co-worker reported that everything works completely with it, including shared folders, profiles, shared mouse, 64- and 32-bit OpenGL acceleration, Guest Applications and shared clipboard. I've also run console utilities such as prlhosttime -- worked fine. He did not tested shared printers and snapshots -- they both at least start without any errors.

  P.S.: I declare this the most awful proprietary package that I've seen or created, ever. I mean, just look at it! It had 20+ .sh and .py installer scripts, was inconsistent to the point of perfection, used 3 different ways to store to-be installed binaries and 4 ways to run them -- not talking about replacing system libraries, using dynamic libraries load, a daemon in bash, another one which just does hangs up and a whole lot of other surprises. I've not even mentioned half of its nasties!

  P.P.S.: Because I don't have Parallels myself (nor a Mac), I won't be providing updates for this unless someone asks me to update it and provides a machine for testing.


state: closed
title: Update firefox-bin to 33.1
user_login: taku0
html_url: https://github.com/NixOS/nixpkgs/pull/4930
updated_at: 2014-11-11 05:37:39
body:
  Yet another Firefox 33, Firefox 33.1 aka Firefox 10 Year Anniversary Edition.
  Brand new Forget Button, Enhanced “sponsored” Tiles, and DuckDuckGo search engine.
  https://www.mozilla.org/en-US/firefox/33.1/releasenotes/


state: closed
title: zfs: Add upstream patch bc151f7 to fix kernel 3.18 builds
user_login: wkennington
html_url: https://github.com/NixOS/nixpkgs/pull/4932
updated_at: 2015-01-07 22:58:09
body:
  Additionally, recognize that the contents of the nix-build.patch are
  included in the upstream tree as 3cd33ff and will be released in 0.6.4.


state: closed
title: Python 2.7.8 build fails on OSX Yosemite
user_login: krisajenkins
html_url: https://github.com/NixOS/nixpkgs/issues/4934
updated_at: 2015-03-08 08:40:38
body:
  I'd like to help with this, but I'm completely new to Nix, so I don't know what's useful. But for a starter, here's the build log of Python 2.7.8 failing:

  ``` sh
  installing ‘python-2.7.8’
  these derivations will be built:
    /nix/store/dni1d1nx9fanc7m27ys0r407r63xcz6v-python-2.7.8.drv
  building path(s) ‘/nix/store/l8kybsk3avdv9rbmrgzvsr0cbmv8xn7c-python-2.7.8’
  building /nix/store/l8kybsk3avdv9rbmrgzvsr0cbmv8xn7c-python-2.7.8
  unpacking sources
  unpacking source archive /nix/store/8azsvnd4ybf9d3da50rm5pi2frm665s7-Python-2.7.8.tar.xz
  source root is Python-2.7.8
  patching sources
  applying patch /nix/store/cfk04ans56xql9l6waqhqzzd60g9rzxi-search-path.patch
  patching file setup.py
  Hunk #1 succeeded at 520 with fuzz 2 (offset 241 lines).
  applying patch /nix/store/dxscwf37hgq0xafs54h0c8xx47vg6d5g-nix-store-mtime.patch
  patching file Python/import.c
  Hunk #1 succeeded at 779 (offset 28 lines).
  applying patch /nix/store/dfyfzha1vnab8kfnxi99v9ikfdfnpm7k-deterministic-build.patch
  patching file Lib/py_compile.py
  patching file Python/import.c
  applying patch /nix/store/wnpnrd2r8agycklx09zgz0gc73sidjil-remove-avoid-daemon-thread-shutdown.patch
  patching file Include/pythonrun.h
  Hunk #1 succeeded at 146 with fuzz 2 (offset -1 lines).
  patching file Lib/test/test_threading.py
  patching file Misc/NEWS
  Hunk #1 succeeded at 16 (offset -80 lines).
  patching file Python/ceval.c
  patching file Python/pythonrun.c
  patching file Python/thread_pthread.h
  configuring
  configure flags: --prefix=/nix/store/l8kybsk3avdv9rbmrgzvsr0cbmv8xn7c-python-2.7.8 --enable-shared --with-threads --enable-unicode 
  checking build system type... x86_64-apple-darwin14.0.0
  checking host system type... x86_64-apple-darwin14.0.0
  checking for --enable-universalsdk... no
  checking for --with-universal-archs... 32-bit
  checking MACHDEP... darwin
  checking EXTRAPLATDIR... $(PLATMACDIRS)
  checking for --without-gcc... no
  checking for gcc... gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables... 
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ISO C89... none needed
  checking for --with-cxx-main=<compiler>... no
  checking for g++... no
  configure: WARNING:

    By default, distutils will build C++ extension modules with "g++".
    If this is not intended, then set CXX on the configure command line.

  checking how to run the C preprocessor... gcc -E
  checking for grep that handles long lines and -e... /nix/store/k4q580g3l0xprlzkz0zmh24anvdrp9hc-gnugrep-2.14/bin/grep
  checking for egrep... /nix/store/k4q580g3l0xprlzkz0zmh24anvdrp9hc-gnugrep-2.14/bin/grep -E
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking minix/config.h usability... no
  checking minix/config.h presence... no
  checking for minix/config.h... no
  checking whether it is safe to define __EXTENSIONS__... yes
  checking for --with-suffix... 
  checking for case-insensitive build directory... yes
  checking LIBRARY... libpython$(VERSION).a
  checking LINKCC... $(PURIFY) $(MAINCC)
  checking for GNU ld... no
  checking for --enable-shared... yes
  checking for --enable-profiling... no
  checking LDLIBRARY... libpython$(VERSION).dylib
  checking for ranlib... ranlib
  checking for ar... ar
  checking for svnversion... not-found
  checking for hg... not-found
  checking for a BSD-compatible install... /nix/store/rc94la2h0pwkshbgmd7kz5nhklkdqyr2-coreutils-8.21/bin/install -c
  checking for a thread-safe mkdir -p... /nix/store/rc94la2h0pwkshbgmd7kz5nhklkdqyr2-coreutils-8.21/bin/mkdir -p
  checking for --with-pydebug... no
  checking whether gcc accepts -fno-strict-aliasing... yes
  checking which compiler should be used... gcc
  checking whether gcc accepts -OPT:Olimit=0... no
  checking whether gcc accepts -Olimit 1500... no
  checking whether gcc supports ParseTuple __format__... no
  checking whether pthreads are available without options... yes
  checking whether g++ also accepts flags for thread support... no
  checking for ANSI C header files... (cached) yes
  checking asm/types.h usability... no
  checking asm/types.h presence... no
  checking for asm/types.h... no
  checking conio.h usability... no
  checking conio.h presence... no
  checking for conio.h... no
  checking direct.h usability... no
  checking direct.h presence... no
  checking for direct.h... no
  checking dlfcn.h usability... yes
  checking dlfcn.h presence... yes
  checking for dlfcn.h... yes
  checking errno.h usability... yes
  checking errno.h presence... yes
  checking for errno.h... yes
  checking fcntl.h usability... yes
  checking fcntl.h presence... yes
  checking for fcntl.h... yes
  checking grp.h usability... yes
  checking grp.h presence... yes
  checking for grp.h... yes
  checking ieeefp.h usability... no
  checking ieeefp.h presence... no
  checking for ieeefp.h... no
  checking io.h usability... no
  checking io.h presence... no
  checking for io.h... no
  checking langinfo.h usability... yes
  checking langinfo.h presence... yes
  checking for langinfo.h... yes
  checking libintl.h usability... no
  checking libintl.h presence... no
  checking for libintl.h... no
  checking poll.h usability... yes
  checking poll.h presence... yes
  checking for poll.h... yes
  checking process.h usability... no
  checking process.h presence... no
  checking for process.h... no
  checking pthread.h usability... yes
  checking pthread.h presence... yes
  checking for pthread.h... yes
  checking shadow.h usability... no
  checking shadow.h presence... no
  checking for shadow.h... no
  checking signal.h usability... yes
  checking signal.h presence... yes
  checking for signal.h... yes
  checking for stdint.h... (cached) yes
  checking stropts.h usability... no
  checking stropts.h presence... no
  checking for stropts.h... no
  checking termios.h usability... yes
  checking termios.h presence... yes
  checking for termios.h... yes
  checking thread.h usability... no
  checking thread.h presence... no
  checking for thread.h... no
  checking for unistd.h... (cached) yes
  checking utime.h usability... yes
  checking utime.h presence... yes
  checking for utime.h... yes
  checking sys/audioio.h usability... no
  checking sys/audioio.h presence... no
  checking for sys/audioio.h... no
  checking sys/bsdtty.h usability... no
  checking sys/bsdtty.h presence... no
  checking for sys/bsdtty.h... no
  checking sys/epoll.h usability... no
  checking sys/epoll.h presence... no
  checking for sys/epoll.h... no
  checking sys/event.h usability... yes
  checking sys/event.h presence... yes
  checking for sys/event.h... yes
  checking sys/file.h usability... yes
  checking sys/file.h presence... yes
  checking for sys/file.h... yes
  checking sys/loadavg.h usability... no
  checking sys/loadavg.h presence... no
  checking for sys/loadavg.h... no
  checking sys/lock.h usability... yes
  checking sys/lock.h presence... yes
  checking for sys/lock.h... yes
  checking sys/mkdev.h usability... no
  checking sys/mkdev.h presence... no
  checking for sys/mkdev.h... no
  checking sys/modem.h usability... no
  checking sys/modem.h presence... no
  checking for sys/modem.h... no
  checking sys/param.h usability... yes
  checking sys/param.h presence... yes
  checking for sys/param.h... yes
  checking sys/poll.h usability... yes
  checking sys/poll.h presence... yes
  checking for sys/poll.h... yes
  checking sys/select.h usability... yes
  checking sys/select.h presence... yes
  checking for sys/select.h... yes
  checking sys/socket.h usability... yes
  checking sys/socket.h presence... yes
  checking for sys/socket.h... yes
  checking sys/statvfs.h usability... yes
  checking sys/statvfs.h presence... yes
  checking for sys/statvfs.h... yes
  checking for sys/stat.h... (cached) yes
  checking sys/termio.h usability... no
  checking sys/termio.h presence... no
  checking for sys/termio.h... no
  checking sys/time.h usability... yes
  checking sys/time.h presence... yes
  checking for sys/time.h... yes
  checking sys/times.h usability... yes
  checking sys/times.h presence... yes
  checking for sys/times.h... yes
  checking for sys/types.h... (cached) yes
  checking sys/un.h usability... yes
  checking sys/un.h presence... yes
  checking for sys/un.h... yes
  checking sys/utsname.h usability... yes
  checking sys/utsname.h presence... yes
  checking for sys/utsname.h... yes
  checking sys/wait.h usability... yes
  checking sys/wait.h presence... yes
  checking for sys/wait.h... yes
  checking pty.h usability... no
  checking pty.h presence... no
  checking for pty.h... no
  checking libutil.h usability... no
  checking libutil.h presence... no
  checking for libutil.h... no
  checking sys/resource.h usability... yes
  checking sys/resource.h presence... yes
  checking for sys/resource.h... yes
  checking netpacket/packet.h usability... no
  checking netpacket/packet.h presence... no
  checking for netpacket/packet.h... no
  checking sysexits.h usability... yes
  checking sysexits.h presence... yes
  checking for sysexits.h... yes
  checking bluetooth.h usability... no
  checking bluetooth.h presence... no
  checking for bluetooth.h... no
  checking bluetooth/bluetooth.h usability... no
  checking bluetooth/bluetooth.h presence... no
  checking for bluetooth/bluetooth.h... no
  checking linux/tipc.h usability... no
  checking linux/tipc.h presence... no
  checking for linux/tipc.h... no
  checking spawn.h usability... yes
  checking spawn.h presence... yes
  checking for spawn.h... yes
  checking util.h usability... yes
  checking util.h presence... yes
  checking for util.h... yes
  checking alloca.h usability... yes
  checking alloca.h presence... yes
  checking for alloca.h... yes
  checking for dirent.h that defines DIR... yes
  checking for library containing opendir... none required
  checking whether sys/types.h defines makedev... yes
  checking for linux/netlink.h... no
  checking for clock_t in time.h... yes
  checking for makedev... yes
  checking Solaris LFS bug... no
  checking for mode_t... yes
  checking for off_t... yes
  checking for pid_t... yes
  checking for size_t... yes
  checking for uid_t in sys/types.h... yes
  checking for uint32_t... yes
  checking for uint32_t... yes
  checking for uint64_t... yes
  checking for uint64_t... yes
  checking for int32_t... yes
  checking for int32_t... yes
  checking for int64_t... yes
  checking for int64_t... yes
  checking for ssize_t... yes
  checking size of int... 4
  checking size of long... 8
  checking size of void *... 8
  checking size of short... 2
  checking size of float... 4
  checking size of double... 8
  checking size of fpos_t... 8
  checking size of size_t... 8
  checking size of pid_t... 4
  checking for long long support... yes
  checking size of long long... 8
  checking for long double support... yes
  checking size of long double... 16
  checking for _Bool support... yes
  checking size of _Bool... 1
  checking for uintptr_t... yes
  checking size of uintptr_t... 8
  checking size of off_t... 8
  checking whether to enable large file support... no
  checking size of time_t... 8
  checking for pthread_t... yes
  checking size of pthread_t... 8
  checking for --enable-toolbox-glue... yes
  checking for --enable-framework... no
  checking for dyld... always on for Darwin
  checking SO... .so
  checking LDSHARED... $(CC) -bundle -undefined dynamic_lookup
  checking CCSHARED... 
  checking LINKFORSHARED... -u _PyMac_Error
  checking CFLAGSFORSHARED... $(CCSHARED)
  checking SHLIBS... $(LIBS)
  checking for dlopen in -ldl... yes
  checking for shl_load in -ldld... no
  checking for library containing sem_init... none required
  checking for textdomain in -lintl... no
  checking for t_open in -lnsl... no
  checking for socket in -lsocket... no
  checking for --with-libs... no
  checking for pkg-config... no
  checking for --with-system-expat... no
  checking for --with-system-ffi... no
  checking for --with-tcltk-includes... default
  checking for --with-tcltk-libs... default
  checking for --with-dbmliborder... 
  checking for --with-signal-module... yes
  checking for --with-dec-threads... no
  checking for --with-threads... yes
  checking if PTHREAD_SCOPE_SYSTEM is supported... yes
  checking for pthread_sigmask... yes
  checking for pthread_atfork... yes
  checking if --enable-ipv6 is specified... yes
  checking if RFC2553 API is available... yes
  checking ipv6 stack type... kame
  using libc
  checking for OSX 10.5 SDK or later... no
  checking for --with-doc-strings... yes
  checking for --with-tsc... no
  checking for --with-pymalloc... yes
  checking for --with-valgrind... no
  checking for --with-wctype-functions... no
  checking for dlopen... yes
  checking DYNLOADFILE... dynload_shlib.o
  checking MACHDEP_OBJS... MACHDEP_OBJS
  checking for alarm... yes
  checking for setitimer... yes
  checking for getitimer... yes
  checking for bind_textdomain_codeset... no
  checking for chown... yes
  checking for clock... yes
  checking for confstr... yes
  checking for ctermid... yes
  checking for execv... yes
  checking for fchmod... yes
  checking for fchown... yes
  checking for fork... yes
  checking for fpathconf... yes
  checking for ftime... yes
  checking for ftruncate... yes
  checking for gai_strerror... yes
  checking for getgroups... yes
  checking for getlogin... yes
  checking for getloadavg... yes
  checking for getpeername... yes
  checking for getpgid... yes
  checking for getpid... yes
  checking for getpriority... yes
  checking for getresuid... no
  checking for getresgid... no
  checking for getpwent... yes
  checking for getspnam... no
  checking for getspent... no
  checking for getsid... yes
  checking for getwd... yes
  checking for initgroups... yes
  checking for kill... yes
  checking for killpg... yes
  checking for lchmod... yes
  checking for lchown... yes
  checking for lstat... yes
  checking for mkfifo... yes
  checking for mknod... yes
  checking for mktime... yes
  checking for mmap... yes
  checking for mremap... no
  checking for nice... yes
  checking for pathconf... yes
  checking for pause... yes
  checking for plock... no
  checking for poll... yes
  checking for pthread_init... no
  checking for putenv... yes
  checking for readlink... yes
  checking for realpath... yes
  checking for select... yes
  checking for sem_open... yes
  checking for sem_timedwait... no
  checking for sem_getvalue... yes
  checking for sem_unlink... yes
  checking for setegid... yes
  checking for seteuid... yes
  checking for setgid... yes
  checking for setlocale... yes
  checking for setregid... yes
  checking for setreuid... yes
  checking for setsid... yes
  checking for setpgid... yes
  checking for setpgrp... yes
  checking for setuid... yes
  checking for setvbuf... yes
  checking for snprintf... yes
  checking for setlocale... (cached) yes
  checking for setregid... (cached) yes
  checking for setreuid... (cached) yes
  checking for setresuid... no
  checking for setresgid... no
  checking for setsid... (cached) yes
  checking for setpgid... (cached) yes
  checking for setpgrp... (cached) yes
  checking for setuid... (cached) yes
  checking for setvbuf... (cached) yes
  checking for snprintf... (cached) yes
  checking for sigaction... yes
  checking for siginterrupt... yes
  checking for sigrelse... yes
  checking for strftime... yes
  checking for sysconf... yes
  checking for tcgetpgrp... yes
  checking for tcsetpgrp... yes
  checking for tempnam... yes
  checking for timegm... yes
  checking for times... yes
  checking for tmpfile... yes
  checking for tmpnam... yes
  checking for tmpnam_r... no
  checking for truncate... yes
  checking for uname... yes
  checking for unsetenv... yes
  checking for utimes... yes
  checking for waitpid... yes
  checking for wait3... yes
  checking for wait4... yes
  checking for wcscoll... yes
  checking for _getpty... no
  checking for chroot... yes
  checking for link... yes
  checking for symlink... yes
  checking for fchdir... yes
  checking for fsync... yes
  checking for fdatasync... no
  checking for epoll... no
  checking for kqueue... yes
  checking for ctermid_r... yes
  checking for flock declaration... yes
  checking for flock... yes
  checking for getpagesize... yes
  checking for broken unsetenv... no
  checking for true... true
  checking for inet_aton in -lc... yes
  checking for chflags... yes
  checking for lchflags... yes
  checking for inflateCopy in -lz... yes
  checking for hstrerror... yes
  checking for inet_aton... yes
  checking for inet_pton... yes
  checking for setgroups... yes
  checking for openpty... yes
  checking for forkpty... yes
  checking for memmove... yes
  checking for fseek64... no
  checking for fseeko... yes
  checking for fstatvfs... yes
  checking for ftell64... no
  checking for ftello... yes
  checking for statvfs... yes
  checking for dup2... yes
  checking for getcwd... yes
  checking for strdup... yes
  checking for getpgrp... yes
  checking for setpgrp... (cached) yes
  checking for gettimeofday... yes
  checking for major... yes
  checking for getaddrinfo... yes
  checking getaddrinfo bug... no
  checking for getnameinfo... yes
  checking whether time.h and sys/time.h may both be included... yes
  checking whether struct tm is in sys/time.h or time.h... time.h
  checking for struct tm.tm_zone... yes
  checking for struct stat.st_rdev... yes
  checking for struct stat.st_blksize... yes
  checking for struct stat.st_flags... yes
  checking for struct stat.st_gen... yes
  checking for struct stat.st_birthtime... yes
  checking for struct stat.st_blocks... yes
  checking for time.h that defines altzone... no
  checking whether sys/select.h and sys/time.h may both be included... yes
  checking for addrinfo... yes
  checking for sockaddr_storage... yes
  checking whether char is unsigned... no
  checking for an ANSI C-conforming const... yes
  checking for working volatile... yes
  checking for working signed char... yes
  checking for prototypes... yes
  checking for variable length prototypes and stdarg.h... yes
  checking for socketpair... yes
  checking if sockaddr has sa_len member... yes
  checking whether va_list is an array... yes
  checking for gethostbyname_r... no
  checking for gethostbyname... yes
  checking for __fpu_control... no
  checking for __fpu_control in -lieee... no
  checking for --with-fpectl... no
  checking for --with-libm=STRING... default LIBM=""
  checking for --with-libc=STRING... default LIBC=""
  checking whether C doubles are little-endian IEEE 754 binary64... yes
  checking whether C doubles are big-endian IEEE 754 binary64... no
  checking whether C doubles are ARM mixed-endian IEEE 754 binary64... no
  checking whether we can use gcc inline assembler to get and set x87 control word... yes
  checking for x87-style double rounding... no
  checking whether tanh preserves the sign of zero... yes
  checking for acosh... yes
  checking for asinh... yes
  checking for atanh... yes
  checking for copysign... yes
  checking for erf... yes
  checking for erfc... yes
  checking for expm1... yes
  checking for finite... yes
  checking for gamma... yes
  checking for hypot... yes
  checking for lgamma... yes
  checking for log1p... yes
  checking for round... yes
  checking for tgamma... yes
  checking whether isinf is declared... yes
  checking whether isnan is declared... yes
  checking whether isfinite is declared... yes
  checking whether POSIX semaphores are enabled... yes
  checking for broken sem_getvalue... yes
  checking digit size for Python's longs... no value specified
  checking wchar.h usability... yes
  checking wchar.h presence... yes
  checking for wchar.h... yes
  checking size of wchar_t... 4
  checking for UCS-4 tcl... no
  checking whether wchar_t is signed... yes
  checking what type to use for unicode... unsigned short
  checking whether byte ordering is bigendian... no
  checking whether right shift extends the sign bit... yes
  checking for getc_unlocked() and friends... yes
  checking how to link readline libs... -lreadline
  checking for rl_callback_handler_install in -lreadline... yes
  checking for rl_pre_input_hook in -lreadline... yes
  checking for rl_completion_display_matches_hook in -lreadline... yes
  checking for rl_completion_matches in -lreadline... yes
  checking for broken nice()... no
  checking for broken poll()... no
  checking for struct tm.tm_zone... (cached) yes
  checking for working tzset()... yes
  checking for tv_nsec in struct stat... no
  checking for tv_nsec2 in struct stat... yes
  checking curses.h usability... yes
  checking curses.h presence... yes
  checking for curses.h... yes
  checking ncurses.h usability... yes
  checking ncurses.h presence... yes
  checking for ncurses.h... yes
  checking for term.h... yes
  checking whether mvwdelch is an expression... yes
  checking whether WINDOW has _flags... no
  checking for is_term_resized... yes
  checking for resize_term... yes
  checking for resizeterm... yes
  configure: checking for device files
  checking for /dev/ptmx... yes
  checking for /dev/ptc... no
  checking for %lld and %llu printf() format support... yes
  checking for %zd printf() format support... yes
  checking for socklen_t... yes
  checking for build directories... done
  configure: creating ./config.status
  config.status: creating Makefile.pre
  config.status: creating Modules/Setup.config
  config.status: creating Misc/python.pc
  config.status: creating Modules/ld_so_aix
  config.status: creating pyconfig.h
  creating Modules/Setup
  creating Modules/Setup.local
  creating Makefile
  building
  make flags: SHELL=/nix/store/1ja3347kym8fbmmy8cyyq15rma22flxm-bash-4.2-p51/bin/sh    
  building Modules/python.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
  building Parser/acceler.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
  building Parser/grammar1.o
  building Parser/listnode.o
  building Parser/node.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
  building Parser/parser.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
  building Parser/parsetok.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
  building Parser/bitset.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
  building Parser/metagrammar.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
  building Parser/firstsets.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
  building Parser/grammar.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
  building Parser/pgen.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
  building Parser/myreadline.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
  building Parser/tokenizer.o
  Parser/pgen.c: In function 'compile_atom':
  Parser/pgen.c:282:9: warning: variable 'i' set but not used [-Wunused-but-set-variable]
       int i;
           ^
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
  building Objects/abstract.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
  building Objects/boolobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
  building Objects/bufferobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/boolobject.o Objects/boolobject.c
  building Objects/bytes_methods.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/bufferobject.o Objects/bufferobject.c
  building Objects/bytearrayobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/bytes_methods.o Objects/bytes_methods.c
  building Objects/capsule.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/bytearrayobject.o Objects/bytearrayobject.c
  building Objects/cellobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/capsule.o Objects/capsule.c
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/cellobject.o Objects/cellobject.c
  building Objects/classobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/classobject.o Objects/classobject.c
  building Objects/cobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/cobject.o Objects/cobject.c
  building Objects/codeobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/codeobject.o Objects/codeobject.c
  building Objects/complexobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/complexobject.o Objects/complexobject.c
  building Objects/descrobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/descrobject.o Objects/descrobject.c
  building Objects/enumobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/enumobject.o Objects/enumobject.c
  building Objects/exceptions.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/exceptions.o Objects/exceptions.c
  building Objects/genobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/genobject.o Objects/genobject.c
  building Objects/fileobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/fileobject.o Objects/fileobject.c
  building Objects/floatobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c
  building Objects/frameobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/frameobject.o Objects/frameobject.c
  building Objects/funcobject.o
  building Objects/intobject.o
  building Objects/iterobject.o
  building Objects/listobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/iterobject.o Objects/iterobject.c
  building Objects/longobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/listobject.o Objects/listobject.c
  building Objects/dictobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
  building Objects/memoryobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/intobject.o Objects/intobject.c
  building Objects/methodobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/memoryobject.o Objects/memoryobject.c
  building Objects/moduleobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/methodobject.o Objects/methodobject.c
  building Objects/object.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/moduleobject.o Objects/moduleobject.c
  building Objects/obmalloc.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/object.o Objects/object.c
  building Objects/rangeobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
  building Objects/setobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/rangeobject.o Objects/rangeobject.c
  building Objects/sliceobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c
  building Objects/stringobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/sliceobject.o Objects/sliceobject.c
  building Objects/structseq.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/stringobject.o Objects/stringobject.c
  building Objects/tupleobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/structseq.o Objects/structseq.c
  building Objects/typeobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/tupleobject.o Objects/tupleobject.c
  building Objects/weakrefobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
  building Objects/unicodeobject.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/weakrefobject.o Objects/weakrefobject.c
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/funcobject.o Objects/funcobject.c
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
  building Objects/unicodectype.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c
  building Python/_warnings.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c
  building Python/Python-ast.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c
  building Python/asdl.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/asdl.o Python/asdl.c
  building Include/graminit.h
  building Python/bltinmodule.o
  make Parser/pgen
  make[1]: Entering directory `/private/var/folders/xg/28cwp8hs2s9_xlcmf8mtzw480000gn/T/nix-build-python-2.7.8.drv-3/Python-2.7.8'
  building Python/mysnprintf.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/mysnprintf.o Python/mysnprintf.c
  building Python/pyctype.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/pyctype.o Python/pyctype.c
  building Parser/tokenizer_pgen.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/tokenizer_pgen.o Parser/tokenizer_pgen.c
  building Parser/printgrammar.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/printgrammar.o Parser/printgrammar.c
  building Parser/pgenmain.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Parser/pgenmain.o Parser/pgenmain.c
  building Parser/pgen
  gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -ldl  -framework CoreFoundation -o Parser/pgen
  make[1]: Leaving directory `/private/var/folders/xg/28cwp8hs2s9_xlcmf8mtzw480000gn/T/nix-build-python-2.7.8.drv-3/Python-2.7.8'
  Parser/pgen ./Grammar/Grammar Include/graminit.h Python/graminit.c
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c
  building Python/ceval.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c
  building Python/compile.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/compile.o Python/compile.c
  building Python/codecs.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/codecs.o Python/codecs.c
  building Python/errors.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/errors.o Python/errors.c
  building Python/frozen.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/frozen.o Python/frozen.c
  building Python/frozenmain.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/frozenmain.o Python/frozenmain.c
  building Python/future.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/future.o Python/future.c
  building Python/getargs.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/getargs.o Python/getargs.c
  building Python/getcompiler.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/getcompiler.o Python/getcompiler.c
  building Python/getcopyright.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/getcopyright.o Python/getcopyright.c
  building Python/getplatform.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -DPLATFORM='"darwin"' -o Python/getplatform.o ./Python/getplatform.c
  building Python/getversion.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/getversion.o Python/getversion.c
  building Python/graminit.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/graminit.o Python/graminit.c
  building Python/import.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/import.o Python/import.c
  building Python/importdl.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -I. -o Python/importdl.o ./Python/importdl.c
  building Python/marshal.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/marshal.o Python/marshal.c
  building Python/modsupport.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/modsupport.o Python/modsupport.c
  building Python/mystrtoul.o
  building Python/peephole.o
  building Python/pyarena.o
  building Python/pyfpe.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/pyarena.o Python/pyarena.c
  building Python/pymath.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/pyfpe.o Python/pyfpe.c
  building Python/pystate.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/pymath.o Python/pymath.c
  building Python/pythonrun.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/pystate.o Python/pystate.c
  building Python/random.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c
  building Python/structmember.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/random.o Python/random.c
  building Python/symtable.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/structmember.o Python/structmember.c
  building Python/sysmodule.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c
  building Python/traceback.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/sysmodule.o Python/sysmodule.c
  building Python/getopt.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/traceback.o Python/traceback.c
  building Python/pystrcmp.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/getopt.o Python/getopt.c
  building Python/pystrtod.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/pystrcmp.o Python/pystrcmp.c
  building Python/dtoa.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/pystrtod.o Python/pystrtod.c
  building Python/formatter_unicode.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/dtoa.o Python/dtoa.c
  building Python/formatter_string.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/formatter_unicode.o Python/formatter_unicode.c
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/peephole.o Python/peephole.c
  building Python/dynload_shlib.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/formatter_string.o Python/formatter_string.c
  building Python/mactoolboxglue.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/dynload_shlib.o Python/dynload_shlib.c
  building Python/thread.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/mactoolboxglue.o Python/mactoolboxglue.c
  building Modules/config.o
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Python/thread.o Python/thread.c
  building Modules/getpath.o
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/dispatch.h:51:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
                   from Include/pymactoolbox.h:10,
                   from Python/mactoolboxglue.c:27:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/object.h:143:15: error: expected identifier or '(' before '^' token
   typedef void (^dispatch_block_t)(void);
                 ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/dispatch/object.h:362:3: error: unknown type name 'dispatch_block_t'
     dispatch_block_t notification_block);
     ^
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:64:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
                   from Include/pymactoolbox.h:10,
                   from Python/mactoolboxglue.c:27:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h:16:1: warning: 'unavailable' attribute directive ignored [-Wattributes]
   CFURLRef CFCopyHomeDirectoryURL(void) CF_AVAILABLE_IOS(5_0);
   ^
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -o Modules/config.o Modules/config.c
  building Modules/main.o
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Security.framework/Headers/cssmapple.h:30:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:26,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
                   from Include/pymactoolbox.h:10,
                   from Python/mactoolboxglue.c:27:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Security.framework/Headers/cssmtype.h:695:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   typedef void (CSSMAPI *CSSM_PROC_ADDR) ();
   ^
  gcc -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -DPYTHONPATH='":plat-darwin:plat-mac:plat-mac/lib-scriptpackages:lib-tk:lib-old"' \
      -DPREFIX='"/nix/store/l8kybsk3avdv9rbmrgzvsr0cbmv8xn7c-python-2.7.8"' \
      -DEXEC_PREFIX='"/nix/store/l8kybsk3avdv9rbmrgzvsr0cbmv8xn7c-python-2.7.8"' \
      -DVERSION='"2.7"' \
      -DVPATH='""' \
      -o Modules/getpath.o ./Modules/getpath.c
  building Modules/gcmodule.o
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h:54:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/CSIdentity.h:43,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/OSServices.h:27,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/IconsCore.h:23,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:22,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:39,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
                   from Include/pymactoolbox.h:10,
                   from Python/mactoolboxglue.c:27:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h:47:1: warning: 'weak_import' attribute does not apply to types [-Wattributes]
   } __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0);
   ^
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/Availability.h:151:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/stdio.h:65,
                   from Include/Python.h:33,
                   from Python/mactoolboxglue.c:26:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:270:38: error: expected ',' or '}' before '__attribute__'
     kFSEventStreamCreateFlagFileEvents __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_6_0) = 0x00000010,
                                        ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:38: error: expected ',' or '}' before '__attribute__'
     kFSEventStreamEventFlagItemCreated __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_6_0) = 0x00000100,
                                        ^
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h:21:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:21,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
                   from Include/pymactoolbox.h:10,
                   from Python/mactoolboxglue.c:27:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:278:1: warning: 'unavailable' attribute directive ignored [-Wattributes]
   extern const CFStringRef kCTFontDownloadedAttribute CT_AVAILABLE_IOS(7_0);
   ^
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:31:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
                   from Include/pymactoolbox.h:10,
                   from Python/mactoolboxglue.c:27:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h:81:1: warning: 'weak_import' attribute does not apply to types [-Wattributes]
   } CT_AVAILABLE(10_10, 8_0);
   ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h:111:1: warning: 'weak_import' attribute does not apply to types [-Wattributes]
   } CT_AVAILABLE(10_10, 8_0);
   ^
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h:141:1: warning: 'weak_import' attribute does not apply to types [-Wattributes]
   } CT_AVAILABLE(10_10, 8_0);
   ^
  In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Accessibility.h:14:0,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/HIServices.h:47,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:43,
                   from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
                   from Include/pymactoolbox.h:10,
                   from Python/mactoolboxglue.c:27:
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/AXValue.h:71:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   extern CFTypeID  AXValueGetTypeID() AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER;
   ^
  make: *** [Python/mactoolboxglue.o] Error 1
  make: *** Waiting for unfinished jobs....
  make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!
  note: keeping build directory ‘/private/var/folders/xg/28cwp8hs2s9_xlcmf8mtzw480000gn/T/nix-build-python-2.7.8.drv-3’
  builder for ‘/nix/store/dni1d1nx9fanc7m27ys0r407r63xcz6v-python-2.7.8.drv’ failed with exit code 2
  error: build of ‘/nix/store/dni1d1nx9fanc7m27ys0r407r63xcz6v-python-2.7.8.drv’ failed
  ```


state: closed
title: Autoexpect can't find package Expect
user_login: ghost
html_url: https://github.com/NixOS/nixpkgs/issues/4935
updated_at: 2015-04-28 00:03:25
body:
  Invoking `autoexpect` is producing the following error message:

  ```
  can't find package Expect
      while executing
  "package require Expect"
      (file "/run/current-system/sw/bin/autoexpect" line 6)
  ```

  `autoexpect` is part of the package `expect` so it's just failing to locate it.

  I'm running on NixOS Unstable.

  ```
  NAME=NixOS
  ID=nixos
  VERSION="14.11pre52020.7bc3005 (Caterpillar)"
  VERSION_ID="14.11pre52020.7bc3005"
  PRETTY_NAME="NixOS 14.11pre52020.7bc3005 (Caterpillar)"
  HOME_URL="http://nixos.org/"
  ```


state: closed
title: Flashrom package contains no binaries
user_login: rushmorem
html_url: https://github.com/NixOS/nixpkgs/issues/4936
updated_at: 2014-11-12 15:55:06
body:
  The package [flashrom](http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.flashrom.x86_64-linux) has no binaries or any files at all as you can see in the [contents of it's latest build](http://hydra.nixos.org/build/16754155/contents/1).


state: closed
title: grsecurity: enable GRKERNSEC_NO_SIMULT_CONNECT by default
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/pull/4937
updated_at: 2016-05-04 01:57:36
body:
  This option disables a "feature" that allows to TCP clients to connect with each other. I am unaware of any legitimate use-case for this ability.


state: closed
title: grsecurity: add GRKERNSEC_DENYUSB option (disabled by default)
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/pull/4938
updated_at: 2015-01-18 22:13:04
body:
  This option tells the kernel to ignore plug-in events of USB devices. Useful to protect against attacks with malicious hardware. Currently disabled by default, though.


state: closed
title: kernel: enable CONFIG_RTC_SYSTOHC
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/pull/4939
updated_at: 2015-01-18 22:17:45
body:
  The system time (wall clock) will be stored in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11 minutes if userspace reports synchronized NTP status.


state: closed
title: Strongswan needs python for building
user_login: ip1981
html_url: https://github.com/NixOS/nixpkgs/issues/4940
updated_at: 2014-11-25 14:37:38
body:
  `stroke.conf` is empty. As a result `stroke` plugin is not loaded and there is no `/var/run/charon.ctl` socket.

  Relevant part of build log:

  ```
  case "plugins/stroke.opt" in \
  *plugins/*) \
          sed \
          -e "s:\@PLUGIN_NAME\@:`basename plugins/stroke.opt .opt`:" \
          ./default.opt | cat - plugins/stroke.opt | \
          : ./format-options.py -f conf -r charon.plugins > ./plugins/stroke.conf \
          ;; \
  *) \
          : ./format-options.py -f conf -r charon.plugins plugins/stroke.opt > ./plugins/stroke.conf \
          ;; \
  esac

  ```

  There must be **python** instead of **:** before **./format-options.py** ^^^

  ```
  $ find /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon -type f -ls
  544273    4 -r--r--r--   1 root     nixbld        130 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/aes.conf
  544451    4 -r--r--r--   1 root     nixbld        133 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/pkcs12.conf
  544454    4 -r--r--r--   1 root     nixbld        133 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/sshkey.conf
  544465    0 -r--r--r--   1 root     nixbld          0 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/stroke.conf
  544459    4 -r--r--r--   1 root     nixbld        131 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/cmac.conf
  544276    4 -r--r--r--   1 root     nixbld        131 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/sha1.conf
  544447    4 -r--r--r--   1 root     nixbld        133 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/pubkey.conf
  544458    4 -r--r--r--   1 root     nixbld        131 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/xcbc.conf
  544281    4 -r--r--r--   1 root     nixbld        131 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/x509.conf
  544467    4 -r--r--r--   1 root     nixbld        297 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/updown.conf
  544455    4 -r--r--r--   1 root     nixbld        130 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/pem.conf
  544449    4 -r--r--r--   1 root     nixbld        132 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/pkcs7.conf
  544456    4 -r--r--r--   1 root     nixbld        135 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/fips-prf.conf
  544277    4 -r--r--r--   1 root     nixbld        131 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/sha2.conf
  544463    4 -r--r--r--   1 root     nixbld        340 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/resolve.conf
  544468    4 -r--r--r--   1 root     nixbld        140 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/xauth-generic.conf
  544460    4 -r--r--r--   1 root     nixbld        131 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/hmac.conf
  544462    4 -r--r--r--   1 root     nixbld        444 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/kernel-netlink.conf
  544446    4 -r--r--r--   1 root     nixbld        138 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/constraints.conf
  544280    4 -r--r--r--   1 root     nixbld        132 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/nonce.conf
  544285    4 -r--r--r--   1 root     nixbld        137 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/revocation.conf
  544275    4 -r--r--r--   1 root     nixbld        130 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/rc2.conf
  544453    4 -r--r--r--   1 root     nixbld        133 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/dnskey.conf
  544461    4 -r--r--r--   1 root     nixbld        362 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/attr.conf
  544466    4 -r--r--r--   1 root     nixbld        221 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/vici.conf
  544457    4 -r--r--r--   1 root     nixbld        130 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/gmp.conf
  544274    4 -r--r--r--   1 root     nixbld        130 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/des.conf
  544448    4 -r--r--r--   1 root     nixbld        132 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/pkcs1.conf
  544452    4 -r--r--r--   1 root     nixbld        130 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/pgp.conf
  544464    4 -r--r--r--   1 root     nixbld        402 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/socket-default.conf
  544450    4 -r--r--r--   1 root     nixbld        132 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/pkcs8.conf
  544278    4 -r--r--r--   1 root     nixbld        130 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/md5.conf
  544279    4 -r--r--r--   1 root     nixbld        425 Jan  1  1970 /nix/store/ql1x291fij75ka1p07kvh1a43spbi607-strongswan-5.2.0//etc/strongswan.d/charon/random.conf
  ```


state: closed
title: Document use of Haskell packages in Nix(OS)
user_login: peti
html_url: https://github.com/NixOS/nixpkgs/issues/4941
updated_at: 2015-06-04 22:16:58
body:
  The Nixpkgs manual should explain how to install and use Haskell packages with Nix. We don't need to cover everything; but we should cover the basics and link to some additional blogs and Wiki pages that other people have written already.

  Also: We need a ChangeLog for the 15.06 release in `nixos/doc/manual/release-notes/rl-unstable.xml`.


state: closed
title: New Linux CVE
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4942
updated_at: 2014-11-19 10:58:30
body:
  There are several new CVE, I list just a couple:
  - http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8559 , through 3.17.2
  - http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8481 , before 3.18-rc2

  Should update to 3.17.3 as soon as it gets released with the fixes. It's not the default kernel but I know some people is using it.


state: closed
title: Use libusb-compat instead of unmaintained libusb
user_login: aflatter
html_url: https://github.com/NixOS/nixpkgs/pull/4945
updated_at: 2014-11-13 22:08:47
body:
  I had problems building libusb on OS X Yosemite. `libusb-0.1` has not been updated for years, but there's a compatibility layer called `libusb-compat` that wraps around `libusb-1.0`.

  ```
   libusb-compat-0.1 is a replacement for libusb-0.1. However, instead of being an actual implementation, libusb-0.1 is more of a compatibility layer (or wrapper) which just converts libusb-0.1 calls into their libusb-1.0 equivalents.

  It aims to look, feel and behave exactly like libusb-0.1. As it is a replacement, you cannot install it alongside libusb-0.1 on the same system.

  As the compatibility layer implements the exact same ABI and API, no modifications to existing libusb-0.1-based applications are needed. You do not even have to recompile them. This compatibility layer is a drop-in replacement. 
  ```


state: closed
title: dnscrypt-proxy service
user_login: joachifm
html_url: https://github.com/NixOS/nixpkgs/pull/4950
updated_at: 2014-11-13 14:39:29
body:
  For background, see https://www.opendns.com/about/innovations/dnscrypt/.

  I've been using this for a while now, and it works for my use case.
  Please review carefully, though, as this is the first service module I've created.
  The module interface currently only exposes options I care about.


state: closed
title: An experience with NixOS.
user_login: gabriel-laddel
html_url: https://github.com/NixOS/nixpkgs/issues/4952
updated_at: 2016-12-26 21:28:12
body:
  I'm leaving this here in hopes that it'll be useful to someone. I didn't see anything in the NixOS manual that would indicate that I'd run into this class of problems while using it (granted, I've not read it in detail, but it's largely unreadable and overall, the whole codebase is poorly documented - attempting to discern the intent of the programmers isn't worth my time anymore, eg, where is the BNF form for the Nix language? What was so wrong with existing languages that a new one had to be invented. Where are the design documents? Perhaps I'm just not looking hard enough... in any case, looking hasn't proved useful, and reading the sources has revealed only a complete and utter disregard for quality.).

  Cheers.

  ``` common-lisp
  ;;; Emacs
  ;;; ============================================================================
  ;;; First, why am I building from source when NixOS has emacs-24.4 as a package?
  ;;; 
  ;;; 1) you cannot M-. into the C sources.
  ;;; 2) info pages are not built by default.
  ;;; 3) pdf, postscript viewing via doc-view doesn't work.
  ;;; 
  ;;; The goal here is to have this (SBCL) code run without errors

  (defun rp (shell-command-string)
    (uiop:run-program shell-command-string :output :string))

  (defun rp-in-dir (commands dir)
    (dolist (shell-command commands)
      (rp (format nil "cd ~A && ~A" dir shell-command))))

  (defun build-emacs ()
    (rp "curl http://ftp.gnu.org/gnu/emacs/emacs-24.4.tar.gz > ~/quicklisp/local-projects/emacs-24.4.tar.gz")
    (rp "cd ~/quicklisp/local-projects/ && tar zxvf emacs-24.4.tar.gz")
    (rp-in-dir '("./configure"
             "make"
             "make install")
           "~/quicklisp/local-projects/emacs-24.4/"))

  ;;; at the ./configure step the following error occurs,
  ;;; 
  ;; configure: error: You seem to be running X, but no X development libraries
  ;; were found.  You should install the relevant development files for X
  ;; and for the toolkit you want, such as Gtk+ or Motif.  Also make
  ;; sure you have development files for image handling, i.e.
  ;; tiff, gif, jpeg, png and xpm.
  ;; If you are sure you want Emacs compiled without X window support, pass
  ;;   --without-x
  ;;; 
  ;;; I need X support, which my current binary has via the NixOS build farms. 
  ;;; Let's see what they're doing to get it compile,
  ;;; 
  ;;; https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/editors/emacs-24
  ;;; 
  ;;; NOTE:
  ;;; regarding #3, though I'm running on X, there isn't png support in doc-view.
  ;;; I can open other PNG files in Emacs. I don't know the origin of this
  ;;; problem, it may be Emacs, whatever. I'll settle for having a working build
  ;;; that /should/ work and punts the problem into emacs-land.
  ;;; 
  ;;; Anyway, the relevent files,
  ;;; 
  ;;; - builder.sh: swiches out the usual C resources for Nix's C resources by
  ;;;               modifying Emacs's Makefiles directly.
  ;;;              
  ;;; - default.nix: the relevent bits,
  ;;; 
  ;; { stdenv, fetchurl, ncurses, x11, libXaw, libXpm, Xaw3d
  ;; , pkgconfig, gtk, libXft, dbus, libpng, libjpeg, libungif
  ;; , libtiff, librsvg, texinfo, gconf, libxml2, imagemagick, gnutls
  ;; , alsaLib, cairo
  ;; , withX ? !stdenv.isDarwin, withGTK ? true
  ;; }:
  ;; 
  ;; assert (libXft != null) -> libpng != null;   # probably a bug
  ;; assert stdenv.isDarwin -> libXaw != null;    # fails to link otherwise
  ;; 
  ;; [...]
  ;; 
  ;;   buildInputs =
  ;;     [ ncurses gconf libxml2 gnutls alsaLib pkgconfig texinfo ]
  ;;     ++ stdenv.lib.optional stdenv.isLinux dbus
  ;;     ++ stdenv.lib.optionals withX
  ;;       [ x11 libXaw Xaw3d libXpm libpng libjpeg libungif libtiff librsvg libXft
  ;;         imagemagick gtk gconf ]
  ;;     ++ stdenv.lib.optional (stdenv.isDarwin && withX) cairo;
  ;; 
  ;;   configureFlags =
  ;;     ( if withX && withGTK then
  ;;         [ "--with-x-toolkit=gtk" "--with-xft"]
  ;;       else (if withX then
  ;;         [ "--with-x-toolkit=lucid" "--with-xft" ]
  ;;       else
  ;;         [ "--with-x=no" "--with-xpm=no" "--with-jpeg=no" "--with-png=no"
  ;;           "--with-gif=no" "--with-tiff=no" ] ) );
  ;; 
  ;; [...]
  ;; 
  ;;; of course NixOS distributes a binary and their build farm is configured
  ;;; differently than mine - meaning that running "./configure
  ;;; --with-x-toolkit=gtk --with-xft" and "./configure --with-x-toolkit=lucid
  ;;; --with-xft" on my box both fail with the previously seen error.
  ;;; 
  ;;; this http://askubuntu.com/questions/375978/x11-development-libraries
  ;;; link indicates the neccecary codebases to build a sane Emacs,
  ;;; 
  ;;;  libpthread-stubs0 libpthread-stubs0-dev libx11-dev libx11-doc libxau-dev
  ;;;  libxcb1-dev libxdmcp-dev x11proto-core-dev x11proto-input-dev
  ;;;  x11proto-kb-dev xorg-sgml-doctools xtrans-dev
  ;;; 
  ;;; Normally I'd install them via the package manager, which I tried, but nix
  ;;; doesn't have anything useful in its repos.[0]
  ;;;
  ;;; Is there anyway out of this mess, satifying requirements 1-3 that doesn't
  ;;; force me to end up downloading and building X development libs + its 
  ;;; requirements etc. etc. myself?
  ;;; 
  ;;; SBCL
  ;;; ============================================================================
  ;;;
  ;;; I need to build SBCL-1.2.5 with threads and all the debug goodies, which
  ;;; corresponds to the script below (I've run this on Ubuntu previously - it
  ;;; works there).

  (defun build-sbcl ()
    "Builds SBCL-1.2.5 from source"
    (aif (probe-file (qlpp "/sbcl"))
         (error "a SBCL repo already exists at ~a. Remove it before retrying." it)
         (rp-in-dir
      '("cd .. && git clone https://github.com/sbcl/sbcl.git"
        "git fetch origin 7db8f1a3d92c23a2459eef8fd899ac542c926d3c" ;; SBCL-1.2.5
        "git reset --hard FETCH_HEAD"
        "sh make.sh --with-sb-xref-for-internals --with-sb-threads --with-sb-qshow --with-sb-eval --with-sb-source-locations"
        "cd /doc/manual && make"
        "INSTALL_ROOT=/usr/local sh install.sh")
      (qlpp "/sbcl"))))

  ;;; this fails its sb-posix self-test with the output,
  ;;; 
  ;;; https://gist.githubusercontent.com/gabriel-laddel/dae75ab973af976b29c9/raw/7c5844d3d52a52c9618bf28faac5a734a3dac43f/gistfile1.txt
  ;;;
  ;;; NixOS has a script that builds SBCL from source, but it builds 1.2.0 and on
  ;;; further inspection they just disable the sb-posix tests.[1]
  ;;;
  ;;; I looked online and didn't see anything that would aid in fixing this.[2]
  ;;; 
  ;;; Stumpwm
  ;;; ============================================================================
  ;;;
  ;;; Until SBCL builds I can't compile stumpwm, but if someone has experience
  ;;; with this on nixos using SBCL-1.2.5 I'd be interested in knowing about it.
  ;;; 
  ;;; Conclusion
  ;;; ============================================================================
  ;;;
  ;;; I was asking about NixOS on the freenode channel #lisp a few days ago and
  ;;; it seems that they fuck with the C toolchain, breaking who knows what.[3]
  ;;; 
  ;;; The lack of the libraries I need is probably due to the difficulty of adding
  ;;; packages to NixOS, stemming from this arrangement. If someone knew of a hack
  ;;; or two to get me out of this mess and get Emacs-24.4, SBCL-1.2.5 and a
  ;;; recent version of Stumpwm compiling as previously specified on NixOS, I'd
  ;;; appreciate it.
  ;;;
  ;;; If this class of errors will emerage for as long as I use nixos, I'd like
  ;;; to know.
  ;;;
  ;;; Footnotes
  ;;; ============================================================================
  ;;;
  ;;; [0] nothing.
  ;;; 
  ;; MM> (let* ((store (uiop:run-program "ls /nix/store/" :output :string)))
  ;;        (filter (curry #'regex-matches "libx") (split "\\n" store)))
  ;; 
  ;; ("025ah2sy92hhn4qdjcrrvn29alr5ph81-libxkbcommon-0.3.1.tar.xz.drv"
  ;;  "03g8p62kmza4qx279d24mmnbawb1fvy2-libxcb-1.10.tar.bz2.drv"
  ;;  "116pxnak2kanp949fdvbzjh9ifxzrdl6-libxml2-2.9.1"
  ;;  "13pj0frvshivri4kn5n10wvqfmad5k0m-libxslt-1.1.28.drv"
  ;;  "1d9f8pcih74kdblqmqr0kjfhg2sly99c-libxfce4ui-4.10.0"
  ;;  "1qb8mpvw6bf6fc0h3lfmzky11rdky34z-libxfce4util-4.10.1.drv"
  ;;  "1ynkvn8yk3w2fhdynzzly9vdgyaamr21-libxfcegui4-4.10.0.drv"
  ;;  "20d7sf4cv3qndb64j9i3smd20vqycc2l-libxkbfile-1.0.8.drv"
  ;;  "2i6wskddvsgdqbjh18426ziv8xj03yn6-libxkbfile-1.0.8.drv"
  ;;  "2ilf5l5bn4dqc003gl32prhn97xp204i-libxklavier-5.3"
  ;;  "2sx34g9vm6mr3d75cph2jfb7kg6rs5aw-libxfce4ui-4.10.0"
  ;;  "36m59sl2y2dr1klrv47jfjq79rcgdv1a-libxml2-2.9.1.drv"
  ;;  "43df9c0xfdv6cwfm2jzbwqfpw2bzwlrd-libxfcegui4-4.10.0.tar.bz2.drv"
  ;;  "4fh3yf7v53lmdc594k676521lvz50ri9-libxml2-2.9.1"
  ;;  "4jspvhi9rnf7jax006zgvcalrgg9hm4g-libxcb-1.10.drv"
  ;;  "4l1mwx2873n7r3sm2xdw44v3lgp6hk8l-libxslt-1.1.28.drv"
  ;;  "4xg2qzgdvi78jkwjz7rvw66svzhkh5b8-libxklavier-5.3.tar.xz.drv"
  ;;  "53nnhm4c7sazhhqsiiywvcbdm8ymn8rh-libxkbfile-1.0.8"
  ;;  "5grpva6kminnffssy2syfmhbss6kidim-libxslt-1.1.28.tar.gz.drv"
  ;;  "5jlj75jcj5gq0df73yqfdzg37imyhi61-libxkbfile-1.0.8"
  ;;  "5jski72yiczcpa2wigiz4a41pcwhd5fa-libxfce4util-4.10.1.drv"
  ;;  "6d6k56c5g2p6gvwlwcj7a8n6bsc8p2gv-libxslt-1.1.28.drv"
  ;;  "6q17hlx5vm47rfnrf08l1rg66wjld11i-libxklavier-5.3"
  ;;  "6s9iiry37r1vy2k56rqh5jhl5ycr6hak-libxfce4util-4.10.1"
  ;;  "73bzr16i6f598jmpa1g8rln8rl5zxj2k-libxkbfile-1.0.8.tar.bz2.drv"
  ;;  "76vjqzbgxw61d386py8xjxjwqp2sia4n-libxklavier-5.3.tar.xz.drv"
  ;;  "7k0n1h5vd0iqq5s326kqwpk340pfgh2g-libxkbfile-1.0.8.tar.bz2.drv"
  ;;  "7ljw10rz8c4sj4rvdfgisy08q9hnv3pj-libxml2-2.9.1.drv"
  ;;  "86256ibvvlwfa01dixpxkbg8lhwn2xyn-libxml2-2.9.1.tar.gz.drv"
  ;;  "8b3f3r9qyyfpnp7srzavyc9ybfcmflkz-libxshmfence-1.1.drv"
  ;;  "8i705ypc81ac1v26zqc88jv3v0wk6l9y-libxml2-2.9.1.drv"
  ;;  "979p25zawcplfr4y1dfcaj29m1zh1hzr-libxklavier-5.3"
  ;;  "9smp7kdq5s4fv29dx8apbk0lci97bihk-libxcb-1.10.tar.bz2.drv"
  ;;  "9ybayp5y0q31520j3bj2vw6izpvcnhlc-libxcb-1.10"
  ;;  "a51n8sg88cvif0arnfx8yr43bzzppha4-libxml2-2.9.1.tar.gz.drv"
  ;;  "a8akbq6qc4mrh9kcd5akgb5nlf2p5nva-libxfcegui4-4.10.0"
  ;;  "ah0d8w1w75sawxb7irm1wy94q7ic4p5s-libxslt-1.1.28"
  ;;  "ajg296g19d9a1gap1gjfqf47yd4fhb6i-libxslt-1.1.28.tar.gz.drv"
  ;;  "b1w1x37caijzyn5qbaqnyaigkfs73shb-libxfce4util-4.10.1.drv"
  ;;  "b335b34h3xrw40p716qxkz2kpish5cxz-libxml++-2.37.1.drv"
  ;;  "bcqby8a58s1f6djd1n2c0xlwip72xzrl-libxcb-1.10"
  ;;  "bf3m978jififr7bb0zlplbprhll2l3b3-libxml2-2.9.1"
  ;;  "ccdkyv0igd1sc32n4n6gv5bksirdy6ib-libxkbcommon-0.4.2"
  ;;  "cxkx18509jylydsqcl09xnmgjy0kdj37-libxklavier-5.3.drv"
  ;;  "czg9czdpf9qw0kihs48j8v748lh8q42r-libxml++-2.37.1.tar.xz.drv"
  ;;  "d0s1yhb3vzkyhnkzhpjik52hvmr8z1dq-libxklavier-5.3.drv"
  ;;  "d6qpj567ldd0rmf5flw974bzn7lqdq5n-libxfcegui4-4.10.0"
  ;;  "d9kmn518ni0mjxymlh0zibb6fvgqiqmk-libxcb-1.10"
  ;;  "dy4kxm5p723wh35vpm0p022b38kdx6id-libxkbcommon-0.3.1"
  ;;  "fb41n9q0vyqknv9fh29h9jqq1bv46g2g-libxml2-2.9.1.tar.gz.drv"
  ;;  "fbf5wn8xpd9xpxbzwghs47gx4agfflf6-libxslt-1.1.28.drv"
  ;;  "fkmvmjchjbxr2hq1lzzj402ib7x0w478-libxshmfence-1.1"
  ;;  "fqbpi5d449rlj8kg5nxyvx6ldlnpvamb-libxshmfence-1.1.tar.bz2.drv"
  ;;  "gbjr9ajg4ncdvg8l77jwnqzny6jqjksf-libxml2-2.9.1.drv"
  ;;  "gzfn3syyivx8inws6pd7zia4kx2zqnw3-libxml2-2.9.1.tar.gz.drv"
  ;;  "h072phnwz6rvczzp2dvcwdi295mynkji-libxkbcommon-0.3.1.tar.xz.drv"
  ;;  "i1azqjiw6zwhhsxyh013hy93v7ijl5bd-libxml2-2.9.1.tar.gz.drv"
  ;;  "i990bngxygjsb7yxqmkyh4nwcwrf7lxz-libxml2-2.9.1.drv"
  ;;  "i9si4aqryz1506sqbkpfm87f5sxqjd7z-libxfce4ui-4.10.0.tar.bz2.drv"
  ;;  "iv4y7634vlpxqc5w48kifq4hn4zwm66k-libxml-1.1.7.zip.drv"
  ;;  "izn7kqmqnl3k4bnybjc3nyq69wrlc3yr-libxfcegui4-4.10.0.drv"
  ;;  "jc1qkmijvwc23sjfsc0fpfiyxvni6d8f-libxfce4util-4.10.1"
  ;;  "jlkj7hb36ck0p4n70lalrxfhm0krvdgr-libxfce4ui-4.10.0.tar.bz2.drv"
  ;;  "jzy80nbc78aa5lf4nsmr0jbj6rid12i2-libxml2-2.9.1"
  ;;  "k5c2wziyxs2zi2kbbki5zlmvfj84jjfa-libxkbfile-1.0.8"
  ;;  "kmc9vhj9rbvhs2mvyz67svsbvvxka045-libxml2-2.9.1"
  ;;  "krpi62lv7v0phmsld2ncjglwnv5290dq-libxcb-1.11"
  ;;  "kslq0annwr9qwx2zmqb5mbwcf8jsv2fj-libxkbcommon-0.4.2.drv"
  ;;  "kx14dfzmgf77gy9iic2n2k9ps1dhls3d-libxslt-1.1.28.tar.gz.drv"
  ;;  "kxm2402s1hsvaqlzj9w1wv0whf5gh79y-libxfce4util-4.10.1.tar.bz2.drv"
  ;;  "l6pcl98zm53vp7x93h1z043j6d6j8p5z-libxkbfile-1.0.8.tar.bz2.drv"
  ;;  "lhil0gadk8ys8j0v92pr27i2xcmdpp7f-libxcb-1.10.drv"
  ;;  "lwmgd7nfy5jnvi3zmdd3f24slcvy61j0-libxfcegui4-4.10.0.tar.bz2.drv"
  ;;  "m36bszgr0s0j13247ks2wjplb994im54-libxfce4ui-4.10.0.drv"
  ;;  "mcjn7v7kvalfxjqnzqsnpic4nhcizp7f-libxml2-2.9.1.drv"
  ;;  "mmhlb82z354z0whnzb3p34v397jk62ls-libxfce4util-4.10.1.tar.bz2.drv"
  ;;  "n5gnxw5v44p3k19crwg84c8l5dksrfpf-libxfce4util-4.10.1.tar.bz2.drv"
  ;;  "n6w0h59g15zqdpflc33nsyvi1yl5mrjs-libxkbfile-1.0.8.drv"
  ;;  "n9xij30r8z1liacqrk4zcfp1by1pj8z8-libxfcegui4-4.10.0"
  ;;  "ngx01x949v8lw4a5gdz7i6430klzsfix-libxslt-1.1.28.tar.gz.drv"
  ;;  "nilzpw1vrwhj89zm1q4xpijyz2ybkgxg-libxslt-1.1.28.tar.gz.drv"
  ;;  "nsrr7wgbsla23ijm31i3ny73hs3krp4i-libxfce4ui-4.10.0.drv"
  ;;  "pv7j4w7c98jx0qjcg10w9x5zmf9xdyqr-libxml2-2.9.1.drv"
  ;;  "q83lm1x1dn6s2x9skq91x2x7pwhcxn4q-libxkbcommon-0.3.1.drv"
  ;;  "qa6mk841n0rh060knb99qwjj2diyw0qs-libxcb-1.11.drv"
  ;;  "rl7xmd7c8ndw58f5n5lyh331473mzgg5-libxfce4util-4.10.1"
  ;;  "sg4sa9saidaxb1jnh9gzc0y07z650dk2-libxslt-1.1.28.drv"
  ;;  "v6nlndqwa5wqvw6q4bi0c0w09xq7bysf-libxfce4ui-4.10.0.tar.bz2.drv"
  ;;  "vw5dn0fqxaw6gxciilc1w0ycc88x4jsg-libxkbcommon-0.3.1.drv"
  ;;  "w2f5i41g0w1pyaks4icwv5rizxnfqaps-libxml2-2.9.1"
  ;;  "w9l2nnz3yzcpqarh26z9vzw1mv97jyq9-libxcb-1.11.tar.bz2.drv"
  ;;  "x0zd0ckzzgb9v8lsnnk3gahv0v2rcjnz-libxfcegui4-4.10.0.tar.bz2.drv"
  ;;  "x18dj0glsj8krc0la6x5q9jcd5i3awm4-libxklavier-5.3.drv"
  ;;  "x49n7gaj0idi9a2fjs3355fcv3blk7mg-libxklavier-5.3.tar.xz.drv"
  ;;  "x4aqdmrxg1k4jrnlq1pnz8d5pqgnmqii-libxkbcommon-0.4.2.tar.xz.drv"
  ;;  "xp4n5m67dfgcs4ybml382d3d6zfgyj4c-libxfcegui4-4.10.0.drv"
  ;;  "y2dwvqc8bj5iwqjgwy3pwpzlf6cm94im-libxfce4ui-4.10.0.drv"
  ;;  "y6r4c4nl4n6vx5nn82c6mk3k48d1kx7x-libxml2-2.9.1.drv"
  ;;  "z8kqkww1wqy6avcpz03c4zzqkia0jzms-libxml2-2.9.1"
  ;;  "zb7shk46j031c83rryjd7fyz7p1dvpif-libxcb-1.10.tar.bz2.drv"
  ;;  "zfgajiys8pz60ri3kpcpw55lslzn1w0b-libxml2-2.9.1.drv"
  ;;  "zhsl1w9lkjh44ihz27xgbxd37b89dvny-libxfce4ui-4.10.0"
  ;;  "zrds416mqwmx5fz3s06bvw5yc44i0b07-libxcb-1.10.drv")
  ;;
  ;;;
  ;;; and,
  ;;; 
  ;; MM> (filter (lambda (s) (let* ((r (scan "x[a-zA-Z0-9]*" s))) (and r (= 0 r))))
  ;;             (split "\\n" (nix-packages))) ;; = "nix-env --query --available"
  ;;
  ;; '("x11-ssh-askpass-1.2.4.1" "x11perf-1.5.4" "x11vnc-0.9.13" "x264-20130424_2245"
  ;;  "x2vnc-1.7.2" "x2x-1.27" "x86info-1.30" "xaos-3.6" "xapian-1.0.23"
  ;;  "xapian-1.2.8" "xapian-bindings-1.0.23" "xapian-bindings-1.2.8"
  ;;  "xapian-bindings-1.2.8" "xar-1.5.2" "xaralx-0.7r1785" "xarchive-0.2.8-6"
  ;;  "xarchiver-0.5.3" "xauth-1.0.9" "xautolock-2.2" "xawtv-3.103"
  ;;  "xbacklight-1.2.1" "xbase-3.1.2" "xbindkeys-1.8.6" "xbitmaps-1.1.1"
  ;;  "xbmc-13.2" "xbmc-13.2" "xbmc-plugin-advanced-launcher-2.5.7"
  ;;  "xbmc-plugin-genesis-2.1.3" "xbmc-plugin-svtplay-4.0.6" "xboard-4.7.3"
  ;;  "xboxdrv-0.8.5" "xburst-tools-2011-12-26" "xc3sprog-748" "xcalib-0.8"
  ;;  "xcape-git-2013-05-30" "xcb-proto-1.11" "xcb-util-0.3.9"
  ;;  "xcb-util-cursor-0.1.1" "xcb-util-image-0.3.9" "xcb-util-keysyms-0.3.9"
  ;;  "xcb-util-renderutil-0.3.9" "xcb-util-wm-0.4.1" "xchainkeys-0.11"
  ;;  "xchat-2.8.8" "xchm-1.23" "xclip-0.12" "xclock-1.0.7" "xcmiscproto-1.2.2"
  ;;  "xcmsdb-1.0.4" "xcompmgr-1.1.6" "xconq-7.5.0-0pre.0.20050612" "xcruiser-0.30"
  ;;  "xcursor-themes-1.0.4" "xcursorgen-1.0.6" "xdaliclock-2.41" "xdelta-3.0z"
  ;;  "xdg-user-dirs-0.15" "xdg-utils-1.1.0-rc1" "xdm-1.1.11" "xdo-0.3"
  ;;  "xdotool-2.20101012.3049" "xdpyinfo-1.3.1" "xdriinfo-1.0.4" "xdummy"
  ;;  "xerces-c-3.1.1" "xev-1.2.1" "xextproto-7.3.0" "xeyes-1.1.1"
  ;;  "xf86-input-evdev-2.8.4" "xf86-input-joystick-1.6.2"
  ;;  "xf86-input-keyboard-1.8.0" "xf86-input-mouse-1.9.1" "xf86-input-mtrack-0.3.0"
  ;;  "xf86-input-multitouch-20110312" "xf86-input-synaptics-1.7.6"
  ;;  "xf86-input-vmmouse-13.0.0" "xf86-input-void-1.4.0" "xf86-input-wacom-0.26.1"
  ;;  "xf86-video-ark-0.7.5" "xf86-video-ast-0.98.0" "xf86-video-ati-7.4.0"
  ;;  "xf86-video-cirrus-1.5.2" "xf86-video-dummy-0.3.7" "xf86-video-fbdev-0.4.4"
  ;;  "xf86-video-geode-2.11.16" "xf86-video-glide-1.2.2" "xf86-video-glint-1.2.8"
  ;;  "xf86-video-i128-1.3.6" "xf86-video-intel-2.21.15" "xf86-video-intel-2.99.912"
  ;;  "xf86-video-mach64-6.9.4" "xf86-video-mga-1.6.3"
  ;;  "xf86-video-modesetting-0.9.0" "xf86-video-neomagic-1.2.8"
  ;;  "xf86-video-nested-2012-06-15" "xf86-video-newport-0.2.4"
  ;;  "xf86-video-nouveau-1.0.10" "xf86-video-nv-2.1.20"
  ;;  "xf86-video-openchrome-0.3.3" "xf86-video-qxl-0.1.2" "xf86-video-r128-6.9.2"
  ;;  "xf86-video-savage-2.3.7" "xf86-video-siliconmotion-1.7.7"
  ;;  "xf86-video-sis-0.10.7" "xf86-video-suncg6-1.1.2" "xf86-video-sunffb-1.2.2"
  ;;  "xf86-video-tdfx-1.4.5" "xf86-video-tga-1.2.2" "xf86-video-trident-1.3.6"
  ;;  "xf86-video-v4l-0.2.0" "xf86-video-vesa-2.3.3" "xf86-video-vmware-13.0.2"
  ;;  "xf86-video-voodoo-1.2.5" "xf86-video-wsfb-0.4.0" "xf86bigfontproto-1.2.0"
  ;;  "xf86dgaproto-2.1" "xf86driproto-2.1.1" "xf86miscproto-0.9.3"
  ;;  "xf86vidmodeproto-2.3.1" "xfce4-appfinder-4.10.1" "xfce4-battery-plugin-1.0.0"
  ;;  "xfce4-cpufreq-plugin-1.0.0" "xfce4-datetime-plugin-0.6.1"
  ;;  "xfce4-dev-tools-4.10.0" "xfce4-icon-theme-4.4.3" "xfce4-mixer-4.10.0"
  ;;  "xfce4-notifyd-0.2.4" "xfce4-panel-4.10.1" "xfce4-power-manager-1.3.0"
  ;;  "xfce4-screenshooter-1.8.1" "xfce4-session-4.10.1" "xfce4-settings-4.10.1"
  ;;  "xfce4-systemload-plugin-1.1.1" "xfce4-taskmanager-1.0.1"
  ;;  "xfce4-terminal-0.6.3" "xfce4-xkb-plugin-0.5.6" "xfconf-4.10.0"
  ;;  "xfdesktop-4.10.2" "xfe-1.37" "xfig-3.2.5b" "xfontsel-1.0.5" "xfs-1.1.3"
  ;;  "xfsprogs-3.2.1" "xfwm4-4.10.1" "xgamma-1.0.5" "xhost-1.0.6" "xhtml1-20020801"
  ;;  "xine-lib-1.2.4" "xine-ui-0.99.7" "xineramaproto-1.2.1" "xinetd-2.3.15"
  ;;  "xinit-1.3.3" "xinput-1.6.1" "xinput_calibrator" "xiphos-3.2.2"
  ;;  "xkb-switch-1.2" "xkbcomp-1.2.4" "xkbevd-1.1.3" "xkbprint-1.0.3"
  ;;  "xkbutils-1.0.4" "xkeyboard-config-2.11" "xkill-1.0.4" "xlaunch"
  ;;  "xlibs-wrapper" "xlockmore-5.43" "xlsatoms-1.1.1" "xlsclients-1.1.3"
  ;;  "xlsfonts-1.0.4" "xmacro-0.3pre20000911" "xmessage-1.0.4" "xml-rpc-1.6.8"
  ;;  "xmlindent-0.2.17" "xmlroff-0.3.98" "xmlrpc-c-1.25.27" "xmlsec-1.2.20"
  ;;  "xmlstarlet-1.6.1" "xmlto-0.0.25" "xmobar-0.22.1" "xmobar-0.22.1"
  ;;  "xmobar-0.22.1" "xmodmap-1.0.8" "xmoto-0.5.10" "xmove-2.0b2" "xmp-4.0.7"
  ;;  "xmpp.py-0.5.0rc1" "xnee-3.19" "xneur-0.13.0" "xneur-0.8.0" "xonotic-0.7.0"
  ;;  "xorg-cf-files-1.0.5" "xorg-docs-1.7" "xorg-server-1.14.7"
  ;;  "xorg-sgml-doctools-1.11" "xorg-sys-opengl-3" "xorriso-1.3.8" "xoscope-2.0"
  ;;  "xosd-2.2.12" "xournal-0.4.8" "xpdf-3.03" "xpf-0.2" "xplanet-1.3.0"
  ;;  "xpr-1.0.4" "xpra-0.11.6" "xprop-1.2.2" "xproto-7.0.26" "xpwn-0.5.8git"
  ;;  "xrandr-1.4.3" "xrdb-1.1.0" "xrefresh-1.0.5" "xrestop-0.4" "xsane-0.999"
  ;;  "xscreensaver-5.30" "xsel-1.2.0" "xset-1.2.3" "xsetroot-1.1.0" "xskat-4.0"
  ;;  "xsokoban-3.3c" "xsynth-dssi-0.9.4" "xterm-312" "xtitle-0.2" "xtrace-1.3.1"
  ;;  "xtrans-1.3.4" "xulrunner-31.0" "xvfb-run" "xvidcap-1.1.7" "xvidcore-1.3.2"
  ;;  "xvinfo-1.1.2" "xwd-1.0.6" "xwininfo-1.1.3" "xwud-1.0.4" "xxdiff-4.0"
  ;;  "xylib-1.3" "xz-5.0.5")
  ;;;
  ;;; [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/sbcl/1.2.0.nix
  ;;; 
  ;;;     I don't know sed but ran the scripts on my local SBCL dir and checked
  ;;;     the git changeset - they just remove the source for the tests
  ;;;     completely. The relevent bits from the .nix file:
  ;;;
  ;;   # SBCL checks whether files are up-to-date in many places..
  ;;   # Unfortunately, same timestamp is not good enough
  ;;   sed -e 's@> x y@>= x y@' -i contrib/sb-aclrepl/repl.lisp
  ;;   sed -e '/(date)/i((= date 2208988801) 2208988800)' -i contrib/asdf/asdf.lisp
  ;;   sed -i src/cold/slam.lisp -e \
  ;;     '/file-write-date input/a)'
  ;;   sed -i src/cold/slam.lisp -e \
  ;;     '/file-write-date output/i(or (and (= 2208988801 (file-write-date output)) (= 2208988801 (file-write-date input)))'
  ;;   sed -i src/code/target-load.lisp -e \
  ;;     '/date defaulted-fasl/a)'
  ;;   sed -i src/code/target-load.lisp -e \
  ;;     '/date defaulted-source/i(or (and (= 2208988801 (file-write-date defaulted-source-truename)) (= 2208988801 (file-write-date defaulted-fasl-truename)))'
  ;; 
  ;;   # Fix the tests [editor's note: 'fix' the tests by removing them? fuck you.]
  ;;   sed -e '/deftest pwent/inil' -i contrib/sb-posix/posix-tests.lisp
  ;;   sed -e '/deftest grent/inil' -i contrib/sb-posix/posix-tests.lisp
  ;;   sed -e '/deftest .*ent.non-existing/,+5d' -i contrib/sb-posix/posix-tests.lisp
  ;;   sed -e '/deftest \(pw\|gr\)ent/,+3d' -i contrib/sb-posix/posix-tests.lisp
  ;;   sed -e '5,$d' -i contrib/sb-bsd-sockets/tests.lisp
  ;;   sed -e '5,$d' -i contrib/sb-simple-streams/*test*.lisp
  ;;;
  ;;; [2] none of the following turn up anything promising in the first 10 results
  ;;;
  ;; (dolist (q '("WARNING! Some of the contrib modules did not build successfully or pass their self-tests. Failed contribs: sb-posix"
  ;;       "nixos sbcl issues"
  ;;       "nixos sbcl posix issues"
  ;;       "sbcl 1.2.5 posix linux"
  ;;       "sbcl posix test fail on nixos"
  ;;       "sbcl 1.2.5 posix linux tests fail"))
  ;;   (google q))
  ;;;
  ;;; [3] ...
  ;;;
  ;; 10:08 <gabriel_laddel> I'm working on a NixOS box I've been setting up as a
  ;;                        CL-only environment. Downloading iolib via quicklisp
  ;;                        currently throws an error, as the groveler can't
  ;;                        libfixposix. I installed libfixposix, restarted the
  ;;                        build and it still throws. I've no understanding of
  ;;                        g++ (the external process called by the iolib
  ;;                        groveler) and would like to maintain my innocence if
  ;;                        at all possible. Is anyone familiar with iolib & g++
  ;;                        and know
  ;; 10:08 <gabriel_laddel> s of a quick hack to point the groveler it at the
  ;;                        correct sources? Anything goes really - copying the
  ;;                        sources of libfixposix from A to B, monkey patching
  ;;                        iolib etc.
  ;; 10:09 <fe[nl]ix> gabriel_laddel: what do you mean you installed libfixposix ?
  ;; 10:11 <gabriel_laddel> fe[nl]ix: I downloaded it using the nixos package
  ;;                        manager. I should note that it 'just works' on ubuntu
  ;;                        when you do the ~same.
  ;; 10:12 <fe[nl]ix> gabriel_laddel: I don't think that iolib will work easily on
  ;;                  nixos
  ;; 10:12 <fe[nl]ix> or any cffi library, for that matter
  ;; 10:13 <gabriel_laddel> fe[nl]ix: care to explain why? I've no (blessedly)
  ;;                        experience with C/C++ toolchains.
  ;; 10:14 <fe[nl]ix> gabriel_laddel: AFAIK, nixos deals with multiple
  ;;                  installations of the same library by hard-coding the full
  ;;                  paths in the depending binaries
  ;; 10:14 <fe[nl]ix> using ld's rpath
  ;; 10:15 <fe[nl]ix> whereas CFFI basically uses dlopen() wuth just the library's
  ;;                  soname hoping that the linker will find it in some global
  ;;                  namespace

  ```


state: closed
title: root and user got locked
user_login: puffnfresh
html_url: https://github.com/NixOS/nixpkgs/issues/4955
updated_at: 2014-11-17 15:58:55
body:
  **Problem**: I must have upgraded something during today and at some point I could no longer sudo. I rebooted and couldn't log in. Checking /etc/shadow showed all accounts were locked with ! passwords.

  **Workaround**: I rebooted into the NixOS live CD, mounted the partition, removed the 'x' from /etc/passwd for root (to disable pass encryption), found the passwd binary in the mounted Nix store and changed the password for root. This let me log in and change my user account.

  **Configuration**: I had `users.mutableUsers = false` which I think was recently changed (I've now flipped this in my config, to ensure this doesn't happen in the future) and I'm using NixOS unstable which I built some time today (11/11/2014)


state: closed
title: unable to boot with kernel setting INTEL_IOMMU_DEFAULT_ON
user_login: robberer
html_url: https://github.com/NixOS/nixpkgs/issues/4956
updated_at: 2014-11-14 18:38:05
body:
  Since this kernel setting, introduced with commit d88c5eed1d7cb2a6fcd0b10881133b7a79e00a37 I'm unable to boot my system. I get errors like `dmar: DRHD: handling fault status reg 3` . I'm using a Intel 520 Series SSD.

  It took me a while to target the problem down to this commit. Got some help from @7c6f434c .

  As a workaround I can use intel_iommu=off .

  @wkennington Why do we need this enabled per default ? If I understand this setting correct it's a feature for VM's . But to use this feature I must be able to boot my real machine first :-)


state: closed
title: Matching hspec-hspec2
user_login: jkarni
html_url: https://github.com/NixOS/nixpkgs/pull/4958
updated_at: 2014-11-13 13:39:03
body:
  ```
      Upgraded hspec2 to 0.6.
      Upgraded hspec to 2.0.1.
      This allows (recursively) depending on hspec2 and hspec to work nicely,
      since now hspec2 is just a re-export of hspec.
  ```


state: closed
title: pkgs: add xsnow
user_login: robberer
html_url: https://github.com/NixOS/nixpkgs/pull/4962
updated_at: 2014-11-12 18:40:15
body:
  Well, I'm in a hurry to get my workstation prepared for Christmas and I was afraid that there is no Nix expression for `xsnow`.

  Tested with:

  DE: none
  WM: xmonad


state: open
title: NixOS cross-compile support
user_login: ambrop72
html_url: https://github.com/NixOS/nixpkgs/issues/4963
updated_at: 2019-03-21 02:36:06
body:
  There is good support for cross-compilation in nixpkgs, but as far as I can tell, none in NixOS. This has a drastic impact on the usefulness of cross-compiling within Nix.

  Ideally one would be able to:
  - Build a cross-compiled system configuration.
  - Deploy the system to a local storage medium (like nixos-install).
  - Deploy the system via nixops (basic ssh deployment).
  - Build a target-specific firmware image (where applicable).

  I am prepared to work on this, but I would first like some guidence from people familiar with the NixOS code.


state: closed
title: Relaxng error output from xmllint is useless
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4966
updated_at: 2016-03-30 17:17:43
body:
  Example output:

  ```
  $ nix-build -A manual pkgs/top-level/release.nix
  these derivations will be built:
    /nix/store/4riykn8jv7mc5xwpb6rljspjax7zxl3b-nixpkgs-manual.drv
  building path(s) ‘/nix/store/5fg5wy6gsz2sllkzyczzsfhbalipkr65-nixpkgs-manual’
  building /nix/store/5fg5wy6gsz2sllkzyczzsfhbalipkr65-nixpkgs-manual
  manual.xml:7: element para: Relax-NG validity error : Did not expect element para there
  manual.xml:16: element section: Relax-NG validity error : Did not expect element section there
  manual.xml:16: element section: Relax-NG validity error : Element chapter has extra content: section
  manual.xml:4: element info: Relax-NG validity error : Element book has extra content: info
  manual.xml fails to validate
  builder for ‘/nix/store/4riykn8jv7mc5xwpb6rljspjax7zxl3b-nixpkgs-manual.drv’ failed with exit code 3
  error: build of ‘/nix/store/4riykn8jv7mc5xwpb6rljspjax7zxl3b-nixpkgs-manual.drv’ failed
  ```

  This happens when you mistype a tag name, place something in wrong part of the xml tree, etc.

  cc @edolstra 


state: open
title: Patch upstream to correctly handle install_data/data_files in Python
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4968
updated_at: 2018-06-24 00:17:54
body:
  See https://bitbucket.org/pypa/setuptools/issue/130/install_data-doesnt-respect-prefix

  This is currently needed for some packages like `xpra`.
  - [ ] update Python docs
  - [ ] fix packages using the current workaround
  - [ ] open PR upstream

  Current workaround for `xpra`: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/X11/xpra/default.nix#L45


state: closed
title: Allow booting nixos from a subdirectory of the root device
user_login: 7c6f434c
html_url: https://github.com/NixOS/nixpkgs/issues/4972
updated_at: 2016-03-20 22:41:33
body:
  This is a move of a pull request #3143 that stopped being a pull request and became a feature request. Implementation will probably use systemd in initrd.

  Original attempt to implement was by @lethalman 

  > Assuming we are installing nixos under /nixos, we mount --rbind /nixos /mnt and do the usual installation.
  > Then in the configuration.nix:
  > 
  > ```
  >    boot.loader.grub.doInstall = false;
  > ```
  > 
  > ```
  >    fileSystems."/mnt/root" =
  >      { device = "/dev/foo";
  >        fsType = "bar";
  >        neededForBoot = true;
  >      };
  > ```
  > 
  > ```
  >    fileSystems."/" =
  >      { device = "/mnt/root/nixos";
  >        fsType = "none";
  >        options = "bind";
  >      };
  > ```
  > 
  > Finally add a menu entry to the existing grub loader of your device with something like: configfile (hd0,...)/nixos/boot/grub/grub.cfg.


state: closed
title: colors: fix haskell package
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/pull/4975
updated_at: 2014-11-13 15:30:15
body:
  This has been breaking Travis build of https://github.com/NixOS/nixpkgs/pull/4869 . How could it be this way at all?


state: closed
title: dmd: update to 2.066.1
user_login: BlackEdder
html_url: https://github.com/NixOS/nixpkgs/pull/4976
updated_at: 2014-11-14 13:13:55
body:
  Update the D compiler to version 2.066.1. The installation method follows the notes here:
  http://wiki.dlang.org/Building_DMD


state: closed
title: vim_configurable: add cscope support by default
user_login: bosu
html_url: https://github.com/NixOS/nixpkgs/pull/4979
updated_at: 2014-11-13 21:17:31
body:
  Without it cscope, hscope packages are almost useless. AFAICS the overhead is neglible, compared to ruby, lua, python support.

  Debian, Ubuntu have vim with cscope support enabled by default.


state: closed
title: update julia, make it portable accross cpu architectures
user_login: rened
html_url: https://github.com/NixOS/nixpkgs/pull/4985
updated_at: 2014-11-14 17:51:17
body:
  - Remove old julia versions except for 0.2.1
  - Make 0.3.2 the default
  - Build julia with `JULIA_CPU_TARGET=core2`. This gets rid of the impurity that the build output would be different on different build machines, eg. important when copying closures / using nixops. This is the same way the official julia binary releases are built. The actual JIT code generation is unaffected by this and is still optimized to the architecture julia is running on.

  @7c6f434c could you please take a look whether you are ok with this?


state: closed
title: New error for python 3.4 and pastebinit
user_login: lethalman
html_url: https://github.com/NixOS/nixpkgs/issues/4986
updated_at: 2014-11-15 10:26:51
body:
  ```
  building /nix/store/k5hr7qm2brpp390ymydz82n8hiwwk9nm-python3.4-pastebinit-1.4.1
  unpacking sources
  unpacking source archive /nix/store/iidyh1hbx28baj49zpn40p8iirnsrifi-pastebinit-1.4.1.tar.bz2
  source root is pastebinit-1.4.1
  patching sources
  configuring
  building
  no Makefile, doing nothing
  installing
  post-installation fixup
  gzipping man pages
  stripping (with flags -S) in  /nix/store/k5hr7qm2brpp390ymydz82n8hiwwk9nm-python3.4-pastebinit-1.4.1/bin 
  strip:/nix/store/k5hr7qm2brpp390ymydz82n8hiwwk9nm-python3.4-pastebinit-1.4.1/bin/pastebinit: File format not recognized
  patching ELF executables and libraries
  /nix/store/k5hr7qm2brpp390ymydz82n8hiwwk9nm-python3.4-pastebinit-1.4.1/bin/pastebinit
  not an ELF executable
  patching script interpreter paths
  /nix/store/k5hr7qm2brpp390ymydz82n8hiwwk9nm-python3.4-pastebinit-1.4.1/bin/pastebinit: interpreter directive changed from "/usr/bin/python3" to "/nix/store/c4vxfd06bb65i74pwkdixwh2pgcaajxk-python3-3.4.2/bin/python3  "
  /nix/store/k5hr7qm2brpp390ymydz82n8hiwwk9nm-python3.4-pastebinit-1.4.1/bin/pastebinit
  wrapping `/nix/store/k5hr7qm2brpp390ymydz82n8hiwwk9nm-python3.4-pastebinit-1.4.1/bin/pastebinit'...
  /nix/store/kypc8kqdpv359q6ir46ia9zg5mqcr0bg-hook/nix-support/setup-hook: line 67: /nix/store/k5hr7qm2brpp390ymydz82n8hiwwk9nm-python3.4-pastebinit-1.4.1/lib/python3.4/site-packages/python3.4-pastebinit-1.4.1-nix-python-propagated-native-build-inputs.pth: No such file or directory
  builder for ‘/nix/store/2d6g8l56wpl0mp0s94x1dwcj52snhmwp-python3.4-pastebinit-1.4.1.drv’ failed with exit code 1
  ```

  http://hydra.nixos.org/build/16906801/log/raw

  cc @ielectric


state: closed
title: Openobex error on nixos-rebuild
user_login: MP2E
html_url: https://github.com/NixOS/nixpkgs/issues/4987
updated_at: 2014-11-16 13:06:14
body:
  ```
  CMake Error at udev/cmake_install.cmake:60 (FILE):
    file INSTALL cannot copy file
    "/tmp/nix-build-openobex-1.7.1.drv-0/openobex-1.7.1-Source/build/udev/openobex.rules"
    to
    "/nix/store/mp71p0bdm6awpwybz3v03cjh22wvr4i5-systemd-217/lib/udev/rules.d/60-openobex.rules".
  Call Stack (most recent call first):
    cmake_install.cmake:39 (INCLUDE)


  make: *** [install] Error 1
  builder for `/nix/store/ph6hmhr376jh6j0g475hv8sylj6i7glq-openobex-1.7.1.drv' failed with exit code 2
  ```


state: closed
title: Starting container a second time breaks
user_login: teh
html_url: https://github.com/NixOS/nixpkgs/issues/4989
updated_at: 2014-11-26 18:14:10
body:
  Hi - can anyone reproduce this?

  Starting a container for the first time works, but the second time it
  fails because systemd-nspawn wants to create directories before bind
  mounting them.

  How to reproduce

  ```
  nixos-container create example
  nixos-container start example
  nixos-container stop example
  nixos-container start example # <-- fails
  ```

  The reason can be found by attaching strace to pid 1:

  ```
  strace -s 300 -f -p 1 2> /tmp/example
  ```

  which shows:

  ```
  [pid  8657] stat("/var/lib/containers/t5/nix/var/nix/gcroots", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
  [pid  8657] mkdir("/var/lib/containers/t5/nix/var/nix/gcroots", 0755) = -1 EEXIST (File exists)
  [pid  8657] writev(2, [{"Failed to create mount point /var/lib/containers/t5/nix/var/nix/gcroots: File exists", 84}, {"\n", 1}], 2) = 85
  [pid  8657] exit_group(1)               = ?
  [pid  8657] +++ exited with 1 +++
  ```

  Running the following before starting the container again fixes the issue:

  ```
  rmdir /var/lib/containers/t5/nix/var/nix/gcroots/ /var/lib/containers/t5/nix/var/nix/profiles/ /var/lib/containers/t5/nix/store/ /var/lib/containers/t5/nix/var/nix/db/ /var/lib/containers/t5/nix/var/nix/daemon-socket/ 
  ```

  systemd code in question:

  http://cgit.freedesktop.org/systemd/systemd/tree/src/nspawn/nspawn.c (see line ~760)

  ```
  [root@testmachine:~]# nixos-version 
  14.11pre-git (Caterpillar)
  ```


state: closed
title: mutableUsers break if you have password file on a non-root partition
user_login: abbradar
html_url: https://github.com/NixOS/nixpkgs/issues/4990
updated_at: 2018-10-31 10:41:01
body:
  They've worked previously, I suppose something had changed between recent channel releases. It wasn't working earlier really, too -- it reported "cannot open file" on each boot. We might need to mount everything before regenerating passwd/shadow, but this might break nice boot speed improvements systemd gives us because of mounts starting in parallel with services.

  Maybe things just need to stay that way.


state: closed
title: Trim whitespace for screen and programlisting elements in manual
user_login: domenkozar
html_url: https://github.com/NixOS/nixpkgs/issues/4996
updated_at: 2015-10-02 23:30:18
body:
  Use something like:

  ```
  <?xml version="1.0"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:import href="docbook-xsl/lib/lib.xsl" />

    <xsl:output method="xml" version="1.0" encoding="utf-8" standalone="no"/>

  <xsl:template
  match="programlisting/node()[1][self::text()][following-sibling::node()]">
   <xsl:call-template name="trim-left">
    <xsl:with-param name="contents" select="."/>
   </xsl:call-template>
  </xsl:template>

  <xsl:template match="programlisting/node()[position() =
  last()][self::text()][preceding-sibling::node()]">
   <xsl:call-template name="trim-right">
    <xsl:with-param name="contents" select="."/>
   </xsl:call-template>
  </xsl:template>

  <xsl:template match="programlisting/node()[position() = 1 and position() =
  last()][self::text()]"
              priority="1">
   <xsl:call-template name="trim.text">
    <xsl:with-param name="contents" select="."/>
   </xsl:call-template>
  </xsl:template>

  </xsl:stylesheet>
  ```


