diff options
author | Matthew Bauer <matthew.bauer@obsidian.systems> | 2018-07-16 11:08:30 -0400 |
---|---|---|
committer | Matthew Bauer <matthew.bauer@obsidian.systems> | 2018-07-18 18:49:43 -0400 |
commit | aae2171aeaf2c3d92c674bb42aa49de216f922e5 (patch) | |
tree | c0bf28cd5f3e21858d39e945daea808646e7cea6 /pkgs/top-level | |
parent | 23b2b490a1d295b8ae5d464731a3bef8408ac47e (diff) |
aliases: add forceSystem
Some uses of this still exist outside of Nixpkgs
Diffstat (limited to 'pkgs/top-level')
-rw-r--r-- | pkgs/top-level/aliases.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index b653dfc7db69e..85fb2e4639a87 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -319,6 +319,11 @@ mapAliases ({ libva-full = libva; libva1-full = libva1; + # forceSystem should not be used directly in Nixpkgs. + # added 2018-07-16 + forceSystem = system: _: + (import self.path { localSystem = { inherit system; }; }); + inherit (ocaml-ng) # added 2016-09-14 ocamlPackages_3_10_0 ocamlPackages_3_11_2 ocamlPackages_3_12_1 ocamlPackages_4_00_1 ocamlPackages_4_01_0 ocamlPackages_4_02 |