[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH] nix: add a simple nix shell
From: |
Vincenzo Palazzo |
Subject: |
[RFC PATCH] nix: add a simple nix shell |
Date: |
Mon, 2 Oct 2023 23:37:15 +0200 |
This patch includes a simple nix shell that
I use to build 'poke' on my build machine.
I believe this will be beneficial for others
who want to get started within a contained shell.
Another advantage is the ability
to use the nix package manager across all Linux
distributions, not just for NixOS users.
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
---
default.nix | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100755 default.nix
diff --git a/default.nix b/default.nix
new file mode 100755
index 00000000..ae9559c6
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,27 @@
+with import <nixpkgs> { };
+stdenv.mkDerivation {
+ name = "poke-dev-nix-env";
+ buildInputs = [
+ gcc
+ boehmgc
+ readline
+ dejagnu
+ pkg-config
+ autoconf-archive
+ gnumake
+ flex
+ bison
+ help2man
+ autoconf
+ automake
+ libnbd
+ gettext
+
+ # optional dev dependencies
+ ccache
+
+ # debugging dependencies
+ valgrind
+ ];
+}
+
--
2.40.1
- [RFC PATCH] nix: add a simple nix shell,
Vincenzo Palazzo <=