reformat flake

This commit is contained in:
Cyryl Płotnicki 2022-05-04 23:21:06 +01:00
parent a2eb830dd5
commit f29388f42b

View file

@ -14,8 +14,7 @@
let let
pkgs = nixpkgs.legacyPackages."${system}"; pkgs = nixpkgs.legacyPackages."${system}";
naersk-lib = naersk.lib."${system}"; naersk-lib = naersk.lib."${system}";
in in rec {
rec {
# `nix build` # `nix build`
packages.bakare = naersk-lib.buildPackage { packages.bakare = naersk-lib.buildPackage {
pname = "bakare"; pname = "bakare";
@ -24,9 +23,7 @@
defaultPackage = packages.bakare; defaultPackage = packages.bakare;
# `nix run` # `nix run`
apps.bakare = utils.lib.mkApp { apps.bakare = utils.lib.mkApp { drv = packages.bakare; };
drv = packages.bakare;
};
defaultApp = apps.bakare; defaultApp = apps.bakare;
# `nix develop` # `nix develop`
@ -49,7 +46,8 @@
rustc rustc
rustfmt rustfmt
]; ];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; RUST_SRC_PATH =
"${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}; };
}); });
} }