mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 08:41:42 -05:00
Create a minimal shell derivation for the check-fmt script
This commit is contained in:
parent
22d8700153
commit
87c1561b47
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell ./shell.nix -i bash
|
||||
#!nix-shell ./check-fmt.nix -i bash
|
||||
#
|
||||
# Just because the nixpkgs-fmt error message is not super readable. Used by
|
||||
# CI.
|
||||
|
|
7
check-fmt.nix
Normal file
7
check-fmt.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
let
|
||||
sources = import ./nix/sources.nix;
|
||||
pkgs = import sources.nixpkgs { };
|
||||
in
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = [ pkgs.nixpkgs-fmt ];
|
||||
}
|
Loading…
Add table
Reference in a new issue