mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -06:00
formatting
This commit is contained in:
parent
cfd29c576d
commit
c3514988d3
3 changed files with 7 additions and 8 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue