diff options
author | Aylur <[email protected]> | 2024-09-01 03:19:31 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-01 03:19:31 +0200 |
commit | 6adcd2884ee48ec0b1c8b7486e42b2eeffc48159 (patch) | |
tree | 6c9eb7a3a47d5fc2a3bdd866d36dc8fd9201c0d0 /flake.nix | |
parent | 43e6bd47863c45b9232f0f74e973b83b8354bd3a (diff) |
move to monorepo
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/flake.nix b/flake.nix deleted file mode 100644 index 39b0289..0000000 --- a/flake.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - description = "Authentication library and cli tool"; - - inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=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 - pam - ]; - in { - packages.${system} = rec { - default = auth; - auth = pkgs.stdenv.mkDerivation { - inherit nativeBuildInputs buildInputs; - pname = "astal-auth"; - version = version; - src = ./.; - outputs = ["out" "dev"]; - }; - }; - - devShells.${system} = { - default = pkgs.mkShell { - inherit nativeBuildInputs buildInputs; - }; - }; - }; -} |