mirror of
https://code.tvl.fyi/depot.git:/tools/nixery.git
synced 2025-03-15 14:11:51 +00:00
style: Apply nixfmt to trivial Nix files
ALl the ones except for build-image.nix are considered trivial. On the latter, nixfmt makes some useful changes but by-and-large it is not ready for that code yet.
This commit is contained in:
parent
1ffb5b2895
commit
1491f51a8d
|
@ -1,6 +1,5 @@
|
||||||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||||
[
|
[{
|
||||||
{
|
|
||||||
goPackagePath = "gonum.org/v1/gonum";
|
goPackagePath = "gonum.org/v1/gonum";
|
||||||
fetch = {
|
fetch = {
|
||||||
type = "git";
|
type = "git";
|
||||||
|
@ -8,5 +7,4 @@
|
||||||
rev = "ced62fe5104b907b6c16cb7e575c17b2e62ceddd";
|
rev = "ced62fe5104b907b6c16cb7e575c17b2e62ceddd";
|
||||||
sha256 = "1b7q6haabnp53igpmvr6a2414yralhbrldixx4kbxxg1apy8jdjg";
|
sha256 = "1b7q6haabnp53igpmvr6a2414yralhbrldixx4kbxxg1apy8jdjg";
|
||||||
};
|
};
|
||||||
}
|
}]
|
||||||
]
|
|
||||||
|
|
|
@ -11,8 +11,7 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
{ pkgs ? import <nixpkgs> {}
|
{ pkgs ? import <nixpkgs> { }, preLaunch ? "" }:
|
||||||
, preLaunch ? "" }:
|
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,5 @@ let nixery = import ./default.nix { inherit pkgs; };
|
||||||
in pkgs.stdenv.mkDerivation {
|
in pkgs.stdenv.mkDerivation {
|
||||||
name = "nixery-dev-shell";
|
name = "nixery-dev-shell";
|
||||||
|
|
||||||
buildInputs = with pkgs;[
|
buildInputs = with pkgs; [ jq nixery.nixery-build-image ];
|
||||||
jq
|
|
||||||
nixery.nixery-build-image
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user