Skip to content

Commit a1dda59

Browse files
authored
Fix nix direnv (flameshot-org#3613)
* Add kguiaddons to shell.nix This package is needed to compile flameshot with USE_WAYLAND_CLIPBOARD * Add .direnv to gitignore This directory is automatically created by direnv when evaluating the .envrc file --------- Co-authored-by: mae <[email protected]>
1 parent 5f30631 commit a1dda59

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,4 @@ data/flatpak/.flatpak-builder
7575

7676
# Miscellaneous
7777
!docs/dev/Makefile
78+
.direnv

shell.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ pkgs ? import <nixpkgs> {} }:
1+
{ pkgs ? import <nixpkgs> { } }:
22

33
pkgs.mkShell {
44
nativeBuildInputs = with pkgs; [
@@ -7,5 +7,5 @@ pkgs.mkShell {
77
qt5.qttools
88
qt5.qtsvg
99
];
10-
buildInputs = [ pkgs.qt5.qtbase ];
10+
buildInputs = with pkgs; [ qt5.qtbase libsForQt5.kguiaddons ];
1111
}

0 commit comments

Comments
 (0)