Use project.nix instead of default.nix for generated file.

This commit is contained in:
John MacFarlane 2021-01-12 22:32:26 -08:00
parent bd3b7c2e2c
commit 2787083b76
2 changed files with 3 additions and 3 deletions

View file

@ -91,10 +91,10 @@ README.md: README.template MANUAL.txt tools/update-readme.lua
pandoc --lua-filter tools/update-readme.lua \
--reference-location=section -t gfm $< -o $@
default.nix: pandoc.cabal
project.nix: pandoc.cabal
nix-shell --pure -p cabal2nix --run "cabal2nix ." > $@
nix-shell: default.nix
nix-shell: project.nix
nix-shell --attr env release.nix
download_stats:

View file

@ -1,4 +1,4 @@
let
pkgs = import <nixpkgs> { };
in
pkgs.haskellPackages.callPackage ./default.nix { }
pkgs.haskellPackages.callPackage ./project.nix { }