fix example for haskell

This commit is contained in:
DavHau 2022-06-03 15:13:51 +02:00
parent 8836a3f422
commit 30401cbc9d
2 changed files with 4 additions and 9 deletions

View File

@ -9,14 +9,11 @@
self, self,
dream2nix, dream2nix,
src, src,
} @ inp: let } @ inp:
dream2nix = inp.dream2nix.lib2.init { (dream2nix.lib.makeFlakeOutputs {
systems = ["x86_64-linux"]; pkgs = dream2nix.inputs.nixpkgs.legacyPackages.x86_64-linux;
config.projectRoot = ./.;
};
in
(dream2nix.makeFlakeOutputs {
source = src; source = src;
config.projectRoot = ./.;
settings = [ settings = [
{ {
subsystemInfo.noDev = true; subsystemInfo.noDev = true;

View File

@ -129,8 +129,6 @@ in {
snapshotYamlFile = builtins.fetchurl { snapshotYamlFile = builtins.fetchurl {
url = snapshotEntry.completed.url; url = snapshotEntry.completed.url;
sha256 = snapshotEntry.completed.sha256; sha256 = snapshotEntry.completed.sha256;
# This is a plain text file, therefore enable http compression
curlOpts = "--compressed";
}; };
snapshot = haskellUtils.fromYaml snapshotYamlFile; snapshot = haskellUtils.fromYaml snapshotYamlFile;