1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-10-26 04:42:43 +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 { mobile-nixos.mkLVGUIApp {
name = "boot-recovery-menu.mrb"; name = "boot-recovery-menu.mrb";

View File

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

View File

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

View File

@ -10,9 +10,6 @@
(self: super: { (self: super: {
google-trogdor-alsa-ucm = self.callPackage ( google-trogdor-alsa-ucm = self.callPackage (
{ runCommand, fetchgit }: { runCommand, fetchgit }:
let
rev = "fac4d7e17871a8e7ec1c39f58257389e9bf62f06";
in
runCommand "google-trogdor-alsa-ucm" { runCommand "google-trogdor-alsa-ucm" {
src = fetchgit { src = fetchgit {
url = "https://chromium.googlesource.com/chromiumos/overlays/board-overlays"; 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"; version = "6.4.0";
configfile = ./config.aarch64; configfile = ./config.aarch64;

View File

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

View File

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

View File

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

View File

@ -26,7 +26,7 @@ stdenv.mkDerivation {
''; '';
meta = with lib; { 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"; description = "Standalone fork of Android make_ext4fs utility";
license = licenses.asl20; license = licenses.asl20;
platforms = platforms.linux; platforms = platforms.linux;

View File

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

View File

@ -31,7 +31,7 @@ stdenv.mkDerivation {
meta = with lib; { meta = with lib; {
# up-upstream: https://android.googlesource.com/platform/system/libufdt/ # 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"; description = "Standalone fork of platform/system/libufdt";
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.samueldr ]; maintainers = [ maintainers.samueldr ];