diff options
author | Domen Kožar <domen@dev.si> | 2016-08-31 11:34:46 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2016-08-31 11:34:46 +0200 |
commit | da421bc75f98c1b19f214a3b6b7cda07dc4c088b (patch) | |
tree | c6d42a4daa2cd2df716415ce4339f118dd5fb9b3 /pkgs/build-support/upstream-updater | |
parent | 557b329608f666d216d7e274570998d5d8b2e773 (diff) |
Fix #4210: Remove builderDefs
This was one of the ways to build packages, we are trying
hard to minimize different ways so it's easier for newcomers
to learn only one way.
This also:
- removes texLive (old), fixes #14807
- removed upstream-updater, if that code is still used it should be in
separate repo
- changes a few packages like gitit/mit-scheme to use new texlive
Diffstat (limited to 'pkgs/build-support/upstream-updater')
-rwxr-xr-x | pkgs/build-support/upstream-updater/attrset-to-dir.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/pkgs/build-support/upstream-updater/attrset-to-dir.sh b/pkgs/build-support/upstream-updater/attrset-to-dir.sh deleted file mode 100755 index 2d99ef110a1c..000000000000 --- a/pkgs/build-support/upstream-updater/attrset-to-dir.sh +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh - -[ -n "$2" ] && NIXPKGS_ALL="$2"; -[ -z "$NIXPKGS_ALL" ] && [ -d "/etc/nixos/nixpkgs" ] && NIXPKGS_ALL="/etc/nixos/nixpkgs"; -[ -z "$NIXPKGS_ALL" ] && [ -d "$HOME/nixpkgs" ] && NIXPKGS_ALL="$HOME/nixpkgs"; -[ -z "$NIXPKGS_ALL" ] && { - echo "Cannot find Nixpkgs source. Please specify it via NIXPKGS_ALL or second command line argument" - exit 1 -}; - -derivation="$(nix-instantiate --show-trace - << EOF -let - pkgs = import "${NIXPKGS_ALL}" {}; - attrSet = import "${1}"; -in - pkgs.attrSetToDir attrSet -EOF -)" -echo "Derivation is: $derivation" >&2 -output="$(nix-store -r "$derivation")" -echo "$output/attributes" |