From ebc6738ad4265db0b2b8d1b5c653d8f9597ff335 Mon Sep 17 00:00:00 2001 From: Xander Date: Wed, 28 Jun 2023 17:11:10 +0200 Subject: Add license --- flake.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..4eb04cd --- /dev/null +++ b/flake.nix @@ -0,0 +1,21 @@ +{ + description = "A basic flake with a shell"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + inputs.flake-utils.url = "github:numtide/flake-utils"; + + + outputs = { self, nixpkgs, flake-utils}: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + }; + in + { + devShells.default = pkgs.mkShell { + packages = with pkgs; [ nasm grub2 ]; + buildInputs = with pkgs; [ libisoburn ]; + }; + }); +} + -- cgit v1.2.3