mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-29 01:58:34 -04:00
build: add shell.nix
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
b7d3f3972b
commit
51e4f23fe0
2 changed files with 11 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -53,9 +53,6 @@ image/config.mk
|
||||||
# Python
|
# Python
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
|
||||||
# Nix shells
|
|
||||||
shell.nix
|
|
||||||
|
|
||||||
# Gitpod
|
# Gitpod
|
||||||
.gitpod.yml
|
.gitpod.yml
|
||||||
|
|
||||||
|
|
11
shell.nix
Normal file
11
shell.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{pkgs ? import <nixpkgs> {}}:
|
||||||
|
(pkgs.buildFHSUserEnv {
|
||||||
|
name = "bazel";
|
||||||
|
targetPkgs = pkgs: [
|
||||||
|
pkgs.bazel_6
|
||||||
|
pkgs.glibc
|
||||||
|
pkgs.gcc
|
||||||
|
pkgs.jdk11 # TODO(katexochen): investigate why our build chain doesn't work on NixOS
|
||||||
|
];
|
||||||
|
})
|
||||||
|
.env
|
Loading…
Add table
Add a link
Reference in a new issue