Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tests for non-flakes #126

Merged
merged 1 commit into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/fixtures/one_level_nesting_flat_not_a_flake.flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
description = "Edit your flake inputs with ease";

inputs = {
also-not-a-flake.flake = false;
also-not-a-flake.url = "github:a-kenji/also-not-a-flake";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utelinos.url = "github:numtide/flake-utils";
rust-overlay.url = "github:oxalica/rust-overlay";
Expand All @@ -18,6 +20,7 @@
outputs =
{
self,
also-not-a-flake,
nixpkgs,
flake-utils,
flake-utelinos,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ info:
changes:
- None
---
also-not-a-flake:
id: also-not-a-flake
flake: false
url: "\"github:a-kenji/also-not-a-flake\""
follows: []
range:
start: 72
end: 88
crane:
id: crane
flake: true
Expand All @@ -21,32 +29,32 @@ crane:
- rust-overlay
- "\"rust-overlay\""
range:
start: 364
end: 386
start: 462
end: 484
flake-utelinos:
id: flake-utelinos
flake: true
url: "\"github:numtide/flake-utils\""
follows: []
range:
start: 150
end: 178
start: 248
end: 276
nixpkgs:
id: nixpkgs
flake: true
url: "\"github:nixos/nixpkgs/nixos-unstable\""
follows: []
range:
start: 86
end: 123
start: 184
end: 221
not-a-flake:
id: not-a-flake
flake: false
url: "\"github:a-kenji/not-a-flake\""
follows: []
range:
start: 566
end: 594
start: 664
end: 692
rust-overlay:
id: rust-overlay
flake: true
Expand All @@ -59,5 +67,5 @@ rust-overlay:
- nixpkgs
- "\"nixpkgs\""
range:
start: 203
end: 232
start: 301
end: 330
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ info:
description = "Edit your flake inputs with ease";

inputs = {
also-not-a-flake.flake = false;
also-not-a-flake.url = "github:a-kenji/also-not-a-flake";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utelinos.url = "github:numtide/flake-utils";
rust-overlay.url = "github:oxalica/rust-overlay";
Expand All @@ -25,6 +27,7 @@ info:
outputs =
{
self,
also-not-a-flake,
nixpkgs,
flake-utils,
flake-utelinos,
Expand Down
Loading