Add a default.nix for nix-build
This commit is contained in:
@@ -1,12 +1,7 @@
|
||||
let
|
||||
sources = import ./nix/sources.nix;
|
||||
pkgs = import sources.nixpkgs {};
|
||||
haskell = pkgs.haskell.packages.ghc910;
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "byg";
|
||||
buildInputs = with pkgs; [
|
||||
with import ./nix/common.nix;
|
||||
pkgs.mkShell {
|
||||
buildInputs = [
|
||||
haskell.ghc
|
||||
cabal-install
|
||||
pkgs.cabal-install
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user