formatting

This commit is contained in:
Daylin Morgan 2024-07-18 11:46:02 -05:00
parent cfd29c576d
commit c3514988d3
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 7 additions and 8 deletions

View file

@ -64,9 +64,7 @@ let
]); ]);
flakeVer = flakeVer =
flake: flake: "${flake.shortRev or flake.dirtyShortRev}-${mkDate (toString flake.lastModifiedDate)}";
"${flake.shortRev or flake.dirtyShortRev}-${mkDate (toString flake.lastModifiedDate)}";
isNixFile = p: hasSuffix ".nix" p; isNixFile = p: hasSuffix ".nix" p;
isDefaultNixFile = p: hasSuffix "default.nix" p; isDefaultNixFile = p: hasSuffix "default.nix" p;

View file

@ -16,13 +16,14 @@ let
inherit version; inherit version;
}; };
lang-server = rocPkgs.lang-server.overrideAttrs { lang-server = rocPkgs.lang-server.overrideAttrs { inherit version; };
inherit version;
};
in in
{ {
config = mkIfIn "roc" cfg { config = mkIfIn "roc" cfg {
environment.systemPackages = [roc lang-server]; environment.systemPackages = [
roc
lang-server
];
}; };
} }

View file

@ -25,4 +25,4 @@ buildGoModule {
--zsh <(OIZYS_SKIP_CHECK=true $out/bin/oizys completion zsh) --zsh <(OIZYS_SKIP_CHECK=true $out/bin/oizys completion zsh)
''; '';
} }