mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
add treefmt
This commit is contained in:
parent
91d1041e06
commit
f5d82afca7
11 changed files with 147 additions and 103 deletions
16
default.nix
16
default.nix
|
|
@ -1,8 +1,14 @@
|
|||
{system ? builtins.currentSystem}:
|
||||
(
|
||||
(import ./compat.nix).flake-compat {
|
||||
src = ./.;
|
||||
inherit system;
|
||||
}
|
||||
import (
|
||||
let
|
||||
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
||||
in
|
||||
fetchTarball {
|
||||
url = "https://github.com/edolstra/flake-compat/archive/${
|
||||
lock.nodes.flake-compat.locked.rev
|
||||
}.tar.gz";
|
||||
sha256 = lock.nodes.flake-compat.locked.narHash;
|
||||
}
|
||||
) {src = ./.;}
|
||||
)
|
||||
.defaultNix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue