Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
devshells
Browse files Browse the repository at this point in the history
  • Loading branch information
NextFire committed Apr 7, 2024
1 parent 05e8f62 commit ff45984
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 11 deletions.
12 changes: 6 additions & 6 deletions flake.lock

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

39 changes: 37 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,51 @@
};
};

outputs = inputs@{ flake-parts, dakara_check-src, ffmpegaacsucks-src, syncplay-src, ... }:
outputs =
{ flake-parts
, dakara_check-src
, ffmpegaacsucks-src
, syncplay-src
, ...
}@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];

perSystem = { pkgs, ... }: {
perSystem = { self', pkgs, ... }: {
packages = rec {
dakara_check = pkgs.callPackage ./packages/dakara_check.nix { inherit dakara_check-src ffmpegaacsucks; };
ffmpegaacsucks = pkgs.callPackage ./packages/ffmpegaacsucks.nix { inherit ffmpegaacsucks-src; };
syncplay = pkgs.callPackage ./packages/syncplay.nix { inherit syncplay-src; };
};

devShells = {
karaberus = pkgs.mkShell {
packages = with pkgs; [
go
go-tools
gopls
pkg-config
self'.packages.dakara_check
];
};
nanachan = pkgs.mkShell {
packages = with pkgs; [
ffmpeg
libopus
poetry
python312
redis
];
};
nanapi = pkgs.mkShell {
packages = with pkgs; [
edgedb
meilisearch
poetry
python312
];
};
};
};
};
}
2 changes: 1 addition & 1 deletion packages/ffmpegaacsucks.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv
, ffmpeg
, ffmpegaacsucks-src
, ffmpeg
, meson
, ninja
, pkg-config
Expand Down
4 changes: 2 additions & 2 deletions packages/syncplay.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ syncplay
, syncplay-src
{ syncplay-src
, syncplay
}:
syncplay.overrideAttrs (oldAttrs: rec {
name = "${pname}-${version}";
Expand Down

0 comments on commit ff45984

Please sign in to comment.