Skip to content

Commit 03b1866

Browse files
committed
Use an indirect reference to nixpkgs in bootstrapped flakes
1 parent e3c79a8 commit 03b1866

File tree

7 files changed

+8
-9
lines changed

7 files changed

+8
-9
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: 5ab98034a1e3e033f9a966ff2d1ea8a43db9067c
1+
Last exported commit from parent repo: 7ca90573ffac05c79933d5749e55333a174ac782

flake.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{
1515
description = "Development infrastructure for nix-bootstrap";
1616
inputs = {
17-
nixpkgs-src.url = "github:NixOS/nixpkgs?rev=b62d2a95c72fb068aecd374a7262b37ed92df82b";
17+
nixpkgs-src.url = "nixpkgs/b62d2a95c72fb068aecd374a7262b37ed92df82b";
1818
# Needed to get non-broken vulnix
1919
nixpkgs-src-previous.url = "github:NixOS/nixpkgs?rev=89172919243df199fe237ba0f776c3e3e3d72367";
2020
pre-commit-hooks-lib = {

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.5.0
8+
version: 2.2.6.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.5.0
15+
version: 2.2.6.0
1616
author: gchquser
1717
maintainer: [email protected]
1818
copyright: Crown Copyright

src/Bootstrap/Nix/Flake.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ intermediateFlake projectName =
6363
False
6464
[ [nixproperty|description|] |= ELit (LString ("Development infrastructure for " <> unProjectName projectName)),
6565
[nixbinding|inputs = {
66-
nixpkgs-src.url = "github:NixOS/nixpkgs";
66+
nixpkgs-src.url = "nixpkgs";
6767
};|],
6868
[nixbinding|outputs = _: {};|]
6969
]

test/Bootstrap/Nix/FlakeSpec.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec = describe "intermediateFlake" do
2020
[r|{
2121
description = "Development infrastructure for test-project";
2222
inputs = {
23-
nixpkgs-src.url = "github:NixOS/nixpkgs";
23+
nixpkgs-src.url = "nixpkgs";
2424
};
2525
outputs = _: {};
2626
}

0 commit comments

Comments
 (0)