diff options
author | Aylur <[email protected]> | 2024-09-01 03:23:40 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 03:23:40 +0200 |
commit | 20617eb29f0f16300d157e6481e8e4845958c7af (patch) | |
tree | 391d1954e8f288be50e114105e23ec4bdf1fa2ae /flake.nix | |
parent | 14872407828660aca895bdb773ff74cca763bf7b (diff) |
move to monorepo
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/flake.nix b/flake.nix deleted file mode 100644 index c6b4efd..0000000 --- a/flake.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ - description = "Library and cli tool for querying applications"; - - inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - - outputs = { self, nixpkgs }: - let - version = builtins.replaceStrings ["\n"] [""] (builtins.readFile ./version); - system = "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; - - nativeBuildInputs = with pkgs; [ - gobject-introspection - meson - pkg-config - ninja - vala - ]; - - buildInputs = with pkgs; [ - glib - json-glib - ]; - in { - packages.${system} = rec { - default = hyprland; - hyprland = pkgs.stdenv.mkDerivation { - inherit nativeBuildInputs buildInputs; - pname = "astal-hyprland"; - version = version; - src = ./.; - outputs = ["out" "dev"]; - }; - }; - - devShells.${system} = { - default = pkgs.mkShell { - inherit nativeBuildInputs buildInputs; - }; - hyprland = pkgs.mkShell { - inherit nativeBuildInputs; - buildInputs = buildInputs ++ [ - pkgs.gjs - self.packages.${system}.default - ]; - }; - }; - }; -} |