diff options
author | Aylur <[email protected]> | 2024-09-01 03:23:55 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 03:23:55 +0200 |
commit | 556dfb41fa2cf8e824b19910025b6b6ced269749 (patch) | |
tree | c5aac950fab02fe647350c9b64ccc2441fb2ff52 /flake.nix | |
parent | f0d902de9704bb2c196bb948a52cb7171287d52a (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 419f962..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 = apps; - apps = pkgs.stdenv.mkDerivation { - inherit nativeBuildInputs buildInputs; - pname = "astal-apps"; - version = version; - src = ./.; - outputs = ["out" "dev"]; - }; - }; - - devShells.${system} = { - default = pkgs.mkShell { - inherit nativeBuildInputs buildInputs; - }; - apps = pkgs.mkShell { - inherit nativeBuildInputs; - buildInputs = buildInputs ++ [ - pkgs.gjs - self.packages.${system}.default - ]; - }; - }; - }; -} |