direnv: make cross-compile on windows

wip/yesman
Jörg Thalheim 6 years ago
parent 6f2475f5bf
commit 3681fa5456
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA
  1. 2
      pkgs/development/libraries/kerberos/krb5.nix
  2. 2
      pkgs/tools/misc/coreutils/default.nix
  3. 9
      pkgs/tools/misc/direnv/default.nix
  4. 2
      pkgs/tools/networking/openssh/default.nix
  5. 2
      pkgs/tools/text/gawk/default.nix
  6. 2
      pkgs/top-level/perl-packages.nix

@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
description = "MIT Kerberos 5";
homepage = http://web.mit.edu/kerberos/;
license = licenses.mit;
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
maintainers = with maintainers; [ wkennington ];
};

@ -109,7 +109,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
maintainers = [ maintainers.eelco ];
};

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoPackage, bash}:
{ stdenv, fetchFromGitHub, buildGoPackage, bash, fetchpatch }:
buildGoPackage rec {
name = "direnv-${version}";
@ -16,9 +16,10 @@ buildGoPackage rec {
cd $NIX_BUILD_TOP/go/src/$goPackagePath
'';
buildPhase = ''
make BASH_PATH=${bash}/bin/bash
'';
# we have no bash at the moment for windows
makeFlags = stdenv.lib.optional (!stdenv.hostPlatform.isWindows) [
"BASH_PATH=${bash}/bin/bash"
];
installPhase = ''
mkdir -p $out

@ -98,7 +98,7 @@ stdenv.mkDerivation rec {
homepage = http://www.openssh.com/;
description = "An implementation of the SSH protocol";
license = stdenv.lib.licenses.bsd2;
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
maintainers = with maintainers; [ eelco aneeshusa ];
};
}

@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
maintainers = [ ];
};

@ -8934,7 +8934,7 @@ let
meta = with stdenv.lib; {
description = "The World-Wide Web library for Perl";
license = with licenses; [ artistic1 gpl1Plus ];
platforms = platforms.unix;
platforms = platforms.unix ++ platforms.windows;
};
buildInputs = [ TestFatal TestNeeds TestRequiresInternet ];
};

Loading…
Cancel
Save