Skip to content

Commit

Permalink
fix(deps): update dependency autoprefixer to v10.4.19 (#15)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency autoprefixer to v10.4.19

* fix(deps): update hash

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Yongun Seong <nevivurn@nevi.dev>
  • Loading branch information
renovate[bot] and nevivurn committed Mar 23, 2024
1 parent 16fee92 commit 19edab2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 39 deletions.
56 changes: 24 additions & 32 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,41 @@
resume.inputs.flake-utils.follows = "flake-utils";
};

outputs =
{ self
, nixpkgs
, flake-utils
, resume
}:
outputs = { self, nixpkgs, flake-utils, resume }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
runtimeDeps = with pkgs; [ hugo nodejs ];
resumePDF = "${resume.packages.${system}.default}/resume.pdf";
resumeVersion = resume.shortRev;
in
{
apps.serve = flake-utils.lib.mkApp {
drv = pkgs.writeShellApplication {
name = "hugo-serve";
runtimeInputs = runtimeDeps;
text = ''
npm install
hugo gen chromastyles --style dracula > assets/highlight-dracula.css
ln -sf ${resumePDF} static/
hugo serve
'';
let
pkgs = nixpkgs.legacyPackages.${system};
runtimeDeps = with pkgs; [ hugo nodejs ];
resumePDF = "${resume.packages.${system}.default}/resume.pdf";
resumeVersion = resume.shortRev;
in {
apps.serve = flake-utils.lib.mkApp {
drv = pkgs.writeShellApplication {
name = "hugo-serve";
runtimeInputs = runtimeDeps;
text = ''
npm install
hugo gen chromastyles --style dracula > assets/highlight-dracula.css
ln -sf ${resumePDF} static/
hugo serve
'';
};
};
};
packages.default =
let
packages.default = let
npmDeps = pkgs.fetchNpmDeps {
name = "nevi-dev-npm-deps";
src = ./.;
hash = "sha256-M6oKcwilo3k850hJnP1OKDyaivd/z8Who7CBTufgjHs=";
hash = "sha256-pjQ2c26XmK/pALvbtuQB+stBNdaiRsKViq0JLZZZy/A=";
};
in
pkgs.stdenvNoCC.mkDerivation {
in pkgs.stdenvNoCC.mkDerivation {
name = "nevi-dev";
src = ./.;

inherit npmDeps;
passthru = { inherit npmDeps; };

nativeBuildInputs = runtimeDeps ++ (with pkgs; [ npmHooks.npmConfigHook ]);
nativeBuildInputs = runtimeDeps
++ (with pkgs; [ npmHooks.npmConfigHook ]);

preBuild = ''
hugo gen chromastyles --style dracula > assets/highlight-dracula.css
Expand All @@ -65,6 +58,5 @@
'';
dontFixup = true; # don't strip CTF challenge binaries etc.
};
}
);
});
}
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 19edab2

Please sign in to comment.