Created
June 13, 2019 18:21
-
-
Save Synthetica9/385537a29c52479be85c4e764e05bfbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, lib, ... }: | |
let | |
inherit (pkgs.scss-to-json-init.nodePackages) scss-to-json; | |
stylesJSON = pkgs.runCommand "styles.json" {} '' | |
${scss-to-json}/bin/scss-to-json ${./styles.scss} > "$out" | |
''; | |
styles = lib.importJSON stylesJSON; | |
in | |
{ | |
environment.systemPackages = builtins.trace (styles."$mono-1") []; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment