flake: use nixfmt-rfc-style
This commit is contained in:
parent
e7b8922920
commit
3307e8259d
13 changed files with 398 additions and 167 deletions
|
@ -1,9 +1,11 @@
|
|||
# generated by zon2nix (https://github.com/nix-community/zon2nix)
|
||||
{ linkFarm, fetchzip, }:
|
||||
linkFarm "zig-packages" [{
|
||||
name = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242";
|
||||
path = fetchzip {
|
||||
url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz";
|
||||
hash = "sha256-dvit+yvc0MnipqWjxJdfIsA6fJaJZOaIpx4w4woCxbE=";
|
||||
};
|
||||
}]
|
||||
{ linkFarm, fetchzip }:
|
||||
linkFarm "zig-packages" [
|
||||
{
|
||||
name = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242";
|
||||
path = fetchzip {
|
||||
url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz";
|
||||
hash = "sha256-dvit+yvc0MnipqWjxJdfIsA6fJaJZOaIpx4w4woCxbE=";
|
||||
};
|
||||
}
|
||||
]
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
{ stdenv, fetchgit, zig_0_13, callPackage, wayland-scanner, wayland-protocols
|
||||
, wayland, pkg-config, ... }:
|
||||
{
|
||||
stdenv,
|
||||
fetchgit,
|
||||
zig_0_13,
|
||||
callPackage,
|
||||
wayland-scanner,
|
||||
wayland-protocols,
|
||||
wayland,
|
||||
pkg-config,
|
||||
...
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "river-bedload";
|
||||
version = "0.1.1";
|
||||
|
@ -12,9 +21,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
deps = callPackage ./build.zig.zon.nix { };
|
||||
|
||||
zigBuildFlags = [ "--system" "${finalAttrs.deps}" ];
|
||||
zigBuildFlags = [
|
||||
"--system"
|
||||
"${finalAttrs.deps}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ zig_0_13.hook pkg-config wayland-scanner ];
|
||||
nativeBuildInputs = [
|
||||
zig_0_13.hook
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
buildInputs = [ wayland wayland-protocols ];
|
||||
buildInputs = [
|
||||
wayland
|
||||
wayland-protocols
|
||||
];
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue