-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.bundle.nix
More file actions
31 lines (28 loc) · 1.25 KB
/
flake.bundle.nix
File metadata and controls
31 lines (28 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
description = "Nix Haskell Development Environment";
# XXX it downloads both of these on both systems.
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/de69d2ba6c70e747320df9c096523b623d3a4c35"; # nixpkgs-unstable
#nixpkgs.url = "github:NixOS/nixpkgs/b2a3852bd078e68dd2b3dfa8c00c67af1f0a7d20"; # nixpkgs-25.05
#nixpkgs.url = "github:NixOS/nixpkgs/branch-off-24.11";
# Runs into error: darwin.apple_sdk_11_0 has been removed ...
#nixpkgs-darwin.url = "github:NixOS/nixpkgs/e99366c665bdd53b7b500ccdc5226675cfc51f45"; # nixpkgs-unstable
nixpkgs-darwin.url = "github:NixOS/nixpkgs/08478b816182dc3cc208210b996294411690111d"; # nixpkgs-25.05-darwin
# For local testing use "path:.../nixpack";
basepkgs.url = "github:composewell/nixpack/659374e3c07a30d426fda1d74dfd75efc8fd2c18";
};
outputs = { self, nixpkgs, nixpkgs-darwin, basepkgs }:
basepkgs.nixpack.mkOutputs {
inherit nixpkgs;
inherit nixpkgs-darwin;
inherit basepkgs;
name = "nixpack-flake";
sources = import ./sources.nix;
packages = import ./packages.nix;
# Use default to utilize the cache,
# specific compiler for reproducibility
#compiler = "default";
#installHoogle = false;
#installDocs = false;
};
}