1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 23:03:53 -04:00
nix/src/libutil
Eelco Dolstra 46a369ad95 Make "nix-build -A <derivation>.<output>" do the right thing
For example, given a derivation with outputs "out", "man" and "bin":

  $ nix-build -A pkg

produces ./result pointing to the "out" output;

  $ nix-build -A pkg.man

produces ./result-man pointing to the "man" output;

  $ nix-build -A pkg.all

produces ./result, ./result-man and ./result-bin;

  $ nix-build -A pkg.all -A pkg2

produces ./result, ./result-man, ./result-bin and ./result-2.
2012-11-26 15:39:10 +01:00
..
archive.cc * Revert r15436. This was a workaround for a bug in btrfs which seems 2010-05-04 12:42:58 +00:00
archive.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
hash.cc If hashes do not match, print them in base-32 for SHA-1/SHA-256 2012-10-23 18:05:50 +02:00
hash.hh If hashes do not match, print them in base-32 for SHA-1/SHA-256 2012-10-23 18:05:50 +02:00
immutable.cc Remove setting of the immutable bit 2012-09-19 16:17:54 -04:00
immutable.hh Remove setting of the immutable bit 2012-09-19 16:17:54 -04:00
Makefile.am Drop the externals directory 2012-03-18 23:54:57 +01:00
md5.c * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
md5.h * Some Cygwin fixes. 2006-05-24 13:23:20 +00:00
md32_common.h * Add SHA-256. 2005-01-14 12:03:04 +00:00
serialise.cc Use data() instead of c_str() where appropriate 2012-02-09 18:27:45 +01:00
serialise.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
sha1.c * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
sha1.h * Optional switch "--with-openssl=<PATH>" to use OpenSSL's 2006-02-13 19:52:43 +00:00
sha256.c * Add SHA-256. 2005-01-14 12:03:04 +00:00
sha256.h * FreeBSD 4.x doesn't have stdint.h, use inttypes.h instead (which is 2005-05-04 16:32:54 +00:00
types.hh Include config.h before any other header 2012-09-11 14:45:42 -04:00
util.cc Make "nix-build -A <derivation>.<output>" do the right thing 2012-11-26 15:39:10 +01:00
util.hh Make "nix-build -A <derivation>.<output>" do the right thing 2012-11-26 15:39:10 +01:00
xml-writer.cc XML writer: flush after newlines 2012-10-04 14:07:36 -04:00
xml-writer.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00