Skip to content

Commit

Permalink
Fix nix direnv (#3613)
Browse files Browse the repository at this point in the history
* 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 <git@badat.dev>
  • Loading branch information
MaeIsBad and MaeIsBad authored May 20, 2024
1 parent 5f30631 commit a1dda59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ data/flatpak/.flatpak-builder

# Miscellaneous
!docs/dev/Makefile
.direnv
4 changes: 2 additions & 2 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {} }:
{ pkgs ? import <nixpkgs> { } }:

pkgs.mkShell {
nativeBuildInputs = with pkgs; [
Expand All @@ -7,5 +7,5 @@ pkgs.mkShell {
qt5.qttools
qt5.qtsvg
];
buildInputs = [ pkgs.qt5.qtbase ];
buildInputs = with pkgs; [ qt5.qtbase libsForQt5.kguiaddons ];
}

0 comments on commit a1dda59

Please sign in to comment.