Merge branch 'nixos-21.11' into consensus
This commit is contained in:
commit
a53a2f8a8a
4 changed files with 15 additions and 15 deletions
2
.envrc
Normal file
2
.envrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
use nix
|
||||
watch_file nix/*
|
|
@ -6,7 +6,7 @@ cabal-version: >= 1.10
|
|||
executable site
|
||||
main-is: site.hs
|
||||
build-depends: base == 4.*
|
||||
, hakyll == 4.14.*
|
||||
, hakyll == 4.15.*
|
||||
, pandoc
|
||||
ghc-options: -threaded
|
||||
default-language: Haskell2010
|
||||
|
|
|
@ -12,15 +12,15 @@
|
|||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
},
|
||||
"nixpkgs": {
|
||||
"branch": "nixpkgs-unstable",
|
||||
"branch": "nixos-21.11",
|
||||
"description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to",
|
||||
"homepage": "https://github.com/NixOS/nixpkgs",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs-channels",
|
||||
"rev": "10100a97c8964e82b30f180fda41ade8e6f69e41",
|
||||
"sha256": "011f36kr3c1ria7rag7px26bh73d1b0xpqadd149bysf4hg17rln",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9ab7d12287ced0e1b4c03b61c781901f178d9d77",
|
||||
"sha256": "0bbd2pgcyavqn5wgq0xp8p67lha0kv9iqnh49i9w5fb5g29q7i30",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs-channels/archive/10100a97c8964e82b30f180fda41ade8e6f69e41.tar.gz",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/9ab7d12287ced0e1b4c03b61c781901f178d9d77.tar.gz",
|
||||
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
|
||||
}
|
||||
}
|
||||
|
|
16
release.nix
16
release.nix
|
@ -1,5 +1,5 @@
|
|||
let sources = import ./nix/sources.nix;
|
||||
in { compiler ? "ghc883", pkgs ? import sources.nixpkgs { } }:
|
||||
in { compiler ? "ghc8107", pkgs ? import sources.nixpkgs { } }:
|
||||
|
||||
let
|
||||
inherit (pkgs.lib.trivial) flip pipe;
|
||||
|
@ -24,14 +24,12 @@ in {
|
|||
|
||||
shell = haskellPackages.shellFor {
|
||||
packages = p: with p; [ project ];
|
||||
#buildInputs = with haskellPackages; [
|
||||
# ghcid
|
||||
# hlint # or ormolu
|
||||
# niv
|
||||
# pkgs.cacert # needed for niv
|
||||
# pkgs.nix # needed for niv
|
||||
# zlib
|
||||
#];
|
||||
buildInputs = with haskellPackages; [
|
||||
ghcid
|
||||
hlint # or ormolu
|
||||
pkgs.niv
|
||||
zlib
|
||||
];
|
||||
withHoogle = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue