[Nix-dev] What kind of "install" do we have in freebsd stdenv?

Peter Simons simons at cryp.to
Fri May 11 18:27:40 CEST 2012


Hi,

I noticed that the 'install' program on FreeBSD doesn't know about the -D option:

 | building /nix/store/bnjpkv3k0r0p37845ikjasz75nbw3dpy-pigz-2.2.4
 | unpacking sources
 | unpacking source archive /nix/store/s6f67xkj6cknghhm8r2x0wzz2sbzjl1k-pigz-2.2.4.tar.gz
 | source root is pigz-2.2.4
 | patching sources
 | configuring
 | no configure script, doing nothing
 | building
 | make flags:
 | cc -O3 -Wall -Wextra   -c -o pigz.o pigz.c
 | cc -O3 -Wall -Wextra   -c -o yarn.o yarn.c
 | cc -o pigz pigz.o yarn.o -lpthread -lz
 | ln -f pigz unpigz
 | installing
 | install: illegal option -- D
 | usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
 |                [-o owner] file1 file2
 |        install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
 |                [-o owner] file1 ... fileN directory
 |        install -d [-v] [-g group] [-m mode] [-o owner] directory ...
 | builder for `/nix/store/86fx4xz3aaknkf1z2hm4k01yrl4x142z-pigz-2.2.4.drv' failed with exit code 64
 | error: build of `/nix/store/86fx4xz3aaknkf1z2hm4k01yrl4x142z-pigz-2.2.4.drv' failed

I am surprised! On Linux, 'install' is part of coreutils. Shouldn't that
package be part of stdenv on other operating systems, too?

Take care,
Peter



More information about the nix-dev mailing list