Skip to content

Commit

Permalink
updated flake for wlroots 0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
WillPower3309 committed Nov 13, 2024
1 parent 398761e commit decd7e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions flake.lock

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

8 changes: 4 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let
mkPackages = pkgs: {
scenefx = pkgs.callPackage (
{ wlroots_0_17, ... }:
{ wlroots_0_18, ... }:
pkgs.stdenv.mkDerivation {
pname = "scenefx";
version = "0.1.0-git";
Expand All @@ -33,7 +33,7 @@
mesa # gbm
wayland # wayland-server
wayland-protocols
wlroots_0_17
wlroots_0_18
];

meta = with pkgs.lib; {
Expand Down Expand Up @@ -69,13 +69,13 @@
name = "scenefx-shell";
inputsFrom = [
self.packages.${pkgs.system}.scenefx
pkgs.wlroots_0_17
pkgs.wlroots_0_18
];
shellHook = ''
(
# Copy the nix version of wlroots into the project
mkdir -p "$PWD/subprojects" && cd "$PWD/subprojects"
cp -R --no-preserve=mode,ownership ${pkgs.wlroots_0_17.src} wlroots
cp -R --no-preserve=mode,ownership ${pkgs.wlroots_0_18.src} wlroots
)'';
};
});
Expand Down

0 comments on commit decd7e2

Please sign in to comment.