diff options
| author | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-28 12:44:10 -0600 |
|---|---|---|
| committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-28 12:44:10 -0600 |
| commit | a56fe056ece1d7c0b384a08467408ded507573c7 (patch) | |
| tree | 69159a0666ad6a95ff51a12e835cdbd96920492d /pkgs/development/python-modules/httpserver | |
| parent | a9b7fa7634f509aa8332069867c220fe7546474b (diff) | |
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/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
