[Nix-dev] Re: [Nix-commits] SVN commit: nix - 17867 - viric - in nixpkgs/branches/stdenv-updates/pkgs: build-support/gcc-wrapper stdenv/linux top-level

Ludovic Courtès ludo at gnu.org
Sun Oct 18 23:45:43 CEST 2009


Saluton!

Llus Batlle <viriketo at gmail.com> writes:

> You can view the changes in this commit at:
>    https://svn.nixos.org/viewvc/nix?rev=17867&view=rev
>
> Modified:
>    nixpkgs/branches/stdenv-updates/pkgs/build-support/gcc-wrapper/add-flags
>    nixpkgs/branches/stdenv-updates/pkgs/build-support/gcc-wrapper/default.nix
>    nixpkgs/branches/stdenv-updates/pkgs/build-support/gcc-wrapper/gcc-wrapper.sh
>    nixpkgs/branches/stdenv-updates/pkgs/stdenv/linux/default.nix
>    nixpkgs/branches/stdenv-updates/pkgs/top-level/all-packages.nix
>
> Log:
> State a dependency of the gcc wrapper on coreutils.
> I only modified accordingly the linux stdenv.
> Other stdenvs may need to be updated.

[...]

> -    export NIX_CFLAGS_COMPILE="$(cat @out@/nix-support/libc-cflags) $NIX_CFLAGS_COMPILE"
> +    export NIX_CFLAGS_COMPILE="$(@coreutils@/bin/cat @out@/nix-support/libc-cflags) $NIX_CFLAGS_COMPILE"

What’s the motivation?

Implicitly all of Nixpkgs depends on Coreutils (and GNU sed, and...), so
I think it would be a huge amount of work to port it to something such
as BSD.

Thanks,
Ludo’.



More information about the nix-dev mailing list