diff options
author | Aylur <[email protected]> | 2024-06-20 16:47:36 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-06-20 16:47:36 +0200 |
commit | 3500457e97821d50c067dea37d1a2d28d8db2111 (patch) | |
tree | c68fdad5401362f0774f5b7fa65b6c3857babf2c /flake.nix | |
parent | 9812a21318abc3c508c5a6152336578d621a1032 (diff) |
fix: cli hanging on empty args
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -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 + ]; + }; }; }; } |