From d89df1906d0805a1465e052ae80339c38f25db1b Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Thu, 26 Dec 2024 16:15:22 +0100 Subject: init commit --- flake.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') 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 ]; + }; + }; +} -- cgit v1.2.3-70-g09d2