Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nixpkgs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Rasmusson
nixpkgs
Commits
5c9232e0
Commit
5c9232e0
authored
21 years ago
by
Eelco Dolstra
Browse files
Options
Downloads
Patches
Plain Diff
* Fix UML - poorly.
svn path=/nixpkgs/trunk/; revision=901
parent
776554d9
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
pkgs/TODO
+2
-0
2 additions, 0 deletions
pkgs/TODO
pkgs/misc/uml/builder.sh
+35
-14
35 additions, 14 deletions
pkgs/misc/uml/builder.sh
pkgs/misc/uml/default.nix
+3
-3
3 additions, 3 deletions
pkgs/misc/uml/default.nix
pkgs/system/populate-cache.nix
+1
-1
1 addition, 1 deletion
pkgs/system/populate-cache.nix
with
41 additions
and
18 deletions
pkgs/TODO
+
2
−
0
View file @
5c9232e0
...
...
@@ -6,5 +6,7 @@
directories for libraries (like setup.sh does now). [do we want
this?]
* Bug in ld-wrapper: should source in add-flags (like gcc-wrapper) - then fix uml builder
* Inform freedesktop people that Xaw requires Xpm.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
pkgs/misc/uml/builder.sh
+
35
−
14
View file @
5c9232e0
buildinputs
=
"
$patch
$perl
$m4
"
.
$stdenv
/setup
||
exit
1
.
$stdenv
/setup
tar
xvfj
$linuxSrc
||
exit
1
cd
linux-
*
||
exit
1
bunzip2 <
$umlSrc
| patch
-p1
||
exit
1
cp
$config
.config
||
exit
1
make oldconfig
ARCH
=
um
||
exit
1
# !!! hack
.
$NIX_GCC
/nix-support/add-flags
export
NIX_LDFLAGS
make linux
ARCH
=
um
||
exit
1
strip linux
||
exit
1
make modules
ARCH
=
um
||
exit
1
postUnpack
()
{
unp
()
{
bunzip2 <
$umlPatch
>
patch
}
unpackCmd
=
unp
unpackFile
$umlPatch
patches
=
`
pwd
`
/patch
}
postUnpack
=
postUnpack
mkdir
$out
||
exit
1
mkdir
$out
/bin
||
exit
1
cp
-p
linux
$out
/bin
||
exit
1
make modules_install
INSTALL_MOD_PATH
=
$out
ARCH
=
um
||
exit
1
configurePhase
()
{
cp
$config
.config
make oldconfig
ARCH
=
um
}
configurePhase
=
configurePhase
buildPhase
()
{
make linux
ARCH
=
um
strip linux
make modules
ARCH
=
um
}
buildPhase
=
buildPhase
installPhase
()
{
mkdir
$out
mkdir
$out
/bin
cp
-p
linux
$out
/bin
make modules_install
INSTALL_MOD_PATH
=
$out
ARCH
=
um
}
installPhase
=
installPhase
genericBuild
This diff is collapsed.
Click to expand it.
pkgs/misc/uml/default.nix
+
3
−
3
View file @
5c9232e0
...
...
@@ -5,14 +5,14 @@ assert patch != null && perl != null && m4 != null;
stdenv
.
mkDerivation
{
name
=
"uml-2.4.22-3"
;
builder
=
./builder.sh
;
linuxS
rc
=
fetchurl
{
s
rc
=
fetchurl
{
url
=
ftp://ftp.nl.kernel.org/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2
;
md5
=
"75dc85149b06ac9432106b8941eb9f7b"
;
};
uml
Src
=
fetchurl
{
uml
Patch
=
fetchurl
{
url
=
http://uml-pub.ists.dartmouth.edu/uml/uml-patch-2.4.22-3.bz2
;
md5
=
"1ffa698fed37d14c6750ec841b7d9858"
;
};
config
=
./config
;
inherit
patch
perl
m4
;
buildInputs
=
[
patch
perl
m4
]
;
}
This diff is collapsed.
Click to expand it.
pkgs/system/populate-cache.nix
+
1
−
1
View file @
5c9232e0
...
...
@@ -49,7 +49,7 @@ let {
pkgs
.
gqview
pkgs
.
hello
pkgs
.
nxml
pkgs
.
uml
#
pkgs.uml
pkgs
.
nix
];
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment