mirror of
https://github.com/kennethnym/freya
synced 2026-07-03 14:51:13 +01:00
dev: add nvim config (#153)
This commit is contained in:
18
flake.nix
18
flake.nix
@@ -53,9 +53,10 @@
|
||||
# so source-only edits do not force Bun to reinstall.
|
||||
dependencySource = lib.fileset.toSource {
|
||||
root = ./.;
|
||||
fileset = lib.fileset.fileFilter (
|
||||
file: file.name == "bun.lock" || file.name == "package.json" || file.name == "bunfig.toml"
|
||||
) ./.;
|
||||
fileset = lib.fileset.fileFilter
|
||||
(
|
||||
file: file.name == "bun.lock" || file.name == "package.json" || file.name == "bunfig.toml"
|
||||
) ./.;
|
||||
};
|
||||
|
||||
# Checks run against a clean source tree, even when using `path:.`.
|
||||
@@ -92,10 +93,12 @@
|
||||
lib.mapAttrs mkBunScript scripts;
|
||||
mkBunApps =
|
||||
commands:
|
||||
lib.mapAttrs (name: command: {
|
||||
type = "app";
|
||||
program = "${command}/bin/${name}";
|
||||
}) commands;
|
||||
lib.mapAttrs
|
||||
(name: command: {
|
||||
type = "app";
|
||||
program = "${command}/bin/${name}";
|
||||
})
|
||||
commands;
|
||||
mkBunNodeModules =
|
||||
system: pkgs:
|
||||
pkgs.stdenvNoCC.mkDerivation {
|
||||
@@ -255,6 +258,7 @@
|
||||
pkg-config
|
||||
postgresql
|
||||
python3
|
||||
typescript-go
|
||||
watchman
|
||||
];
|
||||
linuxPackages = with pkgs; [
|
||||
|
||||
Reference in New Issue
Block a user