Skip to content

Commit cf33cdf

Browse files
committed
Ensure final flakes also use indirect nixpkgs references; not just the intermediate flakes
1 parent 03b1866 commit cf33cdf

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.last-exported-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Last exported commit from parent repo: 7ca90573ffac05c79933d5749e55333a174ac782
1+
Last exported commit from parent repo: 230b62f091d2911a5265018e78c1aa28cb196f05

nix-bootstrap.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cabal-version: 2.0
55
-- see: https://github.com/sol/hpack
66

77
name: nix-bootstrap
8-
version: 2.2.6.0
8+
version: 2.2.7.0
99
author: gchquser
1010
maintainer: [email protected]
1111
copyright: Crown Copyright

package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414
name: nix-bootstrap
15-
version: 2.2.6.0
15+
version: 2.2.7.0
1616
author: gchquser
1717
maintainer: [email protected]
1818
copyright: Crown Copyright

src/Bootstrap/Data/Bootstrappable/FlakeNix.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ instance IsNixExpr FlakeNix where
217217
[nixproperty|inputs|]
218218
|= ESet
219219
False
220-
( [[nixbinding|nixpkgs-src.url = "github:NixOS/nixpkgs";|]]
220+
( [[nixbinding|nixpkgs-src.url = "nixpkgs";|]]
221221
<> [ [nixbinding|pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";|]
222222
| usingHooks
223223
]

test/Bootstrap/Data/Bootstrappable/FlakeNixSpec.hs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec = describe "flake.nix rendering" do
2626
[r|{
2727
description = "Development infrastructure for test-project";
2828
inputs = {
29-
nixpkgs-src.url = "github:NixOS/nixpkgs";
29+
nixpkgs-src.url = "nixpkgs";
3030
};
3131
outputs = {
3232
nixpkgs-src,
@@ -55,7 +55,7 @@ spec = describe "flake.nix rendering" do
5555
[r|{
5656
description = "Development infrastructure for test-project";
5757
inputs = {
58-
nixpkgs-src.url = "github:NixOS/nixpkgs";
58+
nixpkgs-src.url = "nixpkgs";
5959
};
6060
outputs = {
6161
nixpkgs-src,
@@ -95,7 +95,7 @@ spec = describe "flake.nix rendering" do
9595
[r|{
9696
description = "Development infrastructure for test-project";
9797
inputs = {
98-
nixpkgs-src.url = "github:NixOS/nixpkgs";
98+
nixpkgs-src.url = "nixpkgs";
9999
pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";
100100
};
101101
outputs = {
@@ -138,7 +138,7 @@ spec = describe "flake.nix rendering" do
138138
[r|{
139139
description = "Development infrastructure for test-project";
140140
inputs = {
141-
nixpkgs-src.url = "github:NixOS/nixpkgs";
141+
nixpkgs-src.url = "nixpkgs";
142142
pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";
143143
};
144144
outputs = {
@@ -185,7 +185,7 @@ spec = describe "flake.nix rendering" do
185185
[r|{
186186
description = "Development infrastructure for test-project";
187187
inputs = {
188-
nixpkgs-src.url = "github:NixOS/nixpkgs";
188+
nixpkgs-src.url = "nixpkgs";
189189
};
190190
outputs = {
191191
nixpkgs-src,
@@ -225,7 +225,7 @@ spec = describe "flake.nix rendering" do
225225
[r|{
226226
description = "Development infrastructure for test-project";
227227
inputs = {
228-
nixpkgs-src.url = "github:NixOS/nixpkgs";
228+
nixpkgs-src.url = "nixpkgs";
229229
pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";
230230
};
231231
outputs = {
@@ -265,7 +265,7 @@ spec = describe "flake.nix rendering" do
265265
[r|{
266266
description = "Development infrastructure for test-project";
267267
inputs = {
268-
nixpkgs-src.url = "github:NixOS/nixpkgs";
268+
nixpkgs-src.url = "nixpkgs";
269269
mach-nix.url = "github:DavHau/mach-nix?ref=3.5.0";
270270
};
271271
outputs = {
@@ -307,7 +307,7 @@ spec = describe "flake.nix rendering" do
307307
[r|{
308308
description = "Development infrastructure for test-project";
309309
inputs = {
310-
nixpkgs-src.url = "github:NixOS/nixpkgs";
310+
nixpkgs-src.url = "nixpkgs";
311311
pre-commit-hooks-lib.url = "github:cachix/pre-commit-hooks.nix";
312312
};
313313
outputs = {

0 commit comments

Comments
 (0)