diff options
author | Aylur <[email protected]> | 2024-09-01 03:19:54 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 03:19:54 +0200 |
commit | c5342a93cc98569695474c692ef40f1e851c2912 (patch) | |
tree | 857f05816be0475fca2cf36fc85ecdda46380da6 /flake.nix | |
parent | ce866f7b0af13511cf6ab95998b252cb9b7c93aa (diff) |
move to monorepo
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 04effee..0000000 --- a/flake.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ - description = "Library to control bluez over dbus"; - - 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 - ]; - in { - packages.${system} = rec { - default = bluetooth; - bluetooth = pkgs.stdenv.mkDerivation { - inherit nativeBuildInputs buildInputs; - pname = "astal-bluetooth"; - version = version; - src = ./.; - outputs = ["out" "dev"]; - }; - }; - - devShells.${system} = { - default = pkgs.mkShell { - inherit nativeBuildInputs buildInputs; - }; - bluetooth = pkgs.mkShell { - inherit nativeBuildInputs; - buildInputs = - buildInputs - ++ [ - self.packages.${system}.default - pkgs.gjs - ]; - }; - }; - }; -} |