mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-24 23:14:12 +03:00
fix example for haskell
This commit is contained in:
parent
8836a3f422
commit
30401cbc9d
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user