Skip to content

Commit

Permalink
pkgs/nix-directory: update nix to 2.18.1
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Happ <[email protected]>
  • Loading branch information
t184256 and Gerschtli committed Mar 3, 2024
1 parent a0c57c1 commit dbdbea5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions pkgs/bootstrap.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

{ runCommand, nixDirectory, prootTermux, bash, pkgs, config, initialPackageInfo }:

runCommand "bootstrap" { } ''
mkdir --parents $out/{.l2s,bin,dev/shm,etc,nix,root,tmp,usr/{bin,lib}}
mkdir --parents $out/{.l2s,bin,dev/shm,etc,root,tmp,usr/{bin,lib}}
mkdir --parents $out/nix/var/nix/{profiles,gcroots}/per-user/nix-on-droid
cp --recursive ${nixDirectory}/store $out/nix/store
cp --recursive ${nixDirectory}/var $out/nix/var
Expand Down
6 changes: 3 additions & 3 deletions pkgs/nix-directory.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2024, see AUTHORS. Licensed under MIT License, see LICENSE.

{ config, lib, stdenv, closureInfo, prootTermux, proot, pkgsStatic }:

Expand All @@ -24,8 +24,8 @@ stdenv.mkDerivation {
name = "nix-directory";

src = builtins.fetchurl {
url = "https://nixos.org/releases/nix/nix-2.16.1/nix-2.16.1-${config.build.arch}-linux.tar.xz";
sha256 = "1v7k1cajyxgaq3adrzykaf0a32n5pyrd7njy0rns1fma85y8n944";
url = "https://nixos.org/releases/nix/nix-2.18.1/nix-2.18.1-${config.build.arch}-linux.tar.xz";
sha256 = "sha256:1m80azhagx30lpsx8lfs18q2swg8m73n2jck37cjflfwny7ghrc4";
};

PROOT_NO_SECCOMP = 1; # see https://github.com/proot-me/PRoot/issues/106
Expand Down

0 comments on commit dbdbea5

Please sign in to comment.