forked from mirrors/nixpkgs
agda-stdlib: upgrade to 0.8 (they keep changing the version scheme)
Conflicts: pkgs/development/compilers/agda/stdlib-0.8.nix pkgs/top-level/haskell-packages.nix
This commit is contained in:
parent
6025caa92b
commit
3fd519822f
|
@ -1,12 +1,12 @@
|
|||
{ cabal, fetchurl, filemanip, Agda }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "Agda-lib-ffi";
|
||||
version = "2.4.0";
|
||||
cabal.mkDerivation (self: rec {
|
||||
pname = "Agda-stdlib";
|
||||
version = "0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/agda/agda-stdlib/archive/v2.4.0.tar.gz";
|
||||
sha256 = "1rz0jrkm1b8d8aj9hbj3yl2k219c57r0cizfx98qqf1b9mwixzbf";
|
||||
url = "https://github.com/agda/agda-stdlib/archive/v${version}.tar.gz";
|
||||
sha256 = "03gdcy2gar46qlmd6w91y05cm1x304ig6bda90ryww9qn05kif78";
|
||||
};
|
||||
|
||||
buildDepends = [ filemanip Agda ];
|
||||
|
@ -18,7 +18,7 @@ cabal.mkDerivation (self: {
|
|||
mkdir -p $out/share
|
||||
cd ..
|
||||
runhaskell GenerateEverything
|
||||
${Agda}/bin/agda -i . -i src Everything.agda
|
||||
agda -i . -i src Everything.agda
|
||||
cp -pR src $out/share/agda
|
||||
'';
|
||||
|
|
@ -2607,7 +2607,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
|
|||
AgdaStdlib_0_7 = callPackage ../development/compilers/agda/stdlib-0.7.nix {
|
||||
Agda = self.Agda_2_3_2_2;
|
||||
};
|
||||
AgdaStdlib_2_4_0 = callPackage ../development/compilers/agda/stdlib-2.4.0.nix {
|
||||
AgdaStdlib_0_8 = callPackage ../development/compilers/agda/stdlib-0.8.nix {
|
||||
Agda = self.Agda_2_4_0_1;
|
||||
};
|
||||
AgdaStdlib = self.AgdaStdlib_0_7;
|
||||
|
|
Loading…
Reference in a new issue