aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-04-24 18:25:38 -0700
committerFuwn <[email protected]>2021-04-24 18:25:38 -0700
commitcdec3030d42cdba4d2cc31ace080b7c0248fef6c (patch)
tree12e445387214d36c66ccad466fd8d79a06a75ecf /shell.nix
parentfmt: Add alt. attributes to images (diff)
downloadwhirl-cdec3030d42cdba4d2cc31ace080b7c0248fef6c.tar.xz
whirl-cdec3030d42cdba4d2cc31ace080b7c0248fef6c.zip
chore: Add Nix and Docker support
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 0000000..1c5327d
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,8 @@
+let
+ sources = import ./nix/sources.nix;
+ rust = import ./nix/rust.nix { inherit sources; };
+ pkgs = import sources.nixpkgs { };
+in
+pkgs.mkShell {
+ buildInputs = with pkgs; [ rust ];
+}