mirror of
https://github.com/getzola/zola
synced 2025-03-04 06:57:17 +00:00
remove libsass from build instructions (#2217)
This commit is contained in:
parent
321c7178ad
commit
252f3b3136
1 changed files with 1 additions and 17 deletions
|
@ -197,23 +197,7 @@ Zola does not work in PowerShell ISE.
|
|||
|
||||
## From source
|
||||
To build Zola from source, you will need to have Git, [Rust and Cargo](https://www.rust-lang.org/)
|
||||
installed. You will also need to meet additional dependencies to compile [libsass](https://github.com/sass/libsass):
|
||||
|
||||
- OSX, Linux and other Unix-like operating systems: `make` (`gmake` on BSDs), `g++`, `libssl-dev`
|
||||
- NixOS: Create a `shell.nix` file in the root of the cloned project with the following contents:
|
||||
```nix
|
||||
with import <nixpkgs> {};
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = [
|
||||
libsass
|
||||
openssl
|
||||
pkgconfig
|
||||
];
|
||||
}
|
||||
```
|
||||
- Then, invoke `nix-shell`. This opens a shell with the above dependencies. Then, run `cargo build --release` to build the project.
|
||||
- Windows (a bit trickier): updated `MSVC` and overall updated VS installation
|
||||
installed.
|
||||
|
||||
From a terminal, you can now run the following command:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue