Skip to content

Instantly share code, notes, and snippets.

@ixxie

ixxie/after.nix Secret

Created April 20, 2017 12:31
Show Gist options
  • Save ixxie/ca9a4f5049d4843689053ae1c670bd24 to your computer and use it in GitHub Desktop.
Save ixxie/ca9a4f5049d4843689053ae1c670bd24 to your computer and use it in GitHub Desktop.
{ config, pkgs, ... }:
let
# "Sbtix generates a Nix definition that represents your SBT project's
# dependencies. It then uses this to build a Maven repo containing the
# stuff your project needs, and feeds it back to your SBT build."
sbtix = import
( pkgs.fetchgit
{
url = "https://www.github.com/teozkr/Sbtix" ;
}
);
in
{
environment =
{
systemPackages =
[
sbtix
];
};
}
{ config, pkgs, ... }:
let
# "Sbtix generates a Nix definition that represents your SBT project's
# dependencies. It then uses this to build a Maven repo containing the
# stuff your project needs, and feeds it back to your SBT build."
sbtix = import
( pkgs.fetchFromGitHub
{
owner = "teozkr";
repo = "Sbtix";
rev= "d4e59eaecb46a74c82229a1d326839be83a1a3ed";
sha256= "1fy7y4ln63ynad5v9w4z8srb9c8j2lz67fjsf6a923czm9lh5naf";
}
);
in
{
environment =
{
systemPackages =
[
sbtix
];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment