Compare commits

...

2 commits

Author SHA1 Message Date
4d69142a90
Downgrade to ncdu 1.x temporarily 2023-08-17 14:55:40 -05:00
e632e57a07
swiftformat: 0.52.0 -> 0.52.1 2023-08-17 14:55:31 -05:00
3 changed files with 12 additions and 14 deletions

12
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1691882297,
"narHash": "sha256-e1/LAQSGLnBywfA1TfMl0Vj3tvYka73XOZ/D2/CJowE=",
"lastModified": 1692260837,
"narHash": "sha256-2FpkX1zl+7ni7djK7NeE1ZGupRUwZgjW+RPCSBgDf4k=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c3ab5ea047e6dc73df530948f7367455749d8906",
"rev": "6a94c1a59737783c282c4031555a289c28b961e4",
"type": "github"
},
"original": {
@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1691654369,
"narHash": "sha256-gSILTEx1jRaJjwZxRlnu3ZwMn1FVNk80qlwiCX8kmpo=",
"lastModified": 1692174805,
"narHash": "sha256-xmNPFDi/AUMIxwgOH/IVom55Dks34u1g7sFKKebxUm0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e",
"rev": "caac0eb6bdcad0b32cb2522e03e4002c8975c62e",
"type": "github"
},
"original": {

View file

@ -24,7 +24,10 @@
monaco-powerline
mtools
mtr
ncdu
# TODO: Zig currently has issues under Darwin, so
# we'll temporarily prefer ncdu 1.x.
# See also: https://github.com/NixOS/nixpkgs/pull/249722
ncdu_1
neofetch
nixopsUnstable
p7zip

View file

@ -1,19 +1,14 @@
{ stdenv, lib, fetchFromGitHub, swift, swiftpm, swiftPackages }:
# This derivation is impure: it relies on an Xcode toolchain being installed
# and available in the expected place. The values of sandboxProfile and
# hydraPlatforms are copied pretty directly from the MacVim derivation, which
# is also impure.
stdenv.mkDerivation rec {
pname = "swiftformat";
version = "0.52.0";
version = "0.52.1";
src = fetchFromGitHub {
owner = "nicklockwood";
repo = "SwiftFormat";
rev = version;
sha256 = "sha256-Y8ZbmFdrNCzfGLeA+nPc0DHXBHaUw6JFpONbm+LnTjk=";
sha256 = "sha256-0JSspbYIYXfE3oDMi2EfR7pZzQsEtbvB8LJplOtq2sk=";
};
nativeBuildInputs = [ swift swiftpm ];