From 1c4926e6b645af4f34c6580ec549a19b509e7401 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Fri, 6 Sep 2024 07:17:05 +0200 Subject: [PATCH] feat: add initial flake.nix for MusicQueue project --- flake.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..9bb6f35 --- /dev/null +++ b/flake.nix @@ -0,0 +1,30 @@ +{ + description = "MusicQueue"; + + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + }; + + outputs = { self, nixpkgs, ... }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + in + { + devShells.${system}.default = + pkgs.mkShell + { + buildInputs = [ + pkgs.git + pkgs.ddev + pkgs.php82 + pkgs.php82Packages.composer + pkgs.bun + ]; + + shellHook = '' + ''; + }; + }; +}