I have a jekyll setup, however I’m getting an error that a certain file is not readable. This dart
file referenced in the error exists and is fully readable as per the issue with someone on guix here: [Bug]: No such file or directory sass_embedded/src/dart, even though file exists · Issue #9342 · jekyll/jekyll · GitHub.
I’m just wondering if someone has come across this issue before and might know how to solve it. I have posted in the issue above, but thought it might just be worth asking here as it could be a nix related issue.
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/style.scss':
No such file or directory - /nix/store/3m56nsb2wlmsk8nbmg0ljbaayi2ibzla-ruby3.1.4-sass-embedded-1.62.0-x86_64-linux-gnu/lib/ruby/gems/3.1.0/gems/sass-embedded-1.62.0-x86_64-linux-gnu/ext/sass/sass_embedded/src/dart
My flake.nix is as follows:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
ruby-nix.url = "github:sagittaros/ruby-nix";
bundix = {
url = "github:sagittaros/bundix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs @ {self, nixpkgs, flake-utils, bundix, ...}:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
ruby = pkgs.ruby_3_1;
ruby-nix = inputs.ruby-nix.lib pkgs;
sagittaros-bundix = bundix.packages.${system}.default;
gemset = import ./gemset.nix;
inherit (ruby-nix { inherit ruby gemset; name = "mysite"; }) env;
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [ sagittaros-bundix env ];
};
devShells.bundle = pkgs.mkShell {
packages = with pkgs; [ sagittaros-bundix ruby ];
};
}
);
}
Any thoughts/help would be appreciated!