Skip to content

Instantly share code, notes, and snippets.

@Akii
Created July 22, 2018 13:39
Show Gist options
  • Select an option

  • Save Akii/a728ad0601923d4e7f0609e4c14c6328 to your computer and use it in GitHub Desktop.

Select an option

Save Akii/a728ad0601923d4e7f0609e4c14c6328 to your computer and use it in GitHub Desktop.
with (import <nixpkgs> {});
with (import (builtins.fetchTarball https://github.com/moretea/yarn2nix/archive/master.tar.gz) { inherit pkgs; });
rec {
elescore-client = mkYarnPackage {
name = "elescore-client";
src = ./.;
packageJson = ./package.json;
yarnLock = ./yarn.lock;
yarnNix = ./elescore-client.nix;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment