Skip to content

Instantly share code, notes, and snippets.

@Akii

Akii/default.nix Secret

Created April 11, 2019 07:09
Show Gist options
  • Save Akii/2a45b05635a3b2511c064ccdb134b0cf to your computer and use it in GitHub Desktop.
Save Akii/2a45b05635a3b2511c064ccdb134b0cf to your computer and use it in GitHub Desktop.
with (import <nixpkgs> {});
with (import (builtins.fetchTarball https://github.com/moretea/yarn2nix/archive/8df1cee02f53bbb58ec0479fad5cca6ee3def170.tar.gz) { inherit pkgs; });
rec {
haas-form-submit = mkYarnPackage {
name = "haas-form-submit";
src = ./.;
packageJson = ./package.json;
yarnLock = ./yarn.lock;
yarnNix = ./yarn.nix;
};
}
self: super:
{
haas-form-submit = import (builtins.fetchGit {
url = "git@gitlab.com:hilfeleistung-aas/form-submit.git";
rev = "f7686ec1b0ad90b60e1d85349e2508516a8540d0";
});
}
{ config, pkgs, ... }:
{
nixpkgs.overlays = [
(import ./overlay.nix)
];
environment.systemPackages = with pkgs; [
git
haas-form-submit
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment