mirror of
https://github.com/0x5eal/luau-unzip.git
synced 2025-04-03 22:20:55 +01:00
chore(nix): apply formatting with nixpkgs-fmt
This commit is contained in:
parent
7a400f18d6
commit
c514fc7b22
2 changed files with 25 additions and 22 deletions
8
dev.nix
8
dev.nix
|
@ -1,11 +1,12 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
|
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
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 = ''
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue