Wfreeze is broken. #166

Closed
opened 2024-09-14 06:22:55 +03:00 by voronind · 1 comment
Owner
https://codeberg.org/sewn/wfreeze/issues/1
voronind added the
Bug
label 2024-09-14 06:22:55 +03:00
voronind pinned this 2024-09-14 06:22:59 +03:00
Author
Owner
{ lib
, stdenv
, fetchFromGitea
, pkg-config
, wayland-scanner
, wayland
, wayland-protocols
}:
stdenv.mkDerivation {
  pname = "wfreeze";
  version = "pizdiec";

  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "sewn";
    repo = "wfreeze";
    rev  = "80b7202b8136d01aaf7f0551bce333b318aa576e";
    hash = "sha256-CnGC2DE/JtEz7Sk7CsTaLT8dXDicRwwAunyYwcnLRPg=";
  };

  nativeBuildInputs = [
    pkg-config
    wayland-scanner
  ];

  buildInputs = [
    wayland
    wayland-protocols
  ];

  enableParallelBuilding = true;

  makeFlags = [ "DESTDIR=$(out)" ];

  postInstall = ''
    mv $out/usr/local/bin $out/bin
    rmdir $out/usr/{local,}
  '';
}
```nix { lib , stdenv , fetchFromGitea , pkg-config , wayland-scanner , wayland , wayland-protocols }: stdenv.mkDerivation { pname = "wfreeze"; version = "pizdiec"; src = fetchFromGitea { domain = "codeberg.org"; owner = "sewn"; repo = "wfreeze"; rev = "80b7202b8136d01aaf7f0551bce333b318aa576e"; hash = "sha256-CnGC2DE/JtEz7Sk7CsTaLT8dXDicRwwAunyYwcnLRPg="; }; nativeBuildInputs = [ pkg-config wayland-scanner ]; buildInputs = [ wayland wayland-protocols ]; enableParallelBuilding = true; makeFlags = [ "DESTDIR=$(out)" ]; postInstall = '' mv $out/usr/local/bin $out/bin rmdir $out/usr/{local,} ''; } ```
voronind unpinned this 2024-09-14 14:31:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: voronind/nix#166
No description provided.