aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-06-11 22:01:27 +0200
committerAdrian Kummerlaender2018-06-11 22:01:27 +0200
commit1e8ab0202cf999dd19e61ea62d479e1cc4e35e93 (patch)
tree65298840e9dd37a056bd3e13a82dbb01b9992736
parentc56162c19cca84301813aff9b1326cb2c686bf48 (diff)
downloadboltzbub-1e8ab0202cf999dd19e61ea62d479e1cc4e35e93.tar
boltzbub-1e8ab0202cf999dd19e61ea62d479e1cc4e35e93.tar.gz
boltzbub-1e8ab0202cf999dd19e61ea62d479e1cc4e35e93.tar.bz2
boltzbub-1e8ab0202cf999dd19e61ea62d479e1cc4e35e93.tar.lz
boltzbub-1e8ab0202cf999dd19e61ea62d479e1cc4e35e93.tar.xz
boltzbub-1e8ab0202cf999dd19e61ea62d479e1cc4e35e93.tar.zst
boltzbub-1e8ab0202cf999dd19e61ea62d479e1cc4e35e93.zip
Add Nix environment
-rw-r--r--shell.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..087712a
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,16 @@
+with import <nixpkgs> {};
+
+stdenv.mkDerivation rec {
+ name = "boltzbub-env";
+ env = buildEnv { name = name; paths = buildInputs; };
+
+ buildInputs = [
+ git
+ gcc
+ cmake
+ ];
+
+ shellHook = ''
+ export NIX_SHELL_NAME="${name}"
+ '';
+}