diff --git a/flake.nix b/flake.nix index e2412af7e5c12ac6b8b6b3b8110afd490af8a73f..c8bcca1a79885da33746a8815eabaa41236c4994 100644 --- a/flake.nix +++ b/flake.nix @@ -13,32 +13,6 @@ flake-utils.lib.eachDefaultSystem ( system: let pkgs = nixpkgs.legacyPackages.${system}; in { - packages.default = pkgs.stdenv.mkDerivation rec { - pname = "jolheiser.com"; - version = "site"; - src = ./.; - offlineCache = pkgs.fetchYarnDeps { - yarnLock = "${src}/yarn.lock"; - sha256 = "sha256-IF30H3ZXlKoyap7xJOD6tnZjCZ/U/VgWrCjj4fh6zyM="; - }; - - nativeBuildInputs = with pkgs; [yarn fixup_yarn_lock nodejs-slim]; - postPatch = '' - export HOME=$NIX_BUILD_TOP/fake_home - yarn config --offline set yarn-offline-mirror $offlineCache - fixup_yarn_lock yarn.lock - yarn install --offline --frozen-lockfile --ignore-scripts --no-progress --non-interactive - patchShebangs node_modules/ - ''; - buildPhase = '' - runHook preBuild - - yarn --offline build - mv dist $out - - runHook postBuild - ''; - }; devShells.default = pkgs.mkShell { nativeBuildInputs = with pkgs; [ yarn diff --git a/justfile b/justfile deleted file mode 100644 index 8f92f5e25be5a0e549e6a31bd4b4f4b603d7f473..0000000000000000000000000000000000000000 --- a/justfile +++ /dev/null @@ -1,3 +0,0 @@ -build: - @git add . - @nix build