Skip to content

Commit

Permalink
Nix: add hyprlang
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Jan 1, 2024
1 parent 122aaa2 commit bf78f6d
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
37 changes: 36 additions & 1 deletion flake.lock

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

9 changes: 7 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
{
description = "Hyprpaper is a blazing fast Wayland wallpaper utility with IPC controls";

inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

hyprlang.url = "github:hyprwm/hyprlang";
};

outputs = {
self,
nixpkgs,
...
}: let
} @ inputs: let
inherit (nixpkgs) lib;
genSystems = lib.genAttrs [
# Add more systems if they are supported
Expand All @@ -26,6 +30,7 @@
stdenv = prev.gcc12Stdenv;
version = "0.pre" + "+date=" + (mkDate (self.lastModifiedDate or "19700101")) + "_" + (self.shortRev or "dirty");
inherit (prev.xorg) libXdmcp;
inherit (inputs.hyprlang.packages.${prev.system}) hyprlang;
};
hyprpaper-debug = hyprpaper.override {debug = true;};
};
Expand Down
2 changes: 2 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
cairo,
file,
fribidi,
hyprlang,
libdatrie,
libGL,
libjpeg,
Expand Down Expand Up @@ -39,6 +40,7 @@ stdenv.mkDerivation {
cairo
file
fribidi
hyprlang
libdatrie
libGL
libjpeg
Expand Down

0 comments on commit bf78f6d

Please sign in to comment.