mirror of
https://github.com/zaphar/jeremy.marzhillstudios.com.git
synced 2025-07-21 19:29:48 -04:00
Fix sile on darwin
This commit is contained in:
parent
44dfcb7472
commit
d544b214d2
2
Makefile
2
Makefile
@ -13,7 +13,7 @@ static/pdf/resume-jeremy-wall.pdf: resume/resume.sil resume/resume.lua
|
||||
mkdir -p static/pdf/
|
||||
mkdir -p ~/.local/share/fonts
|
||||
cp resume/.fonts/* ~/.local/share/fonts/
|
||||
nix-shell -p sile --command "sile --debug classes -o $@ resume/resume.sil"
|
||||
bash bin/sile --debug classes -o $@ resume/resume.sil
|
||||
|
||||
publish: build
|
||||
cd public
|
||||
|
43
nix/sile/flake.lock
generated
Normal file
43
nix/sile/flake.lock
generated
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"nodes": {
|
||||
"flake-utils": {
|
||||
"locked": {
|
||||
"lastModified": 1652776076,
|
||||
"narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1653328845,
|
||||
"narHash": "sha256-NKc98+iX8YH500np1zWZSQ2C+FoD9sS/nuH02Rg2ats=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7ae60dd7068478db5d936a3850b6df859aec21d0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "22.05-beta",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
22
nix/sile/flake.nix
Normal file
22
nix/sile/flake.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=22.05-beta";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = {self, nixpkgs, flake-utils}:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
sile = pkgs.sile.overrideAttrs(oldAttrs: { doCheck = false; });
|
||||
in {
|
||||
packages.sile = sile;
|
||||
apps.sile = {
|
||||
type = "app";
|
||||
program = "${sile}/bin/sile";
|
||||
};
|
||||
devShell = pkgs.mkShell {
|
||||
buildInputs = [ sile ];
|
||||
};
|
||||
});
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user