about summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-11-28 12:44:10 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2018-11-28 12:44:10 -0600
commita56fe056ece1d7c0b384a08467408ded507573c7 (patch)
tree69159a0666ad6a95ff51a12e835cdbd96920492d /pkgs/misc
parenta9b7fa7634f509aa8332069867c220fe7546474b (diff)
downloadnixlib-a56fe056ece1d7c0b384a08467408ded507573c7.tar
nixlib-a56fe056ece1d7c0b384a08467408ded507573c7.tar.gz
nixlib-a56fe056ece1d7c0b384a08467408ded507573c7.tar.bz2
nixlib-a56fe056ece1d7c0b384a08467408ded507573c7.tar.lz
nixlib-a56fe056ece1d7c0b384a08467408ded507573c7.tar.xz
nixlib-a56fe056ece1d7c0b384a08467408ded507573c7.tar.zst
nixlib-a56fe056ece1d7c0b384a08467408ded507573c7.zip
make-derivation: don’t add host suffix if there is no c compiler
Some trivial builders use the name attr to choose the exec name
produced. For example nixos-install,

  nixos-install = makeProg {
    name = "nixos-install";
    src = ./nixos-install.sh;
    nix = config.nix.package.out;
    path = makeBinPath [ nixos-enter ];
  };

When cross compiling, this puts the prog in,

  /bin/nixos-install-powerpc64le-unknown-linux-gnu
Diffstat (limited to 'pkgs/misc')
0 files changed, 0 insertions, 0 deletions