* Use IO::Handles instead of old school filehandles. This ensures
[?]
Mar 11, 2009, 2:44 PM
ALIOF64IHNB3EZMOSLD5KNDZACXNN65JA6FN6YTB5R2ENSXBDMMQCDependencies
- [2]
OD5FSS5A* Quick hack to allow viewing of dependency graphs (via nix-store -q - [3]
2GK5DOU7* Downloading closures. - [4]
NYC3LZKH* Generate NAR archives on the fly. Necessary for producing channels - [5]
5NO7NCKT* Refactoring.
Change contents
- edit in src/lib/Hydra/View/NixClosure.pm at line 13
open(OUTPUT, "nix-store --export `nix-store -qR @storePaths` | gzip |"); - replacement in src/lib/Hydra/View/NixClosure.pm at line 15
$fh->fdopen(fileno(OUTPUT), "r") or die;open $fh, "nix-store --export `nix-store -qR @storePaths` | gzip |"; - edit in src/lib/Hydra/View/NixDepGraph.pm at line 13
open(OUTPUT, "nix-store --query --graph @storePaths | dot -Tpng -Gbgcolor=transparent |"); - replacement in src/lib/Hydra/View/NixDepGraph.pm at line 15
$fh->fdopen(fileno(OUTPUT), "r") or die;open $fh, "nix-store --query --graph @storePaths | dot -Tpng -Gbgcolor=transparent |"; - edit in src/lib/Hydra/View/NixNAR.pm at line 12
open(OUTPUT, "nix-store --dump '$storePath' | bzip2 |"); - replacement in src/lib/Hydra/View/NixNAR.pm at line 14
$fh->fdopen(fileno(OUTPUT), "r") or die;open $fh, "nix-store --dump '$storePath' | bzip2 |"; - edit in src/lib/Hydra/View/NixNAR.pm at line 19
undef $fh;