diff options
author | Katharina Fey <kookie@spacekookie.de> | 2020-01-06 20:55:03 +0000 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-01-08 19:59:02 +0000 |
commit | 7a224bb356b2d8f5a049915a14993ccfafddfc45 (patch) | |
tree | 394483c31d24bce36233db78569311cc7a4ba84d | |
parent | 508b460098d0060bf857cfc09ce64096bf6160b5 (diff) |
Adding nix build files
This is meant to make development for NIxOS users easier. Lorri is
used to build an environment asynchronously. Direnv is then used to
switch to the environment when entering the directory, or when it has
updated since last switching.
-rw-r--r-- | .envrc | 1 | ||||
-rw-r--r-- | shell.nix | 9 |
2 files changed, 10 insertions, 0 deletions
@@ -0,0 +1 @@ +eval "$(lorri direnv)" diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..9306843 --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +with import <nixpkgs> {}; + +stdenv.mkDerivation { + name = "qaul"; + buildInputs = with pkgs; [ + rustracer rustup clangStdenv + openssl pkg-config + ]; +} |