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

Explicitly pass default nixpkgs to mkFlake #174

Open
avnik opened this issue Jun 25, 2023 · 0 comments
Open

Explicitly pass default nixpkgs to mkFlake #174

avnik opened this issue Jun 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@avnik
Copy link

avnik commented Jun 25, 2023

Currently, mkFlake use input named nixpkgs as default source for pkgs. Would be nice to set this explicitly,

Example of desired code:

{
  inputs.nixpkgs = "github:nixos/nixpkgs/some-old-branch";
  inputs.nixpkgs-stable = "github:nixos/nixpkgs/nixos-23.05";
  inputs.flake-parts = "github:hercules-ci/flake-parts";
  outputs = inputs@{ flake-parts, nixpkgs-stable, ...}: flake-parts.lib.mkFlake { inherit inputs; nixpkgs = nixpkgs-stable; } { ...}
}
@roberth roberth added the enhancement New feature or request label Jan 29, 2024
shymega pushed a commit to shymega/flake-parts that referenced this issue Aug 18, 2024
* nimpretty: Added nimpretty

* chore: executed ./example.sh
shymega pushed a commit to shymega/flake-parts that referenced this issue Aug 18, 2024
…ons/cachix/cachix-action-11

chore(deps): bump cachix/cachix-action from 10 to 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants