mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
packaging: Pass version directly
This commit is contained in:
parent
efd5f50f5e
commit
0729f0a113
22 changed files with 25 additions and 60 deletions
|
@ -40,6 +40,7 @@ let
|
||||||
in
|
in
|
||||||
scope: {
|
scope: {
|
||||||
inherit stdenv versionSuffix;
|
inherit stdenv versionSuffix;
|
||||||
|
version = lib.fileContents ../.version + versionSuffix;
|
||||||
|
|
||||||
libseccomp = pkgs.libseccomp.overrideAttrs (_: rec {
|
libseccomp = pkgs.libseccomp.overrideAttrs (_: rec {
|
||||||
version = "2.5.5";
|
version = "2.5.5";
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -16,7 +16,7 @@ in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
pname = "nix-external-api-docs";
|
pname = "nix-external-api-docs";
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
inherit version;
|
||||||
|
|
||||||
workDir = ./.;
|
workDir = ./.;
|
||||||
fileset =
|
fileset =
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -16,7 +16,7 @@ in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
pname = "nix-internal-api-docs";
|
pname = "nix-internal-api-docs";
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
inherit version;
|
||||||
|
|
||||||
workDir = ./.;
|
workDir = ./.;
|
||||||
fileset = let
|
fileset = let
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
|
|
||||||
# Whether to enable Markdown rendering in the Nix binary.
|
# Whether to enable Markdown rendering in the Nix binary.
|
||||||
, enableMarkdown ? !stdenv.hostPlatform.isWindows
|
, enableMarkdown ? !stdenv.hostPlatform.isWindows
|
||||||
|
@ -36,8 +36,6 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -11,13 +11,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
|
|
||||||
# Whether to use garbage collection for the Nix language evaluator.
|
# Whether to use garbage collection for the Nix language evaluator.
|
||||||
#
|
#
|
||||||
|
@ -36,8 +36,6 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -15,13 +15,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -17,13 +17,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -14,13 +14,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -12,13 +12,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -20,15 +20,13 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
|
|
||||||
, embeddedSandboxShell ? stdenv.hostPlatform.isStatic
|
, embeddedSandboxShell ? stdenv.hostPlatform.isStatic
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -11,13 +11,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -17,13 +17,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, nix-store
|
, nix-store
|
||||||
, darwin
|
, darwin
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
, curl
|
, curl
|
||||||
, bzip2
|
, bzip2
|
||||||
, libsodium
|
, libsodium
|
||||||
|
@ -20,7 +20,7 @@ in
|
||||||
|
|
||||||
perl.pkgs.toPerlModule (mkMesonDerivation (finalAttrs: {
|
perl.pkgs.toPerlModule (mkMesonDerivation (finalAttrs: {
|
||||||
pname = "nix-perl";
|
pname = "nix-perl";
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
inherit version;
|
||||||
|
|
||||||
workDir = ./.;
|
workDir = ./.;
|
||||||
fileset = fileset.unions ([
|
fileset = fileset.unions ([
|
||||||
|
|
|
@ -14,13 +14,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -17,13 +17,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -16,13 +16,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -16,13 +16,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -14,13 +14,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -18,13 +18,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -13,13 +13,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
|
@ -17,13 +17,11 @@
|
||||||
|
|
||||||
# Configuration Options
|
# Configuration Options
|
||||||
|
|
||||||
, versionSuffix ? ""
|
, version
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) fileset;
|
inherit (lib) fileset;
|
||||||
|
|
||||||
version = lib.fileContents ./.version + versionSuffix;
|
|
||||||
in
|
in
|
||||||
|
|
||||||
mkMesonDerivation (finalAttrs: {
|
mkMesonDerivation (finalAttrs: {
|
||||||
|
|
Loading…
Reference in a new issue