mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-24 04:40:53 +01:00
chore: revert to default lon expression
This commit is contained in:
parent
e7e83d7ea9
commit
35047d3322
2 changed files with 8 additions and 3 deletions
4
lon.nix
4
lon.nix
|
@ -24,14 +24,14 @@ let
|
||||||
args@{ fetchType, ... }:
|
args@{ fetchType, ... }:
|
||||||
if fetchType == "git" then
|
if fetchType == "git" then
|
||||||
builtins.fetchGit {
|
builtins.fetchGit {
|
||||||
inherit (args) url;
|
url = args.url;
|
||||||
ref = args.branch;
|
ref = args.branch;
|
||||||
rev = args.revision;
|
rev = args.revision;
|
||||||
narHash = args.hash;
|
narHash = args.hash;
|
||||||
}
|
}
|
||||||
else if fetchType == "tarball" then
|
else if fetchType == "tarball" then
|
||||||
builtins.fetchTarball {
|
builtins.fetchTarball {
|
||||||
inherit (args) url;
|
url = args.url;
|
||||||
sha256 = args.hash;
|
sha256 = args.hash;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -16,7 +16,12 @@ let
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
hooks = {
|
hooks = {
|
||||||
statix.enable = true;
|
statix = {
|
||||||
|
enable = true;
|
||||||
|
settings.ignore = [
|
||||||
|
"**/lon.nix"
|
||||||
|
];
|
||||||
|
};
|
||||||
deadnix.enable = true;
|
deadnix.enable = true;
|
||||||
rfc101 = {
|
rfc101 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue