···36 WorkingDir = "/data";
37 Volumes = { "/data" = { }; };
38 };
00039}
40```
41···58> **_NOTE:_** Using this parameter requires the `kvm` device to be available.
5960- `config` is used to specify the configuration of the containers that will be started off the built image in Docker. The available options are listed in the [Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions).
00006162After the new layer has been created, its closure (to which `contents`, `config` and `runAsRoot` contribute) will be copied in the layer itself. Only new dependencies that are not already in the existing layers will be copied.
63
···36 WorkingDir = "/data";
37 Volumes = { "/data" = { }; };
38 };
39+40+ diskSize = 1024;
41+ buildVMMemorySize = 512;
42}
43```
44···61> **_NOTE:_** Using this parameter requires the `kvm` device to be available.
6263- `config` is used to specify the configuration of the containers that will be started off the built image in Docker. The available options are listed in the [Docker Image Specification v1.2.0](https://github.com/moby/moby/blob/master/image/spec/v1.2.md#image-json-field-descriptions).
64+65+- `diskSize` is used to specify the disk size of the VM used to build the image in megabytes. By default it's 1024 MiB.
66+67+- `buildVMMemorySize` is used to specify the memory size of the VM to build the image in megabytes. By default it's 512 MiB.
6869After the new layer has been created, its closure (to which `contents`, `config` and `runAsRoot` contribute) will be copied in the layer itself. Only new dependencies that are not already in the existing layers will be copied.
70
···1617 strictDeps = true;
1819- patches =
20- # This patch fixes a MIPS-specific bug in patchelf; we want Hydra
21- # to generate a bootstrap-files tarball for MIPS that includes
22- # this fix. The patches below can be dropped on the next version bump.
23- lib.optionals stdenv.targetPlatform.isMips [
24- # https://github.com/NixOS/patchelf/pull/380
25- ./patches/380.patch
26- ];
27-28 setupHook = [ ./setup-hook.sh ];
2930 enableParallelBuilding = true;
···18 # this allows us to include the bits of rails we use without pieces we do not.
19 #
20 # To issue a rails update bump the version number here
21- rails_version = '6.1.4.7'
22 gem 'actionmailer', rails_version
23 gem 'actionpack', rails_version
24 gem 'actionview', rails_version
···3132gem 'json'
3334-gem 'sprockets'
003536# this will eventually be added to rails,
37# allows us to precompile all our templates in the unicorn master
···3940gem 'seed-fu'
4142-gem 'mail', git: 'https://github.com/discourse/mail.git', require: false
43gem 'mini_mime'
44gem 'mini_suffix'
45···66gem 'discourse-ember-rails', '0.18.6', require: 'ember-rails'
67gem 'discourse-ember-source', '~> 3.12.2'
68gem 'ember-handlebars-template', '0.8.0'
69-gem 'discourse-fonts'
7071gem 'barber'
72···103104gem 'omniauth-google-oauth2'
105106-gem 'oj'
0107108gem 'pg'
109gem 'mini_sql'
···143# Allow everywhere for now cause we are allowing asset debugging in production
144group :assets do
145 gem 'uglifier'
146- gem 'rtlit', require: false # for css rtling
147end
148149group :test do
···168 gem 'shoulda-matchers', require: false
169 gem 'rspec-html-matchers'
170 gem 'byebug', require: ENV['RM_INFO'].nil?, platform: :mri
171- gem "rubocop-discourse", require: false
172 gem 'parallel_tests'
173174 gem 'rswag-specs'
···188 gem 'discourse_dev_assets'
189 gem 'faker', "~> 2.16"
190else
191- group :development do
192 gem 'discourse_dev_assets'
193 gem 'faker', "~> 2.16"
194 end
···266gem 'maxminddb'
267268gem 'rails_failover', require: false
0000
···18 # this allows us to include the bits of rails we use without pieces we do not.
19 #
20 # To issue a rails update bump the version number here
21+ rails_version = '7.0.3.1'
22 gem 'actionmailer', rails_version
23 gem 'actionpack', rails_version
24 gem 'actionview', rails_version
···3132gem 'json'
3334+# TODO: At the moment Discourse does not work with Sprockets 4, we would need to correct internals
35+# This is a desired upgrade we should get to.
36+gem 'sprockets', '3.7.2'
3738# this will eventually be added to rails,
39# allows us to precompile all our templates in the unicorn master
···4142gem 'seed-fu'
4344+gem 'mail', git: 'https://github.com/discourse/mail.git'
45gem 'mini_mime'
46gem 'mini_suffix'
47···68gem 'discourse-ember-rails', '0.18.6', require: 'ember-rails'
69gem 'discourse-ember-source', '~> 3.12.2'
70gem 'ember-handlebars-template', '0.8.0'
71+gem 'discourse-fonts', require: 'discourse_fonts'
7273gem 'barber'
74···105106gem 'omniauth-google-oauth2'
107108+# pending: https://github.com/ohler55/oj/issues/789
109+gem 'oj', '3.13.14'
110111gem 'pg'
112gem 'mini_sql'
···146# Allow everywhere for now cause we are allowing asset debugging in production
147group :assets do
148 gem 'uglifier'
0149end
150151group :test do
···170 gem 'shoulda-matchers', require: false
171 gem 'rspec-html-matchers'
172 gem 'byebug', require: ENV['RM_INFO'].nil?, platform: :mri
173+ gem 'rubocop-discourse', require: false, github: 'discourse/rubocop-discourse'
174 gem 'parallel_tests'
175176 gem 'rswag-specs'
···190 gem 'discourse_dev_assets'
191 gem 'faker', "~> 2.16"
192else
193+ group :development, :test do
194 gem 'discourse_dev_assets'
195 gem 'faker', "~> 2.16"
196 end
···268gem 'maxminddb'
269270gem 'rails_failover', require: false
271+272+# workaround for faraday-net_http, see
273+# https://github.com/ruby/net-imap/issues/16#issuecomment-803086765
274+gem 'net-http'
···407 gemfile_text = ''
408 for line in repo.get_file('plugin.rb', rev).splitlines():
409 if 'gem ' in line:
0410 gemfile_text = gemfile_text + line + os.linesep
411412 version_file_match = version_file_regex.match(line)
···407 gemfile_text = ''
408 for line in repo.get_file('plugin.rb', rev).splitlines():
409 if 'gem ' in line:
410+ line = ','.join(filter(lambda x: ":require_name" not in x, line.split(',')))
411 gemfile_text = gemfile_text + line + os.linesep
412413 version_file_match = version_file_regex.match(line)
+5
pkgs/tools/networking/phodav/default.nix
···4445 outputs = [ "out" "dev" "lib" ];
460000047 meta = with lib; {
48 description = "WebDav server implementation and library using libsoup";
49 homepage = "https://wiki.gnome.org/phodav";
···4445 outputs = [ "out" "dev" "lib" ];
4647+ # We need to do this in pre-configure before the data/ folder disappears.
48+ preConfigure = ''
49+ install -vDt $out/lib/udev/rules.d/ data/*-spice-webdavd.rules
50+ '';
51+52 meta = with lib; {
53 description = "WebDav server implementation and library using libsoup";
54 homepage = "https://wiki.gnome.org/phodav";