Replace `./../*` with `../*` in Nix expressions (#16414)

+2 -2
doc/default.nix
···
outputFile = "./languages-frameworks/haskell.xml";
}
+ toDocbook {
-
inputFile = ./../pkgs/development/idris-modules/README.md;
+
inputFile = ../pkgs/development/idris-modules/README.md;
outputFile = "languages-frameworks/idris.xml";
}
+ toDocbook {
-
inputFile = ./../pkgs/development/r-modules/README.md;
+
inputFile = ../pkgs/development/r-modules/README.md;
outputFile = "languages-frameworks/r.xml";
}
+ ''
+1 -1
lib/tests/release.nix
···
{ nixpkgs }:
-
with import ./../.. { };
+
with import ../.. { };
with lib;
stdenv.mkDerivation {
+2 -2
pkgs/top-level/all-packages.nix
···
overridePackages = f: pkgsWithOverrides f;
# Override system. This is useful to build i686 packages on x86_64-linux.
-
forceSystem = system: kernel: (import ./../..) {
+
forceSystem = system: kernel: (import ../..) {
inherit system;
platform = platform // { kernelArch = kernel; };
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config
···
# load into the Ben Nanonote
gccCross =
let
-
pkgsCross = (import ./../..) {
+
pkgsCross = (import ../..) {
inherit system;
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config;
# Ben Nanonote system
+1 -1
pkgs/top-level/guile-2-test.nix
···
-- ludo@gnu.org */
let
-
allPackages = import ./../..;
+
allPackages = import ../..;
pkgsFun = { system ? builtins.currentSystem }:
allPackages {
+1 -1
pkgs/top-level/release-lib.nix
···
{ supportedSystems
-
, packageSet ? (import ./../..)
+
, packageSet ? (import ../..)
, allowTexliveBuilds ? false
, scrubJobs ? true
}:
+1 -1
pkgs/top-level/release-python.nix
···
$ hydra-eval-jobs pkgs/top-level/release-python.nix
*/
-
{ nixpkgs ? { outPath = (import ./../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
+
{ nixpkgs ? { outPath = (import ../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
, officialRelease ? false
, # The platforms for which we build Nixpkgs.
supportedSystems ? [ "x86_64-linux" ]
+1 -1
pkgs/top-level/release-small.nix
···
/* A small release file, with few packages to be built. The aim is to reduce
the load on Hydra when testing the `stdenv-updates' branch. */
-
{ nixpkgs ? { outPath = (import ./../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
+
{ nixpkgs ? { outPath = (import ../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
, supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]
}:
+1 -1
pkgs/top-level/release.nix
···
$ nix-build pkgs/top-level/release.nix -A coreutils.x86_64-linux
*/
-
{ nixpkgs ? { outPath = (import ./../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
+
{ nixpkgs ? { outPath = (import ../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
, officialRelease ? false
, # The platforms for which we build Nixpkgs.
supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]
+2 -2
pkgs/top-level/stdenv.nix
···
rec {
allStdenvs = import ../stdenv {
inherit system platform config lib;
-
allPackages = args: import ./../.. ({ inherit config system; } // args);
+
allPackages = args: import ../.. ({ inherit config system; } // args);
};
defaultStdenv = allStdenvs.stdenv // { inherit platform; };
···
in if changer != null then
changer {
# We import again all-packages to avoid recursivities.
-
pkgs = import ./../.. {
+
pkgs = import ../.. {
# We remove packageOverrides to avoid recursivities
config = removeAttrs config [ "replaceStdenv" ];
};