Skip to content

Commit 3bebdf5

Browse files
authored
nix: fix devShell missing Qt6LinguistTools (flameshot-org#4450)
Use inputsFrom to inherit all build dependencies from the package derivation. This ensures the development shell includes qt6.qttools.
1 parent b99dc6e commit 3bebdf5

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

flake.nix

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
};
1111

1212
outputs =
13-
inputs@{ flake-parts, systems, ... }:
13+
inputs@{
14+
flake-parts,
15+
systems,
16+
...
17+
}:
1418
flake-parts.lib.mkFlake { inherit inputs; } {
1519
systems = import systems;
1620
imports = [
@@ -114,13 +118,11 @@
114118
devShells.default = pkgs.mkShell {
115119
name = "flameshot-dev";
116120

117-
buildInputs =
118-
with pkgs;
119-
[
120-
cmake
121-
gdb
122-
]
123-
++ buildInputs;
121+
inputsFrom = [ flameshot ];
122+
123+
buildInputs = with pkgs; [
124+
gdb
125+
];
124126
};
125127

126128
treefmt = {

0 commit comments

Comments
 (0)