forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For those who wish to get rid of nix-channel.
- Loading branch information
Showing
3 changed files
with
145 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This file gets copied into the installation | ||
|
||
{ | ||
# To keep things simple, we'll use an absolute path dependency here. | ||
inputs.nixpkgs.url = "@nixpkgs@"; | ||
|
||
outputs = { nixpkgs, ... }: { | ||
|
||
nixosConfigurations.xyz = nixpkgs.lib.nixosSystem { | ||
modules = [ | ||
./configuration.nix | ||
( nixpkgs + "/nixos/modules/testing/test-instrumentation.nix" ) | ||
{ | ||
# We don't need nix-channel anymore | ||
nix.channel.enable = false; | ||
} | ||
]; | ||
}; | ||
}; | ||
} |