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:
Vincent Ambo 2019-08-13 00:35:42 +01:00 committed by Vincent Ambo
parent 1ffb5b2895
commit 1491f51a8d
5 changed files with 21 additions and 27 deletions

View File

@ -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";
}; };
} }]
]

View File

@ -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;

View File

@ -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
];
} }