nix fmt
This commit is contained in:
parent
8df0b79311
commit
02529ca146
3 changed files with 45 additions and 55 deletions
|
@ -1,14 +1,17 @@
|
|||
{ stdenv, zola, lib, ... }:
|
||||
{
|
||||
stdenv,
|
||||
zola,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
stdenv.mkDerivation {
|
||||
pname = "posixlycorrect.com";
|
||||
version = "0.0.1";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "posixlycorrect.com";
|
||||
version = "0.0.1";
|
||||
|
||||
src = ./posixlycorrect;
|
||||
|
||||
buildPhase = ''
|
||||
${getExe zola} build --output-dir $out
|
||||
'';
|
||||
}
|
||||
src = ./posixlycorrect;
|
||||
|
||||
buildPhase = ''
|
||||
${getExe zola} build --output-dir $out
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -3,16 +3,19 @@
|
|||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
in {
|
||||
formatter = pkgs.alejandra;
|
||||
|
||||
packages = rec {
|
||||
default = posixlycorrect;
|
||||
posixlycorrect = pkgs.callPackage ./. { };
|
||||
posixlycorrect = pkgs.callPackage ./. {};
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue