diff --git a/pkgs/development/libraries/kerberos/krb5.nix b/pkgs/development/libraries/kerberos/krb5.nix index afb928aff6e..165f9139ff1 100644 --- a/pkgs/development/libraries/kerberos/krb5.nix +++ b/pkgs/development/libraries/kerberos/krb5.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 ]; }; diff --git a/pkgs/tools/misc/coreutils/default.nix b/pkgs/tools/misc/coreutils/default.nix index de97e94ae42..c465907fde8 100644 --- a/pkgs/tools/misc/coreutils/default.nix +++ b/pkgs/tools/misc/coreutils/default.nix @@ -109,7 +109,7 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; - platforms = platforms.unix; + platforms = platforms.unix ++ platforms.windows; maintainers = [ maintainers.eelco ]; }; diff --git a/pkgs/tools/misc/direnv/default.nix b/pkgs/tools/misc/direnv/default.nix index e096024e537..089ed6ce516 100644 --- a/pkgs/tools/misc/direnv/default.nix +++ b/pkgs/tools/misc/direnv/default.nix @@ -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 diff --git a/pkgs/tools/networking/openssh/default.nix b/pkgs/tools/networking/openssh/default.nix index 7aeae3ca9d1..7b3c0089466 100644 --- a/pkgs/tools/networking/openssh/default.nix +++ b/pkgs/tools/networking/openssh/default.nix @@ -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 ]; }; } diff --git a/pkgs/tools/text/gawk/default.nix b/pkgs/tools/text/gawk/default.nix index 15d54f4a2a4..33ce5a0fdb8 100644 --- a/pkgs/tools/text/gawk/default.nix +++ b/pkgs/tools/text/gawk/default.nix @@ -74,7 +74,7 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; - platforms = platforms.unix; + platforms = platforms.unix ++ platforms.windows; maintainers = [ ]; }; diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 012531799c3..569494d39b6 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -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 ]; };