fix syntax

This commit is contained in:
aditya 2023-06-07 17:51:30 +05:30
parent bdcdee9e09
commit 4501f90208
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU

View file

@ -4,7 +4,7 @@
inputs.nixpkgs.url = "github:nixos/nixpkgs/23.05"; inputs.nixpkgs.url = "github:nixos/nixpkgs/23.05";
outputs = { self, nixpkgs }: { outputs = { self, nixpkgs }: {
with import nixpkgs { system = "x86_64-linux"; }; packages.x86_64-linux.default = with import nixpkgs { system = "x86_64-linux"; };
stdenv.mkDerivation { stdenv.mkDerivation {
name = "blog"; name = "blog";
buildInputs = [ buildInputs = [
@ -13,7 +13,7 @@
]; ];
src = self; src = self;
buildPhase = "hugo server"; buildPhase = "hugo server";
installPhase = "./deploy.sh" installPhase = "./deploy.sh";
}; };
}; };
} }