incomprehensible mess

This commit is contained in:
biscuit
2025-05-13 20:43:26 -05:00
parent 82e38f7cd6
commit 697be1193f
4 changed files with 271 additions and 34 deletions
+18
View File
@@ -25,6 +25,24 @@
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system}.default = pkgs.stdenvNoCC.mkDerivation rec {
name = "my-shell";
src = ./.;
nativeBuildInputs = [
ags.packages.${system}.default
pkgs.wrapGAppsHook
pkgs.gobject-introspection
];
buildInputs = with astal.packages.${system}; [
astal3
io
];
installPhase = ''
mkdir -p $out/bin
ags bundle app.ts $out/bin/${name}
'';
};
nixosConfigurations = {
biscuit = lib.nixosSystem {
specialArgs = { inherit inputs system; };