1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-08-15 15:00:28 +03:00

remove deprecated URL literals and unused args

- get rid of deprecated URL literals (see RFC 45)
- remove unused derivation args
- remove one instance of unused rec, and two unused variable in let's
This commit is contained in:
chayleaf 2023-10-17 19:11:41 +07:00
parent 7cee346c3f
commit b3ec466c5a
11 changed files with 6 additions and 14 deletions

View File

@ -1,4 +1,4 @@
{ lib, runCommand, mobile-nixos }:
{ lib, mobile-nixos }:
mobile-nixos.mkLVGUIApp {
name = "boot-recovery-menu.mrb";

View File

@ -1,7 +1,5 @@
{ mrbgems
, callPackage
, fetchFromGitHub
, pkg-config
, buildPackages
# Configuration

View File

@ -10,7 +10,7 @@
}:
let
inherit (lib) optional optionals optionalString;
inherit (lib) optional optionals;
simulatorDeps = [
SDL2
];

View File

@ -10,9 +10,6 @@
(self: super: {
google-trogdor-alsa-ucm = self.callPackage (
{ runCommand, fetchgit }:
let
rev = "fac4d7e17871a8e7ec1c39f58257389e9bf62f06";
in
runCommand "google-trogdor-alsa-ucm" {
src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/overlays/board-overlays";

View File

@ -4,7 +4,7 @@
, ...
}:
mobile-nixos.kernel-builder rec {
mobile-nixos.kernel-builder {
version = "6.4.0";
configfile = ./config.aarch64;

View File

@ -1,6 +1,5 @@
{ lib
, runCommand
, fetchFromGitHub
, fetchurl
, modem ? builtins.throw ''

View File

@ -1,5 +1,4 @@
{ mobile-nixos
, stdenv
, fetchFromGitHub
, ...
}:

View File

@ -1,6 +1,5 @@
{
mobile-nixos
, fetchpatch
, fetchFromGitLab
, ...
}:

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation {
'';
meta = with lib; {
homepage = https://git.openwrt.org/?p=project/make_ext4fs.git;
homepage = "https://git.openwrt.org/?p=project/make_ext4fs.git";
description = "Standalone fork of Android make_ext4fs utility";
license = licenses.asl20;
platforms = platforms.linux;

View File

@ -233,7 +233,7 @@ let
meta = with lib; {
description = "An embeddable implementation of the Ruby language";
homepage = https://mruby.org;
homepage = "https://mruby.org";
maintainers = [ maintainers.samueldr ];
license = licenses.mit;
platforms = platforms.unix;

View File

@ -31,7 +31,7 @@ stdenv.mkDerivation {
meta = with lib; {
# up-upstream: https://android.googlesource.com/platform/system/libufdt/
homepage = https://github.com/hybris-mobian/android-platform-system-libufdt;
homepage = "https://github.com/hybris-mobian/android-platform-system-libufdt";
description = "Standalone fork of platform/system/libufdt";
platforms = platforms.linux;
maintainers = [ maintainers.samueldr ];