diff --git a/flake.lock b/flake.lock index a2eeaf9..a1724e1 100644 --- a/flake.lock +++ b/flake.lock @@ -20,18 +20,15 @@ }, "nixpkgs": { "locked": { - "lastModified": 1694048570, "narHash": "sha256-PEQptwFCVaJ+jLFJgrZll2shQ9VI/7xVhrCYkJo8iIw=", - "owner": "NixOS", - "repo": "nixpkgs", "rev": "4f77ea639305f1de0a14d9d41eef83313360638c", - "type": "github" + "revCount": 490691, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2305.490691%2Brev-4f77ea639305f1de0a14d9d41eef83313360638c/018a70b5-07f4-7ca0-99a2-f4a0ec0a6e07/source.tar.gz" }, "original": { - "owner": "NixOS", - "ref": "nixos-23.05", - "repo": "nixpkgs", - "type": "github" + "type": "tarball", + "url": "https://flakehub.com/f/NixOS/nixpkgs/0.2305.%2A.tar.gz" } }, "root": { diff --git a/flake.nix b/flake.nix index beaf411..e0f071c 100644 --- a/flake.nix +++ b/flake.nix @@ -2,7 +2,7 @@ description = "Nuenv: a Nushell environment for Nix"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; # Provides Nushell v0.81.0 + nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.2305.*.tar.gz"; # Provides Nushell v0.81.0 rust-overlay = { url = "github:oxalica/rust-overlay"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/nuenv/builder.nu b/nuenv/builder.nu index 6f38a1d..b03db7e 100644 --- a/nuenv/builder.nu +++ b/nuenv/builder.nu @@ -142,9 +142,7 @@ def runPhase [ exit $exitCode } } - } else { - if $nix.debug { info $"Skipping empty (blue $name) phase" } - } + } else if $nix.debug { info $"Skipping empty (blue $name) phase" } } # The available phases (just one for now)