This is the master branch of nixpkgs, initially pulled from commit 8debf2f9a63d54ae4f28994290437ba54c681c7b The intent of this repo is to be merged onto nixpkgs master. This will also be of help for https://git.suyu.dev/BoomMicrophone/suyu-nix-test which I will need in order for development (it will also be helpful to know what to do for setting up the environment for the master server. Currently I am focusing on this so I can actually see what is still missing) This repo will be removed once the PR to the nixpkgs github goes through
Find a file
aszlig ff15c31c37
python-wrapper: Fix handling __future__ imports.
The bazaar package is still broken even with 5f01cc7, because __future__
imports need to be the first imports before anything else. So this time
I'm going to make the sed expression with explicit branching so we can
properly match all the occasions we want to skip and insert the line
modifying sys.argv[0] only _once_ and leave the command block after
that one substitution. So no ugly swaps between hold and pattern space.

The label which is resonsible for not escaping the command block is "r"
and we jump to it as long as we need to skip something from the start of
the file.

While at it, I'm not only skipping every line with __future__ in it but
also backslashes at the end of the line, so for example:

```python
from __future__ import shiny_feature1, \
                       shiny_feature2, \
                       shiny_feature3
```

... will now be properly skipped as well.

Tested against bazaar and nixops.

Thanks to @edolstra for reporting this.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-07-29 06:40:39 +02:00
doc doc: mention nix-prefetch-scripts package 2014-07-27 15:21:38 +02:00
lib Upgrade docker to 1.1.2 and add docker module 2014-07-28 21:45:49 +02:00
maintainers/scripts copy-tarballs.pl: Create base-32 symlinks 2014-05-22 12:11:53 +02:00
nixos initrd: Include filesystem support for /nix, /var etc. 2014-07-28 22:31:18 +02:00
pkgs python-wrapper: Fix handling __future__ imports. 2014-07-29 06:40:39 +02:00
.gitignore gitignore: result-* and make absolute doc ignores 2014-06-23 16:58:49 +02:00
.version Update version 2014-04-23 08:02:18 -04:00
COPYING
default.nix
README.md Fixed link to installation instructions in README 2014-05-26 22:19:22 +02:00

Nixpkgs is a collection of packages for Nix package manager. Nixpkgs also includes NixOS linux distribution source code.