flake: drop building package

This commit is contained in:
Dmitriy Pleshevskiy 2025-02-03 11:03:54 +03:00
parent 95d44e4939
commit f069b9762e
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -10,26 +10,9 @@
let
out = system:
let
inherit (builtins) substring;
pkgs = import nixpkgs { inherit system; };
version = "0.0.1+${substring 0 8 self.lastModifiedDate}_${self.shortRev or "dirty"}";
in
{
packages.default = with pkgs; stdenv.mkDerivation (finalAttrs: {
pname = "pleshevski_site";
inherit version;
src = ./.;
dontBuild = true;
installPhase = ''
mkdir -p $out
cp -r dist/* $out
'';
});
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
pre-commit