mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
a36816034b
style(nix): apply nixfmt formatting chore(nix): switch nixpkgs input to channel url chore(nix): fix homepage url chore(nix): use lib.cleanSource for source filtering chore(nix): port devshell from #2584 chore(nix): derive version from lastModifiedDate and shortRev
30 lines
492 B
Nix
30 lines
492 B
Nix
{
|
|
pkgs,
|
|
noctalia,
|
|
}:
|
|
pkgs.mkShell {
|
|
inputsFrom = [ noctalia ];
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
# Workflow & Hooks
|
|
just
|
|
lefthook
|
|
|
|
# Formatting (required by justfile)
|
|
clang-tools
|
|
gnugrep
|
|
gnused
|
|
findutils
|
|
|
|
# Debugging
|
|
gdb
|
|
];
|
|
|
|
shellHook = ''
|
|
# Point to local assets so binaries find resources without installation
|
|
export NOCTALIA_ASSETS_DIR="$PWD/assets"
|
|
|
|
echo " Noctalia dev-shell | 'just --list' to see available tasks"
|
|
'';
|
|
}
|