Skip to content

Instantly share code, notes, and snippets.

@asymmetric
Created May 18, 2020 20:21
Show Gist options
  • Save asymmetric/a63f9e3751fec6126c7471a7d0c1d1f0 to your computer and use it in GitHub Desktop.
Save asymmetric/a63f9e3751fec6126c7471a7d0c1d1f0 to your computer and use it in GitHub Desktop.
let
pkgs = import <nixpkgs> {};
c = "${pkgs.yq}/bin/yq . < ${~/code/dotfiles/home/solarized-light-256.yml}";
s = toString c;
j = builtins.fromJSON s;
in
pkgs.runCommand "colors" {} "${j} > $out"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment