Last active
February 20, 2024 15:46
-
-
Save NULLx76/7801ce2f988488051d305dae496d8364 to your computer and use it in GitHub Desktop.
Flake Devshell FUP Template
This file contains hidden or 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
{ | |
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
inputs.fup.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.4.0"; | |
outputs = inputs@{ self, nixpkgs, fup }: | |
let pkgs = self.pkgs.x86_64-linux.nixpkgs; | |
in fup.lib.mkFlake { | |
inherit self inputs; | |
channelsConfig = { allowUnfree = true; }; | |
outputsBuilder = channels: { | |
devShells.default = channels.nixpkgs.mkShell { | |
packages = with channels.nixpkgs; | |
[ | |
# List packages here | |
]; | |
}; | |
}; | |
}; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment