-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #500 from tweag/philipp/nix_shell_refactor
`nix-shell --pure`
- Loading branch information
Showing
9 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ pkgs ? import ./nixpkgs.nix { } }: | ||
|
||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.bazel_6 ]; } | ||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.nix pkgs.bazel_6 ]; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ pkgs ? import ./nixpkgs.nix { } }: | ||
|
||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.bazel_6 ]; } | ||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.nix pkgs.bazel_6 ]; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ pkgs ? import ./nixpkgs.nix { } }: | ||
|
||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.bazel_6 ]; } | ||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.nix pkgs.bazel_6 ]; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ pkgs ? import ./nixpkgs.nix { } }: | ||
|
||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.bazel_6 ]; } | ||
pkgs.mkShellNoCC { | ||
nativeBuildInputs = [ pkgs.nix pkgs.bazel_6 ]; | ||
env.BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN = "1"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ pkgs ? import ./nixpkgs.nix { } }: | ||
|
||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.bazel_6 ]; } | ||
pkgs.mkShellNoCC { | ||
nativeBuildInputs = [ pkgs.nix pkgs.bazel_6 ]; | ||
env.BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN = "1"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ pkgs ? import ./nixpkgs.nix { } }: | ||
|
||
pkgs.mkShellNoCC { nativeBuildInputs = with pkgs; [ bazel_6 ]; } | ||
pkgs.mkShellNoCC { nativeBuildInputs = with pkgs; [ nix bazel_6 ]; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ pkgs ? import ./nixpkgs.nix { } }: | ||
|
||
pkgs.mkShellNoCC { nativeBuildInputs = [ pkgs.bazel_6 ]; } | ||
pkgs.mkShellNoCC { | ||
nativeBuildInputs = [ pkgs.nix pkgs.bazel_6 ]; | ||
env.BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN = "1"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ pkgs ? import ./nixpkgs.nix { } }: | ||
with pkgs; | ||
mkShell { | ||
nativeBuildInputs = [ bazel_6 git nix zlib libiconv ] | ||
nativeBuildInputs = [ bazel_6 cacert git nix zlib libiconv ] | ||
++ (lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]); | ||
} |