Add a default.nix for nix-build

This commit is contained in:
2024-09-12 19:49:58 +02:00
parent 2628822373
commit 1fe7714c6b
4 changed files with 16 additions and 10 deletions

View File

@@ -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
];
}