mirror of
https://github.com/alpmestan/taggy.git
synced 2024-10-05 19:37:44 +03:00
Added a nix derivation, intended for the shell.
This commit is contained in:
parent
7415647682
commit
272ad3852c
14
default.nix
Normal file
14
default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
let
|
||||
nixpkgs = (import <nixpkgs> {}).fetchgit {
|
||||
url = "git@github.com:zalora/nixpkgs.git";
|
||||
rev = "f8bd9e70fab91607caa9e3039f4059db77540a54";
|
||||
sha256 = "3284674b4d7efd6290dce16837d1c67240aaae5f3d77b21e051f38faba6d7415";
|
||||
};
|
||||
in
|
||||
{ system ? builtins.currentSystem
|
||||
, pkgs ? (import nixpkgs { inherit system; })
|
||||
, haskellPackages ? pkgs.haskellPackages_ghc783
|
||||
, src ? ./.
|
||||
, name ? "taggy"
|
||||
}:
|
||||
haskellPackages.buildLocalCabal src name
|
Loading…
Reference in New Issue
Block a user