chore(nix): apply formatting with nixpkgs-fmt

This commit is contained in:
Erica Marigold 2025-02-09 17:16:31 +00:00
parent 7a400f18d6
commit c514fc7b22
Signed by: DevComp
SSH key fingerprint: SHA256:jD3oMT4WL3WHPJQbrjC3l5feNCnkv7ndW8nYaHX5wFw
2 changed files with 25 additions and 22 deletions

View file

@ -5,7 +5,8 @@ pkgs.mkShell {
pkgs.curl pkgs.curl
pkgs.git pkgs.git
pkgs.lune pkgs.lune
(let version = "6.0-28"; in pkgs.stdenv.mkDerivation { (
let version = "6.0-28"; in pkgs.stdenv.mkDerivation {
name = "unzip-${version}"; name = "unzip-${version}";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "http://ftp.debian.org/debian/pool/main/u/unzip/unzip_${version}_amd64.deb"; url = "http://ftp.debian.org/debian/pool/main/u/unzip/unzip_${version}_amd64.deb";
@ -27,7 +28,8 @@ pkgs.mkShell {
cp $(pkg-config --variable=libdir bzip2)/libbz2.so.1.0.8 $out/lib/libbz2.so.1.0 cp $(pkg-config --variable=libdir bzip2)/libbz2.so.1.0.8 $out/lib/libbz2.so.1.0
rm -rf $out/usr tmp/ rm -rf $out/usr tmp/
''; '';
}) }
)
]; ];
shellHook = '' shellHook = ''

View file

@ -11,7 +11,8 @@
devpkgs = import ./dev.nix { devpkgs = import ./dev.nix {
inherit pkgs; inherit pkgs;
}; };
in { in
{
packages.${system}.devShell = devpkgs; packages.${system}.devShell = devpkgs;
defaultPackage.${system} = devpkgs; defaultPackage.${system} = devpkgs;
}; };