Skip to content
Snippets Groups Projects
Commit f8a084b7 authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

switch to dart-sass

parent 112ebfb4
No related branches found
No related tags found
No related merge requests found
Pipeline #2613 passed
......@@ -37,7 +37,7 @@ i.e. any particular site's flake
src = config.nebelhorn.projectPath;
buildInputs = [
(nebelhornFlake.withSystem system ({ self', ... }: self'.packages.nebelhorn))
pkgs.sassc
pkgs.dart-sass
];
phases = [ "unpackPhase" "installPhase" ];
installPhase = if config.nebelhorn.config != null
......
......@@ -20,7 +20,7 @@
};
devShell = {
mkShellArgs = {
nativeBuildInputs = [ pkgs.sassc ];
nativeBuildInputs = [ pkgs.dart-sass ];
};
};
};
......@@ -32,7 +32,7 @@
name = "nebelhorn";
copyToRoot = pkgs.buildEnv {
name = "image-root";
paths = [ pkgs.sassc ];
paths = [ pkgs.dart-sass ];
pathsToLink = [ "/bin" ];
};
config = {
......
......@@ -22,7 +22,7 @@ save outputPath nebelhorn@Nebelhorn{..} = do
writeFeeds outputPath nebelhorn
putStrLn "Written Feeds"
ensureDir $ outputPath </> [reldir|style|]
liftIO $ callCommand $ "sassc --sourcemap=auto --style compressed "
liftIO $ callCommand $ "sass --style compressed "
<> nebelhornStylesheet <> " "
<> toFilePath (outputPath </> [relfile|style/stylesheet.css|])
liftIO $ copyItems outputPath nebelhornCopyItems
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment