summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
authorRaito Bezarius2024-04-18 14:34:36 +0200
committerRaito Bezarius2024-04-18 14:34:36 +0200
commit5289b86a5c14ec99311424022a867872173edce4 (patch)
tree75da592377a833b2ce7e160019aa34e4ae5b6ffb /default.nix
parentfb9a1e93c2163b170979523f9a0cae90b472a16c (diff)
chore: nixify the project
So that I stop doing `nix run` one-offs! Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..db340bb
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,17 @@
+{ sources ? import ./npins
+, pkgs ? import sources.nixpkgs {}
+, lib ? pkgs.lib
+, aeneas-src ? sources.aeneas
+, aeneas ? (import aeneas-src {}).packages.x86_64-linux.aeneas
+, charon ? (import aeneas-src {}).packages.x86_64-linux.charon
+}:
+{
+ shell = pkgs.mkShell {
+ buildInputs = [
+ aeneas
+ charon
+ pkgs.rustup
+ pkgs.npins
+ ];
+ };
+}