Skip to content

Commit

Permalink
Update flake and fix nix dependencies (#161)
Browse files Browse the repository at this point in the history
* flake.lock: Update
* add missing nix dependencies
  • Loading branch information
zachcoyle authored Mar 13, 2024
1 parent be3e9dc commit 0d7af46
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 7 deletions.
30 changes: 24 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,27 @@

cargoLock.lockFile = self + "/Cargo.lock";

nativeBuildInputs = with pkgs; [
pkg-config
];

buildInputs = with pkgs; [
libxkbcommon
];

postFixup = ''
patchelf $out/bin/yofi --add-rpath ${rpath}
'';
};

devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [ rustc cargo ];
nativeBuildInputs = with pkgs; [
rustc
cargo
pkg-config
libxkbcommon
];

LD_LIBRARY_PATH = rpath;
};
}
Expand Down

0 comments on commit 0d7af46

Please sign in to comment.