nixpkgs/pkgs/build-support/substitute
Eelco Dolstra 05c884b471 * Utility: the generic substituter. It substitutes all occurences of
`@var@' in the file `src', writing the result to $out, where `var'
  is any environment variable starting with a lowercase character.
  Example:

    genericSubstituter {
      src = ./file;
      foo = "bla";
      shell = bash + "/bin/sh";
    };

  will replace `@foo@' with `bla' and `@shell@' with
  `/nix/store/...-bash-.../bin/sh'.

svn path=/nixpkgs/trunk/; revision=6928
2006-11-02 22:44:32 +00:00
..
generic-substituter.nix * Utility: the generic substituter. It substitutes all occurences of 2006-11-02 22:44:32 +00:00
generic-substituter.sh * Utility: the generic substituter. It substitutes all occurences of 2006-11-02 22:44:32 +00:00
substitute.sh * Use the generic substituter in the generation of stdenv and gcc-wrapper. 2005-02-22 14:32:56 +00:00