mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
Use $XDG_RUNTIME_DIR for temporary files
This commit is contained in:
parent
fde819f2e2
commit
3bea429ae8
8 changed files with 16 additions and 23 deletions
|
@ -1,13 +1,9 @@
|
|||
#! @perl@ -w @perlFlags@
|
||||
|
||||
use strict;
|
||||
use File::Temp qw(tempdir);
|
||||
use Nix::Config;
|
||||
use Nix::Manifest;
|
||||
|
||||
my $tmpDir = tempdir("nix-pull.XXXXXX", CLEANUP => 1, TMPDIR => 1)
|
||||
or die "cannot create a temporary directory";
|
||||
|
||||
my $manifestDir = $Nix::Config::manifestDir;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue