on master help sign in
Remove closure.*

Wasn’t working with latest tree changes and not used by anything else.

commitabc23a5dfe1568c3ca1fa84ca8d68e576721acf6 authorMatthew Bauer <mjbauer95@gmail.com> dateSun 30 Apr 2017, 16:15 (9 years ago) parent9116aae
2 files changed−23
closure.nix−16 closure.sh−7
closure.nixdeleted−16
@@ -1,16 +0,0 @@
1−{ stdenv, perl, pathsFromGraph }:
2−{ targets }:
3−
4−# everything in the closure linked together for inspection
5−
6−stdenv.mkDerivation {
7− name = "closure";
8− exportReferencesGraph = map (x: [("closure-" + baseNameOf x) x]) targets;
9− nativeBuildInputs = [ perl ];
10− buildCommand = ''
11− storePaths=$(${perl}/bin/perl ${pathsFromGraph} ./closure-*)
12−
13− mkdir $out
14− ln -s $storePaths $out
15− '';
16−}
closure.shdeleted−7
@@ -1,7 +0,0 @@
1−#!/usr/bin/env sh
2−
3−target="$1"
4−
5−expr="with import <nixpkgs> {}; with import ./. {}; closure { targets = [$target]; }"
6−
7−nix-store --no-gc-warning -r $(nix-instantiate --no-gc-warning -E "$expr")