summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAylur <[email protected]>2024-09-01 03:23:55 +0200
committerAylur <[email protected]>2024-09-01 03:23:55 +0200
commit556dfb41fa2cf8e824b19910025b6b6ced269749 (patch)
treec5aac950fab02fe647350c9b64ccc2441fb2ff52 /flake.nix
parentf0d902de9704bb2c196bb948a52cb7171287d52a (diff)
move to monorepo
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix49
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
- ];
- };
- };
- };
-}