[Nix-dev] fetchgit
Sébastien Petitdemange
sebastien.petitdemange at esrf.fr
Fri Mar 10 09:52:32 CET 2017
Hi Profpatsch,
Here is the tree of my private package:
./local/bcupkgs/
├── default.nix
└── pkgs
├── build-support
│ └── fetchgit
│ ├── builder.sh
│ ├── default.nix
│ └── nix-prefetch-git
└── development
└── libraries
└── lima-core
├── 0001-removed-Python-modules-from-install.inc.patch
├── config.patch
└── default.nix
I've attached all the nix script I've wrote so fare.
Thanks for your help,
SEB
On 03/09/2017 06:02 PM, Profpatsch wrote:
> I cannot tell you anything without a patch or at least
> a code sample.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fetchgit.patch
Type: text/x-patch
Size: 3598 bytes
Desc: not available
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170310/79ba29d2/attachment-0002.bin>
-------------- next part --------------
{ system ? builtins.currentSystem}:
let
pkgs = import <nixpkgs> { inherit system; };
callPackage = pkgs.lib.callPackageWith (pkgs // bcuPackages);
callPackages = pkgs.lib.callPackagesWith (pkgs // bcuPackages);
python27Packages = pkgs.recurseIntoAttrs (
callPackage ./python_packages.nix {
python = pkgs.python27;
self = combinedPythonPackages;
});
pythonPackages = python27Packages;
combinedPythonPackages = pkgs.python27Packages // python27Packages // bcuPackages;
bcuPackages = {
tango = callPackage ./pkgs/development/libraries/tango {};
pytango = pythonPackages.pytango;
inherit (callPackages ./pkgs/tools/package-management/nix-prefetch-scripts { })
nix-prefetch-git
nix-prefetch-scripts;
lima-core = callPackage ./pkgs/development/libraries/lima-core {};
};
in bcuPackages
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lima-core.patch
Type: text/x-patch
Size: 6753 bytes
Desc: not available
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170310/79ba29d2/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sebastien_petitdemange.vcf
Type: text/x-vcard
Size: 210 bytes
Desc: not available
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170310/79ba29d2/attachment-0001.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170310/79ba29d2/attachment-0001.sig>
More information about the nix-dev
mailing list