Use project.nix instead of default.nix for generated file.
This commit is contained in:
parent
bd3b7c2e2c
commit
2787083b76
2 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -91,10 +91,10 @@ README.md: README.template MANUAL.txt tools/update-readme.lua
|
||||||
pandoc --lua-filter tools/update-readme.lua \
|
pandoc --lua-filter tools/update-readme.lua \
|
||||||
--reference-location=section -t gfm $< -o $@
|
--reference-location=section -t gfm $< -o $@
|
||||||
|
|
||||||
default.nix: pandoc.cabal
|
project.nix: pandoc.cabal
|
||||||
nix-shell --pure -p cabal2nix --run "cabal2nix ." > $@
|
nix-shell --pure -p cabal2nix --run "cabal2nix ." > $@
|
||||||
|
|
||||||
nix-shell: default.nix
|
nix-shell: project.nix
|
||||||
nix-shell --attr env release.nix
|
nix-shell --attr env release.nix
|
||||||
|
|
||||||
download_stats:
|
download_stats:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
let
|
let
|
||||||
pkgs = import <nixpkgs> { };
|
pkgs = import <nixpkgs> { };
|
||||||
in
|
in
|
||||||
pkgs.haskellPackages.callPackage ./default.nix { }
|
pkgs.haskellPackages.callPackage ./project.nix { }
|
||||||
|
|
Loading…
Reference in a new issue