1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/build-support
Eelco Dolstra cbdd91f2a6 * Some utility functions to make performing substitutions in text
files easier.  Examples:

    substitute inputFile outputFile \
      --replace "@bindir@" "$out/bin" \
      --replace "@gcc@" "$GCC/bin/gcc"

    substitute inputFile outputFile --subst-var out

      (this is sugar for --replace "@out@" "$out")

    substituteInPlace file --replace a b

      (input and output are both `file'; the execute bit is preserved)
  

svn path=/nixpkgs/trunk/; revision=2239
2005-02-15 17:44:03 +00:00
..
fetchfile * Remove trivial builders. 2004-03-29 17:23:01 +00:00
fetchsvn * Allow a known hash to be specified. 2004-12-17 11:04:18 +00:00
fetchurl * Follow redirects. 2004-04-01 19:10:37 +00:00
gcc-wrapper * gcc-wrapper: inherit gcc's name by default. 2004-07-05 12:00:19 +00:00
make-symlinks * Renamed Martin's linker derivation to `make-symlinks'. 2004-09-16 12:38:10 +00:00
substitute * Some utility functions to make performing substitutions in text 2005-02-15 17:44:03 +00:00