diff options
author | Aylur <[email protected]> | 2024-09-01 03:23:02 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 03:23:02 +0200 |
commit | 247ac06b867a20b4c30f3f374a88ebfd40165753 (patch) | |
tree | 353b30413810cd1253ddcc1cbcb396d2102f2c5e /flake.nix | |
parent | 0a8a39d18bb1c2e36923aa034d03bfd33869dfe8 (diff) |
move to monorepo
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 766263f..0000000 --- a/flake.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - description = "Library and cli tool for querying river"; - - 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 - wayland - ]; - - buildInputs = with pkgs; [ - glib - json-glib - ]; - in { - packages.${system} = rec { - default = river; - river = pkgs.stdenv.mkDerivation { - inherit nativeBuildInputs buildInputs; - pname = "astal-river"; - version = version; - src = ./.; - outputs = ["out" "dev"]; - }; - }; - - devShells.${system} = { - default = pkgs.mkShell { - inherit nativeBuildInputs buildInputs; - }; - river = pkgs.mkShell { - inherit nativeBuildInputs; - buildInputs = - buildInputs - ++ [ - pkgs.gjs - self.packages.${system}.default - ]; - }; - }; - }; -} |