aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-12-26 16:15:22 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2024-12-26 16:15:22 +0100
commitd89df1906d0805a1465e052ae80339c38f25db1b (patch)
treedae1e24243aaf074eec0f30a72abbd88e2bb359e /flake.nix
init commit
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..fc6a998
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,23 @@
+{
+ description = "A very basic flake";
+
+ inputs = {
+ nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
+ };
+
+ outputs = { self, nixpkgs }:
+ let
+ pkgs = import nixpkgs { system = "x86_64-linux"; };
+ in
+ {
+ packages.x86_64-linux.default = pkgs.stdenv.mkDerivation {
+ buildInputs = [ pkgs.glibc.static ];
+ name = "bfc";
+ };
+
+ devShells.x86_64-linux.default = pkgs.stdenv.mkDerivation {
+ name = "bfc-dev-shell";
+ buildInputs = [ pkgs.gdb pkgs.ascii pkgs.man-pages pkgs.moreutils ];
+ };
+ };
+}