fix(nix): fix formatting
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
0838418eb2
commit
1b8366f9b1
1 changed files with 7 additions and 6 deletions
13
flake.nix
13
flake.nix
|
@ -83,12 +83,13 @@
|
||||||
rust-overlay = rust-overlay.packages.${system};
|
rust-overlay = rust-overlay.packages.${system};
|
||||||
};
|
};
|
||||||
|
|
||||||
mkContainerFor = refraction: pkgs.dockerTools.buildLayeredImage {
|
mkContainerFor = refraction:
|
||||||
name = "refraction";
|
pkgs.dockerTools.buildLayeredImage {
|
||||||
tag = "latest-${refraction.stdenv.hostPlatform.qemuArch}";
|
name = "refraction";
|
||||||
config.Cmd = [(lib.getExe refraction)];
|
tag = "latest-${refraction.stdenv.hostPlatform.qemuArch}";
|
||||||
inherit (refraction) architecture;
|
config.Cmd = [(lib.getExe refraction)];
|
||||||
};
|
inherit (refraction) architecture;
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
refraction = pkgs.callPackage ./nix/derivation.nix {inherit self;};
|
refraction = pkgs.callPackage ./nix/derivation.nix {inherit self;};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue