summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-10-03 16:56:51 +0300
committerArtturin <Artturin@artturin.com>2022-10-10 15:30:59 +0300
commitf4ea1208ec732d423a784bbb2b882f997b6af902 (patch)
treecadc358926dfd142fb2c1ebf0dce6317b48474dc /pkgs/development/tools/ocaml
parent8d32772702a4ebdf15c77e2e927787ae360a6bf6 (diff)
downloadnixpkgs-f4ea1208ec732d423a784bbb2b882f997b6af902.tar
nixpkgs-f4ea1208ec732d423a784bbb2b882f997b6af902.tar.gz
nixpkgs-f4ea1208ec732d423a784bbb2b882f997b6af902.tar.bz2
nixpkgs-f4ea1208ec732d423a784bbb2b882f997b6af902.tar.lz
nixpkgs-f4ea1208ec732d423a784bbb2b882f997b6af902.tar.xz
nixpkgs-f4ea1208ec732d423a784bbb2b882f997b6af902.tar.zst
nixpkgs-f4ea1208ec732d423a784bbb2b882f997b6af902.zip
treewide: *Flags convert to list from str
*Flags implies a list

slightly relevant:
> stdenv: start deprecating non-list configureFlags https://github.com/NixOS/nixpkgs/pull/173172

the makeInstalledTests function in `nixos/tests/installed-tests/default.nix` isn't available outside of nixpkgs so
it's not a breaking change
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/dune/2.nix2
-rw-r--r--pkgs/development/tools/ocaml/dune/3.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/ocaml/dune/2.nix b/pkgs/development/tools/ocaml/dune/2.nix
index 30962eeba31..65f8c7eda3c 100644
--- a/pkgs/development/tools/ocaml/dune/2.nix
+++ b/pkgs/development/tools/ocaml/dune/2.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ ocaml findlib ];
   strictDeps = true;
 
-  buildFlags = "release";
+  buildFlags = [ "release" ];
 
   dontAddPrefix = true;
   dontAddStaticConfigureFlags = true;
diff --git a/pkgs/development/tools/ocaml/dune/3.nix b/pkgs/development/tools/ocaml/dune/3.nix
index 2917a4905bd..01145e0237c 100644
--- a/pkgs/development/tools/ocaml/dune/3.nix
+++ b/pkgs/development/tools/ocaml/dune/3.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
 
   strictDeps = true;
 
-  buildFlags = "release";
+  buildFlags = [ "release" ];
 
   dontAddPrefix = true;
   dontAddStaticConfigureFlags = true;