1
0
website/flake.nix

19 lines
477 B
Nix

{
description = "My personal portfolio website";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem(system:
let
version = builtins.substring 0 8 self.lastModifiedDate;
pkgs = import nixpkgs { inherit system; };
in
{
packages.default = pkgs.callPackage ./. { inherit version; };
});
}