Compare commits

3 Commits
0.1.0 ... main

Author SHA1 Message Date
f71ddb64a9 Added nix 2025-12-25 15:00:51 -07:00
263885d6eb Update makefile 2025-09-03 18:40:44 -06:00
741a06ec28 IDK why these were uploaded... 2025-09-03 18:39:52 -06:00
6 changed files with 45 additions and 2 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use flake

4
.gitignore vendored
View File

@@ -1,3 +1,7 @@
.build/ .build/
.output/ .output/
.DS_Store .DS_Store
# nix
.direnv/
result

View File

@@ -53,7 +53,7 @@ clean:
# Help target # Help target
help: help:
@echo "Muse Audio Generator Build System" @echo "Muse Build Commands"
@echo "" @echo ""
@echo "Available targets:" @echo "Available targets:"
@echo " build - Build binaries for all platforms (default)" @echo " build - Build binaries for all platforms (default)"

38
flake.nix Normal file
View File

@@ -0,0 +1,38 @@
{
description = "muse dev shell";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
};
outputs = { self, nixpkgs }:
let
allSystems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
forAllSystems = f: nixpkgs.lib.genAttrs allSystems (system: f {
pkgs = import nixpkgs { inherit system; };
});
in
{
devShells = forAllSystems ({ pkgs }: {
default = pkgs.mkShell {
packages = with pkgs; [
go
gopls
gotools
go-tools
];
shellHook = ''
echo "<muse dev shell>"
echo "Go version: $(go version)"
'';
};
});
};
}

Binary file not shown.

Binary file not shown.