mirror of
https://github.com/nix-community/flakelight.git
synced 2024-11-21 15:03:15 +01:00
Use direct flake url for nixpkgs
This commit is contained in:
parent
320825042a
commit
a31923bf14
@ -106,7 +106,7 @@ To use a different nixpkgs from the built-in default (passing all inputs):
|
||||
{
|
||||
inputs = {
|
||||
flakelight.url = "github:nix-community/flakelight";
|
||||
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
};
|
||||
outputs = { flakelight, ... }@inputs:
|
||||
flakelight ./. {
|
||||
@ -120,7 +120,7 @@ Or to just pass just the nixpkgs input:
|
||||
```nix
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
flakelight.url = "github:nix-community/flakelight";
|
||||
};
|
||||
outputs = { flakelight, nixpkgs, ... }:
|
||||
@ -803,7 +803,7 @@ For example:
|
||||
{
|
||||
inputs = {
|
||||
flakelight.url = "github:nix-community/flakelight";
|
||||
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
};
|
||||
outputs = { flakelight, nixpkgs, ... }:
|
||||
flakelight ./. {
|
||||
|
@ -70,7 +70,7 @@ To use a different nixpkgs, you can instead use:
|
||||
```nix
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
flakelight.url = "github:nix-community/flakelight";
|
||||
};
|
||||
outputs = { flakelight, ... }@inputs:
|
||||
|
@ -10,9 +10,10 @@
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"type": "indirect"
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
|
@ -5,7 +5,7 @@
|
||||
{
|
||||
description =
|
||||
"A modular Nix flake framework for simplifying flake definitions";
|
||||
inputs.nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
outputs = inputs:
|
||||
let lib = import ./. inputs; in
|
||||
lib.mkFlake ./. {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flakelight.url = "github:nix-community/flakelight";
|
||||
};
|
||||
outputs = { flakelight, ... }@inputs:
|
||||
|
Loading…
Reference in New Issue
Block a user