Fix local building for remote hosts
This commit is contained in:
parent
d6bdc90cc3
commit
f7afb02ad2
2 changed files with 98 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
{ pkgs, inputs }: pkgs.devshell.mkShell {
|
||||
name = "NixOS config";
|
||||
packages = [
|
||||
# Use nixos-rebuild from flake, since it might be patched
|
||||
pkgs.nixos-rebuild
|
||||
pkgs.nixpkgs-fmt
|
||||
(pkgs.writeShellScriptBin "fetchpatch" "curl -L https://github.com/NixOS/nixpkgs/pull/$1.patch -o patches/$1.patch")
|
||||
inputs.agenix.defaultPackage.x86_64-linux
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue