From 3500457e97821d50c067dea37d1a2d28d8db2111 Mon Sep 17 00:00:00 2001 From: Aylur Date: Thu, 20 Jun 2024 16:47:36 +0200 Subject: fix: cli hanging on empty args --- flake.nix | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 78a2ab1..b4e7a45 100644 --- a/flake.nix +++ b/flake.nix @@ -3,11 +3,13 @@ inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - outputs = { self, nixpkgs }: - let + outputs = { + self, + nixpkgs, + }: let version = builtins.replaceStrings ["\n"] [""] (builtins.readFile ./version); system = "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; + pkgs = import nixpkgs {inherit system;}; nativeBuildInputs = with pkgs; [ gobject-introspection @@ -38,6 +40,15 @@ default = pkgs.mkShell { inherit nativeBuildInputs buildInputs; }; + notifd = pkgs.mkShell { + inherit nativeBuildInputs; + buildInputs = + buildInputs + ++ [ + self.packages.${system}.default + pkgs.gjs + ]; + }; }; }; } -- cgit v1.2.3