summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 3d8d9a5..115a9d1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -6,19 +6,24 @@
description = "Nixtamal - A Nix version pinning tool with first-class support for Darcs, Pijul, and other VCS systems";
inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+ nixpkgs.url = "github:NixOS/nixpkgs/16c7794d0a28b5a37904d55bcca36003b9109aaa";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
- pkgs = import nixpkgs { inherit system; };
+ pkgs = import nixpkgs {
+ inherit system;
+ overlays = [
+ (import ./nix/overlay/default.nix)
+ (import ./nix/overlay/development.nix)
+ (import ./nix/overlay/check.nix)
+ ];
+ };
- # Build nixtamal package using the traditional nix-build approach
- # This preserves the existing build infrastructure
+ # Build nixtamal package using callPackage
nixtamalPkg = pkgs.callPackage ./nix/package/nixtamal.nix {
- # Override dependencies as needed
nixtamal = null; # Prevent infinite recursion
};